]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
nptl: Convert tst-cond11.c to use libsupport
[thirdparty/glibc.git] / ChangeLog
CommitLineData
51983996
MC
12019-05-09 Mike Crowe <mac@mcrowe.com>
2
d8e0b901
MC
3 * nptl/tst-cond11.c: Use libsupport.
4
51983996
MC
5 * support/timespec.h: New file. Provide timespec helper functions
6 along with macros in the style of those in check.h.
7 * support/timespec.c: New file. Implement check functions declared
8 in support/timespec.h.
9 * support/timespec-add.c: New file from gnulib containing
10 timespec_add implementation that handles overflow.
11 * support/timespec-sub.c: New file from gnulib containing
12 timespec_sub implementation that handles overflow.
13 * support/README: Mention timespec.h.
14
18aa51ee
SN
152019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
16
17 [BZ #24537]
18 * nptl/Makefile: Move tst-eintr1 to xtests.
19
252296c6
AZ
202019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21
ae45cf84
AZ
22 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
23 TRUNC handling.
24 (round_mode): Add definition for TRUNC.
25 * sysdeps/powerpc/fpu/s_trunc.c: New file.
26 * sysdeps/powerpc/fpu/s_truncf.c: New file.
27 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
28 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
30 Likewise.
31 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
32 Likewise.
33 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
34 Likewise.
35 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36 Likewise.
37 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
38 file.
39 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
40 Likewise.
41 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
42 Likewise.
43 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
44 Likewise.
45 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
46 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
47 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
48 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
49 s_truncf-power5+, and s_truncf-ppc64.
50 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
51 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
52 file.
53 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
54 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
55 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
56 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
57 file.
58 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
59 Likewise.
60 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
61 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
62 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
63 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
64 s_truncf-power5+, and s_truncf-ppc64.
65 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
66 file.
67 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
68 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
69 Likewise.
70 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
71 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
72 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
73 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
74 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
75
a1cb1888
AZ
76 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
77 ROUND handling.
78 (round_mode): Add definition for ROUND.
79 (round_to_integer_float): Likewise.
80 * sysdeps/powerpc/fpu/s_round.c: New file.
81 * sysdeps/powerpc/fpu/s_roundf.c: New file.
82 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
83 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
84 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
85 Likewise.
86 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
87 Likewise.
88 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
89 Likewise.
90 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
91 Likewise.
92 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
93 file.
94 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
95 Likewise.
96 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
97 Likewise.
98 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
99 Likewise.
100 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
101 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
102 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
103 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
104 s_roundf-power5+, and s_roundf-ppc64.
105 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
106 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
107 file.
108 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
110 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
111 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
112 file.
113 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
114 Likewise.
115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
116 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
118 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
119 s_roundf-power5+, and s_roundf-ppc64.
120 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
121 file.
122 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
123 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
124 Likewise.
125 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
126 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
127 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
128 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
129 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
130
252296c6
AZ
131 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
132 Add FLOOR option.
133 (round_mode): Add definition for FLOOR.
134 * sysdeps/powerpc/fpu/s_floor.c: New file.
135 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
136 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
137 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
139 Remove file.
140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
141 Likewise
142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
143 Likewise.
144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
145 Likewise.
146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
147 New file.
148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
149 Likewise.
150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
151 Likewise.
152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
153 Likewise.
154 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
155 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
156 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
157 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
158 s_floorf-power5+, and s_floorf-ppc64.
159 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
160 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
161 file.
162 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
164 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
165 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
166 file.
167 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
168 Likewise.
169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
170 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
171 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
172 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
173 s_floorf-power5+, and s_floorf-ppc64.
174 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
175 file.
176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
177 file.
178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
179 Likewise.
180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
181 Likewise.
182 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
183 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
184 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
185 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
186
33647a72
MC
1872019-05-08 Mike Crowe <mac@mcrowe.com>
188
189 * support/xclock_gettime.c (xclock_gettime): New file. Provide
190 clock_gettime wrapper for use in tests that fails the test rather
191 than returning failure.
192
193 * support/xtime.h: New file to declare xclock_gettime.
194
195 * support/Makefile: Add xclock_gettime.c.
196
197 * support/README: Mention xtime.h.
198
b2f601ba
FW
1992019-05-08 Florian Weimer <fweimer@redhat.com>
200
201 malloc/tst-mallocfork2: Use process-shared barriers.
202 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
203 (signal_count, sigusr1_sender_pid): Remove.
204 (iterations): Define constant.
205 (shared): New variable.
206 (sigusr1_received): Update comment.
207 (sigusr1_handler): Do not send SIGSTOP to the sender process.
208 (signal_sender): Optional use barriers to avoid sending signals
209 during irrelevant times.
210 (do_it): Initialize variable shared. Use xfork for error
211 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
212 the iteration count, independent of signal delivery. Check for
213 deadlocks in fork. Introduce barriers for reducing signal
214 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
215 replaced by the barriers. Count signals during fork/free/malloc
216 and report them.
217 * malloc/Makefile (tst-mallocfork): Link with libpthread.
218
c4a392cf
JM
2192019-05-07 Joseph Myers <joseph@codesourcery.com>
220
7621676f
JM
221 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
222 version to 5.1.
223 (clock_adjtime64) New syscall.
224 (clock_getres_time64) Likewise.
225 (clock_gettime64) Likewise.
226 (clock_nanosleep_time64) Likewise.
227 (clock_settime64) Likewise.
228 (futex_time64) Likewise.
229 (io_pgetevents_time64) Likewise.
230 (io_uring_enter) Likewise.
231 (io_uring_register) Likewise.
232 (io_uring_setup) Likewise.
233 (mq_timedreceive_time64) Likewise.
234 (mq_timedsend_time64) Likewise.
235 (pidfd_send_signal) Likewise.
236 (ppoll_time64) Likewise.
237 (pselect6_time64) Likewise.
238 (recvmmsg_time64) Likewise.
239 (rt_sigtimedwait_time64) Likewise.
240 (sched_rr_get_interval_time64) Likewise.
241 (semtimedop_time64) Likewise.
242 (timer_gettime64) Likewise.
243 (timer_settime64) Likewise.
244 (timerfd_gettime64) Likewise.
245 (timerfd_settime64) Likewise.
246 (utimensat_time64) Likewise.
247
c4a392cf
JM
248 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
249 version to 9 branch.
250
32e902a9
AY
2512019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
252
253 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
254 __memmove_thunderx2 to the list of implementations
255 * sysdeps/aarch64/multiarch/memmove.c: Likewise
256 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
257 (__memmove_thunderx2): Rewritten using SIMD ld/st
258 (__memcpy_thunderx2): Fixed handling overlapping cases.
259 Used ldp/stp instead of ldr/str if possible. Made loops
260 tails branchless.
261
ac3da35d
FW
2622019-05-03 Florian Weimer <fweimer@redhat.com>
263
264 * misc/tst-tsearch.c (walk_tree): Add more error checking.
265
b2af6fb2
AZ
2662019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
267
7dfde28a 268 [BZ #24506]
b2af6fb2
AZ
269 * elf/tst-pldd.c (in_str_list): New function.
270 (do_test): Add default names for ld and libc as one option.
271
7b807a35
FW
2722019-05-02 Florian Weimer <fweimer@redhat.com>
273
274 misc: Add twalk_r function.
275 * include/search.h (__twalk_r): Declare.
276 * manual/examples/twalk.c: New file.
277 * manual/search.texi (Tree Search Function): Document twalk_r.
278 * misc/Versions (2.30): Export twalk_r.
279 (GLIBC_PRIVATE): Export __twalk_r.
280 * misc/search.h [__USE_GNU] (twalk_r): Declare.
281 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
282 (twalk_r): Add weak alias.
283 * misc/tst-tsearch.c (struct walk_trace_element): Define.
284 (walk_trace): New variable.
285 (struct twalk_with_twalk_r_closure): Define.
286 (twalk_with_twalk_r_action): New function.
287 (twalk_with_twalk_r): Likewise.
288 (walk_action): Call walk_trace_add.
289 (walk_tree_with): Rename from walk_tree. Add walk argument.
290 (walk_tree): New function.
291 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
292 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
293 Likewise.
294 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
295 Likewise.
296 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
297 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
298 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
299 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
300 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
301 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
302 Likewise.
303 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
304 Likewise.
305 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
306 Likewise.
307 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
308 (GLIBC_2.30): Likewise.
309 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
310 (GLIBC_2.30): Likewise.
311 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
312 (GLIBC_2.30): Likewise.
313 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
314 (GLIBC_2.30): Likewise.
315 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
316 Likewise.
317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
318 (GLIBC_2.30): Likewise.
319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
320 (GLIBC_2.30): Likewise.
321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
322 (GLIBC_2.30): Likewise.
323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
324 (GLIBC_2.30): Likewise.
325 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
326 Likewise.
327 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
328 Likewise.
329 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
330 Likewise.
331 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
332 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
333 Likewise.
334 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
335 Likewise.
336 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
337 Likewise.
338 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
339 Likewise.
340
20aa5819
PE
3412019-04-30 Paul Eggert <eggert@cs.ucla.edu>
342
343 Make mktime etc. compatible with __time64_t
344 Keep these functions compatible with Gnulib while adding
345 __time64_t support. The basic idea is to move private API
346 declarations from include/time.h to time/mktime-internal.h, since
347 the former file cannot easily be shared with Gnulib whereas the
348 latter can.
349 Also, do some other minor cleanup while in the neighborhood.
350 * include/time.h: Include stdbool.h, time/mktime-internal.h.
351 (__mktime_internal): Move this prototype to time/mktime-internal.h,
352 since Gnulib needs it.
353 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
354 Move these macros to time/mktime-internal.h, since Gnulib needs them.
355 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
356 (in_time_t_range): New static function.
357 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
358 so that glibc users are not tempted to use __time64_t.
359 * time/mktime-internal.h: Rewrite so that it does both glibc
360 and Gnulib work. Include time.h if not _LIBC.
361 (mktime_offset_t) [!_LIBC]: Define for gnulib.
362 (__time64_t): New type or macro, moved here from
363 posix/bits/types.h.
364 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
365 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
366 from include/time.h.
367 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
368 New macros, taken from GNulib.
369 (__mktime_internal): New prototype, moved here from include/time.h.
370 * time/mktime.c (mktime_min, mktime_max, convert_time)
371 (ranged_convert, __mktime_internal, __mktime64):
372 * time/timegm.c (__timegm64):
373 Use __time64_t, not time_t.
374 * time/mktime.c: Stop worrying about whether time_t is floating-point.
375 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
376 Rename from mktime.
377 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
378 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
379 for libc_hidden_def.
380 Include errno.h.
381 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
382 Rename from timegm.
383 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
384
87c266d7
MR
3852019-04-30 Maciej W. Rozycki <macro@wdc.com>
386
387 [BZ #19444]
388 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
389 from `-Wmaybe-uninitialized'.
390 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
391
c4c0848b
AZ
3922019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
393
6cac323c
AZ
394 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
395 function.
396 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
397 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
398 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
399 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
400 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
402 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
404 Remove file.
405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
406 Likewise.
407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
408 Likewise.
409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
410 Likewise.
411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
412 New file.
413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
414 Likewise.
415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
416 Likewise.
417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
418 Likewise.
419 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
420 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
421 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
422 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
423 Likewise.
424 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
425 Likewise.
426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
427 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
428 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
429 file.
430 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
431 Likewise.
432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
433 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
434 * here.
435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
436 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
437 s_ceilf-power5+, and s_ceilf-ppc64.
438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
439 file.
440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
443 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
444 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
445 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
446 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
447
c4c0848b
AZ
448 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
449 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
450 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
451
f492fc99
YD
4522019-04-29 Yann Droneaud <ydroneaud@opteya.com>
453
454 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
455 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
456 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
457 (sem_getvalue): Likewise.
458
c57afec0
FW
4592019-04-26 Florian Weimer <fweimer@redhat.com>
460
461 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
462 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
463
a8ff215e
FW
4642019-04-26 Florian Weimer <fweimer@redhat.com>
465
466 Makeconfig: Move -Wl,-rpath-link options before library references.
467 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
468 (link-libc): Remove $(link-libc-rpath-link).
469
4702019-04-25 Florian Weimer <fweimer@redhat.com>
471
472 * Makeconfig (+link-pie-before-libc): Remove $(CC).
473 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
474 (+link-static-before-libc): Remove $(CC).
475 (+link-static, +link-static-tests): Add $(CC).
476 (+link-before-libc): Remove $(CC).
477 (+link, +link-pie, +link-pie-printers): Add $(CC).
478
e30fb31c
FW
4792019-04-26 Florian Weimer <fweimer@redhat.com>
480
481 * Makeconfig (+link-pie-before-libc): Remove $(CC).
482 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
483 (+link-static-before-libc): Remove $(CC).
484 (+link-static, +link-static-tests): Add $(CC).
485 (+link-before-libc): Remove $(CC).
486 (+link, +link-pie, +link-pie-printers): Add $(CC).
487
deacca00
DA
4882019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
489
490 [BZ#24484]
491 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
492
b5ffdc48
FW
4932019-04-25 Florian Weimer <fweimer@redhat.com>
494
495 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
496 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
497 (bench-link-targets): New variable.
498 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
499
94a4e9e4
FW
5002019-04-25 Florian Weimer <fweimer@redhat.com>
501
502 Also enable BIND_NOW for programs if --enable-bind-now.
503 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
504 (+link-pie): Use $(link-extra-flags).
505 (+link-static): Likewise.
506 [! $(build-pie-default)] (+link): Likewise.
507 * manual/install.texi (Configuring and compiling): Update
508 --enable-bind-now description.
509 * INSTALL: Regenerated.
510
fe92a91f
WD
5112019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
512
513 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
514 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
515
f9b645b4
MF
5162019-04-24 Mike Frysinger <vapier@gentoo.org>
517
518 [BZ #18465]
519 * malloc/Makefile (others): Add memusagestat.
520 ($(objpfx)memusagestat): Delete rule.
521 (LDLIBS-memusagestat): New variable.
522
439bf534
FW
5232019-04-24 Florian Weimer <fweimer@redhat.com>
524
525 * locale/Makefile (tests-special): Guard setting by
526 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
527 to run while cross-compiling.
528
1a4c2735
AZ
5292019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
530
531 [BZ #18035]
532 * elf/Makefile (tests-container): Add tst-pldd.
533 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
534 (E(find_maps)): Avoid use alloca, use default read file operations
535 instead of explicit LFS names, and fix infinite loop.
536 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
537 (get_process_info): Use _Static_assert instead of assert, use default
538 directory operations instead of explicit LFS names, and free some
539 leadek pointers.
540 * elf/tst-pldd.c: New file.
541
2d398aa2
L
5422019-04-23 H.J. Lu <hongjiu.lu@intel.com>
543
544 * malloc/arena.c (do_set_mallopt_check): Removed.
545
e485b2b6
FW
5462019-04-23 Florian Weimer <fweimer@redhat.com>
547
548 locale: Add LOCPATH diagnostics to the locale program.
549 * locale/programs/locale.c (setlocale_failed): New variable.
550 (try_setlocale): New function.
551 (quote_string): Likewise.
552 (setlocale_diagnostics): Likewise.
553 (main): Call try_setlocale instead of setlocale. Call
554 setlocale_diagnostics.
555 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
556 (tst-locale-locpath.out): New target.
557 * locale/tst-locale-locpath.sh: New file.
558
25f7a3c9
AZ
5592019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
560
561 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
562 to 2.30 notes.
563
9bf8e29c
AZ
5642019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
565
566 [BZ #23741]
567 * malloc/hooks.c (malloc_check, realloc_check): Use
568 __builtin_add_overflow on overflow check and adapt to
569 checked_request2size change.
570 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
571 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
572 allocation size to PTRDIFF_MAX.
573 (REQUEST_OUT_OF_RANGE): Remove macro.
574 (checked_request2size): Change to inline function and limit maximum
575 requested size to PTRDIFF_MAX.
576 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
577 maximum allocation size to PTRDIFF_MAX.
578 (_mid_memalign): Use _int_memalign call for overflow check.
579 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
580 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
581 limit maximum requested size to PTRDIFF_MAX.
582 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
583 valloc, pvalloc): Add __attribute_alloc_size__.
584 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
585 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
586 larger than PTRDIFF_MAX.
587 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
588 around tests of malloc with negative sizes.
589 * malloc/tst-posix_memalign.c (do_test): Likewise.
590 * malloc/tst-pvalloc.c (do_test): Likewise.
591 * malloc/tst-valloc.c (do_test): Likewise.
592 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
593 with resulting size allocation larger than PTRDIFF_MAX with
594 reallocarray_nowarn.
595 (reallocarray_nowarn): New function.
596 * NEWS: Mention the malloc function semantic change.
597
0e169691
AZ
5982019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
599
52faba65
AZ
600 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
601 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
602
3a16dd78
AZ
603 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
604 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
605 * sysdeps/powerpc/fpu/s_fma.c: New file.
606 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
607
1dac8bd6
AZ
608 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
609 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
610
a3ae315a
AZ
611 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
612 the magic flag store.
613 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
614 Likewise.
615 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
616 Likewise.
617 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
618 Remove rt_sigreturn call.
619
ffe8a9a8
AZ
620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
621 Remove rt_sigreturn call.
622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
623 Likewise.
624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
626
0e169691
AZ
627 * support/Makefile (libsupport-routines): Add support_subprocess,
628 xposix_spawn, xposix_spawn_file_actions_addclose, and
629 xposix_spawn_file_actions_adddup2.
630 (tst-support_capture_subprocess-ARGS): New rule.
631 * support/capture_subprocess.h (support_capture_subprogram): New
632 prototype.
633 * support/support_capture_subprocess.c (support_capture_subprocess):
634 Refactor to use support_subprocess and support_capture_poll.
635 (support_capture_subprogram): New function.
636 * support/tst-support_capture_subprocess.c (write_mode_to_str,
637 str_to_write_mode, test_common, parse_int, handle_restart,
638 do_subprocess, do_subprogram, do_multiple_tests): New functions.
639 (do_test): Add support_capture_subprogram tests.
640 * support/subprocess.h: New file.
641 * support/support_subprocess.c: Likewise.
642 * support/xposix_spawn.c: Likewise.
643 * support/xposix_spawn_file_actions_addclose.c: Likewise.
644 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
645 * support/xspawn.h: Likewise.
646
bae8cf0e
MG
6472019-04-17 Mike Gerow <gerow@google.com>
648
649 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
650 groups limit.
651
e3f454ba
FW
6522019-04-11 Florian Weimer <fweimer@redhat.com>
653
654 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
655 domain with empty string.
656 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
657
32d85c11
FW
6582019-04-11 Florian Weimer <fweimer@redhat.com>
659
660 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
661 comment.
662 (alloc_buffer_next): Change return type to non-const. Update
663 comment.
664
221710af
FW
6652019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
666
667 * manual/time.texi (Formatting Calendar Time): Add missing percent
668 sign to conversion specifier.
669
e621246e
CD
6702019-04-09 Carlos O'Donell <carlos@redhat.com>
671 Kwok Cheung Yeung <kcy@codesourcery.com>
672
673 [BZ #16573]
674 * malloc/mtrace.c: Define prototypes for all hooks.
675 (set_default_hooks): New function.
676 (set_trace_hooks): Likewise.
677 (save_default_hooks): Likewise.
678 (tr_freehook): Use new s*_hooks functions.
679 (tr_mallochook): Likewise.
680 (tr_reallochook): Likewise.
681 (tr_memalignhook): Likewise.
682 (mtrace): Likewise.
683 (muntrace): Likewise.
684
648279f4
WD
6852019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
686
687 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
688 (generic_stpcpy): New function.
689 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
690 (generic_stpncpy): New function.
691 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
692 (generic_strcat): New function.
693 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
694 (generic_strcpy): New function.
695 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
696 (STUPID_STRNCAT): Remove function.
697 (generic_strncat): New function.
698 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
699 (STUPID_STRNCPY): Remove function.
700 (generic_strncpy): New function.
701 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
702 (generic_strnlen): New function.
703 (memchr_strnlen): New function.
704 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
705 (memchr_strlen): Likewise.
706
93eebae5
WD
7072019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
708
709 * benchtests/bench-strstr.c (input): Add realistic input text.
710 (stupid_strstr): Remove function.
711 (basic_strstr): Add function.
712 (twoway_strstr): Add function.
713 (do_one_test): Add result checking.
714 (do_test): Use new input text. Remove accidental early matches.
715 (test_main): Improve range of tests, reduce unaligned cases.
716
a173d09f
WD
7172019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
718
719 * benchtests/bench-memmem.c (simple_memmem): Remove function.
720 (basic_memmem): Add function.
721 (twoway_memmem): Add function.
722
6103c0a8
WD
7232019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
724
725 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
726 * benchtests/bench-malloc-thread.c: Likewise.
727 * benchtests/bench-skeleton.c: Likewise.
728 * benchtests/bench-strtod.c: Likewise.
729 * benchtests/bench-timing.h: Likewise.
730
33322186
FW
7312019-04-08 Florian Weimer <fweimer@redhat.com>
732
733 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
734 definitions.
735 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
736 RES_INSECURE2 security checks.
737 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
738 RES_INSECURE2 handling.
739
3f8b44be
FW
7402019-04-08 Florian Weimer <fweimer@redhat.com>
741
742 resolv: Remove support for RES_USE_INET6 and the inet6 option.
743 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
744 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
745 GETHOSTBYNAME.
746 * resolv/Makefile (tests): Remove tst-res_use_inet6.
747 (tests-internal): Update justification for tst-resolv-res_init,
748 tst-resolv-res_init-thread.
749 (tst-res_use_inet6): Remove target.
750 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
751 * resolv/res_debug.c (p_option): Remove "inet6" support.
752 * resolv/res_init.c (res_setoptions): Likewise.
753 * resolv/res_use_inet6.h: Remove file.
754 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
755 definition.
756 (res_use_inet6): Always return false.
757 * resolv/resolv.h (RES_USE_INET6): Remove definition.
758 * resolv/resolv_context.h: Adjust file comment.
759 (struct resolv_context): Update comment on __next field.
760 (__resolv_context_put): Update comment.
761 * resolv/tst-res_use_inet6.c: Remove file.
762 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
763 "inet6" support.
764 (test_cases): Adjust test case.
765 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
766 (thread_byname2_af_inet6): Use old byname_inet6 code.
767 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
768 (gai): Remove do_inet6 argument.
769 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
770 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
771 (thread_gai_unspec_inet6): Remove functions.
772 (do_test): Adjust thread_funcs.
773 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
774 RES_USE_INET6 flag.
775 (gaih_inet): Do not disable RES_USE_INET6 flag.
776
6b5c8607 7772019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
778
779 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
780 and remove redundant code.
781
e3fd0b0e
AZ
7822019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
783
f82ed45d
AZ
784 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
785 New rule.
786 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
788 Likewise.
789 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
790 Likewise.
791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
792 Likewise.
793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
794 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
795 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
796 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
797 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
798 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
800 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
801 wcsrchr-power7.
802 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
805 Remove wcsrchr optimizations.
806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
807
662c2cc4
AZ
808 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
809 the loop unroll.
810
421e3005
AZ
811 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
812 New rule.
813 * sysdeps/powerpc/power6/wcschr.c: Remove file.
814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
815 Likewise.
816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
817 Likewise.
818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
819 Likewise.
820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
821 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
822 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
823 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
824 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
825 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
826 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
827 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
828 wcschr-power7.
829 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
832 Remove wcschr optimizations.
833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
834
7ba0100c
AZ
835 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
836 the loop unroll.
837
447a1306
AZ
838 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
839 New rule.
840 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
842 Likewise.
843 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
844 Likewise.
845 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
846 Likewise.
847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
848 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
849 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
850 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
851 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
852 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
854 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
855 wcscpy-power7.
856 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
857 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
859 Remove wcscpy optimizations.
860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
861
e3fd0b0e
AZ
862 * include/loop_unroll.h: New file.
863 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
864 besides generic implementation.
865
8260f236
DD
8662019-04-03 DJ Delorie <dj@redhat.com>
867
868 * time/tst-strftime3.c (tm_to_printed): Disable warning about
869 snprintf truncating output.
870
0bd545ee
DD
8712019-04-02 DJ Delorie <dj@redhat.com>
872
873 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
874 warning.
875
466afec3
TS
8762019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
877
878 [BZ #22964]
879 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
880 era.
881 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
882 (mkreftable): Add rules for the new Japanese era and the new dates.
883
2f1d6155
TS
8842019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
885 Rafal Luzynski <digitalfreak@lingonborough.com>
886
887 * time/tst-strftime2.c (date_t): Explicitly define the type.
888 (dates): Use natural month and year numbers to express a date.
889 (is_before): New function to compare dates.
890 (mkreftable): Minor improvements to simplify maintenance.
891 (do_test): Reflect the changes in dates array.
892
84aea169
TS
893 [BZ #24293]
894 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
895 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
896 * time/tst-strftime2.c (locales): Likewise.
897 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
898 2010-04-01, and 2011-04-01.
899 (mkreftable): Add rules for the new locales and the new dates.
900
62449176
CD
9012019-04-01 Carlos O'Donell <carlos@redhat.com>
902
903 * localedata/locales/ja_JP: Add comments to era entries.
904
e0e4c321
DD
9052019-04-01 DJ Delorie <dj@redhat.com>
906
907 [BZ #24394]
908 * time/strptime_l.c (%Ey): Fix fencepost error.
909 * time/tst-strftime3.c: New.
910 * time/Makefile (tests): Add tst-strftime3.
911
6b5c8607 9122019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
913
914 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
915 conditional branch to DIVBYZERO. Fix unwind info.
916 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
917 excb after conditional branch to $powerof2. Add missing unop
918 instructions and .align directives and reorder instructions to
919 match __divqu.
920
d5ecee82
RH
9212019-04-01 Richard Henderson <rth@twiddle.net>
922
923 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
924 Do not redefine.
925 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
926 Do not redefine.
927
656dd306
MR
9282019-03-30 Maciej W. Rozycki <macro@wdc.com>
929
930 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
931 $libc_cv_riscv_float_abi in `test' invocation.
932 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
933
10cce669
PC
9342019-03-29 Paul A. Clarke <pc@us.ibm.com>
935
936 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
937 asm with builtin.
938 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
939 Likewise.
940 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
941 (_GET_SI_FPSCR): Likewise.
942 (_SET_SI_FPSCR): Likewise.
943
5e67e4bf 9442019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
945
946 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
947 clang 2.8.
948 (signbit): Use builtin for clang 3.3.
949 (isinf): Use builtin for clang 3.7.
950
01963891
AZ
9512019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
952
953 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
954
67112f7a
AH
9552019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
956
957 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
958 quote in printf.
959
7a773abf
MC
9602019-03-25 Mike Crowe <mac@mcrowe.com>
961
82849fde
MC
962 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
963 pthread_rwlock_timedrdlock with calls to
964 pthread_rwlock_timedwrlock to ensure that the latter is tested
965 too. Use new function name in diagnostic messages too.
966
7a773abf
MC
967 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
968 (do_test) Use libsupport test macros rather than hand-coded
969 conditionals and error messages. Ensure that sem_init returns zero
970 rather than not -1. Use <support/test-driver.c> rather than
971 test-skeleton.c.
972
973 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
974 test macros rather than hand-coded conditionals and error messages.
975 Use <support/test-driver.c> rather than test-skeleton.c.
976
9ac2de69
JM
9772019-03-25 Joseph Myers <joseph@codesourcery.com>
978
d7563e62
JM
979 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
980
9ac2de69
JM
981 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
982 (NT_MIPS_MSA): Likewise.
983
38cc11da
AZ
9842019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
985
7621e38b
WD
986 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
987 * benchtests/README: Update description.
988 * benchtests/bench-timing.h: Default to hp-timing.
989 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
990 HP_TIMING_PRINT): Remove.
991 (HP_TIMING_NOW): Add generic implementation.
992 (hp_timing_t): Change to uint64_t.
993
1e372ded
AZ
994 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
995 HP_TIMING_INLINE.
996 * nptl/descr.h: Likewise.
997 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
998 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
999 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1000 Abstract hp-timing usage with RTLD_* macros.
1001 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1002 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1003 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1004 HP_TIMING_NONAVAIL): Likewise.
1005 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1006 Likewise.
1007 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1008 HP_SMALL_TIMING_AVAIL): Likewise.
1009 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1010 HP_SMALL_TIMING_AVAIL): Likewise.
1011 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1012 HP_SMALL_TIMING_AVAIL): Likewise.
1013 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1014 HP_SMALL_TIMING_AVAIL): Likewise.
1015 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1016 Likewise.
1017 * sysdeps/generic/hp-timing-common.h: Update comment with
1018 HP_TIMING_AVAIL removal.
1019
359653aa
AZ
1020 * include/random-bits.h: New file.
1021 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1022 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1023 random_bits.
1024 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1025 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1026 Likewise.
1027
6e8ba7fd
AZ
1028 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1029 * rt/Makefile (clock-routines): Remove get_clockfreq.
1030 * rt/get_clockfreq.c: Remove file.
1031 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1032 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1033 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1034 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1035 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1036
77b6f553
AZ
1037 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1038 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1039 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1040 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1041 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1042
38cc11da
AZ
1043 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1044 pthread_clock_settime.
1045 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1046 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1047 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1048 * elf/rtld.c (_dl_start_final): Likewise.
1049 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1050 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1051 Remove.
1052 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1053 (_dl_cpuclock_offset): Remove.
1054 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1055 cpuclock_offset_ununsed.
1056 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1057 cpuclock_offset set.
1058 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1059 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1060 * nptl/pthread_clock_gettime.c: Remove file.
1061 * nptl/pthread_clock_settime.c: Likewise.
1062 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1063 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1064 and CLOCK_PROCESS_CPUTIME_ID support.
1065 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1066 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1067 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1068 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1069 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1070 Likewise.
1071 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1072
421749d6
SL
10732019-03-22 Stefan Liebler <stli@linux.ibm.com>
1074
1075 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1076 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1077 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1078 New defines.
1079 * sysdeps/s390/memmem-arch13.S: New file.
1080 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1081 if it is only used as fallback.
1082 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1083 * sysdeps/s390/multiarch/ifunc-impl-list.c
1084 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1085
6f47401b
SL
10862019-03-22 Stefan Liebler <stli@linux.ibm.com>
1087
1088 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1089 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1090 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1091 New defines.
1092 * sysdeps/s390/multiarch/ifunc-impl-list.c
1093 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1094 * sysdeps/s390/strstr-arch13.S: New file.
1095 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1096 if it is only used as fallback.
1097 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1098
96fbb9a3
SL
10992019-03-22 Stefan Liebler <stli@linux.ibm.com>
1100
1101 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1102 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1103 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1104 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1105 ifunc selector.
1106 * sysdeps/s390/multiarch/ifunc-impl-list.c
1107 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1108 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1109 S390_IS_ARCH13_MIE3): New defines.
1110
a899a551
SL
11112019-03-22 Stefan Liebler <stli@linux.ibm.com>
1112
1113 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1114 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1115 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1116 * sysdeps/s390/configure: Regenerated.
1117
1a7df49c
SL
11182019-03-22 Stefan Liebler <stli@linux.ibm.com>
1119
1120 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1121 Add vxe2, vxp, dflt, sort flags.
1122 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1123 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1124 capabilities.
1125 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1126 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1127 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1128 HWCAP_S390_DFLT): Define.
1129
5e67e4bf 11302019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
1131
1132 [BZ #24372]
1133 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1134 of compiler warning.
1135 * locale/programs/ld-collate.c (collate_output): Likewise.
1136
ac64195c
DD
11372019-03-21 DJ Delorie <dj@redhat.com>
1138
1139 [BZ #24372]
1140 * iconv/iconvconfig.c (write_output): Replace floating point math
1141 with integer math to avoid imprecise results.
1142 * locale/programs/ld-collate.c (collate_output): Likewise.
1143
61f5e947
SL
11442019-03-21 Stefan Liebler <stli@linux.ibm.com>
1145
1146 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1147 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1148
57ada43c 11492019-03-20 mansayk <6688000@gmail.com>
1150
1151 [BZ #24296]
1152 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1153 (abday): Likewise, but remove the trailing dots.
1154
a2e57f89
JM
11552019-03-19 Joseph Myers <joseph@codesourcery.com>
1156
1157 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1158 macro.
1159 (HWCAP_PACA): Likewise.
1160 (HWCAP_PACG): Likewise.
1161 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1162 Increase to 32.
1163 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1164
e87d8ada
ST
11652019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1166
1167 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1168 should be handled.
1169
477e739b
JM
11702019-03-15 Joseph Myers <joseph@codesourcery.com>
1171
1172 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1173 version to 5.0.
1174 (old_getpagesize): New syscall.
1175
238d60a1
FY
11762019-03-15 Felix Yan <felixonmars@archlinux.org>
1177
1178 [BZ #24293]
1179 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1180 * localedata/locales/cmn_TW (era): Likewise.
1181 * localedata/locales/hak_TW (era): Likewise.
1182 * localedata/locales/lzh_TW (era): Likewise.
1183 * localedata/locales/nan_TW (era): Likewise.
1184
a0a0dc83
FW
11852019-03-14 Florian Weimer <fweimer@redhat.com>
1186
1187 Remove obsolete, never-implemented XSI STREAMS declarations.
1188 * manual/terminal.texi (Allocation): Remove portability note and
1189 adjust example.
1190 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
1191 _SC_STREAMS.
1192 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
1193 * sysdeps/unix/inet/Subdirs (streams): Remove.
1194 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
1195 (conformtest-headers-UNIX98): Likewise.
1196 (conformtest-headers-XOPEN2K): Likewise.
1197 (conformtest-headers-POSIX2008): Likewise.
1198 * posix/compat-streams.c: New file.
1199 * posix/Makefile (routines): Add it.
1200 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
1201 getpmsg, isastream, putmsg, putpmsg.
1202 (GLIBC_2.30): New section.
1203 * bits/stropts.h: Remove file.
1204 * bits/xtitypes.h: Likewise.
1205 * conform/data/stropts.h-data: Likewise.
1206 * include/stropts.h: Likewise.
1207 * include/sys/stropts.h: Likewise.
1208 * include/xtitypes.h: Likewise.
1209 * streams/Makefile: Likewise.
1210 * streams/fattach.c: Likewise.
1211 * streams/fdetach.c: Likewise.
1212 * streams/getmsg.c: Likewise.
1213 * streams/getpmsg.c: Likewise.
1214 * streams/isastream.c: Likewise.
1215 * streams/putmsg.c: Likewise.
1216 * streams/putpmsg.c: Likewise.
1217 * streams/stropts.h: Likewise.
1218 * streams/sys/stropts.h: Likewise.
1219 * sysdeps/ia64/bits/xtitypes.h: Likewise.
1220 * sysdeps/s390/bits/xtitypes.h: Likewise.
1221 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1222 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1223 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
1224 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
1225 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
1226 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
1227 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
1228 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
1229 * sysdeps/x86/bits/xtitypes.h: Likewise.
1230
081bdf94
FW
12312019-03-14 Florian Weimer <fweimer@redhat.com>
1232
1233 * nss/tst-nss-files-alias-truncated.c (do_test): Load
1234 libnss_files.
1235 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
1236 but not with libnss_files.
1237 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
1238
97f8225d
ZW
12392019-03-14 Zack Weinberg <zackw@panix.com>
1240
1241 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
1242 Specify encoding="utf-8" when opening headers to check.
1243
0c1041ee
JM
12442019-03-13 Joseph Myers <joseph@codesourcery.com>
1245
1246 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1247 version to 5.0.
1248 (Context.checkout_tar): Handle variable major version for Linux
1249 kernel.
1250
043440e7
FW
12512019-03-13 Florian Weimer <fweimer@redhat.com>
1252
1253 [BZ #24047]
1254 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
1255
29218b26
ZW
12562019-03-13 Zack Weinberg <zackw@panix.com>
1257
1258 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
1259 Move to stdlib.
1260 * include/inttypes.h: Adjust to match.
1261 * include/stdint.h: New wrapper.
1262
711a322a
ZW
12632019-03-13 Zack Weinberg <zackw@panix.com>
1264
1265 * scripts/check-obsolete-constructs.py: New test script.
1266 * scripts/check-installed-headers.sh: Remove tests for
1267 obsolete typedefs, superseded by check-obsolete-constructs.py.
1268 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
1269 as a special test. Update commentary.
1270 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
1271 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
1272 Update commentary.
1273 * posix/sys/types.h (__u_intN_t): Remove.
1274 (u_int8_t): Typedef using __uint8_t.
1275 (u_int16_t): Typedef using __uint16_t.
1276 (u_int32_t): Typedef using __uint32_t.
1277 (u_int64_t): Typedef using __uint64_t.
1278
7c651308
SL
12792019-03-13 Stefan Liebler <stli@linux.ibm.com>
1280
1281 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
1282 call _dl_procinfo.
1283 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
1284 Ignore types other than AT_HWCAP.
1285 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
1286 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
1287 Likewise.
1288 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
1289 in the case of falling back to generic output mechanism.
1290 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
1291 Likewise.
1292
38b52865
FW
12932019-03-12 Florian Weimer <fweimer@redhat.com>
1294
1295 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
1296
08504de7
FW
12972019-03-12 Florian Weimer <fweimer@redhat.com>
1298
1299 [BZ #24047]
1300 resolv: Enable full ICMP errors for UDP DNS sockets
1301 * resolv/res_enable_icmp.c: New file.
1302 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
1303 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
1304 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
1305 socket.
1306
5fbcd763
MH
13072019-03-11 Mao Han <han_mao@c-sky.com>
1308
1309 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
1310 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
1311
c4e5f34b
MH
13122019-03-11 Mao Han <han_mao@c-sky.com>
1313
1314 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
1315 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1316 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1317
827e30f3
MH
13182019-03-11 Mao Han <han_mao@c-sky.com>
1319
1320 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
1321 directly.
1322 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
1323 definition.
1324
6229c9bf
MH
13252019-03-11 Mao Han <han_mao@c-sky.com>
1326
1327 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
1328 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
1329 in mcontext_t
1330
86bdd49d
MF
13312019-03-08 Mike FABIAN <mfabian@redhat.com>
1332
1333 [BZ #24307]
1334 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
1335 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1336 Unicode 12.0.0.
1337 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1338 * localedata/unicode-gen/PropList.txt: Likewise.
1339 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1340 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
1341 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
1342 * localedata/charmaps/UTF-8: Regenerate.
1343 * localedata/locales/i18n_ctype: Likewise.
1344 * localedata/locales/tr_TR: Likewise.
1345 * localedata/locales/translit_circle: Likewise.
1346 * localedata/locales/translit_cjk_compat: Likewise.
1347 * localedata/locales/translit_combining: Likewise.
1348 * localedata/locales/translit_compat: Likewise.
1349 * localedata/locales/translit_font: Likewise.
1350 * localedata/locales/translit_fraction: Likewise.
1351
c5f65462
JM
13522019-03-07 Joseph Myers <joseph@codesourcery.com>
1353
1354 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
1355 than after operators.
1356 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
1357 (setitimer_locked): Likewise.
1358 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1359 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1360 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
1361 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
1362 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
1363 (PPC_CPU_SUPPORTED): Likewise.
1364 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
1365 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
1366 (stat_overflow): Likewise.
1367 (statfs_overflow): Likewise.
1368 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
1369 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
1370 (eq_ttyname_r): Likewise.
1371 (run_chroot_tests): Likewise.
1372
27a2f2f3
FW
13732019-03-07 Florian Weimer <fweimer@redhat.com>
1374
1375 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
1376 header check.
1377
ae514971 13782019-03-07 Martin Liska <mliska@suse.cz>
1379
1380 * math/Makefile: Change location where math-vector-fortran.h is
1381 installed.
1382 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
1383 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
1384 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
1385 * scripts/check-installed-headers.sh: Skip Fortran header files.
1386 * scripts/check-wrapper-headers.py: Likewise.
1387
0ddb7ea8
AZ
13882019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1389
1390 * nptl/nptl-init.c (__have_futex_clock_realtime,
1391 __have_futex_clock_realtime): Remove definition.
1392 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
1393 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
1394 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
1395 __ASSUME_FUTEX_CLOCK_REALTIME support.
1396 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1397 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1398 * sysdeps/unix/sysv/linux/kernel-features.h
1399 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
1400 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
1401 Adjust comment.
1402
590675c0
GG
14032019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1404
1405 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
1406 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
1407 __GI___wcscpy and wcscpy.
1408
de71ee7b
FW
14092019-03-04 Florian Weimer <fweimer@redhat.com>
1410
1411 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
1412 declaration.
1413 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
1414 defined.
1415
ce6ddae0
SL
14162019-03-04 Stefan Liebler <stli@linux.ibm.com>
1417
1418 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
1419 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1420
31efface
TS
14212019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1422
1423 [BZ #24162]
1424 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
1425 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
1426
f0eaf862
GG
14272019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1428
1429 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
1430 tests.
1431 (do_test): Likewise.
1432 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
1433 (do_test_call_varg): Likewise.
1434 (do_test_call_rarg): Likewise.
1435 * sysdeps/ieee754/ldbl-opt/Makefile
1436 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
1437 tst-nldbl-error.
1438 ($(objpfx)tst-nldbl-warn.c): New rule.
1439 ($(objpfx)tst-nldbl-error.c): Likewise.
1440 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
1441 New variables.
1442
d11086a9
GG
14432019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1444
1445 [BZ #23984]
1446 * include/bits/error-ldbl.h: New file.
1447 * include/error.h: Include stdarg.h. Declare internal functions
1448 __error_internal and __error_at_line_internal.
1449 * misc/Makefile (headers): Add bits/error-ldbl.h.
1450 * misc/bits/error-ldbl.h: New file.
1451 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
1452 avoid the inclusion of bits/error.h.
1453 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
1454 and __nldbl_error_at_line.
1455 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
1456 (__nldbl_error, __ndlbl_error_at_line): New functions.
1457 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
1458 Redirect error and error_at_line.
1459 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1461 Likewise.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1463 Likewise.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1465 Likewise.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1467 Likewise.
1468 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1469 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1470 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1471
90188e7d
GG
14722019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1473
1474 [BZ #23984]
1475 * include/bits/err-ldbl.h: New file.
1476 * include/err.h: Add prototypes for the internal functions:
1477 __vwarnx_internal and __vwarn_internal.
1478 * misc/Makefile (headers): Add bits/err-ldbl.h.
1479 * misc/bits/err-ldbl.h: New file.
1480 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
1481 defined, i.e.: when -mlong-double-64 is in use.
1482 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
1483 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
1484 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
1485 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
1486 (VA_CALL): New macro.
1487 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
1488 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
1489 functions.
1490 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
1491 declare prototypes for the new functions.
1492 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1494 Likewise.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1496 Likewise.
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1498 Likewise.
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1500 Likewise.
1501 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1502 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1503 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1504
ea2d89d0
GG
15052019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1506
1507 * sysdeps/ieee754/ldbl-opt/Makefile
1508 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
1509 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
1510 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
1511
6e1f6440
GG
15122019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1513
1514 [BZ #23983]
1515 * argp/Makefile (headers): Add bits/argp-ldbl.h.
1516 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
1517 * argp/bits/argp-ldbl.h: New file.
1518 * include/argp.h: Include stdarg.h. Add prototypes for internal
1519 functions: __argp_error_internal and __argp_failure_internal.
1520 * include/bits/argp-ldbl.h: New file.
1521 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
1522 __nldbl_argp_error and __nldbl_argp_failure.
1523 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
1524 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
1525 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
1526 Redirect argp_error and argp_failure calls.
1527 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1529 Likewise.
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1531 Likewise.
1532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1533 Likewise.
1534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1535 Likewise.
1536 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1537 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1538 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1539
c259196b
FW
15402019-03-01 Florian Weimer <fweimer@redhat.com>
1541
1542 [BZ #20419]
1543 * elf/tst-big-note-lib.S: Create a syntactically valid note.
1544 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
1545 code, to avoid creating an ABI tag note.
1546 (modules-names-nobuild): Add tst-big-note-lib.
1547
928b305d
SL
15482019-03-01 Stefan Liebler <stli@linux.ibm.com>
1549
1550 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
1551 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
1552
36f30c10
FW
15532019-03-01 Florian Weimer <fweimer@redhat.com>
1554
1555 [BZ #20271]
1556 * sysdeps/unix/sysv/linux/netlink_assert_response.c
1557 (__netlink_assert_response): Add additional missing newlines.
1558
462e83a4
JM
15592019-02-28 Joseph Myers <joseph@codesourcery.com>
1560
1561 * sysdeps/powerpc/powerpc32/dl-machine.c
1562 (__elf_machine_fixup_plt): Use space before '('.
1563 (__process_machine_rela): Likewise.
1564 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
1565 Likewise.
1566 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
1567 Likewise.
1568 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
1569 Likewise.
1570 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
1571 (pattern): Likewise.
1572 (delta): Likewise.
1573 (check_result): Likewise.
1574 (check_excepts): Likewise.
1575 (check_op): Likewise.
1576 (fail_xr): Likewise.
1577 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
1578 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
1579 (SCNHSZ): Likewise.
1580 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
1581 Likewise.
1582 (ARGS): Likewise.
1583 (__makecontext): Likewise.
1584 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
1585 Likewise.
1586
cc3e573c
FW
15872019-02-28 Florian Weimer <fweimer@redhat.com>
1588
1589 [BZ #23937]
1590 elf: Add test with a local IFUNC resolver.
1591 * elf/ifuncmain9.c: New file.
1592 * elf/ifuncmain9pic.c: Likewise.
1593 * elf/ifuncmain9picstatic.c: Likewise.
1594 * elf/ifuncmain9pie.c: Likewise.
1595 * elf/ifuncmain9static.c: Likewise.
1596 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
1597 ifuncmain9static, ifuncmain9picstatic.
1598 * elf/Makefile [multi-arch && build-shared] (tests-internal):
1599 Add ifuncmain9, ifuncmain9pic.
1600 * elf/Makefile [multi-arch && build-shared && have-fpie]
1601 (ifunc-pie-tests): Add ifuncmain9pie.
1602 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
1603 (CFLAGS-ifuncmain9picstatic.c): Likewise.
1604 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
1605
92ad88fe
L
16062019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1607
1608 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
1609 * configure: Regenerated.
1610 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
1611
6bd4d02e
AZ
16122019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1613
1614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
1615 symbol as __wcspcy instead of wcscpy.
1616
1b218417
ST
16172019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1618
1619 * include/stdio.h (__renameat2): New hidden prototype.
1620 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
1621 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
1622 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
1623 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
1624
c4f50205
JM
16252019-02-27 Joseph Myers <joseph@codesourcery.com>
1626
f627dd4d
JM
1627 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
1628 if statement.
1629
c4f50205
JM
1630 * benchtests/bench-strcpy.c (do_test): Use space before '('.
1631 * benchtests/bench-string.h (cmdline_process_function): Likewise.
1632 * benchtests/bench-strlen.c (do_test): Likewise.
1633 (test_main): Likewise.
1634 * catgets/gencat.c (read_old): Likewise.
1635 * elf/cache.c (load_aux_cache): Likewise.
1636 * iconvdata/bug-iconv8.c (do_test): Likewise.
1637 * math/test-tgmath-ret.c (do_test): Likewise.
1638 * nis/nis_call.c (rec_dirsearch): Likewise.
1639 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1640 * nptl/tst-audit-threads.c (do_test): Likewise.
1641 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
1642 * nss/nss_test1.c (init): Likewise.
1643 * nss/test-netdb.c (test_hosts): Likewise.
1644 * posix/execvpe.c (maybe_script_execute): Likewise.
1645 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
1646 * stdio-common/tst-printf.c (do_test): Likewise.
1647 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
1648 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
1649 * stdlib/qsort.c (STACK_SIZE): Likewise.
1650 * stdlib/test-canon.c (do_test): Likewise.
1651 * stdlib/tst-swapcontext1.c (do_test): Likewise.
1652 * string/memcmp.c (OPSIZ): Likewise.
1653 * string/test-strcpy.c (do_test): Likewise.
1654 (do_random_tests): Likewise.
1655 * string/test-strlen.c (do_test): Likewise.
1656 (test_main): Likewise.
1657 * string/test-strrchr.c (do_test): Likewise.
1658 (do_random_tests): Likewise.
1659 * string/tester.c (test_memrchr): Likewise.
1660 (test_memchr): Likewise.
1661 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
1662 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
1663 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
1664 (read_encoded_value_with_base): Likewise.
1665 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
1666 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
1667 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
1668 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1669 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
1670 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
1671 Likewise.
1672 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
1673 Likewise.
1674 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
1675 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
1676 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
1677 Likewise.
1678 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
1679 Likewise.
1680 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
1681 Likewise.
1682 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
1683 Likewise.
1684 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
1685 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
1686 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1687 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
1688 * time/test_time.c (main): Likewise.
1689
7b3fb620
AZ
16902019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1691
457208b1
AZ
1692 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
1693
30a7e208
AZ
1694 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
1695 wmemcpy.
1696
ddf21ec7
AZ
1697 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
1698 wmemcpy.
1699
4d801563
AZ
1700 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1701
81a14439
AZ
1702 * include/wchar.h (__wcscpy): New prototype.
1703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
1704 (__wcscpy): Route internal symbol to generic implementation.
1705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
1706 Add internal __wcscpy alias.
1707 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
1708 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
1709 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
1710 * wcsmbs/wcscpy.c (wcscpy): Add
1711 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
1712 use generic implementation.
1713 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
1714
39ef0744
AZ
1715 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
1716 wmemset.
1717
7b3fb620
AZ
1718 * sysdeps/m68k/wcpcpy.c: Remove file.
1719 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
1720
e0cb7b61
JM
17212019-02-26 Joseph Myers <joseph@codesourcery.com>
1722
aa0e4663
JM
1723 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
1724 than after operators.
1725 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1726 * sysdeps/mach/hurd/getcwd.c
1727 (__hurd_canonicalize_directory_name_internal): Likewise.
1728 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
1729 (pthread_mutex_consistent): Likewise.
1730 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
1731 Likewise.
1732 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
1733 (__pthread_mutex_transfer_np): Likewise.
1734 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
1735 (__pthread_mutex_unlock): Likewise.
1736 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
1737 (mtx_owned_p): Likewise.
1738 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
1739 (pthread_mutexattr_getrobust): Likewise.
1740 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
1741 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
1742 Likewise.
1743 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1744 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
1745 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
1746 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
1747 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1748 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1749 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
1750 Likewise.
1751 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
1752 Likewise.
1753 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
1754 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
1755 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
1756 (____longjmp_chk): Likewise.
1757 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
1758 Likewise.
1759 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1760 (INTERNAL_SYSCALL): Likewise.
1761 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1762 (INTERNAL_SYSCALL): Likewise.
1763 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1764 (__get_clockfreq_via_cpuinfo): Likewise.
1765
e0cb7b61
JM
1766 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
1767 comments.
1768 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
1769 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
1770 (WORD_COPY_BWD): Likewise.
1771 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1772 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1773 Likewise.
1774 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
1775 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
1776 comment.
1777 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1778
a04549c1
JM
17792019-02-25 Joseph Myers <joseph@codesourcery.com>
1780
1781 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
1782 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
1783 rather than after operators.
1784 * elf/cache.c (print_cache): Likewise.
1785 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
1786 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
1787 * hurd/hurdinit.c (_hurd_setproc): Likewise.
1788 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
1789 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
1790 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1791 (reauth_proc): Likewise.
1792 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
1793 (__file_name_split_at): Likewise.
1794 (__directory_name_split_at): Likewise.
1795 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1796 * hurd/port2fd.c (_hurd_port2fd): Likewise.
1797 * iconv/gconv_dl.c (do_print): Likewise.
1798 * inet/netinet/in.h (struct sockaddr_in): Likewise.
1799 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
1800 * locale/setlocale.c (new_composite_name): Likewise.
1801 * malloc/memusagestat.c (main): Likewise.
1802 * misc/fstab.c (fstab_convert): Likewise.
1803 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1804 Likewise.
1805 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
1806 (getgrent_next_file): Likewise.
1807 (internal_getgrnam_r): Likewise.
1808 (internal_getgrgid_r): Likewise.
1809 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
1810 Likewise.
1811 (internal_getgrent_r): Likewise.
1812 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1813 (getpwent_next_nss): Likewise.
1814 (getpwent_next_file): Likewise.
1815 (internal_getpwnam_r): Likewise.
1816 (internal_getpwuid_r): Likewise.
1817 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
1818 Likewise.
1819 (getspent_next_nss): Likewise.
1820 (internal_getspnam_r): Likewise.
1821 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1822 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1823 * string/strchr.c (STRCHR): Likewise.
1824 * string/strchrnul.c (STRCHRNUL): Likewise.
1825 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
1826 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1827 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
1828 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
1829 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
1830 Likewise.
1831 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
1832 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1833 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
1834 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
1835 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
1836 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
1837 (open_file): Likewise.
1838 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
1839 (pthread_mutexattr_setprotocol): Likewise.
1840 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
1841 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
1842 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
1843 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
1844 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1845 Likewise.
1846 (elf_machine_rela): Likewise.
1847 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1848 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1849 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
1850 * sysdeps/posix/rename.c (rename): Likewise.
1851 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
1852 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
1853 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
1854 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
1855 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1856 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
1857 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
1858 Likewise.
1859 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
1860 Likewise.
1861 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
1862 * time/tzfile.c (__tzfile_compute): Likewise.
1863
34a5a146
JM
18642019-02-22 Joseph Myers <joseph@codesourcery.com>
1865
1866 * benchtests/bench-memmem.c (simple_memmem): Break lines before
1867 rather than after operators.
1868 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
1869 * crypt/md5.c (md5_finish_ctx): Likewise.
1870 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
1871 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
1872 * elf/cache.c (load_aux_cache): Likewise.
1873 * elf/dl-load.c (open_verify): Likewise.
1874 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1875 * elf/readelflib.c (process_elf_file): Likewise.
1876 * elf/rtld.c (dl_main): Likewise.
1877 * elf/sprof.c (generate_call_graph): Likewise.
1878 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
1879 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1880 * hurd/dtable.c (reauth_dtable): Likewise.
1881 * hurd/getdport.c (__getdport): Likewise.
1882 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
1883 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
1884 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
1885 Likewise.
1886 * hurd/hurdioctl.c (fioctl): Likewise.
1887 * hurd/hurdselect.c (_hurd_select): Likewise.
1888 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
1889 (STOPSIGS): Likewise.
1890 * hurd/hurdstartup.c (_hurd_startup): Likewise.
1891 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
1892 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
1893 * hurd/msgportdemux.c (msgport_server): Likewise.
1894 * hurd/setauth.c (_hurd_setauth): Likewise.
1895 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
1896 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
1897 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
1898 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
1899 * login/tst-utmp.c (do_check): Likewise.
1900 (simulate_login): Likewise.
1901 * mach/lowlevellock.h (lll_lock): Likewise.
1902 (lll_trylock): Likewise.
1903 * math/test-fenv.c (ALL_EXC): Likewise.
1904 * math/test-fenvinline.c (ALL_EXC): Likewise.
1905 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
1906 * nis/nis_call.c (__do_niscall3): Likewise.
1907 * nis/nis_callback.c (cb_prog_1): Likewise.
1908 * nis/nis_defaults.c (searchaccess): Likewise.
1909 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1910 * nis/nis_ismember.c (internal_ismember): Likewise.
1911 * nis/nis_local_names.c (nis_local_principal): Likewise.
1912 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
1913 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
1914 Likewise.
1915 * nis/ypclnt.c (yp_match): Likewise.
1916 (yp_first): Likewise.
1917 (yp_next): Likewise.
1918 (yp_master): Likewise.
1919 (yp_order): Likewise.
1920 * nscd/hstcache.c (cache_addhst): Likewise.
1921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1922 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
1923 (internal_getpwuid_r): Likewise.
1924 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
1925 * posix/glob.h (__GLOB_FLAGS): Likewise.
1926 * posix/regcomp.c (peek_token): Likewise.
1927 (peek_token_bracket): Likewise.
1928 (parse_expression): Likewise.
1929 * posix/regexec.c (sift_states_iter_mb): Likewise.
1930 (check_node_accept_bytes): Likewise.
1931 * posix/tst-spawn3.c (do_test): Likewise.
1932 * posix/wordexp-test.c (testit): Likewise.
1933 * posix/wordexp.c (parse_tilde): Likewise.
1934 (exec_comm): Likewise.
1935 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
1936 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
1937 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
1938 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
1939 * stdio-common/tst-fileno.c (do_test): Likewise.
1940 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
1941 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
1942 * stdlib/strtod_l.c (round_and_return): Likewise.
1943 (____STRTOF_INTERNAL): Likewise.
1944 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
1945 * string/strcspn.c (STRCSPN): Likewise.
1946 * string/test-memmem.c (simple_memmem): Likewise.
1947 * termios/tcsetattr.c (tcsetattr): Likewise.
1948 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
1949 * time/asctime.c (asctime_internal): Likewise.
1950 * time/strptime_l.c (__strptime_internal): Likewise.
1951 * time/sys/time.h (timercmp): Likewise.
1952 * time/tzfile.c (__tzfile_compute): Likewise.
1953
b0b50fe0
PF
19542019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
1955
b39d961c
TS
1956 [BZ #21915]
1957 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 1958
f43b8dd5
GG
19592019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1960
1961 * argp/argp-help.c (__argp_error_internal): New function,
1962 renamed from __argp_error, but that takes a 'mode_flags'
1963 parameter to control the format of long double parameters.
1964 (__argp_error): Converted into a call __argp_error_internal.
1965 (__argp_failure_internal): New function, renamed from
1966 __argp_failure, but that takes a 'mode_flags' parameter.
1967 (__argp_failure): Converted into a call __argp_failure_internal.
1968 * misc/err.c (__vwarnx_internal): New function, renamed from
1969 vwarnx, but that takes a 'mode_flags' parameter.
1970 (vwarnx): Converted into a call to __vwarnx_internal.
1971 (__vwarn_internal): New function, renamed from vwarn, but that
1972 takes a 'mode_flags' parameter.
1973 (vwarn): Converted into a call to __vwarn_internal.
1974 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
1975 call to __vfxprintf with 'mode_flags'.
1976 (__error_internal): New function, renamed from error, but that
1977 takes a 'mode_flags' parameter.
1978 (error): Converted into a call to __error_internal.
1979 (__error_at_line_internal): New function, renamed from
1980 error_at_line, but that takes a 'mode_flags' parameter.
1981 (error_at_line): Converted into a call to
1982 __error_at_line_internal.
1983 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
1984 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
1985 Likewise.
1986
dc0afac3 19872019-02-20 Martin Liska <mliska@suse.cz>
1988
1989 * math/Makefile: Install math-vector-fortran.h.
1990 * bits/math-vector-fortran.h: New file.
1991 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
1992
4a2dd41c
GG
19932019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1994
1995 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
1996 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
1997
04de9302
WS
19982019-02-19 Wolfram Sang <wsa@the-dreams.de>
1999
2000 * nptl/pthread_mutex_trylock.c: Fix comment.
2001
b026ce1e
CD
20022019-02-19 Carlos O'Donell <carlos@redhat.com>
2003
2004 * nptl/pthread_tryjoin.c: Fix comment.
2005
8c9289b6
JM
20062019-02-18 Joseph Myers <joseph@codesourcery.com>
2007
2008 [BZ #24231]
2009 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2010 after R_SPARC_H34 case.
2011
308e022f
FW
20122019-02-18 Florian Weimer <fweimer@redhat.com>
2013
2014 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2015 (getanswer): Do not call Dprintf.
2016 (res_gethostbyname2_context): Likewise.
2017 (res_gethostbyaddr_context): Likewise.
2018
a5406364
FW
20192019-02-18 Florian Weimer <fweimer@redhat.com>
2020
2021 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2022 declaration.
2023 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2024 Remove definitions.
2025 * libio/stdfiles.c: Update comment.
2026 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2027 set _IO_stdin, _IO_stdout, _IO_stderr.
2028 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2029 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2030 inline function.
2031 (_IO_deallocate_file): New inline function.
2032 * libio/iolibio.h (_IO_vprintf): Remove definition.
2033 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2034 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2035 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2036 _IO_legacy_file.
2037 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2038 __builtin_expect. Use _IO_legacy_file.
2039
6c29942c
SL
20402019-02-18 Stefan Liebler <stli@linux.ibm.com>
2041
2042 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2043 Initialize ctid with a known value and remove update of ctid
2044 after clone.
2045 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2046 as assumed current value of ctid_ptr.
2047
225d9445 20482019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
2049
2050 Check that non-sysdeps headers have wrapper headers.
2051 * scripts/check-wrapper-headers.py: New file.
2052 * Makefile (tests-special): Add check-wrapper-headers.out.
2053 (check-wrapper-headers.out): New target.
2054 * Rules (tests-special): Add check-wrapper-headers.out.
2055 (check-wrapper-headers.out): New target.
2056
225d9445 20572019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
2058
2059 Add missing header wrappers under include/.
2060 * include/ar.h: New file.
2061 * include/bits/mqueue2.h: Likewise.
2062 * include/bits/stdio.h: Likewise.
2063 * include/bits/stdio2.h: Likewise.
2064 * include/fstab.h: Likewise.
2065 * include/fts.h: Likewise.
2066 * include/lastlog.h: Likewise.
2067 * include/netinet/icmp6.h: Likewise.
2068 * include/netinet/igmp.h: Likewise.
2069 * include/netinet/ip6.h: Likewise.
2070 * include/re_comp.h: Likewise.
2071 * include/regexp.h: Likewise.
2072 * include/rpcsvc/bootparam.h: Likewise.
2073 * include/rpcsvc/yp_prot.h: Likewise.
2074 * include/sys/random.h: Likewise.
2075 * include/sys/stropts.h: Likewise.
2076 * include/sys/ttychars.h: Likewise.
2077 * include/sys/vfs.h: Likewise.
2078 * include/wait.h: Likewise.
2079
225d9445 20802019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
2081
2082 * nptl_db/proc_service.h: Move to ...
2083 * sysdeps/nptl/proc_service.h: ... here.
2084 * nptl_db/thread_db.h: Move to ...
2085 * sysdeps/nptl/thread_db.h: ... here.
2086 * nptl/descr.h: Include <thread_db.h>.
2087
e442e40d
AZ
20882019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2089
2090 * io/Makefile (tests): Add tst-lockf.
2091 * io/lockf.c (lockf): Use __fcntl and only define for
2092 !__OFF_T_MATCHES_OFF64_T.
2093 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2094 __OFF_T_MATCHES_OFF64_T case.
2095 * io/tst-lockf.c: New file.
2096 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2097 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2098 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2099 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2100 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2102 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2103 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2104 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2105
bc10e22c
FW
21062019-02-15 Florian Weimer <fweimer@redhat.com>
2107
2108 [BZ #24211]
2109 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2110 pd->result after the thread descriptor has been freed.
2111
365f05c7
JM
21122019-02-15 Joseph Myers <joseph@codesourcery.com>
2113
8a11f970
JM
2114 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2115 from function return type.
2116
365f05c7
JM
2117 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2118
6b5c8607 21192019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
2120
2121 * scripts/test_printers_common.py: Set TERM to a known harmless
2122 value.
2123
712182c8
JM
21242019-02-14 Joseph Myers <joseph@codesourcery.com>
2125
2126 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2127 (xdr_u_int): Likewise.
2128 (xdr_enum): Likewise.
2129 (xdr_bytes): Reword fall-through comment.
2130 (xdr_string): Likewise.
2131
eb76e5b4
AZ
21322019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2133
2134 [BZ #2421]
2135 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2136 (tests): Add tst-join8 tst-join9.
2137 * nptl/lll_timedwait_tid.c: Remove file.
2138 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2139 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2140 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2141 * nptl/pthread_join_common.c (timedwait_tid): New function.
2142 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2143 is set.
2144 * nptl/tst-join5.c (thread_join): New function.
2145 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2146 check.
2147 * nptl/tst-join8.c: New file.
2148 * nptl/tst-join9.c: Likewise.
2149 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2150 lll_futex_timed_wait_cancel): Add generic macros.
2151 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2152 Remove definitions.
2153 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2154 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2155 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2156 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2157 Remove function.
2158 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2159 Likewise.
2160 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2161 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2162 (lll_futex_timed_wait_cancel): New macro.
2163
3904fd85
WD
21642019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2165
2166 * benchtests/Makefile: Add malloc-simple benchmark.
2167 * benchtests/bench-malloc-simple.c: New benchmark.
2168
24ca04fe
SP
21692019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2170
2171 * benchtests/bench-memmove.c (do_one_test): Remove unused
2172 ORIG_SRC.
2173 (do_test): Adjust.
2174 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2175 ORIG_SRC.
2176 (do_test): Adjust.
2177
85bd1ddb
JW
21782019-01-13 Jim Wilson <jimw@sifive.com>
2179
2180 [BZ #24040]
2181 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
2182 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
2183 (func): New.
2184 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
2185 call func directly.
2186 * nptl/Makefile (tests): Add tst-unwind-thread.
2187 (CFLAGS-tst-unwind-thread.c): Define.
2188 * nptl/tst-unwind-thread.c: New file.
2189 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
2190 as undefined.
2191
86140c62
JM
21922019-02-13 Joseph Myers <joseph@codesourcery.com>
2193
10756268
JM
2194 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
2195 comment wording.
2196 * nis/nis_call.c (__do_niscall3): Likewise.
2197
05383720
JM
2198 * catgets/gencat.c (normalize_line): Use braces around empty
2199 'else' body.
2200 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2201 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
2202 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
2203 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
2204 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
2205 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
2206 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
2207 definition.
2208
86140c62
JM
2209 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
2210 execlp returns.
2211
16f87cfd
WD
22122019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
2213
2214 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
2215 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
2216 * benchtests/bench-strchr.c (stupid_strchr): Remove.
2217 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
2218 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
2219 * benchtests/bench-strlen.c (builtin_strlen): Remove.
2220 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
2221 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
2222 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
2223 * benchtests/bench-strspn.c (stupid_strspn): Remove.
2224 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
2225 * benchtests/bench-bcopy.c: Delete file.
2226 * benchtests/bench-bzero.c: Likewise.
2227 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
2228 (simple_memccpy): Remove.
2229 (generic_memccpy): Add function.
2230 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
2231 * benchtests/bench-memmove.c (simple_bcopy): Remove.
2232 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
2233 (generic_mempcpy): Add new function.
2234 * benchtests/bench-memset.c (simple_bzero): Remove.
2235 (builtin_bzero): Remove.
2236 (builtin_memset): Remove.
2237 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
2238 (generic_rawmemchr): Add new function.
2239
0c6d82e9
FW
22402019-02-12 Florian Weimer <fweimer@redhat.com>
2241
2242 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
2243
b3fbfe81
AZ
22442019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2245
2246 [BZ #24122]
2247 * elf/Makefile (tests): Add tst-audit13.
2248 (modules-names): Add tst-audit13mod1.
2249 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2250 rule.
2251 * elf/tst-audit13.c: New file.
2252 * elf/tst-audit13mod1.c: Likewise.
2253
3b856d09
FW
22542019-02-12 Florian Weimer <fweimer@redhat.com>
2255
2256 [BZ #24122]
2257 * elf/rtld.c (unload_audit_module): New function.
2258 (report_audit_module_load_error): Likewise.
2259 (load_audit_module): Likewise. Extracted from dl_main. Call
2260 _dl_close if the laversion symbol cannot be found. Use early
2261 returns for error handling. Add malloc error check. Check for a
2262 zero return value from la_version. Remove spurious comment about
2263 static TLS initialization. Remove useless casts.
2264 (notify_audit_modules_of_loaded_object): New function. Extracted
2265 from dl_main.
2266 (load_audit_module): Likewise.
2267 (dl_main): Call load_audit_modules.
2268
32db86d5
JM
22692019-02-12 Joseph Myers <joseph@codesourcery.com>
2270
2271 * elf/dl-exception.c (_dl_exception_create_format): Add
2272 fall-through comments.
2273 * elf/ldconfig.c (parse_conf_include): Likewise.
2274 * elf/rtld.c (print_statistics): Likewise.
2275 * locale/programs/charmap.c (parse_charmap): Likewise.
2276 * misc/mntent_r.c (__getmntent_r): Likewise.
2277 * posix/wordexp.c (parse_arith): Likewise.
2278 (parse_backtick): Likewise.
2279 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
2280 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2281 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2282
a51bc4fe
PC
22832019-02-11 Paul A. Clarke <pc@us.ibm.com>
2284
2285 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
2286 Use float instead of double.
2287
fb25b135
TS
22882019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
2289
2290 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
2291
32ea7299
JM
22922019-02-08 Joseph Myers <joseph@codesourcery.com>
2293
2294 * sysdeps/powerpc/bits/mathinline.h: Remove.
2295
eef4d4f8
FW
22962019-02-08 Florian Weimer <fweimer@redhat.com>
2297
2298 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
2299 * math/bits/math-finite.h: Move to ...
2300 * bits/math-finite.h: ... here.
2301
fdfbd47d
FW
23022019-02-08 Florian Weimer <fweimer@redhat.com>
2303
2304 * sysdeps/generic/bits/unistd_ext.h: Move to ...
2305 * bits/unistd_ext.h: here.
2306
11eb21c4
PF
23072019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
2308
2309 [BZ #21915]
2310 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
2311 * nss/tst-nss-files-hosts-long.c: New file.
2312 * nss/tst-nss-files-hosts-long.root: New directory.
2313 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
2314 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
2315
e47d82c9
FW
23162019-02-08 Florian Weimer <fweimer@redhat.com>
2317
2318 * include/bits/unistd_ext.h: Remove file.
2319 * posix/bits/unistd_ext.h: Move to ...
2320 * sysdeps/generic/bits/unistd_ext.h: ... here.
2321
8f89ab21
FW
23222019-02-08 Florian Weimer <fweimer@redhat.com>
2323
2324 * include/bits/unistd_ext.h: New file.
2325
144a794e
TS
23262019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
2327
2328 * time/tst-strftime2.c: Use array_length macros instead of magic
2329 numbers.
2330
669ff911
FW
23312019-02-08 Florian Weimer <fweimer@redhat.com>
2332
2333 [BZ #24161]
2334 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
2335 argument.
2336 * nptl/register-atfork.c (__run_fork_handlers): Only perform
2337 locking if the new do_locking argument is true.
2338 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
2339 __run_fork_handlers.
2340
d0bd87d4 23412019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
2342
2343 [BZ #6399]
2344 Linux: Add gettid system call wrapper.
2345 * posix/Makefile (headers): Add bits/unistd_ext.h.
2346 * posix/bits/unistd_ext.h: New file.
2347 * posix/unistd.h: Include it.
2348 * manual/process.texi (Process Identification): Document gettid.
2349 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
2350 tst-gettid, tst-gettid-kill.
2351 (tst-gettid): Link with $(shared-thread-library).
2352 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
2353 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
2354 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
2355 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
2356 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
2357 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
2358 Add gettid.
2359 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
2360 Likewise.
2361 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
2362 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
2363 Likewise.
2364 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
2365 Likewise.
2366 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
2367 Likewise.
2368 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
2369 Likewise.
2370 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
2371 Likewise.
2372 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
2373 Likewise.
2374 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
2375 Likewise.
2376 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2377 (GLIBC_2.30): Likewise.
2378 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2379 (GLIBC_2.30): Likewise.
2380 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2381 (GLIBC_2.30): Likewise.
2382 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2383 (GLIBC_2.30): Likewise.
2384 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
2385 Likewise.
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2387 (GLIBC_2.30): Likewise.
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2389 (GLIBC_2.30): Likewise.
2390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
2391 (GLIBC_2.30): Likewise.
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
2393 (GLIBC_2.30): Likewise.
2394 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
2395 Likewise.
2396 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
2397 Likewise.
2398 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
2399 Likewise.
2400 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
2401 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
2402 Likewise.
2403 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
2404 Likewise.
2405 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
2406 Likewise.
2407 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
2408 Likewise.
2409 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
2410
225d9445 24112019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
2412
2413 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
2414 compatibility symbols.
2415
823624bd
SL
24162019-02-07 Stefan Liebler <stli@linux.ibm.com>
2417
2418 [BZ #24180]
2419 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2420 Add compiler barriers and comments.
2421
8311c83f
FW
24222019-02-07 Florian Weimer <fweimer@redhat.com>
2423
2424 * include/array_length.h (array_length): Do not use a statement
2425 expression and _Static_assert, so that array_length can be used at
2426 file scope and as a constant expression.
2427
94b63e66
FW
24282019-02-07 Florian Weimer <fweimer@redhat.com>
2429
2430 * support/xdlfcn.h (xdlmopen): Declare.
2431 * support/xdlmopen.c: New file.
2432 * support/Makefile (libsupport-routines): Add xdlmopen.
2433
c2d8f0b7
JM
24342019-02-06 Joseph Myers <joseph@codesourcery.com>
2435
2436 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
2437 before return type, without separate inline.
2438 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
2439 * elf/dl-tunables.h (tunable_is_name): Likewise.
2440 * malloc/malloc.c (do_set_trim_threshold): Likewise.
2441 (do_set_top_pad): Likewise.
2442 (do_set_mmap_threshold): Likewise.
2443 (do_set_mmaps_max): Likewise.
2444 (do_set_mallopt_check): Likewise.
2445 (do_set_perturb_byte): Likewise.
2446 (do_set_arena_test): Likewise.
2447 (do_set_arena_max): Likewise.
2448 (do_set_tcache_max): Likewise.
2449 (do_set_tcache_count): Likewise.
2450 (do_set_tcache_unsorted_limit): Likewise.
2451 * nis/nis_subr.c (count_dots): Likewise.
2452 * nptl/allocatestack.c (advise_stack_range): Likewise.
2453 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
2454 (do_sin): Likewise.
2455 (reduce_sincos): Likewise.
2456 (do_sincos): Likewise.
2457 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2458 (do_set_elision_enable): Likewise.
2459 (TUNABLE_CALLBACK_FNDECL): Likewise.
2460
3b935595
FW
24612019-02-06 Florian Weimer <fweimer@redhat.com>
2462
2463 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
2464 (xdlsym): Use dlerror to detect a NULL symbol.
2465
b4333340
FW
24662019-02-06 Florian Weimer <fweimer@redhat.com>
2467
2468 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
2469 <stap-probe.h>.
2470 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2471
b6d8a999
SL
24722019-02-06 Stefan Liebler <stli@linux.ibm.com>
2473
2474 * libio/tst-bz24153.c (wide): Use wide char format specifier.
2475
94eeeec0
SL
24762019-02-06 Stefan Liebler <stli@linux.ibm.com>
2477
2478 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
2479 __wmemcmp and weak alias to wmemcmp.
2480
bc79db3f
SL
24812019-02-06 Stefan Liebler <stli@linux.ibm.com>
2482
2483 [BZ #23403]
2484 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
2485 TLS_TCB_AT_TP tls variant.
2486 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
2487 Add alignment checks.
2488 * support/Makefile (libsupport-routines): Add xposix_memalign and
2489 xpthread_setstack.
2490 * support/support.h: Add xposix_memalign.
2491 * support/xthread.h: Add xpthread_attr_setstack.
2492 * support/xposix_memalign.c: New File.
2493 * support/xpthread_attr_setstack.c: Likewise.
2494
f1ac7455
FW
24952019-02-05 Florian Weimer <fweimer@redhat.com>
2496
2497 [BZ #24164]
2498 arm: Use "nr" constraint for Systemtap probes, to avoid the
2499 compiler using memory operands for constants, due to the "o"
2500 alternative in the default "nor" constraint.
2501 * include/stap-probe.h [USE_STAP_PROBE]: Include
2502 <stap-probe-machine.h>
2503 * sysdeps/generic/stap-probe-machine.h: New file.
2504 * sysdeps/arm/stap-probe-machine.h: Likewise.
2505
7a0dcfc6
JM
25062019-02-04 Joseph Myers <joseph@codesourcery.com>
2507
77dc0d86
JM
2508 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
2509 with 0, not tcache->entries[tc_idx].
2510
7a0dcfc6
JM
2511 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
2512 once.
2513
65f7767a
AS
25142019-02-04 Andreas Schwab <schwab@suse.de>
2515
2516 [BZ #16976]
2517 [BZ #17396]
2518 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
2519 looking up collating elements match against (wide) character
2520 sequence instead of name. Correct alignment adjustment.
2521 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
2522 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
2523 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
2524 (LOCALES): Add cs_CZ.ISO-8859-2.
2525 * posix/tst-fnmatch4.c: New file.
2526 * posix/tst-fnmatch5.c: New file.
2527 * include/wchar.h (__wmemcmp): Declare.
2528 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
2529 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2530 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2531 * sysdeps/s390/wmemcmp.c: Likewise.
2532
3f635fb4
L
25332019-02-04 H.J. Lu <hongjiu.lu@intel.com>
2534
2535 [BZ #24155]
2536 CVE-2019-7309
2537 * NEWS: Updated for CVE-2019-7309.
2538 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
2539 upper 32 bits of RDX register for x32. Use unsigned Jcc
2540 instructions, instead of signed.
2541 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
2542 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
2543
2ab5741b
FW
25442019-02-04 Florian Weimer <fweimer@redhat.com>
2545
2546 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
2547 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
2548 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
2549 Likewise.
2550 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
2551 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
2552 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
2553 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
2554 Likewise.
2555 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
2556 Likewise.
2557 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
2558 Likewise.
2559 (posix_spawn_file_actions_addopen): Likewise.
2560 (posix_spawn_file_actions_addclose): Likewise.
2561 (posix_spawn_file_actions_adddup2): Likewise.
2562 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
2563 qualifiers.
2564 (posix_spawn_file_actions_addfchdir_np): Likewise.
2565
8692ebdb
DN
25662019-02-04 David Newall <glibc@davidnewall.com>
2567
2568 elf: Implement --preload option for the dynamic linker.
2569 * elf/rtld.c (preloadarg): New variable.
2570 (handle_preload_list): Pass through “where” argument to
2571 do_preload.
2572 (dl_main): Handle "--preload" and add second call to
2573 handle_preload_list.
2574 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
2575 (tst-rtld-preload-OBJS): Set variable.
2576 (tst-rtld-preload.out): New target.
2577 * elf/tst-rtld-preload.sh: New file.
2578
5e10136b
MM
25792019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
2580
2581 * Makefile (testrun.sh): Exit in case of incorrect argument.
2582
221baae0
FW
25832019-02-04 Florian Weimer <fweimer@redhat.com>
2584
2585 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
2586 alignment gaps.
2587
b8c72381
FW
25882019-02-03 Florian Weimer <fweimer@redhat.com>
2589
2590 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
2591 implicit overflow checks.
2592
11f382ee
AJ
25932019-02-03 Aurelien Jarno <aurelien@aurel32.net>
2594
2595 * stdlib/isomac.c: Include <unistd.h>.
2596
77c7d55e
FW
25972019-02-03 Florian Weimer <fweimer@redhat.com>
2598
2599 * include/time.h (__tzfile_default): Use int, not long int, for
2600 the GMT offsets.
2601 * time/tzfile.c (struct ttinfo): Change type of the offset member
2602 to int.
2603 (__tzfile_read): Remove useless cast.
2604 (__tzfile_default): Adjust prototype.
2605 * time/tzset.c (tz_rule): Change type of the offset member to int.
2606 (parse_offset): Change the type of the sign variable to int.
2607
ee9941f9
FW
26082019-02-03 Florian Weimer <fweimer@redhat.com>
2609
2610 [BZ #24153]
2611 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
2612 * libio/getchar.c (getchar): Likewise.
2613 * libio/getchar_u.c (getchar_unlocked): Likewise.
2614 * libio/getwchar.c (getwchar): Likewise.
2615 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2616 * libio/iogets.c (_IO_gets): Likewise.
2617 * libio/vscanf.c (_IO_vscanf): Likewise.
2618 * libio/vwscanf.c (__vwscanf): Likewise.
2619 * libio/tst-bz24153.c: New file.
2620 * libio/Makefile (tests): Add it.
2621
c70824b9
FW
26222019-02-02 Florian Weimer <fweimer@redhat.com>
2623
2624 [BZ #14829]
2625 * manual/resource.texi (Basic Scheduling Functions): Add
2626 portability note. Change process to task throughout the section.
2627 Remove incorrect comment about sched_yield as it affects
2628 tasks/threads, not entire processes.
2629 * sysdeps/unix/sysv/linux/bits/posix_opt.h
2630 (_POSIX_PRIORITY_SCHEDULING): Update comment.
2631
4dcbbc3b
JM
26322019-02-01 Joseph Myers <joseph@codesourcery.com>
2633
2634 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
2635 * configure: Regenerated.
2636 * manual/install.texi (Tools for Compilation): Update minimum GCC
2637 version.
2638 * INSTALL: Regenerated.
2639
6175507c
FW
26402019-02-01 Florian Weimer <fweimer@redhat.com>
2641
2642 * support/support_test_compare_string.c
2643 (support_test_compare_string): Use "string" in error message.
2644 * support/tst-test_compare_string.c (do_test): Adjust.
2645
baef1943
FW
26462019-02-01 Florian Weimer <fweimer@redhat.com>
2647
2648 * support/support_format_address_family.c
2649 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
2650
395599f0
FW
26512019-02-01 Florian Weimer <fweimer@redhat.com>
2652
2653 * manual/socket.texi (Internet Address Formats): Clarify the byte
2654 order of struct sockaddr_in, struct sockaddr_in6. Document
2655 sin6_flowinfo and sin6_scope_id.
2656
b06f4c00
WD
26572019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
2658
2659 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
2660 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
2661 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
2662 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
2663 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
2664 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
2665
83d1cc42
FX
26662019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2667
2668 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
2669 [!MEMCHR](MEMCHR): Set to __memchr.
2670 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2671 Add memchr_generic and memchr_nosimd.
2672 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2673 (__libc_ifunc_impl_list): Add memchr ifuncs.
2674 * sysdeps/aarch64/multiarch/memchr.c: New file.
2675 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
2676 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
2677
c7d3890f
FX
26782019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2679
2680 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
2681 Add memset_emag.
2682 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
2683 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
2684 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
2685 Add IS_EMAG check for ifunc dispatch.
2686 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
2687 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
2688
07c3d1ec
FX
26892019-02-01 Feng Xue <fxue@os.amperecomputing.com>
2690
2691 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
2692 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2693 Add emag.
2694 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
2695 New macro.
2696
114f792e
SL
26972019-02-01 Stefan Liebler <stli@linux.ibm.com>
2698
2699 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
2700
d5627550
VG
27012019-01-31 Vineet Gupta <vgupta@synopsys.com>
2702
2703 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
2704 syscall-template file.
2705
5fc9ed4c
CD
27062019-01-31 Carlos O'Donell <carlos@redhat.com>
2707 Torvald Riegel <triegel@redhat.com>
2708 Rik Prohaska <prohaska7@gmail.com>
2709
2710 [BZ# 23844]
2711 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
2712 tst-rwlock-trywrlock-stall.
2713 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2714 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
2715 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
2716 Set __wrphase_fute to 1 only if we started the write phase.
2717 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
2718 * nptl/tst-rwlock-trywrlock-stall.c: New file.
2719 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
2720 * support/xpthread_rwlock_destroy.c: New file.
2721 * support/xthread.h: Declare xpthread_rwlock_destroy.
2722
932329a5
JM
27232019-02-01 Joseph Myers <joseph@codesourcery.com>
2724
2725 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
2726 version to 4.0.2.
2727
5f10701f
PP
27282019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2729
2730 [BZ #24051]
2731 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
2732 * libio/fileops.c (_IO_new_file_underflow): Likewise
2733 * libio/wfileops.c (_IO_wfile_underflow): Likewise
2734 * libio/putchar.c (putchar): Likewise.
2735 * libio/putchar_u.c (putchar_unlocked): Likewise.
2736 * libio/putwchar.c (putchar): Likewise.
2737 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2738 * libio/tst-bz24051.c: New test.
2739 * libio/Makefile (tests): Add tst-bz24051
2740
583dd860
PE
27412019-01-31 Paul Eggert <eggert@cs.ucla.edu>
2742
b626c5aa 2743 CVE-2019-9169
583dd860
PE
2744 regex: fix read overrun [BZ #24114]
2745 Problem found by AddressSanitizer, reported by Hongxu Chen in:
2746 https://debbugs.gnu.org/34140
2747 * posix/regexec.c (proceed_next_node):
2748 Do not read past end of input buffer.
2749
2bac7daa
FW
27502019-01-31 Florian Weimer <fweimer@redhat.com>
2751
2752 [BZ #24059]
2753 * nss/nss_files/files-alias.c (get_next_alias): Handle
2754 continuation line without newline at the end.
2755 * nss/tst-nss-files-alias-truncated.c: New file.
2756 * nss/Makefile [$(build-shared)] (tests): Add
2757 tst-nss-files-alias-truncated.
2758 (tst-nss-files-alias-truncated): Link with libnss_files.so.
2759 * support/namespace.h (struct support_chroot_configuration): Add
2760 aliases member.
2761 (struct support_chroot): Add path_aliases member.
2762 * support/support_chroot.c (support_chroot_create): Handle
2763 aliases.
2764 (support_chroot_free): Free path_aliases.
2765
330c9d0d
SP
27662019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
2767
de44ab67
SP
2768 * version.h (RELEASE): Set to "development".
2769 (VERSION): Set to "2.29.9000".
2770 * NEWS: Add section for 2.30.
2771
56c86f5d
SP
2772 * version.h (RELEASE): Set to "stable".
2773 (VERSION): Set to "2.29".
2774 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
2775
330c9d0d
SP
2776 * NEWS: Add the list of bugs fixed in 2.29.
2777 * manual/contrib.texi: Update contributors list with some more
2778 names.
2779 * manual/install.texi: Update latest versions of packages
2780 tested.
2781 * INSTALL: Regenerated.
2782
e1e47c91
SP
27832019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
2784
2785 * po/be.po: Update translations.
2786 * po/bg.po: Likewise.
2787 * po/ca.po: Likewise.
2788 * po/cs.po: Likewise.
2789 * po/da.po: Likewise.
2790 * po/de.po: Likewise.
2791 * po/el.po: Likewise.
2792 * po/eo.po: Likewise.
2793 * po/es.po: Likewise.
2794 * po/fi.po: Likewise.
2795 * po/fr.po: Likewise.
2796 * po/gl.po: Likewise.
2797 * po/hr.po: Likewise.
2798 * po/hu.po: Likewise.
2799 * po/ia.po: Likewise.
2800 * po/id.po: Likewise.
2801 * po/it.po: Likewise.
2802 * po/ja.po: Likewise.
2803 * po/ko.po: Likewise.
2804 * po/lt.po: Likewise.
2805 * po/nb.po: Likewise.
2806 * po/nl.po: Likewise.
2807 * po/pl.po: Likewise.
2808 * po/pt_BR.po: Likewise.
2809 * po/ru.po: Likewise.
2810 * po/rw.po: Likewise.
2811 * po/sk.po: Likewise.
2812 * po/sl.po: Likewise.
2813 * po/sv.po: Likewise.
2814 * po/tr.po: Likewise.
2815 * po/uk.po: Likewise.
2816 * po/vi.po: Likewise.
2817 * po/zh_CN.po: Likewise.
2818 * po/zh_TW.po: Likewise.
2819
8d016826
UB
28202019-01-24 Uroš Bizjak <ubizjak@gmail.com>
2821
2822 [BZ #24130]
2823 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
2824 of $f3 register on $y_is_neg path.
2825
a0bb5abd
ST
28262019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
2827
b96e22d0 2828 [BZ #24110]
a0bb5abd
ST
2829 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
2830 sigaltstack.ss_flags.
2831
b22eed37
TS
28322019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
2833
2834 [BZ #23758]
2835 * manual/time.texi (strftime): Document "%Ey".
2836 * time/strftime_l.c (__strftime_internal): Set the default width
2837 padding with zero of "%Ey" to 2.
2838
32f600a2
TS
2839 [BZ #24096]
2840 * manual/time.texi (strftime): Document "%EC" and "%EY".
2841 * time/Makefile (tests): Add tst-strftime2.
2842 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
2843 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
2844 override padding for "%Ey".
2845 If an optional flag ('_' or '-') is specified to "%EY", interpret the
2846 "%Ey" in the subformat as if decorated with that flag.
2847 * time/tst-strftime2.c: New file.
2848
8e889c5d
AZ
28492019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2850
3367acdb
AZ
2851 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
2852 are not defined.
2853
8e889c5d
AZ
2854 [BZ #24122]
2855 * elf/Makefile (tests): Add tst-audit13.
2856 (modules-names): Add tst-audit13mod1.
2857 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
2858 rule.
2859 * elf/rtld.c (dl_main): Handle invalid audit module version.
2860 * elf/tst-audit13.c: New file.
2861 * elf/tst-audit13mod1.c: Likewise.
2862
a95dc01c
ST
28632019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2864
2865 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
2866 returned by __hurd_at_flags.
ee4d7902
ST
2867 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
2868 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
2869 directly instead of __hurd_file_name_lookup.
a95dc01c 2870
712f1167
JM
28712019-01-21 Joseph Myers <joseph@codesourcery.com>
2872
2873 * scripts/build-many-glibcs.py (Context.checkout): Default
2874 binutils version to 2.32 branch.
2875
108bc404
FW
28762019-01-21 Florian Weimer <fweimer@redhat.com>
2877
2878 [BZ #20018]
2879 CVE-2016-10739
2880 resolv: Reject trailing characters in host names
2881 * include/arpa/inet.h (__inet_aton_exact): Declare.
2882 (inet_aton): Remove hidden prototype. No longer used internally.
2883 * nscd/gai.c (__inet_aton): Do not define.
2884 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
2885 * nss/digits_dots.c (__inet_aton): Likewise.
2886 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
2887 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
2888 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
2889 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
2890 (tst-resolv-trailing): Likewise.
2891 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
2892 libc.
2893 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
2894 Make static. Add endp parameter.
2895 (__inet_aton_exact): New function.
2896 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
2897 (__inet_addr): Call inet_aton_end.
2898 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
2899 not just IPv6. Call __inet_aton_exact.
2900 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
2901 (tests): Make const. Add additional test cases with trailing
2902 characters.
2903 (do_test): Use array_length.
2904 * resolv/tst-inet_aton_exact.c: New file.
2905 * resolv/tst-resolv-trailing.c: Likewise.
2906 * resolv/tst-resolv-nondecimal.c: Likewise.
2907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
2908
5165de69
L
29092019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2910
2911 [BZ# 24097]
2912 CVE-2019-6488
2913 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
2914 Clear the upper 32 bits of RSI register.
2915 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
2916 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
2917 and tst-size_t-wcsnlen.
2918 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
2919 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
2920
c7c54f65
L
29212019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2922
2923 [BZ# 24097]
2924 CVE-2019-6488
2925 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
2926 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2927 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2928 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
2929 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
2930
ee915088
L
29312019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2932
2933 [BZ# 24097]
2934 CVE-2019-6488
2935 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
2936 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2937 * sysdeps/x86_64/strcmp.S: Likewise.
2938 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
2939 tst-size_t-strncmp and tst-size_t-wcsncmp.
2940 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
2941 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
2942 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
2943
82d0b4a4
L
29442019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2945
2946 [BZ# 24097]
2947 CVE-2019-6488
2948 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
2949 RDX_LP for length. Clear the upper 32 bits of RDX register.
2950 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
2951 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
2952 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
2953 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
2954
ecd8b842
L
29552019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 [BZ# 24097]
2958 CVE-2019-6488
2959 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
2960 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
2961 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
2962 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
2963
231c5676
L
29642019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2965
2966 [BZ# 24097]
2967 CVE-2019-6488
2968 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
2969 length. Clear the upper 32 bits of RDX register.
2970 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2971 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2972 Likewise.
2973 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2974 Likewise.
2975 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
2976 tst-size_t-wmemchr.
2977 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
2978
b304fc20
L
29792019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2980
2981 [BZ# 24097]
2982 CVE-2019-6488
2983 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
2984 length. Clear the upper 32 bits of RDX register.
2985 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2986 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2987 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
2988 tst-size_t-wmemcmp.
2989 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
2990 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
2991
97700a34
L
29922019-01-21 H.J. Lu <hongjiu.lu@intel.com>
2993
2994 [BZ# 24097]
2995 CVE-2019-6488
2996 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
2997 upper 32 bits of RDX register.
2998 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2999 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3000 tst-size_t-wmemchr.
3001 * sysdeps/x86_64/x32/test-size_t.h: New file.
3002 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3003 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3004
6ca53a24
FW
30052019-01-18 Florian Weimer <fweimer@redhat.com>
3006
3007 [BZ #24112]
3008 resolv: Do not send queries for non-host-names in nss_dns.
3009 * resolv/nss_dns/dns-host.c (check_name): New function.
3010 (_nss_dns_gethostbyname2_r): Use it.
3011 (_nss_dns_gethostbyname_r): Likewise.
3012 (_nss_dns_gethostbyname4_r): Likewise.
3013
5e30b8ef
FW
30142019-01-21 Florian Weimer <fweimer@redhat.com>
3015
3016 * resolv/inet_addr.c: Reformat to GNU style.
3017 (__inet_addr, __inet_aton): Update comment.
3018
71effcea
FW
30192019-01-18 Florian Weimer <fweimer@redhat.com>
3020
3021 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3022 ("malloc: Use current (C11-style) atomics for fastbin access").
3023 This commit introduces a substantial performance regression on
3024 POWER and Aarch64.
3025 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3026 (REMOVE_FB): Define.
3027 (_int_malloc): Use it and reindent.
3028 (_int_free): Use CAS loop with
3029 catomic_compare_and_exchange_val_rel.
3030 (malloc_consolidate): Use atomic_exchange_acq.
3031
3032
562f4362
L
30332019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3034
3035 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3036 -Wl,-z,now.
3037 (LDFLAGS-tst-minsigstksz-2): Likewise.
3038 (LDFLAGS-tst-minsigstksz-3): Likewise.
3039 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3040 (LDFLAGS-tst-minsigstksz-4): Likewise.
3041
80dfa298
TS
30422019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3043
3044 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3045 than "alternate".
3046
008b598e
PC
30472019-01-16 Paul A. Clarke <pc@us.ibm.com>
3048
3049 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3050
fbbc9a4e
ZW
30512019-01-16 Zack Weinberg <zackw@panix.com>
3052
6b5c8607
TS
3053 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3054 (xget_sigstack_location): New test support functions.
3055 * support/xsigstack.c: New file, implementing them.
3056 * support/tst-xsigstack.c: New test for them.
3057 * support/Makefile: Update.
fbbc9a4e 3058
6b5c8607
TS
3059 * signal/tst-minsigstksz-1.c
3060 * signal/tst-minsigstksz-2.c
3061 * signal/tst-minsigstksz-3.c
3062 * signal/tst-minsigstksz-3a.c
3063 * signal/tst-minsigstksz-4.c: New tests.
3064 * signal/Makefile: Run them.
fbbc9a4e 3065
5f1135e4
SP
30662019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3067
3068 * po/libc.pot: Regenerate.
3069
ecdacd34
TMQMF
30702019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3071
3072 * math/libm-test-fma.inc (fma_test_data): Set
3073 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3074
56054664
RA
30752019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3076
3077 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3078 (do_test): Changed __vector __int128_t to __vector unsigned int.
3079
1a153e47
LS
30802019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3081
3082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3083 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3084 stpcpy-avx2 and stpncpy-avx2.
3085 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3086 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3087 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3088 and __stpncpy_avx2.
3089 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3090 ifunc-strcpy.h}: rename header for a more generic name.
3091 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3092 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3093 AVX unaligned load is fast and vzeroupper is preferred.
3094 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3095 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3096 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3097 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3098 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3099 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3100
a1b02ae7
DL
31012019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3102
3103 * argp/argp-help.c: Fix typo in comment.
3104 * misc/sys/cdefs.h: Likewise.
3105 * posix/regexec.c (sift_states_iter_mb): Likewise.
3106 * socket/sockatmark.c: Likewise.
3107 * socket/sys/socket.h: Likewise.
3108 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3109 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3110 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3112 * sysdeps/unix/sockatmark.c: Likewise.
3113 * time/strptime_l.c: Likewise.
3114
5cbbf01e
TS
31152019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3116
3117 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3118 missing space after the cast of "_NL_CURRENT".
3119
0bc9bdf1
RA
31202019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3121
3122 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3123 ifdef to fix read of VSCR.
3124 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3125 tst-ucontext-ppc64-vscr.c to test list.
3126 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3127
5494af04
AH
31282019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3129
3130 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3131 fall-through.
3132
e17f63ff
JW
31332019-01-09 Jim Wilson <jimw@sifive.com>
3134
3135 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3136
02f440c1
WD
31372019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3138
3139 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3140 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3141 __memcpy_falkor for ares.
3142 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3143 Add new define.
3144 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3145 Add ares cpu.
3146
69da3c9e
L
31472019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3148
3149 [BZ #24066]
3150 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3151 4_FP_W_TYPEs are used for IEEE quad precision.
3152 * soft-fp/extendhftf2.c: Likewise.
3153 * soft-fp/extendsftf2.c: Likewise.
3154 * soft-fp/extendxftf2.c: Likewise.
3155 * soft-fp/trunctfdf2.c: Likewise.
3156 * soft-fp/trunctfhf2.c: Likewise.
3157 * soft-fp/trunctfsf2.c: Likewise.
3158 * soft-fp/trunctfxf2.c: Likewise.
3159 * sysdeps/alpha/ots_cvttx.c: Likewise.
3160 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3161 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3162 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3163 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3164 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3165 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3166 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3167 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3168 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3169 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3170 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3171 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3172 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3173 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3174 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3175 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3176 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3177
2ef42716
AJ
31782019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3179
3180 [BZ #24024]
3181 * Makeconfig: Build libm with -fno-math-errno but build the remaining
3182 code with -fmath-errno.
3183 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
3184 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
3185 * string/test-strerror-errno.c: New file.
3186
7395f3a0
AJ
31872019-01-07 Aurelien Jarno <aurelien@aurel32.net>
3188
3189 [BZ #24046]
3190 * localedata/locales/en_US (date_fmt): Add, set to
3191 "%a %d %b %Y %r %Z".
3192
010fe231
FW
31932019-01-07 Florian Weimer <fweimer@redhat.com>
3194
3195 [BZ #24063]
3196 * manual/arith.texi (Math Error Reporting): Use @code{errno}
3197 instead of @var{errno}.
3198 (Parsing of Integers): Likewise.
3199 (Parsing of Floats): Likewise.
3200 * manual/filesys.texi (Working with Directory Trees): Likewise.
3201 (Temporary Files): Likewise.
3202 * manual/job.texi (Terminal Access Functions): Likewise.
3203 * manual/llio.texi (Synchronizing I/O): Likewise.
3204 * manual/math.texi (SVID Random): Likewise.
3205 * manual/message.texi (The catgets Functions): Likewise.
3206 (Translation with gettext): Likewise.
3207 (Locating gettext catalog): Likewise.
3208 (Charset conversion in gettext): Likewise.
3209 * manual/nss.texi (NSS Module Function Internals): Likewise.
3210 * manual/search.texi (Hash Search Function): Likewise.
3211 * manual/setjmp.texi (System V contexts): Likewise.
3212 * manual/time.texi (Sleeping): Likewise.
3213 * manual/users.texi (Lookup User): Likewise.
3214 (Lookup Group): Likewise.
3215
b79dc8d0
AZ
32162019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3217
3218 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
3219 fix typo.
3220
890461fe 32212019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
3222
3223 [BZ #19444]
3224 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
3225 __builtin_unreachable for default case in switch.
3226 (__ieee754_yn): Likewise.
3227 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3228 (__ieee754_ynl): Likewise.
3229 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3230 (__ieee754_ynl): Likewise.
3231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3232 (__ieee754_ynl): Likewise.
3233
8b18d418
SN
32342019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
3235
3236 * manual/maint.texi: Use @{ and @}.
3237
4392898d
FW
32382019-01-04 Florian Weimer <fweimer@redhat.com>
3239
3240 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
3241 function.
3242 (do_in_chroot_1): Call it.
3243 (run_chroot_tests):
3244 Improve error reporting in case it is not possible to create a
3245 collision for the PTY name required by the test.
3246
17cc27d5
AZ
32472019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3248
ce7eb0e9
AZ
3249 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
3250 lll_wait_tid with timeout.
3251 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
3252 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
3253 futex_reltimed_wait_cancelable for cancelabla mode.
3254 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
3255 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
3256 macros.
3257 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
3258 * sysdeps/posix/waitid.c (__sigwait): Likewise.
3259 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
3260 SYSCALL_CANCEL_NCS): New macro.
3261 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
3262 (lll_timedwait_tid): Remove macro.
3263 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
3264 Likewise.
3265 (lll_timedwait_tid): Likewise.
3266 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
3267 Likewise.
3268 (lll_timedwait_tid): Likewise.
3269 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
3270 Likewise.
3271 (lll_timedwait_tid): Likewise.
3272 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
3273 Use INTERNAL_SYSCALL_CANCEL.
3274 * sysdeps/unix/sysv/linux/futex-internal.h
3275 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
3276 instead of __pthread_{enable,disable}_asynccancel.
3277 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3278 (lll_futex_wait_cancel): New macro.
3279
0b13e255
AZ
3280 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3281 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3282
85c828a4
AZ
3283 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
3284 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
3285
d0d7f85f
AZ
3286 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
3287 in backtrace analysis.
3288 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
3289 side-effects.
3290 (tf_send): Likewise.
3291
17cc27d5
AZ
3292 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
3293 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
3294 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
3295 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
3296 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3297 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
3298 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
3299 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
3300 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
3301 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
3302 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
3303 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
3304 Likewise.
3305 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
3306 tst-cancel-wrappers.sh.
3307 (generated): Remove tst-cancel-wrappers.out.
3308 (tst-cancel-wrappers.out): Remove rule.
3309 * nptl/tst-cancel-wrappers.sh: Remove file.
3310
7d7af8f1
SN
33112019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
3312
3313 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
3314 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
3315 Update.
3316
805334b2
AZ
33172019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3318
3319 [BZ #23640]
3320 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
3321 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
3322 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
3323 close-on-exec reset for adddup2 file action.
3324 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
3325
03992356
ZW
33262019-01-03 Zack Weinberg <zackw@panix.com>
3327
3328 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
3329 parameter. Only use deprecated scanf when __USE_GNU is defined
3330 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
3331 than 201103L, whichever is relevant for the language being compiled.
3332
3333 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
3334 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
3335 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
3336 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
3337 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
3338
3339 * libio/iovsscanf.c
3340 * libio/fwscanf.c
3341 * libio/iovswscanf.c
3342 * libio/swscanf.c
3343 * libio/vscanf.c
3344 * libio/vwscanf.c
3345 * libio/wscanf.c
3346 * stdio-common/fscanf.c
3347 * stdio-common/scanf.c
3348 * stdio-common/vfscanf.c
3349 * stdio-common/vfwscanf.c
3350 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3351 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
3352 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
3353 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
3354 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
3355 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
3356 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
3357 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
3358 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
3359 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
3360 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
3361 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
3362 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
3363 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
3364 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
3365
3366 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
3367 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
3368 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
3369 not sscanf.
3370 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
3371 with a preprocessor macro.
3372
3373 * stdio-common/bug21.c, stdio-common/scanf14.c:
3374 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
3375 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3376 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
3377 to xscanf, xfscanf, xsscanf.
3378
3379 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
3380 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
3381 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
3382 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
3383 xfscanf, xsscanf.
3384 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
3385 override feature selection macros or provide definitions of u_char etc.
3386 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
3387 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
3388 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
3389 with -std=gnu89.
3390
8083afa5
AZ
33912019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3392
6f343c1f
AZ
3393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3394 bits/termios-misc.h.
3395 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
3396 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3397 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3398 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3399 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
3400 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
3401
51f4beb0
AZ
3402 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
3403 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3404 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
3405 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
3406 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
3407 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
3408 termios-misc.h.
3409 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
3410 (sysdep_headers): Add termios-misc.h.
3411
f69c5cb2
AZ
3412 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
3413 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3414 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3415
3aa4a07e
AZ
3416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3417 termios-tcflow.h.
3418 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
3419 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
3420 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
3421 TCSAFLUSH): Move to termios-tcflow.h.
3422 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3423 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3424 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3425 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3426
22679ddf
AZ
3427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3428 termios-c_lflag.h.
3429 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
3430 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
3431 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
3432 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
3433 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
3434 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
3435 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
3436 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
3437 Likewise.
3438 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3439 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3440 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3441 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3442
72eb6ecc
AZ
3443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3444 termios-c_cflag.h.
3445 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
3446 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
3447 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
3448 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
3449 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
3450 termios-c_cflag.h.
3451 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3452 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3453 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3454 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3455
9c5d0d02
AZ
3456 [BZ #23783]
3457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3458 termios-baud.h.
3459 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
3460 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
3461 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
3462 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
3463 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
3464 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
3465 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
3466 __MAX_BAUD): Move to termios-baud.h.
3467 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
3468 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3469 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3470 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3471 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3472
7b832018
AZ
3473 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3474 termios-c_oflag.h.
3475 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
3476 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
3477 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
3478 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
3479 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
3480 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
3481 termios-c_oflag.h.
3482 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
3483 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
3484 FFR1): Likewise.
3485 [USE_MISC] (XTABS): Likewise.
3486 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3487 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3488 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3489 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
3490
3127003e
AZ
3491 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3492 termios-c_iflag.h.
3493 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
3494 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
3495 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
3496 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
3497 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
3498 IUTF8): Move to termios-c_iflag.h.
3499 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3500 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3501 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3502 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3503
48c1dd96
AZ
3504 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
3505 termios-cc.h.
3506 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
3507 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
3508 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
3509 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
3510 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
3511 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
3512 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
3513 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
3514 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3515 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3516 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3517 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3518
e5a50db3
AZ
3519 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
3520 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
3521 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
3522 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
3523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3524 termios-struct.h.
3525 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
3526 termios-struct.h.
3527 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
3528 Likewise.
3529 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
3530 Likewise.
3531 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
3532 Likewise.
3533 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
3534 Likewise.
3535 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
3536 _HAVE_C_OSPEED): Define.
3537 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
3538 _HAVE_C_OSPEED): Likewise.
3539 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
3540 _HAVE_C_OSPEED): Likewise.
3541 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
3542 (cfsetospeed): Check for define value instead of existence.
3543 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
3544 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3545 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
3546 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
3547 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
3548
8083afa5
AZ
3549 [BZ #17783]
3550 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
3551 Define.
3552 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
3553 (TIOCSER_TEMT): Likewise.
3554 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
3555 (TEOCSER_TEMT): Likewise.
3556
4d7d7dc6
P
35572019-01-02 PanderMusubi <pander@users.sourceforge.net>
3558
3559 [BZ #24011]
3560 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
3561
8e291a29
JM
35622019-01-02 Joseph Myers <joseph@codesourcery.com>
3563
3564 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
3565
55137f7d
ST
35662019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3567
3568 * sysdeps/htl/pt-barrierattr-setpshared.c
3569 (pthread_barrierattr_setpshared): Add stub warning.
3570 * sysdeps/htl/pt-condattr-setpshared.c
3571 (pthread_condattr_setpshared): Likewise.
3572 * sysdeps/htl/pt-mutexattr-setpshared.c
3573 (pthread_mutexattr_setpshared): Likewise.
3574 * sysdeps/htl/pt-rwlockattr-setpshared.c
3575 (pthread_rwlockattr_setpshared): Likewise.
3576 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
3577 (pthread_mutexattr_setpshared): Likewise.
3578
2ce09e01
JM
35792019-01-02 Joseph Myers <joseph@codesourcery.com>
3580
acb55dcb
JM
3581 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
3582 constants to match with Linux 4.20.
3583
2ce09e01
JM
3584 * sysdeps/mips/mips32/libm-test-ulps: Update.
3585 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3586
fe20bb1d
AJ
35872019-01-02 Aurelien Jarno <aurelien@aurel32.net>
3588
3589 [BZ #24034]
3590 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
3591 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
3592 than __typeof (...) for the a_ptr variable.
3593
2d9837c1
GG
35942019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3595
3596 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
3597 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
3598 * libio/Makefile (tests): Add tst-sprintf-ub and
3599 tst-sprintf-chk-ub.
3600 (CFLAGS-tst-sprintf-ub.c): New variable.
3601 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
3602 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
3603 destination buffer and check for overflows in fortified mode.
3604 * libio/libioP.h (PRINTF_CHK): New macro.
3605 * libio/tst-sprintf-chk-ub.c: New file.
3606 * libio/tst-sprintf-ub.c: Likewise.
3607
d5c6df0b 36082019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
3609
3610 [BZ #24018]
3611 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
3612 failure.
3613
66081e38
FW
36142019-01-02 Florian Weimer <fweimer@redhat.com>
3615
3616 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
3617
04277e02
JM
36182019-01-01 Joseph Myers <joseph@codesourcery.com>
3619
6ef3d225
JM
3620 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
3621 macro.
3622
e3d4e292
JM
3623 * sysdeps/unix/sysv/linux/netpacket/packet.h
3624 (PACKET_IGNORE_OUTGOING): New macro.
3625
f4507797
JM
3626 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
3627 macro.
3628
47ad5e1a
JM
3629 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3630 version to 4.20.
3631 (riscv_flush_icache): New syscall.
3632
7628a1b0
JM
3633 * manual/texinfo.tex: Update to version 2018-12-28.17 with
3634 trailing whitespace removed.
3635 * scripts/config.guess: Update to version 2019-01-01.
3636 * scripts/config.sub: Update to version 2019-01-01.
3637 * scripts/move-if-change: Update from gnulib.
3638
c9123888
JM
3639 * NEWS: Update copyright dates.
3640 * catgets/gencat.c (print_version): Likewise.
3641 * csu/version.c (banner): Likewise.
3642 * debug/catchsegv.sh: Likewise.
3643 * debug/pcprofiledump.c (print_version): Likewise.
3644 * debug/xtrace.sh (do_version): Likewise.
3645 * elf/ldconfig.c (print_version): Likewise.
3646 * elf/ldd.bash.in: Likewise.
3647 * elf/pldd.c (print_version): Likewise.
3648 * elf/sotruss.sh: Likewise.
3649 * elf/sprof.c (print_version): Likewise.
3650 * iconv/iconv_prog.c (print_version): Likewise.
3651 * iconv/iconvconfig.c (print_version): Likewise.
3652 * locale/programs/locale.c (print_version): Likewise.
3653 * locale/programs/localedef.c (print_version): Likewise.
3654 * login/programs/pt_chown.c (print_version): Likewise.
3655 * malloc/memusage.sh (do_version): Likewise.
3656 * malloc/memusagestat.c (print_version): Likewise.
3657 * malloc/mtrace.pl: Likewise.
3658 * manual/libc.texinfo: Likewise.
3659 * nptl/version.c (banner): Likewise.
3660 * nscd/nscd.c (print_version): Likewise.
3661 * nss/getent.c (print_version): Likewise.
3662 * nss/makedb.c (print_version): Likewise.
3663 * posix/getconf.c (main): Likewise.
3664 * scripts/test-installation.pl: Likewise.
3665 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3666
04277e02
JM
3667 * All files with FSF copyright notices: Update copyright dates
3668 using scripts/update-copyrights.
3669 * locale/programs/charmap-kw.h: Regenerated.
3670 * locale/programs/locfile-kw.h: Likewise.
3671
e740e5b1
JM
36722018-12-31 Joseph Myers <joseph@codesourcery.com>
3673
3674 * timezone/zdump.c: Update from tzcode 2018i.
3675 * timezone/zic.c: Likewise.
3676
9b7f98b3
PE
36772018-12-31 Paul Eggert <eggert@cs.ucla.edu>
3678
3679 regex: improve Gnulib port to AIX
3680 From the glibc point of view, this removes duplicate macro
3681 definitions and is obviously safe.
3682 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
3683 * posix/regex_internal.h:
3684 (__attribute__, __attribute_warn_unused_result__):
3685 Remove; already defined elsewhere.
3686
b50dd3bc
FW
36872018-12-31 Florian Weimer <fw@deneb.enyo.de>
3688
3689 [BZ #24027]
3690 * malloc/malloc.c (_int_realloc): Always call memcpy for the
3691 copying operation. (ncopies had the wrong type, resulting in an
3692 integer wraparound and too few elements being copied.)
3693
0b9c8490
L
36942018-12-31 H.J. Lu <hongjiu.lu@intel.com>
3695
3696 [BZ #24022]
3697 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
3698 <asm/syscalls.h> exists with __has_include__ before including it.
3699
01047fa6
JM
37002018-12-31 Joseph Myers <joseph@codesourcery.com>
3701
3702 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3703 version to 4.20.
3704
6b5c8607 37052018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
3706
3707 * hurd/lookup-retry: Include <unistd.h>.
3708 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
3709 Release it on return. Handle "pid" magical lookup retry.
3710
989182c4
RL
37112018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3712
3713 [BZ #10496]
3714 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
3715 (t_fmt_ampm): Likewise.
3716 * localedata/locales/aa_ER (t_fmt): Likewise.
3717 (t_fmt_ampm): Likewise.
3718 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
3719 (t_fmt_ampm): Likewise.
3720 * localedata/locales/aa_ET (t_fmt): Likewise.
3721 (t_fmt_ampm): Likewise.
3722 * localedata/locales/am_ET (t_fmt): Likewise.
3723 (t_fmt_ampm): Likewise.
3724 * localedata/locales/byn_ER (t_fmt): Likewise.
3725 (t_fmt_ampm): Likewise.
3726 * localedata/locales/om_ET (t_fmt): Likewise.
3727 (t_fmt_ampm): Likewise.
3728 * localedata/locales/sid_ET (t_fmt): Likewise.
3729 (t_fmt_ampm): Likewise.
3730 * localedata/locales/so_DJ (t_fmt): Likewise.
3731 (t_fmt_ampm): Likewise.
3732 * localedata/locales/so_ET (t_fmt): Likewise.
3733 (t_fmt_ampm): Likewise.
3734 * localedata/locales/so_SO (t_fmt): Likewise.
3735 (t_fmt_ampm): Likewise.
3736 * localedata/locales/ti_ER (t_fmt): Likewise.
3737 (t_fmt_ampm): Likewise.
3738 * localedata/locales/ti_ET (t_fmt): Likewise.
3739 (t_fmt_ampm): Likewise.
3740 * localedata/locales/tig_ER (t_fmt): Likewise.
3741 (t_fmt_ampm): Likewise.
3742 * localedata/locales/wal_ET (t_fmt): Likewise.
3743 (t_fmt_ampm): Likewise.
3744
3745 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
3746 * localedata/locales/ar_IN (t_fmt): Likewise.
3747 * localedata/locales/bhb_IN (t_fmt): Likewise.
3748 * localedata/locales/bho_IN (t_fmt): Likewise.
3749 * localedata/locales/bi_VU (t_fmt): Likewise.
3750 * localedata/locales/bn_BD (t_fmt): Likewise.
3751 * localedata/locales/bn_IN (t_fmt): Likewise.
3752 * localedata/locales/brx_IN (t_fmt): Likewise.
3753 * localedata/locales/doi_IN (t_fmt): Likewise.
3754 * localedata/locales/en_HK (t_fmt): Likewise.
3755 (t_fmt_ampm): Likewise.
3756 * localedata/locales/en_IN (t_fmt): Likewise.
3757 * localedata/locales/en_PH (t_fmt): Likewise.
3758 * localedata/locales/gu_IN (t_fmt): Likewise.
3759 * localedata/locales/hi_IN (t_fmt): Likewise.
3760 * localedata/locales/hif_FJ (t_fmt): Likewise.
3761 * localedata/locales/hne_IN (t_fmt): Likewise.
3762 * localedata/locales/kn_IN (t_fmt): Likewise.
3763 * localedata/locales/kok_IN (t_fmt): Likewise.
3764 * localedata/locales/ks_IN (t_fmt): Likewise.
3765 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
3766 * localedata/locales/mag_IN (t_fmt): Likewise.
3767 * localedata/locales/mai_IN (t_fmt): Likewise.
3768 * localedata/locales/mjw_IN (t_fmt): Likewise.
3769 * localedata/locales/ml_IN (t_fmt): Likewise.
3770 * localedata/locales/mni_IN (t_fmt): Likewise.
3771 * localedata/locales/mr_IN (t_fmt): Likewise.
3772 * localedata/locales/ms_MY (t_fmt): Likewise.
3773 * localedata/locales/pa_IN (t_fmt): Likewise.
3774 * localedata/locales/raj_IN (t_fmt): Likewise.
3775 * localedata/locales/sa_IN (t_fmt): Likewise.
3776 * localedata/locales/sat_IN (t_fmt): Likewise.
3777 * localedata/locales/sd_IN (t_fmt): Likewise.
3778 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
3779 * localedata/locales/tcy_IN (t_fmt): Likewise.
3780 * localedata/locales/the_NP (t_fmt): Likewise.
3781 * localedata/locales/to_TO (t_fmt): Likewise.
3782 * localedata/locales/ur_IN (t_fmt): Likewise.
3783
3784 * localedata/locales/hif_FJ (d_t_fmt): Set to
3785 "%A %d %b %Y %I:%M:%S %p".
3786 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
3787
3788 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
3789 * localedata/locales/ar_BH (t_fmt): Likewise.
3790 * localedata/locales/ar_DZ (t_fmt): Likewise.
3791 * localedata/locales/ar_EG (t_fmt): Likewise.
3792 * localedata/locales/ar_IQ (t_fmt): Likewise.
3793 * localedata/locales/ar_JO (t_fmt): Likewise.
3794 * localedata/locales/ar_KW (t_fmt): Likewise.
3795 * localedata/locales/ar_LB (t_fmt): Likewise.
3796 * localedata/locales/ar_LY (t_fmt): Likewise.
3797 * localedata/locales/ar_OM (t_fmt): Likewise.
3798 * localedata/locales/ar_QA (t_fmt): Likewise.
3799 * localedata/locales/ar_SD (t_fmt): Likewise.
3800 * localedata/locales/ar_SS (t_fmt): Likewise.
3801 * localedata/locales/ar_SY (t_fmt): Likewise.
3802 * localedata/locales/ar_TN (t_fmt): Likewise.
3803 * localedata/locales/ar_YE (t_fmt): Likewise.
3804
3805 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
3806 (t_fmt_ampm): Likewise.
3807 * localedata/locales/gez_ET (t_fmt): Likewise.
3808 (t_fmt_ampm): Likewise.
3809
3810 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
3811 (t_fmt_ampm): Likewise.
3812 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
3813
3814 * localedata/locales/zh_HK (t_fmt):
3815 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
3816
3817 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
3818 because this locale does not use the 12-hour clock.
3819 (t_fmt): Set to "%Z %H:%M:%S".
3820 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
3821
3822 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
3823 because this locale does not use the 12-hour clock.
3824 (t_fmt): Set to "%H:%M:%S %Z".
3825 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
3826
3827 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
3828 because this locale does not use the 12-hour clock.
3829 (t_fmt): Set to "%T".
3830 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
3831 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
3832
3833 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
3834 because this locale does not use the 12-hour clock.
3835 (t_fmt): Set to "%H:%M:%S %Z".
3836 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
3837
3838 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
3839 because this locale does not use the 12-hour clock.
3840 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
3841 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
3842
27841a7d
RL
38432018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
3844
3845 [BZ #10496]
3846 [BZ #23724]
3847 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
3848 (t_fmt_ampm): Likewise.
3849 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
3850 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
3851 (d_fmt): Set to "%-d.%-m.%y".
3852
0253580a
AZ
38532018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3854
3855 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
3856 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
3857 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
3858 Likewise.
3859 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
3860 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
3861 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
3862 function.
3863 * support/blob_repeat.c (check_mul_overflow_size_t,
3864 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
3865
09104e5b
AJ
38662018-12-28 Aurelien Jarno <aurelien@aurel32.net>
3867
3868 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
3869
c0feb731
PE
38702018-12-27 Paul Eggert <eggert@cs.ucla.edu>
3871
3872 regex: simplify Gnulib port
3873 This simplifies the code, by removing stuff intended for porting
3874 to Gnulib but no longer needed there.
3875 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
3876 uses of libc_hidden_def, weak_alias.
3877 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
3878 _Restrict_ except for public-facing headers.
3879 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
3880 Remove; already defined elsewhere.
3881 * posix/regex.c, posix/regex_internal.h:
3882 Use __GNUC_PREREQ instead of rolling our own.
3883 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
3884
5289f1f5
WD
38852018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
3886
3887 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 3888 (memchr_strlen): New function.
5289f1f5 3889
ba4b8fab
L
38902018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3891
3892 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
3893 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
3894 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
3895
9412979a
L
38962018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3897
3898 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3899
8700a785
L
39002018-12-26 H.J. Lu <hongjiu.lu@intel.com>
3901
3902 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
3903 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
3904 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
3905 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
3906 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
3907 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
3908 <sysdeps/ieee754/flt-32/s_sincosf.c>.
3909
57b3ff8e
JM
39102018-12-21 Joseph Myers <joseph@codesourcery.com>
3911
3912 [BZ #24023]
3913 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
3914 PLT reference in libc.so.
3915 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
3916 _Q_lltoq and _Q_qtod PLT references in libc.so.
3917
90d3320d
WD
39182018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
3919
3920 * benchtests/bench-memchr.c: Cleanup defines.
3921 * benchtests/bench-memcmp.c: Likewise.
3922 * benchtests/bench-memset.c: Likewise.
3923 * benchtests/bench-memset-large.c: Likewise.
3924 * benchtests/bench-memset-walk.c: Likewise.
3925 * benchtests/bench-stpcpy.c: Likewise.
3926 * benchtests/bench-stpncpy.c: Likewise.
3927 * benchtests/bench-strcat.c: Likewise.
3928 * benchtests/bench-strchr.c: Likewise.
3929 * benchtests/bench-strcmp.c: Likewise.
3930 * benchtests/bench-strcpy.c: Likewise.
3931 * benchtests/bench-strcspn.c: Likewise.
3932 * benchtests/bench-string.h: Likewise.
3933 * benchtests/bench-strlen.c: Likewise.
3934 * benchtests/bench-strncat.c: Likewise.
3935 * benchtests/bench-strncmp.c: Likewise.
3936 * benchtests/bench-strncpy.c: Likewise.
3937 * benchtests/bench-strnlen.c: Likewise.
3938 * benchtests/bench-strpbrk.c: Likewise.
3939 * benchtests/bench-strrchr.c: Likewise.
3940 * benchtests/bench-strspn.c: Likewise.
3941
192963be
JM
39422018-12-21 Joseph Myers <joseph@codesourcery.com>
3943
5d025ea6
JM
3944 * stdlib/longlong.h: Update from GCC.
3945
192963be
JM
3946 [BZ #23993]
3947 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
3948 * configure: Regenerated.
3949 * manual/install.texi (Tools for Compilation): Update minimum GCC
3950 version.
3951 * INSTALL: Regenerated.
3952
6b5c8607 39532018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
3954
3955 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
3956
6b5c8607 39572018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
3958
3959 * malloc/malloc.c (mremap_chunk): Additional checks.
3960
5f72b005
MH
39612018-12-21 Mao Han <han_mao@c-sky.com>
3962
3963 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
3964 * scripts/build-many-glibcs.py: Add C-SKY targets.
3965 * sysdeps/csky/Implies: New file.
3966 * sysdeps/csky/Makefile: Likewise.
3967 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
3968 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
3969 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
3970 * sysdeps/csky/abiv2/memcmp.S: Likewise.
3971 * sysdeps/csky/abiv2/memcpy.S: Likewise.
3972 * sysdeps/csky/abiv2/memmove.S: Likewise.
3973 * sysdeps/csky/abiv2/memset.S: Likewise.
3974 * sysdeps/csky/abiv2/setjmp.S: Likewise.
3975 * sysdeps/csky/abiv2/start.S: Likewise.
3976 * sysdeps/csky/abiv2/strcmp.S: Likewise.
3977 * sysdeps/csky/abiv2/strcpy.S: Likewise.
3978 * sysdeps/csky/abiv2/strlen.S: Likewise.
3979 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
3980 * sysdeps/csky/abort-instr.h: Likewise.
3981 * sysdeps/csky/atomic-machine.h: Likewise.
3982 * sysdeps/csky/bits/endian.h: Likewise.
3983 * sysdeps/csky/bits/fenv.h: Likewise.
3984 * sysdeps/csky/bits/link.h: Likewise.
3985 * sysdeps/csky/bits/setjmp.h: Likewise.
3986 * sysdeps/csky/bsd-_setjmp.S: Likewise.
3987 * sysdeps/csky/bsd-setjmp.S: Likewise.
3988 * sysdeps/csky/configure: Likewise.
3989 * sysdeps/csky/configure.ac: Likewise.
3990 * sysdeps/csky/dl-machine.h: Likewise.
3991 * sysdeps/csky/dl-procinfo.c: Likewise.
3992 * sysdeps/csky/dl-procinfo.h: Likewise.
3993 * sysdeps/csky/dl-sysdep.h: Likewise.
3994 * sysdeps/csky/dl-tls.h: Likewise.
3995 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
3996 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
3997 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
3998 * sysdeps/csky/fpu/fegetenv.c: Likewise.
3999 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4000 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4001 * sysdeps/csky/fpu/fegetround.c: Likewise.
4002 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4003 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4004 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4005 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4006 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4007 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4008 * sysdeps/csky/fpu/fesetround.c: Likewise.
4009 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4010 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4011 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4012 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4013 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4014 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4015 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4016 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4017 * sysdeps/csky/fpu_control.h: Likewise.
4018 * sysdeps/csky/gccframe.h: Likewise.
4019 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4020 * sysdeps/csky/ldsodefs.h: Likewise.
4021 * sysdeps/csky/libc-tls.c: Likewise.
4022 * sysdeps/csky/linkmap.h: Likewise.
4023 * sysdeps/csky/machine-gmon.h: Likewise.
4024 * sysdeps/csky/memusage.h: Likewise.
4025 * sysdeps/csky/nofpu/Implies: Likewise.
4026 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4027 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4028 * sysdeps/csky/nptl/Makefile: Likewise.
4029 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4030 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4031 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4032 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4033 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4034 * sysdeps/csky/nptl/tls.h: Likewise.
4035 * sysdeps/csky/preconfigure: Likewise.
4036 * sysdeps/csky/sfp-machine.h: Likewise.
4037 * sysdeps/csky/sotruss-lib.c: Likewise.
4038 * sysdeps/csky/stackinfo.h: Likewise.
4039 * sysdeps/csky/sysdep.h: Likewise.
4040 * sysdeps/csky/tininess.h: Likewise.
4041 * sysdeps/csky/tst-audit.h: Likewise.
4042 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4043 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4044 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4045 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4046 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4047 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4048 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4049 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4050 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4051 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4052 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4053 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4054 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4055 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4056 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4057 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4058 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4059 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4060 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4061 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4062 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4063 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4064 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4065 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4066 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4067 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4068 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4069 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4070 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4071 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4072 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4073 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4074 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4075 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4076 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4077 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4078 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4079 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4080 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4081 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4082 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4083 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4084 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4085 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4086
6b5c8607 40872018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
4088
4089 * include/time.h (__difftime64): Add.
4090 * time/difftime.c (subtract): convert to 64-bit time.
4091 * time/difftime.c (__difftime64): Add.
4092 * time/difftime.c (__difftime): Wrap around __difftime64.
4093
ab416931
L
40942018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4095
4096 * manual/examples/add.c: Remove redundant "if not".
4097 * manual/examples/argp-ex1.c: Likewise.
4098 * manual/examples/argp-ex2.c: Likewise.
4099 * manual/examples/argp-ex3.c: Likewise.
4100 * manual/examples/argp-ex4.c: Likewise.
4101 * manual/examples/atexit.c: Likewise.
4102 * manual/examples/db.c: Likewise.
4103 * manual/examples/dir.c: Likewise.
4104 * manual/examples/dir2.c: Likewise.
4105 * manual/examples/execinfo.c: Likewise.
4106 * manual/examples/filecli.c: Likewise.
4107 * manual/examples/filesrv.c: Likewise.
4108 * manual/examples/fmtmsgexpl.c: Likewise.
4109 * manual/examples/genpass.c: Likewise.
4110 * manual/examples/inetcli.c: Likewise.
4111 * manual/examples/inetsrv.c: Likewise.
4112 * manual/examples/isockad.c: Likewise.
4113 * manual/examples/longopt.c: Likewise.
4114 * manual/examples/memopen.c: Likewise.
4115 * manual/examples/memstrm.c: Likewise.
4116 * manual/examples/mkdirent.c: Likewise.
4117 * manual/examples/mkfsock.c: Likewise.
4118 * manual/examples/mkisock.c: Likewise.
4119 * manual/examples/mygetpass.c: Likewise.
4120 * manual/examples/pipe.c: Likewise.
4121 * manual/examples/popen.c: Likewise.
4122 * manual/examples/rprintf.c: Likewise.
4123 * manual/examples/search.c: Likewise.
4124 * manual/examples/select.c: Likewise.
4125 * manual/examples/setjmp.c: Likewise.
4126 * manual/examples/sigh1.c: Likewise.
4127 * manual/examples/sigusr.c: Likewise.
4128 * manual/examples/stpcpy.c: Likewise.
4129 * manual/examples/strdupa.c: Likewise.
4130 * manual/examples/strftim.c: Likewise.
4131 * manual/examples/subopt.c: Likewise.
4132 * manual/examples/swapcontext.c: Likewise.
4133 * manual/examples/termios.c: Likewise.
4134 * manual/examples/testopt.c: Likewise.
4135 * manual/examples/testpass.c: Likewise.
4136 * manual/examples/timeval_subtract.c: Likewise.
4137
515f463f
JM
41382018-12-19 Joseph Myers <joseph@codesourcery.com>
4139
da75c1b1
JM
4140 * sysdeps/x86/fpu/math_private.h: New file.
4141 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4142
515f463f
JM
4143 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4144 definition.
4145 (cosh): Likewise.
4146 (tanh): Likewise.
4147
1616d034
TMQMF
41482018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4149
4150 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4151 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4152 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4153 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4154 fields.
4155 (_dl_show_auxv): Give a special treatment to
4156 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4157 and AT_L3_CACHEGEOMETRY.
4158 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4159 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4160 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4161 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4162
61595e3d
AS
41632018-12-19 Andreas Schwab <schwab@suse.de>
4164
4165 * nscd/connections.c (check_use): Don't abort on invalid len.
4166
bbb7dc84
ST
41672018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4168
4169 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4170 values in the 64bit value cases.
4171
6b5c8607 41722018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 4173
c4c2836a
AA
4174 * include/time.h
4175 (__ctime64_r): Add.
4176 * time/ctime_r.c
4177 (__ctime64_r): Add.
4178 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
4179
7755e504
AA
4180 * include/time.h
4181 (__ctime64): Add.
4182 * time/gmtime.c
4183 (__ctime64): Add.
4184 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
4185
a1d346ce
AA
4186 * include/time.h
4187 (__gmtime64_r): Add.
4188 * time/gmtime.c
4189 (__gmtime64_r): Add.
4190 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4191
131db8b0
AA
4192 * include/time.h
4193 (__gmtime64): Add.
4194 * time/gmtime.c
4195 (__gmtime64): Add.
4196 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
4197
64c2277d
AA
4198 * include/time.h
4199 (__localtime64_r): Add.
4200 * time/localtime.c
4201 (__localtime64_r): Add.
4202 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
4203
56b98bf1
AZ
42042018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4205
64dd7a16
AZ
4206 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
4207 kernel_sigction definition.
4208
8b1d5da5
AZ
4209 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
4210
f9eabb19
AZ
4211 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
4212
56b98bf1
AZ
4213 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
4214 __syscall_rt_sigaction.
4215 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
4216 (kernel_sigaction): Use Linux generic defintion.
4217 (STUB): Define.
4218 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
4219 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
4220 (__syscall_rt_sigaction): Remove implementation.
4221 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
4222 hidden.
4223 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
4224 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
4225 INTERNAL_SYSCALL): Remove definitions.
4226 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
4227 action and signal set size.
4228 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
4229 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
4230
43a45c2d
AZ
42312018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4232 James Clarke <jrtc27@jrtc27.com>
4233
dfa6216f 4234 [BZ #23967]
43a45c2d
AZ
4235 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
4236 Define if SA_RESTORER is defined.
4237 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
4238 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
4239 already defined.
4240 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
4241 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
4242 definitions.
4243 (HAS_SA_RESTORER): Define.
4244 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
4245 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
4246 (HAS_SA_RESTORER): Define.
4247 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
4248 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
4249 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
4250 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
4251 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4252
646ce7e0
JM
42532018-12-18 Joseph Myers <joseph@codesourcery.com>
4254
4255 * sysdeps/unix/sysv/linux/kernel-features.h
4256 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
4257 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4258 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
4259 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4260 (__ASSUME_ST_INO_64_BIT): Likewise.
4261 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4262 <kernel-features.h>.
4263 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4264 Remove conditional code.
4265 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4266 <kernel-features.h>.
4267 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4268 Remove conditional code.
4269 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
4270 <kernel-features.h>.
4271 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
4272 Remove conditional code.
4273 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
4274 <kernel-features.h>.
4275 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
4276 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
4277
80190d2b
SL
42782018-12-18 Stefan Liebler <stli@linux.ibm.com>
4279
4280 * sysdeps/s390/multiarch/ifunc-resolve.h
4281 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
4282 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
4283 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
4284 Delete macro definition.
4285 (s390_libc_ifunc_init): Rename to
4286 s390_libc_ifunc_expr_stfle_init.
4287 * sysdeps/s390/bzero: Use
4288 s390_libc_ifunc_expr_stfle_init instead of
4289 s390_libc_ifunc_init.
4290 * sysdeps/s390/memcmp.c: Likewise.
4291 * sysdeps/s390/memcpy.c: Likewise.
4292 * sysdeps/s390/mempcpy.c: Likewise.
4293 * sysdeps/s390/memset.c: Likewise.
4294
12f0dcb8
SL
42952018-12-18 Stefan Liebler <stli@linux.ibm.com>
4296
4297 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
4298 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
4299
25654a8c
SL
43002018-12-18 Stefan Liebler <stli@linux.ibm.com>
4301
4302 * sysdeps/s390/multiarch/Makefile
4303 (sysdep_routines): Remove wmemcmp variants.
4304 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
4305 * sysdeps/s390/multiarch/ifunc-impl-list.c
4306 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
4307 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
4308 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
4309 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
4310 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
4311 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
4312 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
4313 * sysdeps/s390/ifunc-wmemcmp.h: New file.
4314
d2a7436c
SL
43152018-12-18 Stefan Liebler <stli@linux.ibm.com>
4316
4317 * sysdeps/s390/multiarch/Makefile
4318 (sysdep_routines): Remove wmemset variants.
4319 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
4320 * sysdeps/s390/multiarch/ifunc-impl-list.c
4321 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
4322 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
4323 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
4324 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
4325 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
4326 * sysdeps/s390/multiarch/wmemset.c: Move to ...
4327 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
4328 * sysdeps/s390/ifunc-wmemset.h: New file.
4329
c62534ae
SL
43302018-12-18 Stefan Liebler <stli@linux.ibm.com>
4331
4332 * sysdeps/s390/multiarch/Makefile
4333 (sysdep_routines): Remove wmemchr variants.
4334 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
4335 * sysdeps/s390/multiarch/ifunc-impl-list.c
4336 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
4337 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
4338 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
4339 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
4340 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
4341 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
4342 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
4343 * sysdeps/s390/ifunc-wmemchr.h: New file.
4344
79b44cf6
SL
43452018-12-18 Stefan Liebler <stli@linux.ibm.com>
4346
4347 * sysdeps/s390/multiarch/Makefile
4348 (sysdep_routines): Remove wcscspn variants.
4349 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
4350 * sysdeps/s390/multiarch/ifunc-impl-list.c
4351 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
4352 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
4353 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
4354 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
4355 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
4356 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
4357 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
4358 * sysdeps/s390/ifunc-wcscspn.h: New file.
4359
8e87c1f6
SL
43602018-12-18 Stefan Liebler <stli@linux.ibm.com>
4361
4362 * sysdeps/s390/multiarch/Makefile
4363 (sysdep_routines): Remove wcspbrk variants.
4364 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
4365 * sysdeps/s390/multiarch/ifunc-impl-list.c
4366 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
4367 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
4368 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
4369 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
4370 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
4371 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
4372 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
4373 * sysdeps/s390/ifunc-wcspbrk.h: New file.
4374
8507e831
SL
43752018-12-18 Stefan Liebler <stli@linux.ibm.com>
4376
4377 * sysdeps/s390/multiarch/Makefile
4378 (sysdep_routines): Remove wcsspn variants.
4379 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
4380 * sysdeps/s390/multiarch/ifunc-impl-list.c
4381 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
4382 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
4383 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
4384 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
4385 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
4386 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
4387 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
4388 * sysdeps/s390/ifunc-wcsspn.h: New file.
4389
4753713a
SL
43902018-12-18 Stefan Liebler <stli@linux.ibm.com>
4391
4392 * sysdeps/s390/multiarch/Makefile
4393 (sysdep_routines): Remove wcsrchr variants.
4394 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
4395 * sysdeps/s390/multiarch/ifunc-impl-list.c
4396 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
4397 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
4398 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
4399 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
4400 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
4401 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
4402 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
4403 * sysdeps/s390/ifunc-wcsrchr.h: New file.
4404
c09c1b6f
SL
44052018-12-18 Stefan Liebler <stli@linux.ibm.com>
4406
4407 * sysdeps/s390/multiarch/Makefile
4408 (sysdep_routines): Remove wcschrnul variants.
4409 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
4410 * sysdeps/s390/multiarch/ifunc-impl-list.c
4411 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
4412 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
4413 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
4414 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
4415 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
4416 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
4417 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
4418 * sysdeps/s390/ifunc-wcschrnul.h: New file.
4419
cf3ccc31
SL
44202018-12-18 Stefan Liebler <stli@linux.ibm.com>
4421
4422 * sysdeps/s390/multiarch/Makefile
4423 (sysdep_routines): Remove wcschr variants.
4424 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
4425 * sysdeps/s390/multiarch/ifunc-impl-list.c
4426 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
4427 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
4428 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
4429 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
4430 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
4431 * sysdeps/s390/multiarch/wcschr.c: Move to ...
4432 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
4433 * sysdeps/s390/ifunc-wcschr.h: New file.
4434
e9873e1d
SL
44352018-12-18 Stefan Liebler <stli@linux.ibm.com>
4436
4437 * sysdeps/s390/multiarch/Makefile
4438 (sysdep_routines): Remove wcsncmp variants.
4439 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
4440 * sysdeps/s390/multiarch/ifunc-impl-list.c
4441 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
4442 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
4443 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
4444 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
4445 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
4446 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
4447 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
4448 * sysdeps/s390/ifunc-wcsncmp.h: New file.
4449
3459e23d
SL
44502018-12-18 Stefan Liebler <stli@linux.ibm.com>
4451
4452 * sysdeps/s390/multiarch/Makefile
4453 (sysdep_routines): Remove wcscmp variants.
4454 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
4455 * sysdeps/s390/multiarch/ifunc-impl-list.c
4456 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
4457 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
4458 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
4459 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
4460 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
4461 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
4462 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
4463 * sysdeps/s390/ifunc-wcscmp.h: New file.
4464
814a76e1
SL
44652018-12-18 Stefan Liebler <stli@linux.ibm.com>
4466
4467 * sysdeps/s390/multiarch/Makefile
4468 (sysdep_routines): Remove wcsncat variants.
4469 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
4470 * sysdeps/s390/multiarch/ifunc-impl-list.c
4471 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
4472 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
4473 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
4474 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
4475 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
4476 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
4477 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
4478 * sysdeps/s390/ifunc-wcsncat.h: New file.
4479
3389cae4
SL
44802018-12-18 Stefan Liebler <stli@linux.ibm.com>
4481
4482 * sysdeps/s390/multiarch/Makefile
4483 (sysdep_routines): Remove wcscat variants.
4484 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
4485 * sysdeps/s390/multiarch/ifunc-impl-list.c
4486 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
4487 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
4488 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
4489 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
4490 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
4491 * sysdeps/s390/multiarch/wcscat.c: Move to ...
4492 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
4493 * sysdeps/s390/ifunc-wcscat.h: New file.
4494
c3081bcb
SL
44952018-12-18 Stefan Liebler <stli@linux.ibm.com>
4496
4497 * sysdeps/s390/multiarch/Makefile
4498 (sysdep_routines): Remove wcpncpy variants.
4499 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
4500 * sysdeps/s390/multiarch/ifunc-impl-list.c
4501 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
4502 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
4503 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
4504 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
4505 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
4506 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
4507 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
4508 * sysdeps/s390/ifunc-wcpncpy.h: New file.
4509
0966dd86
SL
45102018-12-18 Stefan Liebler <stli@linux.ibm.com>
4511
4512 * sysdeps/s390/multiarch/Makefile
4513 (sysdep_routines): Remove wcsncpy variants.
4514 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
4515 * sysdeps/s390/multiarch/ifunc-impl-list.c
4516 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
4517 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
4518 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
4519 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
4520 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
4521 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
4522 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
4523 * sysdeps/s390/ifunc-wcsncpy.h: New file.
4524
0582e428
SL
45252018-12-18 Stefan Liebler <stli@linux.ibm.com>
4526
4527 * sysdeps/s390/multiarch/Makefile
4528 (sysdep_routines): Remove wcpcpy variants.
4529 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
4530 * sysdeps/s390/multiarch/ifunc-impl-list.c
4531 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
4532 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
4533 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
4534 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
4535 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
4536 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
4537 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
4538 * sysdeps/s390/ifunc-wcpcpy.h: New file.
4539
804f2e5c
SL
45402018-12-18 Stefan Liebler <stli@linux.ibm.com>
4541
4542 * sysdeps/s390/multiarch/Makefile
4543 (sysdep_routines): Remove wcscpy variants.
4544 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
4545 * sysdeps/s390/multiarch/ifunc-impl-list.c
4546 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
4547 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
4548 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
4549 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
4550 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
4551 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
4552 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
4553 * sysdeps/s390/ifunc-wcscpy.h: New file.
4554
c7e7cd26
SL
45552018-12-18 Stefan Liebler <stli@linux.ibm.com>
4556
4557 * sysdeps/s390/multiarch/Makefile
4558 (sysdep_routines): Remove wcsnlen variants.
4559 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
4560 * sysdeps/s390/multiarch/ifunc-impl-list.c
4561 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
4562 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
4563 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
4564 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
4565 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
4566 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
4567 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
4568 * sysdeps/s390/ifunc-wcsnlen.h: New file.
4569
2e02d0b7
SL
45702018-12-18 Stefan Liebler <stli@linux.ibm.com>
4571
4572 * sysdeps/s390/multiarch/Makefile
4573 (sysdep_routines): Remove wcslen variants.
4574 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
4575 * sysdeps/s390/multiarch/ifunc-impl-list.c
4576 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
4577 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
4578 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
4579 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
4580 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
4581 * sysdeps/s390/multiarch/wcslen.c: Move to ...
4582 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
4583 * sysdeps/s390/ifunc-wcslen.h: New file.
4584
89bfcbdf
SL
45852018-12-18 Stefan Liebler <stli@linux.ibm.com>
4586
4587 * sysdeps/s390/multiarch/Makefile
4588 (sysdep_routines): Remove memrchr variants.
4589 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
4590 * sysdeps/s390/multiarch/ifunc-impl-list.c
4591 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
4592 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
4593 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
4594 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
4595 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
4596 * sysdeps/s390/multiarch/memrchr.c: Move to ...
4597 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
4598 * sysdeps/s390/ifunc-memrchr.h: New file.
4599
196655ba
SL
46002018-12-18 Stefan Liebler <stli@linux.ibm.com>
4601
4602 * sysdeps/s390/multiarch/Makefile
4603 (sysdep_routines): Remove memccpy variants.
4604 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
4605 * sysdeps/s390/multiarch/ifunc-impl-list.c
4606 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
4607 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
4608 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
4609 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
4610 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
4611 * sysdeps/s390/multiarch/memccpy.c: Move to ...
4612 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
4613 * sysdeps/s390/ifunc-memccpy.h: New file.
4614
4c7b3cec
SL
46152018-12-18 Stefan Liebler <stli@linux.ibm.com>
4616
4617 * sysdeps/s390/multiarch/Makefile
4618 (sysdep_routines): Remove rawmemchr variants.
4619 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
4620 * sysdeps/s390/multiarch/ifunc-impl-list.c
4621 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
4622 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
4623 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
4624 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
4625 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
4626 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
4627 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
4628 * sysdeps/s390/ifunc-rawmemchr.h: New file.
4629
581a051c
SL
46302018-12-18 Stefan Liebler <stli@linux.ibm.com>
4631
4632 * sysdeps/s390/multiarch/Makefile
4633 (sysdep_routines): Remove memchr variants.
4634 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
4635 * sysdeps/s390/multiarch/ifunc-impl-list.c
4636 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
4637 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
4638 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
4639 * sysdeps/s390/multiarch/memchr.c: Move to ...
4640 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
4641 * sysdeps/s390/ifunc-memchr.h: New file.
4642 * sysdeps/s390/s390-64/memchr.S: Move to ...
4643 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
4644 for 31/64bit and ifunc handling.
4645 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
4646 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4647 * sysdeps/s390/s390-32/memchr.S: Likewise.
4648
5d2ec20a
SL
46492018-12-18 Stefan Liebler <stli@linux.ibm.com>
4650
4651 * sysdeps/s390/multiarch/Makefile
4652 (sysdep_routines): Remove strcspn variants.
4653 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
4654 * sysdeps/s390/multiarch/ifunc-impl-list.c
4655 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
4656 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
4657 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
4658 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
4659 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
4660 * sysdeps/s390/multiarch/strcspn.c: Move to ...
4661 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
4662 * sysdeps/s390/ifunc-strcspn.h: New file.
4663
572cca93
SL
46642018-12-18 Stefan Liebler <stli@linux.ibm.com>
4665
4666 * sysdeps/s390/multiarch/Makefile
4667 (sysdep_routines): Remove strpbrk variants.
4668 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
4669 * sysdeps/s390/multiarch/ifunc-impl-list.c
4670 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
4671 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
4672 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
4673 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
4674 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
4675 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
4676 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
4677 * sysdeps/s390/ifunc-strpbrk.h: New file.
4678
483fc569
SL
46792018-12-18 Stefan Liebler <stli@linux.ibm.com>
4680
4681 * sysdeps/s390/multiarch/Makefile
4682 (sysdep_routines): Remove strspn variants.
4683 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
4684 * sysdeps/s390/multiarch/ifunc-impl-list.c
4685 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
4686 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
4687 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
4688 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
4689 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
4690 * sysdeps/s390/multiarch/strspn.c: Move to ...
4691 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
4692 * sysdeps/s390/ifunc-strspn.h: New file.
4693
26ea8760
SL
46942018-12-18 Stefan Liebler <stli@linux.ibm.com>
4695
4696 * sysdeps/s390/multiarch/Makefile
4697 (sysdep_routines): Remove strrchr variants.
4698 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
4699 * sysdeps/s390/multiarch/ifunc-impl-list.c
4700 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
4701 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
4702 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
4703 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
4704 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
4705 * sysdeps/s390/multiarch/strrchr.c: Move to ...
4706 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
4707 * sysdeps/s390/ifunc-strrchr.h: New file.
4708
a1361e65
SL
47092018-12-18 Stefan Liebler <stli@linux.ibm.com>
4710
4711 * sysdeps/s390/multiarch/Makefile
4712 (sysdep_routines): Remove strchrnul variants.
4713 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
4714 * sysdeps/s390/multiarch/ifunc-impl-list.c
4715 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
4716 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
4717 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
4718 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
4719 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
4720 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
4721 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
4722 * sysdeps/s390/ifunc-strchrnul.h: New file.
4723
32f12653
SL
47242018-12-18 Stefan Liebler <stli@linux.ibm.com>
4725
4726 * sysdeps/s390/multiarch/Makefile
4727 (sysdep_routines): Remove strchr variants.
4728 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
4729 * sysdeps/s390/multiarch/ifunc-impl-list.c
4730 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
4731 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
4732 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
4733 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
4734 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
4735 * sysdeps/s390/multiarch/strchr.c: Move to ...
4736 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
4737 * sysdeps/s390/ifunc-strchr.h: New file.
4738
316b8842
SL
47392018-12-18 Stefan Liebler <stli@linux.ibm.com>
4740
4741 * sysdeps/s390/multiarch/Makefile
4742 (sysdep_routines): Remove strncmp variants.
4743 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
4744 * sysdeps/s390/multiarch/ifunc-impl-list.c
4745 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
4746 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
4747 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
4748 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
4749 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
4750 * sysdeps/s390/multiarch/strncmp.c: Move to ...
4751 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
4752 * sysdeps/s390/ifunc-strncmp.h: New file.
4753
cdab85fe
SL
47542018-12-18 Stefan Liebler <stli@linux.ibm.com>
4755
4756 * sysdeps/s390/multiarch/Makefile
4757 (sysdep_routines): Remove strcmp variants.
4758 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
4759 * sysdeps/s390/multiarch/ifunc-impl-list.c
4760 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
4761 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
4762 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
4763 * sysdeps/s390/multiarch/strcmp.c: Move to ...
4764 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
4765 * sysdeps/s390/ifunc-strcmp.h: New file.
4766 * sysdeps/s390/s390-64/strcmp.S: Move to ...
4767 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
4768 for 31/64bit and ifunc handling.
4769 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
4770 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4771 * sysdeps/s390/s390-32/strcmp.S: Likewise.
4772
b9353351
SL
47732018-12-18 Stefan Liebler <stli@linux.ibm.com>
4774
4775 * sysdeps/s390/multiarch/Makefile
4776 (sysdep_routines): Remove strncat variants.
4777 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
4778 * sysdeps/s390/multiarch/ifunc-impl-list.c
4779 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
4780 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
4781 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
4782 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
4783 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
4784 * sysdeps/s390/multiarch/strncat.c: Move to ...
4785 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
4786 * sysdeps/s390/ifunc-strncat.h: New file.
4787
8e5a0afb
SL
47882018-12-18 Stefan Liebler <stli@linux.ibm.com>
4789
4790 * sysdeps/s390/multiarch/Makefile
4791 (sysdep_routines): Remove strcat variants.
4792 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
4793 * sysdeps/s390/multiarch/ifunc-impl-list.c
4794 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
4795 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
4796 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
4797 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
4798 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
4799 * sysdeps/s390/multiarch/strcat.c: Move to ...
4800 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
4801 * sysdeps/s390/ifunc-strcat.h: New file.
4802
25218822
SL
48032018-12-18 Stefan Liebler <stli@linux.ibm.com>
4804
4805 * sysdeps/s390/multiarch/Makefile
4806 (sysdep_routines): Remove stpncpy variants.
4807 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
4808 * sysdeps/s390/multiarch/ifunc-impl-list.c
4809 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
4810 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
4811 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
4812 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
4813 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
4814 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
4815 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
4816 * sysdeps/s390/ifunc-stpncpy.h: New file.
4817
d1bdbf38
SL
48182018-12-18 Stefan Liebler <stli@linux.ibm.com>
4819
4820 * sysdeps/s390/multiarch/Makefile
4821 (sysdep_routines): Remove strncpy variants.
4822 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
4823 * sysdeps/s390/multiarch/ifunc-impl-list.c
4824 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
4825 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
4826 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
4827 * sysdeps/s390/multiarch/strncpy.c: Move to ...
4828 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
4829 * sysdeps/s390/ifunc-strncpy.h: New file.
4830 * sysdeps/s390/s390-64/strncpy.S: Move to ...
4831 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
4832 and adjust ifunc handling.
4833 * sysdeps/s390/s390-32/strncpy.S: Move to ...
4834 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
4835 and adjust ifunc handling.
4836 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
4837 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4838
97044931
SL
48392018-12-18 Stefan Liebler <stli@linux.ibm.com>
4840
4841 * sysdeps/s390/multiarch/Makefile
4842 (sysdep_routines): Remove stpcpy variants.
4843 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
4844 * sysdeps/s390/multiarch/ifunc-impl-list.c
4845 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
4846 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
4847 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
4848 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
4849 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
4850 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
4851 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
4852 * sysdeps/s390/ifunc-stpcpy.h: New file.
4853
914a4e05
SL
48542018-12-18 Stefan Liebler <stli@linux.ibm.com>
4855
4856 * sysdeps/s390/multiarch/Makefile
4857 (sysdep_routines): Remove strcpy variants.
4858 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
4859 * sysdeps/s390/multiarch/ifunc-impl-list.c
4860 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
4861 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
4862 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
4863 * sysdeps/s390/multiarch/strcpy.c: Move to ...
4864 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
4865 * sysdeps/s390/ifunc-strcpy.h: New file.
4866 * sysdeps/s390/s390-64/strcpy.S: Move to ...
4867 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
4868 for 31/64bit and ifunc handling.
4869 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
4870 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4871 * sysdeps/s390/s390-32/strcpy.S: Likewise.
4872
de10e44d
SL
48732018-12-18 Stefan Liebler <stli@linux.ibm.com>
4874
4875 * sysdeps/s390/multiarch/Makefile
4876 (sysdep_routines): Remove strnlen variants.
4877 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
4878 * sysdeps/s390/multiarch/ifunc-impl-list.c
4879 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
4880 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
4881 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
4882 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
4883 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
4884 * sysdeps/s390/multiarch/strnlen.c: Move to ...
4885 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
4886 * sysdeps/s390/ifunc-strnlen.h: New file.
4887
ff3ca374
SL
48882018-12-18 Stefan Liebler <stli@linux.ibm.com>
4889
4890 * sysdeps/s390/multiarch/Makefile
4891 (sysdep_routines): Remove strlen variants.
4892 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
4893 * sysdeps/s390/multiarch/ifunc-impl-list.c
4894 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
4895 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
4896 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
4897 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
4898 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
4899 * sysdeps/s390/multiarch/strlen.c: Move to ...
4900 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
4901 * sysdeps/s390/ifunc-strlen.h: New file.
4902
d2c4c403
SL
49032018-12-18 Stefan Liebler <stli@linux.ibm.com>
4904
4905 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
4906 * sysdeps/s390/multiarch/ifunc-impl-list.c
4907 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
4908 * sysdeps/s390/ifunc-memmem.h: New file.
4909 * sysdeps/s390/memmem.c: Likewise.
4910 * sysdeps/s390/memmem-c.c: Likewise.
4911 * sysdeps/s390/memmem-vx.c: Likewise.
4912
8c25dddd
SL
49132018-12-18 Stefan Liebler <stli@linux.ibm.com>
4914
4915 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
4916 * sysdeps/s390/multiarch/ifunc-impl-list.c
4917 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
4918 * sysdeps/s390/ifunc-strstr.h: New file.
4919 * sysdeps/s390/strstr.c: Likewise.
4920 * sysdeps/s390/strstr-c.c: Likewise.
4921 * sysdeps/s390/strstr-vx.c: Likewise.
4922
cdd927d9
SL
49232018-12-18 Stefan Liebler <stli@linux.ibm.com>
4924
4925 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
4926 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
4927 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
4928 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
4929 New defines.
4930 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
4931 * sysdeps/s390/memmove-c.c: New file.
4932 * sysdeps/s390/memmove.c: Likewise.
4933 * sysdeps/s390/multiarch/ifunc-impl-list.c
4934 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
4935
2ee1bc57
SL
49362018-12-18 Stefan Liebler <stli@linux.ibm.com>
4937
4938 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
4939 * sysdeps/s390/configure.ac: Add check for z13 support.
4940 * sysdeps/s390/configure: Regenerated.
4941
d097d976
SL
49422018-12-18 Stefan Liebler <stli@linux.ibm.com>
4943
4944 * sysdeps/s390/memcopy.h: New file.
4945
e099aab0
SL
49462018-12-18 Stefan Liebler <stli@linux.ibm.com>
4947
4948 * sysdeps/s390/s390-32/bcopy.S: Remove.
4949 * sysdeps/s390/s390-64/bcopy.S: Likewise.
4950
18eb862d
SL
49512018-12-18 Stefan Liebler <stli@linux.ibm.com>
4952
4953 * sysdeps/s390/ifunc-memcpy.h: New File.
4954 * sysdeps/s390/memcpy.S: Move to ...
4955 * sysdeps/s390/memcpy-z900.S ... here.
4956 Move implementations from memcpy-s390x.s to here.
4957 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
4958 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4959 Remove memcpy/mempcpy variants.
4960 * sysdeps/s390/Makefile (sysdep_routines):
4961 Add memcpy/mempcpy variants.
4962 * sysdeps/s390/multiarch/ifunc-impl-list.c
4963 (__libc_ifunc_impl_list): Adjust ifunc variants for
4964 memcpy and mempcpy.
4965 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
4966 to ...
4967 * sysdeps/s390/memcpy.c: ... here.
4968 Adjust ifunc variants for memcpy.
4969 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
4970 * sysdeps/s390/mempcpy.c: ... here.
4971 Adjust ifunc variants for mempcpy.
4972 * sysdeps/s390/mempcpy.S: Delete file.
4973
df3eb8de
SL
49742018-12-18 Stefan Liebler <stli@linux.ibm.com>
4975
4976 * sysdeps/s390/s390-64/memcpy.S: Move to ...
4977 * sysdeps/s390/memcpy.S: ... here.
4978 Adjust to be usable for 31/64bit.
4979 * sysdeps/s390/s390-32/memcpy.S: Delete File.
4980 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
4981 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
4982 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
4983 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
4984 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
4985 Adjust to be usable for 31/64bit.
4986 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
4987 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
4988 * sysdeps/s390/multiarch/memcpy.c: ... here.
4989 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
4990
b7e024a8
SL
49912018-12-18 Stefan Liebler <stli@linux.ibm.com>
4992
4993 * sysdeps/s390/ifunc-memcmp.h: New File.
4994 * sysdeps/s390/memcmp.S: Move to ...
4995 * sysdeps/s390/memcmp-z900.S ... here.
4996 Move implementations from memcmp-s390x.s to here.
4997 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
4998 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
4999 Remove memcmp variants.
5000 * sysdeps/s390/Makefile (sysdep_routines):
5001 Add memcmp variants.
5002 * sysdeps/s390/multiarch/ifunc-impl-list.c
5003 (__libc_ifunc_impl_list): Adjust ifunc variants for
5004 memcmp.
5005 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5006 to ...
5007 * sysdeps/s390/memcmp.c: ... here.
5008 Adjust ifunc variants for memcmp.
5009
6c6b8c74
SL
50102018-12-18 Stefan Liebler <stli@linux.ibm.com>
5011
5012 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5013 * sysdeps/s390/memcmp.S: ... here.
5014 Adjust to be usable for 31/64bit.
5015 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5016 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5017 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5018 Remove memcmp.
5019 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5020 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5021 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5022 Adjust to be usable for 31/64bit.
5023 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5024 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5025 * sysdeps/s390/multiarch/memcmp.c: ... here.
5026 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5027
07be3928
SL
50282018-12-18 Stefan Liebler <stli@linux.ibm.com>
5029
5030 * sysdeps/s390/s390-32/bzero.S: Delete file.
5031 * sysdeps/s390/s390-64/bzero.S: Likewise.
5032 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5033 * sysdeps/s390/bzero.c: New file.
5034 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5035 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5036 * sysdeps/s390/multiarch/ifunc-impl-list.c
5037 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5038
712a254a
SL
50392018-12-18 Stefan Liebler <stli@linux.ibm.com>
5040
5041 * sysdeps/s390/ifunc-memset.h: New File.
5042 * sysdeps/s390/memset.S: Move to ...
5043 * sysdeps/s390/memset-z900.S ... here.
5044 Move implementations from memset-s390x.s to here.
5045 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5046 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5047 Remove memset variants.
5048 * sysdeps/s390/Makefile (sysdep_routines):
5049 Add memset variants.
5050 * sysdeps/s390/multiarch/ifunc-impl-list.c
5051 (__libc_ifunc_impl_list): Adjust ifunc variants for
5052 memset.
5053 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5054 to ...
5055 * sysdeps/s390/memset.c: ... here.
5056 Adjust ifunc variants for memset.
5057
5f1743d1
SL
50582018-12-18 Stefan Liebler <stli@linux.ibm.com>
5059
5060 * sysdeps/s390/s390-64/memset.S: Move to ...
5061 * sysdeps/s390/memset.S: ... here.
5062 Adjust to be usable for 31/64bit.
5063 * sysdeps/s390/s390-32/memset.S: Delete File.
5064 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5065 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5066 Remove memset.
5067 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5068 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5069 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5070 Adjust to be usable for 31/64bit.
5071 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5072 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5073 * sysdeps/s390/multiarch/memset.c: ... here.
5074 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5075
e8023f26
SL
50762018-12-18 Stefan Liebler <stli@linux.ibm.com>
5077
5078 * sysdeps/s390/multiarch/ifunc-resolve.h
5079 (s390_libc_ifunc_init, s390_libc_ifunc,
5080 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5081
b8686c0d
SL
50822018-12-18 Stefan Liebler <stli@linux.ibm.com>
5083
5084 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5085 * sysdeps/s390/configure.ac: Add check for z10 support.
5086 * sysdeps/s390/configure: Regenerated.
5087
cd815050
L
50882018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5089
5090 * sysdeps/i386/atomic-machine.h: Merged with ...
5091 * sysdeps/x86_64/atomic-machine.h: To ...
5092 * sysdeps/x86/atomic-machine.h: This. New file.
5093
053c52b1
FW
50942018-12-18 Florian Weimer <fweimer@redhat.com>
5095
5096 Rewrite locale/gen-translit.pl in Python.
5097 * locale/Makefile (generated): Add C-translit.h.
5098 (before-compile): Add $(objpfx)C-translit.h.
5099 (C-translit.h): Move to $(objpfx). Create target directory.
5100 Build using Python script.
5101 * locale/gen-translit.py: New file.
5102 * locale/gen-translit.pl: Remove file.
5103 * locale/C-translit.h.in: Change comment character to '#' for
5104 easier parsing without a C preprocessor.
5105 * locale/C-translit.h: Remove generated file.
5106 * manual/install.texi (Tools for Compilation): Do not mention
5107 C-translit.h.
5108 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5109 Remove locale/C-translit.h.
5110 * scripts/update-copyrights: Likewise.
5111 * INSTALL: Regenerate.
5112
40e6c1ec
FW
51132018-12-18 Florian Weimer <fweimer@redhat.com>
5114
5115 [BZ #23995]
5116 * localedata/locales/bi_VU: Remove executable bit from file.
5117
6b5c8607 51182018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
5119
5120 * include/time.h
5121 (__localtime64): Add.
5122 * manual/maint.texi: Document Y2038 symbol handling.
5123 * time/localtime.c
5124 (__localtime64): Add.
bfb79db4 5125 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 5126
df648905
JM
51272018-12-17 Joseph Myers <joseph@codesourcery.com>
5128
551e81d9
JM
5129 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5130 Do not clobber r12.
5131
df648905
JM
5132 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5133 to allow extra macros from first or second sources.
5134 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5135 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5136 (tests-special): Add $(objpfx)tst-mman-consts.out.
5137 ($(objpfx)tst-mman-consts.out): New makefile target.
5138
6bbfc5c0
MH
51392018-12-17 Mao Han <han_mao@c-sky.com>
5140
5141 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5142 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5143 without stat64 system call support.
5144 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5145 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5146 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5147 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5148 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5149 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5150 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5151 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5152 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5153 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5154 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5155
ef202e53
PE
51562018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5157
5158 regex: fix storage-exhaustion error
5159 [BZ #18040]
5160 * posix/regexec.c (get_subexp):
5161 Do not continue if storage is exhausted.
5162
077caf61
AG
51632018-12-15 Assaf Gordon <assafgordon@gmail.com>
5164
5165 regex: fix heap-use-after-free error
5166 [BZ #18040]
5167 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5168 https://debbugs.gnu.org/32592
5169 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5170 call extend_buffers which reallocates the re_string_t internal buffer.
5171 Local variable 'buf' was not updated in such case, resulting in
5172 use-after-free.
5173 * posix/regexec.c (get_subexp): Update 'buf' after call to
5174 get_subexp_sub.
5175
0c1719e6
FW
51762018-12-15 Florian Weimer <fweimer@redhat.com>
5177
5178 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
5179 (minimum_stride_size): Use it.
5180 (support_blob_repeat_allocate): Likewise.
5181
033a2c0a
JM
51822018-12-14 Joseph Myers <joseph@codesourcery.com>
5183
5184 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
5185 definition.
5186 (acosh): Likewise.
5187 (atanh): Likewise.
5188
e361dc04
FW
51892018-12-14 Florian Weimer <fweimer@redhat.com>
5190
5191 * manual/process.texi (Process Creation Concepts): Remove
5192 documentation of process (ID) lifetime. List more process
5193 creation functions. Reference Process Identification section.
5194 (Process Identification): Add information about process ID
5195 lifetime. Describe Linux thread/task IDs.
5196 * manual/signal.texi (Signaling Another Process): Mention that the
5197 signal is always sent to the process.
5198
bd51ff5e
GG
51992018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5200
5201 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
5202 and tst-ldbl-efgcvt.
5203 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
5204 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
5205 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
5206 (fcvt_tests, output_error, output_r_error, do_test): Use the
5207 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
5208 select the type of floating-point variables and arguments; to
5209 produce extra tests for double and conversion specifiers for
5210 printf; and to set the names of called functions.
5211 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
5212 in tst-efgcvt-template.c.
5213 * misc/tst-ldbl-efgcvt.c: Likewise.
5214
268bb71e
SL
52152018-12-14 Stefan Liebler <stli@linux.ibm.com>
5216
5217 * nss/Makefile (tst-nss-test3.out): New rule.
5218
db6df070
JM
52192018-12-13 Joseph Myers <joseph@codesourcery.com>
5220
5221 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
5222 clobber sp.
5223
ade8b817
CD
52242018-12-13 fanjinke <fanjinke@hygon.cn>
5225
5226 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
5227 "HygonGenuine".
5228
3d265911
AS
52292018-12-13 Andreas Schwab <schwab@suse.de>
5230
f21e8f8c 5231 [BZ #23861]
3d265911 5232 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
5233 (__pthread_rwlock_rdlock_full): Update expected value for
5234 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
5235 * nptl/tst-rwlock-pwn.c: New file.
5236 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 5237
bf8ae8c0
JM
52382018-12-12 Joseph Myers <joseph@codesourcery.com>
5239
5240 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
5241 definition.
5242
de099757
LS
52432018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5244
5245 * benchtests/scripts/compare_bench.py (do_compare): write to
5246 stderr in casestat is not present.
5247 * benchtests/scripts/compare_bench.py (plot_graphs): write to
5248 stderr in case timings field is not present. Also string showing
5249 the output filename goes into the stderr.
5250
1990185f
LS
52512018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5252
5253 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
5254 and ZeroDivisorError exceptions.
5255 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
5256 argument to loop through user provided statistics.
5257 * benchtests/scripts/compare_bench.py (main): Include the --stats
5258 argument.
5259
587426d4
LS
52602018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5261
5262 * benchtests/scripts/compare_bench.py (compare_runs): Continue
5263 instead of return.
5264
46703efa
FW
52652018-12-12 Florian Weimer <fweimer@redhat.com>
5266
5267 * sysdeps/posix/timespec_get.c: Add missing “any later version”
5268 clause to copyright header.
5269
1d880d4a
TMQMF
52702018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5271
5272 [BZ #23614]
5273 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
5274 registers saved in the stack frame.
5275 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
5276 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
5277
1a502f52
GG
52782018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5279
5280 * include/bits/monetary-ldbl.h: New file.
5281 * include/bits/printf-ldbl.h: Likewise.
5282 * include/bits/stdio-ldbl.h: Likewise.
5283 * include/bits/stdlib-ldbl.h: Likewise.
5284 * include/bits/syslog-ldbl.h: Likewise.
5285 * include/bits/wchar-ldbl.h: Likewise.
5286
df682d1d
GG
52872018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5288
5289 * libio/libio.h: Remove redirection for _IO_vfprintf.
5290
c2c082c1
AS
52912018-12-11 Andreas Schwab <schwab@suse.de>
5292
5293 * Makerules: Remove all references to abilist-pattern.
5294 (update-all-abi): Simplify find expression.
5295
505b5b29
SN
52962018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5297
5298 [BZ #23961]
5299 * math/auto-libm-test-in: Add new test case.
5300 * math/auto-libm-test-out-pow: Regenerated.
5301 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
5302
304c61a2
DD
53032018-12-10 DJ Delorie <dj@redhat.com>
5304
5305 [BZ #23948]
5306 * support/test-container.c: Move postclean step to before we
5307 change namespaces.
5308
a8110b72
JM
53092018-12-10 Joseph Myers <joseph@codesourcery.com>
5310
cb7be159
JM
5311 * scripts/gen-as-const.py (main): Handle --python option.
5312 * scripts/gen-py-const.awk: Remove.
5313 * Makerules (py-const-script): Use gen-as-const.py.
5314 ($(py-const)): Likewise.
5315 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
5316 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
5317 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
5318 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
5319 ~PTHREAD_MUTEX_NO_ELISION_NP.
5320 * manual/README.pretty-printers: Update reference to
5321 gen-py-const.awk.
5322
a8110b72
JM
5323 * scripts/glibcextract.py: New file.
5324 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
5325 or tempfile. Import glibcexctract.
5326 (compute_c_consts): Remove. Moved to glibcextract.py.
5327 (gen_test): Update reference to compute_c_consts.
5328 (main): Likewise.
5329 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
5330 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
5331 * sysdeps/unix/sysv/linux/Makefile
5332 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
5333 Redirect stderr as well as stdout.
5334
f9ba9eb8
RÁE
53352018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
5336
5337 [BZ #19767]
5338 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
5339 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
5340 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 5341 ALWAYS_USE_VSYSCALL.
b39d961c 5342 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
5343 ALWAYS_USE_VSYSCALL.
5344 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
5345 ALWAYS_USE_VSYSCALL.
5346
8d20a2f4
FW
53472018-12-10 Florian Weimer <fweimer@redhat.com>
5348
5349 [BZ #23972]
5350 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
5351 offset instead of count for clarity. Fix typo in comment.
5352 (__old_getdents64): Keep track of previous offset. Use it to call
5353 handle_overflow.
5354 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
5355 that d_off is never zero.
5356
80472e2f
AS
53572018-12-10 Andreas Schwab <schwab@suse.de>
5358
5359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
5360 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
5361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
5362 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
5363 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
5364
0afcb29d
JM
53652018-12-10 Joseph Myers <joseph@codesourcery.com>
5366
5367 * timezone/private.h: Update from tzcode 2018g.
5368 * timezone/tzfile.h: Likewise.
5369 * timezone/tzselect.ksh: Likewise.
5370 * timezone/zdump.c: Likewise.
5371 * timezone/zic.c: Likewise.
5372
b93f4052
PP
53732018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5374
5375 [BZ #23490]
5376 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
5377 (do_test): Adjust buffer size and fix format.
5378
7c9a7c68
DD
53792018-12-07 DJ Delorie <dj@redhat.com>
5380
5381 [BZ #23907]
5382 * malloc/tst-tcfree3.c: New.
5383 * malloc/Makefile: Add it.
5384
37caec3a
L
53852018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5386
5387 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
5388
10446f5d
GG
53892018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5390
5391 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
5392 used as a mask for the mode argument of __vfscanf_internal and
5393 __vfwscanf_internal.
5394 * stdio-common/vfscanf-internal.c
5395 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
5396 (__strtof128_internal): Define to __wcstof128_internal.
5397 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
5398 __strtof128_internal or __wcstof128_internal when the format of
5399 long double is the same as _Float128.
5400
45f33aac
ST
54012018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
5402
5403 * include/unistd.h (__confstr): Add prototype and hidden prototype.
5404 * posix/confstr.c (confstr): Rename to __confstr.
5405 (__confstr): Add hidden def.
5406 (confstr): Add weak alias for __confstr.
5407 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
5408 confstr.
5409
a092ca94
L
54102018-12-07 H.J. Lu <hongjiu.lu@intel.com>
5411
5412 * NEWS: Mention getcpu.
5413 * include/sched.h (__getcpu): New libc_hidden_proto.
5414 * manual/resource.texi: Document getcpu.
5415 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
5416 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
5417 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
5418 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5419 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5420 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5421 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5422 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5423 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5424 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5425 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5426 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5427 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
5428 Likewise.
5429 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5430 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5431 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5433 Likewise.
5434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5435 Likewise.
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5437 Likewise.
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5439 Likewise.
5440 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
5441 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5442 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5443 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5444 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5445 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5446 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5447 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5448 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
5449 * sysdeps/unix/sysv/linux/getcpu.c: New file.
5450 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
5451 Also check getcpu.
5452
7c857b6f
ST
54532018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5454
5455 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
5456 functions.
5457 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
5458
3a3fb755
FW
54592018-12-07 Florian Weimer <fweimer@redhat.com>
5460
5461 [BZ #17405]
5462 * posix/Makefile (routines): Add spawn_faction_addfchdir.
5463 * posix/Versions (GLIBC_2.29): Export
5464 posix_spawn_file_actions_addfchdir_np.
5465 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
5466 * posix/spawn_faction_destroy.c
5467 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
5468 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
5469 and the field action.fchdir_action.
5470 * posix/tst-spawn-chdir.c (add_chdir): New function.
5471 (do_test): Add do_fchdir loop. Call add_chdir.
5472 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
5473 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5474 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
5475 posix_spawn_file_actions_addfchdir_np.
5476 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
5477 Likewise.
5478 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
5479 Likewise.
5480 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
5481 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
5482 Likewise.
5483 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
5484 Likewise.
5485 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
5486 Likewise.
5487 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
5488 Likewise.
5489 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
5490 Likewise.
5491 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
5492 Likewise.
5493 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5494 (GLIBC_2.29): Likewise.
5495 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5496 (GLIBC_2.29): Likewise.
5497 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5498 (GLIBC_2.29): Likewise.
5499 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5500 (GLIBC_2.29): Likewise.
5501 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
5502 Likewise.
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5504 (GLIBC_2.29): Likewise.
5505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5506 (GLIBC_2.29): Likewise.
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5508 (GLIBC_2.29): Likewise.
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5510 (GLIBC_2.29): Likewise.
5511 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
5512 Likewise.
5513 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
5514 Likewise.
5515 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
5516 Likewise.
5517 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
5518 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
5519 Likewise.
5520 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
5521 Likewise.
5522 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
5523 Likewise.
5524 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
5525 Likewise.
5526
c37cd439
JM
55272018-12-06 Joseph Myers <joseph@codesourcery.com>
5528
5529 * manual/texinfo.tex: Update to version 2018-09-21.20 with
5530 trailing whitespace removed.
5531 * scripts/config.guess: Update to version 2018-11-28.
5532 * scripts/config.sub: Update to version 2018-11-28.
5533 * scripts/install-sh: Update to version 2018-03-11.20.
5534 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
5535 * scripts/move-if-change: Update to version 2018-03-07 03:47.
5536
899478c2
FW
55372018-12-07 Florian Weimer <fweimer@redhat.com>
5538
5539 [BZ #23927]
5540 CVE-2018-19591
5541 * inet/tst-if_index-long.c: New file.
5542 * inet/Makefile (tests): Add tst-if_index-long.
5543
f255336a
FW
55442018-12-07 Florian Weimer <fweimer@redhat.com>
5545
5546 * support/check.h (support_record_failure_is_failed): Declare.
5547 * support/descriptors.h: New file.
5548 * support/support_descriptors.c: Likewise.
5549 * support/tst-support_descriptors.c: Likewise.
5550 * support/support_record_failure.c
5551 (support_record_failure_is_failed): New function.
5552 * support/Makefile (libsupport-routines): Add support_descriptors.
5553 (tests): Add tst-support_descriptors.
5554
35caceb1
ZW
55552018-12-05 Zack Weinberg <zackw@panix.com>
5556 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5557
5558 * stdio-common/vfprintf-internal.c
5559 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
5560 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
5561 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
5562 and __no_long_double.
5563 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
5564 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
5565 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
5566 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
5567 and __nldbl_*syslog* functions.
5568 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
5569 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
5570 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
5571 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
5572 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
5573 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
5574 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
5575 (__nldbl_vwprintf, __nldbl_wprintf):
5576 Directly call the appropriate __v*printf_internal routine, passing
5577 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
5578 variable names.
5579 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
5580 (__nldbl___printf_chk, __nldbl___snprintf_chk)
5581 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
5582 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
5583 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
5584 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5585 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
5586 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
5587 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
5588 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
5589 Likewise, and also pass PRINTF_FORTIFY when appropriate.
5590 (__nldbl_syslog, __nldbl_vsyslog):
5591 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
5592 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5593 appropriate.
5594 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
5595 appropriate.
5596
4e2f43f8
ZW
55972018-12-05 Zack Weinberg <zackw@panix.com>
5598 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5599
5600 [BZ #11319]
5601 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
5602 Moved here from debug/vsprintf_chk.c.
5603 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
5604 and completion logic for the strfile to match exactly what
5605 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
5606 _IO_str_init_static_internal instead of maxlen-1.
5607 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5608 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
5609 __vsprintf_internal.
5610
5611 * debug/vsprintf_chk.c (__vsprintf_chk)
5612 * debug/sprintf_chk.c (__sprintf_chk):
5613 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
5614 'flags' argument is positive, and slen as maxlen. No need to lock
5615 the FILE and/or construct a temporary FILE. Minimize and normalize
5616 header inclusions and variable names. Do not libc_hidden_def anything.
5617
5618 * debug/asprintf_chk.c (__asprintf_chk)
5619 * debug/dprintf_chk.c (__dprintf_chk)
5620 * debug/fprintf_chk.c (__fprintf_chk)
5621 * debug/fwprintf_chk.c (__fwprintf_chk)
5622 * debug/printf_chk.c (__printf_chk)
5623 * debug/snprintf_chk.c (__snprintf_chk)
5624 * debug/swprintf_chk.c (__swprintf_chk)
5625 * debug/vasprintf_chk.c (__vasprintf_chk)
5626 * debug/vdprintf_chk.c (__vdprintf_chk)
5627 * debug/vfprintf_chk.c (__vfprintf_chk)
5628 * debug/vfwprintf_chk.c (__vfwprintf_chk)
5629 * debug/vprintf_chk.c (__vprintf_chk)
5630 * debug/vsnprintf_chk.c (__vsnprintf_chk)
5631 * debug/vswprintf_chk.c (__vswprintf_chk)
5632 * debug/vwprintf_chk.c (__vwprintf_chk)
5633 * debug/wprintf_chk.c (__wprintf_chk):
5634 Directly call the corresponding vxxprintf_internal function, passing
5635 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
5636 the FILE and/or construct a temporary FILE. Minimize and normalize
5637 header inclusions and variable names. Do not libc_hidden_def anything.
5638
5639 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
5640 __obstack_vprintf_internal.
5641 (__obstack_vprintf_chk): Convert into a wrapper that calls
5642 __obstack_vprintf_internal (these two functions already had the
5643 same code) and move to new file...
5644 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
5645 file.
5646 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
5647 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
5648 * debug/Makefile (routines): Add vobprintf_chk.
5649
5650 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
5651 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
5652 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
5653 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
5654 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
5655 (__nldbl___obstack_vfprintf_chk):
5656 Directly call the corresponding vxxprintf_internal function,
5657 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
5658 duplicate comparison of slen with 0 or maxlen from the corresponding
5659 non-__nldbl function.
5660
5661 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
5662 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
5663 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
5664 Remove libc_hidden_proto.
5665
5666 * stdio-common/vfprintf-internal.c
5667 (__vfprintf_internal, __vfwprintf_internal):
5668 Do not check _IO_FLAGS2_FORTIFY.
5669 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
5670 * libio/libioP.h: Update prototype of __vsprintf_internal and add
5671 a comment explaining why it has the maxlen argument.
5672 (_IO_acquire_lock_clear_flags2_fct): Remove.
5673 (_IO_acquire_lock_clear_flags2): Remove.
5674 (_IO_release_lock): Remove conditional statement which will
5675 now never execute.
5676 (_IO_acquire_lock): Remove variable which is now unused.
5677 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5678 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
5679
5680 * stdio-common/Makefile (tests): Add tst-bz11319 and
5681 tst-bz11319-fortify2.
5682 (CFLAGS-tst-bz11319-fortify2.c): New macro.
5683 * stdio-common/tst-bz11319-fortify2.c: New file.
5684 * stdio-common/tst-bz11319.c: Likewise.
5685
124fc732
ZW
56862018-12-05 Zack Weinberg <zackw@panix.com>
5687 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5688
5689 * misc/syslog.c: Include libioP.h, not iolibio.h.
5690 (__vsyslog_internal): New function with the former body of
5691 __vsyslog_chk; takes mode_flags argument same as
5692 __v*printf_internal. Call __vfprintf_internal directly.
5693
5694 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
5695 Remove libc_hidden_def.
5696 (__syslog, __syslog_chk): Use __vsyslog_internal.
5697 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
5698
5699 * include/sys/syslog.h: Add multiple inclusion guard.
5700 Add prototype for __vsyslog_internal.
5701 Remove declaration and libc_hidden_proto for __vsyslog_chk.
5702
5703 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
5704 Use __vsyslog_internal.
5705
698fb75b
ZW
57062018-12-05 Zack Weinberg <zackw@panix.com>
5707 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5708
5709 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
5710 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
5711 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
5712 New functions.
5713 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
5714 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
5715
5716 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
5717 Include wctype.h here if COMPILE_WPRINTF is defined.
5718 Define __vfprintf_internal or __vfwprintf_internal, depending
5719 on COMPILE_WPRINTF.
5720 Temporarily, on entry to this function, update mode_flags
5721 according to the environmental settings corresponding to
5722 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
5723 Throughout, check mode_flags instead of __ldbl_is_dbl and
5724 _IO_FLAGS2_FORTIFY on the destination FILE.
5725 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
5726 Include vfprintf-internal.c. Don't include wctype.h.
5727 * stdio-common/vfprintf.c: New file. Just define __vfprintf
5728 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
5729 and vfprintf.
5730 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
5731 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
5732 and vfwprintf.
5733 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
5734
5735 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
5736 and add mode_flags argument; use __vfprintf_internal.
5737 (__vdprintf): New function. Alias vdprintf to this.
5738 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
5739 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
5740 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
5741 (__obstack_printf): Use __obstack_printf_internal.
5742 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
5743 public aliases __vsnprintf and vsnprintf.
5744 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
5745 called internally.
5746 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
5747 public aliases _IO_vsprintf and vsprintf.
5748 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
5749 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
5750 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
5751 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
5752 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
5753
5754 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
5755 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
5756 * stdio-common/fprintf.c, stdio-common/fxprintf.c
5757 * stdio-common/printf.c: Use __vfprintf_internal.
5758
5759 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
5760 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
5761 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
5762
5763 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
5764 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
5765 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
5766 __vfwprintf_internal.
5767
5768 * libio/libio.h: Remove libc_hidden_proto and declaration for
5769 _IO_vfprintf.
5770 Remove declaration of _IO_vfwprintf.
5771 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
5772 _IO_vsprintf.
5773 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
5774 _IO_obstack_printf.
5775 * include/stdio.h: Add prototype for __vasprintf.
5776 (__vsnprintf): Remove declaration, because there are no more
5777 internal calls.
5778 * include/wchar.h (__vfwprintf, __vswprintf): Remove
5779 declaration, because there are no more internal calls.
5780
5781 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
5782 __vsnprintf_internal, instead of _IO_vsnprintf.
5783 * argp/argp-help.c (__argp_error, __argp_failure): Use
5784 __vasprintf_internal, instead of _IO_vasprintf.
5785 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
5786 redefine, because there are no more internal calls.
5787
d91798b3
ZW
57882018-12-05 Zack Weinberg <zackw@panix.com>
5789 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5790
5791 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
5792 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
5793 Include libio/strfile.h instead of libioP.h.
5794 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
5795 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
5796 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
5797 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
5798 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
5799 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
5800 necessary. Do not set __no_long_double. Normalize variable names.
5801 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
5802 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
5803 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
5804 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
5805 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
5806 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
5807 Call __vfscanf_internal / __vfwscanf_internal directly, passing
5808 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
5809 Do not set __no_long_double. Normalize variable names.
5810
b87eb3f8
ZW
58112018-12-05 Zack Weinberg <zackw@panix.com>
5812 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5813
5814 * stdio-common/isoc99_scanf.c
5815 * stdio-common/isoc99_fscanf.c
5816 * stdio-common/isoc99_sscanf.c
5817 * stdio-common/isoc99_vscanf.c
5818 * stdio-common/isoc99_vfscanf.c
5819 * stdio-common/isoc99_vsscanf.c
5820 * wcsmbs/isoc99_wscanf.c
5821 * wcsmbs/isoc99_fwscanf.c
5822 * wcsmbs/isoc99_swscanf.c
5823 * wcsmbs/isoc99_vwscanf.c
5824 * wcsmbs/isoc99_vfwscanf.c
5825 * wcsmbs/isoc99_vswscanf.c:
5826 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
5827 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
5828 No need to lock and unlock the FILE passed to that function.
5829
5830 * stdio-common/vfscanf-internal.c
5831 (__vfscanf_internal, __vfwscanf_internal):
5832 Don't look at _IO_FLAGS2_SCANF_STD.
5833 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
5834 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
5835 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
5836
349718d4
ZW
58372018-12-05 Zack Weinberg <zackw@panix.com>
5838 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5839
5840 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
5841 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
5842 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
5843 * libio/strfile.h: Add multiple inclusion guard.
5844 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
5845
5846 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
5847 consistency with the other version of this file.
5848 (ldbl_compat_symbol): New macro.
5849 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
5850 New macro.
5851
5852 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
5853 Define __vfscanf_internal or __vfwscanf_internal, depending on
5854 COMPILE_WSCANF; don't define any other public symbols.
5855 Remove errval and code to set errp.
5856 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
5857 as the mode_flags argument.
5858 (encode_error, conv_error, input_error): Don't set errval.
5859 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
5860 Include vfscanf-internal.c.
5861 * stdio-common/vfscanf.c: New file defining the public entry
5862 point vfscanf, which calls __vfscanf_internal.
5863 * stdio-common/vfwscanf.c: New file defining the public entry
5864 point vfwscanf, which calls __vfwscanf_internal.
5865
5866 * stdio-common/iovfscanf.c: New file.
5867 * stdio-common/iovfwscanf.c: Likewise.
5868
5869 * stdio-common/Makefile (routines): Add vfscanf-internal,
5870 vfwscanf-internal, iovfscanf, iovfwscanf.
5871 * stdio-common/Versions: Mention GLIBC_2.29, so that
5872 it can be used in SHLIB_COMPAT expressions.
5873 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
5874 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
5875 Call __vfscanf_internal, instead of _IO_vfscanf.
5876 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
5877 _IO_vfscanf.
5878 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
5879 _IO_vfwscanf.
5880
5881 * libio/iovsscanf.c: Clean up includes, when possible. Use
5882 _IO_strfile_read or _IO_strfile_readw, when needed. Call
5883 __vfscanf_internal or __vfwscanf_internal directly.
5884 * libio/iovswscanf.c: Likewise.
5885 * libio/swscanf.c: Likewise.
5886 * libio/vscanf.c: Likewise.
5887 * libio/vwscanf.c: Likewise.
5888 * libio/wscanf.c: Likewise.
5889 * stdio-common/isoc99_fscanf.c: Likewise.
5890 * stdio-common/isoc99_scanf.c: Likewise.
5891 * stdio-common/isoc99_sscanf.c: Likewise.
5892 * stdio-common/isoc99_vfscanf.c: Likewise.
5893 * stdio-common/isoc99_vscanf.c: Likewise.
5894 * stdio-common/isoc99_vsscanf.c: Likewise.
5895 * stdio-common/scanf.c: Likewise.
5896 * stdio-common/sscanf.c: Likewise.
5897 * wcsmbs/isoc99_fwscanf.c: Likewise.
5898 * wcsmbs/isoc99_swscanf.c: Likewise.
5899 * wcsmbs/isoc99_vfwscanf.c: Likewise.
5900 * wcsmbs/isoc99_vswscanf.c: Likewise.
5901 * wcsmbs/isoc99_vwscanf.c: Likewise.
5902 * wcsmbs/isoc99_wscanf.c: Likewise.
5903
6b5c8607 59042018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
5905
5906 * include/time.h
5907 (__tz_compute): Replace time_t with __time64_t.
5908 (__tz_convert): Replace time_t* with __time64_t.
5909 (__offtime): Replace time_t* with __time64_t.
5910 * time/gmtime.c
5911 (__gmtime_r): Adjust call to __tz_convert.
5912 (gmtime): Likewise.
5913 * time/localtime.c
5914 (__localtime_r): Likewise.
5915 (localtime): Likewise.
5916 * time/offtime.c: Replace time_t with __time64_t.
5917 * time/tzset.c: Likewise.
5918
bd598da9
JM
59192018-12-04 Joseph Myers <joseph@codesourcery.com>
5920
5921 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
5922 dynamic linker unless [$(run-built-tests) = yes].
5923
b2e93de0
DD
59242018-12-03 DJ Delorie <dj@delorie.com>
5925
5926 * support/test-container.c (check_for_unshare_hints): New.
5927 (main): Call it if unshare fails. Add support for "su" scriptlet
5928 command.
5929
477a02f6
JM
59302018-12-03 Joseph Myers <joseph@codesourcery.com>
5931
5932 * scripts/gen-as-const.py (compute_c_consts): Take an argument
5933 'START' to indicate that start text should be output.
5934 (gen_test): Likewise.
5935 (main): Generate 'START' for first symbol or '--' line, or at end
5936 of input if not previously generated.
5937
6af956e5
RÁE
59382018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
5939
5940 [BZ #19767]
5941 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
5942 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
5943 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
5944 ALWAYS_USE_VSYSCALL.
5945
f5ec0ea9
AZ
59462018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5947
5948 [BZ #23913]
5949 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
5950 new_argv by one.
5951
8cebd4ff
CD
59522018-12-03 Carlos O'Donell <carlos@redhat.com>
5953
5954 [BZ #23923]
5955 * locale/programs/localedef.c: Declare boolean hard_links default true.
5956 (options): Add --no-hard-links option.
5957 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
5958 * locale/programs/localedef.h: Declare prototype for hard_links.
5959 * locale/programs/locfile.c (write_locale_data): Don't use hard
5960 links if hard_links is false.
5961
c22e4c2a
L
59622018-12-03 H.J. Lu <hongjiu.lu@intel.com>
5963
5964 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
5965 cpu_features_basic.
5966 (__cache_sysconf): Likewise.
5967 (init_cacheinfo): Likewise.
5968 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
5969 populate COMMON_CPUID_INDEX_80000007 and
5970 COMMON_CPUID_INDEX_80000008.
5971 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
5972 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
5973 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
5974 (init_cpu_features): Use _Static_assert on
5975 index_arch_Fast_Unaligned_Load.
5976 __get_cpuid_registers and __get_arch_feature. Updated for
5977 cpu_features_basic. Set stepping in cpu_features.
5978 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
5979 (FEATURE_INDEX_2): New.
5980 (FEATURE_INDEX_MAX): Changed to enum.
5981 (COMMON_CPUID_INDEX_D_ECX_1): New.
5982 (COMMON_CPUID_INDEX_80000007): Likewise.
5983 (COMMON_CPUID_INDEX_80000008): Likewise.
5984 (cpuid_registers): Likewise.
5985 (cpu_features_basic): Likewise.
5986 (CPU_FEATURE_USABLE): Likewise.
5987 (bit_arch_XXX_Usable): Likewise.
5988 (cpu_features): Use cpuid_registers and cpu_features_basic.
5989 (bit_arch_XXX): Reweritten.
5990 (bit_cpu_XXX): Likewise.
5991 (index_cpu_XXX): Likewise.
5992 (reg_XXX): Likewise.
5993 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
5994 <support/check.h>.
5995 (CHECK_CPU_FEATURE): New.
5996 (CHECK_CPU_FEATURE_USABLE): Likewise.
5997 (cpu_kinds): Likewise.
5998 (do_test): Print vendor, family, model and stepping. Check
5999 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6000 (TEST_FUNCTION): Removed.
6001 Include <support/test-driver.c> instead of
6002 "../../test-skeleton.c".
6003 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6004 Check POPCNT instead of POPCOUNT.
6005 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6006
7b36d26b
ST
60072018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6008
6009 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6010 there is no element in `consts'.
6011
02cd5c1a
FW
60122018-12-01 Florian Weimer <fweimer@redhat.com>
6013
6014 * support/support_capture_subprocess.c
6015 (support_capture_subprocess): Check that pipe descriptors have
6016 expected values. Close original pipe descriptors in subprocess.
6017
fc493bc9
ST
60182018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6019
6020 [BZ #23032]
6021 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6022 attr with __pthread_default_barrierattr.
6023 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6024 attr with __pthread_default_condattr.
6025 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6026 attr with __pthread_default_mutexattr.
6027 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6028 attr with __pthread_default_rwlockattr.
6029
6310e6be
KW
60302018-12-01 Kemi Wang <kemi.wang@intel.com>
6031
6032 * manual/tunables.texi (POSIX Thread Tunables): New node.
6033 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6034 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6035 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6036 __pthread_tunables_init.
6037 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6038 (max_adaptive_count): Define.
6039 * nptl/pthread_mutex_conf.c: New file.
6040 * nptl/pthread_mutex_conf.h: New file.
6041 * sysdeps/generic/adaptive_spin_count.h: New file.
6042 * sysdeps/nptl/dl-tunables.list: New file.
6043 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6044 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6045 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6046 Likewise.
6047
8e67b39e
PP
60482018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6049
6050 [BZ #20544]
6051 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6052 * stdlib/on_exit.c (__on_exit): Likewise.
6053 * stdlib/Makefile (tests): Add tst-bz20544.
6054 * stdlib/tst-bz20544.c: New test.
6055
15b8d67e
RÁE
60562018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6057
6058 [BZ #19767]
6059 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6060 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6061 New.
6062
5e63c240
FW
60632018-11-30 Florian Weimer <fweimer@redhat.com>
6064
6065 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6066 Extend error logging.
6067 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6068 symbol.
6069
71058602 60702018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 6071
5fb7fc96
AZ
6072 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6073 __sigismember instead of sigismember.
6074 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6075 cancel_handler): New definitions.
6076 (do_system): Use posix_spawn instead of fork and execl and remove
6077 reentracy code.
6078 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6079 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6080 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6081 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6082 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6083 * sysdeps/unix/sysv/linux/system.c: Likewise.
6084
14d0e87d
AZ
6085 [BZ #22834]
6086 [BZ #17490]
6087 * NEWS: Add new semantic for atfork with popen and system.
6088 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6089 fork and execl.
6090
e5d262ef
TMQMF
60912018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6092
6093 [BZ #23690]
6094 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6095 modification order when accessing reloc_result->addr.
6096 * include/link.h (reloc_result): Add field init.
6097 * nptl/Makefile (tests): Add tst-audit-threads.
6098 (modules-names): Add tst-audit-threads-mod1 and
6099 tst-audit-threads-mod2.
6100 Add rules to build tst-audit-threads.
6101 * nptl/tst-audit-threads-mod1.c: New file.
6102 * nptl/tst-audit-threads-mod2.c: Likewise.
6103 * nptl/tst-audit-threads.c: Likewise.
6104 * nptl/tst-audit-threads.h: Likewise.
6105
7e1d4240
JM
61062018-11-30 Joseph Myers <joseph@codesourcery.com>
6107
6108 * scripts/gen-as-const.py: New file.
6109 * scripts/gen-as-const.awk: Remove.
6110 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6111 gen-as-const.py.
6112 ($(objpfx)test-as-const-%.c): Likewise.
6113
ce7387cc
L
61142018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6115
6116 * elf/dl-exception.c: Include <_itoa.h>.
6117
c6a5bdc1
ST
61182018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6119
6120 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6121 returned by __f_setlk.
6122
a5275ba5
L
61232018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6124 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6125
6126 * elf/Makefile (tests-internal): Add tst-create_format1.
6127 * elf/dl-exception.c (_dl_exception_create_format): Support
6128 %x, %lx and %zx.
6129 * elf/tst-create_format1.c: New file.
6130
3a67e81d
CAC
61312018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6132
6133 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6134 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6135 gnulib.)
6136 * argp/argp-help.c (__argp_failure): Likewise.
6137
4975f0c3
MH
61382018-11-29 Mao Han <han_mao@c-sky.com>
6139
6140 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6141 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6142 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6143 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6144 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6145 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6146 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6147 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6148 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6149 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6150 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6151 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6152 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6153 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6154 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6155 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6156 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6157 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6158 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6159 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6160 (R_CKCORE_TLS_TPOFF32): New defines.
6161
250102c8
FW
61622018-11-29 Florian Weimer <fweimer@redhat.com>
6163
6164 * posix/Makefile (before-compile): Remove testcases.h and
6165 ptestcases.h.
6166 (generated): Add testcases.h and ptestcases.h.
6167 (testcases.h, ptestcases.h): Move to $(objpfx).
6168 (runtests.o): Add dependency on testcases.h.
6169 (runptests.o): Add dependency on ptestcases.h.
6170 * posix/testcases.h, posix/ptestcases.h: Remove files.
6171 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6172 not touch posix/testcases.h and posix/ptestcases.h.
6173
96cd0558
FW
61742018-11-28 Florian Weimer <fweimer@redhat.com>
6175
6176 support: Add signal support to support_capture_subprocess_check.
6177 * support/capture_subprocess.h (support_capture_subprocess_check):
6178 Adjust comment and rename parameter.
6179 * support/support_capture_subprocess_check.c
6180 (print_actual_status): New function.
6181 (support_capture_subprocess_check): Support negative
6182 status_or_signal. Call print_actual_status.
6183 * support/tst-support_capture_subprocess.c (do_test): Call
6184 support_capture_subprocess_check.
6185 * libio/tst-vtables-common.c (termination_status)
6186 (init_termination_status): Remove.
6187 (check_for_termination): Adjust support_capture_subprocess_check
6188 call.
6189 (do_test): Remove call to init_termination_status.
6190
530504e3
JM
61912018-11-28 Joseph Myers <joseph@codesourcery.com>
6192
6193 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
6194 source directory instead of a copy.
6195 (CommandList.create_copy_dir): Remove.
6196
9a0b6970
SL
61972018-11-28 Stefan Liebler <stli@linux.ibm.com>
6198
6199 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6200
47d8d9a2
FW
62012018-11-28 Florian Weimer <fweimer@redhat.com>
6202
6203 * support/support.h (support_quote_string): Do not use str
6204 parameter name.
6205
b473b7d8
JM
62062018-11-27 Joseph Myers <joseph@codesourcery.com>
6207
6208 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
6209 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
6210
c74a91de
FW
62112018-11-27 Florian Weimer <fweimer@redhat.com>
6212
6213 * support/support.h (support_quote_string): Declare.
6214 * support/support_quote_string.c: New file.
6215 * support/tst-support_quote_string.c: Likewise.
6216 * support/Makefile (libsupport-routines): Add
6217 support_quote_string.
6218 (tests): Add tst-support_quote_string.
6219
d527c860
FW
62202018-11-27 Florian Weimer <fweimer@redhat.com>
6221
6222 [BZ #23927]
6223 CVE-2018-19591
6224 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
6225 descriptor leak in case of ENODEV error.
6226
979cfed0
RÁE
62272018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
6228
6229 [BZ #19767]
6230 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
6231 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
6232 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
6233
ce035c6e
CD
62342018-11-26 Carlos O'Donell <carlos@redhat.com>
6235
6236 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
6237 Error for unknown lines.
6238
2bd0bfcc
JM
62392018-11-26 Joseph Myers <joseph@codesourcery.com>
6240
6241 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6242 Touch additional files.
6243
affec03b
FW
62442018-11-26 Florian Weimer <fweimer@redhat.com>
6245
6246 [BZ #23907]
6247 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
6248 double-frees.
6249
8ae74ead
RÁE
62502018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
6251
6252 [BZ #19767]
6253 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
6254 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
6255 SHARED. Include sysdep.h.
6256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
6257 ALWAYS_USE_VSYSCALL.
6258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
6259 ALWAYS_USE_VSYSCALL.
6260
1e8bdc3a
RÁE
62612018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
6262
6263 [BZ #19767]
6264 * nptl/Makefile (tests-static): Add tst-cond11-static.
6265 (tests): Likewise.
6266 * nptl/tst-cond11-static.c: New File.
6267 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
6268 tst-affinity-static.
6269 (tests): Likewise.
6270 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
6271 instead of SHARED.
6272 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
6273 (USE_VSYSCALL): Likewise.
6274 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
6275 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
6276 instead of SHARED.
6277 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
6278 SHARED.
6279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
6280 New.
6281
1283c478
JM
62822018-11-23 Joseph Myers <joseph@codesourcery.com>
6283
6284 [BZ #23915]
6285 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6286 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
6287 Undefine.
6288
c089fd80
L
62892018-11-23 H.J. Lu <hongjiu.lu@intel.com>
6290
6291 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
6292 (tst-cet-legacy-1a-ARGS): New.
6293 ($(objpfx)tst-cet-legacy-1a): New target.
6294 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
6295
cc6c89fa
JM
62962018-11-22 Joseph Myers <joseph@codesourcery.com>
6297
95edd05c
JM
6298 * conform/conformtest.py (CompileSubTest.__init__): Set
6299 self.run_early to False.
6300 (ExecuteSubTest.__init__): Likewise.
6301 (HeaderTests.run): Try running all non-optional, non-XFAILed
6302 compilation tests in a single execution of the compiler.
6303
cc6c89fa
JM
6304 * conform/conformtest.py (CompileSubTest): New class.
6305 (ExecuteSubTest): Likewise.
6306 (ElementTest.run): Rename to gen_subtests. Append tests to
6307 self.subtests instead of running them.
6308 (ConstantTest.run): Likewise.
6309 (SymbolTest.run): Likewise.
6310 (TypeTest.run): Likewise.
6311 (TagTest.run): Likewise.
6312 (FunctionTest.run): Likewise.
6313 (VariableTest.run): Likewise.
6314 (MacroFunctionTest.run): Likewise.
6315 (MacroStrTest.run): Likewise.
6316 (HeaderTests.handle_test_line): Generate subtests for tests.
6317 (HeaderTests.run): Run subtests for tests.
6318
a502c529
SN
63192018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6320
6321 * math/Versions (GLIBC_2.29): Add pow.
6322 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
6323 symbol.
6324 * math/w_pow.c: New file.
6325 * sysdeps/i386/fpu/w_pow.c: New file.
6326 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
6327 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
6328 and add necessary aliases.
6329 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
6330 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
6331 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6332 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6333 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6334 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6335 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6336 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6337 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6338 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6339 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6340 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6341 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6342 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6343 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6348 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6349 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6350 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6351 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6352 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6353 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6354 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6355 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
6356 __pow.
6357 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
6358 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
6359 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
6360
718d6542
SN
63612018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6362
6363 * math/Versions (GLIBC_2.29): Add log2.
6364 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
6365 symbol.
6366 * math/w_log2.c: New file.
6367 * sysdeps/i386/fpu/w_log2.c: New file.
6368 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
6369 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
6370 and add necessary aliases.
6371 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
6372 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
6373 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6374 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6375 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6376 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6377 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6378 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6379 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6380 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6381 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6382 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6383 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6384 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6385 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6390 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6391 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6392 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6393 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6394 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6395 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6396 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6397
f29b7c49
SN
63982018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6399
6400 * math/Versions (GLIBC_2.29): Add log.
6401 * math/w_log_compat.c (__log_compat): Change to versioned compat
6402 symbol.
6403 * math/w_log.c: New file.
6404 * sysdeps/i386/fpu/w_log.c: New file.
6405 * sysdeps/ia64/fpu/e_log.S: Update.
6406 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
6407 and add necessary aliases.
6408 * sysdeps/ieee754/dbl-64/w_log.c: New file.
6409 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
6410 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6411 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6412 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6413 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6414 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6415 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6416 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6417 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6418 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6419 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6420 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6421 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6422 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6427 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6428 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6429 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6430 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6431 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6432 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6433 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6434 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
6435 __log.
6436 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
6437 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
6438 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
6439 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
6440
c20a1056
SN
64412018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
6442
6443 * math/Versions (GLIBC_2.29): Add exp and exp2.
6444 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
6445 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
6446 * math/w_exp_compat.c (__exp_compat): Likewise.
6447 * math/w_exp.c: New file.
6448 * math/w_exp2.c: New file.
6449 * sysdeps/i386/fpu/w_exp.c: New file.
6450 * sysdeps/i386/fpu/w_exp2.c: New file.
6451 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
6452 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
6453 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
6454 and add necessary aliases.
6455 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
6456 and add necessary aliases.
6457 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
6458 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
6459 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
6460 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
6461 * sysdeps/mach/hurd/i386/libm.abilist: Update.
6462 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
6463 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
6464 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
6465 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
6466 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6467 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
6468 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
6469 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
6470 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
6471 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
6472 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
6473 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
6474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
6475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
6476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
6478 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
6479 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
6480 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
6481 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
6482 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
6483 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
6484 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
6485 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
6486 (__ieee754_exp): Rename to __exp.
6487 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
6488 (__ieee754_exp): Rename to __exp.
6489 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
6490 (__ieee754_exp): Rename to __exp.
6491 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
6492 __exp.
6493 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
6494
bcdaad21
DD
64952018-11-20 DJ Delorie <dj@redhat.com>
6496
6497 * malloc/malloc.c (tcache_entry): Add key field.
6498 (tcache_put): Set it.
6499 (tcache_get): Likewise.
6500 (_int_free): Check for double free in tcache.
6501 * malloc/tst-tcfree1.c: New.
6502 * malloc/tst-tcfree2.c: New.
6503 * malloc/Makefile: Run the new tests.
6504 * manual/probes.texi: Document memory_tcache_double_free probe.
6505
6506 * dlfcn/dlerror.c (check_free): Prevent double frees.
6507
5770c0ad
WD
65082018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
6509
6510 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
6511
9a62a939
JM
65122018-11-20 Joseph Myers <joseph@codesourcery.com>
6513
6514 * conform/conformtest.py (ElementTest.run): Use unique identifiers
6515 in tests. Use names for format arguments.
6516 (ConstantTest.run): Likewise.
6517 (SymbolTest.run): Likewise.
6518 (TypeTest.run): Likewise.
6519 (TagTest.run): Likewise.
6520 (FunctionTest.run): Likewise.
6521 (VariableTest.run): Likewise.
6522 (MacroFunctionTest.run): Likewise.
6523 (MacroStrTest.run): Likewise.
6524 (HeaderTests.__init__): Set self.num_tests.
6525 (HeaderTests.handle_test_line): Set test.num. Increment
6526 self.num_tests.
6527
b15b1a95
ST
65282018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6529
6530 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
6531 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
6532 SEEK_SET.
6533
0c7f97ae
MH
65342018-11-19 Mao Han <han_mao@c-sky.com>
6535
6536 * scripts/config.guess: Update to version 2018-08-29.
6537 * scripts/config.sub: Update to version 2018-08-29.
6538
35e3fbc4
FW
65392018-11-19 Florian Weimer <fweimer@redhat.com>
6540
6541 support: Print timestamps in timeout handler.
6542 * support/support_test_main.c (print_timestamp): New function.
6543 (signal_handler): Use it to print the termination time and the
6544 time of the last write to standard output.
6545
c75772e3
ZW
65462018-11-16 Zack Weinberg <zackw@panix.com>
6547 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6548
6549 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
6550 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
6551 argument.
6552 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
6553 and add flags argument. Check flags instead of __ldbl_is_dbl when
6554 deciding whether to set is_long_double.
6555 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
6556 passing zero for flags argument.
6557 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
6558
6559 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6560 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
6561 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
6562 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
6563 variable names. Remove libc_hidden_def/libc_hidden_proto from
6564 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
6565 longer called from within the library.
6566 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
6567 for __nldbl___vstrfmon_l, declare it explicitly.
6568
6569 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
6570
346ef23f
ST
65712018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
6572
6573 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
6574 macros
6575 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
6576 F_SETLK64, F_SETLKW64, respectively.
6577 * sysdeps/mach/hurd/f_setlk.c: New file.
6578 * sysdeps/mach/hurd/f_setlk.h: New file.
6579 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
6580 f_setlk.
6581 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
6582 (__libc_fcntl): Move non-flock operations to...
6583 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
6584 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
6585
de20b81a
PE
65862018-11-15 Paul Eggert <eggert@cs.ucla.edu>
6587
5d8af156
PE
6588 mktime: DEBUG_MKTIME cleanup
6589 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
6590 And it’s no longer needed now that glibc and Gnulib both have
6591 their own testing mechanisms for mktime.
6592 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
6593
86aece3b
PE
6594 mktime: fix non-EOVERFLOW errno handling
6595 [BZ#23789]
6596 mktime was not properly reporting failures when the underlying
6597 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
6598 them like EOVERFLOW failures, and set errno to EOVERFLOW.
6599 The problem could happen on non-glibc platforms, with Gnulib.
6600 * time/mktime.c (guess_time_tm): Remove, replacing with ...
6601 (tm_diff): ... this simpler function, which does not change errno.
6602 All callers changed to deal with errno themselves.
6603 (ranged_convert, __mktime_internal): Return failure immediately if
6604 the underlying function reports any failure other than EOVERFLOW.
6605 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
6606 gap code fails.
6607
f6b3331b
PE
6608 mktime: fix bug with Y2038 DST transition
6609 [BZ#23789]
6610 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
6611 mishandle a DST transition that jumps over the Y2038 boundary.
6612 No such DST transitions are known so this is only a theoretical
6613 bug, but we might as well do things right.
6614
efbdddc3
PE
6615 mktime: make more room for overflow
6616 [BZ#23789]
6617 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
6618 This is so that we can add tm_diff results to a previous guess,
6619 which will be useful in a later patch.
6620
6c90d759
PE
6621 mktime: simplify offset guess
6622 [BZ#23789]
6623 * time/mktime.c (__mktime_internal): Omit excess precision.
6624
32c12f3f
PE
6625 mktime: new test for mktime failure
6626 [BZ#23789]
6627 Based on a test suggested by Albert Aribaud in:
6628 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
6629 * time/Makefile (tests): Add bug-mktime4.
6630 * time/bug-mktime4.c: New file.
6631
de20b81a
PE
6632 mktime: fix EOVERFLOW bug
6633 [BZ#23789]
6634 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
6635 Include libc-config.h, not config.h, for __set_errno.
6636 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
6637
8c6c3fb0
ST
66382018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
6639
6640 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
6641 __attribute_copy__ to copy attributes from name. Drop static qualifier
6642 to avoid warnings about leaf attribute not having effect on static
6643 functions.
6644
6923f6db
FW
66452018-11-13 Florian Weimer <fweimer@redhat.com>
6646
6647 * malloc/malloc.c (fastbin_push_entry): New function.
6648 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
6649 (REMOVE_FB): Remove macro.
6650 (_int_malloc): Use fastbin_pop_entry and reindent.
6651 (_int_free): Use fastbin_push_entry.
6652 (malloc_consolidate): Use atomic_exchange_acquire.
6653
53f5c659
JM
66542018-11-13 Joseph Myers <joseph@codesourcery.com>
6655
0c096dcf
JM
6656 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
6657 alias attribute, not with strong_alias.
6658
9c4b457e
JM
6659 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
6660 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
6661 with additional parameter thread.
6662 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
6663 in terms of __hidden_ver2.
6664 (hidden_tls_def): New macro.
6665 (libc_hidden_tls_def): Likewise.
6666 (rtld_hidden_tls_def): Likewise.
6667 (libm_hidden_tls_def): Likewise.
6668 (libmvec_hidden_tls_def): Likewise.
6669 (libresolv_hidden_tls_def): Likewise.
6670 (librt_hidden_tls_def): Likewise.
6671 (libdl_hidden_tls_def): Likewise.
6672 (libnss_files_hidden_tls_def): Likewise.
6673 (libnsl_hidden_tls_def): Likewise.
6674 (libnss_nisplus_hidden_tls_def): Likewise.
6675 (libutil_hidden_tls_def): Likewise.
6676 (libutil_hidden_tls_def): Likweise.
6677 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
6678 libc_hidden_tls_def.
6679 (__sim_disabled_exceptions_thread): Likewise.
6680 (__sim_round_mode_thread): Likewise.
6681
53f5c659
JM
6682 * sysdeps/sparc/sparc-ifunc.h [SHARED]
6683 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
6684 copy attributes from name.
6685
092dfde6
JM
66862018-11-12 Joseph Myers <joseph@codesourcery.com>
6687
f578f97b
JM
6688 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
6689 Use __attribute_copy__ to copy attributes from name.
6690
9a7c643a
JM
6691 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
6692 with __hidden_ver1 call.
6693 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
6694 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
6695 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
6696 (__cosf): Do not declare here.
6697 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
6698 (__sincosf): Do not declare here.
6699 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
6700 (__sinf): Do not declare here.
6701
092dfde6
JM
6702 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
6703 (__BIG_ENDIAN): Likewise.
6704 (__BYTE_ORDER): Likewise.
6705 (strong_alias): Likewise.
6706 (_strong_alias): Likewise.
6707
1ecba1fa
FW
67082018-11-12 Florian Weimer <fweimer@redhat.com>
6709
6710 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
6711 function. Move after the definition of in_smallbin_range. Do not
6712 use __builtin_expect for paths that lead to a noreturn function.
6713 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
6714 because it is unclear whether this is in fact an unlikely
6715 condition.
6716 (_int_malloc, _int_free): Adjust.
6717 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
6718 variables.
6719 * malloc/arena.c (heap_trim): Likewise.
6720
434c34bd
ST
67212018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6722
6723 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
6724 it, free it if needed.
6725 (reauthenticate): Test and use ccwdir.
6726 (child_init_port): In non-resetids case, test and use ccwdir.
6727 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
6728 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
6729 * hurd/hurd/port.h (_hurd_port_move): New function.
6730 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
6731 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
6732 * hurd/Versions (_hurd_port_move): Export function.
6733 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
6734 symbol.
58bb655a
ST
6735 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
6736 of dtablesize for allocating dtable_cloexec.
434c34bd 6737
1626a1cf
MS
67382018-11-09 Martin Sebor <msebor@redhat.com>
6739
6740 * include/libc-symbols.h (__attribute_copy__): Define macro unless
6741 it's already defined.
6742 (_strong_alias): Use __attribute_copy__.
6743 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
6744 * misc/sys/cdefs.h (__attribute_copy__): New macro.
6745 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
6746 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
6747 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
6748 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
6749 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
6750 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
6751 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
6752 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
6753 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
6754 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
6755 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
6756 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
6757 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
6758 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
6759 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
6760 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
6761 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
6762
968ed530
GG
67632018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6764
6765 * misc/tst-efgcvt.c: Include support/check.h and
6766 support/test-driver.c. Do not include test-skeleton.c.
6767 (error_count): Remove.
6768 (output_error): Replace increments to error_count with calls to
6769 support_record_failure.
6770 (output_r_error): Likewise.
6771 (special): Likewise.
6772 (do_test): Unconditionally return zero.
6773 (TEST_FUNCTION): Remove.
6774
c3ec0972
JM
67752018-11-09 Joseph Myers <joseph@codesourcery.com>
6776
91faaa93
JM
6777 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
6778 not $(@D)/scratch.
6779 ($(linknamespace-header-tests)): Likewise.
6780
c3ec0972
JM
6781 * conform/conformtest.py: New file.
6782 * conform/conformtest.pl: Remove.
6783 * conform/GlibcConform.pm: Likewise.
6784 * conform/glibcconform.py (KEYWORDS_C90): New constant.
6785 (KEYWORDS_C99): Likewise.
6786 (KEYWORDS): Likewise.
6787 * conform/Makefile ($(conformtest-header-tests)): Use
6788 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
6789 option. Use --header instead of --headers.
6790 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
6791 function entries.
6792 * conform/data/spawn.h-data: Likewise.
6793 * conform/data/fcntl.h-data (openat): Add space after function
6794 name.
6795 * conform/data/wchar.h-data (wcscasecmp): Likewise.
6796 (wcscasecmp_l): Likewise.
6797 * conform/data/termios.h-data (c_cc): Add space after element
6798 name.
6799
43257c33
GG
68002018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6801
6802 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
6803 instead of manually comparing and reporting mismatching strings.
6804 * misc/tst-ldbl-error.c (do_one_test): Likewise.
6805 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
6806
e5de3b5b
JM
68072018-11-08 Joseph Myers <joseph@codesourcery.com>
6808
6809 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
6810 __ASSUME_SOCKETCALL.
6811 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6812 (__ASSUME_SOCKETCALL): Remove.
6813 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6814 (__ASSUME_SOCKETCALL): Likewise.
6815 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6816 (__ASSUME_SOCKETCALL): Likewise.
6817 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6818 (__ASSUME_SOCKETCALL): Likewise.
6819 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6820 (__ASSUME_SOCKETCALL): Likewise.
6821 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6822 (__ASSUME_SOCKETCALL): Likewise.
6823 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6824 (__ASSUME_SOCKETCALL): Likewise.
6825
d524fa6c
L
68262018-11-08 H.J. Lu <hongjiu.lu@intel.com>
6827
6828 [BZ #23509]
6829 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
6830 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
6831 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
6832 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
6833 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
6834 lc_unknown.
6835
ac806026
AH
68362018-11-08 Alexandra Hájková <ahajkova@redhat.com>
6837
6838 [BZ #17630]
6839 * resolv/tst-resolv-network.c: Add test for getnetbyname.
6840
596cc360
JM
68412018-11-07 Joseph Myers <joseph@codesourcery.com>
6842
6843 [BZ #23867]
6844 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6845 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6846 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6847 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
6848
00c86a37
AZ
68492018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6850
6851 * support/support_test_compare_string.c
6852 (support_test_compare_string): Fix printf format.
6853
1df872fd
FW
68542018-11-07 Florian Weimer <fweimer@redhat.com>
6855
6856 Implement TEST_COMPARE_STRING.
6857 * support/check.h (TEST_COMPARE_STRING): Define.
6858 (support_test_compare_string): Declare.
6859 * support/Makefile (libsupport-routines): Add
6860 support_test_compare_string.
6861 (tests): Add tst-test_compare_string.
6862 * support/support_test_compare_string.c: New file.
6863 * support/tst-test_compare_string.c: Likewise.
6864
295132ff
AS
68652018-11-07 Andreas Schwab <schwab@suse.de>
6866
6867 [BZ #23864]
6868 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
6869 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
6870 Undef.
6871
e143ceba
JM
68722018-11-06 Joseph Myers <joseph@codesourcery.com>
6873
6874 [BZ #23862]
6875 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6876 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
6877 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
6878 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
6879 Likewise.
6880
4a938cb2
FW
68812018-11-06 Florian Weimer <fweimer@redhat.com>
6882
6883 [BZ #17405]
6884 * posix/Makefile (routines): Add spawn_faction_addchdir.
6885 (tests): Add tst-spawn-chdir.
6886 * posix/Versions (GLIBC_2.29): Add
6887 posix_spawn_file_actions_addchdir_np.
6888 * posix/spawn_faction_addchdir.c: New file.
6889 * posix/spawn_faction_destroy.c
6890 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
6891 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
6892 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
6893 chdir_action.
6894 * posix/tst-spawn-chdir.c: New file.
6895 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
6896 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6897 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6898 posix_spawn_file_actions_addchdir_np.
6899 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6900 Likewise.
6901 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6902 Likewise.
6903 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6904 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6905 Likewise.
6906 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6907 Likewise.
6908 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6909 Likewise.
6910 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6911 Likewise.
6912 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6913 Likewise.
6914 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6915 Likewise.
6916 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6917 (GLIBC_2.29): Likewise.
6918 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6919 (GLIBC_2.29): Likewise.
6920 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6921 (GLIBC_2.29): Likewise.
6922 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6923 (GLIBC_2.29): Likewise.
6924 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6925 Likewise.
6926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6927 (GLIBC_2.29): Likewise.
6928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6929 (GLIBC_2.29): Likewise.
6930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6931 (GLIBC_2.29): Likewise.
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6933 (GLIBC_2.29): Likewise.
6934 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6935 Likewise.
6936 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6937 Likewise.
6938 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6939 Likewise.
6940 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6941 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6942 Likewise.
6943 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6944 Likewise.
6945 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6946 Likewise.
6947 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6948 Likewise.
6949
7597b0c7
GG
69502018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6951
6952 * misc/Makefile (tests): Add tst-ldbl-error.
6953 * misc/tst-ldbl-error.c: New file.
6954
9771e6cb
GG
69552018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6956
6957 * misc/Makefile (tests): Add tst-ldbl-warn.
6958 * misc/tst-ldbl-warn.c: New file.
6959
2c03961f
GG
69602018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6961
6962 * argp/Makefile (tests): Add tst-ldbl-argp.
6963 * argp/tst-ldbl-argp.c: New file.
6964
6d6ee046
AS
69652018-11-05 Arjun Shankar <arjun@redhat.com>
6966
6967 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
6968 __gconv_path_elem and call __gconv_get_path unconditionally.
6969
bd3b0fba
AS
69702018-11-05 Andreas Schwab <schwab@suse.de>
6971
6972 [BZ #22927]
6973 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
6974 creating the first helper thread failed.
6975
2e96e980
ST
69762018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6977
6978 * sysdeps/mach/hurd/msync.c: New file.
6979
6e36266c
FW
69802018-11-02 Florian Weimer <fweimer@redhat.com>
6981
6982 * support/shell-container.c (copy_func): Call
6983 support_copy_file_range instead of copy_file_range to support
6984 cross-device copies.
6985
599f7bee
FW
69862018-11-02 Florian Weimer <fweimer@redhat.com>
6987
6988 * support/test-container.c: Include <libc-pointer-arith.h> for
6989 ALIGN_UP.
6990
ff48ea67
ZL
69912018-11-01 Zong Li <zong@andestech.com>
6992
af1d5782
ZL
6993 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
6994 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
6995 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
6996 (__FP_FRAC_SET_8): Add implementation for RV32 use.
6997
ff48ea67
ZL
6998 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
6999 variable to avoid overlap arguments.
7000
daea71c2
JM
70012018-11-01 Joseph Myers <joseph@codesourcery.com>
7002
eac4405a
JM
7003 * posix/bug-regex22.c (main): Use puts with distinct error
7004 messages for unexpected success of re_compile_pattern, not printf
7005 with NULL argument to %s.
7006
6f30e59f
JM
7007 * stdio-common/bug22.c: Include <libc-diag.h>.
7008 (do_test): Disable -Wformat-overflow= warnings around fprintf
7009 calls outputting more than INT_MAX characters.
7010 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7011 around printf call with NULL %s argument.
7012
daea71c2
JM
7013 [BZ #23848]
7014 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7015 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7016 Undefine.
7017 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7018 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7019 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7020 (__ASSUME_SENDTO_SYSCALL): Likewise.
7021 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7022 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7023 [!__arch64__].
7024 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7025 (__ASSUME_CONNECT_SYSCALL): Likewise.
7026 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7027 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7028 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7029 Define.
7030 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7031 Likewise.
7032 [__LINUX_KERNEL_VERSION >= 0x040400]
7033 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7034 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7035 Remove.
7036 (listen): Likewise.
7037 (setsockopt): Likewise.
7038
8e3c00db
FN
70392018-11-01 Fredrik Noring <noring@nocrew.org>
7040
7041 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7042 with the ISA override.
7043
9c3dbdbe
RAE
70442018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7045
7046 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7047 #endif.
7048
e3a88b3e
ST
70492018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7050
a67377e7 7051 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 7052 translate the error message.
a67377e7
ST
7053 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7054 printing trailing whitespaces refused by git.
7055 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7056 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 7057 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 7058
3ca235ed
JM
70592018-10-30 Joseph Myers <joseph@codesourcery.com>
7060
7061 * conform/linknamespace.py: New file.
7062 * conform/linknamespace.pl: Remove file.
7063 * conform/Makefile ($(linknamespace-header-tests)): Use
7064 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7065 option.
7066
60708030
FW
70672018-10-30 Florian Weimer <fweimer@redhat.com>
7068
7069 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7070 memory leaks.
7071
a91e9301
FW
70722018-10-30 Florian Weimer <fweimer@redhat.com>
7073
7074 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7075
07da99aa
FW
70762018-10-30 Florian Weimer <fweimer@redhat.com>
7077
7078 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7079 support_blob_repeat.
7080
f5e7e959
FW
70812018-10-30 Florian Weimer <fweimer@redhat.com>
7082
7083 Avoid spurious test failures in stdlib/test-bz22786.
7084 * support/Makefile (libsupport-routines): Add blob_repeat.
7085 (tests): Add tst-support_blob_repeat.
7086 * support/blob_repeat.h: New file.
7087 * support/blob_repeat.c: Likewise.
7088 * support/tst-support_blob_repeat.c: Likewise.
7089 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7090 support_blob_repeat_allocate.
7091
2dd12baa
AS
70922018-10-30 Andreas Schwab <schwab@suse.de>
7093
7094 [BZ #23125]
7095 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7096 Don't use tail call.
7097 * elf/tst-unwind-main.c: New file.
7098 * elf/Makefile (tests): Add tst-unwind-main.
7099 (CFLAGS-tst-unwind-main.c): Define.
7100
6b5c8607 71012018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
7102
7103 [BZ #23791]
7104 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7105 n_cs_precedes to 0.
7106 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7107
c6982f7e
JM
71082018-10-29 Joseph Myers <joseph@codesourcery.com>
7109
954cf3c2
JM
7110 * conform/glibcconform.py: Do not import shutil.
7111 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7112 of mkdtemp.
7113
c6982f7e
JM
7114 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7115 critic_missing for versions before 3.4.
7116 * configure: Regenerated.
7117 * manual/install.texi (Tools for Compilation): Document
7118 requirement for Python to build glibc.
7119 * INSTALL: Regenerated.
7120 * Rules [PYTHON]: Make code unconditional.
7121 * benchtests/Makefile [PYTHON]: Likewise.
7122 * conform/Makefile [PYTHON]: Likewise.
7123 * manual/Makefile [PYTHON]: Likewise.
7124 * math/Makefile [PYTHON]: Likewise.
7125
46a7f24c
ST
71262018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7127
7128 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 7129 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 7130 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
7131 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7132 _hurd_intr_rpc_msg_about_to global point to start of controlled
7133 assembly snippet. Make it check canceled flag.
7134 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7135 the _hurd_intr_rpc_msg_about_to point.
7136 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7137 issue, remove cancel flag check.
46a7f24c 7138
e5b8756d
JM
71392018-10-26 Joseph Myers <joseph@codesourcery.com>
7140
7141 * scripts/build-many-glibcs.py: Remove compatibility for missing
7142 os.cpu_count and re.fullmatch.
7143
ba5b14c7
SN
71442018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7145
7146 [BZ #23822]
7147 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7148 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7149 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7150
fe61f17c
JM
71512018-10-25 Joseph Myers <joseph@codesourcery.com>
7152
7153 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7154 macro.
7155
7c5e34d7
FW
71562018-10-25 Florian Weimer <fweimer@redhat.com>
7157
7158 [BZ #23562]
7159 [BZ #23821]
7160 XFAIL siginfo_t si_band conform test on sparc64.
7161 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7162 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7163 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7164 (conformtest-xfail-conds): Add sparc64-linux.
7165 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7166 sparc64.
7167 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7168
5b784e88
JM
71692018-10-25 Joseph Myers <joseph@codesourcery.com>
7170
7171 * elf/elf.h (NT_MIPS_DSP): New macro.
7172 (NT_MIPS_FP_MODE): Likewise.
7173
41432ebe
ZL
71742018-10-25 Zong Li <zong@andestech.com>
7175
7176 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7177 name by adding the file extension (.so).
7178
d026efea
ST
71792018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7180
7181 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
7182 (test-xfail-ISO11/threads.h/linknamespace,
7183 test-xfail-ISO11/threads.h/conform): Add.
7184
b71ac2b9
JM
71852018-10-24 Joseph Myers <joseph@codesourcery.com>
7186
7187 * math/gen-libm-test.py: Import os.
7188 (ALL_FLOATS_MANUAL): New constant.
7189 (ALL_FLOATS_SUFFIX): Likewise.
7190 (Ulps.all_functions): New function.
7191 (real_all_ulps): Likewise.
7192 (generate_err_table_sub): Likewise.
7193 (generate_err_table): Likewise.
7194 (main): Handle -s and -m options.
7195 * manual/libm-err-tab.pl: Remove.
7196 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
7197 instead of libm-err-tab.pl.
7198 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
7199 != no].
7200 * manual/install.texi (Tools for Compilation): Document
7201 requirement for Python to build manual.
7202 * INSTALL: Regenerated.
7203
6b5c8607 72042018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
7205
7206 * bits/time64.h: New file.
7207 * include/time.h: Replace internal_time_t with __time64_t.
7208 * posix/bits/types (__time64_t): Add.
7209 * stdlib/Makefile: Add bits/time64.h to includes.
7210 * time/tzfile.c: Replace internal_time_t with __time64_t.
7211
97d91fcc 72122018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
7213
7214 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
7215 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
7216 __posix_spawn_file_actions_init, __posix_spawnattr_init,
7217 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
7218 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
7219 prototype.
7220 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
7221 * posix/spawn_faction_addclose.c
7222 (__posix_spawn_file_actions_addclose): Add hidden definition.
7223 * posix/spawn_faction_adddup2.c
7224 (__posix_spawn_file_actions_adddup2): Likewise.
7225 * posix/spawn_faction_destroy.c
7226 (__posix_spawn_file_actions_destroy): Likewise.
7227 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
7228 Likewise.
7229 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
7230 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
7231 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
7232 Likewise.
7233 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
7234 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
7235 Likewise.
7236
2954daf0
AS
72372018-10-24 Andreas Schwab <schwab@suse.de>
7238
7239 [BZ #18093]
7240 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
7241 format cache.
7242 * elf/cache.c (print_cache): Likewise.
7243
6b5c8607 72442018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
7245
7246 * bits/timesize.h: New file.
7247 * stdlib/Makefile (headers): Add bits/timesize.h.
7248 * sysdeps/unix/sysv/linux/bits/msq-pad.h
7249 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
7250 * sysdeps/unix/sysv/linux/bits/sem-pad.h
7251 (__SEM_PAD_AFTER_TIME): Likewise.
7252 * sysdeps/unix/sysv/linux/bits/shm-pad.h
7253 (__SHM_PAD_AFTER_TIME): Likewise.
7254 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
7255 (__MSQ_PAD_BEFORE_TIME): Likewise.
7256 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
7257 (__SEM_PAD_BEFORE_TIME): Likewise.
7258 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
7259 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7260 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
7261 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
7262 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
7263 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
7264 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
7265 (__SEM_PAD_BEFORE_TIME): Likewise.
7266 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
7267 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
7268 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
7269 (__MSQ_PAD_BEFORE_TIME): Likewise.
7270 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
7271 (__SEM_PAD_BEFORE_TIME): Likewise.
7272 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
7273 (__SHM_PAD_BEFORE_TIME): Likewise.
7274 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
7275 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7276 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
7277
7cc65773
L
72782018-10-24 H.J. Lu <hongjiu.lu@intel.com>
7279
7280 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
7281 USE_RDTSCP is defined.
7282 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
7283 USE_RDTSCP is defined.
7284
c3d8dc45
AZ
72852018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7286
18ad0de6
AZ
7287 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
7288 defined.
7289
c3d8dc45
AZ
7290 [BZ #23709]
7291 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
7292 independently of other flags.
7293
f1034472
FW
72942018-10-23 Florian Weimer <fweimer@redhat.com>
7295
7296 * time/tst-mktime2.c (N_STRINGS): Remove.
7297 (set_timezone): New function.
7298 (spring_forward_gap): Call it. Use FAIL_EXIT1.
7299 (mktime_test1): Report localtime failure and check errno value.
7300 Use TEST_COMPARE.
7301 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
7302 (do_test): Remove alarm call. Use set_timezone and array_length.
7303
367d7cc2
AS
73042018-10-23 Andreas Schwab <schwab@suse.de>
7305
7306 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
7307 (__start_context): Use END instead of PSEUDO_END.
7308
be8ff03f
JM
73092018-10-22 Joseph Myers <joseph@codesourcery.com>
7310
029ad711
JM
7311 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7312 version to 4.19.
7313
8190520f
JM
7314 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7315 version to 4.19.
7316
be8ff03f
JM
7317 [BZ #23793]
7318 * wcsmbs/c32rtomb.c: New file.
7319 * wcsmbs/mbrtoc32.c: Likewise.
7320 * wcsmbs/tst-c32-state.c: Likewise.
7321 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
7322 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
7323 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
7324 (tests): Add tst-c32-state.
7325 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
7326 $(gen-locales).
7327
2dd8e58c
L
73282018-10-21 H.J. Lu <hongjiu.lu@intel.com>
7329
7330 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
7331 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
7332
d0a74159
JM
73332018-10-19 Joseph Myers <joseph@codesourcery.com>
7334
7335 [BZ #23794]
7336 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
7337 pair and return 0 in that case, and use saved character to
7338 interpret following character.
7339 * wcsmbs/tst-c16-surrogate.c: New file.
7340 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
7341 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
7342 Depend on $(gen-locales)
7343
f997b4be
IYM
73442018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
7345
7346 [BZ #23562]
7347 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
7348 (struct siginfo_t): Use correct type for si_band.
7349
53b2bb87
FW
73502018-10-19 Florian Weimer <fweimer@redhat.com>
7351
7352 [BZ #23689]
7353 * resource/bits/types/struct_rusage.h (struct rusage): Update
7354 comment on struct. Remove extraneous field comment.
7355
0a271c8f
DM
73562018-10-18 David S. Miller <davem@davemloft.net>
7357
94a3a27f
DM
7358 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
7359 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
7360 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
7361 sysdep_routines in subdir elf.
7362 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
7363 version for __vdso_clock_gettime.
7364 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
7365 Define.
7366 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7367 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7368
0a271c8f
DM
7369 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7370
72771e53
L
73712018-10-17 H.J. Lu <hongjiu.lu@intel.com>
7372
7373 * sysdeps/i386/init-arch.h: Removed.
7374 * sysdeps/i386/i586/init-arch.h: Likewise.
7375 * sysdeps/i386/i686/init-arch.h: Likewise.
7376 * sysdeps/i386/i686/hp-timing.h: Likewise.
7377 * sysdeps/x86_64/hp-timing.h: Likewise.
7378 * sysdeps/i386/isa.h: New file.
7379 * sysdeps/i386/i586/isa.h: Likewise.
7380 * sysdeps/i386/i686/isa.h: Likewise.
7381 * sysdeps/x86_64/isa.h: Likewise.
7382 * sysdeps/x86/hp-timing.h: New file.
7383 * sysdeps/x86/init-arch.h: Include <isa.h>.
7384
c2b7ccad
JM
73852018-10-17 Joseph Myers <joseph@codesourcery.com>
7386
7387 * math/libm-test-pow.inc (pow_test_data): Do not allow
7388 divide-by-zero exception for pow(+/- 0, -Inf).
7389
26756e57
ZW
73902018-10-17 Zack Weinberg <zackw@panix.com>
7391
7392 * manual/job.texi (Job Control is Optional): Remove node, as
7393 job control has not been optional in quite some time.
7394 (Job Control): Mention briefly that systems older than
7395 POSIX.1-2001 might not support job control.
7396 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
7397 defined on systems conforming to POSIX.1-2001.
7398
c5288d37
AS
73992018-10-17 Arjun Shankar <arjun@redhat.com>
7400
7401 [BZ #22062]
7402 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
7403 indentation.
7404 * (__gconv_read_conf): Mark function static.
7405 * (once): New static variable.
7406 * (__gconv_load_conf): New function.
7407 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
7408 * iconv/gconv_db.c (once): Remove static variable.
7409 * (__gconv_compare_alias): Use __gconv_load_conf instead of
7410 __gconv_read_conf.
7411 * (__gconv_find_transform): Likewise.
7412 * iconv/tst-iconv-mt.c: New test.
7413 * iconv/Makefile: Add tst-iconv_mt.
7414
8c8d2a8a
JM
74152018-10-17 Joseph Myers <joseph@codesourcery.com>
7416
7417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
7418 bits/shm-pad.h.
7419 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
7420 (shmatt_t): Define as __syscall_ulong_t.
7421 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
7422 and [__SHM_PAD_AFTER_TIME].
7423 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
7424 Define shm_segsz and associated padding based on
7425 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
7426 Use __syscall_ulong_t instead of unsigned long int.
7427 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
7428 unsigned long int.
7429 [__USE_MISC] (struct shm_info): Likewise.
7430 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
7431 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
7432 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
7433 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
7434 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
7435 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
7436 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
7437 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
7438 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7439 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7440 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7441
7442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
7443 bits/shmlba.h.
7444 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
7445 (SHMLBA): Remove macro.
7446 (__getpagesize): Remove function declaration.
7447 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
7448 <bits/shmlba.h>.
7449 (SHMLBA): Remove macro.
7450 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
7451 <bits/shmlba.h>.
7452 (SHMLBA): Remove macro.
7453 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
7454 <bits/shmlba.h>.
7455 (SHMLBA): Remove macro.
7456 (__getpagesize): Remove function declaration.
7457 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
7458 <bits/shmlba.h>.
7459 (SHMLBA): Remove macro.
7460 (__getshmlba): Remove function declaration.
7461 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
7462 (SHMLBA): Remove macro.
7463 (__getpagesize): Remove function declaration.
7464 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
7465 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
7466 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7467 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
7468 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
7469 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
7470 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
7471 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
7472 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
7473 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
7474
403b4feb
SL
74752018-10-17 Stefan Liebler <stli@linux.ibm.com>
7476
7477 [BZ #23275]
7478 * nptl/tst-mutex10.c: New File.
7479 * nptl/Makefile (tests): Add tst-mutex10.
7480 (tst-mutex10-ENV): New variable.
7481 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
7482 Ensure that elision path is used if elision is available.
7483 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
7484 Likewise.
7485 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
7486 Likewise.
7487 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
7488 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
7489 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
7490 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
7491 Likewise.
7492 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
7493 (__pthread_mutex_cond_lock_adjust): Likewise.
7494 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7495 Likewise.
7496 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
7497 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7498 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7499 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
7500 Add comments.
7501 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7502 Use atomic_load_relaxed and atomic_store_relaxed.
7503 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
7504 Use atomic_store_relaxed.
7505
ce5a7de6
AS
75062018-10-17 Andreas Schwab <schwab@suse.de>
7507
7508 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
7509 * crypt/badsalttest.c (TIMEOUT): Likewise.
7510 * crypt/sha256c-test.c (TIMEOUT): Likewise.
7511 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
7512 * io/test-lfs.c (TIMEOUT): Likewise.
7513 * libio/tst-atime.c (TIMEOUT): Likewise.
7514 * localedata/tst-leaks.c (TIMEOUT): Likewise.
7515 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
7516 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
7517 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
7518 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
7519 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
7520 * nptl/tst-cond11.c (TIMEOUT): Likewise.
7521 * nptl/tst-cond14.c (TIMEOUT): Likewise.
7522 * nptl/tst-cond15.c (TIMEOUT): Likewise.
7523 * nptl/tst-cond24.c (TIMEOUT): Likewise.
7524 * nptl/tst-cond25.c (TIMEOUT): Likewise.
7525 * nptl/tst-kill2.c (TIMEOUT): Likewise.
7526 * nptl/tst-kill3.c (TIMEOUT): Likewise.
7527 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
7528 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
7529 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
7530 * nptl/tst-once2.c (TIMEOUT): Likewise.
7531 * nptl/tst-once3.c (TIMEOUT): Likewise.
7532 * nptl/tst-once4.c (TIMEOUT): Likewise.
7533 * nptl/tst-robust8.c (TIMEOUT): Likewise.
7534 * nptl/tst-robust9.c (TIMEOUT): Likewise.
7535 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
7536 * nptl/tst-sem14.c (TIMEOUT): Likewise.
7537 * nptl/tst-sem6.c (TIMEOUT): Likewise.
7538 * nptl/tst-signal3.c (TIMEOUT): Likewise.
7539 * nptl/tst-spin4.c (TIMEOUT): Likewise.
7540 * nptl/tst-tls3.c (TIMEOUT): Likewise.
7541 * nptl/tst-tls4.c (TIMEOUT): Likewise.
7542 * posix/tst-chmod.c (TIMEOUT): Likewise.
7543 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
7544 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
7545 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
7546 * posix/tst-regex2.c (TIMEOUT): Likewise.
7547 * posix/tst-waitid.c (TIMEOUT): Likewise.
7548 * rt/tst-aio.c (TIMEOUT): Likewise.
7549 * rt/tst-aio10.c (TIMEOUT): Likewise.
7550 * rt/tst-aio4.c (TIMEOUT): Likewise.
7551 * rt/tst-aio5.c (TIMEOUT): Likewise.
7552 * rt/tst-aio6.c (TIMEOUT): Likewise.
7553 * rt/tst-aio64.c (TIMEOUT): Likewise.
7554 * rt/tst-aio7.c (TIMEOUT): Likewise.
7555 * rt/tst-aio9.c (TIMEOUT): Likewise.
7556 * rt/tst-clock.c (TIMEOUT): Likewise.
7557 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
7558 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
7559 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
7560 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
7561 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
7562 * rt/tst-timer4.c (TIMEOUT): Likewise.
7563 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
7564 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
7565 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
7566 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
7567 * time/tst-ftime.c (TIMEOUT): Likewise.
7568 * timezone/tst-tzset.c (TIMEOUT): Likewise.
7569
6b5c8607 75702018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
7571
7572 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
7573 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
7574 for thunderX2.
7575
bcdb1bfa
JM
75762018-10-15 Joseph Myers <joseph@codesourcery.com>
7577
7578 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7579 bits/sem-pad.h.
7580 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
7581 instead of <bits/wordsize.h>.
7582 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
7583 and [__SEM_PAD_AFTER_TIME].
7584 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
7585 __syscall_ulong_t instead of unsigned long int.
7586 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
7587 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
7588 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
7589 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
7590 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
7591 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
7592 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
7593 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
7594 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7595 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7596 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7597
f4efbdfb
PE
75982018-10-14 Paul Eggert <eggert@cs.ucla.edu>
7599
620a5d4c
PE
7600 regex: simplify by using intprops.h
7601 [BZ#23744]
7602 * posix/regex_internal.h [_LIBC]: Include intprops.h.
7603 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
7604 intprops.h defines them.
7605
f4efbdfb
PE
7606 regex: __builtin_expect → __glibc_unlikely
7607 [BZ#23744]
7608 This refactoring was prompted by a problem when the regex code is
7609 used as part of Gnulib and when the builder’s compiler does not grok
7610 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
7611 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
7612 Although this refactoring does not fix the problem directly,
7613 we might as well have Gawk use the now-preferred glibc style for when
7614 __builtin_expect is unavailable.
7615 * posix/regex_internal.h (BE): Remove.
7616 All uses replaced by __glibc_unlikely or __glibc_likely.
7617
9f9feb6d
JM
76182018-10-11 Joseph Myers <joseph@codesourcery.com>
7619
7620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7621 bits/msq-pad.h.
7622 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
7623 instead of <bits/wordsize.h>.
7624 (msgqnum_t): Define as __syscall_ulong_t.
7625 (msglen_t): Likewise.
7626 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
7627 and [__MSQ_PAD_AFTER_TIME].
7628 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
7629 __syscall_ulong_t instead of unsigned long int.
7630 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
7631 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
7632 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
7633 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
7634 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
7635 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
7636 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
7637 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
7638 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7639 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7640 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7641
b9c0f6c1
JM
76422018-10-10 Joseph Myers <joseph@codesourcery.com>
7643
2a4b25fa
JM
7644 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
7645 (struct shmid_ds): Condition padding after time fields on
7646 [__WORDSIZE == 32].
7647 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
7648 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
7649 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7650
19e62f26
JM
7651 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
7652 (struct semid_ds): Condition padding after time fields on
7653 [__WORDSIZE == 32].
7654 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
7655 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
7656 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
7657 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7658
b9c0f6c1
JM
7659 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
7660 (struct msqid_ds): Condition padding after time fields on
7661 [__WORDSIZE == 32].
7662 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
7663 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
7664 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
7665 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7666
97785a61
SN
76672018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7668
7669 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
7670
ed643089
SN
76712018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
7672
7673 * libio/tst-readline.c (TIMEOUT): Define.
7674
5a580643
PE
76752018-10-08 Paul Eggert <eggert@cs.ucla.edu>
7676
7677 mktime fix for Gnulib + coreutils
7678 [BZ#23745]
7679 This fix affects only Gnulib. Problem discovered when
7680 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
7681 * time/mktime.c:
7682 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
7683 Do not define since it is not used. Defining an unused static
7684 function prompts a warning from GCC when Coreutils is configured
7685 with --enable-gcc-warnings.
7686
c892ae04
LS
76872018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7688
7689 * benchtests/scripts/compare_bench.py (main): set float type on
7690 threshold argument.
7691
a68ec8ea
RL
76922018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
7693
7694 [BZ #23740]
7695 * localedata/locales/kl_GL (mon): Update, the relative case.
7696 (alt_mon): Add, fill with month names in the nominative case.
7697 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
7698 (d_fmt): Set to "%b %d %Y".
7699
a1987621
JM
77002018-10-04 Joseph Myers <joseph@codesourcery.com>
7701
47c49251
JM
7702 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
7703 <bits/mman-linux.h>.
7704 (PROT_READ): Don't define here.
7705 (PROT_WRITE): Likewise.
7706 (PROT_EXEC): Likewise.
7707 (PROT_NONE): Likewise.
7708 (PROT_GROWSDOWN): Likewise.
7709 (PROT_GROWSUP): Likewise.
7710 (MAP_SHARED): Likewise.
7711 (MAP_PRIVATE): Likewise.
7712 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
7713 [__USE_MISC] (MAP_FILE): Likewise.
7714 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
7715 [__USE_MISC] (MAP_ANON): Likewise.
7716 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
7717 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
7718 (MCL_CURRENT): Likewise.
7719 (MCL_FUTURE): Likewise.
7720 (MCL_ONFAULT): Likewise.
7721 [__USE_MISC] (MADV_NORMAL): Likewise.
7722 [__USE_MISC] (MADV_RANDOM): Likewise.
7723 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
7724 [__USE_MISC] (MADV_WILLNEED): Likewise.
7725 [__USE_MISC] (MADV_DONTNEED): Likewise.
7726 [__USE_MISC] (MADV_FREE): Likewise.
7727 [__USE_MISC] (MADV_REMOVE): Likewise.
7728 [__USE_MISC] (MADV_DONTFORK): Likewise.
7729 [__USE_MISC] (MADV_DOFORK): Likewise.
7730 [__USE_MISC] (MADV_HWPOISON): Likewise.
7731 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
7732 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
7733 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
7734 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
7735 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
7736 (__MAP_ANONYMOUS): New macro.
7737 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
7738 <bits/mman-linux.h> inclusion.
7739 (MAP_FIXED): Likewise.
7740 (MS_SYNC): Likewise.
7741 (MS_ASYNC): Likewise.
7742 (MS_INVALIDATE): Likewise.
7743 [__USE_MISC] (MADV_MERGEABLE): Likewise.
7744 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
7745 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
7746 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
7747 [__USE_MISC] (MADV_DONTDUMP): Likewise.
7748 [__USE_MISC] (MADV_DODUMP): Likewise.
7749 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
7750 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
7751
a1987621
JM
7752 [BZ #23735]
7753 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
7754 Define.
7755 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
7756 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
7757 Add test-nldbl-redirect.
7758 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
7759 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
7760 $(objpfx)libnldbl_nonshared.a.
7761
e7624d70
SL
77622018-10-04 Stefan Liebler <stli@linux.ibm.com>
7763
7764 * support/support.h (support_objdir_elf_ldso): New variable.
7765 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
7766 * support/Makefile (CFLAGS-support_paths.c): Add definition
7767 for OBJDIR_ELF_LDSO_PATH.
7768 * support/test-container.c (main): Search for the ld.so
7769 which is also used by the testsuite.
7770
dae3ed95
RL
77712018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
7772
7773 [BZ #20209]
7774 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
7775 should be "sap" rather than "sab".
7776 (day): Fix spelling of Sunday, should be "sapaat" rather than
7777 "sabaat".
7778
f346b5b3
JM
77792018-10-02 Joseph Myers <joseph@codesourcery.com>
7780
7781 * math/libm-test-fma.inc (fma_test_data): Add more tests.
7782
4a06ceea
MJ
77832018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
7784
7785 [BZ #19444]
7786 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
7787 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
7788 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
7789
a06fc4a5
AZ
77902018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7791
7792 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
7793
a1ccc065
L
77942018-10-02 H.J. Lu <hongjiu.lu@intel.com>
7795
7796 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
7797 Add -mrtm.
7798 (CFLAGS-elision-unlock.c): Likewise.
7799 (CFLAGS-elision-timed.c): Likewise.
7800 (CFLAGS-elision-trylock.c): Likewise.
7801 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
7802
0b727ed4
AZ
78032018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7804
7805 [BZ #21037]
7806 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
7807 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
7808 new fd_to_filename interface.
7809 * libio/freopen64.c (freopen64): Likewise.
7810 * libio/tst-memstream.h: New file.
7811 * libio/tst-memstream4.c: Likewise.
7812 * libio/tst-wmemstream4.c: Likewise.
7813 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
7814 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
7815 and remove internal dynamic allocation.
7816
d0e91e8c
JM
78172018-10-01 Joseph Myers <joseph@codesourcery.com>
7818
7819 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
7820 (MREMAP_MAYMOVE): Do not define here.
7821 [__USE_GNU] (MREMAP_FIXED): Likewise.
7822 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
7823 (MREMAP_MAYMOVE): Define here instead.
7824 [__USE_GNU] (MREMAP_FIXED): Likewise.
7825 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
7826 (MREMAP_MAYMOVE): Remove.
7827 [__USE_GNU] (MREMAP_FIXED): Likewise.
7828
c52944e8
JM
78292018-09-28 Joseph Myers <joseph@codesourcery.com>
7830
7831 * math/fromfp.h: Do not include <math_private.h>.
7832 * math/s_cacosh_template.c: Likewise.
7833 * math/s_casin_template.c: Likewise.
7834 * math/s_casinh_template.c: Likewise.
7835 * math/s_ccos_template.c: Likewise.
7836 * math/s_cproj_template.c: Likewise.
7837 * math/s_fdim_template.c: Likewise.
7838 * math/s_fmaxmag_template.c: Likewise.
7839 * math/s_fminmag_template.c: Likewise.
7840 * math/s_iseqsig_template.c: Likewise.
7841 * math/s_ldexp_template.c: Likewise.
7842 * math/s_nextdown_template.c: Likewise.
7843 * math/w_log1p_template.c: Likewise.
7844 * math/w_scalbln_template.c: Likewise.
7845 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
7846 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
7847 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
7848 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
7849 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
7850 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
7851 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
7852 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
7853 * sysdeps/i386/fpu/s_atanl.c: Likewise.
7854 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
7855 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
7856 * sysdeps/i386/fpu/s_fdim.c: Likewise.
7857 * sysdeps/i386/fpu/s_logbl.c: Likewise.
7858 * sysdeps/i386/fpu/s_rintl.c: Likewise.
7859 * sysdeps/i386/fpu/s_significandl.c: Likewise.
7860 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
7861 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
7862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7863 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7864 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
7865 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7866 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7867 * sysdeps/ieee754/k_standardf.c: Likewise.
7868 * sysdeps/ieee754/k_standardl.c: Likewise.
7869 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7870 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7871 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
7872 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7873 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
7877 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
7878 * sysdeps/ieee754/s_signgam.c: Likewise.
7879 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7880 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
7881 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
7882 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
7883 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
7884 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
7885 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
7886 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
7887 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
7888 * sysdeps/riscv/rvd/s_finite.c: Likewise.
7889 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
7890 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
7891 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
7892 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
7893 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
7894 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
7895 * sysdeps/riscv/rvf/fegetround.c: Likewise.
7896 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
7897 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
7898 * sysdeps/riscv/rvf/fesetround.c: Likewise.
7899 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
7900 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
7901 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
7902 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
7903 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
7904 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
7905 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
7906 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
7907 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
7908 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
7909 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
7910 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
7911 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
7912 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
7913 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
7914 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
7915 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
7916 <math_private.h>.
7917 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
7918
7b1f9406
L
79192018-09-28 H.J. Lu <hongjiu.lu@intel.com>
7920
7921 [BZ #23716]
7922 * sysdeps/i386/dl-cet.c: Removed.
7923 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
7924 prototype.
7925 (_dl_runtime_profile_shstk): Likewise.
7926 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
7927 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
7928
7a16bdbb
AZ
79292018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7930
7931 [BZ #23579]
7932 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
7933 do_test_with_invalid_iov): New tests.
7934 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
7935 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
7936 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
7937 errno is ENOSYS.
7938 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
7939 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
7940 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
7941
9755bc46
JM
79422018-09-27 Joseph Myers <joseph@codesourcery.com>
7943
81dca813
JM
7944 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
7945 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
7946 (MATH_REDIRECT_BINARY_ARGS): New macro.
7947 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
7948 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
7949 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
7950 header inclusion.
7951 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
7952 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7953 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
7954 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7955 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7956 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7957 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7959 Likewise.
7960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7961 Likewise.
7962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
7964 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
7965 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
7966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
7967 Likewise.
7968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
7969 Likewise.
7970 * sysdeps/generic/math_private_calls.h
7971 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
7972 Do not declare and define as an inline function.
7973 * math/divtc3.c (__divtc3): Use copysign functions instead of
7974 __copysign variants.
7975 * math/multc3.c (__multc3): Likewise.
7976 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
7977 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
7978 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7979 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7980 Likewise.
7981 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7982 (__ieee754_yn): Likewise.
7983 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7984 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
7985 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7986 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7987 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
7988 (__sin): Likewise.
7989 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
7990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7991 Likewise.
7992 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7993 Likewise.
7994 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7995 Likewise.
7996 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7997 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7998 Likewise.
7999 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8000 (__ieee754_ynf): Likewise.
8001 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8002 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8003 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8004 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8005 Likewise.
8006 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8007 (__ieee754_ynl): Likewise.
8008 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8009 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8010 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8011 Likewise.
8012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8013 (__ieee754_ynl): Likewise.
8014 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8015 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8016 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8017 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8018 Likewise.
8019 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8020 (__ieee754_ynl)
8021 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8022 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8023 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8024 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8025 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8026
9755bc46
JM
8027 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8028 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8029 using MATH_REDIRECT.
8030 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8031 header inclusion.
8032 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8033 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8034 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8035 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8036 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8037 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8038 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8043 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8044 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8045 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8046 (round): Redirect to __round.
8047 (__roundl): Call round instead of __round.
8048 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8049 Remove macro.
8050 [_ARCH_PWR5X] (__roundf): Likewise.
8051 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8052 functions instead of __round variants.
8053 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8054 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8055 Likewise.
8056 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8057 Likewise.
8058 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8059 Likewise.
8060 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8061 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8062 __lroundl.
8063 (__ieee754_expl): Call roundl instead of __roundl.
8064
f841c97e
AS
80652018-09-27 Andreas Schwab <schwab@suse.de>
8066
8067 [BZ #23717]
8068 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8069 (do_test): Make st1 static.
8070
6ca8284e
AS
80712018-09-26 Andreas Schwab <schwab@suse.de>
8072
8073 [BZ #23707]
8074 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8075 * elf/Makefile (tests): Add tst-unwind-ctor.
8076 (modules-names): Add tst-unwind-ctor-lib.
8077 ($(objpfx)tst-unwind-ctor): Depend on
8078 $(objpfx)tst-unwind-ctor-lib.so.
8079
61d8b5fe
JM
80802018-09-26 Joseph Myers <joseph@codesourcery.com>
8081
8082 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8083 file. Most contents moved from ....
8084 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8085 and include <bits/mman-map-flags-generic.h>.
8086 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8087 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8088 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8089 <bits/mman-map-flags-generic.h>.
8090 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8091 macros defined in <bits/mman-map-flags-generic.h>.
8092 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8093 <bits/mman-map-flags-generic.h>.
8094 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8095 defined in <bits/mman-map-flags-generic.h>.
8096
46341286
AS
80972018-09-26 Andreas Schwab <schwab@suse.de>
8098
8099 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8100 output.
8101
b5c45e83
AZ
81022018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8103 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8104 Fangrui Song <maskray@google.com>
8105
8106 [BZ #20480]
8107 * config.make.in (have-textrel_ifunc): New define.
8108 * configure.ac: Add check if linker supports textrel relocation with
8109 ifunc.
8110 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8111 tst-ifunc-textrel.
8112 (CFLAGS-tst-ifunc-textrel.c): New rule.
8113 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8114 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8115 * elf/tst-ifunc-textrel.c: New file.
8116
8ea4d2b7
JM
81172018-09-25 Joseph Myers <joseph@codesourcery.com>
8118
d62f9ec0
JM
8119 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8120 <bits/procfs-prregset.h>.
8121 (prgregset_t): Define using __prgregset_t.
8122 (prfpregset_t): Define using __prfpregset_t.
8123 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8124 (sysdep_headers): Add bits/procfs-prregset.h.
8125 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8126 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8127 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8128 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8129
d0d8eb43
JM
8130 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8131 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8132 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8133 pr_uid and pr_gid.
8134 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8135 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8136 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8137 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8138 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8139 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8140 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8141 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8142 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8143 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8144 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8145 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8146 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8147 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8148 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8149 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8150 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8151 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8152 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8153 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8154 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8155 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8156 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8157 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8158
8ea4d2b7
JM
8159 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8160 AArch64 version. Include <bits/procfs.h>.
8161 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8162 (sysdep_headers): Add bits/procfs.h.
8163 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8164 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8165 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8166 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8167 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8168 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8169 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8170 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8171 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8172 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8173 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8174 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8175 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8176 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8177 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8178 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8179 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
8180
c7027166
AZ
81812018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8182
8183 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
8184 Use libsupport.
8185
335a3b0a
AS
81862018-09-25 Arjun Shankar <arjun@redhat.com>
8187
8188 * iconv/gconv_int.h (__gconv_path_elem): Remove.
8189 (__gconv_max_path_elem_len): Likewise.
8190 (__gconv_nmodules): Likewise.
8191 (__gconv_get_path): Likewise.
8192 (path_elem): Move to ...
8193 * iconv/gconv_conf.c: ... here.
8194 (__gconv_get_path): Mark function static.
8195 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
8196 * iconv/gconv_open.c: ... here.
8197
462d348c
AS
81982018-09-24 Andreas Schwab <schwab@suse.de>
8199
8200 * scripts/haveversions.awk: New file.
8201 * Makerules ($(common-objpfx)Versions.def)
8202 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8203 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8204 Move rules ...
8205 * Makeconfig ($(common-objpfx)Versions.def)
8206 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
8207 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
8208 ... here.
8209 ($(common-objpfx)Versions.mk): New rule. Include it.
8210 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
8211 Emit error if build-obsolete-nsl = yes.
8212 * manual/install.texi (Configuring and compiling): Describe
8213 --enable-obsolete-nsl as unavaiable after version 2.28.
8214 * INSTALL: Regenerate.
8215
f0458cf4
AZ
82162018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8217
8218 * NEWS: Add note about new TLE support on powerpc64le.
8219 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
8220 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
8221 __ununsed1.
8222 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
8223 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
8224 * sysdeps/powerpc/powerpc32/sysdep.h,
8225 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
8226 ABORT_TRANSACTION): Remove macros.
8227 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
8228 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
8229 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
8231 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8232 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
8233 usage.
8234 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
8235
434d45fd
RL
82362018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
8237
8238 [BZ #10425]
8239 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
8240 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
8241 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
8242 which is the same as in it_IT.
8243 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
8244 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
8245
d90c9b1a
JM
82462018-09-20 Joseph Myers <joseph@codesourcery.com>
8247
7abf97be
JM
8248 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8249 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
8250 using MATH_REDIRECT.
8251 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
8252 header inclusion.
8253 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8255 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8257 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
8260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
8261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
8262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
8263 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8264 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8265 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8266 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8267 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
8268 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
8269 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8270 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8271 (ceil): Redirect to __ceil.
8272 (floor): Redirect to __floor.
8273 (trunc): Redirect to __trunc.
8274 (__truncl): Call trunc instead of __trunc.
8275 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
8276 Remove macro.
8277 [_ARCH_PWR5X] (__truncf): Likewise.
8278 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
8279 trunc functions instead of __trunc variants.
8280 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8281 Likewise.
8282 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8283 Likewise.
8284 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8285 Likewise.
8286 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8287 Likewise.
8288
d90c9b1a
JM
8289 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
8290 [__i586__ || __pentium__].
8291 [__i486__]: Handle explicitly.
8292 (HAS_CPUID): Define to 1 if above macros are undefined.
8293 (HAS_I586): Likewise.
8294 (HAS_I686): Likewise.
8295
db9a8ad4
FW
82962018-09-20 Florian Weimer <fweimer@redhat.com>
8297
8298 * misc/tst-gethostid.c: New file.
8299 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
8300 (tst-gethostid): Link with -ldl.
8301
1214ba06
MY
83022018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
8303
8304 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
8305 value from gethostbyname_r.
8306
791b350d
CD
83072018-09-19 Carlos O'Donell <carlos@redhat.com>
8308
8309 * stdlib/tst-setcontext9.c (f1): Rename to...
8310 (f1a): ... this.
8311 (f1b): New function implementing lower half of f1 in alternate stack.
8312
8e6fd2bd
PE
83132018-09-19 Paul Eggert <eggert@cs.ucla.edu>
8314
e1080e7e
PE
8315 Fix mktime localtime offset confusion
8316 [BZ #23603]
8317 * include/time.h (__mktime_internal): The localtime offset is now
8318 of type long int instead of time_t. This is the longstanding type
8319 in glibc, and it is more than enough to represent difference
8320 between localtime and gmtime even if it is 32 bits and time_t is
8321 64. Changing it now will let us avoid an unnecessary change when
8322 time_t is widened to 64 bits on 32-bit platforms.
8323 * time/mktime-internal.h (mktime_offset_t): Now long int.
8324
8e6fd2bd
PE
8325 Merge mktime, timegm from upstream Gnulib
8326 [BZ #23603][BZ #16346]
8327 This fixes some obscure problems with integer overflow.
8328 Although it looks scary, it is almost all a byte-for-byte copy
8329 from Gnulib, and the Gnulib code has been tested reasonably well.
8330 * include/intprops.h: New file, copied from Gnulib.
8331 * include/verify.h, time/mktime-internal.h:
8332 New tiny files, simplified from Gnulib.
8333 * time/mktime.c: Copy from Gnulib. This has the following changes:
8334 Do not include config.h if DEBUG_MKTIME is nonzero.
8335 Include stdbool.h, intprops.h, verify.h.
8336 Include string.h only if needed.
8337 Include stdlib.h on MS-Windows.
8338 Include mktime-internal.h.
8339 (DEBUG_MKTIME): Default to 0, and simplify later uses.
8340 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
8341 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
8342 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
8343 simplify later conditionals; default the others to zero. Use
8344 these conditionals to express only the code needed on the current
8345 platform. In uses of these conditionals, explicitly spell out how
8346 _LIBC affects things, so it’s easier to review from a glibc
8347 viewpoint.
8348 (WRAPV): Remove; no longer needed now that we have
8349 systematic overflow checking.
8350 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
8351 compartmentalize tzset issues. Move system-dependent tzsettish
8352 code here from mktime.
8353 (verify): Remove; now done by verify.h. All uses changed.
8354 (long_int): Use a more-conservative definition, to avoid
8355 integer overflow.
8356 (SHR): Remove, replacing with ...
8357 (shr): New function, which means we needn’t worry about side
8358 effects in args, and conversion analysis is simpler.
8359 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
8360 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
8361 (time_t_avg, time_t_add_ok): Remove.
8362 (mktime_min, mktime_max): New constants.
8363 (leapyear, isdst_differ): Use bool for booleans.
8364 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
8365 Use long_int, not time_t, for mktime differences.
8366 (long_int_avg): New function, replacing time_t_avg.
8367 INT_ADD_WRAPV replaces time_t_add_ok.
8368 (guess_time_tm): 6th arg is now long_int, not time_t const *.
8369 All uses changed.
8370 (convert_time): New function.
8371 (ranged_convert): Use it.
8372 (__mktime_internal): Last arg now points to mktime_offset_t, not
8373 time_t. All uses changed. This is a no-op on glibc, where
8374 mktime_offset_t is always time_t. Use int, not time_t, for UTC
8375 offset guess. Directly check for integer overflow instead of
8376 using a heuristic that works only 99.9...% of the time.
8377 Access *OFFSET only once, to avoid an unlikely race if the
8378 compiler delays a load and if this cascades into a signed integer
8379 overflow.
8380 (mktime): Move tzsettish code to my_tzset, and move
8381 localtime_offset to within mktime so that it doesn’t
8382 need a separate ifdef.
8383 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
8384 instead of localtime.
8385 * time/timegm.c: Copy from Gnulib. This has the following changes:
8386 Include mktime-internal.h.
8387 [!_LIBC]: Include config.h and time.h. Do not include
8388 timegm.h or time_r.h. Make __mktime_internal a macro,
8389 and include mktime-internal.h to get its declaration.
8390 (timegm): Temporary is now mktime_offset_t, not time_t.
8391 This affects only Gnulib.
8392
83a552b0
WD
83932018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
8394
8395 [BZ #23637]
8396 * string/test-strstr.c (pr23637): New function.
8397 (test_main): Add tests with longer needles.
8398 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
8399 * string/strstr.c (AVAILABLE): Likewise.
8400
d7347278
SN
84012018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8402
8403 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
8404
424c4f60
SN
84052018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
8406
8407 * NEWS: Mention pow improvements.
8408 * math/Makefile (type-double-routines): Add e_pow_log_data.
8409 * sysdeps/generic/math_private.h (__exp1): Remove.
8410 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
8411 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
8412 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
8413 contraction.
8414 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
8415 (exp_inline): Remove.
8416 (__ieee754_exp): Only single double input is handled.
8417 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
8418 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
8419 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
8420 (__pow_log_data): Define.
8421 * sysdeps/ieee754/dbl-64/upow.h: Remove.
8422 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
8423 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
8424 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
8425 contraction.
8426 (CFLAGS-e_pow-fma4.c): Likewise.
8427
e4e4fde5
PE
84282018-09-18 Paul Eggert <eggert@cs.ucla.edu>
8429
dab9c348
PE
8430 Simplify tzfile fstat failure code
8431 [BZ #21716]
8432 * time/tzfile.c (__tzfile_read): Simplify slightly.
8433
e4e4fde5
PE
8434 Fix tzfile low-memory assertion failure
8435 [BZ #21716]
8436 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
8437 when registering time zone abbreviations.
8438
50bc59ca
JM
84392018-09-18 Joseph Myers <joseph@codesourcery.com>
8440
d3a43e49
JM
8441 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
8442 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
8443 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8444 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8445 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
8446 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
8447 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
8448 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8449 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8450
50bc59ca
JM
8451 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
8452 __ceil.
8453 (__ceill): Call ceil instead of __ceil.
8454 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
8455 __floor.
8456 (__floorl): Call floor instead of __floor.
8457
89983cb3
JM
84582018-09-17 Joseph Myers <joseph@codesourcery.com>
8459
71223ef9
JM
8460 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8461 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
8462 using MATH_REDIRECT.
8463 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
8464 header inclusion.
8465 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
8466 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8467 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8468 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
8469 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8470 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8471 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8472 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
8474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
8475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
8476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
8477 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8478 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8481 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
8482 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
8483 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
8484 Remove macro.
8485 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
8486 functions instead of __ceil variants.
8487 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8488 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8489 Likewise.
8490 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8491 Likewise.
8492 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8493 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8494 Likewise.
8495 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8496 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8497
89983cb3
JM
8498 [BZ #21286]
8499 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
8500 constant.
8501 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
8502 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
8503 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
8504 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
8505 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
8506 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
8507 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
8508 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
8509 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
8510 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
8511 (ILL_BADIADDR): Remove constant.
8512 (TRAP_BRANCH): Likewise.
8513 (TRAP_HWBKPT): Likewise.
8514
e44acb20
JM
85152018-09-14 Joseph Myers <joseph@codesourcery.com>
8516
3f7f1d18
JM
8517 [BZ #23656]
8518 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
8519 Remove [_MIPS_SIM = _ABIN32] conditional case.
8520 (struct elf_prpsinfo): Likewise.
8521
d59f3e5e
JM
8522 [BZ #23649]
8523 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
8524 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
8525 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
8526 Likewise.
8527 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
8528 elf_prpsinfo): Likewise.
8529 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
8530 elf_prpsinfo): Likewise.
8531 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
8532 Likewise.
8533
f29b6f17
JM
8534 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8535 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
8536 using MATH_REDIRECT.
8537 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
8538 header inclusion.
8539 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
8540 * sysdeps/alpha/fpu/s_rint.c: Likewise.
8541 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
8542 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8545 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
8546 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8547 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8548 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8549 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
8550 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
8551 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
8552 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8553 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8554 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8555 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8556 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
8557 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8561 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8562 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
8563 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
8564 * sysdeps/x86_64/fpu/math_private.h: Remove file.
8565 * math/e_scalb.c (invalid_fn): Use rint functions instead of
8566 __rint variants.
8567 * math/e_scalbf.c (invalid_fn): Likewise.
8568 * math/e_scalbl.c (invalid_fn): Likewise.
8569 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8570 Likewise.
8571 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8572 Likewise.
8573 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8574 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
8575 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8576 Likewise.
8577 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8578 Likewise.
8579 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8580 Likewise.
8581 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
8582 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
8583
e44acb20
JM
8584 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8585 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
8586 New macro.
8587 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8588 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
8589 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8590 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
8591 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8592 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
8593 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8594 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
8595 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8596 && !NO_MATH_REDIRECT] (floor): Likewise.
8597 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
8598 header inclusion.
8599 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8601 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8602 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
8603 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8606 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
8608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
8609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
8610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
8611 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8612 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8615 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
8616 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
8617 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
8618 Remove macro.
8619 [_ARCH_PWR5X] (__floorf): Likewise.
8620 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
8621 inline function.
8622 [__SSE4_1__] (__floorf): Likewise.
8623 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
8624 instead of __floor variants.
8625 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
8626 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
8627 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
8628 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
8629 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
8630 * math/w_tgamma_compat.c (__tgamma): Likewise.
8631 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
8632 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
8633 * math/w_tgammal_compat.c (__tgammal): Likewise.
8634 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
8635 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8636 Likewise.
8637 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8638 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
8639 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8640 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8641 Likewise.
8642 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8643 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
8644 Likewise.
8645 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8646 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
8647 Likewise.
8648 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8649 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
8650 Likewise.
8651 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8652 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
8653 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
8654 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
8655 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8656 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8657
221e4bab
JM
86582018-09-12 Joseph Myers <joseph@codesourcery.com>
8659
8660 * elf/Makefile (modules-names-tests): New variable.
8661
3e08ff54
SN
86622018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8663
8664 * NEWS: Mention log2 improvements.
8665 * math/Makefile (type-double-routines): Add e_log2_data.
8666 * sysdeps/i386/fpu/e_log2_data.c: New file.
8667 * sysdeps/ia64/fpu/e_log2_data.c: New file.
8668 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
8669 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
8670 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
8671 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
8672 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
8673
f41b0a43
SN
86742018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8675
8676 * NEWS: Mention log improvement.
8677 * math/Makefile (type-double-routines): Add e_log_data.
8678 * sysdeps/i386/fpu/e_log_data.c: New file.
8679 * sysdeps/ia64/fpu/e_log_data.c: New file.
8680 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
8681 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
8682 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
8683 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
8684 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
8685 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
8686
5a274db4
L
86872018-09-12 H.J. Lu <hongjiu.lu@intel.com>
8688 Xuepeng Guo <xuepeng.guo@intel.com>
8689
8690 [BZ #23606]
8691 * sysdeps/i386/start.S: Include <sysdep.h>
8692 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
8693 enabled. Add cfi_undefined (eip).
8694
b1176270
JM
86952018-09-11 Joseph Myers <joseph@codesourcery.com>
8696
4e7fbdd7
JM
8697 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
8698 (MOVQ): Likewise.
8699 (EXTRACT_WORDS64): Likewise.
8700 (INSERT_WORDS64): Likewise.
8701 (GET_FLOAT_WORD): Likewise.
8702 (SET_FLOAT_WORD): Likewise.
8703
b1176270
JM
8704 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
8705 argument.
8706 (Config.build_gcc): Use --disable-libsanitizer for first GCC
8707 build, but not for second build if --full-gcc. Use
8708 --enable-languages=all for second build if --full-gcc.
8709 (get_parser): Add --full-gcc option.
8710 (main): Update call to Context.
8711
527f355e
RL
87122018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
8713
8714 [BZ #10797]
8715 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
8716 Single Quotation Mark).
8717 (thousands_sep): Likewise.
8718 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
8719 * localedata/locales/it_IT (thousands_sep): Use ".".
8720 (grouping): Use "3;3".
8721
7244f13d
JM
87222018-09-10 Joseph Myers <joseph@codesourcery.com>
8723
8724 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8725 x86_64 and i686 configs using --enable-obsolete-rpc
8726 --enable-obsolete-nsl.
8727
38245425
SL
87282018-09-06 Stefan Liebler <stli@linux.ibm.com>
8729
8730 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8731
28669f86
SL
87322018-09-06 Stefan Liebler <stli@linux.ibm.com>
8733
8734 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
8735 Increment size of new_argv by one.
8736
a33650d1
RL
87372018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
8738
8739 [BZ #17426]
8740 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
8741 * localedata/locales/ar_IN (d_fmt): Likewise.
8742 * localedata/locales/bhb_IN (d_fmt): Likewise.
8743 * localedata/locales/bho_IN (d_fmt): Likewise.
8744 * localedata/locales/bn_BD (d_fmt): Likewise.
8745 * localedata/locales/bn_IN (d_fmt): Likewise.
8746 * localedata/locales/doi_IN (d_fmt): Likewise.
8747 * localedata/locales/gu_IN (d_fmt): Likewise.
8748 * localedata/locales/hi_IN (d_fmt): Likewise.
8749 * localedata/locales/hne_IN (d_fmt): Likewise.
8750 * localedata/locales/kn_IN (d_fmt): Likewise.
8751 * localedata/locales/mag_IN (d_fmt): Likewise.
8752 * localedata/locales/mai_IN (d_fmt): Likewise.
8753 * localedata/locales/mjw_IN (d_fmt): Likewise.
8754 * localedata/locales/ml_IN (d_fmt): Likewise.
8755 * localedata/locales/mni_IN (d_fmt): Likewise.
8756 * localedata/locales/mr_IN (d_fmt): Likewise.
8757 * localedata/locales/pa_IN (d_fmt): Likewise.
8758 * localedata/locales/raj_IN (d_fmt): Likewise.
8759 * localedata/locales/sat_IN (d_fmt): Likewise.
8760 * localedata/locales/sd_IN (d_fmt): Likewise.
8761 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
8762 * localedata/locales/ta_IN (d_fmt): Likewise.
8763 * localedata/locales/ta_LK (d_fmt): Likewise.
8764 * localedata/locales/tcy_IN (d_fmt): Likewise.
8765 * localedata/locales/ur_IN (d_fmt): Likewise.
8766
8767 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
8768 * localedata/locales/ks_IN (d_fmt): Likewise.
8769 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
8770
8771 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
8772 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
8773 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
8774 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
8775
d114e6a7
SN
87762018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
8777
8778 * NEWS: Mention exp and exp2 improvements.
8779 * math/Makefile (libm-support): Remove t_exp.
8780 (type-double-routines): Add math_err and e_exp_data.
8781 * sysdeps/aarch64/libm-test-ulps: Update.
8782 * sysdeps/arm/libm-test-ulps: Update.
8783 * sysdeps/i386/fpu/e_exp_data.c: New file.
8784 * sysdeps/i386/fpu/math_err.c: New file.
8785 * sysdeps/i386/fpu/t_exp.c: Remove.
8786 * sysdeps/ia64/fpu/e_exp_data.c: New file.
8787 * sysdeps/ia64/fpu/math_err.c: New file.
8788 * sysdeps/ia64/fpu/t_exp.c: Remove.
8789 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
8790 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
8791 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
8792 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
8793 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
8794 * sysdeps/ieee754/dbl-64/math_config.h: New file.
8795 * sysdeps/ieee754/dbl-64/math_err.c: New file.
8796 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
8797 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
8798 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
8799 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
8800 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
8801 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
8802 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
8803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8805
b9d8c474
JM
88062018-09-05 Joseph Myers <joseph@codesourcery.com>
8807
b7cdc2ae
JM
8808 * sysdeps/alpha/fpu/math_private.h: Remove.
8809
b9d8c474
JM
8810 * sysdeps/generic/math_private.h
8811 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
8812 Move this inline function ....
8813 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
8814 * include/math.h [!_ISOMAC]: To here....
8815
418d99e6
JM
88162018-09-04 Joseph Myers <joseph@codesourcery.com>
8817
8818 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
8819 code ....
8820 [!FE_HAVE_ROUNDING_MODES]: And this code ....
8821 * include/fenv.h [!_ISOMAC]: ... to here.
8822 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
8823 (feraiseexcept): Likewise.
8824 * math/fromfp.h: Do not include <fenv_private.h>.
8825 * math/s_cexp_template.c: Likewise.
8826 * math/s_csin_template.c: Likewise.
8827 * math/s_csinh_template.c: Likewise.
8828 * math/s_ctan_template.c: Likewise.
8829 * math/s_ctanh_template.c: Likewise.
8830 * math/s_iseqsig_template.c: Likewise.
8831 * math/w_acos_compat.c: Likewise.
8832 * math/w_acosf_compat.c: Likewise.
8833 * math/w_acosl_compat.c: Likewise.
8834 * math/w_asin_compat.c: Likewise.
8835 * math/w_asinf_compat.c: Likewise.
8836 * math/w_asinl_compat.c: Likewise.
8837 * math/w_j0_compat.c: Likewise.
8838 * math/w_j0f_compat.c: Likewise.
8839 * math/w_j0l_compat.c: Likewise.
8840 * math/w_j1_compat.c: Likewise.
8841 * math/w_j1f_compat.c: Likewise.
8842 * math/w_j1l_compat.c: Likewise.
8843 * math/w_jn_compat.c: Likewise.
8844 * math/w_jnf_compat.c: Likewise.
8845 * math/w_log10_compat.c: Likewise.
8846 * math/w_log10f_compat.c: Likewise.
8847 * math/w_log10l_compat.c: Likewise.
8848 * math/w_log2_compat.c: Likewise.
8849 * math/w_log2f_compat.c: Likewise.
8850 * math/w_log2l_compat.c: Likewise.
8851 * math/w_log_compat.c: Likewise.
8852 * math/w_logf_compat.c: Likewise.
8853 * math/w_logl_compat.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8856 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8857 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8858 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8859 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8860 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8861 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8862 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8863 * sysdeps/ieee754/k_standardl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8875 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8876 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8877 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8878 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8881 * math/w_ilogb_template.c: Include <fenv.h> instead of
8882 <fenv_private.h>.
8883 * math/w_llogb_template.c: Likewise.
8884 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8885 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8886
70e2ba33
JM
88872018-09-03 Joseph Myers <joseph@codesourcery.com>
8888
8889 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
8890 * math/fromfp.h: Include <fenv_private.h>.
8891 * math/math-narrow.h: Likewise.
8892 * math/s_cexp_template.c: Likewise.
8893 * math/s_csin_template.c: Likewise.
8894 * math/s_csinh_template.c: Likewise.
8895 * math/s_ctan_template.c: Likewise.
8896 * math/s_ctanh_template.c: Likewise.
8897 * math/s_iseqsig_template.c: Likewise.
8898 * math/w_acos_compat.c: Likewise.
8899 * math/w_acosf_compat.c: Likewise.
8900 * math/w_acosl_compat.c: Likewise.
8901 * math/w_asin_compat.c: Likewise.
8902 * math/w_asinf_compat.c: Likewise.
8903 * math/w_asinl_compat.c: Likewise.
8904 * math/w_ilogb_template.c: Likewise.
8905 * math/w_j0_compat.c: Likewise.
8906 * math/w_j0f_compat.c: Likewise.
8907 * math/w_j0l_compat.c: Likewise.
8908 * math/w_j1_compat.c: Likewise.
8909 * math/w_j1f_compat.c: Likewise.
8910 * math/w_j1l_compat.c: Likewise.
8911 * math/w_jn_compat.c: Likewise.
8912 * math/w_jnf_compat.c: Likewise.
8913 * math/w_llogb_template.c: Likewise.
8914 * math/w_log10_compat.c: Likewise.
8915 * math/w_log10f_compat.c: Likewise.
8916 * math/w_log10l_compat.c: Likewise.
8917 * math/w_log2_compat.c: Likewise.
8918 * math/w_log2f_compat.c: Likewise.
8919 * math/w_log2l_compat.c: Likewise.
8920 * math/w_log_compat.c: Likewise.
8921 * math/w_logf_compat.c: Likewise.
8922 * math/w_logl_compat.c: Likewise.
8923 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8924 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8925 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8926 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8927 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8928 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8929 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8931 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8935 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
8936 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
8937 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8938 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8939 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8940 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8943 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8949 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8951 * sysdeps/ieee754/float128/float128_private.h: Likewise.
8952 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8953 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8954 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8955 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8956 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8957 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8958 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8959 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8960 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8961 * sysdeps/ieee754/k_standardl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8972 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8973 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8974 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8975 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8987 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8988 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8989 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8991 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8992 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8993 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8994 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8995 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8996 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8997 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8998 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8999 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9000 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9001 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9002 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9003 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9004 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9005 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9006 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9007 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9008 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9009 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9010 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9011 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9012 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9013 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9014 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9015 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9016 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9017 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9018 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9019 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9020 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9021 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9022 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9023 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9024 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9025 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9026 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9027 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9028 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9029 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9030 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9031 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9032 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9033
a6e8926f
PP
90342018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9035
9036 [BZ #20271]
9037 * include/stdio.h (__libc_fatal): Mention newline in comment.
9038 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9039 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9040 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9041 * nss/nsswitch.c (__nss_next2): Likewise.
9042 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9043 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9044 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9045 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9046 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9047 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9048 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9049 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9050 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9051 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9052 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9053 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9054 (__netlink_assert_response): Likewise.
9055
2bbd06bc
JM
90562018-08-31 Joseph Myers <joseph@codesourcery.com>
9057
9058 * conform/glibcconform.py: New file.
9059 * conform/list-header-symbols.py: Likewise.
9060 * conform/list-header-symbols.pl: Remove.
9061 * conform/Makefile (tests-special): Only add linknamespace tests
9062 if [PYTHON].
9063 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9064
81b9d87b
L
90652018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9066
9067 [BZ #23597]
9068 * support/Makefile (libsupport-routines): Add
9069 support_copy_file_range and xcopy_file_range.
9070 * support/support.h: Include <sys/types.h>.
9071 (support_copy_file_range): New prototype.
9072 * support/support_copy_file_range.c: New file. Copied and
9073 modified from io/copy_file_range-compat.c.
9074 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9075 instead of copy_file_range.
9076 * support/xcopy_file_range.c: New file.
9077 * support/xunistd.h (xcopy_file_range): New prototype.
9078
d330f31a
CD
90792018-08-30 Carlos O'Donell <carlos@redhat.com>
9080
9081 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9082 xpthread_create and xpthread_join.
9083
2bda273a
FW
90842018-08-30 Florian Weimer <fweimer@redhat.com>
9085
9086 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9087
3bad2358
SL
90882018-08-30 Stefan Liebler <stli@linux.ibm.com>
9089
9090 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9091 if malloc fails.
9092
09c12efc
JM
90932018-08-29 Joseph Myers <joseph@codesourcery.com>
9094
9095 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9096 and minus_oflow as non-finite.
9097
ff6b2450
JM
90982018-08-28 Joseph Myers <joseph@codesourcery.com>
9099
9100 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9101 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9102 moved to fenv_private.h except for ...
9103 (TOINT_INTRINSICS): Kept in math_private.h.
9104 (roundtoint): Likewise.
9105 (converttoint): Likewise.
9106 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9107 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9108 * sysdeps/arm/math_private.h: Remove.
9109 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9110 ....
9111 * sysdeps/generic/math_private.h: ... this file. Include
9112 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9113 Include <fenv_private.h>. Remove functions and macros moved to
9114 fenv_private.h.
9115 * sysdeps/i386/fpu/math_private.h: Remove.
9116 * sysdeps/mips/math_private.h: Move to ....
9117 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9118 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9119 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9120 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9121 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9122 * sysdeps/powerpc/fpu/math_private.h: Do not include
9123 <fenv_private.h>.
9124 * sysdeps/riscv/rvf/math_private.h: Move to ....
9125 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9126 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9127 <fenv_private.h>.
9128 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9129 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9130 * sysdeps/sparc/fpu/math_private.h: Remove.
9131 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9132 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9133 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9134 <fenv_private.h>.
9135 * sysdeps/x86_64/fpu/math_private.h: Do not include
9136 <sysdeps/i386/fpu/fenv_private.h>.
9137
761404b7
FW
91382018-08-28 Florian Weimer <fweimer@redhat.com>
9139
9140 [BZ #23578]
9141 * posix/tst-regcomp-truncated.c: New file.
9142 * posix/Makefile (tests): Add it.
9143 (tst-regcomp-truncated.out): Depend on generated locales.
9144
d6c44c3d
FW
91452018-08-28 Florian Weimer <fweimer@redhat.com>
9146
9147 * support/test-container.c (main): Treat unshare failure with
9148 EPERM as an unsupported test.
9149
745664bd
FW
91502018-08-28 Florian Weimer <fweimer@redhat.com>
9151
9152 [BZ #23520]
9153 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9154 * nscd/netgroupcache.c
9155 (addgetnetgrentX): Add tofreep parameter. Do not free
9156 heap-allocated buffer.
9157 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9158 (addgetnetgrentX_ignore): New function.
9159 (addgetnetgrent): Call it.
9160 (readdgetnetgrent): Likewise.
9161
c8dd67e7
RS
91622018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9163
9164 * string/memmem.c: Use memcmp for first match.
9165
5abedf97
RL
91662018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9167
9168 [BZ #17426]
9169 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9170
86de0499
DD
91712018-08-27 DJ Delorie <dj@redhat.com>
9172
9173 * support/Makefile (others): Don't list programs explicitly as a
9174 dependency of "others".
9175
c3ab2110
JM
91762018-08-27 Joseph Myers <joseph@codesourcery.com>
9177
9178 * sysdeps/generic/math-tests-trap-force.h: New file.
9179 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
9180 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
9181 * sysdeps/powerpc/math-tests.h: Remove file.
9182 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
9183
6b5c8607
TS
91842018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
9185 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
9186
9187 [BZ #23538]
9188 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
9189 Update r to include the set wake-request flag if waiters are
9190 remaining after spinning.
9191
4061791f
JM
91922018-08-27 Joseph Myers <joseph@codesourcery.com>
9193
9194 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
9195
bc680b33
PE
91962018-08-25 Paul Eggert <eggert@cs.ucla.edu>
9197
761404b7 9198 [BZ #23578]
bc680b33
PE
9199 regex: fix uninitialized memory access
9200 I introduced this bug into gnulib in commit
9201 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
9202 eventually it was merged into glibc. The bug was found by
9203 project-repo <bugs@feusi.co> and reported here:
9204 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
9205 Diagnosis and draft fix reported by Assaf Gordon here:
9206 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
9207 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
9208 * posix/regex_internal.c (build_wcs_upper_buffer):
9209 Fix bug when mbrtowc returns 0.
9210
02458a52
CD
92112018-08-24 Carlos O'Donell <carlos@redhat.com>
9212
9213 * po/be.po: Update translation.
9214
acc2842a
DD
92152018-08-24 DJ Delorie <dj@delorie.com>
9216
9217 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
9218 $(libunwind).
9219
6c3a8a9d
PP
92202018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9221
b39d961c
TS
9222 [BZ #23400]
9223 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
9224 create temporary files in source tree.
6c3a8a9d 9225
895ef79e
JM
92262018-08-24 Joseph Myers <joseph@codesourcery.com>
9227
9228 * sysdeps/generic/math-tests-trap.h: New file.
9229 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
9230 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
9231 * sysdeps/aarch64/math-tests.h: Remove file.
9232 * sysdeps/arm/math-tests.h: Likewise.
9233 * sysdeps/riscv/math-tests.h: Likewise.
9234 * sysdeps/aarch64/math-tests-trap.h: New file.
9235 * sysdeps/arm/math-tests-trap.h: Likewise.
9236 * sysdeps/riscv/math-tests-trap.h: Likewise.
9237
ca3aac57
WD
92382018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
9239
9240 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
9241 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
9242 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
9243 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
9244 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
9245 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
9246 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9247 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
9248 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
9249 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9250 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9251 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9252 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9253 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
9254 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
9255 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
9256 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9257 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9258
60bcac09
JM
92592018-08-23 Joseph Myers <joseph@codesourcery.com>
9260
9261 * sysdeps/generic/math-tests-exceptions.h: New file.
9262 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
9263 (EXCEPTION_TESTS_float): Do not define here.
9264 (EXCEPTION_TESTS_double): Likewise.
9265 (EXCEPTION_TESTS_long_double): Likewise.
9266 (EXCEPTION_TESTS_float128): Likewise.
9267 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
9268 Likewise.
9269 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
9270 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
9271 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
9272 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
9273 * sysdeps/mips/math-tests.h: Likewise.
9274 * sysdeps/nios2/math-tests.h: Likewise.
9275 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9276 (EXCEPTION_TESTS_float): Do not define here.
9277 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
9278 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
9279 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
9280
3bded567
WD
92812018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9282
9283 * NEWS: Move optimized sinf entry to 2.29.
9284
900fb446
WD
92852018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
9286
9287 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
9288
561b0bec
DD
92892018-08-22 DJ Delorie <dj@redhat.com>
9290
9291 * Makefile (testroot.pristine): New rules to initialize the
9292 test-in-container "testroot".
9293 * Makerules (all-testsuite): Add tests-container.
9294 * Rules (tests-expected): Add tests-container.
9295 (binaries-all-tests): Likewise.
9296 (tests-container): New, run these tests in the testroot container.
9297 * support/Makefile (others): Add *-container, support_paths.c,
9298 xmkdirp, and links-dso-program.
9299 * support/links-dso-program-c.c: New.
9300 * support/links-dso-program.cc: New.
9301 * support/test-container.c: New.
9302 * support/shell-container.c: New.
9303 * support/echo-container.c: New.
9304 * support/true-container.c: New.
9305 * support/xmkdirp.c: New.
9306 * support/xsymlink.c: New.
9307 * support/support_paths.c: New.
9308 * support/support.h: Add support paths prototypes.
9309 * support/xunistd.h: Add xmkdirp () and xsymlink ().
9310
9311 * nss/tst-nss-test3.c: Convert to test-in-container.
9312 * nss/tst-nss-test3.root/: New.
9313
b35d3509
PE
93142018-08-22 Paul Eggert <eggert@cs.ucla.edu>
9315
9316 regex: port Gnulib code to z/OS POSIX environment
9317 Problem reported by Arnold Robbins in:
9318 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
9319 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
9320 Undef.
9321
16a25138
JM
93222018-08-22 Joseph Myers <joseph@codesourcery.com>
9323
debc4c98
JM
9324 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
9325 (ROUNDING_TESTS_double): Remove.
9326 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
9327 (ROUNDING_TESTS_double): Remove.
9328 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
9329 (ROUNDING_TESTS_double): Remove.
9330 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
9331 (ROUNDING_TESTS_float): Remove.
9332 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
9333 (ROUNDING_TESTS_float): Remove.
9334 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
9335 (ROUNDING_TESTS_float): Remove.
9336 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
9337 !TEST_MATHVEC here.
9338 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9339 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9340
16a25138
JM
9341 * sysdeps/generic/math-tests-rounding.h: New file.
9342 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
9343 (ROUNDING_TESTS_float): Do not define here.
9344 (ROUNDING_TESTS_double): Likewise.
9345 (ROUNDING_TESTS_long_double): Likewise.
9346 (ROUNDING_TESTS_float128): Likewise.
9347 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
9348 (ROUNDING_TESTS_double): Undefine before defining.
9349 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
9350 (ROUNDING_TESTS_double): Undefine before defining.
9351 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
9352 (ROUNDING_TESTS_double): Undefine before defining.
9353 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
9354 (ROUNDING_TESTS_float): Undefine before defining.
9355 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
9356 (ROUNDING_TESTS_float): Undefine before defining.
9357 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
9358 (ROUNDING_TESTS_float): Undefine before defining.
9359 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
9360 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
9361 not define here.
9362 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
9363 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
9364 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
9365 * sysdeps/riscv/math-tests.h [!__riscv_flen]
9366 (ROUNDING_TESTS_float): Do not define here.
9367 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
9368 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
9369 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
9370 (ROUNDING_TESTS_float): Likewise.
9371 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
9372 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
9373 * sysdeps/mips/math-tests.h [__mips_soft_float]
9374 (ROUNDING_TESTS_float): Likewise.
9375 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
9376 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
9377 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
9378 (ROUNDING_TESTS_double): Likewise.
9379 (ROUNDING_TESTS_long_double): Likewise.
9380
38b0593e
TK
93812018-08-21 Tobias Klauser <tklauser@distanz.ch>
9382
9383 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
9384 (PF_XDP): New macro.
9385 (AF_XDP): New macro.
9386 (SOL_XDP): New macro.
9387
5cd7dbde
JM
93882018-08-21 Joseph Myers <joseph@codesourcery.com>
9389
9390 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
9391 (TCP_INQ): Likewise.
9392 (TCP_CM_INQ): Likewise.
9393 (TCP_REPAIR_ON): Likewise.
9394 (TCP_REPAIR_OFF): Likewise.
9395 (TCP_REPAIR_OFF_NO_WP): Likewise.
9396 (struct tcp_zerocopy_receive): New type.
9397
aa42b3db
FW
93982018-08-21 Florian Weimer <fweimer@redhat.com>
9399
9400 * support/support.h (support_descriptor_supports_holes): Declare.
9401 * support/Makefile (libsupport-routines): Add
9402 support_descriptor_supports_holes.
9403 * support/support_descriptor_supports_holes.c: New file.
9404 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
9405 and stop testing if holes are not supported.
9406 * io/test-lfs.c (do_prepare): Likewise.
9407 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
9408 Likewise.
9409 * timezone/tst-tzset.c (create_tz_file): Likewise.
9410 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
9411 variable.
9412 (do_prepare): Set it.
9413 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
9414
c7627f41
FW
94152018-08-21 Florian Weimer <fweimer@redhat.com>
9416
9417 [BZ #17248]
9418 * Makeconfig (+cflags): Do not sort (and deduplicate).
9419
ef939d92
FW
94202018-08-21 Florian Weimer <fweimer@redhat.com>
9421
9422 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
9423 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
9424
88ffb39d
FW
94252018-08-20 Florian Weimer <fweimer@redhat.com>
9426
9427 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
9428 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
9429
17419540
JM
94302018-08-20 Joseph Myers <joseph@codesourcery.com>
9431
e6edd40d
JM
9432 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
9433 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
9434 and ssi_arch members.
9435
17419540
JM
9436 * elf/elf.c (NT_VMCOREDD): New macro.
9437 (AT_MINSIGSTKSZ): Likewise.
9438
fa78896b
RS
94392018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9440
9441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9442 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
9443 s_cosf-ppc64 and s_cosf-power8.
9444 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
9445 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9446 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9447 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
9449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
9450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
9451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
9452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9454 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
9455 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9456
86a6c75a
FW
94572018-08-17 Florian Weimer <fweimer@redhat.com>
9458
9459 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9460
35cfefd9
FW
94612018-08-17 Istvan Kurucsai <pistukem@gmail.com>
9462
9463 * malloc/malloc.c (_int_malloc): Additional binning code checks.
9464
6413fcde
FW
94652018-08-16 Florian Weimer <fweimer@redhat.com>
9466
9467 * configure.ac: Add --with-nonshared-cflags option.
9468 * config.make.in (extra-nonshared-cflags): Set variable.
9469 * Makeconfig (CFLAGS-.oS): Use it.
9470 * manual/install.texi (Configuring and compiling): Document
9471 --with-nonshared-cflags.
9472 * configure: Regenerate.
9473 * INSTALL: Likewise.
9474
93a2584c
FW
94752018-08-16 Florian Weimer <fweimer@redhat.com>
9476
9477 * Makeconfig (ASFLAGS): Always append required assembler flags.
9478
f6f275d2 94792018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
9480
9481 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
9482 (malloc_consolidate): Likewise.
9483
30a17d8c
PC
94842018-08-16 Pochang Chen <johnchen902@gmail.com>
9485
9486 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
9487
953a5a4a
SP
94882018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
9489
34f86d61
SP
9490 * benchtests/bench-strlen.c (do_test): Allocate buffers before
9491 every strlen call.
9492
953a5a4a
SP
9493 * benchtests/bench-strlen.c: Print performance numbers in json.
9494
7793ad7a
RS
94952018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9496
9497 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9498 (sysdep_routines): Build strcmp-power9 and strncmp-power9
9499 only for little endian.
9500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9501 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
9502 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
9503 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
9504 Add check for little endian.
9505 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
9506 (__strcmp_power9): Add check for little endian.
9507 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
9508 Add check for little endian.
9509 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9510 (__strncmp_power9): Add check for little endian.
9511 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
9512 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
9513 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
9514 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
9515 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
9516
436e4d5b
SP
95172018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
9518
9519 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
9520 [!STRLEN](STRLEN): Set to __strlen.
9521 * sysdeps/aarch64/multiarch/strlen.c: New file.
9522 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
9523 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
9524 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9525 (__libc_ifunc_impl_list): Add strlen.
9526 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9527 strlen_generic and strlen_asimd.
9528
126c4e3f
WD
95292018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9530
9531 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
9532 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
9533 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9534
49acec17
WD
95352018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
9536
9537 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
9538
fdb16de3
FW
95392018-08-14 Florian Weimer <fweimer@redhat.com>
9540
9541 [BZ #23519]
9542 * include/stdio.h (__vfxprintf): Declare.
9543 * stdio-common/fxprintf.c (__vfxprintf): New function.
9544 (__fxprintf): Call it.
9545 * misc/err.c (convert_and_print): Remove function.
9546 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
9547 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
9548 * misc/Makefile (tests): Add tst-warn-wide.
9549 * misc/tst-warn-wide.c: New file.
9550
599cf397
WD
95512018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
9552 Szabolcs Nagy <szabolcs.nagy@arm.com>
9553
9554 * NEWS: Mention sinf, cosf, sincosf.
9555 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
9556 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
9557 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
9558 constants rather than including generic sincosf.h.
9559 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
9560 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
9561 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
9562 (reduced_cos): Remove.
9563 (sinf_poly): New function.
9564 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
9565
e95c6f61
FW
95662018-08-14 Florian Weimer <fweimer@redhat.com>
9567
9568 [BZ #23521]
9569 [BZ #23522]
9570 * nss/nss_files/files-alias.c (get_next_alias): During :include:
9571 processing, bail out if no room, and close the stream before
9572 returning ERANGE.
9573 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
9574 (tst-nss-files-alias-leak): Link with libdl.
9575 (tst-nss-files-alias-leak.out): Depend on nss_files.
9576
9577 * nss/tst-nss-files-alias-leak.c: New file.
9578
2d7acfac
FW
95792018-08-14 Florian Weimer <fweimer@redhat.com>
9580
9581 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
9582 server_user, stat_user.
9583
f3cd0904
JM
95842018-08-13 Joseph Myers <joseph@codesourcery.com>
9585
17b26500
JM
9586 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9587 version to 4.18.
9588 (io_pgetevents): New syscall.
9589 (rseq): Likewise.
9590
3c1622eb
JM
9591 * manual/install.texi (Configuring and compiling): Do not list
9592 tools used for testing pretty printers here.
9593 (Tools for Compilation): List Python, PExpect and GDB here.
9594 Update descriptions of uses of Perl and Python.
9595 * INSTALL: Regenerate.
9596
f3cd0904
JM
9597 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9598 version to 4.18.
9599
b7b52b9d
FW
96002018-08-13 Florian Weimer <fweimer@redhat.com>
9601
9602 * misc/error.c (error): Add missing va_end call.
9603 (error_at_line): Likewise.
9604
01780188
FW
96052018-08-13 Florian Weimer <fweimer@redhat.com>
9606
9607 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
9608
44727aec
SP
96092018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9610
8cac1f26
SP
9611 * benchtests/scripts/benchout.schema.json (properties): Add
9612 new properties.
9613
44727aec
SP
9614 * benchtests/bench-skeleton.c (main): Add duration and
9615 iterations attributes.
9616
c77bf91b
PE
96172018-08-10 Paul Eggert <eggert@cs.ucla.edu>
9618
9619 regex: Gnulib unibyte RRI uses bytes not chars
9620 Adjust the non-glibc code to agree with what Gawk needs for
9621 rational range interpretation (RRI) for regular expression ranges.
9622 In unibyte locales, Gawk wants ranges to use the underlying byte
9623 rather than the character code point. This change does not affect
9624 glibc proper.
9625 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
9626 In unibyte locales, use the byte value rather than
9627 running it through btowc.
9628
2ce7ba7d
JM
96292018-08-10 Joseph Myers <joseph@codesourcery.com>
9630
9631 * sysdeps/generic/math-tests-snan.h: New file.
9632 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
9633 (SNAN_TESTS_float): Do not define here.
9634 (SNAN_TESTS_double): Likewise.
9635 (SNAN_TESTS_long_double): Likewise.
9636 (SNAN_TESTS_float128): Likewise.
9637 * sysdeps/i386/fpu/math-tests-snan.h: New file.
9638 * sysdeps/i386/fpu/math-tests.h: Remove file.
9639 * sysdeps/ia64/math-tests-snan.h: New file.
9640 * sysdeps/ia64/math-tests.h: Remove file.
9641 * sysdeps/x86/math-tests.h: Likewise.
9642 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
9643
ea5c662c
WD
96442018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9645 Szabolcs Nagy <szabolcs.nagy@arm.com>
9646
9647 * math/Makefile: Add s_sincosf_data.c.
9648 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
9649 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
9650 (sincosf_poly): Likewise.
9651 (reduce_small): Likewise.
9652 (reduce_large): Likewise.
9653 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
9654 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
9655 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
9656 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
9657
43cfdf8f
SN
96582018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
9659 Szabolcs Nagy <szabolcs.nagy@arm.com>
9660
9661 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
9662 (converttoint): Use lround.
9663 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
9664 document the semantics when TOINT_INTRINSICS is set.
9665 (converttoint): Likewise.
9666 (TOINT_RINT): Remove.
9667 (TOINT_SHIFT): Remove.
9668 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
9669 path.
9670
69065288
FW
96712018-08-10 Florian Weimer <fweimer@redhat.com>
9672
9673 [BZ #23497]
9674 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
9675 function.
9676 (__old_getdents64): Use getdents64. Convert entries without
9677 moving them.
9678 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
9679 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
9680 tst-readdir64-compat.
9681
8f135efc
IL
96822018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9683
9684 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
9685 Fix unwind.
9686
71c01af5
IL
96872018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9688
9689 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
9690 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
9691 code to s390x-mcount.h and #include it.
9692 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
9693 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9694 (__fentry__): Add.
9695
8d997d22
IL
96962018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9697
9698 * stdlib/Versions: Remove __fentry__.
9699 * sysdeps/i386/Versions: Add __fentry__.
9700 * sysdeps/x86_64/Versions: Add __fentry__.
9701
69e2444a
IL
97022018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9703
9704 * sysdeps/s390/Makefile: Register the new tests.
9705 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
9706 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
9707 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
9708 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
9709 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
9710 * sysdeps/s390/tst-dl-runtime.c: New file.
9711
bde6320f
IL
97122018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9713
9714 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9715 Do not clobber R0.
9716
5755f5e4
IL
97172018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9718
9719 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9720 Do not clobber R0.
9721
c8ad8522
IL
97222018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9723
9724 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9725 Do not clobber R0.
9726
b215eee1
IL
97272018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9728
9729 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9730 Do not clobber R0.
9731
329c6fec
IL
97322018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9733
9734 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9735 Use symbolic offsets for stack variables.
9736
0fb7afa2
IL
97372018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9738
9739 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
9740 Use symbolic offsets for stack variables.
9741
6954059a
IL
97422018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9743
9744 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9745 Use symbolic offsets for stack variables.
9746
c7099673
IL
97472018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
9748
9749 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9750 Use symbolic offsets for stack variables.
9751
2813e41e
JM
97522018-08-09 Joseph Myers <joseph@codesourcery.com>
9753
9754 * math/gen-libm-test.py: New file.
9755 * math/gen-libm-test.pl: Remove.
9756 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
9757 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
9758 gen-libm-test.pl.
9759 ($(libm-test-c-noauto-obj)): Likewise.
9760 ($(libm-test-c-auto-obj)): Likewise.
9761 ($(libm-test-c-narrow-obj)): Likewise.
9762 (regen-ulps): Likewise.
9763 * math/README.libm-test: Update references to gen-libm-test.pl.
9764 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
9765 referencing gen-libm-test.pl.
9766 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
9767 * math/libm-test-support.c: Likewise.
9768 * math/libm-test-support.h: Likewise.
9769 * sysdeps/generic/libm-test-ulps: Likewise.
9770
be64b194
SP
97712018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
9772
9773 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
9774 Fix value.
9775
140137fb
JM
97762018-08-08 Joseph Myers <joseph@codesourcery.com>
9777
9778 * math/libm-test-nextdown.inc (do_test): Move comment to ....
9779 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
9780
b5403eca
ST
97812018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9782
9783 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
9784 symbols.
8ac0f9e6
ST
9785 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
9786 __pthread_setspecific): Add hidden proto.
9787 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
9788 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 9789
014efdd7
SP
97902018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9791
9792 * benchtests/bench-string.h (buf1_size, buf2_size): New
9793 variables.
9794 (init_sizes): New function.
9795 (test_init): Use it.
9796 (alloc_buf, exit_error): New functions.
9797 (alloc_bufs): Use ALLOC_BUF.
9798 (realloc_bufs): Remove.
9799 * benchtests/bench-memcmp.c (do_test): Adjust.
9800 * benchtests/bench-memset-large.c (do_test): Likewise.
9801 * benchtests/bench-memset-walk.c (do_test): Likewise.
9802 * benchtests/bench-memset.c (do_test): Likewise.
9803 * benchtests/bench-strncmp.c (do_test): Likewise.
9804
92a4cba7
AS
98052018-08-06 Andreas Schwab <schwab@suse.de>
9806
9807 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
9808 of CONST_THREAD_AREA.
9809
fb4c32ae
L
98102018-08-06 H.J. Lu <hongjiu.lu@intel.com>
9811
9812 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
9813 (STATE_SAVE_MASK): Likewise.
9814 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
9815 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
9816 (STATE_SAVE_MASK): Likewise.
9817 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
9818 instead of <cpu-features.h>.
9819
bf418187
DD
98202018-08-03 DJ Delorie <dj@redhat.com>
9821
9822 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 9823 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 9824
bb17621a
DD
9825 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
9826
ea705eb5
JM
98272018-08-03 Joseph Myers <joseph@codesourcery.com>
9828
9829 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
9830 after TEST_* calls.
9831 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
9832 * math/libm-test-logb.inc (logb_test_data): Likewise.
9833
284f42bc
WD
98342018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
9835
9836 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
9837 * string/strstr.c (AVAILABLE): Likewise.
9838
430388d5
L
98392018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9840
9841 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
9842 <init-arch.h>.
9843 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
9844 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
9845 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
9846
c5760aa9
CD
98472018-08-03 Carlos O'Donell <carlos@redhat.com>
9848
9849 * po/be.po: Update translation.
9850
6b535b84
CD
9851 * po/be.po: Update translation.
9852
ae67f2e5
L
98532018-08-03 H.J. Lu <hongjiu.lu@intel.com>
9854
9855 * sysdeps/x86/cpu-features-offsets.sym
9856 (rtld_global_ro_offsetof): Removed.
9857 (CPU_FEATURES_SIZE): Likewise.
9858 (CPUID_OFFSET): Likewise.
9859 (CPUID_SIZE): Likewise.
9860 (CPUID_EAX_OFFSET): Likewise.
9861 (CPUID_EBX_OFFSET): Likewise.
9862 (CPUID_ECX_OFFSET): Likewise.
9863 (CPUID_EDX_OFFSET): Likewise.
9864 (FAMILY_OFFSET): Likewise.
9865 (MODEL_OFFSET): Likewise.
9866 (FEATURE_OFFSET): Likewise.
9867 (FEATURE_SIZ): Likewise.
9868 (COMMON_CPUID_INDEX_1): Likewise.
9869 (COMMON_CPUID_INDEX_7): Likewise.
9870 (FEATURE_INDEX_1): Likewise.
9871 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
9872
6b5c8607 98732018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
9874
9875 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
9876 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
9877 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
9878 (install-locales): Depend on install-locale-archive.
9879 (install-locale-archive): Define.
7b7adbd8 9880 (install-locale-files): Define.
08a5ee14
CD
9881 (build-one-locale): Define macro.
9882 * manual/install.texi (Running make install): Document.
9883 * manual/INSTALL: Regenerate.
9884
525691bd
SP
98852018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9886
d67d634b
SP
9887 * benchtests/scripts/compare_strings.py: Import traceback.
9888 (parse_file): Pretty-print error.
9889
525691bd
SP
9890 * NEWS: Mention the change.
9891 * elf/dl-tunables.list: Rename tune namespace to cpu.
9892 * sysdeps/powerpc/dl-tunables.list: Likewise.
9893 * sysdeps/x86/dl-tunables.list: Likewise.
9894 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
9895 cpu.name.
9896 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
9897 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
9898 * manual/README.tunables: Likewise.
9899 * manual/tunables.texi: Likewise.
9900 * sysdeps/powerpc/cpu-features.c: Likewise.
9901 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9902 (init_cpu_features): Likewise.
9903 * sysdeps/x86/cpu-features.c: Likewise.
9904 * sysdeps/x86/cpu-features.h: Likewise.
9905 * sysdeps/x86/cpu-tunables.c: Likewise.
9906 * sysdeps/x86_64/Makefile: Likewise.
9907 * sysdeps/x86/dl-cet.c: Likewise.
9908
506d7fb1
JM
99092018-08-02 Joseph Myers <joseph@codesourcery.com>
9910
9911 [BZ #23479]
9912 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
9913 [__mips_hard_float].
9914 (FE_UNDERFLOW): Likewise.
9915 (FE_OVERFLOW): Likewise.
9916 (FE_DIVBYZERO): Likewise.
9917 (FE_INVALID): Likewise.
9918 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
9919 (FE_TOWARDZERO): Define only if [__mips_hard_float].
9920 (FE_UPWARD): Likewise.
9921 (FE_DOWNWARD): Likewise.
9922 (__FE_UNDEFINED): Define if [!__mips_hard_float]
9923 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
9924 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
9925 [__mips_hard_float].
9926 (FP_ROUNDMODE): Likewise.
9927 (FP_RND_NEAREST): Likewise.
9928 (FP_RND_ZERO): Likewise.
9929 (FP_RND_PINF): Likewise.
9930 (FP_RND_MINF): Likewise.
9931 (FP_EX_INVALID): Likewise.
9932 (FP_EX_OVERFLOW): Likewise.
9933 (FP_EX_UNDERFLOW): Likewise.
9934 (FP_EX_DIVZERO): Likewise.
9935 (FP_EX_INEXACT): Likewise.
9936 (FP_INIT_ROUNDMODE): Likewise.
9937 * sysdeps/mips/nofpu/fesetenv.c: New file.
9938 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
9939
f6dcefbe
JM
99402018-08-01 Joseph Myers <joseph@codesourcery.com>
9941
9942 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
9943 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
9944 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
9945 conditional on [FE_UPWARD].
9946
fa67ba06
PE
99472018-08-01 Paul Eggert <eggert@cs.ucla.edu>
9948
9949 regex: fix memory leak in Gnulib
9950 Problem and fix reported by Assaf Gordon in:
9951 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
9952 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
9953 range_ends members too, as they are defined in 'struct
9954 re_charset_t' even if not _LIBC. This affects only Gnulib.
9955
82c80ac2
L
99562018-08-01 H.J. Lu <hongjiu.lu@intel.com>
9957
9958 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
9959 ...
9960 (get_common_indices): This.
9961 (init_cpu_features): Updated.
9962
c0e7e2c1
JM
99632018-08-01 Joseph Myers <joseph@codesourcery.com>
9964
46f8cf57
JM
9965 * sysdeps/generic/math-tests-snan-payload.h: New file.
9966 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
9967 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
9968 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
9969 * sysdeps/generic/math-tests.h: Include
9970 <math-tests-snan-payload.h>.
9971 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9972 * sysdeps/hppa/math-tests.h: Remove file.
9973 * sysdeps/mips/math-tests.h [!__mips_nan2008]
9974 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
9975 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
9976 Likewise.
9977
c0e7e2c1
JM
9978 * sysdeps/generic/math-tests-snan-cast.h: New file.
9979 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
9980 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
9981 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
9982 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
9983
74939c83
CD
99842018-08-01 Carlos O'Donel <carlos@redhat.com>
9985
b029723b
CD
9986 * version.h (RELEASE): Set to "development".
9987 (VERSION): Set to "2.28.9000".
9988 * NEWS (2.29): New section.
9989
3c03baca
CD
9990 * version.h (RELEASE): Set to "stable".
9991 (VERSION): Set to "2.28".
9992 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
9993 * NEWS: Add the list of bugs fixed in 2.28.
9994
74939c83
CD
9995 * po/ca.po: Update to latest version.
9996 * po/cs.po: Likewise
9997 * po/da.po: Likewise
9998 * po/el.po: Likewise
9999 * po/eo.po: Likewise
10000 * po/es.po: Likewise
10001 * po/fi.po: Likewise
10002 * po/fr.po: Likewise
10003 * po/gl.po: Likewise
10004 * po/hu.po: Likewise
10005 * po/ia.po: Likewise
10006 * po/id.po: Likewise
10007 * po/it.po: Likewise
10008 * po/ja.po: Likewise
10009 * po/ko.po: Likewise
10010 * po/lt.po: Likewise
10011 * po/nb.po: Likewise
10012 * po/nl.po: Likewise
10013 * po/pt_BR.po: Likewise
10014 * po/ru.po: Likewise
10015 * po/rw.po: Likewise
10016 * po/sk.po: Likewise
10017 * po/sl.po: Likewise
10018 * po/tr.po: Likewise
10019 * po/zh_CN.po: Likewise
10020 * po/zh_TW.po: Likewise
10021
d4b54bdf
ST
100222018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10023
10024 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10025 initialization...
10026 (init): ... before initializing libpthread.
10027
42fc12ef
ST
10028 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10029 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10030 (__mach_setup_tls): ... new function.
10031 (mach_setup_tls): New alias.
10032 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10033 __mach_setup_thread.
10034 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10035 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10036 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10037 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10038
6cca855e
CD
100392018-07-31 Carlos O'Donell <carlos@redhat.com>
10040
f650932b
CD
10041 * manual/install.texi: Update versions.
10042 * INSTALL: Regenerate.
10043
6cca855e
CD
10044 * manual/contrib.texi (Contributors): Update contributions.
10045
07fdea47
CD
100462018-07-31 Carlos O'Donell <carlos@redhat.com>
10047
10048 * po/be.po: Update translations.
10049
63d5fad4
AZ
100502018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10051
10052 * sysdeps/sh/libm-test-ulps: Update.
10053
1ff712a6
CD
100542018-07-30 Carlos O'Donell <carlos@redhat.com>
10055
10056 * po/bg.po: Update translations.
10057 * po/de.po: Likewise.
10058 * po/hr.po: Likewise.
10059 * po/pt_BR.po: Likewise.
10060 * po/sv.po: Likewise.
10061 * po/vi.po: Likewise.
10062
98864ed0
L
100632018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10064
10065 [BZ #23467]
10066 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10067 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10068 (CFLAGS-tst-cet-property-1.o): New.
10069 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10070 ($(objpfx)tst-cet-property-2): Likewise.
10071 ($(objpfx)tst-cet-property-2.out): Likewise.
10072 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10073 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10074 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10075 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10076 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10077
c92a00d8
L
100782018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10079
10080 [BZ #23458]
10081 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10082
99bc6241
ST
100832018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10084
10085 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10086 __sbrk): Do not set attribute_hidden.
af86087f 10087 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
10088 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10089 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10090
bcb1c4af
CD
100912018-07-27 Carlos O'Donell <carlos@redhat.com>
10092
10093 * po/uk.po: Update translations.
10094 * po/cs.po: Likewise.
10095 * po/pl.po: Likewise.
10096
4591b7db
L
100972018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10098
10099 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10100 parse beyond the note end.
10101
2c6da2f4
AZ
101022018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10103
10104 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10105 kernel does not support OFD locks.
10106 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10107
20365a31
ST
101082018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10109
10110 * sysdeps/mach/hurd/Versions (libc): Make __access and
10111 __access_noerrno external so they can override the ld symbols.
10112 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10113 __writev, __open64, __access_noerrno extern so they can be overrided.
10114 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10115 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10116
cb1a43db
CD
101172018-07-26 Carlos O'Donell <carlos@redhat.com>
10118
10119 * po/libc.pot: Regenerate.
10120
74759ae5
JM
101212018-07-26 Joseph Myers <joseph@codesourcery.com>
10122
10123 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10124
da80612d
L
101252018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10126
10127 [BZ #23459]
10128 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10129 function.
10130 (init_cpu_features): Call get_extended_indices for both Intel
10131 and AMD CPUs.
10132 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10133 Remove "for AMD" comment.
10134
65d87ade
L
101352018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10136
10137 [BZ # 23456]
10138 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10139 COMMON_CPUID_INDEX_80000001.
10140
c9dc4d51
SL
101412018-07-26 Stefan Liebler <stli@linux.ibm.com>
10142
10143 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10144 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10145
cfba5dbb
FW
101462018-07-26 Florian Weimer <fweimer@redhat.com>
10147
10148 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10149 aliases for symbols not in the implementation namespace.
10150
6b5c8607 101512018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
10152
10153 [BZ #23393]
10154 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10155 lowercase in LATIN script.
10156 * localedata/Makefile (test-input): Add en_US.UTF-8.
10157 * localedata/en_US.UTF-8.in: New file.
10158 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10159 and restore old tests.
10160 * posix/tst-regexloc.c (do_test): Add back range expression test.
10161
3fb455b3
L
101622018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10163
10164 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10165
d6499b70
AZ
101662018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10167
10168 * nptl/threads.h: Move to ...
10169 * sysdeps/nptl/threads.h: ... here.
10170 * sysdeps/hurd/stdc-predef.h: New file.
10171
08ac6bed
L
101722018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10173
10174 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10175 tst-cet-setcontext-1 if CET is enabled.
10176 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10177 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10178
9faaf938
AZ
101792018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10180
10181 * include/threads.h: Move to ...
10182 * sysdeps/nptl/threads.h: ... here.
10183 * sysdeps/htl/threads.h: New file.
10184 * conform/Makefile (linknamespace-libs-ISO11): Use
10185 static-thread-library instead of linking libpthread.
10186 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
10187
d6b8f847
FW
101882018-07-25 Florian Weimer <fweimer@redhat.com>
10189
10190 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
10191 nanoseconds into seconds.
10192 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
10193 (do_test): Likewise.
10194 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
10195 (do_test): Likewise. Avoid nanosecond overflow and spurious
10196 timeouts due to system load.
10197 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
10198 (child_wait): Increment it.
10199 (do_test): Wait as long as necessary until all expected threads
10200 have arrived.
10201
25123a1c
L
102022018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
10203 H.J. Lu <hongjiu.lu@intel.com>
10204
10205 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
10206 __ssp.
10207 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
10208 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
10209 (__push___start_context): New.
10210 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
10211 <asm/prctl.h>.
10212 (__getcontext): Record the current shadow stack base. Save the
10213 caller's shadow stack pointer and base.
10214 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
10215 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
10216 (__push___start_context): New prototype.
10217 (__makecontext): Call __push___start_context to allocate a new
10218 shadow stack, push __start_context onto the new stack as well
10219 as the new shadow stack.
10220 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
10221 <asm/prctl.h>.
10222 (__setcontext): Restore the target shadow stack.
10223 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
10224 <asm/prctl.h>.
10225 (__swapcontext): Record the current shadow stack base. Save
10226 the caller's shadow stack pointer and base. Restore the target
10227 shadow stack.
10228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10229 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
10230 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
10231
375a4844
L
102322018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10233
10234 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
10235 tst-setcontext8 and tst-setcontext9.
10236 * stdlib/tst-setcontext6.c: New file.
10237 * stdlib/tst-setcontext7.c: Likewise.
10238 * stdlib/tst-setcontext8.c: Likewise.
10239 * stdlib/tst-setcontext9.c: Likewise.
10240
bd4f7903
L
102412018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10242
10243 * stdlib/Makefile ((tests): Add tst-setcontext5.
10244 * stdlib/tst-setcontext5.c: New file.
10245
7e28f203
L
102462018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10247
10248 * stdlib/Makefile (tests): Add tst-setcontext4.
10249 * stdlib/tst-setcontext4.c: New file.
10250
8516ad2d
L
102512018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10252
10253 * stdlib/Makefile (tests): Add tst-swapcontext1.
10254 * stdlib/tst-swapcontext1.c: New test.
10255
fddcd003
L
102562018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10257
10258 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
10259 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
10260 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
10261 and tst-cet-legacy-4c.
10262 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
10263 and tst-cet-legacy-mod-4.
10264 (CFLAGS-tst-cet-legacy-2.c): New.
10265 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
10266 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
10267 (CFLAGS-tst-cet-legacy-3.c): Likewise.
10268 (CFLAGS-tst-cet-legacy-4.c): Likewise.
10269 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
10270 ($(objpfx)tst-cet-legacy-1): Likewise.
10271 ($(objpfx)tst-cet-legacy-2): Likewise.
10272 ($(objpfx)tst-cet-legacy-2.out): Likewise.
10273 ($(objpfx)tst-cet-legacy-2a): Likewise.
10274 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
10275 ($(objpfx)tst-cet-legacy-4): Likewise.
10276 ($(objpfx)tst-cet-legacy-4.out): Likewise.
10277 ($(objpfx)tst-cet-legacy-4a): Likewise.
10278 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
10279 (tst-cet-legacy-4a-ENV): Likewise.
10280 ($(objpfx)tst-cet-legacy-4b): Likewise.
10281 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
10282 (tst-cet-legacy-4b-ENV): Likewise.
10283 ($(objpfx)tst-cet-legacy-4c): Likewise.
10284 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
10285 (tst-cet-legacy-4c-ENV): Likewise.
10286 * sysdeps/x86/tst-cet-legacy-1.c: New file.
10287 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
10288 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
10289 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
10290 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
10291 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
10292 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
10293 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
10294 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
10295 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
10296 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
10297
9aa3113a
L
102982018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10299
10300 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10301 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10302 with ssp_base.
10303 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
10304 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
10305 with ssp_base.
10306
9c79cec8
AS
103072018-07-25 Andreas Schwab <schwab@suse.de>
10308
10309 [BZ #23442]
10310 * locale/weightwc.h (findidx): Handle the case where usrc is a
10311 prefix of cp but one character too short.
10312
969c3355
AZ
103132018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10314
10315 * NEWS: Add ISO C threads addition.
10316
e0f9c462
FW
103172018-07-24 Florian Weimer <fweimer@redhat.com>
10318
10319 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10320 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
10321 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
10322 4.13.
10323
394df381
L
103242018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10325
10326 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
10327 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
10328 <sys/prctl.h> and <asm/prctl.h>.
10329 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
10330 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
10331 and <asm/prctl.h>.
10332 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
10333 ARCH_CET_LEGACY_BITMAP.
10334 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
10335 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
10336 * sysdeps/x86/libc-start.c: Include <startup.h>.
10337
46545530
FW
103382018-07-24 Florian Weimer <fweimer@redhat.com>
10339
10340 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
10341 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
10342
6b5c8607 103432018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 10344 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
10345 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10346
10347 [BZ #14092]
9d0a979e
RJ
10348 * manual/debug.texi: Update adjacent chapter name.
10349 * manual/probes.texi: Likewise.
10350 * manual/threads.texi (ISO C Threads): New section.
10351 (POSIX Threads): Convert to a section.
10352
103532018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10354 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
10355
10356 [BZ# 14092]
0a07288b
AZ
10357 * nptl/Makefile (tests): Add new test files.
10358 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
10359 * nptl/tst-cnd-basic.c: Likewise.
10360 * nptl/tst-cnd-broadcast.c: Likewise.
10361 * nptl/tst-cnd-timedwait.c: Likewise.
10362 * nptl/tst-mtx-basic.c: Likewise.
10363 * nptl/tst-mtx-recursive.c: Likewise.
10364 * nptl/tst-mtx-timedlock.c: Likewise.
10365 * nptl/tst-mtx-trylock.c: Likewise.
10366 * nptl/tst-thrd-basic.c: Likewise.
10367 * nptl/tst-thrd-detach.c: Likewise.
10368 * nptl/tst-thrd-sleep.c: Likewise.
10369 * nptl/tst-tss-basic.c: Likewise.
10370
ce7528f6
AZ
103712018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10372
c6dd669b
AZ
10373 [BZ #14092]
10374 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
10375 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
10376 symbols.
10377 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10378 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10379 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10380 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10381 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10382 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10383 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10384 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10385 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10386 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10387 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10388 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10390 Likewise.
10391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10392 Likewise.
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
10394 Likewise.
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10396 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10397 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10398 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10399 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10400 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10401 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10402 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10403 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10404 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
10405 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
10406 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
10407 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
10408 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
10409 Likewise.
10410 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10411 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10412 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10413 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10414 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10415 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10416 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10417 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10418 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10419 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
10420 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
10421 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
10422 ikewise.
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10425 Likewise.
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10427 Likewise.
10428 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10429 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10430 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10431 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10432 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10433 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10434 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10435 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10436
78d40132
AZ
10437 [BZ #14092]
10438 * conform/data/threads.h-data (thread_local): New macro.
10439 (TSS_DTOR_ITERATIONS): Likewise.
10440 (tss_t): New type.
10441 (tss_dtor_t): Likewise.
10442 (tss_create): New function.
10443 (tss_get): Likewise.
10444 (tss_set): Likewise.
10445 (tss_delete): Likewise.
10446 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
10447 tss_get, and tss_set objects.
10448 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10449 * nptl/tss_create.c: New file.
10450 * nptl/tss_delete.c: Likewise.
10451 * nptl/tss_get.c: Likewise.
10452 * nptl/tss_set.c: Likewise.
10453 * sysdeps/nptl/threads.h (thread_local): New define.
10454 (TSS_DTOR_ITERATIONS): Likewise.
10455 (tss_t): New typedef.
10456 (tss_dtor_t): Likewise.
10457 (tss_create): New prototype.
10458 (tss_get): Likewise.
10459 (tss_set): Likewise.
10460 (tss_delete): Likewise.
10461
918311a3
AZ
10462 [BZ #14092]
10463 * conform/data/threads.h-data (cnd_t): New type.
10464 (cnd_init): New function.
10465 (cnd_signal): Likewise.
10466 (cnd_broadcast): Likewise.
10467 (cnd_wait): Likewise.
10468 (cnd_timedwait): Likewise.
10469 (cnd_destroy): Likewise.
10470 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
10471 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
10472 object.
10473 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
10474 * nptl/cnd_broadcast.c: New file.
10475 * nptl/cnd_destroy.c: Likewise.
10476 * nptl/cnd_init.c: Likewise.
10477 * nptl/cnd_signal.c: Likewise.
10478 * nptl/cnd_timedwait.c: Likewise.
10479 * nptl/cnd_wait.c: Likewise.
10480 * sysdeps/nptl/threads.h (cnd_t): New type.
10481 (cnd_init): New prototype.
10482 (cnd_signa): Likewise.
10483 (cnd_broadcast): Likewise.
10484 (cnd_wait): Likewise.
10485 (cnd_timedwait): Likewise.
10486 (cnd_destroy): Likewise.
10487
3c20a679
AZ
10488 [BZ #14092]
10489 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
10490 (once_flag): New type.
10491 (call_once): New function.
10492 * nptl/Makefile (libpthread-routines): Add call_once object.
10493 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
10494 * nptl/call_once.c: New file.
10495 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
10496 (once_flag): New type.
10497 (call_once): New prototype.
10498
18d59c1b
AZ
10499 [BZ #14092]
10500 * conform/data/threads.h-data (mtx_plain): New constant.
10501 (mtx_recursive): Likewise.
10502 (mtx_timed): Likewise.
10503 (mtx_t): New type.
10504 (mtx_init): New function.
10505 (mtx_lock): Likewise.
10506 (mtx_timedlock): Likewise.
10507 (mtx_trylock): Likewise.
10508 (mtx_unlock): Likewise.
10509 (mtx_destroy): Likewise.
10510 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
10511 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
10512 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
10513 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
10514 * nptl/mtx_destroy.c: New file.
10515 * nptl/mtx_init.c: Likewise.
10516 * nptl/mtx_lock.c: Likewise.
10517 * nptl/mtx_timedlock.c: Likewise.
10518 * nptl/mtx_trylock.c: Likewise.
10519 * nptl/mtx_unlock.c: Likewise.
10520 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
10521 (mtx_recursive): Likewise.
10522 (mtx_timed): Likewise.
10523 (mtx_t): New type.
10524 (mtx_init): New prototype.
10525 (mtx_lock): Likewise.
10526 (mtx_timedlock): Likewise.
10527 (mtx_trylock): Likewise.
10528 (mtx_unlock): Likewise.
10529 (mtx_destroy): Likewise.
10530
ce7528f6
AZ
10531 [BZ #14092]
10532 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
10533 (linknamespace-libs-ISO11): Add libpthread.a.
10534 * conform/data/threads.h-data: New file: add C11 thrd_* types and
10535 functions.
10536 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
10537 * nptl/Makefile (headers): Add threads.h.
10538 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
10539 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
10540 thrd_yield.
10541 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
10542 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
10543 thrd_join, thrd_sleep, and thrd_yield symbols.
10544 * nptl/descr.h (struct pthread): Add c11 field.
10545 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
10546 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
10547 routine with expected function prototype.
10548 (__pthread_create_2_1): Add C11 threads check based on attribute
10549 value.
10550 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
10551 * nptl/thrd_create.c: New file.
10552 * nptl/thrd_current.c: Likewise.
10553 * nptl/thrd_detach.c: Likewise.
10554 * nptl/thrd_equal.c: Likewise.
10555 * nptl/thrd_exit.c: Likewise.
10556 * nptl/thrd_join.c: Likewise.
10557 * nptl/thrd_priv.h: Likewise.
10558 * nptl/thrd_sleep.c: Likewise.
10559 * nptl/thrd_yield.c: Likewise.
10560 * include/threads.h: Likewise.
10561
e27f41ba
L
105622018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10563
10564 * bits/indirect-return.h: New file.
10565 * misc/sys/cdefs.h (__glibc_has_attribute): New.
10566 * sysdeps/x86/bits/indirect-return.h: Likewise.
10567 * stdlib/Makefile (headers): Add bits/indirect-return.h.
10568 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
10569 (swapcontext): Add __INDIRECT_RETURN.
10570 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
10571 (prepare_test_buffer): Use it.
10572
21526a50
AS
105732018-07-24 Andreas Schwab <schwab@suse.de>
10574
10575 [BZ #23448]
10576 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
10577 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
10578
3650e1d9
L
105792018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10580
10581 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
10582 Redefine if shadow stack is enabled.
10583 (SYSCALL_ERROR_LABEL): Likewise.
10584 (__vfork): Pop shadow stack and jump back to to caller directly
10585 when shadow stack is in use.
10586 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
10587 Redefine if shadow stack is enabled.
10588 (SYSCALL_ERROR_LABEL): Likewise.
10589 (__vfork): Pop shadow stack and jump back to to caller directly
10590 when shadow stack is in use.
10591
ca027e0f
L
105922018-07-24 H.J. Lu <hongjiu.lu@intel.com>
10593
10594 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
10595 enabled.
10596 (foo): Likewise.
10597 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
10598 (foo): Likewise.
10599
b99f1c95
JM
106002018-07-20 Joseph Myers <joseph@codesourcery.com>
10601
10602 * scripts/build-many-glibcs.py (Context.checkout): Default
10603 binutils version to 2.31 branch.
10604
c8fabb84
ZL
106052018-07-20 Zong Li <zong@andestech.com>
10606
10607 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
10608 URL of gcc's tarball.
10609
786658a0
FW
106102018-07-20 Florian Weimer <fweimer@redhat.com>
10611
10612 [BZ #23396]
10613 * posix/regcomp.c (build_equiv_class): When comparing weights, do
10614 not compare an extra byte after the end of the weights.
10615
46f2474e
ST
106162018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
10617
10618 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
10619 to 1.
8ba1520e
ST
10620 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
10621 hidden prototypes.
10622 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
10623 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
10624 * scripts/check-execstack.awk: Consider `xfail' variable containing a
10625 list of libraries whose stack executability is expected.
10626 * elf/Makefile ($(objpfx)check-execstack.out): Pass
10627 $(check-execstack-xfail) to check-execstack.awk through `xfail'
10628 variable.
10629 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
10630 libc.so libpthread.so.
46f2474e 10631
60088242
TS
106322018-07-20 Thomas Schwinge <tschwinge@gnu.org>
10633
10634 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
10635 SOCK_NONBLOCK.
75d5e4a0
TS
10636 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
10637 and SOCK_NONBLOCK.
de195be0
TS
10638 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
10639 implement __pipe2.
10640 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 10641
1cf4ae7f
LS
106422018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10643
10644 * benchtests/scripts/compare_bench.py (__main__): use the argparse
10645 library to improve command line parsing.
10646 (__main__): make schema file as optional parameter (--schema),
10647 defaulting to benchtests/scripts/benchout.schema.json.
10648 (main): move out of the parsing stuff to __main_  and leave it
10649 only as caller of main comparison functions.
10650
e84bd851
L
106512018-07-19 H.J. Lu <hongjiu.lu@intel.com>
10652
10653 * NEWS: Add a note for Intel CET status.
10654 * manual/install.texi: Likewise.
10655 * INSTALL: Regenerated.
10656
df467d22
QP
106572018-07-18 Quentin PAGÈS <provaires@quentino.fr>
10658
10659 [BZ #23140]
10660 * localedata/locales/oc_FR (mon): Rename to...
10661 (alt_mon): This, then update October (typo fix).
10662 (mon): New content (genitive case, month names preceded by
10663 "de" or "d’").
10664
10665 [BZ #23422]
10666 * localedata/locales/oc_FR (abday): Update all items.
10667 (day): Update Wednesday and Saturday (typo fixes).
10668 (abmon): Update all items, except May.
10669 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
10670 (LC_IDENTIFICATION): Bump the revision number and date.
10671 Keep the "category" entries in alphabetic order.
10672 (LC_ADDRESS): Remove no longer needed comment.
10673 (LC_COLLATE): Use “copy "ca_ES"”.
10674 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
10675 "name_mrs".
10676
5c112f1b
JM
106772018-07-18 Joseph Myers <joseph@codesourcery.com>
10678
10679 * grp/tst_fgetgrent.c: Include <unistd.h>.
10680 (main): Use mkstemp instead of tmpnam.
10681 * io/test-utime.c (main): Likewise.
10682 * posix/annexc.c (macrofile): Change to modifiable array.
10683 (main): Remove macrofile here.
10684 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10685 macrofile here.
10686 (check_header): Do not remove macrofile here.
10687 * posix/bug-getopt1.c: Include <stdlib.h>.
10688 (do_test): Use mkstemp instead of tmpnam.
10689 * posix/bug-getopt2.c: Include <stdlib.h>.
10690 (do_test): Use mkstemp instead of tmpnam.
10691 * posix/bug-getopt3.c: Include <stdlib.h>.
10692 (do_test): Use mkstemp instead of tmpnam.
10693 * posix/bug-getopt4.c: Include <stdlib.h>.
10694 (do_test): Use mkstemp instead of tmpnam.
10695 * posix/bug-getopt5.c: Include <stdlib.h>.
10696 (do_test): Use mkstemp instead of tmpnam.
10697 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
10698 (main): Use mkstemp instead of tmpnam.
10699 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
10700 (main): Use mkstemp instead of tmpnam.
10701 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
10702 (main): use mkstemp instead of tmpnam.
10703 * stdlib/isomac.c (macrofile): Change to modifiable array.
10704 (main): Remove macrofile here.
10705 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
10706 macrofile here.
10707 (check_header): Do not remove macrofile here.
10708
6d90776d
L
107092018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10710
10711 * manual/tunables.texi: Document glibc.tune.x86_ibt and
10712 glibc.tune.x86_shstk.
10713
e6c69509
L
107142018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10715
10716 * NEWS: Mention --enable-cet.
10717 * manual/install.texi: Document --enable-cet.
10718 * INSTALL: Regenerated.
10719
e2d40a88
L
107202018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10721
10722 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
10723 Add _CET_NOTRACK before indirect jump to jump table.
10724
77a8ae09
L
107252018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10726
10727 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
10728 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10729 to jump table.
10730
90d15dc5
L
107312018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10732
10733 * sysdeps/i386/i686/multiarch/strcat-sse2.S
10734 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10735 to jump table.
10736
f1574581
L
107372018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10738
10739 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
10740 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10741 to jump table.
10742
7fb61336
L
107432018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10744
10745 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
10746 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10747 to jump table.
10748
0a899af0
L
107492018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10750
10751 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
10752 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10753 to jump table.
10754 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
10755
177824e2
L
107562018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10757
10758 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
10759 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10760 to jump table.
10761
00e7b76a
L
107622018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10763
10764 * sysdeps/i386/i686/multiarch/memset-sse2.S
10765 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10766 to jump table.
10767
7e119cd5
L
107682018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10769
10770 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
10771 indirect jump to jump table.
10772
03aaf49b
L
107732018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10774
10775 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
10776 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10777 to jump table.
10778 (MEMCPY): Likewise.
10779
811e9e52
L
107802018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10781
10782 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
10783 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10784 to jump table.
10785 (MEMCPY): Likewise.
10786
8817df42
L
107872018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10788
10789 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10790 _CET_NOTRACK before indirect jump to jump table.
10791
921595d1
L
107922018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10793
10794 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
10795 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
10796 to jump table.
10797
4ef60d95
L
107982018-07-18 H.J. Lu <hongjiu.lu@intel.com>
10799
10800 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
10801 indirect jump to jump table.
10802
61c4aad7
VT
108032018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
10804
10805 [BZ #22241]
10806 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
10807 (LOCALES): Likewise.
10808 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
10809 * localedata/locales/sah_RU: New file.
10810 * localedata/sah_RU.UTF-8.in: New file.
10811
be9ccd27
L
108122018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10813
10814 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
10815 "sysdep.h".
10816 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10817 _CET_ENDBR to indirect jump targets and adjust jump destination
10818 for _CET_ENDBR.
10819 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
10820 "sysdep.h".
10821 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
10822 _CET_ENDBR to indirect jump targets and adjust jump destination
10823 for _CET_ENDBR.
10824 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
10825 "sysdep.h".
10826 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
10827 _CET_ENDBR to indirect jump targets and adjust jump destination
10828 for _CET_ENDBR.
10829
5efc6777
L
108302018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10831
10832 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
10833 _CET_ENDBR.
10834
562837c0
L
108352018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10836
10837 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
10838 _CET_ENDBR.
10839 (_dl_tlsdesc_undefweak): Likewise.
10840 (_dl_tlsdesc_dynamic): Likewise.
10841 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
10842 (_dl_tlsdesc_resolve_rel): Likewise.
10843 (_dl_tlsdesc_resolve_rela): Likewise.
10844 (_dl_tlsdesc_resolve_hold): Likewise.
10845 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
10846 (_dl_tlsdesc_undefweak): Likewise.
10847 (_dl_tlsdesc_dynamic): Likewise.
10848 (_dl_tlsdesc_resolve_rela): Likewise.
10849 (_dl_tlsdesc_resolve_hold): Likewise.
10850
124bcde6
L
108512018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10852
10853 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
10854 (_fini): Likewise.
10855 * sysdeps/x86_64/crti.S (_init): Likewise.
10856 (_fini): Likewise.
10857
9145f033
RL
108582018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
10859
10860 [BZ #23140]
10861 * localedata/locales/os_RU (mon): Rename to...
10862 (alt_mon): This.
10863 (mon): Import from CLDR (genitive case).
10864
ba2ea23d
L
108652018-07-17 H.J. Lu <hongjiu.lu@intel.com>
10866
10867 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
10868 cet-tunables.h> when CET is enabled.
10869
f753fa7d
L
108702018-07-16 H.J. Lu <hongjiu.lu@intel.com>
10871
6b5c8607 10872 [BZ #21598]
f753fa7d
L
10873 * configure.ac: Add --enable-cet.
10874 * configure: Regenerated.
10875 * elf/Makefille (all-built-dso): Add a comment.
10876 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
10877 Include <dl-prop.h>.
10878 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
10879 segment.
10880 * elf/dl-open.c: Include <dl-prop.h>.
10881 (dl_open_worker): Call _dl_open_check.
10882 * elf/rtld.c: Include <dl-prop.h>.
10883 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
10884 _rtld_main_check.
10885 * sysdeps/generic/dl-prop.h: New file.
10886 * sysdeps/i386/dl-cet.c: Likewise.
10887 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
10888 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
10889 * sysdeps/x86/cet-tunables.h: Likewise.
10890 * sysdeps/x86/check-cet.awk: Likewise.
10891 * sysdeps/x86/configure: Likewise.
10892 * sysdeps/x86/configure.ac: Likewise.
10893 * sysdeps/x86/dl-cet.c: Likewise.
10894 * sysdeps/x86/dl-procruntime.c: Likewise.
10895 * sysdeps/x86/dl-prop.h: Likewise.
10896 * sysdeps/x86/libc-start.h: Likewise.
10897 * sysdeps/x86/link_map.h: Likewise.
10898 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
10899 _CET_ENDBR.
10900 (_dl_runtime_profile): Likewise.
10901 (_dl_runtime_resolve_shstk): New.
10902 (_dl_runtime_profile_shstk): Likewise.
10903 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
10904 if CET is enabled.
10905 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
10906 (CFLAGS-.os): Likewise.
10907 (CFLAGS-.op): Likewise.
10908 (CFLAGS-.oS): Likewise.
10909 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
10910 is enabled.
10911 (tests-special): Add $(objpfx)check-cet.out.
10912 (cet-built-dso): New.
10913 (+$(cet-built-dso:=.note)): Likewise.
10914 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
10915 ($(objpfx)check-cet.out): New.
10916 (generated): Add check-cet.out.
10917 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
10918 <cet-tunables.h>.
10919 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
10920 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10921 (init_cpu_features): Call get_cet_status to check CET status
10922 and update dl_x86_feature_1 with CET status. Call
10923 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
10924 (set_x86_shstk). Disable and lock CET in libc.a.
10925 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
10926 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
10927 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
10928 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
10929 (_CET_ENDBR): Define if not defined.
10930 (ENTRY): Add _CET_ENDBR.
10931 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
10932 x86_shstk.
10933 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
10934 _CET_ENDBR.
10935 (_dl_runtime_profile): Likewise.
10936
52b2a80f
RA
109372018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
10938
10939 [BZ #21895]
10940 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
10941 restore r2 on longjmp.
10942 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
10943 test list.
10944 Added rules to build test tst-setjmp-bug21895-static.
10945 Added module setjmp-bug21895 and rules to build a shared object from it.
10946 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
10947 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
10948
3ae725df
WD
109492018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
10950
10951 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
10952 * benchtests/bench-strstr.c: Likewise.
10953 * string/memmem.c (FASTSEARCH): Define.
10954 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
10955 Add support for FASTSEARCH.
10956 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
10957 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
10958 (FASTSEARCH): Define.
10959 * string/test-strcasestr.c: Rename __strnlen to strnlen.
10960 * string/test-strstr.c: Likewise.
10961
31e422ca
L
109622018-07-15 H.J. Lu <hongjiu.lu@intel.com>
10963
10964 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
10965 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
10966
faaee1f0
L
109672018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
10968 H.J. Lu <hongjiu.lu@intel.com>
10969
10970 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
10971 (__longjmp): Restore shadow stack pointer if shadow stack is
10972 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10973 isn't defined for __longjmp_cancel.
10974 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
10975 (_setjmp): Save shadow stack pointer if shadow stack is enabled
10976 and SHADOW_STACK_POINTER_OFFSET is defined.
10977 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
10978 (setjmp): Save shadow stack pointer if shadow stack is enabled
10979 and SHADOW_STACK_POINTER_OFFSET is defined.
10980 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
10981 (__sigsetjmp): Save shadow stack pointer if shadow stack is
10982 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10983 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
10984 <jmp_buf-ssp.h>.
10985 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10986 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10987 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
10988 Remove jmp_buf-ssp.sym.
10989 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10990 <jmp_buf-ssp.h>.
10991 (____longjmp_chk): Restore shadow stack pointer if shadow stack
10992 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
10993 * sysdeps/x86/Makefile (gen-as-const-headers): Add
10994 jmp_buf-ssp.sym.
10995 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
10996 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
10997 (__longjmp): Restore shadow stack pointer if shadow stack is
10998 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
10999 isn't defined for __longjmp_cancel.
11000 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11001 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11002 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11003
ebff9c5c
L
110042018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11005
11006 [BZ #22563]
11007 * nptl/pthread_create.c: Include <tls-setup.h>.
11008 (__pthread_create_2_1): Call tls_setup_tcbhead.
11009 * sysdeps/generic/tls-setup.h: New file.
11010 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11011 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11012 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11013 Likewise.
11014 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11015 to feature_1.
11016 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11017 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11018 (X86_FEATURE_1_SHSTK): Likewise.
11019 (CET_ENABLED): Likewise.
11020 (IBT_ENABLED): Likewise.
11021 (SHSTK_ENABLED): Likewise.
11022
0a83bad2
RL
110232018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11024
11025 [BZ #23208]
11026 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11027 (LOCALES): Likewise.
11028 * localedata/dsb_DE.UTF-8.in: New file.
11029 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11030
046bfed9
FW
110312018-07-12 Florian Weimer <fweimer@redhat.com>
11032
11033 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11034 __mprotect, not mprotect.
11035
93304f5f
FW
110362018-07-11 Florian Weimer <fweimer@redhat.com>
11037
11038 * io/Makefile (headers): Add bits/statx.h.
11039
4beefeeb
MF
110402018-07-10 Mike FABIAN <mfabian@redhat.com>
11041
11042 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11043 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11044 and headers.
11045 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11046 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11047 for utf8_gen.py
11048
fd70af45
FW
110492018-07-10 Florian Weimer <fweimer@redhat.com>
11050
11051 * io/Makefile (routines): Add statx.
11052 (tests-internal): Add tst-statx.
11053 * io/Versions (GLIBC_2.28): Export statx.
11054 * io/bits/statx.h: New file.
11055 * io/sys/stat.h [__USE_GNU]: Include it.
11056 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11057 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11058 Define.
11059 * io/statx.c: New file.
11060 * io/statx_generic.: Likewise.
11061 * io/tst-statx.: Likewise.
11062 * include/bits/statx.h: Likewise.
11063 * sysdeps/unix/sysv/linux/kernel-features.h
11064 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11065 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11066 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11067 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11068 Undefine.
11069 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11070 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11071 * sysdeps/unix/sysv/linux/statx.c: New file.
11072 * manual/filesys.texi: Note that statx is undocumented.
11073 * sysdeps/**/libc*.abilist: Update.
11074
b444e8f7
AZ
110752018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11076
11077 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11078 a kernel issue which lead to test failure in some cases.
11079
7b2f4ced
FW
110802018-07-10 Florian Weimer <fweimer@redhat.com>
11081
11082 [BZ #23036]
11083 * posix/regexec.c (check_node_accept_bytes): When comparing
11084 weights, do not compare an extra byte after the end of the
11085 weights.
11086
4fa34da6
FW
110872018-07-10 Florian Weimer <fweimer@redhat.com>
11088
11089 * libio/readline.c: Fix copyright year.
11090 * libio/tst-readline.c Likewise.
11091 * nss/tst-nss-files-hosts-getent.c: Likewise.
11092
916124ed
FW
110932018-07-06 Florian Weimer <fweimer@redhat.com>
11094
11095 [BZ #18991]
11096 * nss/nss_files/files-XXX.c (internal_getent): Use
11097 __libc_readline_unlocked. Seek back to the start of the line if
11098 parsing failes with ERANGE.
11099 (get_contents_ret, get_contents): Remove.
11100 * nss/tst-nss-files-hosts-getent.c: New file.
11101 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11102 (tst-nss-files-hosts-getent): Link with -ldl.
11103
3f5e3f5d
FW
111042018-07-06 Florian Weimer <fweimer@redhat.com>
11105
11106 * include/stdio.h (__libc_readline_unlocked): Declare.
11107 (__ftello64, __fseeko64): Declare aliases.
11108 * libio/readline.c: New file.
11109 * libio/tst-readline.c: Likewise.
11110 (routines): Add readline.
11111 (tests-internal): Add tst-readlime.
11112 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11113 __libc_readline_unlocked.
11114 * libio/fseeko.c (__fseeko): Rename from fseeko.
11115 (fseeko): Add alias.
11116 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11117 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11118 (fseeko64): Add alias.
11119 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11120 * libio/ftello64.c (__ftello64): Rename from ftello64.
11121 (ftello64): Add alias.
11122
397c54c1
SN
111232018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11124
11125 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11126 HWCAP_ATOMICS.
11127
d0cd7980
SN
111282018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11129
11130 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11131 Use dl_hwcap without masking.
11132 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11133 Remove HWCAP_CPUID.
11134
ddb3c626
FW
111352018-07-06 Florian Weimer <fweimer@redhat.com>
11136
11137 * conform/conformtest.pl (checknamespace): Escape literal braces
11138 in regular expressions.
11139
bce5911b
AP
111402018-07-06 Amit Pawar <amit.pawar@amd.com>
11141
11142 * sysdeps/x86/cpu-features.c (get_common_indeces):
11143 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11144 * sysdeps/x86/cpu-features.c (init_cpu_features):
11145 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11146
3a885c1f
FW
111472018-07-05 Florian Weimer <fweimer@redhat.com>
11148
11149 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11150 protector.
11151 (CFLAGS-elf-init.oS): Likewise.
11152
38cade0c
FW
111532018-07-05 Florian Weimer <fweimer@redhat.com>
11154 Carlos O'Donell <carlos@redhat.com>
11155
11156 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11157 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11158 with stack protector enabled because there is no risk of infinite
11159 recursion.
11160
9449a295
MR
111612018-07-05 Maciej W. Rozycki <macro@mips.com>
11162
11163 [BZ #19818]
11164 [BZ #23307]
11165 * libc-abis (ABSOLUTE): New ABI.
11166 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11167 * NEWS: Mention the new ABI.
11168
d6da5cb6
FW
111692018-07-05 Florian Weimer <fweimer@redhat.com>
11170
11171 [BZ # 17662]
11172 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11173 (RENAME_WHITEOUT): Define.
11174 [__USE_GNU] (renameat2): Declare.
11175 * stdio-common/Makefile (routines): Add renameat2.
11176 (tests): Add tst-renameat2.
11177 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11178 * stdio-common/renameat2.c: New file.
11179 * stdio-common/tst-renameat2.c: Likewise.
11180 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
11181 * manual/filesys.texi (Temporary Files): Note that renameat2 is
11182 undocumented.
11183 * sysdeps/unix/sysv/linux/kernel-features.h
11184 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
11185 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11186 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11187 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11188 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
11189 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11190 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
11191 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11192 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
11193 * include/stdio.h (__renameat): Add alias for renameat.
11194 * stdio-common/renameat.c (__renameat): Rename from renameat.
11195 Add hidden definition and alias.
11196 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11197 * sysdeps/mach/hurd/renameat.c: Likewise.
11198 * sysdeps/**/libc*.abilist: Add renameat2.
11199
1002d708
AZ
112002018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11201
11202 * posix/bug-regex33.c: Fix build after regex sync.
11203
34fdb893
CD
112042018-07-04 Carlos O'Donell <carlos@redhat.com>
11205
11206 [BZ #23164]
11207 * localedata/tst-langinfo-setlocale.c: New file.
11208 * localedata/tst-langinfo-setlocale-static.c: New file.
11209 * localedata/tst-langinfo-newlocale.c: New file.
11210 * localedata/tst-langinfo-newlocale-static.c: New file.
11211 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
11212 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
11213 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
11214 (tests-static): Remove tst-langinfo-static. Add
11215 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
11216 (tests-special): Remove $(objpfx)tst-langinfo.out,
11217 $(objpfx)tst-langinfo-static.out. Add
11218 $(objpfx)tst-langinfo-setlocale.out,
11219 $(objpfx)tst-langinfo-newlocale.out,
11220 $(objpfx)tst-langinfo-setlocale-static.out,
11221 $(objpfx)tst-langinfo-newlocale-static.out.
11222 ($(objpfx)tst-langinfo.out): Remove.
11223 ($(objpfx)tst-langinfo-static.out): Remove.
11224 ($(objpfx)tst-langinfo-newlocale.out): New target.
11225 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
11226 (test-xfail-tst-langinfo-newlocale-static): Add.
11227 ($(objpfx)tst-langinfo-setlocale.out): New target.
11228 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
11229 * localedata/tst-langinfo.c: Call test_locale.
11230 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
11231 data.
11232
f2873d2d
FW
112332018-07-04 Florian Weimer <fweimer@redhat.com>
11234
11235 testrun.sh: Implement --tool=strace, --tool=valgrind
11236 * Makefile (testrun-script): Define variable.
11237 (testrun.sh): Use variable.
11238 * manual/install.texi (Tools for Compilation): make 4.0 or later
11239 is required.
11240 * configure.ac: Check for make 4.0 or later.
11241 * INSTALL: Regenerate.
11242 * configure: Likewise.
11243
eb04c213
AZ
112442018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11245
11246 [BZ #23233]
11247 [BZ #21163]
11248 [BZ #18986]
11249 [BZ #13762]
11250 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
11251 * posix/PCRE.tests: Remove invalid test.
11252 * posix/bug-regex28.c: Fix expected values for used syntax.
11253 * posix/bug-regex37.c: New file.
11254 * posix/bug-regex38.c: Likewise.
11255 * posix/regcomp.c: Sync with gnulib.
11256 * posix/regex.c: Likewise.
11257 * posix/regex.h: Likewise.
11258 * posix/regex_internal.c: Likewise.
11259 * posix/regex_internal.h: Likewise.
11260 * posix/regexec.c: Likewise.
11261
b11643c2
MF
112622018-06-26 Mike FABIAN <mfabian@redhat.com>
11263
11264 [BZ #23308]
11265 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
11266 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
11267 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
11268 * localedata/unicode-gen/PropList.txt: likewise.
11269 * localedata/unicode-gen/UnicodeData.txt: likewise.
11270 * localedata/charmaps/UTF-8: Regenerate.
11271 * localedata/locales/i18n_ctype: likewise.
11272 * localedata/locales/tr_TR: likewise.
11273 * localedata/locales/translit_circle: likewise.
11274 * localedata/locales/translit_cjk_compat: likewise.
11275 * localedata/locales/translit_combining: likewise.
11276 * localedata/locales/translit_compat: likewise.
11277 * localedata/locales/translit_font: likewise.
11278 * localedata/locales/translit_fraction: likewise.
11279
5a357506
FW
112802018-07-03 Florian Weimer <fweimer@redhat.com>
11281
11282 [BZ #23363]
11283 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
11284 * stdio-common/tst-printf.sh: Adjust expected output.
11285 * LICENSES: Update.
11286
7279af00
AZ
112872018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11288
11289 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
11290 symbol.
11291
b7b88cea
GG
112922018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11293
11294 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
11295 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
11296 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
11297 * stdio-common/tst-printfsz-islongdouble.c: New file.
11298 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
11299 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
11300 [subdir == stdio-common] (routines): Add ieee128-printf_size.
11301 [subdir == stdio-common] (tests-internal): Add
11302 test-printf-size-ieee128, and test-printf-size-ibm128.
11303 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
11304 (CFLAGS-test-printf-size-ibm128.c): New variables.
11305 [subdir == stdio-common] (tests-special): Add
11306 $(objpfx)test-printf-size-ieee128.out and
11307 $(objpfx)test-printf-size-ibm128.out.
11308 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
11309 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
11310 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
11311 __printf_sizeieee128.
11312 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
11313 New file.
11314 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
11315 Likewise.
11316 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
11317 Likewise.
11318
2b445206
SN
113192018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
11320
11321 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
11322 (exp2f_inline): Likewise.
11323 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
11324 (__math_uflowf): Likewise.
11325 (__math_may_uflowf): Likewise.
11326 (__math_divzerof): Likewise.
11327 (__math_invalidf): Likewise.
11328 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
11329 (__math_oflowf): Likewise.
11330 (__math_uflowf): Likewise.
11331 (__math_may_uflowf): Likewise.
11332 (__math_divzerof): Likewise.
11333 (__math_invalidf): Likewise.
11334
2827ab99
CD
113352018-06-29 DJ Delorie <dj@redhat.com>
11336 Carlos O'Donell <carlos@redhat.com>
11337
11338 [BZ #23329]
11339 * include/libc-symbols.h: Comment the freeres framework.
11340 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
11341 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
11342 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
11343 * dlfcn/dlerror.c: Include libc-symbols.h
11344 (__dlerror_main_freeres): New function.
11345 * dlfcn/dlfreeres.c: New file.
11346 * dlfcn/sdlfreeres.c: New file.
11347 * include/dlfcn.h: Declare __dlerror_main_freeres.
11348 * malloc/set-freeres.c: Declare __libdl_freeres, and
11349 __libpthread_freeres.
11350 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
11351 the releavant libraries are loaded.
11352 * malloc/thread-freeres.c: Add comments.
11353 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
11354 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
11355 * nptl/allocatestack.c (__nptl_free_stacks): New function.
11356 (__free_stacks): Rename to...
11357 (free_stacks): ...this. Mark static.
11358 (queue_stack): Call free_stacks.
11359 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
11360 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
11361 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
11362 ptr_freeres element from struct.
11363 (pthread_functions): Remove .ptr_freeres from struct initializer.
11364 [SHARED] (nptl_freeres): Remove.
11365 * nptl/nptlfreeres.c: New file.
11366 * nptl/pthreadP.h
11367 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
11368 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
11369 attribute_hidden.
11370 (__free_stacks): Rename to...
11371 (__nptl_stacks_freeres): ...this.
11372 (__shm_directory_freeres): Declare.
11373 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
11374 (__nptl_unwind_freeres): ...this.
11375 * resolv/res-close.c: Add comment.
11376 * resolv/resolv_conf.c: Include libc-symbols.h.
11377 * string/strerror_l.c: Include libc-symbols.h.
11378 * sunrpc/rpc_thread.c: Include libc-symbols.h.
11379 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
11380 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
11381 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
11382
37d3d244
RS
113832018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11384
11385 * stdlib/tst-strfmon_l.c: Add tests for long double.
11386
a1e0c5fa
MW
113872018-06-29 Michael Wolf <milupo@sorbzilla.de>
11388
11389 [BZ #23208]
11390 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
11391 * localedata/locales/dsb_DE: New file.
11392
2e0c5de6
RL
113932018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11394
11395 [BZ #23140]
11396 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
11397 genitive case).
11398 (alt_mon): New entry, import from CLDR (nominative case).
11399
cdb52c71
SL
114002018-06-29 Sylvain Lesage <severo@rednegra.net>
11401
11402 [BZ #22996]
11403 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
11404
ce76a5cb
SP
114052018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
11406
0aec4c1d
SP
11407 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
11408 Use vector registers.
11409
ce76a5cb
SP
11410 * sysdeps/aarch64/multiarch/memmove_falkor.S
11411 (__memcpy_falkor): Use vector registers.
11412
7e8989d0
MS
114132018-06-29 Martin Sebor <msebor@redhat.com>
11414
11415 * manual/stdio.texi (Customizing Printf): Mention interaction
11416 with GCC built-ins.
11417
bac15a72
MR
114182018-06-29 Maciej W. Rozycki <macro@mips.com>
11419
11420 [BZ #23307]
11421 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
11422 `st_value' is 0 if `st_shndx' is SHN_ABS.
11423 * elf/tst-absolute-zero.c: New file.
11424 * elf/tst-absolute-zero-lib.c: New file.
11425 * elf/tst-absolute-zero-lib.lds: New file.
11426 * elf/Makefile (tests): Add `tst-absolute-zero'.
11427 (modules-names): Add `tst-absolute-zero-lib'.
11428 (LDLIBS-tst-absolute-zero-lib.so): New variable.
11429 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
11430 ($(objpfx)tst-absolute-zero: New dependency.
11431
e69d994a
ZW
114322018-06-29 Zack Weinberg <zackw@panix.com>
11433
11434 * configure.ac: New command-line option --disable-crypt.
11435 Force --disable-nss-crypt when --disable-crypt is given, with a
11436 warning if it was explicitly enabled.
11437 * configure: Regenerate.
11438 * config.make.in: New boolean substitution variable $(build-crypt).
11439 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
11440 when $(build-crypt).
11441 * manual/install.texi: Document --disable-crypt.
11442 * INSTALL: Regenerate.
11443
11444 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
11445 which is never set.
11446 * conform/Makefile: Only include libcrypt.a in
11447 linknamespace-libs-xsi and linknamespace-libs-XPG4
11448 when $(build-crypt).
11449 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
11450 USE_CRYPT to 1 when $(build-crypt).
11451 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
11452 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
11453 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
11454
841785ba
ZW
114552018-06-29 Zack Weinberg <zackw@panix.com>
11456
11457 * crypt/crypt.h, posix/unistd.h: Update comments and
11458 prototypes for crypt and crypt_r.
11459
11460 * manual/crypt.texi (Cryptographic Functions): New initial
11461 exposition.
11462 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
11463 (Unpredictable Bytes): Improve initial exposition. Clarify error
11464 behavior of getentropy and getrandom.
11465 * manual/examples/genpass.c: Generate a salt using getentropy
11466 instead of the current time. Use hash $5$ (SHA-2-256).
11467 * manual/examples/testpass.c: Demonstrate validation against
11468 hashes generated with three different one-way functions.
11469
11470 * manual/intro.texi: crypt.texi does not need an overview
11471 anymore.
11472
11473 * manual/nss.texi, manual/memory.texi, manual/socket.texi
11474 * manual/terminal.texi: Consistently refer to "passphrases"
11475 * instead of "passwords", and to the "user database" instead
11476 * of the "password database".
11477 * manual/users.texi: Similarly. Add notes about how actual
11478 passphrase hashes are now stored in the shadow database.
11479 Remove 20-year-old junk todo note.
11480
6ab902e4
ZW
114812018-06-29 Zack Weinberg <zackw@panix.com>
11482
11483 * manual/crypt.texi: Use a normal top-level @node declaration.
11484 Move most of the introductory text to the 'crypt' section.
11485 Move the example programs below the @deftypefun for 'crypt_r'.
11486 Move the 'getpass' section...
11487 * manual/terminal.texi: ...here.
11488
b10a0acc
ZW
114892018-06-29 Zack Weinberg <zackw@panix.com>
11490 Florian Weimer <fweimer@redhat.com>
11491
11492 * posix/unistd.h: Do not declare encrypt.
11493 (_XOPEN_CRYPT): Remove macro definition.
11494 (crypt): Declare only for _USE_MISC.
11495 * stdlib/stdlib.h: Do not declare setkey.
11496 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
11497 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
11498
11499 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
11500 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
11501 into compat symbols. Don't define initial_perm if it's not
11502 going to be used.
11503 * crypt/cert.c: Link explicitly with the expected versions for
11504 setkey and encrypt. If they are not available at all, mark
11505 the test as unsupported.
11506
11507 * sunrpc/des_crypt.c: Unconditionally block linkage with
11508 cbc_crypt and ecb_crypt for new binaries.
11509 * sunrpc/des_soft.c: Unconditionally block linkage with
11510 des_setparity for new binaries.
11511
11512 * manual/crypt.texi: Remove the entire "DES Encryption"
11513 section. Also remove the paragraph talking about FIPS 140-2
11514 from the introduction.
11515 * manual/string.texi (strfry, memfrob): Revise. Recommend use
11516 of libgcrypt for "real" encryption, not DES.
11517 * manual/conf.texi (Constants for Sysconf): Mention that
11518 _XOPEN_CRYPT is no longer impelemented.
11519
11520 * conform/data/unistd.h-data: Remove crypt function declaration.
11521
524d796d
FW
115222018-06-29 Florian Weimer <fweimer@redhat.com>
11523
11524 [BZ #23351]
11525 * malloc/hooks.c: Update comments on restoring of dumped heaps.
11526 (disallow_malloc_check): Remove variable.
11527 (__malloc_check_init): Adjust.
11528 (malloc_set_state): Update comment.
11529 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
11530 declarations.
11531
339124ab
RL
115322018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
11533
11534 [BZ #23140]
11535 * localedata/locales/ast_ES (mon): Rename to...
11536 (alt_mon): This.
11537 (mon): Import from CLDR (genitive case).
11538
c1f86a33
DA
115392018-06-29 Daniel Alvarez <dalvarez@redhat.com>
11540 Jakub Sitnicki <jkbs@redhat.com>
11541
11542 [BZ #21812]
11543 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
11544 on NLM_F_DUMP_INTR.
11545
0b11b649
SN
115462018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
11547
11548 * manual/llio.texi: Remove spurious space.
11549
c1c2848b
FW
115502018-06-28 Florian Weimer <fweimer@redhat.com>
11551
11552 [BZ #23349]
11553 * time/bits/types/struct_timespec.h: Change header inclusion guard to
11554 _STRUCT_TIMESPEC.
11555
86a0f561
RS
115562018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11557
11558 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 11559 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
11560 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
11561 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
11562 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
11563 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
11564 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
11565
780684eb
MR
115662018-06-27 Maciej W. Rozycki <macro@mips.com>
11567
11568 [BZ #23266]
11569 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
11570 Copy and null-terminate entries that are not terminated, in
11571 addition to empty ones.
11572
c49e1822
FW
115732018-06-27 Florian Weimer <fweimer@redhat.com>
11574
11575 [BZ #18023]
b39d961c
TS
11576 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
11577 (extend_alloca_account): Remove.
c49e1822
FW
11578 * manual/stdio.texi (Variable Arguments Output): Update comment.
11579
a833e627
JM
115802018-06-27 Joseph Myers <joseph@codesourcery.com>
11581
11582 * nptl/sockperf.c: Remove file.
11583
92d6aa85
FW
115842018-06-27 Florian Weimer <fweimer@redhat.com>
11585
11586 [BZ #18023]
11587 * elf/dl-deps.c (_dl_map_object_deps): Use struct
11588 scratch_buffer instead of extend_alloca.
11589
890c2ced
FW
115902018-06-27 Florian Weimer <fweimer@redhat.com>
11591
11592 [BZ #18023]
11593 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
11594 scratch_buffer instead of extend_alloca. Update comments.
11595
4272059d
FW
115962018-06-27 Florian Weimer <fweimer@redhat.com>
11597
11598 [BZ #18023]
11599 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
11600 instead of extend_alloca.
11601
27f10a09
JM
116022018-06-26 Joseph Myers <joseph@codesourcery.com>
11603
11604 [BZ #13888]
11605 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
11606 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
11607 /tmp.
11608 * scripts/test-installation.pl: Put temporary files in build
11609 directory, not /tmp.
11610 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
11611 (CFLAGS-bug4.c): Likewise.
11612 (CFLAGS-bug5.c): Likewise.
11613 (CFLAGS-test-fseek.c): Likewise.
11614 (CFLAGS-test-popen.c): Likewise.
11615 (CFLAGS-test_rdwr.c): Likewise.
11616 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
11617 /tmp.
11618 * stdio-common/bug4.c (main): Likewise.
11619 * stdio-common/bug5.c (main): Likewise.
11620 * stdio-common/test-fseek.c (TESTFILE): Likewise.
11621 * stdio-common/test-popen.c (do_test): Likewise.
11622 * stdio-common/test_rdwr.c (main): Likewise.
11623
05598a09
PF
116242018-06-26 Patsy Franklin <pfrankli@redhat.com>
11625
11626 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
11627 (sem_open): Set sem.newsem.pad to zero for valgrind.
11628
06ab719d
AZ
116292018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11630
11631 [BZ #20251]
11632 * NEWS: Mention fcntl64 addition.
11633 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
11634 * login/utmp_file.c: Likewise.
11635 * sysdeps/posix/fdopendir.c: Likewise.
11636 * sysdeps/posix/opendir.c: Likewise.
11637 * sysdeps/unix/pt-fcntl.c: Likewise.
11638 * include/fcntl.h (__libc_fcntl64, __fcntl64,
11639 __fcntl64_nocancel_adjusted): New prototype.
11640 (__fcntl_nocancel_adjusted): Remove prototype.
11641 * io/Makefile (routines): Add fcntl64.
11642 (CFLAGS-fcntl64.c): New rule.
11643 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
11644 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
11645 * io/fcntl.h (fcntl64): Add prototype and redirect if
11646 __USE_FILE_OFFSET64 is defined.
11647 * io/fcntl64.c: New file.
11648 * manual/llio.text: Add a note for which commands fcntl acts a
11649 cancellation point.
11650 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
11651 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
11652 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
11653 New symbols.
11654 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
11655 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
11656 non-LFS case.
11657 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
11658 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
11659 to __fcntl64_nocancel.
11660 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
11661 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
11662 to __fcntl64_nocancel.
11663 * sysdeps/generic/not-cancel.h: Likewise.
11664 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
11665 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
11666 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11667 (fcntl64): New symbol.
11668 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11669 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11670 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11673 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11674 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11675 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11676 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11677 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11678 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
11679 fcntl64): Likewise.
11680 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11681 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
11682 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11683 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11684 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11685 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11686 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11687 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11688 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11690 Likewise.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11692 Likewise.
11693 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11695 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11696
124e0258
FW
116972018-06-26 Florian Weimer <fweimer@redhat.com>
11698
11699 Run thread shutdown functions in an explicit order.
11700 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
11701 definition.
11702 (__libc_thread_freeres): Call thread shutdown functions
11703 explicitly.
11704 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
11705 * include/string.h (__strerror_thread_freeres): Declare.
11706 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
11707 arena_thread_freeres. No longer static. Remove thread shutdown
11708 hook registration.
11709 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
11710 Declare.
11711 * resolv/res-close.c (__res_thread_freeres): Renamed from
11712 res_thread_freeres. No longer static. Remove thread shutdown
11713 hook registration.
11714 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
11715 * resolv/resolv_conf.c (freeres): Remove incorrect section
11716 attribute and use libc_freeres_fn.
11717 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
11718 strerror_thread_freeres. No longer static. Remove thread
11719 shutdown hook registration.
11720 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
11721 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
11722 shutdown hook registration.
11723 * Makerules (shlib.lds): Do not provide section boundary symbols
11724 for __libc_thread_subfreeres.
11725 * manual/memory.texi (Basic Allocation): Update comment.
11726
935d920e
FW
117272018-06-26 Florian Weimer <fweimer@redhat.com>
11728
11729 Remove always-defined _RPC_THREAD_SAFE_ macro.
11730 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
11731 Do not define _RPC_THREAD_SAFE_.
11732 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
11733 conditional.
11734 * sunrpc/clnt_perr.c: Likewise.
11735 * sunrpc/clnt_raw.c: Likewise.
11736 * sunrpc/clnt_simp.c: Likewise.
11737 * sunrpc/key_call.c: Likewise.
11738 * sunrpc/rpc_common.c: Likewise.
11739 * sunrpc/rpc_main.c: Likewise.
11740 * sunrpc/rpc_thread.c: Likewise.
11741 * sunrpc/svc.c: Likewise.
11742 * sunrpc/svc_raw.c: Likewise.
11743 * sunrpc/svc_simple.c: Likewise.
11744 * sumrpc/svcauth_des.c: Likewise.
11745
29055464
FW
117462018-06-26 Florian Weimer <fweimer@redhat.com>
11747
11748 * libio/Makefile (tests-internal): Add tst-vtables,
11749 tst-vtables-interposed.
11750 * libio/tst-vtables.c: New file.
11751 * libio/tst-vtables-common.c: Likewise.
11752 * libio/tst-vtables-interposed.c: Likewise.
11753
5c0202af
FW
117542018-06-26 Florian Weimer <fweimer@redhat.com>
11755
11756 * support/support_test_main.c (support_test_main): Only call
11757 setvbuf if not disables.
11758 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
11759 * support/test-driver.h (struct test_config): Add no_setvbuf member.
11760
c402355d
FW
117612018-06-26 Florian Weimer <fweimer@redhat.com>
11762
11763 [BZ #23313]
11764 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
11765
43b1048a
FW
117662018-06-25 Florian Weimer <fweimer@redhat.com>
11767
11768 [BZ #18023]
11769 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11770 Use struct scratch_buffer instead of extend_alloca.
11771
1599ed4e
FW
117722018-06-25 Florian Weimer <fweimer@redhat.com>
11773
11774 [BZ #18023]
11775 * nss/getent.c (initgroups_keys): Use dynarray instead of
11776 extend_alloca.
11777
a26fe163
FW
117782018-06-25 Florian Weimer <fweimer@redhat.com>
11779
11780 [BZ #18023]
11781 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
11782 Use struct scratch_buffer instead of extend_alloca.
11783
90d9d9ce
FW
117842018-06-25 Florian Weimer <fweimer@redhat.com>
11785
11786 [BZ #18023]
11787 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
11788 back to malloc directly, without stack allocations.
11789
6b7b2aba
FW
117902018-06-25 Florian Weimer <fweimer@redhat.com>
11791
11792 [BZ #18023]
11793 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
11794 of extend_alloca.
11795
2f9f0d18
FW
117962018-06-25 Florian Weimer <fweimer@redhat.com>
11797
11798 [BZ #18023]
11799 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
11800 of extend_alloca.
11801 * nscd/hstcache.c (addhstbyX): Likewise.
11802 * nscd/pwdcache.c (addpwbyX): Likewise.
11803 * nscd/servicescache.c (addservbyX): Likewise.
11804
318bad78
FW
118052018-06-25 Florian Weimer <fweimer@redhat.com>
11806
11807 [BZ #18023]
11808 * nscd/connections.c (read_cmdline): New function.
11809 (restart): Use it. Update comment.
11810
189699ab
RL
118112018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11812
11813 [BZ #23140]
11814 * localedata/locales/csb_PL (mon): Rename to...
11815 (alt_mon): This.
11816 (abmon): Rename to...
11817 (ab_alt_mon): This.
11818 (mon): Add with proper genitive forms, copy from Wikipedia.
11819 (abmon): Likewise.
11820
0ea3f13c
RL
118212018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
11822
11823 [BZ #19485]
11824 * localedata/locales/csb_PL (mon): Fix typos:
11825 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
11826 (yesstr): Add, value is "jo".
11827 (nostr): Add, value is "nié".
11828
d93f4ff1
TMQMF
118292018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11830
11831 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
11832 all log1p and significand functions on m680x0.
11833 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
11834 of s_significand.c..
11835 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11836 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
11837 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
11838 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
11839 s_log1p.c and include it..
11840
f6299d2a
VC
118412018-06-21 Vincent Chen <vincentc@andestech.com>
11842
11843 * elf/elf.h (R_NDS32_NONE): New define.
11844 (R_NDS32_32_RELA): Likewise.
11845 (R_NDS32_COPY): Likewise.
11846 (R_NDS32_GLOB_DAT): Likewise.
11847 (R_NDS32_JUMP_SLOT): Likewise.
11848 (R_NDS32_RELATIVE): Likewise.
11849 (R_NDS32_TLS_TPOFF): Likewise.
11850 (R_NDS32_TLS_DESC): Likewise.
11851
61ab61c2
MW
118522018-06-21 Mark Wielaard <mark@klomp.org>
11853
11854 * elf/elf.h (R_BPF_MAP_FD): Removed.
11855 (R_BPF_64_64, R_BPF_64_32): New.
11856
f496b28e
FW
118572018-06-21 Florian Weimer <fweimer@redhat.com>
11858
11859 [BZ #23253]
11860 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
11861 Renamed from libc_feholdsetround_ctx.
11862 (default_libc_feresetround_ctx): Renamed from
11863 libc_feresetround_ctx.
11864 (default_libc_feholdsetround_noex_ctx): Renamed from
11865 libc_feholdsetround_noex_ctx.
11866 (default_libc_feresetround_noex_ctx): Renamed from
11867 libc_feresetround_noex_ctx.
11868 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
11869 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
11870 forwardning to the old implementations under the new names.
11871 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
11872 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
11873 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
11874 (libc_feresetround_ctx): Forward to default implements for i386
11875 and MATH_SET_BOTH_ROUNDING_MODES.
11876 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
11877 Add -DMATH_SET_BOTH_ROUNDING_MODES.
11878
1760daad
JM
118792018-06-20 Joseph Myers <joseph@codesourcery.com>
11880
99c7adf9
JM
11881 * string/tst-cmp.c: Include <libc-diag.h>.
11882 (strncmp_max): Disable -Wstringop-overflow= around call to
11883 strncmp.
11884 (strncasecmp_max): Disable -Wstringop-overflow= around call to
11885 strncasecmp.
11886
1760daad
JM
11887 * string/bug-strpbrk1.c: Include <libc-diag.h>.
11888 (main): Disable -Wunused-value around call to strpbrk.
11889 * string/bug-strspn1.c: Include <libc-diag.h>.
11890 (main): Disable -Wunused-value around call to strspn.
11891
209ae17c
TMQMF
118922018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11893 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11894
11895 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
11896 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
11897
badba23c
TMQMF
118982018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11899
5e79e029
TMQMF
11900 * math/Makefile (libm-calls): Move s_significandF to...
11901 (gen-libm-calls): ... here.
11902 * math/s_significand_template.c: New file.
11903 * math/s_significand.c: Removed.
11904 * math/s_significandf.c: Removed.
11905 * math/s_significandl.c: Removed.
11906 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
11907 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
11908
badba23c
TMQMF
11909 * math/e_exp2_template.c (declare_mgen_finite_alias,
11910 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
11911 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
11912 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
11913
2d1c89a5
FW
119142018-06-20 Florian Weimer <fweimer@redhat.com>
11915
11916 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
11917
646c2833
JM
119182018-06-19 Joseph Myers <joseph@codesourcery.com>
11919
11920 [BZ #23280]
11921 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
11922 floating-point number to strtod functions rather than possibly
11923 negating result of those functions.
11924 * stdio-common/tst-scanf-round.c: New file.
11925 * stdio-common/Makefile (tests): Add tst-scanf-round.
11926 ($(objpfx)tst-scanf-round): Depend on $(libm).
11927
c77e4dc0
ST
119282018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11929
11930 * sysdeps/mach/hurd/localplt.data: Move to...
11931 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
11932 R_386_GLOB_DAT like on Linux i386.
11933
91b2f3e5
JM
119342018-06-18 Joseph Myers <joseph@codesourcery.com>
11935
f2857da7
JM
11936 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
11937 (SHM_STAT_ANY): New macro.
11938 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
11939 (SHM_STAT_ANY): Likewise.
11940 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
11941 (SHM_STAT_ANY): Likewise.
11942 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
11943 (SHM_STAT_ANY): Likewise.
11944 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
11945 (SHM_STAT_ANY): Likewise.
11946 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
11947 (SHM_STAT_ANY): Likewise.
11948 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
11949 (SHM_STAT_ANY): Likewise.
11950 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
11951 (SHM_STAT_ANY): Likewise.
11952 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
11953 (SHM_STAT_ANY): Likewise.
11954 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
11955 (SHM_STAT_ANY): Likewise.
11956 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
11957 (SHM_STAT_ANY): Likewise.
11958 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
11959 (SHM_STAT_ANY): Likewise.
11960
176c7fee
JM
11961 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
11962 (SEM_STAT_ANY): New macro.
11963 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
11964 (SEM_STAT_ANY): Likewise.
11965 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
11966 (SEM_STAT_ANY): Likewise.
11967 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
11968 (SEM_STAT_ANY): Likewise.
11969 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
11970 (SEM_STAT_ANY): Likewise.
11971 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
11972 (SEM_STAT_ANY): Likewise.
11973 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
11974 (SEM_STAT_ANY): Likewise.
11975 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
11976 (SEM_STAT_ANY): Likewise.
11977 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
11978 (SEM_STAT_ANY): Likewise.
11979 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
11980 (SEM_STAT_ANY): Likewise.
11981
86bf0019
JM
11982 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
11983 (MSG_STAT_ANY): New macro.
11984 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
11985 (MSG_STAT_ANY): Likewise.
11986 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
11987 (MSG_STAT_ANY): Likewise.
11988 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
11989 (MSG_STAT_ANY): Likewise.
11990 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
11991 (MSG_STAT_ANY): Likewise.
11992 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
11993 (MSG_STAT_ANY): Likewise.
11994 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
11995 (MSG_STAT_ANY): Likewise.
11996 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
11997 (MSG_STAT_ANY): Likewise.
11998 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
11999 (MSG_STAT_ANY): Likewise.
12000 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12001 (MSG_STAT_ANY): Likewise.
12002
91b2f3e5
JM
12003 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12004 (MAP_TYPE): Change value to 0x2b.
12005
3fe8fc79
FW
120062018-06-18 Florian Weimer <fweimer@redhat.com>
12007
12008 [BZ #15722]
12009 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12010 socket with SOCK_CLOEXEC.
12011
809dc95d
JM
120122018-06-18 Joseph Myers <joseph@codesourcery.com>
12013
12014 [BZ #23303]
12015 * sysdeps/powerpc/powerpc64/le/Makefile
12016 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12017 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12018 (gnulib-tests): Also add $(f128-loader-link) for
12019 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12020
298a8b59
ST
120212018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12022
12023 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12024 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12025 of sendfile.
12026 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12027 (sendfile64): New strong alias.
faf7bbc2
ST
12028 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12029 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12030 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
12031 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12032 attribute.
12033 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12034 ___pthread_get_cleanup_stack.
932d05f0 12035 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
12036 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12037 * mach/shortcut.awk: Make syscall stubs include
12038 <mach-shortcuts-hidden.h> and add hidden definition.
12039 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
12040 (__mach_msg): Add hidden prototype.
12041 * mach/msg.c: Include <mach.h>.
12042 (__mach_msg): Add hidden definition.
b0344cf5
ST
12043 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12044 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12045 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12046 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
12047 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12048 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
12049 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12050 prototype and definition.
12051 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12052 hidden target for _hurd_self_sigstate.
298a8b59 12053
b12c1e79
JM
120542018-06-15 Joseph Myers <joseph@codesourcery.com>
12055
12056 [BZ #23007]
12057 * stdlib/tst-strtod-nan-sign-main.c: New file.
12058 * stdlib/tst-strtod-nan-sign.c: Likewise.
12059 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12060 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12061 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12062 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12063 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12064
b0debe14
HB
120652018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12066
12067 [BZ #23007]
12068 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12069 appropriate sign.
12070
14beef75
FW
120712018-06-14 Florian Weimer <fweimer@redhat.com>
12072
12073 [BZ #23290]
12074 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12075 that the result stays within the ISO-8859-1 range.
12076 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12077 characters are defined in IBM273.
12078
c596630b
ST
120792018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12080
12081 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12082 __mach_task_self): Remove attribute_hidden.
12083
35ebb6b0
JM
120842018-06-14 Joseph Myers <joseph@codesourcery.com>
12085
12086 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12087 ignore -Wrestrict for one test.
12088
3c7b9f1f
SE
120892018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12090 Szabolcs Nagy <szabolcs.nagy@arm.com>
12091
12092 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12093
c59ee916
FW
120942018-06-14 Florian Weimer <fweimer@redhat.com>
12095
12096 * scripts/update-abilist.sh: Accept empty list of files to patch.
12097
43b5ff50
ST
120982018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12099
12100 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12101 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
12102 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12103 __libc_read and __libc_write to __read and __write.
c8c6e6d6 12104 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
12105 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12106 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12107 __thread_switch, __evc_wait): Move declarations to...
12108 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12109 attribute_hidden.
06d1a826
ST
12110 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12111 use PLT to call _hurd_self_sigstate.
43b5ff50 12112
fcd6b5ac
JM
121132018-06-13 Joseph Myers <joseph@codesourcery.com>
12114
12115 [BZ #23279]
12116 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12117 MAX_EXP as overflowing.
12118 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12119 overflow flag.
12120 (round_str): Output also whether result overflows in each rounding
12121 mode.
12122 * stdlib/tst-strtod-round-data: Add more tests.
12123 * stdlib/tst-strtod-round-data.h: Regenerated.
12124 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12125 (TEST): Handle extra arguments for overflow flags.
12126 (struct test_overflow): New type.
12127 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12128 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12129 (test_in_one_mode): Take argument with overflow information.
12130 (do_test): Update calls to test_in_one_mode.
12131
35df5a77
CD
121322018-06-12 Carlos O'Donell <carlos@redhat.com>
12133
a745c837
CD
12134 * elf/dl-load (_dl_dst_substitute): Correct comment.
12135 (_dl_dst_count): Likewise.
12136
35df5a77
CD
12137 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12138 lll_futex_timed_wait.
12139
48b12ed5
JM
121402018-06-12 Joseph Myers <joseph@codesourcery.com>
12141
12142 [BZ #23277]
12143 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12144 attribute.
12145 * math/test-nan-const.c: New file.
12146 * math/Makefile (tests): Add test-nan-const.
12147 (CFLAGS-test-nan-const.c): New variable.
12148
cb8f6aff
L
121492018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12150
12151 * benchtests/scripts/compare_strings.py (process_results): Add
12152 funcs argument. Compare only functions which are selected.
12153 (main): Check if base function is among selected functions.
12154 Pass selected functions to process_results.
12155 (__main__): Add -f/--functions argument.
12156
fc2ba803
HZ
121572018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12158 Hongbo Zhang <hongbo.zhang@linaro.org>
12159
12160 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12161 __memcpy_falkor for phecda core.
12162 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12163 __memmove_falkor for phecda core.
12164 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12165 __memset_falkor for phecda core.
12166 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12167 for phecda core.
12168 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12169 macro to identify phecda core.
12170
5aad5f61
CD
121712018-06-12 Carlos O'Donell <carlos@redhat.com>
12172 Andreas Schwab <schwab@suse.de>
12173 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 12174 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
12175
12176 [BZ #23102]
12177 [BZ #21942]
12178 [BZ #18018]
12179 [BZ #23259]
12180 CVE-2011-0536
12181 * elf/dl-dst.h: Remove DL_DST_COUNT.
12182 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
12183 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
12184 (is_dst): Comment. Support ELF gABI.
12185 (_dl_dst_count): Comment. Simplify and count DSTs.
12186 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
12187 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
12188 locals.
12189
329ea513
ZW
121902018-06-12 Zack Weinberg <zackw@panix.com>
12191
12192 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
12193 * sysdeps/unix/sysv/linux/dl-sysdep.c
12194 Include not-cancel.h. Use __close_nocancel instead of __close,
12195 __open64_nocancel instead of __open, __read_nocancel instead of
12196 __libc_read, and __write_nocancel instead of __libc_write.
12197
12198 * csu/check_fds.c (check_one_fd)
12199 * sysdeps/posix/fdopendir.c (__fdopendir)
12200 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 12201 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
12202
12203 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
12204 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 12205 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
12206 Use __open64_nocancel instead of __open_nocancel.
12207
12208 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
12209 hidden_proto declarations to the end and issue them if either
12210 IS_IN(libc) or IS_IN(rtld).
12211 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
12212 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
12213 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
12214 read_nocancel, waitpid_nocancel, write_nocancel.
12215
b39d961c
TS
12216 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
12217 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
12218 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 12219
b39d961c
TS
12220 * nptl/pt-fcntl.c: New file.
12221 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
12222 (libpthread-routines): Add pt-fcntl.
12223 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
12224 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
12225 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
12226 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 12227 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
12228 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
12229 to fcntl_nocancel.c.
12230 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
12232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12233 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
12234
12235 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
12236 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
12237 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
12238 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
12239 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
12240 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
12241 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
12242 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
12243 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
12244 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
12245 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
12246 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
12247 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
12248 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
12249 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
12250 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
12251 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
12252 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
12253 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
12254 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
12255
b39d961c
TS
12256 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
12257 libpthread-routines.
12258 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
12259 defines nothing.
329ea513 12260
b39d961c
TS
12261 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
12262 __libc_read, and __write instead of __libc_write. Define
12263 __open64 in addition to __open.
329ea513 12264
0221ce2a
L
122652018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12266
12267 [BZ #23250]
12268 [BZ #10686]
12269 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
12270 to _private_tm[3] and add __glibc_reserved2.
12271 Add _Static_assert of offset of __private_ss == 0x30.
12272 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
12273 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
12274
e826574c
FW
122752018-06-12 Florian Weimer <fweimer@redhat.com>
12276
12277 x86: Make strncmp usable from rtld.
12278 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
12279 __strncmp_ia32 if in libc (and not in rtld).
12280 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
12281 strncmp if not in libc (and not to __strncmp_sse2).
12282
c4ad5782
RL
122832018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
12284
12285 [BZ #23140]
12286 * localedata/locales/gd_GB (mon): Rename to...
12287 (alt_mon): This.
12288 (mon): Import from CLDR (genitive case).
12289 * localedata/locales/hsb_DE (mon): Rename to...
12290 (alt_mon): This.
12291 (mon): Import from CLDR (genitive case).
12292 * localedata/locales/wa_BE (mon): Rename to...
12293 (alt_mon): This.
12294 (mon): Add, fill with the proper genitive forms, but CLDR data
12295 is incomplete; completed according to the comments in this file.
12296 (d_t_fmt): Do not use "di" before the month name, no longer needed.
12297
12298 * localedata/locales/wa_BE (country_name): Reword
12299 "Beljike" -> "Beldjike".
12300
ca121b11
JM
123012018-06-11 Joseph Myers <joseph@codesourcery.com>
12302
12303 [BZ #23272]
12304 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
12305 cases of non-finite arguments.
12306 * math/libm-test-fma.inc (fma_test_data): Add more tests.
12307
2b69fecb
JDA
123082018-06-10 John David Anglin <danglin@gcc.gnu.org>
12309
12310 [BZ #23174]
12311 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
12312
283d9851
AZ
123132018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12314
12315 [BZ #23264]
12316 * include/unistd.h (__execvpex): New prototype.
12317 * posix/Makefile (tests): Add tst-spawn4.
12318 (tests-internal): Add tst-spawn4-compat.
12319 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
12320 * posix/tst-spawn4-compat.c: New file.
12321 * posix/tst-spawn4.c: Likewise.
12322 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
12323 binaries as shell scripts.
12324 * sysdeps/posix/spawni.c (__spawni): Likewise.
12325
67c05796
L
123262018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12327
12328 [BZ #23145]
12329 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
12330 ($(all-built-dso:=.dynsym): New target.
12331 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
12332 ($(objpfx)check-initfini.out): New target.
12333 (generated): Add check-initfini.out.
12334 * scripts/check-initfini.awk: New file.
12335 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
12336 (_fini): Likewise.
12337 * sysdeps/alpha/crti.S (_init): Mark as hidden.
12338 (_fini): Likewise.
12339 * sysdeps/arm/crti.S (_init): Mark as hidden.
12340 (_fini): Likewise.
12341 * sysdeps/hppa/crti.S (_init): Mark as hidden.
12342 (_fini): Likewise.
12343 * sysdeps/i386/crti.S (_init): Mark as hidden.
12344 (_fini): Likewise.
12345 * sysdeps/ia64/crti.S (_init): Mark as hidden.
12346 (_fini): Likewise.
12347 * sysdeps/m68k/crti.S (_init): Mark as hidden.
12348 (_fini): Likewise.
12349 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
12350 (_fini): Likewise.
12351 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
12352 (_fini): Likewise.
12353 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
12354 (_fini): Likewise.
12355 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
12356 (_fini): Likewise.
12357 * sysdeps/nios2/crti.S (_init): Mark as hidden.
12358 (_fini): Likewise.
12359 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
12360 (_fini): Likewise.
12361 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
12362 (_fini): Likewise.
12363 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
12364 (_fini): Likewise.
12365 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
12366 (_fini): Likewise.
12367 * sysdeps/sh/crti.S (_init): Mark as hidden.
12368 (_fini): Likewise.
12369 * sysdeps/sparc/crti.S (_init): Mark as hidden.
12370 (_fini): Likewise.
12371 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
12372 (_fini): Likewise.
12373
1c09524e
TMQMF
123742018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12375
12376 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
12377 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
12378 and TF redirection to KFtype and KF only when the default
12379 long double type is not the IEEE 128-bit floating point type.
12380
0e0577c9
JM
123812018-06-05 Joseph Myers <joseph@codesourcery.com>
12382
0c1c33b2
JM
12383 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
12384 macro.
12385 (HWCAP_USCAT): Likewise.
12386 (HWCAP_ILRCPC): Likewise.
12387 (HWCAP_FLAGM): Likewise.
12388 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
12389 Increase to 28.
12390 (_dl_aarch64_cap_flags): Add new flag names.
12391
bef1cbf4
JM
12392 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
12393 (MAP_FIXED_NOREPLACE): New macro.
12394 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
12395 (MAP_FIXED_NOREPLACE): Likewise.
12396 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
12397 (MAP_FIXED_NOREPLACE): Likewise.
12398 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12399 (MAP_FIXED_NOREPLACE): Likewise.
12400 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
12401 (MAP_FIXED_NOREPLACE): Likewise.
12402 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
12403 (MAP_FIXED_NOREPLACE): Likewise.
12404 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
12405 (MAP_FIXED_NOREPLACE): Likewise.
12406 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
12407 (MAP_FIXED_NOREPLACE): Likewise.
12408 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
12409 (MAP_FIXED_NOREPLACE): Likewise.
12410 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
12411 (MAP_FIXED_NOREPLACE): Likewise.
12412 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
12413 (MAP_FIXED_NOREPLACE): Likewise.
12414 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
12415 (MAP_FIXED_NOREPLACE): Likewise.
12416 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
12417 (MAP_FIXED_NOREPLACE): Likewise.
12418 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
12419 (MAP_FIXED_NOREPLACE): Likewise.
12420 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
12421 (MAP_FIXED_NOREPLACE): Likewise.
12422
0e0577c9
JM
12423 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12424 version to 4.17.
12425
ab3a0da0
JM
124262018-06-04 Joseph Myers <joseph@codesourcery.com>
12427
12428 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12429 version to 4.17
12430
d2d9dfb6
ST
124312018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12432
12433 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
12434 int.
12435 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
12436
a650b05e
LS
124372018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12438
12439 * benchtests/scripts/compare_string.py: (process_results) Catch
12440 exception in non-existent base_func and catch exception in
12441 non-existent attribute.
12442 (parse_file) Catch exception if input file does not exist.
12443
195abbf4
LS
124442018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12445
12446 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
12447 options to avoid diff calculation and omit header, respectively.
12448 (main): process --no-diff and --no-header
12449
14570163
LS
124502018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12451 H.J. Lu <hongjiu.lu@intel.com>
12452
12453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12454 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
12455 wcsncmp-sse2.
12456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12457 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
12458 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
12459 and __wcsncmp_sse2.
12460 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
12461 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
12462 AVX unaligned load is fast and vzeroupper is preferred.
12463 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
12464 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
12465 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
12466 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
12467 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
12468 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
12469 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
12470 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
12471 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
12472 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
12473 is undefined.
12474
e02c026f
FW
124752018-06-01 Florian Weimer <fweimer@redhat.com>
12476
12477 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
12478 configuring with --disable-multi-arch, building with
12479 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
12480 Haswell-era CPU.
12481
d8c19275
FW
124822018-06-01 Florian Weimer <fweimer@redhat.com>
12483
12484 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
12485 results from building with “-march=x86-64 -mtune=generic
12486 -mfpmath=sse” and running on a Haswell-era CPU.
12487
0d2163eb
JM
124882018-06-01 Joseph Myers <joseph@codesourcery.com>
12489
12490 [BZ #18473]
12491 * soft-fp/sqrttf2.c: Remove file.
12492 * soft-fp/sqrtdf2.c: Move to ....
12493 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
12494 <shlib-compat.h>.
12495 (__sqrtdf2): Make conditional on
12496 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12497 symbol.
12498 * soft-fp/sqrtsf2.c: Move to ....
12499 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
12500 <shlib-compat.h>.
12501 (__sqrtsf2): Make conditional on
12502 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
12503 symbol.
12504 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
12505 (gcc-double-routines): Remove sqrtdf2.
12506 (gcc-quad-routines): Remove sqrttf2.
12507 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12508 Do not filter out sqrtsf2 and sqrtdf2.
12509 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12510 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
12511
10450210
FW
125122018-06-01 Florian Weimer <fweimer@redhat.com>
12513
12514 * sysdeps/generic/libcidn.abilist: Remove file.
12515
4e8a6346
FW
125162018-06-01 Florian Weimer <fweimer@redhat.com>
12517
12518 [BZ #23236]
12519 * libio/strfile.h (struct _IO_str_fields): Rename members to
12520 discourage their use and add comment.
12521 (_IO_STR_DYNAMIC): Remove unused macro.
12522 * libio/strops.c (_IO_str_init_static_internal): Do not use
12523 callback pointers. Call malloc and free.
12524 (_IO_str_overflow): Do not use callback pointers. Call malloc
12525 and free.
12526 (enlarge_userbuf): Likewise.
12527 (_IO_str_finish): Call free.
12528 * libio/wstrops.c (_IO_wstr_init_static): Initialize
12529 _allocate_buffer_unused.
12530 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
12531 and free.
12532 (enlarge_userbuf): Likewise.
12533 (_IO_wstr_finish): Call free.
12534 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
12535 _allocate_buffer_unused, _free_buffer_unused.
12536 * libio/memstream.c (__open_memstream): Likewise.
12537 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12538 * libio/wmemstream.c (open_wmemstream): Likewise.
12539
50d004c9
PP
125402018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12541
12542 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
12543 AMD Ryzen 7 1800X.
12544
2c93fce7
RS
125452018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12546
12547 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
12548 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
12549 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
12550 New file.
12551 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
12552 Likewise.
12553 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
12554
0ce2fa69
FW
125552018-05-29 Florian Weimer <fweimer@redhat.com>
12556
12557 * support/Makefile (libsupport-routines): Add
12558 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
12559 xpthread_barrierattr_setpshared.
12560 * support/xpthread_barrierattr_destroy.c: New file.
12561 * support/xpthread_barrierattr_init.c: Likewise.
12562 * support/xpthread_barrierattr_setpshared.c: Likewise.
12563
7f7b5d8d
L
125642018-05-29 H.J. Lu <hongjiu.lu@intel.com>
12565
12566 [BZ #23206]
12567 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
12568 _r_debug and update DT_DEBUG for debugger.
12569
e4890300
FW
125702018-05-29 Florian Weimer <fweimer@redhat.com>
12571
12572 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
12573 (tst-strtod5i.out): Likewise.
12574
2c753f3e
JM
125752018-05-25 Joseph Myers <joseph@codesourcery.com>
12576
b5453d9f
JM
12577 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
12578 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
12579 (sparc64-quad-routines): New variable. Moved from ....
12580 [$(subdir) = soft-fp] (sysdep_routines): Add
12581 $(sparc64-quad-routines). Moved from ....
12582 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
12583 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
12584 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
12585 moved from ....
12586 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
12587 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
12588 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
12589 * sysdeps/sparc/sparc64/qp_add.c: ... here.
12590 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
12591 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
12592 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
12593 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
12594 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
12595 * sysdeps/sparc/sparc64/qp_div.c: ... here.
12596 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
12597 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
12598 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
12599 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
12600 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
12601 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
12602 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
12603 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
12604 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
12605 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
12606 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
12607 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
12608 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
12609 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
12610 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
12611 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
12612 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
12613 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
12614 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
12615 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
12616 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
12617 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
12618 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
12619 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
12620 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
12621 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
12622 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
12623 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
12624 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
12625 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
12626 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
12627 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
12628 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
12629 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
12630 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
12631 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
12632 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
12633 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
12634 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
12635 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
12636 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
12637 * sysdeps/sparc/sparc64/qp_util.c: ... here.
12638 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
12639 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
12640 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
12641 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
12642 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
12643 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
12644
2c753f3e
JM
12645 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
12646 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
12647 (sparc32-quad-routines): New variable. Moved from ....
12648 [$(subdir) = soft-fp] (sysdep_routines): Add
12649 $(sparc32-quad-routines). Moved from ....
12650 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
12651 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
12652 moved from ....
12653 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
12654 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
12655 * sysdeps/sparc/sparc32/q_add.c: ... here.
12656 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
12657 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
12658 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
12659 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
12660 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
12661 * sysdeps/sparc/sparc32/q_div.c: ... here.
12662 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
12663 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
12664 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
12665 * sysdeps/sparc/sparc32/q_feq.c: ... here.
12666 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
12667 * sysdeps/sparc/sparc32/q_fge.c: ... here.
12668 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
12669 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
12670 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
12671 * sysdeps/sparc/sparc32/q_fle.c: ... here.
12672 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
12673 * sysdeps/sparc/sparc32/q_flt.c: ... here.
12674 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
12675 * sysdeps/sparc/sparc32/q_fne.c: ... here.
12676 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
12677 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
12678 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
12679 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
12680 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
12681 * sysdeps/sparc/sparc32/q_mul.c: ... here.
12682 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
12683 * sysdeps/sparc/sparc32/q_neg.c: ... here.
12684 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
12685 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
12686 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
12687 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
12688 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
12689 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
12690 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
12691 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
12692 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
12693 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
12694 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
12695 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
12696 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
12697 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
12698 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
12699 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
12700 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
12701 * sysdeps/sparc/sparc32/q_sub.c: ... here.
12702 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
12703 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
12704 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
12705 * sysdeps/sparc/sparc32/q_util.c: ... here.
12706 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
12707 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
12708 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
12709 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
12710
c1dc1e1b
TMQMF
127112018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12712 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12713
12714 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
12715 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
12716 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
12717 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
12718
14186e8d
JM
127192018-05-24 Joseph Myers <joseph@codesourcery.com>
12720
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
12722 powerpc/soft-fp.
12723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12724 Likewise.
12725 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
12726 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
12727
fb0e10b8
GG
127282018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12729
12730 [BZ #23171]
12731 * math/math.h [C++] (iseqsig): Fix parameter type for the long
12732 double version.
12733
1dfeb17e
JM
127342018-05-23 Joseph Myers <joseph@codesourcery.com>
12735
12736 * sysdeps/sh/Implies: Remove sh/soft-fp.
12737 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
12738 * sysdeps/sh/sfp-machine.h: ... here.
12739
727b38df
L
127402018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12741
12742 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12743 (__mempcpy_erms): Skip zero length.
12744 (__memmove_erms): Likewise.
12745 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12746 (__memset_erms): Likewise.
12747
2834fb46
JM
127482018-05-23 Joseph Myers <joseph@codesourcery.com>
12749
12750 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
12751 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
12752 Add functions moved from ....
12753 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
12754 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
12755 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
12756 from ....
12757 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
12758 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
12759 * sysdeps/alpha/e_sqrtl.c: ... here.
12760 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
12761 * sysdeps/alpha/local-soft-fp.h: ... here.
12762 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
12763 * sysdeps/alpha/ots_add.c: ... here.
12764 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
12765 * sysdeps/alpha/ots_cmp.c: ... here.
12766 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
12767 * sysdeps/alpha/ots_cmpe.c: ... here.
12768 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
12769 * sysdeps/alpha/ots_cvtqux.c: ... here.
12770 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
12771 * sysdeps/alpha/ots_cvtqx.c: ... here.
12772 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
12773 * sysdeps/alpha/ots_cvttx.c: ... here.
12774 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
12775 * sysdeps/alpha/ots_cvtxq.c: ... here.
12776 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
12777 * sysdeps/alpha/ots_cvtxt.c: ... here.
12778 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
12779 * sysdeps/alpha/ots_div.c: ... here.
12780 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
12781 * sysdeps/alpha/ots_mul.c: ... here.
12782 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
12783 * sysdeps/alpha/ots_nintxq.c: ... here.
12784 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
12785 * sysdeps/alpha/ots_sub.c: ... here.
12786 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
12787 * sysdeps/alpha/sfp-machine.h: ... here.
12788
7f9f1ecb
FW
127892018-05-23 Florian Weimer <fweimer@redhat.com>
12790
12791 [BZ #19728]
12792 [BZ #19729]
12793 [BZ #22247]
12794 CVE-2016-6261
12795 CVE-2016-6263
12796 CVE-2017-14062
12797 Switch to extern IDNA implementation (libidn2).
12798 * libidn: Remove subdirectory.
12799 * LICENSES: Do not mention licensing conditions for the removed
12800 libidn code.
12801 * config.h.in (HAVE_LIBIDN): Remove.
12802 * include/dlfcn.h (__libc_dlopen): Update comment.
12803 * include/idna.h: Remove file.
12804 * inet/Makefile (routines): Add idna.
12805 (tests-static, tests-internal): Add tst-idna_name_classify.
12806 (LOCALES): Generate locales for tests.
12807 (tst-idna_name_classify.out): Depend on generated locales.
12808 * inet/idna_name_classify.c: New file.
12809 * inet/tst-idna_name_classify.c: Likewise.
12810 * inet/net-internal.h (__idna_to_dns_encoding)
12811 (__idna_from_dns_encoding): Declare.
12812 * inet/net-internal.h (enum idna_name_classification): Define.
12813 (__idna_name_classify): Declare.
12814 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
12815 __idna_from_dns_encoding.
12816 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
12817 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
12818 name as a fallback in case of encoding errors.
12819 (getnameinfo): Use DEPRECATED_NI_IDN.
12820 * inet/idna.c: New file.
12821 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
12822 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
12823 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
12824 (modules-names): Add tst-no-libidn2.
12825 (extra-test-objs): Add tst-no-libidn2.os.
12826 (LDFLAGS-tst-no-libidn2.so): Set soname.
12827 (LOCALES): Set, and generate locales.
12828 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
12829 (tst-resolv-ai_idn-latin1): Likewise.
12830 (tst-resolv-ai_idn-nolibidn2): Likewise.
12831 (tst-resolv-ai_idn.out): Depend on locales.
12832 (tst-resolv-ai_idn-latin1.out): Depend on locales.
12833 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
12834 tst-no-libidn2.so.
12835 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
12836 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
12837 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
12838 * resolv/tst-resolv-ai_idn.c: New file.
12839 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
12840 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
12841 * resolv/tst-no-libidn2.c: Likewise.
12842 * support/support_format_addrinfo.c (format_ai_flags): Do not
12843 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
12844 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
12845 (gaih_inet): Call __idna_to_dns_encoding and
12846 __idna_from_dns_encoding, and use the original (punycode) name if
12847 __idna_from_dns_encoding fails due to an encoding error.
12848 (getaddrinfo): Use DEPRECATED_AI_IDN.
12849 * sysdeps/unix/inet/Subdirs (libidn): Remove.
12850 * sysdeps/unix/inet/configure: Remove file.
12851 * sysdeps/unix/inet/configure.ac: Likewise.
12852
5f7b841d
FW
128532018-05-23 Florian Weimer <fweimer@redhat.com>
12854
12855 Implement allocate_once.
12856 * include/allocate_once.h: New file.
12857 * misc/allocate_once.c: Likewise.
12858 * misc/tst-allocate_once.c: Likewise.
12859 * misc/Makefile (routines): Add allocate_once.
12860 (tests-internal): Add tst-allocate_once.
12861 (generated): Add tst-allocate_once.mtrace,
12862 tst-allocate_once-mem.out.
12863 (tests-special): Add tst-allocate_once-mem.out.
12864 (tst-allocate_once-ENV): Set MALLOC_TRACE.
12865 (tst-allocate_once-mem.out): Call mtrace.
12866 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
12867
ed983107
L
128682018-05-23 H.J. Lu <hongjiu.lu@intel.com>
12869
12870 [BZ #23196]
12871 * string/test-memcpy.c (do_test1): New function.
12872 (test_main): Call it.
12873
9aaaab7c
AS
128742018-05-23 Andreas Schwab <schwab@suse.de>
12875
12876 [BZ #23196]
12877 CVE-2018-11237
12878 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
12879 (L(preloop_large)): Save initial destination pointer in %r11 and
12880 use it instead of %rax after the loop.
12881 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
12882
5c5c0dd7
JM
128832018-05-22 Joseph Myers <joseph@codesourcery.com>
12884
8f145c77
JM
12885 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
12886 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
12887 -I../soft-fp. Moved from ....
12888 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
12889 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
12890 * sysdeps/aarch64/e_sqrtl.c: ... here.
12891 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
12892 * sysdeps/aarch64/sfp-machine.h: ... here.
12893
3d6302a5
JM
12894 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
12895 -Wmaybe-uninitialized around access to fq[0].
12896 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12897 Likewise.
12898
5c5c0dd7
JM
12899 [BZ #18471]
12900 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
12901 aliases for non-libc case of versioned symbols.
12902 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
12903 (llseek): Define as compat symbol if
12904 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
12905 with link warning.
12906 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
12907 Make into a compat symbol, disabled for minimum symbol version
12908 GLIBC_2.28 and later.
12909 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
12910
ed0d6988
FW
129112018-05-22 Florian Weimer <fweimer@redhat.com>
12912
12913 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
12914 not add -mpreferred-stack-boundary=4.
12915 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
12916 (stack-align-test-flags): Likewise.
12917 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
12918 Likewise.
12919 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
12920 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
12921 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
12922 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
12923 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
12924 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
12925 (CFLAGS-tst-align2.c): Likewise.
12926
e28e9b1e
L
129272018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12928
12929 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
12930 (index_arch_Prefer_FSRM): Likewise.
12931 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12932 Also check Prefer_FSRM.
12933 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
12934 Also return OPTIMIZE (erms) for Prefer_FSRM.
12935
1af30adc
L
129362018-05-21 H.J. Lu <hongjiu.lu@intel.com>
12937
12938 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
12939 (index_cpu_FSRM): Likewise.
12940 (reg_FSRM): Likewise.
12941
78274dc8
JM
129422018-05-18 Joseph Myers <joseph@codesourcery.com>
12943
7c67e6e8
JM
12944 * math/gen-tgmath-tests.py: Import sys.
12945 (Tests.__init__): Initialize macros_seen.
12946 (Tests.add_tests): Add macro to macros_seen. Only generate tests
12947 if requested to do so for this macro.
12948 (Tests.add_all_tests): Take argument for macro for which to
12949 generate tests.
12950 (Tests.check_macro_list): New function.
12951 (main): Handle check-list argument and argument specifying macro
12952 for which to generate tests.
12953 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
12954 [PYTHON] (tgmath3-macro-tests): Likewise.
12955 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
12956 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
12957 not test-tgmath3.c.
12958 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
12959 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
12960 to CFLAGS.
12961 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
12962 [PYTHON] ($(foreach
12963 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
12964 rule.
12965 [PYTHON] (tests-special): Add
12966 $(objpfx)test-tgmath3-macro-list.out.
12967 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
12968
ebc129fd
JM
12969 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
12970 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
12971 later.
12972
78274dc8
JM
12973 [BZ #22639]
12974 * time/tzset.c (SECSPERDAY): Cast to time_t.
12975 * time/tst-y2039.c: New file.
12976 * time/Makefile (tests): Add tst-y2039.
12977
6f7fdeeb
LS
129782018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
12979
12980 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12981 (PREFETCH_ONE_SET): Remove duplicate line.
12982
e363a91c
FW
129832018-05-17 Florian Weimer <fweimer@redhat.com>
12984
12985 * sysdeps/generic/math-type-macros-double.h: Include
12986 <math-nan-payload-double.h> after <libm-alias-double.h>.
12987 * sysdeps/generic/math-type-macros-float.h: Include
12988 <math-nan-payload-float.h> after <libm-alias-float.h>.
12989 * sysdeps/generic/math-type-macros-float128.h: Include
12990 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
12991 * sysdeps/generic/math-type-macros-ldouble.h: Include
12992 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
12993
dae6c43c
AS
129942018-05-17 Andreas Schwab <schwab@suse.de>
12995
12996 * resolv/res_send.c (__res_context_send): Don't set errno when
12997 returing error after malloc failure.
12998
0068c085
L
129992018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13000
13001 * nptl/allocatestack.c (allocate_stack): Remove the
13002 !__ASSUME_PRIVATE_FUTEX paths.
13003 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13004 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13005 Likewise.
13006 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13007 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13008 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13009 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13010 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13011 !__ASSUME_PRIVATE_FUTEX path.
13012 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13013 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13014 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13015 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13016 !__ASSUME_PRIVATE_FUTEX macros.
13017 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13018 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13019 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13020 * sysdeps/unix/sysv/linux/kernel-features.h
13021 (__ASSUME_PRIVATE_FUTEX): Removed.
13022
632a6cbe
JM
130232018-05-17 Joseph Myers <joseph@codesourcery.com>
13024
13025 * math/Makefile (libm-narrow-fns): Add div.
13026 (libm-test-funcs-narrow): Likewise.
13027 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13028 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13029 * math/gen-auto-libm-tests.c (test_functions): Add div.
13030 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13031 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13032 (NARROW_DIV_TRIVIAL): Likewise.
13033 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13034 macro.
13035 (__ddivl): Likewise.
13036 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13037 ddiv.
13038 (CFLAGS-nldbl-ddiv.c): New variable.
13039 (CFLAGS-nldbl-fdiv.c): Likewise.
13040 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13041 __nldbl_ddivl.
13042 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13043 prototype.
13044 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13045 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13046 * math/auto-libm-test-in: Add tests of div.
13047 * math/auto-libm-test-out-narrow-div: New generated file.
13048 * math/libm-test-narrow-div.inc: New file.
13049 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13050 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13052 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13053 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13054 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13055 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13056 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13057 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13058 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13059 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13060 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13061 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13062 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13063 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13064 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13065 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13066 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13068 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13069 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13070 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13071 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13072 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13073 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13074 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13075 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13076 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13077 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13078 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13079 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13080 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13085 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13086 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13087 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13088 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13089 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13090 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13091 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13092 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13093
8c78faa9
AZ
130942018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13095
13096 [BZ #23178]
13097 * nscd/nscd-client.h (sendfileall): Remove prototype.
13098 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13099 (handle_request): Use writeall instead of sendfileall.
13100 * nscd/aicache.c (addhstaiX): Likewise.
13101 * nscd/grpcache.c (cache_addgr): Likewise.
13102 * nscd/hstcache.c (cache_addhst): Likewise.
13103 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13104 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13105 * nscd/pwdcache.c (cache_addpw): Likewise.
13106 * nscd/servicescache.c (cache_addserv): Likewise.
13107 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13108 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13109 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13110 Remove define.
13111
04958880
L
131122018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13113
13114 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13115 Include <string/strncat.c>.
13116 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13117 alias.
13118 (__GI___strncat): New hidden alias.
13119
c9992d13
JM
131202018-05-16 Joseph Myers <joseph@codesourcery.com>
13121
13122 * sysdeps/mips/mips32/libm-test-ulps: Update.
13123 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13124
2afece36
FW
131252018-05-16 Florian Weimer <fweimer@redhat.com>
13126
13127 * support/Makefile (libsupport-routines): Add support_quote_blob,
13128 support_test_compare_blob.
13129 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13130 * support/check.h (TEST_COMPARE_BLOB): Define.
13131 (support_test_compare_blob): Declare.
13132 * support/support.h (support_quote_blob): Declare.
13133 * support/support_quote_blob.c: New file.
13134 * support/support_test_compare_blob.c: Likewise.
13135 * support/tst-support_quote_blob.c: Likewise.
13136 * support/tst-test_compare_blob.c: Likewise.
13137
9761bf4d
FW
131382018-05-16 Florian Weimer <fweimer@redhat.com>
13139
13140 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13141 of <strtod_nan_double.h>.
13142 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13143 instead of SET_MANTISSA.
13144 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13145 of include <strtod_nan_float.h>.
13146 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13147 instead of <strtod_nan_ldouble.h>.
13148 * stdlib/strtod_nan_double.h: Move to ...
13149 * sysdeps/generic/math-nan-payload-double.h: ... here.
13150 (FLOAT): Remove definition.
13151 (SET_MANTISSA): Rename to ...
13152 (SET_NAN_PAYLOAD): ... this.
13153 * stdlib/strtod_nan_float.h: Move to ...
13154 * sysdeps/generic/math-nan-payload-float.h: ... here.
13155 (FLOAT): Remove definition.
13156 (SET_MANTISSA): Rename to ...
13157 (SET_NAN_PAYLOAD): ... this.
13158 * sysdeps/generic/math-type-macros-double.h: Include
13159 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13160 instead of <math-svid-compat.h>.
13161 * sysdeps/generic/math-type-macros-float.h: Include
13162 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13163 instead of <math-svid-compat.h>.
13164 * sysdeps/generic/math-type-macros-float128.h: Include
13165 <math-nan-payload-float128.h>.
13166 * sysdeps/generic/math-type-macros-ldouble.h: Include
13167 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13168 instead of <math-svid-compat.h>.
13169 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13170 check for definition.
13171 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13172 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13173 Include <ieee754_float128.h>.
13174 (FLOAT): Remove definition.
13175 (SET_MANTISSA): Rename to ...
13176 (SET_NAN_PAYLOAD): ... this.
13177 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13178 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
13179 Do not include <float128_private.h>.
13180 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
13182 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
13183 (FLOAT): Remove definition.
13184 (SET_MANTISSA): Rename to ...
13185 (SET_NAN_PAYLOAD): ... this.
13186 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
13187 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
13188 (FLOAT): Remove definition.
13189 (SET_MANTISSA): Rename to ...
13190 (SET_NAN_PAYLOAD): ... this.
13191 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
13192 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
13193 (FLOAT): Remove definition.
13194 (SET_MANTISSA): Rename to ...
13195 (SET_NAN_PAYLOAD): ... this.
13196 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
13197 of "../stdlib/strtod_nan_double.h".
13198 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
13199 of "../stdlib/strtod_nan_float.h".
13200 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
13201 instead of "../stdlib/strtod_nan_ldouble.h".
13202 * manual/arith.texi (Parsing of Floats): Adjust comment.
13203
69a01461
JM
132042018-05-16 Joseph Myers <joseph@codesourcery.com>
13205
13206 * math/Makefile (libm-narrow-fns): Add mul.
13207 (libm-test-funcs-narrow): Likewise.
13208 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
13209 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
13210 * math/gen-auto-libm-tests.c (test_functions): Add mul.
13211 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
13212 (NARROW_MUL_ROUND_TO_ODD): Likewise.
13213 (NARROW_MUL_TRIVIAL): Likewise.
13214 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
13215 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
13216 macro.
13217 (__dmull): Likewise.
13218 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
13219 dmul.
13220 (CFLAGS-nldbl-dmul.c): New variable.
13221 (CFLAGS-nldbl-fmul.c): Likewise.
13222 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13223 __nldbl_dmull.
13224 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
13225 prototype.
13226 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
13227 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
13228 * math/auto-libm-test-in: Add tests of mul.
13229 * math/auto-libm-test-out-narrow-mul: New generated file.
13230 * math/libm-test-narrow-mul.inc: New file.
13231 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
13234 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
13235 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
13236 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
13237 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
13238 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
13239 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
13240 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
13241 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
13242 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
13243 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
13244 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
13245 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
13246 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
13247 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
13248 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
13249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13250 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13251 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13252 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13253 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13254 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13255 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13256 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13257 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13258 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13259 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13260 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13261 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13262 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13267 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13268 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13269 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13270 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13271 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13272 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13273 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13274 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13275
a15529fd
L
132762018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13277
13278 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13279 with *%eax in call.
13280
98ee36c7
L
132812018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13282
13283 * sysdeps/i386/ldsodefs.h: Removed.
13284 * sysdeps/x86_64/ldsodefs.h: Moved to ...
13285 * sysdeps/x86/ldsodefs.h: This.
13286 (La_i86_regs): New.
13287 (La_i86_retval): Likewise.
13288 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
13289 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
13290
e322ec32
L
132912018-05-14 H.J. Lu <hongjiu.lu@intel.com>
13292
13293 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
13294 unnecessary testl.
13295
0937e209
AM
132962018-05-13 Alan Modra <amodra@gmail.com>
13297
13298 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
13299 R_PARISC_TLS_DTPOFF32 reloc addend.
13300
5db7d705
TMQMF
133012018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13302
13303 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
13304 * math/math.h: Restrict the prototype definition for the functions
13305 issignaling(_Float128) and iszero(_Float128); and template
13306 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
13307 __HAVE_FLOAT128_UNLIKE_LDBL.
13308 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
13309 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
13310 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
13311 __f128() constants; define the type _Float128 as long double;
13312 and reuse long double in __CFLOAT128.
13313
b4d5b8b0
JM
133142018-05-11 Joseph Myers <joseph@codesourcery.com>
13315
13316 * sysdeps/generic/math_private.h: Do not include
13317 <math-barriers.h>.
13318 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
13319 <math_private.h>.
13320 * math/fromfp.h: Include <math-barriers.h>.
13321 * math/math-narrow.h: Likewise.
13322 * math/s_nextafter.c: Likewise.
13323 * math/s_nexttowardf.c: Likewise.
13324 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
13325 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
13326 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
13327 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
13328 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13329 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13330 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13334 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13335 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13341 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13343 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13344 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13345 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13346 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13347 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13348 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13349 * sysdeps/ieee754/k_standardl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13366 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
13367 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
13368 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13369 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13370 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
13371 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
13372
fc79706a
FW
133732018-05-11 Florian Weimer <fweimer@redhat.com>
13374
13375 Use 64-bit epoch values in the time zone file parser.
13376 * include/time.h (internal_time_t): Define.
13377 (__tzfile_compute): Use it.
13378 * time/tzfile.c (struct leap): Use internal_time_t for epoch
13379 member.
13380 (transitions): Switch to internal_time_t.
13381 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
13382 types.
13383 (__tzfile_compute): Use internal_time_t for timer argument. Check
13384 for truncation before calling __offtime.
13385
89aacb51
FW
133862018-05-11 Florian Weimer <fweimer@redhat.com>
13387
13388 [BZ #23166]
13389 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
13390 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
13391 Likewise.
13392 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
13393 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
13394 export without --enable-obsolete-rpc.
13395 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
13396 symbol. This should not have been exported, ever.
13397
bb066cb8
RL
133982018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
13399
13400 [BZ #23152]
13401 * localedata/locales/gd_GB (abmon): Fix typo in May:
13402 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
13403
70c97f84
SP
134042018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13405
db725a45
SP
13406 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
13407 Use multiple registers to copy data in loop tail.
13408
70c97f84
SP
13409 * sysdeps/aarch64/multiarch/memmove_falkor.S
13410 (__memmove_falkor): Use multiple registers to move data in
13411 loop tail.
13412
8f5b00d3
JM
134132018-05-10 Joseph Myers <joseph@codesourcery.com>
13414
13415 * math/math-underflow.h: New file.
13416 * sysdeps/generic/math_private.h: Do not include <float.h>.
13417 (fabs_tg): Remove macro. Moved to math-underflow.h.
13418 (min_of_type_f): Likewise.
13419 (min_of_type_): Likewise.
13420 (min_of_type_l): Likewise.
13421 (min_of_type_f128): Likewise.
13422 (min_of_type): Likewise.
13423 (math_check_force_underflow): Likewise.
13424 (math_check_force_underflow_nonneg): Likewise.
13425 (math_check_force_underflow_complex): Likewise.
13426 * math/e_exp2_template.c: Include <math-underflow.h>.
13427 * math/k_casinh_template.c: Likewise.
13428 * math/s_catan_template.c: Likewise.
13429 * math/s_catanh_template.c: Likewise.
13430 * math/s_ccosh_template.c: Likewise.
13431 * math/s_cexp_template.c: Likewise.
13432 * math/s_clog10_template.c: Likewise.
13433 * math/s_clog_template.c: Likewise.
13434 * math/s_csin_template.c: Likewise.
13435 * math/s_csinh_template.c: Likewise.
13436 * math/s_csqrt_template.c: Likewise.
13437 * math/s_ctan_template.c: Likewise.
13438 * math/s_ctanh_template.c: Likewise.
13439 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13440 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13441 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13442 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13443 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13444 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13447 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13449 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13450 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13451 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13452 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13453 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13454 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13455 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13456 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13457 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13458 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13459 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13460 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13461 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13462 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13463 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13464 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13465 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13466 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13467 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13468 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13469 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13470 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13471 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13475 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13507 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13509 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13516 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13517 * sysdeps/x86/fpu/powl_helper.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
13519 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13523
9ed2e15f
JM
135242018-05-09 Joseph Myers <joseph@codesourcery.com>
13525
13526 * sysdeps/generic/math-barriers.h: New file.
13527 * sysdeps/generic/math_private.h [!math_opt_barrier]
13528 (math_opt_barrier): Move to math-barriers.h.
13529 [!math_opt_barrier] (math_force_eval): Likewise.
13530 * sysdeps/aarch64/fpu/math-barriers.h: New file.
13531 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
13532 math-barriers.h.
13533 (math_force_eval): Likewise.
13534 * sysdeps/alpha/fpu/math-barriers.h: New file.
13535 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
13536 math-barriers.h.
13537 (math_force_eval): Likewise.
13538 * sysdeps/x86/fpu/math-barriers.h: New file.
13539 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
13540 math-barriers.h.
13541 (math_force_eval): Likewise.
13542 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
13543 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
13544 multiple-include guard for rename.
13545 * sysdeps/powerpc/fpu/math-barriers.h: New file.
13546 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
13547 math-barriers.h.
13548 (math_force_eval): Likewise.
13549
5460617d
PP
135502018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13551
13552 [BZ #22786]
43d4f3d5 13553 CVE-2018-11236
5460617d
PP
13554 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
13555 computation.
13556 * stdlib/Makefile (test-bz22786): New test.
13557 * stdlib/test-bz22786.c: New test.
13558
aaee3cd8
JM
135592018-05-09 Joseph Myers <joseph@codesourcery.com>
13560
13561 * include/math-narrow-eval.h: New file. Contents moved from ....
13562 * sysdeps/generic/math_private.h: ... here.
13563 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
13564 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13565 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
13566 * stdlib/strtod_l.c: Likewise.
13567 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13568 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13569 * sysdeps/i386/fpu/s_fdim.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13582 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13583 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13584 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13585 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13586 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13587 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13588 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13589 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13590 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13591 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13592 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13593 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13594 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13595 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13596
0555c477
AS
135972018-05-08 Andreas Schwab <schwab@suse.de>
13598
13599 * sysdeps/nptl/internaltypes.h: Fix comment.
13600
50d7d351
L
136012018-05-07 H.J. Lu <hongjiu.lu@intel.com>
13602
13603 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13604 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
13605 hidden.
13606
543477f7
SP
136072018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13608
13609 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
13610 of I into loop header.
13611 * benchtests/bench-memmove-walk.c
13612 (test_main): Likewise.
13613
136142018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
13615
13616 Revert:
13617 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
13618 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13619
0065aaaa
PP
136202018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13621
13622 [BZ #20419]
13623 * elf/dl-load.c (open_verify): Fix stack overflow.
13624 * elf/Makefile (tst-big-note): New test.
13625 * elf/tst-big-note-lib.S: New.
13626 * elf/tst-big-note.c: New.
13627
b289cd9d
JM
136282018-05-04 Joseph Myers <joseph@codesourcery.com>
13629
13630 * scripts/abilist.awk: Ignore absolute symbols.
13631 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
13632 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
13633 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
13634 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
13635 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
13636 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
13637 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13638 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
13639 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
13640 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
13641 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
13642 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
13643 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13644 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
13645 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
13646 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13647 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
13648 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
13649 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13650 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
13651 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
13652 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
13653 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
13654 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
13655 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
13656 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13657 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
13658 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
13659 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13660 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
13661 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
13662 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13663 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
13664 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
13665 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
13666 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
13667 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
13668 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
13669 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13670 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
13671 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
13672 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13673 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
13674 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
13675 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13676 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
13677 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
13678 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
13679 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
13680 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
13681 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
13682 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13683 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
13684 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
13685 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13686 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
13687 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
13688 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13689 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
13690 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
13691 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
13692 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
13693 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
13694 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
13695 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13696 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
13697 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
13698 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13699 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
13700 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
13701 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13702 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
13703 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
13704 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
13705 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
13706 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
13707 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
13708 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13709 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
13710 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
13711 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13712 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
13713 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
13714 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
13716 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
13717 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
13718 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
13719 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
13720 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
13721 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13722 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13723 Likewise.
13724 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
13725 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13726 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
13727 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
13728 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13729 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
13730 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
13731 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
13732 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
13733 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
13734 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
13735 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13736 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13737 Likewise.
13738 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
13739 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13740 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
13741 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
13742 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13743 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
13744 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
13745 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
13746 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
13747 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
13748 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
13749 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13750 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
13751 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
13752 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13753 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
13754 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
13755 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13756 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
13757 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
13758 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
13759 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
13760 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
13761 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
13762 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13763 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13764 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13765 Likewise.
13766 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
13767 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
13768 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
13769 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
13770 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13771 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
13772 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
13773 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
13774 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
13775 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
13776 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
13777 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
13778 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
13779 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
13780 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
13781 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
13782 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
13783 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
13784 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13785 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13786 Likewise.
13787 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
13788 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
13789 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
13790 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13791 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
13792 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
13793 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
13794 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
13795 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
13796 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13797 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13798 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
13799 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13800 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13801 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
13802 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13803 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
13804 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
13805 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13806 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
13807 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
13808 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13809 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
13810 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
13811 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
13812 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
13813 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
13814 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
13815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13819 Likewise.
13820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
13821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
13822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
13823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
13824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
13825 Likewise.
13826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
13827 Likewise.
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13830 Likewise.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
13832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13833 Likewise.
13834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13835 Likewise.
13836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13839 Likewise.
13840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13841 Likewise.
13842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
13843 Likewise.
13844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
13845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13848 Likewise.
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
13855 Likewise.
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
13857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13858 Likewise.
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13860 Likewise.
13861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13862 Likewise.
13863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
13864 Likewise.
13865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
13866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13868 Likewise.
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13870 Likewise.
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13872 Likewise.
13873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
13874 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13875 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
13876 Likewise.
13877 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13878 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13879 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
13880 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13881 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13882 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13883 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
13884 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
13885 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13886 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
13887 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13888 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
13889 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13891 Likewise.
13892 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
13895 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13904 Likewise.
13905 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
13914 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
13915 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13916 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
13917 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
13918 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13919 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
13920 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
13921 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13922 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
13923 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
13924 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
13925 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
13926 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
13927 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
13928 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13929 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13930 Likewise.
13931 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
13932 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13933 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
13934 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
13935 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13936 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
13937 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
13938 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
13939 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
13940 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
13941 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
13942 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13943 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13944 Likewise.
13945 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
13968 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
13969 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13970 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13971 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
13972 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
13978 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
13979 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
13980 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
13981 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
13982 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
13983
16609018
SL
139842018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
13985
13986 [BZ #23137]
13987 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
13988 Use atomic_load_acquire to load __tid.
13989
556f5c46
L
139902018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13991
13992 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
13993 Restore the pointer into %rdx, after syscall and use %rdx,
13994 instead of %rsi, to restore context.
13995
8b8f32b2
L
139962018-05-02 H.J. Lu <hongjiu.lu@intel.com>
13997
13998 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
13999 Pop the pointer into %rdx after syscall and use %rdx, instead
14000 of %rsi, to restore context.
14001
d6cc1829
L
140022018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14003
14004 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14005 handlers after setjmp.
14006 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14007 defined.
14008 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14009 <libc-pointer-arith.h>.
14010 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14011 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14012 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14013 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14014 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14015 * sysdeps/x86/__longjmp_cancel.S: New file.
14016 * sysdeps/x86/longjmp.c: Likewise.
14017 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14018
cf2478d5
AZ
140192018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14020
14021 * NEWS: Add ustat.h deprecation entry.
14022 * bits/ustat.h: Remove file.
14023 * misc/sys/ustat.h: Likewise.
14024 * misc/ustat.h: Likewise.
14025 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14026 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14027 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14028 compatibility mode.
14029 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14030 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14031 generic Linux implementation.
14032
dc115e1c
TMQMF
140332018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14034
14035 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14036 * math/w_expl_compat.c: Likewise.
14037 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14038
6b5c8607 140392018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
14040
14041 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14042
c57bf7c1
AZ
140432018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14044
14045 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14046 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14047 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14048 Remove.
14049 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14051 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14052 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14053 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14054 and SYSCALL_LL64.
14055
06135c33
TMQMF
140562018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14057
33927914
TMQMF
14058 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14059
06135c33
TMQMF
14060 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14061 * math/w_asin_template.c: Likewise.
14062 * math/w_atanh_template.c: Likewise.
14063
3a33b069
GG
140642018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14065
14066 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14067 to powerpc/powerpc64/be for big-endian.
14068 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14069 little-endian.
14070
14071 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14072 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14073 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14074 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14075 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14076 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14077 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14078 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14079 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14080 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14081 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14082 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14083 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14084 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14085 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14086 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14087 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14088 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14089 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14090 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14091 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14092 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14093 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14094 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14095 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14096 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14097 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14098 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14099 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14100 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14101 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14102 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14103
14104 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14105 adjusted to imply powerpc64 and older processors on powerpc64/be.
14106 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14107 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14108 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14109 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14110 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14111 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14112 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14113 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14114 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14115 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14116 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14117 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14118 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14119 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14120 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14121 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14122 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14123 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14124 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14125 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14126 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14127 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14128 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14129 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14130 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14131 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14132 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14133 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14134 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14135 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14136 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14137
14138 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14139 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14140 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14141 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14142
14143 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14144 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14145 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14146 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14147
14148 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14149 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14150 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14151 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14152 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14153 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14154 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14155 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14156 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14157 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14158 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14159
14160 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14161 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14162 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14163 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14164 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14165 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14166 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14167 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14168 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14169 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14170 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14171
14172 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14173 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14174 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14175 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14176 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14177 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14178 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
14179 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
14180 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
14181 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
14182 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
14183 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
14184
14185 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
14186 and adjusted to imply olders processors.
14187 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
14188 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
14189 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
14190 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
14191 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
14192 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
14193 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
14194 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
14195 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
14196 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
14197 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
14198
14199 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
14200 powerpc64/le.
14201 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
14203
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
14205 powerpc64le.
14206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
14207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
14208
14209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
14210 powerpc64/be.
14211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
14214
14215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
14216 powerpc64 and adjusted.
14217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
14219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
14220 Likewise.
14221
a3fb6b6b
JM
142222018-04-27 Joseph Myers <joseph@codesourcery.com>
14223
14224 * sysdeps/tile: Remove.
14225 * sysdeps/unix/sysv/linux/tile: Likewise.
14226 * README (tilegx-*-linux-gnu): Remove from list of supported
14227 configurations.
14228 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
14229 contribution of support for generic Linux kernel syscall
14230 interface.
14231 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
14232 tilegx configurations.
14233 (Config.install_linux_headers): Do not handle tile.
14234 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
14235 in comment.
14236 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
14237 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
14238 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14239 conditional undefine and redefine.
14240 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
14241 in comment.
14242 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
14243 conditional undefine and redefine.
14244
7a6f7478
AJ
142452018-04-26 Aurelien Jarno <aurelien@aurel32.net>
14246
14247 * signal/tst-sigaction.c: New file to test BZ #23069.
14248 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
14249
81b49e96
TMQMF
142502018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14251
14252 [BZ #22766]
14253 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
14254 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
14255 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
14256 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14257
7d80f48e
AZ
142582018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14259
14260 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
14261 _DIRENT_MATCHES_DIRENT64 is not defined.
14262 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
14263 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
14264 is defined.
14265 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
14266 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
14267
42a2bf58
JM
142682018-04-25 Joseph Myers <joseph@codesourcery.com>
14269
14270 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
14271 version to GCC 8 branch.
14272
9320ca88
JM
142732018-04-24 Joseph Myers <joseph@codesourcery.com>
14274
5e14bb97
JM
14275 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
14276 (check_no_hidden): Use type of original function when declaring
14277 alias.
14278
9320ca88
JM
14279 * sysdeps/unix/sysv/linux/sys/ptrace.h
14280 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
14281 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
14282 (struct __ptrace_seccomp_metadata): New type.
14283 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14284 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14285 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
14286 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14287 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
14288 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14289 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14290 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14291 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14292 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14293 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14294 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14295 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
14296 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14297 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
14298 (PTRACE_SECCOMP_GET_METADATA): Likewise.
14299
af7e376b
AZ
143002018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14301
14302 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
14303 defined.
14304 * dirent/versionsort.c (versionsort): Likewise.
14305 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
14306 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
14307 * dirent/versionsort64.c (versionsort64): Likewise.
14308 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
14309 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
14310 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
14311 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
14312 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
14313 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
14314 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
14315 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
14316 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
14317 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
14319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
14320 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
14321 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
14322
da5e0361
JM
143232018-04-23 Joseph Myers <joseph@codesourcery.com>
14324
14325 * elf/elf.h (NT_PPC_PKEY): New macro.
14326
6b5c8607 143272018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
14328
14329 [BZ #23094]
14330 * localedata/locales/hr_HR: fix thousands_sep and
14331 mon_thousands_sep
14332
573963e3
JM
143332018-04-20 Joseph Myers <joseph@codesourcery.com>
14334
14335 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
14336 (XTABS): Define to TAB3.
14337
c0123b3b
AZ
143382018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14339
0900a849
AZ
14340 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14341
c0123b3b
AZ
14342 * dirent/scandir-tail-common.c: New file.
14343 * dirent/scandir-tail.c: Use scandir-tail-common.c.
14344 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
14345 * dirent/scandir.c: Use scandir-tail-common.c.
14346 * dirent/scandirat.c: Likewise.
14347 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
14348 * dirent/scandir64.c (scandir64): Always build and alias to scandir
14349 if _DIRENT_MATCHES_DIRENT64 is defined.
14350 * dirent/scandirat64.c (scandirat64): Likewise.
14351 * include/dirent.h (__scandir_tail): Only define iff
14352 _DIRENT_MATCHES_DIRENT64 is not defined.
14353 (__scandir64_tail): Define regardless.
14354 (__scandirat, scandirat64): Remove libc_hidden_proto.
14355 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
14356 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
14358 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
14359 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14360 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
14361 * sysdeps/unix/sysv/linux/scandir64.c: New file.
14362
458b94f6
JM
143632018-04-20 Joseph Myers <joseph@codesourcery.com>
14364
14365 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
14366 New macro.
14367 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
14368 Increase to 24.
14369 (_dl_aarch64_cap_flags): Add asimdfhm.
14370
9f0437e8
CLT
143712018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
14372
14373 * sysdeps/nios2/libm-test-ulps: Update.
14374
298d0e31
AZ
143752018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14376
50511ca4
AZ
14377 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
14378 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
14379
298d0e31
AZ
14380 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
14381 requirements.
6b5c8607 14382 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
14383 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
14384 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
14385 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
14386 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
14387 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
14388 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
14389 use getdents64 syscalls as base.
14390 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
14391 symbol if required.
14392 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
14393 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
14394 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
14395 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
14396 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
14397 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
14398 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
14399 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
14400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14401 (__get_clockfreq_via_proc_openprom): Use __getdents64.
14402 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
14403
0085be14
SL
144042018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14405
14406 * scripts/test_printers_common.py (init_test): Disable lock elision.
14407
da796524
SL
144082018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14409
14410 * math/test-tgmath.c (count_double, count_float,
14411 count_ldouble, count_cdouble, count_cfloat,
14412 count_cldouble): Use volatile int.
14413
0dd25301
ST
144142018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14415
14416 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
14417 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 14418 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
14419 i386-gnu.
14420 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
14421 ipc_perm.cuid, ipc_perm.cgid): Likewise.
14422 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
14423 msqid_ds.msg_lrpid): Likewise.
14424 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
14425 Likewise.
14426 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
14427 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
14428 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
14429 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
14430 unsigned int.
14431 (struct statvfs64): Likewise.
f55a4fde
ST
14432 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
14433 Likewise.
77b93390
ST
14434 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
14435 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
14436 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
14437 instead of wait_queue.
14438 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
14439 instead of vm_area_struct.
5cd2931a
ST
14440 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
14441 struct sched_param definition to it.
e60c3f2b
ST
14442 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14443 * bits/types/struct_sched_param.h: New file.
14444 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
14445 <bits/types/struct_sched_param.h> instead of <sched.h>.
14446 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
14447 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
14448 generic version but include <bits/pthreadtypes.h> to make struct
14449 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
14450 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
14451 non-compliant.
a564872d
ST
14452 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
14453 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
14454 [__USE_XOPEN] (OFDEL): New macro.
14455 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 14456 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
14457 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
14458 prototypes.
14459 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
14460 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
14461 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
14462 non-compliant.
14463 * sysdeps/i386/sys/ucontext.h: Likewise.
14464 * sysdeps/m68k/sys/ucontext.h: Likewise.
14465 * sysdeps/mips/sys/ucontext.h: Likewise.
14466 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
14467 * sysdeps/mach/hurd/i386/Makefile
14468 (test-xfail-POSIX/fcntl.h/conform): Add.
14469 (test-xfail-POSIX/signal.h/conform): Add.
14470 (test-xfail-POSIX/semaphore.h/conform): Add.
14471 (test-xfail-POSIX/regex.h/conform): Add.
14472 (test-xfail-POSIX/aio.h/conform): Add.
14473 (test-xfail-POSIX/mqueue.h/conform): Add.
14474 (test-xfail-POSIX/sys/types.h/conform): Add.
14475 (test-xfail-UNIX98/fcntl.h/conform): Add.
14476 (test-xfail-UNIX98/netdb.h/conform): Add.
14477 (test-xfail-UNIX98/signal.h/conform): Add.
14478 (test-xfail-UNIX98/semaphore.h/conform): Add.
14479 (test-xfail-UNIX98/regex.h/conform): Add.
14480 (test-xfail-UNIX98/aio.h/conform): Add.
14481 (test-xfail-UNIX98/ftw.h/conform): Add.
14482 (test-xfail-UNIX98/mqueue.h/conform): Add.
14483 (test-xfail-UNIX98/netinet/in.h/conform): Add.
14484 (test-xfail-UNIX98/sys/wait.h/conform): Add.
14485 (test-xfail-UNIX98/sys/sem.h/conform): Add.
14486 (test-xfail-UNIX98/sys/uio.h/conform): Add.
14487 (test-xfail-UNIX98/sys/socket.h/conform): Add.
14488 (test-xfail-UNIX98/sys/types.h/conform): Add.
14489 (test-xfail-UNIX98/stdlib.h/conform): Add.
14490 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
14491 (test-xfail-POSIX2008/fcntl.h/conform): Add.
14492 (test-xfail-POSIX2008/netdb.h/conform): Add.
14493 (test-xfail-POSIX2008/signal.h/conform): Add.
14494 (test-xfail-POSIX2008/semaphore.h/conform): Add.
14495 (test-xfail-POSIX2008/regex.h/conform): Add.
14496 (test-xfail-POSIX2008/aio.h/conform): Add.
14497 (test-xfail-POSIX2008/mqueue.h/conform): Add.
14498 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
14499 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
14500 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
14501 (test-xfail-POSIX2008/sys/types.h/conform): Add.
14502 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
14503 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
14504 (test-xfail-XOPEN2K/netdb.h/conform): Add.
14505 (test-xfail-XOPEN2K/signal.h/conform): Add.
14506 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
14507 (test-xfail-XOPEN2K/regex.h/conform): Add.
14508 (test-xfail-XOPEN2K/aio.h/conform): Add.
14509 (test-xfail-XOPEN2K/ftw.h/conform): Add.
14510 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
14511 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
14512 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
14513 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
14514 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
14515 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
14516 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
14517 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
14518 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
14519 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
14520 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
14521 (test-xfail-XOPEN2K8/signal.h/conform): Add.
14522 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
14523 (test-xfail-XOPEN2K8/regex.h/conform): Add.
14524 (test-xfail-XOPEN2K8/aio.h/conform): Add.
14525 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
14526 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
14527 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
14528 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
14529 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
14530 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
14531 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
14532 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
14533 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
14534 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
14535 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
14536 i386-gnu.
14537 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
14538 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 14539
d6397de3
JM
145402018-04-18 Joseph Myers <joseph@codesourcery.com>
14541
14542 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
14543 --enable-obsolete for powerpc-linux-gnuspe.
14544
8323a902
ST
145452018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
14546
3dc0814c 14547 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 14548 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 14549 prototypes.
c5896a45
ST
14550 * sysdeps/mach/include/mach.h: Likewise.
14551 * sysdeps/mach/include/mach/mig_support.h: Likewise.
14552 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 14553
743b9c2a
AZ
145542018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14555
14556 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
14557 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
14558 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
14559 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
14560
326e74e7
AS
145612018-04-16 Andreas Schwab <schwab@suse.de>
14562
14563 [BZ #19527]
14564 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
14565
6b5c8607 145662018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
14567
14568 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
14569 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
14570
a700e7cb
DD
145712018-04-12 DJ Delorie <dj@redhat.com>
14572
14573 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14574 version to 4.16.
14575
d8abfab7
SL
145762018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14577
14578 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
14579 (struct kernel_sigaction): Use the same definition on 31bit as is used
14580 on 64bit.
14581
583a27d5
FW
145822018-04-09 Florian Weimer <fweimer@redhat.com>
14583
14584 [BZ #23037]
14585 * resolv/res_send.c (send_dg): Use designated initializers instead
14586 of assignment to zero-initialize other fields of struct mmsghdr.
14587
243f59e5
AZ
145882018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14589
942de61a
AZ
14590 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
14591 __READDIR_ALIAS): Undefine after usage.
14592 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
14593 __READDIR_R_ALIAS): Likewise.
14594 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
14595 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
14596 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
14597 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
14598 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
14599 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
14600 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14601 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14602 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
14603 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
14604 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
14605 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
14606 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14607 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
14608 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
14609 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
14610 * sysdeps/unix/sysv/linux/readdir.c: New file.
14611 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
14612 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
14613 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
14614
243f59e5
AZ
14615 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14616
690c3475
AS
146172018-04-06 Andreas Schwab <schwab@linux-m68k.org>
14618
14619 * manual/charset.texi (Converting a Character): Fix typo.
14620
6b5c8607 146212018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 14622
bbc2062a
AZ
14623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14624
fa7c6199
AZ
14625 * sysdeps/arm/libm-test-ulps: Update.
14626
b4a5d26d
AZ
14627 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
14628 as base implementation.
14629 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14630 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14631 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14632 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14633 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14634 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
14635 remove unrequired definitions and update comments.
14636 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
14637 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
14638 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
14639 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
14640 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
14641 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
14642 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
14643 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
14644 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
14645 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
14646 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
14647 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14648 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14649 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
14650 and RESET_SA_RESTORER hooks.
14651
db9e55ff
SL
146522018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
14653
14654 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14655
cf138b0c
FW
146562018-04-05 Florian Weimer <fweimer@redhat.com>
14657
14658 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
14659 integer overflow, memory leak on error, and indeterminate errno
14660 value. Add a null wide character to terminate the result string.
14661 * manual/charset.texi (Converting a Character): Mention embedded
14662 null bytes in the mbrtowc input string. Explain what happens in
14663 the -2 result case. Do not claim that mbrtowc is simple or
14664 obvious to use. Adjust the description of the code example. Use
14665 @code, not @var, for concrete variables.
14666
0f339252
FW
146672018-04-05 Florian Weimer <fweimer@redhat.com>
14668
14669 * manual/examples/mbstouwcs.c: New file.
14670 * manual/charset.texi (Converting a Character): Include it.
14671
e5f9508a
ST
146722018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
14673
c120981d
ST
14674 * include/dirent.h (dirfd): Add hidden proto.
14675 * dirent/dirfd.c (dirfd): Add hidden def.
14676 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
14677 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 14678
b2fd61ca
TMQMF
146792018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14680
14681 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
14682 sin, cos and sincos to 1 ULP.
14683
10a446dd
MR
146842018-04-04 Maciej W. Rozycki <macro@mips.com>
14685
e7feec37
MR
14686 [BZ #19818]
14687 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
14688 symbols.
14689 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
14690 * elf/tst-absolute-sym.c: New file.
14691 * elf/tst-absolute-sym-lib.c: New file.
14692 * elf/tst-absolute-sym-lib.lds: New file.
14693 * elf/Makefile (tests): Add `tst-absolute-sym'.
14694 (modules-names): Add `tst-absolute-sym-lib'.
14695 (LDLIBS-tst-absolute-sym-lib.so): New variable.
14696 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
14697 ($(objpfx)tst-absolute-sym): New dependency.
14698
10a446dd
MR
14699 [BZ #19818]
14700 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
14701 parameter.
14702 (SYMBOL_ADDRESS): New macro.
14703 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
14704 SYMBOL_ADDRESS for symbol address calculation.
14705 * elf/dl-runtime.c (_dl_fixup): Likewise.
14706 (_dl_profile_fixup): Likewise.
14707 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
14708 * elf/rtld.c (dl_main): Likewise.
14709 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
14710 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
14711 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
14712 (elf_machine_rela): Likewise.
14713 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
14714 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
14715 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14716 (elf_machine_rela): Likewise.
14717 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14718 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
14719 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
14720 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
14721 Likewise.
14722 (elf_machine_reloc): Likewise.
14723 (elf_machine_got_rel): Likewise.
14724 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
14725 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
14726 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14727 Likewise.
14728 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14729 Likewise.
14730 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
14731 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14732 Likewise.
14733 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14734 Likewise.
14735 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14737 Likewise.
14738 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14739 Likewise.
14740 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
14741 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14742
9185f86d
ZW
147432018-04-04 Zack Weinberg <zackw@panix.com>
14744
14745 * sysdeps/generic/internal-signals.h: Include signal.h,
14746 sigsetops.h, and stdbool.h.
14747 (__libc_signal_block_all): Actually block all signals.
14748 (__libc_signal_block_app): Likewise.
14749 (__libc_signal_restore_set): Actually restore the signal mask.
14750
b07367bc
FW
147512018-04-04 Florian Weimer <fweimer@redhat.com>
14752
14753 inet: Actually build and run tst-deadline.
14754 * inet/Makefile (tests-internal): Add tst-deadline and do not
14755 overwrite the variable.
14756 (tests-static-internal): Remove variable.
14757
f2652643
L
147582018-04-03 H.J. Lu <hongjiu.lu@intel.com>
14759
14760 [BZ #22947]
14761 * bits/uio-ext.h (RWF_APPEND): New.
14762 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
14763 * manual/llio.texi: Document RWF_APPEND.
14764 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
14765 (RWF_SUPPORTED): Add RWF_APPEND.
14766
6b5c8607 147672018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
14768
14769 [BZ #22391]
14770 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
14771 check for internal nptl signals.
14772 * nptl/sigaction.c (__sigaction): Likewise.
14773 * signal/sigaddset.c (sigaddset): Likewise.
14774 * signal/sigdelset.c (sigdelset): Likewise.
14775 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14776 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
14777 value.
14778 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
14779 to filter out internal nptl signals.
14780 * signal/tst-sigset.c (do_test): Check ech signal indidually and
14781 also check realtime signals using standard macros.
14782 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
14783 __is_internal_signal, __libc_signal_block_all,
14784 __libc_signal_block_app, __libc_signal_restore_set): New functions.
14785 * sysdeps/nptl/sigfillset.c: Remove file.
14786 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
14787 Change return to bool.
14788 (__clear_internal_signals): Remove SIGTIMER clean since it is
14789 equal to SIGCANEL on Linux.
14790 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
14791 signal set was constructed using standard functions.
14792
511ed56f
ST
147932018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14794
92846492
ST
14795 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
14796 ifname is too long.
e8ef51b1
ST
14797 * hurd/hurdsig.c (interrupted_reply_port_location): Use
14798 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
14799 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
14800 hidden def.
14801 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
14802 * signal/sigaddset.c: Include <sigsetopts.h>.
14803 * signal/sigdelset.c: Likewise.
511ed56f 14804
e88ecbbf
WD
148052018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14806
14807 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
14808 (__cos): Likewise.
14809 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
14810 logic as sin and cos.
14811
aef3e255
WD
148122018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14813
14814 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
14815 inputs. Return correct sign.
14816 (do_sincos): Remove small input check before do_sin, let do_sin set
14817 the sign.
14818 (__sin): Likewise.
14819 (__cos): Likewise.
14820
72f6e9a3
WD
148212018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14822
14823 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
14824 (do_cos_slow): Likewise.
14825 (do_sin_slow): Likewise.
14826 (reduce_and_compute): Likewise.
14827 (slow): Likewise.
14828 (slow1): Likewise.
14829 (slow2): Likewise.
14830 (sloww): Likewise.
14831 (sloww1): Likewise.
14832 (sloww2): Likewise.
14833 (bslow): Likewise.
14834 (bslow1): Likewise.
14835 (bslow2): Likewise.
14836 (cslow2): Likewise.
14837
64909583
WD
148382018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14839
14840 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
14841 (do_cos): Remove corp parameter and calculations.
14842 (do_sin): Likewise.
14843 (do_sincos): Remove cor variable.
14844 (__sin): Use do_sincos for huge inputs.
14845 (__cos): Likewise.
14846 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14847 (reduce_and_compute_sincos): Remove unused function.
14848
d9469deb
WD
148492018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14850
14851 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
14852 reduce_sincos, improve accuracy to 136 bits.
14853 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
14854 (__sin): Use improved reduction and simplified do_sincos calculation.
14855 (__cos): Likewise.
14856 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
14857
7a5640f2
WD
148582018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14859
14860 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
14861 (do_sincos_2): Likewise.
14862 (__sin): Remove middle range reduction case.
14863 (__cos): Likewise.
14864 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
14865 reduction case.
14866
19a8b9a3
WD
148672018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
14868
14869 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
14870 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
14871 inputs.
14872 (__cos): Likewise.
14873 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
14874
f72aa11d
JM
148752018-04-03 Joseph Myers <joseph@codesourcery.com>
14876
14877 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 14878 version to 4.16
f72aa11d 14879
8e4754ed
AZ
148802018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14881
14882 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
14883 Remove definitions.
14884 (opendir_oflags): Use O_DIRECTORY regardless.
14885 (__opendir, __opendirat): Remove need_isdir_precheck usage.
14886 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
14887
8e2666ea
ST
148882018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14889
14890 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
14891 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
14892 macros.
14893 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
14894 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
14895 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
14896 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
14897 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
14898 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 14899
ad2b41bf
ST
14900 * htl/Makefile: Bump licence to LGPL 2.1+.
14901 * htl/alloca_cutoff.c: Likewise.
14902 * htl/cthreads-compat.c: Likewise.
14903 * htl/lockfile.c: Likewise.
14904 * htl/pt-alloc.c: Likewise.
14905 * htl/pt-cancel.c: Likewise.
14906 * htl/pt-cleanup.c: Likewise.
14907 * htl/pt-create.c: Likewise.
14908 * htl/pt-dealloc.c: Likewise.
14909 * htl/pt-detach.c: Likewise.
14910 * htl/pt-exit.c: Likewise.
14911 * htl/pt-getattr.c: Likewise.
14912 * htl/pt-initialize.c: Likewise.
14913 * htl/pt-internal.h: Likewise.
14914 * htl/pt-join.c: Likewise.
14915 * htl/pt-self.c: Likewise.
14916 * htl/pt-setcancelstate.c: Likewise.
14917 * htl/pt-setcanceltype.c: Likewise.
14918 * htl/pt-sigmask.c: Likewise.
14919 * htl/pt-spin-inlines.c: Likewise.
14920 * htl/pt-testcancel.c: Likewise.
14921 * htl/pt-yield.c: Likewise.
14922 * htl/tests/test-1.c: Likewise.
14923 * htl/tests/test-10.c: Likewise.
14924 * htl/tests/test-11.c: Likewise.
14925 * htl/tests/test-12.c: Likewise.
14926 * htl/tests/test-13.c: Likewise.
14927 * htl/tests/test-14.c: Likewise.
14928 * htl/tests/test-15.c: Likewise.
14929 * htl/tests/test-16.c: Likewise.
14930 * htl/tests/test-17.c: Likewise.
14931 * htl/tests/test-2.c: Likewise.
14932 * htl/tests/test-3.c: Likewise.
14933 * htl/tests/test-4.c: Likewise.
14934 * htl/tests/test-5.c: Likewise.
14935 * htl/tests/test-6.c: Likewise.
14936 * htl/tests/test-7.c: Likewise.
14937 * htl/tests/test-8.c: Likewise.
14938 * htl/tests/test-9.c: Likewise.
14939 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
14940 * sysdeps/htl/bits/cancelation.h: Likewise.
14941 * sysdeps/htl/bits/pthread-np.h: Likewise.
14942 * sysdeps/htl/bits/pthread.h: Likewise.
14943 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
14944 * sysdeps/htl/bits/semaphore.h: Likewise.
14945 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
14946 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
14947 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
14948 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
14949 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
14950 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
14951 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
14952 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
14953 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
14954 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
14955 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
14956 * sysdeps/htl/old_pt-atfork.c: Likewise.
14957 * sysdeps/htl/pt-atfork.c: Likewise.
14958 * sysdeps/htl/pt-attr-destroy.c: Likewise.
14959 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
14960 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
14961 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
14962 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
14963 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
14964 * sysdeps/htl/pt-attr-getscope.c: Likewise.
14965 * sysdeps/htl/pt-attr-getstack.c: Likewise.
14966 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
14967 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
14968 * sysdeps/htl/pt-attr-init.c: Likewise.
14969 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
14970 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
14971 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
14972 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
14973 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
14974 * sysdeps/htl/pt-attr-setscope.c: Likewise.
14975 * sysdeps/htl/pt-attr-setstack.c: Likewise.
14976 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
14977 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
14978 * sysdeps/htl/pt-attr.c: Likewise.
14979 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
14980 * sysdeps/htl/pt-barrier-init.c: Likewise.
14981 * sysdeps/htl/pt-barrier-wait.c: Likewise.
14982 * sysdeps/htl/pt-barrier.c: Likewise.
14983 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
14984 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
14985 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
14986 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
14987 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
14988 * sysdeps/htl/pt-cond-destroy.c: Likewise.
14989 * sysdeps/htl/pt-cond-init.c: Likewise.
14990 * sysdeps/htl/pt-cond-signal.c: Likewise.
14991 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
14992 * sysdeps/htl/pt-cond-wait.c: Likewise.
14993 * sysdeps/htl/pt-cond.c: Likewise.
14994 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
14995 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
14996 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
14997 * sysdeps/htl/pt-condattr-init.c: Likewise.
14998 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
14999 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15000 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15001 * sysdeps/htl/pt-equal.c: Likewise.
15002 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15003 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15004 * sysdeps/htl/pt-getschedparam.c: Likewise.
15005 * sysdeps/htl/pt-getspecific.c: Likewise.
15006 * sysdeps/htl/pt-init-specific.c: Likewise.
15007 * sysdeps/htl/pt-key-create.c: Likewise.
15008 * sysdeps/htl/pt-key-delete.c: Likewise.
15009 * sysdeps/htl/pt-key.h: Likewise.
15010 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15011 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15012 * sysdeps/htl/pt-mutex-init.c: Likewise.
15013 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15014 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15015 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15016 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15017 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15018 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15019 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15020 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15021 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15022 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15023 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15024 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15025 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15026 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15027 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15028 * sysdeps/htl/pt-mutexattr.c: Likewise.
15029 * sysdeps/htl/pt-once.c: Likewise.
15030 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15031 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15032 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15033 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15034 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15035 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15036 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15037 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15038 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15039 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15040 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15041 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15042 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15043 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15044 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15045 * sysdeps/htl/pt-setschedparam.c: Likewise.
15046 * sysdeps/htl/pt-setschedprio.c: Likewise.
15047 * sysdeps/htl/pt-setspecific.c: Likewise.
15048 * sysdeps/htl/pt-spin.c: Likewise.
15049 * sysdeps/htl/pt-startup.c: Likewise.
15050 * sysdeps/htl/pthread.h: Likewise.
15051 * sysdeps/htl/sem-close.c: Likewise.
15052 * sysdeps/htl/sem-destroy.c: Likewise.
15053 * sysdeps/htl/sem-getvalue.c: Likewise.
15054 * sysdeps/htl/sem-init.c: Likewise.
15055 * sysdeps/htl/sem-open.c: Likewise.
15056 * sysdeps/htl/sem-post.c: Likewise.
15057 * sysdeps/htl/sem-timedwait.c: Likewise.
15058 * sysdeps/htl/sem-trywait.c: Likewise.
15059 * sysdeps/htl/sem-unlink.c: Likewise.
15060 * sysdeps/htl/sem-wait.c: Likewise.
15061 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15062 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15063 * sysdeps/mach/htl/pt-block.c: Likewise.
15064 * sysdeps/mach/htl/pt-spin.c: Likewise.
15065 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15066 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15067 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15068 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15069 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15070 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15071 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15072 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15073 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15074 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15075 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15076 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15077 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15078 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15079 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15080 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15081 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15082 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15083 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15084 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15085 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15086 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15087 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15088 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15089 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15090 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15091 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15092 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15093 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15094 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15095 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15096 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15097 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15098 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15099 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15100 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15101 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15102 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15103 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15104 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15105 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15106 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15107 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15108
fb03b04b
ST
15109 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15110 * README: Remove the mention of out-of-tree patches needed for
15111 GNU/Hurd.
15112
fa9e1555
ST
15113 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15114 (UTIME_NOW, UTIME_OMIT): Define macros.
15115
f6fb29d2
ST
15116 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15117 instead of pthread_detach.
15118 (__cthread_fork): Call __pthread_create instead of pthread_create.
15119 (__cthread_keycreate): Call __pthread_key_create instead of
15120 pthread_key_create.
15121 (__cthread_getspecific): Call __pthread_getspecific instead of
15122 pthread_getspecific.
15123 (__cthread_setspecific): Call __pthread_setspecific instead of
15124 pthread_setspecific.
15125 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15126 __pthread_mutex_unlock instead of pthread_mutex_lock and
15127 pthread_mutex_unlock.
15128 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15129 ___pthread_get_cleanup_stack.
15130 (__pthread_get_cleanup_stack): New strong alias.
15131 * htl/pt-create.c: Include <pthreadP.h>.
15132 (entry_point): Call __pthread_exit instead of pthread_exit.
15133 (pthread_create): Rename to __pthread_create.
15134 (pthread_create): New strong alias.
15135 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15136 (pthread_detach): New strong alias.
15137 (__pthread_detach): Call __pthread_cond_broadcast instead of
15138 pthread_cond_broadcast.
fe9748cc
ST
15139 * htl/pt-exit.c: Include <pthreadP.h>.
15140 (__pthread_exit): Call __pthread_setcancelstate and
15141 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15142 __pthread_get_cleanup_stack.
f6fb29d2
ST
15143 * htl/pt-testcancel.c: Include <pthreadP.h>.
15144 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15145 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15146 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15147 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15148 pthread_attr_getstacksize.
15149 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15150 Rename to __pthread_attr_getstackaddr.
15151 (pthread_attr_getstackaddr): New strong alias.
15152 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15153 Rename to __pthread_attr_getstacksize.
15154 (pthread_attr_getstacksize): New strong alias.
15155 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15156 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15157 (pthread_attr_setstack): New strong alias.
15158 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15159 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15160 pthread_attr_getstacksize, pthread_attr_setstacksize and
15161 pthread_attr_setstackaddr.
15162 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15163 Rename to __pthread_attr_setstackaddr.
15164 (pthread_attr_setstackaddr): New strong alias.
15165 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15166 Rename to __pthread_attr_setstacksize.
15167 (pthread_attr_setstacksize): New strong alias.
15168 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15169 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15170 pthread_exit.
15171 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15172 (__pthread_key_create): New hidden def.
15173 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15174 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15175 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15176 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15177 __pthread_setspecific, __pthread_setcancelstate,
15178 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
15179 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
15180 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
15181 declarations.
15182 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
15183 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
15184 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
15185 (pthread_attr_setstackaddr): New strong alias.
15186 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
15187 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
15188 (pthread_attr_setstacksize): New strong alias.
15189 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
15190 (call_exit): Call __pthread_exit instead of pthread_exit.
15191 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
15192 (_pthread_mutex_init): New hidden definition.
15193 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
15194 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
15195 instead of pthread_attr_init and pthread_attr_setstack.
15196
dba2bdbe
ST
15197 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
15198 __vm_deallocate instead of vm_allocate and vm_deallocate.
15199 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
15200 setenv.
15201 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
15202 of geteuid.
15203 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
15204 strdup.
15205 * hurd/siginfo.c: Include <libioP.h>.
15206 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
15207 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
15208 munmap.
dba2bdbe
ST
15209 * mach/devstream.c: Include <libioP.h>.
15210 (dealloc_ref): Call __mach_port_deallocate instead of
15211 mach_port_deallocate.
15212 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
15213 Call __mach_port_deallocate instead of mach_port_deallocate.
15214 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
15215 pathconf.
15216 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
15217 munmap.
15218 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
15219 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
15220 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
15221 of munmap.
15222 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
15223 of close.
15224 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
15225 instead of sysconf.
15226 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
15227 __clock_gettime instead of clock_gettime.
15228 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
15229 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
15230 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
15231 * sysdeps/unix/bsd/stty.c (stty): Likewise.
15232 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
15233 tcgetattr.
15234 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
15235 __clock_gettime and __nanosleep instead of clock_gettime and
15236 nanosleep.
7a8f45e3
ST
15237 * hurd/catch-signal.c (hurd_catch_signal): Rename to
15238 __hurd_catch_signal.
15239 (hurd_catch_signal): New strong alias.
15240 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
15241 __hurd_catch_signal instead of hurd_catch_signal.
15242 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
15243 * hurd/hurdexec.c (_hurd_init): Add hidden def.
15244 * hurd/hurdinit.c (_hurd_init): Add hidden def.
15245 * hurd/hurdsig.c: Include <mach/mig_support.h>.
15246 (_hurd_thread_sigstate): Add hidden def.
15247 (_hurd_internal_post_signal): Use __mutex_unlock instead of
15248 mutex_unlock.
15249 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
15250 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
15251 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
15252 __hurd_file_name_path_lookup.
15253 (hurd_file_name_path_lookup): New strong alias.
15254 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
15255 hurd_file_name_path_lookup.
15256 * mach/errstring.c (mach_error_type): Add hidden def.
15257 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
15258 * mach/mutex-init.c (__mutex_init): Add hidden def.
15259 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
15260 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
15261 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
15262 * sysdeps/mach/hurd/getcwd.c
15263 (_hurd_canonicalize_directory_name_internal): Rename to
15264 __hurd_canonicalize_directory_name_internal.
15265 (_hurd_canonicalize_directory_name_internal): New strong alias.
15266 (__canonicalize_directory_name_internal, __getcwd): Call
15267 __hurd_canonicalize_directory_name_internal instead of
15268 _hurd_canonicalize_directory_name_internal.
15269 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
15270 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
15271 hidden defs.
15272 * sysdeps/hurd/include/hurd.h: New file.
15273 * sysdeps/hurd/include/hurd/fd.h: New file.
15274 * sysdeps/hurd/include/hurd/signal.h: New file.
15275 * sysdeps/mach/include/lock-intern.h: New file.
15276 * sysdeps/mach/include/mach.h: New file.
15277 * sysdeps/mach/include/mach/mig_support.h: New file.
15278 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
15279 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
15280 prototype.
15281 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
15282 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
15283 _HEADER_H_HIDDEN_DEF macro.
15284 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
15285 _hurd_fd_error_signal): Add hidden prototype.
15286 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
15287 hidden def.
82dbf555
ST
15288 * libio/iolibio.h (_IO_puts): New hidden prototype.
15289 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
15290 * sysdeps/mach/hurd/localplt.data: New file.
15291
33574c17 152922018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
15293 Amos Jeffries <squid3@treenet.co.nz>
15294 David Michael <fedora.dm0@gmail.com>
15295 Marco Gerards <marco@gnu.org>
15296 Marcus Brinkmann <marcus@gnu.org>
15297 Neal H. Walfield <neal@gnu.org>
15298 Pino Toscano <toscano.pino@tiscali.it>
15299 Richard Braun <rbraun@sceen.net>
15300 Roland McGrath <roland@gnu.org>
15301 Samuel Thibault <samuel.thibault@ens-lyon.org>
15302 Thomas DiModica <ricinwich@yahoo.com>
15303 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
15304
15305 * htl: New directory.
15306 * sysdeps/htl: New directory.
15307 * sysdeps/hurd/htl: New directory.
15308 * sysdeps/i386/htl: New directory.
15309 * sysdeps/mach/htl: New directory.
15310 * sysdeps/mach/hurd/htl: New directory.
15311 * sysdeps/mach/hurd/i386/htl: New directory.
15312 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
15313 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
15314 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
15315
03e2aa50
ST
153162018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15317
15318 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
15319 signals in thread created for runing timers.
15320
1aa52ced
FW
153212018-04-01 Florian Weimer <fweimer@redhat.com>
15322
15323 * support/support_format_addrinfo.c (support_format_addrinfo):
15324 Include unknown error number in formatted result.
15325
4d76d3e5
FW
153262018-03-29 Florian Weimer <fweimer@redhat.com>
15327
15328 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
15329 capture SIGBUS.
15330
d39c0a45
AZ
153312018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15332
15333 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
15334 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
15335 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15336 (__ASSUME_CLONE_BACKWARDS): Define.
15337
cc8a1620
JH
153382018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
15339
57408435 15340 [BZ #23024]
cc8a1620
JH
15341 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
15342 early when linux sentinel value is set.
15343
8bfd94d0
ST
153442018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15345
15346 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
15347
f178e59f
AS
153482018-03-27 Andreas Schwab <schwab@suse.de>
15349
15350 [BZ #23005]
15351 * resolv/res_send.c (__res_context_send): Return ENOMEM if
15352 allocation of private copy of nsaddr_list fails.
15353
5f45f96a
JM
153542018-03-26 Joseph Myers <joseph@codesourcery.com>
15355
15356 [BZ #16552]
15357 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
15358 * sysdeps/unix/sysv/linux/umount.c: ... here.
15359 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
15360 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
15361 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
15362 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
15364 * sysdeps/unix/sysv/linux/umount.S: Likewise.
15365 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
15366
3dfd23eb
AS
153672018-03-26 Andreas Schwab <schwab@suse.de>
15368
15369 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
15370 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
15371 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
15372 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
15373 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
15374 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
15375 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
15376 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
15377 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
15378 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
15379 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
15380 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
15381 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
15382 (R_RISCV_NUM): Define.
15383
fa97d2ab
ST
153842018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15385
15386 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
15387 TLS declaration of errno.
37be82a0
ST
15388 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
15389 __libc_setup_tls.
15390 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
15391 (ARCH_SETUP_TLS): Likewise.
15392 * sysdeps/mach/hurd/libc-start.h: New file copied from
15393 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
15394 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
15395 instead of __libc_setup_tls.
37be82a0 15396 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
15397 __libc_setup_tls before initializing libpthread and running _hurd_init
15398 which starts the signal thread.
15399 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
15400 Declare function.
2d813d7b 15401 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 15402
b8114edd
L
154032018-03-24 H.J. Lu <hongjiu.lu@intel.com>
15404
15405 [BZ #22998]
15406 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
15407 after it is defined.
15408
cd66c0e5
AS
154092018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
15410 Max Horn <max@quendi.de>
15411
15412 [BZ #22644]
43d4f3d5 15413 CVE-2017-18269
cd66c0e5
AS
15414 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
15415 branch conditions.
15416 * string/test-memmove.c (do_test2): New testcase.
15417
a4406139
JM
154182018-03-22 Joseph Myers <joseph@codesourcery.com>
15419
15420 * sysdeps/generic/frame.h: Remove file.
15421 * sysdeps/arm/frame.h: Likewise.
15422 * sysdeps/hppa/frame.h: Likewise.
15423 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
15424 macro.
15425 (GET_FRAME): Likewise.
15426 (GET_STACK): Likewise.
15427 (CALL_SIGHANDLER): Likewise.
15428 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
15429 Likewise.
15430 (GET_FRAME): Likewise.
15431 (GET_STACK): Likewise.
15432 (CALL_SIGHANDLER): Likewise.
15433 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
15434 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15435 (GET_FRAME): Likewise.
15436 (GET_STACK): Likewise.
15437 (CALL_SIGHANDLER): Likewise.
15438 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
15439 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15440 (GET_FRAME): Likewise.
15441 (GET_STACK): Likewise.
15442 (ADVANCE_STACK_FRAME): Likewise.
15443 (CALL_SIGHANDLER): Likewise.
15444 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
15445 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15446 (GET_FRAME): Likewise.
15447 (GET_STACK): Likewise.
15448 (CALL_SIGHANDLER): Likewise.
15449 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
15450 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15451 (GET_FRAME): Likewise.
15452 (GET_STACK): Likewise.
15453 (CALL_SIGHANDLER): Likewise.
15454 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
15455 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15456 (GET_FRAME): Likewise.
15457 (GET_STACK): Likewise.
15458 (CALL_SIGHANDLER): Likewise.
15459 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
15460 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15461 (GET_FRAME): Likewise.
15462 (GET_STACK): Likewise.
15463 (CALL_SIGHANDLER): Likewise.
15464 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
15465 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15466 (GET_FRAME): Likewise.
15467 (GET_STACK): Likewise.
15468 (CALL_SIGHANDLER): Likewise.
15469 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
15470 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15471 (GET_FRAME): Likewise.
15472 (GET_STACK): Likewise.
15473 (CALL_SIGHANDLER): Likewise.
15474 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
15475 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15476 (GET_FRAME): Likewise.
15477 (GET_STACK): Likewise.
15478 (CALL_SIGHANDLER): Likewise.
15479 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
15480 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15481 (GET_FRAME): Likewise.
15482 (GET_STACK): Likewise.
15483 (CALL_SIGHANDLER): Likewise.
15484 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
15485 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15486 (GET_FRAME): Likewise.
15487 (GET_STACK): Likewise.
15488 (CALL_SIGHANDLER): Likewise.
15489 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
15490 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15491 (FIRST_FRAME_POINTER): Likewise.
15492 (ADVANCE_STACK_FRAME): Likewise.
15493 (GET_STACK): Likewise.
15494 (GET_FRAME): Likewise.
15495 (CALL_SIGHANDLER): Likewise.
15496 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
15497 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15498 (ADVANCE_STACK_FRAME): Likewise.
15499 (GET_STACK): Likewise.
15500 (GET_FRAME): Likewise.
15501 (CALL_SIGHANDLER): Likewise.
15502 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
15503 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15504 (GET_FRAME): Likewise.
15505 (GET_STACK): Likewise.
15506 (CALL_SIGHANDLER): Likewise.
15507 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
15508 (SIGCONTEXT_EXTRA_ARGS): Likewise.
15509 (GET_FRAME): Likewise.
15510 (GET_STACK): Likewise.
15511 (CALL_SIGHANDLER): Likewise.
15512
ffec7b27
JM
155132018-03-21 Joseph Myers <joseph@codesourcery.com>
15514
15515 * sysdeps/x86_64/backtrace.c: Move to ....
15516 * debug/backtrace.c: ... here.
15517 * sysdeps/aarch64/backtrace.c: Remove file.
15518 * sysdeps/alpha/backtrace.c: Likewise.
15519 * sysdeps/hppa/backtrace.c: Likewise.
15520 * sysdeps/ia64/backtrace.c: Likewise.
15521 * sysdeps/mips/backtrace.c: Likewise.
15522 * sysdeps/nios2/backtrace.c: Likewise.
15523 * sysdeps/riscv/backtrace.c: Likewise.
15524 * sysdeps/sh/backtrace.c: Likewise.
15525 * sysdeps/tile/backtrace.c: Likewise.
15526
8a07b0c4
JM
155272018-03-20 Joseph Myers <joseph@codesourcery.com>
15528
d0c5d731
JM
15529 [BZ #22987]
15530 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
15531 function.
15532 (fdimf): Likewise.
15533 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
15534
8a07b0c4
JM
15535 [BZ #17343]
15536 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
15537 possibly overflowing computations.
15538
ceb54b9b
ST
155392018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
15540
15541 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
15542 values from Linux-specific section now that it is in the GNU section.
15543 * sysdeps/gnu/errlist.c: Regenerate.
15544
8d3f9e85
JM
155452018-03-20 Joseph Myers <joseph@codesourcery.com>
15546
15547 * math/Makefile (libm-narrow-fns): Add sub.
15548 (libm-test-funcs-narrow): Likewise.
15549 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
15550 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
15551 * math/gen-auto-libm-tests.c (test_functions): Add sub.
15552 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
15553 (NARROW_SUB_ROUND_TO_ODD): Likewise.
15554 (NARROW_SUB_TRIVIAL): Likewise.
15555 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
15556 macro.
15557 (__dsubl): Likewise.
15558 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
15559 dsub.
15560 (CFLAGS-nldbl-dsub.c): New variable.
15561 (CFLAGS-nldbl-fsub.c): Likewise.
15562 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
15563 __nldbl_dsubl.
15564 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
15565 prototype.
15566 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
15567 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
15568 * math/auto-libm-test-in: Add tests of sub.
15569 * math/auto-libm-test-out-narrow-sub: New generated file.
15570 * math/libm-test-narrow-sub.inc: New file.
15571 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
15572 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
15573 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
15574 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
15575 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
15576 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
15577 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
15578 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
15579 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
15580 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
15582 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
15585 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
15586 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
15587 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
15588 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
15589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15590 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
15591 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15592 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15593 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15594 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15595 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15596 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15597 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15598 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15599 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15600 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15601 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15602 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
15605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15607 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15608 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15609 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15610 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15611 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15612 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15613 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
15614 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
15615 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15616 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15617
d473f015
JM
156182018-03-19 Joseph Myers <joseph@codesourcery.com>
15619
15620 [BZ #20079]
15621 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
15622
fbce6f72
WD
156232018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
15624
15625 * benchtests/bench-timing.h (attribute_hidden): Undefine.
15626
72e7ffc3
RB
156272018-03-18 Richard Braun <rbraun@sceen.net>
15628
15629 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
15630 thread reference.
15631
542c20a1
AA
156322018-03-18 Agustina Arzille <avarzille@riseup.net>
15633
15634 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
15635 (__libc_cleanup_fct): Define function.
15636 (__libc_cleanup_region_start, __libc_cleanup_region_end,
15637 __libc_cleanup_end): Rewrite implementation using
15638 __attribute__ ((__cleanup__)).
15639 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
15640 * hurd/Makefile (routines): Add hurdlock.
15641 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
15642 interface.
15643 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
15644 * hurd/hurdpid.c: Include <lowlevellock.h>
15645 (_S_msg_proc_newids): Use lll_wait to synchronize.
15646 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
15647 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
15648 * mach/Makefile (lock-headers): Remove machine-lock.h.
15649 * mach/lock-intern.h: Include <lowlevellock.h> instead of
15650 <machine-lock.h>.
15651 (__spin_lock_t): New type.
15652 (__SPIN_LOCK_INITIALIZER): New macro.
15653 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
15654 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
15655 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
15656 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
15657 (__mutex_init): Initialize with lll.
15658 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
15659 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
15660 needing lll.
15661 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15662 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
15663 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
15664 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
15665 (__setpgid): Use lll for synchronization.
15666 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
15667 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
15668 instead of <cthreads.h>.
15669 (_IO_lock_inexpensive): New macro
15670 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
15671 (__libc_lock_self0): New declaration.
15672 (__libc_lock_owner_self): New macro.
15673 (__libc_key_t): Remove type.
15674 (_LIBC_LOCK_INITIALIZER): New macro.
15675 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
15676 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
15677 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
15678 __libc_lock_define_initialized_recursive,
15679 __rtld_lock_define_initialized_recursive,
15680 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
15681 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
15682 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
15683 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
15684 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
15685 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
15686 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
15687 New macros.
15688 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
15689 * hurd/hurdlock.c: New file.
15690 * hurd/hurdlock.h: New file.
15691 * mach/lowlevellock.h: New file
542c20a1 15692
9a37922e
ST
156932018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15694
15695 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
15696 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
15697 when opening a symlink with O_NOFOLLOW.
72103e73
ST
15698 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
15699 path when flags contains O_NOFOLLOW.
15700 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
15701 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
15702 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
15703 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
15704 * sysdeps/mach/hurd/mlockall.c: New file.
15705 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 15706
34e6a869
ST
157072018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15708
15709 * hurd/hurdsig.c: Include <pthread.h>.
15710 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
15711 get the signal thread stack layout.
dc33bef3
ST
15712 * hurd/Makefile (headers): Remove threadvar.h.
15713 (inline-headers): Remove threadvar.h.
15714 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
15715 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
15716 __hurd_threadvar_max, __hurd_errno_location.
15717 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
15718 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
15719 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
15720 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
15721 unless TLS is not initialized yet, in which case we do not need a
15722 critical section yet anyway.
15723 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
15724 <machine-sp.h>.
15725 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
15726 declarations.
15727 (__hurd_threadvar_index): Remove enum.
15728 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
15729 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
15730 inlines.
15731 (__hurd_reply_port0): New variable declaration.
15732 (__hurd_local_reply_port): New macro.
15733 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
15734 (interrupted_reply_port_location): Add thread_t parameter. Use it
15735 with THREAD_TCB to access thread-local variables.
15736 (_hurdsig_abort_rpcs): Pass ss->thread to
15737 interrupted_reply_port_location.
15738 (_hurd_internal_post_signal): Likewise.
15739 (_hurdsig_init): Use presence of cthread_fork instead of
15740 __hurd_threadvar_stack_mask to start signal thread by hand.
15741 Remove signal thread threadvar initialization.
15742 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
15743 * hurd/sigunwind.c: Include <hurd/threadvar.h>
15744 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
15745 of threadvar.
15746 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
15747 __libc_lock_self0.
15748 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
15749 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
15750 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
15751 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
15752 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
15753 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
15754 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
15755 define variables.
15756 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
15757 <hurd/threadvar.h>.
15758 [IS_IN(rtld)] (rtld_errno): New variable.
15759 [IS_IN(rtld)] (__errno_location): New weak function.
15760 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
15761 * sysdeps/mach/hurd/errno.c: Remove file.
15762 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
15763 (__fork): Remove THREADVAR_SPACE macro and its use.
15764 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
15765 variable.
15766 (init): Do not initialize threadvar.
15767 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
15768 symbol.
15769 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
15770 __hurd_local_reply_port instead of threadvar.
15771 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
15772 _hurd_sigstate fields.
15773 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
15774 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
15775 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
15776 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
15777 instead of threadvar.
15778 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
15779 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
15780 (use_threadvar, global_reply_port): Remove variables.
15781 (__hurd_reply_port0): New variable.
15782 (__mig_get_reply_port): Use __hurd_local_reply_port and
15783 __hurd_reply_port0 instead of threadvar.
15784 (__mig_dealloc_reply_port): Likewise.
15785 (__mig_init): Do not initialize threadvar.
15786 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
15787 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
15788 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
15789 cthread_keycreate, cthread_getspecific, cthread_setspecific to
15790 __cthread_fork, __cthread_detach, __pthread_getattr_np,
15791 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
15792 __cthread_setspecific.
15793 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
15794 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
15795 __cthread_t instead of cthread_fork, cthread_detach,
15796 pthread_getattr_np, pthread_attr_getstack.
15797 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
15798 __cthread_keycreate.
15799 (cthread_getspecific): Rename to __cthread_getspecific.
15800 (cthread_setspecific): Rename to __cthread_setspecific.
15801 (__libc_getspecific): Use __cthread_getspecific instead of
15802 cthread_getspecific.
15803 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
15804 __cthread_keycreate instead of cthread_keycreate.
15805 (__libc_setspecific): Use __cthread_setspecific instead of
15806 cthread_setspecific.
15807 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
15808 Likewise.
dd28d4ba
ST
15809 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
15810 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
15811 testing whether it is defined.
34e6a869 15812
f8baf2a2
ST
158132018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15814
15815 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
15816 Define macro.
15817 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
15818 * sysdeps/mach/i386/thread_state.h
15819 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
15820 i386_THREAD_STATE.
15821 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
15822 i386_THREAD_STATE.
15823 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
15824
15825 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
15826 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
15827
15828 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
15829 macros.
15830 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
15831 descriptor instead of creating a new one.
15832 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
15833
15834 * mach/setup-thread.c: Include <ldsodefs.h>.
15835 (__mach_setup_thread): Call _dl_allocate_tls, pass
15836 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
15837 MACHINE_THREAD_STATE_FLAVOR, before getting
15838 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
15839 MACHINE_THREAD_STATE_FLAVOR with the result.
15840 * hurd/hurdfault.c (_hurdsig_fault_init): Call
15841 MACHINE_THREAD_STATE_FIX_NEW.
15842 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
15843 too. Add original thread parameter.
15844
34ba96b8
JM
158452018-03-16 Joseph Myers <joseph@codesourcery.com>
15846
5d75b75f
JM
15847 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
15848 Remove inline function.
15849
34ba96b8
JM
15850 * sysdeps/i386/fpu/libm-test-ulps: Update.
15851 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
15852
22679b2c
WD
158532018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
15854
15855 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
15856 commit.
15857
c429a8d8
JM
158582018-03-15 Joseph Myers <joseph@codesourcery.com>
15859
15860 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
15861 (__sincos_code): Remove define and undefine.
15862 [__FAST_MATH__] (__sincos): Remove inline function.
15863 [__FAST_MATH__] (__sincosf): Remove inline function.
15864 [__FAST_MATH__] (__sincosl): Remove inline function.
15865 (__atan2l): Remove inline functions.
15866 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
15867 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
15868 function.
15869 (floor): Remove inline function.
15870 (ceil): Likewise.
15871 [__FAST_MATH__] (__ldexp_code): Remove macro.
15872 [__FAST_MATH__] (ldexp): Remove inline function.
15873 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
15874 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
15875 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
15876 [__USE_ISOC99] (__lrint_code): Remove macro.
15877 [__USE_ISOC99] (__llrint_code): Likewise.
15878 [__USE_ISOC99] (lrintf): Remove inline function.
15879 [__USE_ISOC99] (lrint): Likewise.
15880 [__USE_ISOC99] (lrintl): Likewise.
15881 [__USE_ISOC99] (llrint): Likewise.
15882 [__USE_ISOC99] (llrintf): Likewise.
15883 [__USE_ISOC99] (llrintl): Likewise.
15884
700593fd
WD
158852018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15886
15887 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
15888 (__ieee754_sqrtf): Remove.
15889 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
15890 (__ieee754_sqrtf): Remove.
15891 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
15892 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15893 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
15894 (__ieee754_sqrtf): Remove.
15895 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
15896 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
15897 (sqrtf): Remove.
15898 (sqrtl): Remove.
15899 (__ieee754_sqrt): Remove.
15900 (__ieee754_sqrtf): Remove.
15901 (__ieee754_sqrtl): Remove.
15902 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
15903 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
15904 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
15905 (__ieee754_sqrtf): Remove.
15906 (__ieee754_sqrtl): Remove.
15907
f67a8147
WD
159082018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15909
15910 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
15911 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15912 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15913 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
15914 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
15915 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15916 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15917 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15918 Likewise.
15919 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
15920 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
15921 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15922 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15923 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15924 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
15925 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
15926 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
15927 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15928 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15929 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
15930 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15931 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
15932 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
15933 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
15934 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15935 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15936 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15937 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
15938 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
15939 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15940 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15941 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
15942 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
15943 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
15944 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
15945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15946 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15947 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
15948 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
15949 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15950 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
15951 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15952 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
15953 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
15954 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15955 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
15956 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
15957 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15958 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
15959
1294b189
WD
159602018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15961
15962 * include/math.h (sqrt): Declare with asm redirect.
15963 (sqrtf): Likewise.
15964 (sqrtl): Likewise.
15965 (sqrtf128): Likewise.
15966 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
15967 nonlib and libnldbl with -fmath-errno.
15968 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
15969 * math/w_sqrt_template.c: Likewise.
15970 * math/w_sqrtf_compat.c: Likewise.
15971 * math/w_sqrtl_compat.c: Likewise.
15972 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
15973 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
15974 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
15975 complex.h.
15976
f1c8185d
WD
159772018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
15978
15979 * benchtests/Makefile: Define _ISOMAC.
15980 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
15981 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
15982 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
15983 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
15984 * benchtests/bench-timing.h: Define attribute_hidden.
15985
b47c3e76
SP
159862018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
15987
15988 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
15989 mov + lsr.
15990
807fee29
RL
159912018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15992
15993 [BZ #22963]
15994 * localedata/locales/cs_CZ (mon): Rename to...
15995 (alt_mon): This.
15996 (mon): Import from CLDR (genitive case).
15997
e7155a28
RL
159982018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
15999
16000 [BZ #22937]
16001 * localedata/locales/el_CY (abmon): Rename to...
16002 (ab_alt_mon): This.
16003 (abmon): Import from CLDR (abbreviated genitive case).
16004 * localedata/locales/el_GR (abmon): Rename to...
16005 (ab_alt_mon): This.
16006 (abmon): Import from CLDR (abbreviated genitive case).
16007
71d7b121
RL
160082018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16009
16010 [BZ #22932]
16011 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16012
a00bffe8
RB
160132018-03-15 Robert Buj <robert.buj@gmail.com>
16014
16015 [BZ #22848]
16016 * localedata/locales/ca_ES (abmon): Rename to...
16017 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16018 (mon): Rename to...
16019 (alt_mon): This.
16020 (abmon): Import from CLDR (genitive case, month names preceded by
16021 "de" or "d’").
16022 (mon): Likewise.
16023 (abday): Synchronize with CLDR.
16024 (d_t_fmt): Likewise.
16025 (d_fmt): Likewise.
16026 (am_pm): Likewise.
16027
16028 (LC_TIME): Improve indentation.
16029 (LC_TELEPHONE): Likewise.
16030 (LC_NAME): Likewise.
16031 (LC_ADDRESS): Likewise.
16032
f9555d73
JM
160332018-03-14 Joseph Myers <joseph@codesourcery.com>
16034
16035 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16036 (lrintf): Remove definitions used only with old GCC.
16037 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16038 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16039 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16040 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16041 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16042 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16043 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16044 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16045 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16046 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16047 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16048 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16049 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16050 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16051 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16052 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16053 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16054 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16055 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16056 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16057 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16058 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16059 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16060 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16061 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16062 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16063 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16064 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16065
d46f84de
SP
160662018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16067
16068 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16069 instruction to unbreak builds with binutils 2.26 and older.
16070
7108f1f9
SP
160712018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16072
16073 * sysdeps/aarch64/strncmp.S (count): New macro.
16074 (strncmp): Store misaligned length in SRC1 in COUNT.
16075 (mutual_align): Adjust.
16076 (misaligned8): Load dword at a time when it is safe.
16077
2cc7bad0
ZW
160782018-03-12 Zack Weinberg <zackw@panix.com>
16079
16080 [BZ #1190]
16081 [BZ #19476]
16082 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16083 if the _IO_EOF_SEEN bit is already set; update commentary.
16084 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16085 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16086
16087 * support/support_openpty.c, support/tty.h: New files.
16088 * support/Makefile (libsupport-routines): Add support_openpty.
16089
16090 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16091 New test cases.
16092 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16093 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16094
778f1974
DL
160952018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16096
16097 * po/pt_BR.po: Update translations.
16098
6b5c8607 160992018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
16100
16101 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16102 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16103 get a port to the startup server.
16104
d3da750d
ZW
161052018-03-11 Zack Weinberg <zackw@panix.com>
16106
16107 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16108 before nldbl-compat.h.
16109
054b72cc
ZW
161102018-03-10 Zack Weinberg <zackw@panix.com>
16111
0d13dfa1
ZW
16112 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16113 math.h or math_private.h.
16114
16115 * sysdeps/alpha/fpu/s_isnan.c
16116 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16117 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16118 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16119 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16120 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16121 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16122 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16123 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16124 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16127 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16128 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16129 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16130 Include math_private.h.
16131
16132 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16133 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16134 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16135 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16136 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16137 * sysdeps/powerpc/power7/fpu/s_logb.c:
16138 Include math.h and math_private.h.
16139
054b72cc
ZW
16140 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16141 uses of $at in .set noat / .set at.
16142
6253bacd
L
161432018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16144
16145 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16146 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16147 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16148 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16149 Likewise.
16150
229855e5
FW
161512018-03-09 Florian Weimer <fweimer@redhat.com>
16152
16153 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16154 in comment.
16155
9aa5c222
AJ
161562018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16157
16158 [BZ #22919]
16159 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16160 Add nop before __startcontext, add explaining comments.
16161
3dc21497
AZ
161622018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16163
e921c89e
AZ
16164 [BZ #22926]
16165 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16166 empty for __SPE__.
16167 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16168 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16169 Do not build hardware transactional code for __SPE__.
16170 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16171 (__lll_trylock_elision): Likewise.
16172 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16173 (__lll_unlock_elision): Likewise.
16174
d9f26dab 16175 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
16176 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16177 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16178 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
16179 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
16180 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
16181 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
16182 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
16183 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
16184 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
16185 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
16186 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
16187 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
16188 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
16189 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
16190 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
16191 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
16192 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
16193 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
16194 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
16195 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
16196 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16197 (__ASSUME_CLONE_BACKWARDS): Define.
16198 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
16199 __clone2 if __NR_clone2 is defined.
16200 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16201 (__ASSUME_CLONE_BACKWARDS): Likewise.
16202 * sysdeps/unix/sysv/linux/i386/kernel-features.h
16203 (__ASSUME_CLONE_BACKWARDS): Likewise.
16204 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16205 (__ASSUME_CLONE2): Likewise.
16206 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16207 (__ASSUME_CLONE_BACKWARDS3): Likewise.
16208 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
16209 variants and the define architecture can use.
16210 (__ASSUME_CLONE_DEFAULT): Define as default.
16211 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16212 (__ASSUME_CLONE_BACKWARDS): Likewise.
16213 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16214 (__ASSUME_CLONE_BACKWARDS): Likewise.
16215 * sysdeps/unix/sysv/linux/s390/kernel-features.h
16216 (__ASSUME_CLONE_BACKWARDS2): Likewise.
16217
adc95fb0
SP
162182018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
16219
4e54d918
SP
16220 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
16221
30a81dae
SP
16222 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
16223 time.
16224
adc95fb0
SP
16225 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
16226 (do_test_limit): Likewise.
16227
16228 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
16229 for every implementation.
16230 (do_test): Likewise.
16231
16232 * benchtests/bench-strncmp.c: Convert output to json.
16233
4e9066bc
ST
162342018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16235
16236 * io/futimens.c: Add missing start-of-file descriptive comment.
16237 * io/utime.c: Likewise.
16238 * misc/futimesat.c: Likewise.
16239 * misc/utimes.c: Likewise.
16240 * sysdeps/mach/hurd/futimesat.c: Likewise.
16241 * sysdeps/mach/hurd/utimes.c: Likewise.
16242 * sysdeps/posix/utime.c: Likewise.
16243 * sysdeps/posix/utimes.c: Likewise.
16244 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
16245 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16246 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
16247 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
16248
ec1300cf
ST
162492018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16250
16251 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
16252 hurd_futimes.
16253 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
16254 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
16255 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
16256 (__futimens): Move implementation to...
16257 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
16258 utime_tvalue_from_tspec): ... new helper functions.
16259 (hurd_futimens): New function.
16260 * sysdeps/mach/hurd/futimesat.c: New file.
16261 * sysdeps/mach/hurd/utimensat.c: New file.
16262
bbe762d1
FC
162632018-03-05 Flávio Cruz <flaviocruz@gmail.com>
16264
16265 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
16266 UTIME_OMIT): New macros.
16267 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
16268 before reverting to converting time spec to time value and calling
16269 __file_utimes.
16270 * sysdeps/mach/hurd/utime-helper.c: New file.
16271 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
16272 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
16273 reverting to utime_tvalue_from_tval and __file_utimes.
16274 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
16275 (__lutimes): Just call hurd_futimens after lookup.
16276 * sysdeps/mach/hurd/utimes.c: Likewise.
16277
a1ede3a4
ST
162782018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
16279
16280 * bits/sigaction.h: Add include guard.
16281 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
16282 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
16283 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
16284 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
16285 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
16286 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
16287 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
16288 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
16289 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
16290
6900d2ca
JM
162912018-03-05 Joseph Myers <joseph@codesourcery.com>
16292
16293 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
16294 -Wmaybe-uninitialized for -Os.
16295 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
16296 this disabling.
16297
68448be2
AZ
162982018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16299
5226a81f
AZ
16300 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
16301 __INO_T_MATCHES_INO64_T is defined.
16302 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
16303 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
16304 of definition.
16305 * dirent/alphasort64.c: Likewise.
16306 * dirent/scandir.c: Likewise.
16307 * dirent/scandir64-tail.c: Likewise.
16308 * dirent/scandir64.c: Likewise.
16309 * dirent/scandirat.c: Likewise.
16310 * dirent/scandirat64.c: Likewise.
16311 * dirent/versionsort.c: Likewise.
16312 * dirent/versionsort64.c: Likewise.
16313 * include/dirent.h: Likewise.
16314
fbd01e6c
AZ
16315 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
16316 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
16317 for socketpair endpoint.
16318 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
16319 WRITE_BUFFER_SIZE as buffer size for sending socket.
16320 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
16321 issue on system where send is implemented with sendto syscall.
16322 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
16323 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
16324 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
16325 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
16326
68448be2
AZ
16327 [BZ #21269]
16328 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
16329 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
16330 sa_restorer for vDSO case.
16331 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
16332
eb1ca47e
ST
163332018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16334
16335 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
16336 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
16337 * hurd/hurd/ioctl.h: Include <mach/port.h>
16338 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
16339 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
16340 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
16341 (headers): Move mach/param.h to bits/mach/param.h.
16342 * sysdeps/mach/i386/mach/param.h: Move file to ...
16343 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
16344 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
16345 of <mach/param.h>.
3403cb7d
ST
16346 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
16347 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
16348 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
16349 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
16350 trivial, for C++ conformity.
44c6376c 16351 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
16352 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
16353 Process mig output through $(migheadersed).
16354 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
16355 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
16356 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
16357 headers.
ba89615d
ST
16358 * hurd/hurd.h: Include <bits/types/sigset_t.h>
16359 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
16360 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
16361 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
16362 <bits/types/sigset_t.h>.
16363 [!defined __USE_GNU]: Do not #error out.
16364 (struct hurd_sigstate): Use _NSIG instead of NSIG.
16365 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
16366 Include <stddef.h> and <bits/types/sigset_t.h>
16367 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
16368 instead of sighandler_t.
974393ea
ST
16369 * stdlib/errno.h (error_t): Move definition to...
16370 * bits/types/error_t.h: ... new header.
16371 * stdlib/Makefile (headers): Add bits/types/error_t.h.
16372 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
16373 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
16374 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
16375 * hurd/hurd.h: Include <bits/types/error_t.h>
16376 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
16377 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
16378 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
16379 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
16380 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
16381 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 16382 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 16383
eaf6753f
AS
163842018-03-03 Andreas Schwab <schwab@linux-m68k.org>
16385
16386 [BZ #22918]
16387 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
16388 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
16389 * nscd/gai.c (__nss_hosts_database): Readd definition.
16390 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
16391 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
16392 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
16393
4dc23804
JM
163942018-03-02 Joseph Myers <joseph@codesourcery.com>
16395
16396 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
16397 (ifunc_one): Likewise.
16398
1c81d55f
DD
163992018-03-01 DJ Delorie <dj@delorie.com>
16400
16401 [BZ #22342]
16402 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
16403 key value.
16404
b717c14f
MR
164052018-03-01 Maciej W. Rozycki <macro@mips.com>
16406
16407 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
16408 `match_pid' parameter.
16409 (td_ta_thr_iter): Update accordingly.
16410
1efe1358
FW
164112018-03-01 Florian Weimer <fweimer@redhat.com>
16412
16413 * nptl/Makefile (install-lib-ldscripts): Remove.
16414 (install): Remove rule.
16415 ($(inst_libdir)/libpthread.so): Likewise.
16416
a527f09c
MF
164172018-03-01 Mike FABIAN <mfabian@redhat.com>
16418
16419 [BZ #22896]
16420 * localedata/locales/an_ES: update month and day names,
16421 improve d_fmt, improve postal_fmt, add country_post,
16422 add country_isbn
16423
35d660b0
MF
164242018-03-01 Mike FABIAN <mfabian@redhat.com>
16425
16426 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
16427 Ukrainian instead of Bulgarian.
16428
1a2f44a8
FW
164292018-03-01 Florian Weimer <fweimer@redhat.com>
16430
16431 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
16432 reference.
16433
bd60ce86
FW
164342018-03-01 Florian Weimer <fweimer@redhat.com>
16435
16436 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
16437 * nptl/Makefile (routines): Add pthread_atfork.
16438 (static-only-routines): Set to pthread_atfork.
16439 (libpthread-routines): Remove pthread_atfork.
16440 (libpthread-static-only-routines): Remove.
16441 (install): Update comment.
16442 (libpthread.so): Do not install libpthread_nonshared.a.
16443 (tests): Do not link with libpthread_nonshared.a.
16444 (generated): Remove libpthread_nonshared.a.
16445 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
16446 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
16447 with libpthread_nonshared.a.
16448
000f290f
JM
164492018-02-28 Joseph Myers <joseph@codesourcery.com>
16450
e2bcf6a8
JM
16451 [BZ #22902]
16452 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
16453 (libc_feholdexcept_setroundf128): New macro.
16454 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
16455
000f290f
JM
16456 [BZ #15105]
16457 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
16458 libc_hidden_def.
16459 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
16460 * include/inttypes.h: New file.
16461
02f2fead
JM
164622018-02-27 Joseph Myers <joseph@codesourcery.com>
16463
16464 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
16465 -Os in two more places.
16466
874c56d7
MF
164672018-02-27 Mike FABIAN <mfabian@redhat.com>
16468
16469 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
16470 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
16471 be sorted correctly at the moment because of a bug.
16472
15973854
MF
164732018-02-27 Mike FABIAN <mfabian@redhat.com>
16474
16475 [BZ #22550] - es_ES locale (and other es_* locales): collation should
16476 treat ñ as a primary different character, sync the collation
16477 for Spanish with CLDR.
16478 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
16479 * localedata/Makefile: Add new test files.
16480 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
16481 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
16482 collation order.
16483 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
16484 * localedata/am_ET.UTF-8.in: New test file.
16485 * localedata/az_AZ.UTF-8.in: Likewise.
16486 * localedata/be_BY.UTF-8.in: Likewise.
16487 * localedata/ber_DZ.UTF-8.in: Likewise.
16488 * localedata/ber_MA.UTF-8.in: Likewise.
16489 * localedata/bg_BG.UTF-8.in: Likewise.
16490 * localedata/br_FR.UTF-8.in: Likewise.
16491 * localedata/cmn_TW.UTF-8.in: Likewise.
16492 * localedata/crh_UA.UTF-8.in: Likewise.
16493 * localedata/csb_PL.UTF-8.in: Likewise.
16494 * localedata/cv_RU.UTF-8.in: Likewise.
16495 * localedata/cy_GB.UTF-8.in: Likewise.
16496 * localedata/dz_BT.UTF-8.in: Likewise.
16497 * localedata/eo.UTF-8.in: Likewise.
16498 * localedata/es_ES.UTF-8.in: Likewise.
16499 * localedata/fa_IR.UTF-8.in: Likewise.
16500 * localedata/fi_FI.UTF-8.in: Likewise.
16501 * localedata/fil_PH.UTF-8.in: Likewise.
16502 * localedata/fur_IT.UTF-8.in: Likewise.
16503 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
16504 * localedata/ha_NG.UTF-8.in: Likewise.
16505 * localedata/ig_NG.UTF-8.in: Likewise.
16506 * localedata/ik_CA.UTF-8.in: Likewise.
16507 * localedata/kk_KZ.UTF-8.in: Likewise.
16508 * localedata/ku_TR.UTF-8.in: Likewise.
16509 * localedata/ky_KG.UTF-8.in: Likewise.
16510 * localedata/ln_CD.UTF-8.in: Likewise.
16511 * localedata/mi_NZ.UTF-8.in: Likewise.
16512 * localedata/ml_IN.UTF-8.in: Likewise.
16513 * localedata/mn_MN.UTF-8.in: Likewise.
16514 * localedata/mr_IN.UTF-8.in: Likewise.
16515 * localedata/mt_MT.UTF-8.in: Likewise.
16516 * localedata/nb_NO.UTF-8.in: Likewise.
16517 * localedata/om_KE.UTF-8.in: Likewise.
16518 * localedata/os_RU.UTF-8.in: Likewise.
16519 * localedata/ps_AF.UTF-8.in: Likewise.
16520 * localedata/ro_RO.UTF-8.in: Likewise.
16521 * localedata/ru_RU.UTF-8.in: Likewise.
16522 * localedata/sc_IT.UTF-8.in: Likewise.
16523 * localedata/se_NO.UTF-8.in: Likewise.
16524 * localedata/sq_AL.UTF-8.in: Likewise.
16525 * localedata/sv_SE.UTF-8.in: Likewise.
16526 * localedata/szl_PL.UTF-8.in: Likewise.
16527 * localedata/tg_TJ.UTF-8.in: Likewise.
16528 * localedata/tk_TM.UTF-8.in: Likewise.
16529 * localedata/tt_RU.UTF-8.in: Likewise.
16530 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
16531 * localedata/ug_CN.UTF-8.in: Likewise.
16532 * localedata/uz_UZ.UTF-8.in: Likewise.
16533 * localedata/vi_VN.UTF-8.in: Likewise.
16534 * localedata/yi_US.UTF-8.in: Likewise.
16535 * localedata/yo_NG.UTF-8.in: Likewise.
16536 * localedata/zh_CN.UTF-8.in: Likewise.
16537 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
16538 file and fix bugs in the collation.
16539 * localedata/locales/az_AZ: Likewise.
16540 * localedata/locales/be_BY: Likewise.
16541 * localedata/locales/ber_DZ: Likewise.
16542 * localedata/locales/ber_MA: Likewise.
16543 * localedata/locales/bg_BG: Likewise.
16544 * localedata/locales/br_FR: Likewise.
16545 * localedata/locales/br_FR@euro: Likewise.
16546 * localedata/locales/ca_ES: Likewise.
16547 * localedata/locales/cns11643_stroke: Likewise.
16548 * localedata/locales/crh_UA: Likewise.
16549 * localedata/locales/cs_CZ: Likewise.
16550 * localedata/locales/csb_PL: Likewise.
16551 * localedata/locales/cv_RU: Likewise.
16552 * localedata/locales/cy_GB: Likewise.
16553 * localedata/locales/da_DK: Likewise.
16554 * localedata/locales/dz_BT: Likewise.
16555 * localedata/locales/en_CA: Likewise.
16556 * localedata/locales/eo: Likewise.
16557 * localedata/locales/es_CU: Likewise.
16558 * localedata/locales/es_EC: Likewise.
16559 * localedata/locales/es_ES: Likewise.
16560 * localedata/locales/es_US: Likewise.
16561 * localedata/locales/et_EE: Likewise.
16562 * localedata/locales/fa_IR: Likewise.
16563 * localedata/locales/fi_FI: Likewise.
16564 * localedata/locales/fil_PH: Likewise.
16565 * localedata/locales/fur_IT: Likewise.
16566 * localedata/locales/gez_ER@abegede: Likewise.
16567 * localedata/locales/ha_NG: Likewise.
16568 * localedata/locales/hr_HR: Likewise.
16569 * localedata/locales/hsb_DE: Likewise.
16570 * localedata/locales/hu_HU: Likewise.
16571 * localedata/locales/ig_NG: Likewise.
16572 * localedata/locales/ik_CA: Likewise.
16573 * localedata/locales/is_IS: Likewise.
16574 * localedata/locales/iso14651_t1_pinyin: Likewise.
16575 * localedata/locales/kk_KZ: Likewise.
16576 * localedata/locales/ku_TR: Likewise.
16577 * localedata/locales/ky_KG: Likewise.
16578 * localedata/locales/ln_CD: Likewise.
16579 * localedata/locales/lt_LT: Likewise.
16580 * localedata/locales/lv_LV: Likewise.
16581 * localedata/locales/mi_NZ: Likewise.
16582 * localedata/locales/ml_IN: Likewise.
16583 * localedata/locales/mn_MN: Likewise.
16584 * localedata/locales/mr_IN: Likewise.
16585 * localedata/locales/mt_MT: Likewise.
16586 * localedata/locales/nb_NO: Likewise.
16587 * localedata/locales/om_KE: Likewise.
16588 * localedata/locales/os_RU: Likewise.
16589 * localedata/locales/pl_PL: Likewise.
16590 * localedata/locales/ps_AF: Likewise.
16591 * localedata/locales/ro_RO: Likewise.
16592 * localedata/locales/ru_RU: Likewise.
16593 * localedata/locales/ru_UA: Likewise.
16594 * localedata/locales/sc_IT: Likewise.
16595 * localedata/locales/se_NO: Likewise.
16596 * localedata/locales/si_LK: Likewise.
16597 * localedata/locales/sq_AL: Likewise.
16598 * localedata/locales/sv_FI: Likewise.
16599 * localedata/locales/sv_FI@euro: Likewise.
16600 * localedata/locales/sv_SE: Likewise.
16601 * localedata/locales/szl_PL: Likewise.
16602 * localedata/locales/tg_TJ: Likewise.
16603 * localedata/locales/ti_ER: Likewise.
16604 * localedata/locales/tk_TM: Likewise.
16605 * localedata/locales/tl_PH: Likewise.
16606 * localedata/locales/tr_TR: Likewise.
16607 * localedata/locales/tt_RU: Likewise.
16608 * localedata/locales/tt_RU@iqtelif: Likewise.
16609 * localedata/locales/ug_CN: Likewise.
16610 * localedata/locales/uk_UA: Likewise.
16611 * localedata/locales/uz_UZ: Likewise.
16612 * localedata/locales/uz_UZ@cyrillic: Likewise.
16613 * localedata/locales/vi_VN: Likewise.
16614 * localedata/locales/yi_US: Likewise.
16615 * localedata/locales/yo_NG: Likewise.
16616
ce6636b0
MF
166172018-02-27 Mike FABIAN <mfabian@redhat.com>
16618
16619 * gen-locales.mk: Make test files which contain @ modifiers in their
16620 name work.
16621 * localedata/gen-locale.sh: Likewise.
16622
ac3a3b4b
MF
166232018-02-27 Mike FABIAN <mfabian@redhat.com>
16624
16625 * posix/tst-fnmatch.input: Fix results for range expressions
16626 for non C locales.
16627 * posix/tst-regexloc.c: Do not use a range expression for
16628 de_DE.ISO-8859-1 locale.
16629
770cbe14
MF
166302018-02-27 Mike FABIAN <mfabian@redhat.com>
16631
16632 * posix/bug-regex5.c: Fix test case because with the new
16633 iso14651_t1_common file, the da_DK locale now has 6 collating elements
16634 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
16635 file.
16636
0fc355d9
MF
166372018-02-27 Mike FABIAN <mfabian@redhat.com>
16638
16639 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
16640 downloaded from ISO, the collation order of @-. and space has changed.
16641 Therefore, this test file needed to be adapted.
16642 * localedata/fr_CA.UTF-8.in: Likewise.
16643 * localedata/fr_FR.UTF-8.in: Likewise.
16644 * localedata/uk_UA.UTF-8.in: Likewise.
16645
43f3893f
MF
166462018-02-27 Mike FABIAN <mfabian@redhat.com>
16647
16648 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
16649 order of ȥ in the new iso14651_t1_common file.
16650 * localedata/pl_PL.UTF-8.in: Likewise.
16651
df74ef78
MF
166522018-02-27 Mike FABIAN <mfabian@redhat.com>
16653
16654 * localedata/locales/iso14651_t1_common: Add sections for various
16655 scripts to the iso14651_t1_common file.
16656
d5adfbad
MF
166572018-02-27 Mike FABIAN <mfabian@redhat.com>
16658
16659 * localedata/locales/iso14651_t1_common: Use the code point of a
16660 character in the fourth collation level instead of IGNORE for all
16661 entries which have IGNORE on all 4 levels.
16662
5f5a9610
MF
166632018-02-27 Mike FABIAN <mfabian@redhat.com>
16664
16665 * localedata/locales/iso14651_t1_common: Add some convenient collation
16666 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
16667 rules similar to those in CLDR.
16668
8a97e900
MF
166692018-02-27 Mike FABIAN <mfabian@redhat.com>
16670
16671 * localedata/locales/iso14651_t1_common: The new version of this
16672 file downloaded from ISO contained several syntax errors which
16673 are fixed by this patch.
16674
bbdd2fba
MF
166752018-02-27 Mike FABIAN <mfabian@redhat.com>
16676
16677 * localedata/locales/iso14651_t1_common: replace all <U.....>
16678 with <U000.....> because glibc understands only 4 digit or 8 digit
16679
1569e551
MF
166802018-02-27 Mike FABIAN <mfabian@redhat.com>
16681
16682 * localedata/locales/iso14651_t1_common: Necessary changes
16683 to make the file downloaded from ISO usable by glibc.
16684
9479b6d5
MF
166852018-02-27 Mike FABIAN <mfabian@redhat.com>
16686
16687 [BZ #14095]
16688 * localedata/locales/iso14651_t1_common: Update file to
16689 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
16690
03b540b3
ST
166912018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16692
16693 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
16694 of <nptl/pthreadP.h>
16695 (thread_attr_compare): Move function to...
eb937a52 16696 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 16697 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 16698 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 16699
20602c72
JM
167002018-02-26 Joseph Myers <joseph@codesourcery.com>
16701
f54d8f73
JM
16702 * string/strcoll_l.c: Include <libc-diag.h>.
16703 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
16704 declarations of seq1 and seq2.
16705
20602c72
JM
16706 [BZ #15105]
16707 * stdlib/atoi.c (atoi): Use libc_hidden_def.
16708 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
16709
f5f473a9
DL
167102018-02-26 Dmitry V. Levin <ldv@altlinux.org>
16711
16712 [BZ #22433]
16713 [BZ #22807]
16714 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
16715 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
16716 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
16717 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
16718 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
16719 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
16720
398c6fdd
TMQMF
167212018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16722
16723 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
16724 macros used in __ptrace_request.
16725
f5d1f629
L
167262018-02-23 H.J. Lu <hongjiu.lu@intel.com>
16727
16728 [BZ #22792]
16729 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
16730 to $(CC).
16731 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
16732 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
16733 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
16734 <tcb-offsets.h>.
16735
54412d20
JM
167362018-02-23 Joseph Myers <joseph@codesourcery.com>
16737
16738 [BZ #15105]
16739 * ctype/ctype.c (tolower): Use libc_hidden_def.
16740 (toupper): Likewise.
16741 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
16742 [!_ISOMAC] (toupper): Likewise.
16743
81be4b5e
MF
167442018-02-23 Mike FABIAN <mfabian@redhat.com>
16745
16746 * localedata/Makefile: Remove --quiet argument when
16747 installing locales
16748
9d5cfd8e
MF
167492018-02-23 Mike FABIAN <mfabian@redhat.com>
16750
16751 [BZ #17438]
16752 * localedata/locales/pt_BR (LC_TIME): use / instead of -
16753 in d_fmt.
16754 * localedata/locales/pt_PT (LC_TIME): likewise
16755
6c7269f3
MF
167562018-02-23 Mike FABIAN <mfabian@redhat.com>
16757
16758 [BZ #22646]
16759 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
16760 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
16761 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
16762
92aabad9
AZ
167632018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16764
4cdc25a4
AZ
16765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16766
27761a10
AZ
16767 * nptl/Makefile (routines): Remove unregister-atfork.
16768 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
16769 (fork_handler_alloc): Remove function.
16770 (fork_handlers, fork_handler_init): New variables.
16771 (__fork_lock): Rename to atfork_lock.
16772 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
16773 to use a dynamic array to add/remove atfork handlers.
16774 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16775 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
16776 Remove declaration.
16777 (fork_handler): Remove next, refcntr, and need_signal member.
16778 (__run_fork_handler_type): New enum.
16779 (__run_fork_handlers): New prototype.
16780 * nptl/register-atfork.c: Remove file.
16781 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
16782
92aabad9
AZ
16783 * sysdeps/nptl/nptl-signals.h: Move to ...
16784 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
16785 comments.
16786 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
16787 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
16788 unnecessary check for SIGTIMER.
16789 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
16790 remove unnecessary removal of SIGTIMER.
16791 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
16792 include-signals.h rename.
16793 * nptl/pthreadP.h: Likewise.
16794 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
16795 __is_internal_signal instead of __nptl_is_internal_signal.
16796
6b5c8607 167972018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 16798
7e04eb29 16799 [BZ # 22884]
fdcc6253
AW
16800 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
16801 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
16802 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
16803 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
16804
8090720a
DD
168052018-02-22 DJ Delorie <dj@delorie.com>
16806
16807 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
16808
6ca24c43
SP
168092018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
16810
16811 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
16812 do_misaligned, not misaligned8.
16813
e9537ddd
SE
168142018-02-22 Steve Ellcey <sellcey@cavium.com>
16815
16816 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
16817 Add memcpy_thunderx2.
16818 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
16819 Increment to 4.
16820 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
16821 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
16822 and IS_THUNDERX2PA checks.
16823 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
16824 Use macro to set name appropriately.
16825 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
16826 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
16827 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
16828 New macro.
16829 (IS_THUNDERX2): New macro.
16830
6e336476
SL
168312018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
16832
16833 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16834
34957904
ZW
168352018-02-21 Zack Weinberg <zackw@panix.com>
16836
30bfee26
ZW
16837 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
16838 Define here, unconditionally.
16839 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
16840 * libio/libioP.h: Remove #if 0 blocks.
16841 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
16842 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
16843 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
16844
16845 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
16846 Assume weak_alias is always defined.
16847
16848 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
16849 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
16850 Remove #if 0 and #ifdef TODO blocks.
16851 Assume text_set_element is always defined.
16852
16853 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
16854 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
16855 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
16856
df6c012b
ZW
16857 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
16858 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
16859 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
16860 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
16861 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
16862 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
16863 Reformat bit flags for _flags field to make occupancy clearer.
16864 Update commentary.
16865 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
16866 Keep definitions consistent with those in libio/libio.h.
16867
16868 * libio/libio.h (_IO_file_flags): Remove macro.
16869 All uses changed to _flags.
16870
177aad3f
ZW
16871 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
16872 (__HAVE_COLUMN, _IO_BE): Don't define.
16873 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
16874 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
16875 * libio/libioP.h (EOF): Don't define.
16876 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
16877 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
16878 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
16879 testing _IO_UNIFIED_JUMPTABLES.
16880
9964a145
ZW
16881 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
16882 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
16883 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
16884 (_IO_size_t): Delete; all uses changed to size_t.
16885 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
16886 (_IO_off_t): Delete; all uses changed to off_t.
16887 (_IO_off64_t): Delete; all uses changed to off64_t.
16888 (_IO_pid_t): Delete; all uses changed to pid_t.
16889 (_IO_uid_t): Delete; all uses changed to uid_t.
16890 (_IO_wint_t): Delete; all uses changed to wint_t.
16891 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
16892 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
16893 (_IO_cookie_io_functions_t): Delete; all uses changed to
16894 cookie_io_functions_t.
16895 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
16896 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
16897 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
16898 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
16899
16900 * libio/iofopncook.c: Remove unnecessary forward declarations.
16901 * libio/iolibio.h: Correct outdated commentary.
16902 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
16903 * stdio-common/fxprintf.c (__fxprintf_nocancel):
16904 Remove unnecessary casts.
16905 * stdio-common/getline.c: Use _IO_getdelim directly.
16906 Don't redefine ssize_t.
16907 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
16908 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
16909 Remove outdated comments.
16910 * stdio-common/vfscanf.c: Don't redefine va_list.
16911
34957904
ZW
16912 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
16913 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
16914 Remove preprocessor conditionals on _LIBC and __USE_GNU,
16915 which are always true, and __cplusplus, which is always false.
16916
30ac923d
JM
169172018-02-21 Joseph Myers <joseph@codesourcery.com>
16918
039c721a
JM
16919 [BZ #15105]
16920 [BZ #19463]
16921 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
16922 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
16923 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
16924 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
16925 libc_hidden_proto.
16926 [!_ISOMAC] (putc_unlocked): Likewise.
16927 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
16928 define inline if [__USE_EXTERN_INLINES].
16929 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
16930 putc_unlocked.
16931
30ac923d
JM
16932 [BZ #15105]
16933 [BZ #19463]
16934 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
16935 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
16936 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
16937 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
16938 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
16939 getc_unlocked.
16940 * time/tzfile.c (__tzfile_read): Likewise.
16941
7ec5f946
MF
169422018-02-21 Mike FABIAN <mfabian@redhat.com>
16943
16944 [BZ #22517]
16945 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
16946
0d217f40
RJ
169472018-02-21 Rical Jasan <ricaljasan@pacific.net>
16948
16949 * io/fcntl.h: Fix a typo in a comment.
16950
862b4502
RJ
169512018-02-21 Rical Jasan <ricaljasan@pacific.net>
16952
16953 [BZ #22862]
16954 * include/features.h: Add _ISOC11_SOURCE to test for whether to
16955 define _DEFAULT_SOURCE.
16956 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
16957
999a6dab
FW
169582018-02-21 Florian Weimer <fweimer@redhat.com>
16959
16960 [BZ #20890]
16961 * elf/cache.c (save_cache): Call fsync on temporary file before
16962 renaming it.
16963 (save_aux_cache): Call fdatasync on temporary file before renaming
16964 it.
16965
52a01100
FW
169662018-02-21 Florian Weimer <fweimer@redhat.com>
16967
16968 [BZ #22787]
16969 * include/caller.h: Remove file.
16970 * elf/dl-caller.c: Likewise.
16971 * elf/Makefile (dl-routines): Remove dl-caller.
16972 (shared-only-routines): Do not add dl-caller.
16973 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
16974 __check_caller.
16975 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
16976 member.
16977 (dl_open_worker): Do not call __check_caller.
16978 (_dl_open): Do not set caller_dl_open member.
16979 * elf/rtld.c (_rtld_global_ro): Do not initialize
16980 _dl_check_caller member.
16981 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
16982 _dl_check_caller member.
16983 (_dl_check_caller): Remove declaration.
16984 * sysdeps/unix/sysv/linux/dl-execstack.c
16985 (_dl_make_stack_executable): Do not call __check_caller.
16986
b5bf62e4
ST
169872018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
16988
16989 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 16990 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 16991
e8d190b9
RJ
169922018-02-20 Rical Jasan <ricaljasan@pacific.net>
16993
16994 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
16995 description.
16996
6a3962c4
RJ
169972018-02-20 Rical Jasan <ricaljasan@pacific.net>
16998
da81ae64 16999 [BZ #16335]
6a3962c4
RJ
17000 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17001 of 199606L, 200112L, and 200809L.
17002 (_XOPEN_SOURCE): Document special values of 600 and 700.
17003 (_ISOC11_SOURCE): Document macro.
17004 (_ATFILE_SOURCE): Likewise.
17005 (_FORTIFY_SOURCE): Likewise.
17006
ec481ad8
JM
170072018-02-19 Joseph Myers <joseph@codesourcery.com>
17008
17009 [BZ #15105]
17010 [BZ #19463]
17011 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17012 and define as weak alias of __ferror_unlocked. Use
17013 libc_hidden_weak.
17014 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17015 libc_hidden_proto.
17016 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17017 function if [__USE_EXTERN_INLINES].
17018 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17019 ferror_unlocked.
17020
7d15ef84
RJ
170212018-02-19 Rical Jasan <ricaljasan@pacific.net>
17022
17023 [BZ #6889]
17024 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17025
f8d79582
AJ
170262018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17027
17028 [BZ #22818]
17029 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17030 the GLIBC_2.1 version.
17031
56456a2a
AJ
170322018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17033
17034 [BZ #21508]
17035 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17036 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17037 intl/tst-gettext-de.po from po/de.po by removing the
17038 POT-Creation-Date line.
17039 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17040 ../po/de.po.
17041 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17042 ../po/de.po.
17043
13768813
ST
170442018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17045
17046 * mach/Makefile (headers): Add mach/param.h.
17047 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17048 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
17049 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17050 (__ptsname_r): Move implementation to...
17051 (__ptsname_internal): ... new function. Add filling the STP
17052 structure.
13768813 17053
6aca1b61
JDA
170542018-02-17 John David Anglin <danglin@gcc.gnu.org>
17055
17056 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17057 idouble to 1 ULP.
17058
16efad51
RJ
170592018-02-16 Rical Jasan <ricaljasan@pacific.net>
17060
17061 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17062 syntax.
17063
87245073
SL
170642018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17065
17066 * nptl/Makefile (tst-mutex8-ENV): Delete.
17067 * nptl/tst-mutex8.c (check_type):
17068 Add runtime check if mutex will be elided.
17069
7fc03cf3
JM
170702018-02-15 Joseph Myers <joseph@codesourcery.com>
17071
db9881ec
JM
17072 [BZ #20980]
17073 [BZ #21234]
17074 * manual/install.texi (Configuring and compiling): Describe
17075 passing CC and CFLAGS on configure command line, not as
17076 environment variables. Use @code markup on those variables.
17077 Specify what options go in CC and what go in CFLAGS. Note the
17078 requirement to compile with optimization.
17079 * INSTALL: Regenerated.
17080
3785b31c
JM
17081 [BZ #18124]
17082 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17083 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17084 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17085 __sigprocmask instead of sigprocmask.
17086 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17087 Likewise.
17088 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17089 __sigsetjmp and sigprocmask.
17090
055ac2a7
JM
17091 [BZ #15105]
17092 * include/argz.h (argz_next): Use libc_hidden_proto.
17093 (__argz_next): Likewise.
17094 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17095 (argz_next): Use libc_hidden_weak.
17096
e4452a2d
JM
17097 [BZ #15105]
17098 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17099 libc_hidden_proto.
17100 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17101 libc_hidden_def.
17102
499b3153
JM
17103 [BZ #15105]
17104 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17105 libc_hidden_proto.
17106 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17107
7fc03cf3
JM
17108 [BZ #15105]
17109 [BZ #19463]
17110 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17111 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17112 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17113 (__feof_unlocked): New declaration, and inline function if
17114 [__USE_EXTERN_INLINES].
17115 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17116 instead of feof_unlocked.
17117 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17118 * nss/nsswitch.c (nss_parse_file): Likewise.
17119 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17120 Likewise.
17121 * time/getdate.c (__getdate_r): Likewise.
17122 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17123 Define as macro to call __feof_unlocked.
17124
0c8a67a5
WD
171252018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17126
17127 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17128
610ee1fc
WD
171292018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17130
17131 * math/Makefile: Remove mpexp.c and mplog.c
17132 * sysdeps/i386/fpu/mpexp.c: Delete file.
17133 * sysdeps/i386/fpu/mplog.c: Likewise.
17134 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17135 * sysdeps/ia64/fpu/mplog.c: Likewise.
17136 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17137 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17138 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17139 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17140 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17141 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17142 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17143 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17144 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17145 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17146 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17147 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17148 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17149 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17150 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17151 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17152
8e7196c8
SL
171532018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17154
17155 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17156
4f55ad0b
AZ
171572018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17158
17159 * sysdeps/sh/libm-test-ulps: Update.
17160
261a851c
TMQMF
171612018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17162
17163 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17164 idouble to 1 ULP.
17165
e16deca6
ZW
171662018-02-12 Zack Weinberg <zackw@panix.com>
17167
17168 [BZ #19239]
17169 * posix/sys/types.h: Don't include sys/sysmacros.h.
17170 * misc/sys/sysmacros.h: Remove the conditional deprecation
17171 warnings for the macros defined by this header.
17172
de800d83
SN
171732018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17174
17175 * manual/probes.texi: Remove slowexp probes.
17176 * math/Makefile: Remove slowexp.
17177 * sysdeps/generic/math_private.h (__slowexp): Remove.
17178 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
17179 document error bounds.
17180 * sysdeps/i386/fpu/slowexp.c: Remove.
17181 * sysdeps/ia64/fpu/slowexp.c: Remove.
17182 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
17183 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
17184 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
17185 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
17186 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
17187 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
17188 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
17189 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
17190 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
17191 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
17192 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
17193
c3d466cb
WD
171942018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
17195
17196 [BZ #13932]
17197 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
17198 * benchtests/pow-inputs: Update comment for slow path cases.
17199 * manual/probes.texi (slowpow_p10): Delete removed probe.
17200 (slowpow_p10): Likewise.
17201 * math/Makefile: Remove halfulp.c and slowpow.c.
17202 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
17203 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
17204 (__halfulp): Remove.
17205 (__slowpow): Remove.
17206 * sysdeps/i386/fpu/halfulp.c: Delete file.
17207 * sysdeps/i386/fpu/slowpow.c: Likewise.
17208 * sysdeps/ia64/fpu/halfulp.c: Likewise.
17209 * sysdeps/ia64/fpu/slowpow.c: Likewise.
17210 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
17211 improve comments and add error analysis.
17212 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
17213 (power1): Remove function:
17214 (log1): Remove error argument, add error analysis.
17215 (my_log2): Remove function.
17216 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
17217 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17218 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
17219 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
17220 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
17221 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
17222 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
17223 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
17224 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
17225 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
17226 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
17227 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17228 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
17229 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17230
7bb087bd
ST
172312018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
17232
17233 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
17234 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
17235
2fd4bbaa
DL
172362018-02-10 Dmitry V. Levin <ldv@altlinux.org>
17237
17238 [BZ #22433]
17239 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
17240 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
17241 and PTRACE_SETHBPREGS.
17242
402ecba4
ZW
172432018-02-10 Zack Weinberg <zackw@panix.com>
17244
17245 [BZ #22830]
17246 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
17247 correctly.
17248 * malloc/tst-malloc-stats-cancellation.c: New test case.
17249 * malloc/Makefile: Add new test case.
17250
4f5b921e
WD
172512018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
17252
17253 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
17254
a85b70db
JM
172552018-02-10 Joseph Myers <joseph@codesourcery.com>
17256
d8742dd8
JM
17257 * math/Makefile (libm-narrow-fns): Add add.
17258 (libm-test-funcs-narrow): Likewise.
17259 * math/Versions (GLIBC_2.28): Add narrowing add functions.
17260 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
17261 * math/gen-auto-libm-tests.c (test_functions): Add add.
17262 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
17263 (NARROW_ADD_ROUND_TO_ODD): Likewise.
17264 (NARROW_ADD_TRIVIAL): Likewise.
17265 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
17266 macro.
17267 (__daddl): Likewise.
17268 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
17269 dadd.
17270 (CFLAGS-nldbl-dadd.c): New variable.
17271 (CFLAGS-nldbl-fadd.c): Likewise.
17272 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17273 __nldbl_daddl.
17274 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
17275 prototype.
17276 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
17277 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
17278 * math/auto-libm-test-in: Add tests of add.
17279 * math/auto-libm-test-out-narrow-add: New generated file.
17280 * math/libm-test-narrow-add.inc: New file.
17281 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17282 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
17283 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
17284 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
17285 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
17286 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
17295 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
17296 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
17297 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
17298 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
17299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17300 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17301 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17302 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17303 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17304 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17305 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17306 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17307 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17308 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17309 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17310 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17311 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17312 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17317 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17318 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17319 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17320 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17321 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17322 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17323 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
17324 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
17325 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17326 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17327
a85b70db
JM
17328 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
17329 (f128-pairs): New variable.
17330 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
17331 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
17332 to CFLAGS.
17333 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
17334 Also make tests add $(f128-loader-link) to gnulib-tests.
17335
6a1ff640
DD
173362018-02-09 DJ Delorie <dj@redhat.com>
17337
17338 [BZ #22827]
17339 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
17340 64-bit ELF type for 64-bit ELF objects.
17341
bfd47587
JM
173422018-02-09 Joseph Myers <joseph@codesourcery.com>
17343
31958338
JM
17344 * math/libm-test-driver.c (snan_tests_arg): New variable.
17345 * math/libm-test-support.h (snan_tests_arg): New declaration.
17346 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
17347
8e554659
JM
17348 * math/Makefile (test-type-pairs): New variable.
17349 (test-type-pairs-f64xf128-yes): Likewise.
17350 (tests): Add test-narrow-macros.
17351 (libm-test-funcs-narrow): New variable.
17352 (libm-test-c-narrow): Likewise.
17353 (generated): Add $(libm-test-c-narrow).
17354 (libm-tests-base-narrow): New variable.
17355 (libm-tests-narrow): Likewise.
17356 (libm-tests): Add $(libm-tests-narrow).
17357 (libm-tests-for-type): Handle $(libm-tests-narrow).
17358 (libm-test-c-narrow-obj): New variable.
17359 ($(libm-test-c-narrow-obj)): New rule.
17360 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
17361 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
17362 $(o-iterator) to set dependencies and CFLAGS.
17363 * math/gen-auto-libm-tests.c: Document use for narrowing
17364 functions.
17365 (output_for_one_input_case): Take argument NARROW.
17366 (generate_output): Likewise. Update call to
17367 output_for_one_input_case.
17368 (main): Take --narrow option. Update call to generate_output.
17369 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
17370 (apply_lit): Update call to _apply_lit.
17371 (apply_arglit): New function.
17372 (parse_args): Handle "a" arguments.
17373 (parse_auto_input): Handle format names using ":".
17374 * math/README.libm-test: Document "a" parameter type.
17375 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
17376 (ARG_TYPE_TRUE_MIN): Likewise.
17377 (ARG_TYPE_MAX): Likwise.
17378 (ARG_MIN_EXP): Likewise.
17379 (ARG_MAX_EXP): Likewise.
17380 (ARG_MANT_DIG): Likewise.
17381 (TEST_COND_arg_ibm128): Likewise.
17382 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
17383 (TEST_COND_arg_fmt): New macro.
17384 (init_max_error): Update prototype.
17385 * math/libm-test-support.c (test_ibm128): New variable.
17386 (init_max_error): Take argument testing_ibm128 and set test_ibm128
17387 instead of using [TEST_COND_ibm128] conditional.
17388 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
17389 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
17390 [TEST_NARROW] (TEST_MSG): New definition.
17391 (arg_plus_zero): New macro.
17392 (arg_minus_zero): Likewise.
17393 (arg_plus_infty): Likewise.
17394 (arg_minus_infty): Likewise.
17395 (arg_qnan_value_pl): Likewise.
17396 (arg_qnan_value): Likewise.
17397 (arg_snan_value_pl): Likewise.
17398 (arg_snan_value): Likewise.
17399 (arg_max_value): Likewise.
17400 (arg_min_value): Likewise.
17401 (arg_min_subnorm_value): Likewise.
17402 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
17403 (RUN_TEST_LOOP_aa_f): New macro.
17404 (TEST_SUFF): New macro.
17405 (TEST_SUFF_STR): Likewise.
17406 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
17407 (TEST_COND_any_ibm128): New macro.
17408 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
17409 this_func. Update call to init_max_error.
17410 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
17411 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
17412 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
17413 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
17414 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
17415 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
17416 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
17417 * math/test-math-scalar.h (TEST_NARROW): Likewise.
17418 * math/test-math-vector.h (TEST_NARROW): Likewise.
17419 * math/test-arg-double.h: New file.
17420 * math/test-arg-float128.h: Likewise.
17421 * math/test-arg-float32x.h: Likewise.
17422 * math/test-arg-float64.h: Likewise.
17423 * math/test-arg-float64x.h: Likewise.
17424 * math/test-arg-ldouble.h: Likewise.
17425 * math/test-math-narrow.h: Likewise.
17426 * math/test-narrow-macros.c: Likewise.
17427 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
17428 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
17429 test-narrow-macros-ldbl-64.
17430 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
17431
63716ab2
JM
17432 * math/bits/mathcalls-narrow.h: New file.
17433 * include/bits/mathcalls-narrow.h: Likewise.
17434 * math/math-narrow.h: Likewise.
17435 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
17436 (__MATHCALL_NARROW_ARGS_2): Likewise.
17437 (__MATHCALL_NARROW_ARGS_3): Likewise.
17438 (__MATHCALL_NARROW_NORMAL): Likewise.
17439 (__MATHCALL_NARROW_REDIR): Likewise.
17440 (__MATHCALL_NARROW): Likewise.
17441 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
17442 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
17443 defined.
17444 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
17445 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
17446 (libm-narrow-fns): New variable.
17447 (libm-narrow-types-basic): Likewise.
17448 (libm-narrow-types-ldouble-yes): Likewise.
17449 (libm-narrow-types-float128-yes): Likewise.
17450 (libm-narrow-types-float128-alias-yes): Likewise.
17451 (libm-narrow-types): Likewise.
17452 (libm-routines): Add narrowing functions.
17453 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
17454 (libc_feholdexcept_setroundf128): New macro.
17455 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
17456 * sysdeps/ieee754/float128/float128_private.h: Include
17457 <math/math-narrow.h>.
17458 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
17459 Undefine and redefine.
17460 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
17461 (libm_alias_float_ldouble): Undefine and redefine.
17462 (libm_alias_double_ldouble): Likewise.
17463
bfd47587
JM
17464 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
17465
3f8d9d58
WD
174662018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
17467
17468 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
17469 FPCR/FPSR.
17470
1f6676d7
RJ
174712018-02-09 Rical Jasan <ricaljasan@pacific.net>
17472
17473 * manual/creature.texi: Convert references to gcc.info to gcc.
17474 * manual/stdio.texi: Likewise.
17475 * manual/string.texi: Likewise.
17476
d80441dd
JM
174772018-02-07 Joseph Myers <joseph@codesourcery.com>
17478
15081be9
JM
17479 [BZ #17979]
17480 * posix/bits/types.h (__int_least8_t): New typedef.
17481 (__uint_least8_t): Likewise.
17482 (__int_least16_t): Likewise.
17483 (__uint_least16_t): Likewise.
17484 (__int_least32_t): Likewise.
17485 (__uint_least32_t): Likewise.
17486 (__int_least64_t): Likewise.
17487 (__uint_least64_t): Likewise.
17488 * sysdeps/generic/stdint.h (int_least8_t): Define using
17489 __int_least8_t.
17490 (int_least16_t): Define using __int_least16_t.
17491 (int_least32_t): Define using __int_least32_t.
17492 (int_least64_t): Define using __int_least64_t.
17493 (uint_least8_t): Define using __uint_least8_t.
17494 (uint_least16_t): Define using __uint_least16_t.
17495 (uint_least32_t): Define using __uint_least32_t.
17496 (uint_least64_t): Define using __uint_least64_t.
17497 * wcsmbs/uchar.h: Include <bits/types.h>.
17498 (char16_t): Define using __uint_least16_t conditional only on
17499 [!__USE_ISOCXX11].
17500 (char32_t): Define using __uint_least32_t conditional only on
17501 [!__USE_ISOCXX11].
17502 * wcsmbs/test-char-types.c: New file.
17503 * wcsmbs/Makefile (tests): Add test-char-types.
17504
d80441dd
JM
17505 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
17506 version to 4.0.1.
17507
6c6c962a
ZW
175082018-02-07 Zack Weinberg <zackw@panix.com>
17509
63fb8f9a
ZW
17510 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
17511 Delete all contents except for definitions of _G_HAVE_MMAP and
17512 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
17513 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
17514 sysdeps/unix/sysv/linux/_G_config.h. Make same content
17515 change as above.
17516
17517 * libio/libio.h: Don't include bits/_G_config.h here.
17518 Include stddef.h with __need_wchar_t defined. Include
17519 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
17520 Define _IO_iconv_t here, directly.
17521 Don't define _IO_HAVE_ST_BLKSIZE.
17522 * libio/libioP.h: Include _G_config.h here. Move include of
17523 shlib-compat.h up with rest of includes. Simplify conditionals
17524 controlling definition of _IO_JUMPS_OFFSET.
17525
17526 * csu/init.c: Remove always-true #if around entire file.
17527 Don't include stdio.h. Set _IO_stdin_used to hardwired
17528 constant 0x20001, and update commentary.
17529 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
17530 Replace all uses of _G_va_list with __gnuc_va_list.
17531 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
17532 instead of #if _IO_HAVE_ST_BLKSIZE.
17533 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
17534 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
17535 not #ifdef.
17536
6c6c962a
ZW
17537 * libio/bits/libio.h: Move back to libio/libio.h and adjust
17538 multiple-include guard to match.
17539 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
17540 into this file.
17541 Remove preprocessor conditionals that are always true and/or
17542 redundant to other preprocessor conditionals in the same nest.
17543 Include shlib-compat.h unconditionally.
17544 Error out if _LIBC is not defined, or if _ISOMAC is defined,
17545 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
17546 defined after including stdio.h.
17547 Use __BEGIN_DECLS/__END_DECLS.
17548
17549 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
17550 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
17551 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
17552
a4fea3f2
ZW
175532018-02-07 Zack Weinberg <zackw@panix.com>
17554
17555 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
17556 New single-type headers split from _G_config.h.
17557 * libio/bits/types/cookie_io_functions_t.h
17558 * libio/bits/types/struct_FILE.h
17559 New single-type headers split from libio.h.
17560
17561 * libio/Makefile: Install the above new headers. Don't install
17562 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
17563 bits/libio-ldbl.h.
17564 * libio/_G_config.h, libio/libio.h: Delete file.
17565
17566 * libio/bits/libio.h: Remove improper-inclusion guard.
17567 Include stdio.h and don't repeat anything that it does.
17568 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
17569 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
17570 __io_read_fn as cookie_read_function_t,
17571 __io_write_fn as cookie_write_function_t,
17572 __io_seek_fn as cookie_seek_function_t,
17573 __io_close_fn as cookie_close_function_t,
17574 and _IO_cookie_io_functions_t as cookie_io_functions_t.
17575 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
17576 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 17577 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
17578 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
17579 and _IO_ferror_unlocked.
17580 Move prototypes of __uflow and __overflow...
17581
17582 * libio/stdio.h: ...here. Don't include bits/libio.h.
17583 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 17584 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
17585 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
17586 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
17587 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
17588 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
17589 cookie_io_functions_t, not _IO_cookie_io_functions_t;
17590 __ssize_t, not _IO_ssize_t. Unconditionally define
17591 BUFSIZ as 8192 and EOF as (-1).
17592
17593 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
17594 macros from bits/types/struct_FILE.h instead of _IO_* macros
17595 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
17596 instead of _IO_ssize_t.
17597 * libio/bits/stdio2.h: Similarly.
17598
17599 * libio/iolibio.h: Add multiple-include guard.
17600 Include bits/libio.h after stdio.h.
17601 * libio/libioP.h: Add multiple-include guard.
17602 Include stdio.h and bits/libio.h before iolibio.h.
17603
6c6c962a 17604 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
17605 * include/bits/types/cookie_io_functions_t.h
17606 * include/bits/types/struct_FILE.h: New wrappers.
17607
17608 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
17609 Get definitions of _G_fpos_t and _G_fpos64_t from
17610 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
17611 respectively. Remove improper-inclusion guards.
a4fea3f2 17612
6c6c962a 17613 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 17614 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 17615 libio.h and _G_config.h.
a4fea3f2 17616
ce999220
JM
176172018-02-07 Joseph Myers <joseph@codesourcery.com>
17618
8b4a1182
JM
17619 [BZ #15105]
17620 [BZ #19463]
17621 * include/sys/sysmacros.h [!_ISOMAC]
17622 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
17623 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
17624 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
17625 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
17626 libc_hidden_proto.
17627 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
17628 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
17629 Likewise.
17630 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
17631 Undefine and redefine to add use __gnu_dev_ prefix.
17632 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
17633 Likewise.
17634 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
17635 and define as hidden inline function.
17636 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
17637 Likewise.
17638 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
17639 Likewise.
17640 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
17641 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
17642 (gnu_dev_minor): Likewise.
17643 (gnu_dev_makedev): Likewise.
17644 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
17645 makedev.
17646 * posix/wordexp.c (exec_comm_child): Likewise.
17647 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
17648 instead of minor and __gnu_dev_major instead of major.
17649 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
17650 __gnu_dev_major instead of major.
17651 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
17652 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
17653 instead of gnu_dev_minor.
17654 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
17655 (SLAVE_P): Likewise.
17656 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
17657 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
17658 instead of major.
17659
ce999220
JM
17660 [BZ #21313]
17661 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
17662 in another place.
17663 * locale/weightwc.h (findidx): Likewise.
17664
b7c83ca3
WD
176652018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
17666
17667 * manual/probes.texi (slowlog): Delete documentation of removed probe.
17668 (slowlog_inexact): Likewise
17669 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
17670 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
17671
388ff7bd
IG
176722018-02-07 Igor Gnatenko <ignatenko@redhat.com>
17673
17674 [BZ #22797]
17675 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
17676 missing second underscore to parameter name.
17677
663e7d78
JM
176782018-02-06 Joseph Myers <joseph@codesourcery.com>
17679
0d40d0ec
JM
17680 [BZ #14508]
17681 [BZ #15512]
17682 [BZ #17082]
17683 [BZ #20530]
17684 * bits/byteswap.h: Update file comment. Do not include
17685 <bits/byteswap-16.h>.
17686 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
17687 constant.
17688 (__bswap_16): Define as inline function.
17689 (__bswap_constant_32): Reformat definition.
17690 (__bswap_32): Always define as inline function, not macro, using
17691 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
17692 otherwise __bswap_constant_32.
17693 (__bswap_constant_64): Reformat definition. Do not use
17694 __extension__ here.
17695 (__bswap_64): Always define as inline function, not macro. Use
17696 __extension__ on function definition. Use __builtin_bswap64 if
17697 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
17698 * string/test-endian-file-scope.c: New file.
17699 * string/test-endian-sign-conversion.c: Likewise.
17700 * string/Makefile (headers): Remove bits/byteswap-16.h.
17701 (tests): Add test-endian-file-scope and
17702 test-endian-sign-conversion.
17703 (CFLAGS-test-endian-sign-conversion.c): New variable.
17704 * bits/byteswap-16.h: Remove file.
17705 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
17706 * sysdeps/ia64/bits/byteswap.h: Likewise.
17707 * sysdeps/m68k/bits/byteswap.h: Likewise.
17708 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17709 * sysdeps/s390/bits/byteswap.h: Likewise.
17710 * sysdeps/tile/bits/byteswap.h: Likewise.
17711 * sysdeps/x86/bits/byteswap-16.h: Likewise.
17712 * sysdeps/x86/bits/byteswap.h: Likewise.
17713
383e87c9
JM
17714 [BZ #17721]
17715 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
17716 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
17717 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
17718 199901L] (__restrict): Define to restrict.
17719
d92c2759
JM
17720 [BZ #19667]
17721 * string/testcopy.c: Include <support/support.h>. Do not include
17722 <malloc.h>. Use <support/test-driver.c>.
17723 (main): Rename to do_test. Make static. Use xmalloc instead of
17724 malloc.
17725
625fb764
JM
17726 [BZ #13575]
17727 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
17728 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
17729 (SSIZE_MAX): Define to INT_MAX.
17730 * posix/test-ssize-max.c: New file.
17731 * posix/Makefile (tests): Add test-ssize-max.
17732
02325d6c
JM
17733 [BZ #19668]
17734 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
17735 <support/support.h>. Do not include <malloc.h>.
17736 (query_auxv): Use xmalloc instead of malloc.
17737
663e7d78
JM
17738 [BZ #14553]
17739 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
17740 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
17741 instead of loff_t.
17742
6b5c8607 177432018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
17744
17745 [BZ #18023]
17746 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17747 Use scratch_buffer instead of extend_alloca.
17748
de6da571
ZW
177492018-02-06 Zack Weinberg <zackw@panix.com>
17750
26c07172
ZW
17751 * libio/stdio.h: Don't define getc or putc as macros.
17752 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
17753 not _IO_getc and _IO_putc.
17754
de6da571
ZW
17755 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
17756 * stdio-common/tstgetln.c: Don't redefine ssize_t.
17757
92669d6e
JM
177582018-02-06 Joseph Myers <joseph@codesourcery.com>
17759
c2b84df9
JM
17760 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
17761 (TCP_FASTOPEN_NO_COOKIE): Likewise.
17762
41376f8c
JM
17763 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
17764
d28bf648
JM
17765 [BZ #14890]
17766 * elf/elf.h (NT_PRFPREG): New macro.
17767 (NT_S390_VXRS_LOW): Likewise.
17768 (NT_S390_VXRS_HIGH): Likewise.
17769 (NT_S390_GS_CB): Likewise.
17770 (NT_S390_GS_BC): Likewise.
17771 (NT_S390_RI_CB): Likewise.
17772
e76def72
JM
17773 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
17774 (MAP_SYNC): New macro.
17775 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
17776 Likewise.
17777 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
17778 (MAP_SYNC): Likewise.
17779 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
17780 (MAP_SYNC): Likewise.
17781 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
17782 (MAP_SYNC): Likewise.
17783 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
17784 (MAP_SYNC): Likewise.
17785 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
17786 (MAP_SYNC): Likewise.
17787 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
17788 (MAP_SYNC): Likewise.
17789 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
17790 Likewise.
17791 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
17792 Likewise.
17793
92669d6e
JM
17794 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
17795 (MAP_SHARED_VALIDATE): New macro.
17796 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17797 (MAP_SHARED_VALIDATE): Likewise.
17798
6a5cac49
L
177992018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17800
17801 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
17802 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
17803 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17804
b44e0dfb
L
178052018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17806
17807 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
17808 (DT_NUM): Updated to 35.
17809
f886c16c
L
178102018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17811
17812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
17813 __builtin_expect with __glibc_likely and __glibc_unlikely.
17814 (elf_machine_rela): Likewise.
17815 (elf_machine_lazy_rel): Likewise.
17816
06fbebff
L
178172018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17818
17819 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 17820 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
17821 (elf_machine_lazy_rel): Likewise.
17822
371b220f
L
178232018-02-05 H.J. Lu <hongjiu.lu@intel.com>
17824
17825 [BZ #22638]
17826 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
17827 SHARED.
65805016 17828 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 17829
f649a1b8
AS
178302018-02-05 Andreas Schwab <schwab@suse.de>
17831
17832 [BZ #22761]
17833 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
17834 string.
17835
9fdb340e
ST
178362018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17837
17838 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
17839 not check against PTHREAD_STACK_MIN.
17840
09e56b9e
SM
178412018-02-02 Sean McKean <smckean83@gmail.com>
17842
17843 [BZ #22735]
17844 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
17845
d4b4a00a
FW
178462018-02-02 Florian Weimer <fweimer@redhat.com>
17847
17848 [BZ #22753]
17849 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
17850 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
17851 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
17852 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
17853 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
17854 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
17855 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
17856 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
17857 * manual/llio.texi (Scatter-Gather): Mention offset -1.
17858 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
17859 * misc/tst-preadvwritev2.c (do_test): Call it.
17860 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
17861
3dfcbfa1
SP
178622018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
17863
84c94d2f
SP
17864 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
17865
96e6a716
SP
17866 * benchtests/bench-memcmp.c: Print json instead of plain text.
17867
3dfcbfa1
SP
17868 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
17869 every test run.
17870
049375e2
JM
178712018-02-01 Joseph Myers <joseph@codesourcery.com>
17872
39f898c6
JM
17873 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
17874 version to 4.15.
17875 (s390_sthyi): New syscall.
17876
6f9a3dd8
JM
17877 * sysdeps/generic/ldbl-classify-compat.h: New file.
17878 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
17879 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
17880 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
17881 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
17882 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
17883 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
17884 * sysdeps/ieee754/dbl-64/s_finite.c: Include
17885 <ldbl-classify-compat.h>.
17886 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17887 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
17888 <ldbl-classify-compat.h>.
17889 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17890 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
17891 <ldbl-classify-compat.h>.
17892 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17893 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
17894 <ldbl-classify-compat.h>.
17895 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17896 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
17897 <ldbl-classify-compat.h>.
17898 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
17900 <ldbl-classify-compat.h>.
17901 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
17902 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
17903 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17904 * sysdeps/m68k/coldfire/math_private.h: Remove file.
17905 * sysdeps/microblaze/math_private.h: Likewise.
17906 * sysdeps/nios2/math_private.h: Likewise.
17907 * sysdeps/sh/math_private.h: Likewise.
17908
eb65a3d5
JM
17909 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
17910 * sysdeps/m68k/coldfire/math_private.h: ... here.
17911 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
17912 * sysdeps/tile/math_private.h: Likewise.
17913 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
17914 Remove macro.
17915 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
17916 Likewise.
17917
8a6bb1d0
JM
17918 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
17919 Remove macro.
17920 (libc_fetestexcept): Likewise.
17921 (libc_feupdateenv_test): Likewise.
17922 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
17923 (libc_fetestexcept): Likewise.
17924 (libc_feupdateenv_test): Likewise.
17925 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
17926 (libc_fetestexcept): Likewise.
17927 (libc_feupdateenv_test): Likewise.
17928 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
17929 (libc_fetestexcept): Likewise.
17930 (libc_feupdateenv_test): Likewise.
17931
ae1fcb7b
JM
17932 * sysdeps/generic/math_private.h
17933 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
17934 New inline function.
17935 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
17936 Likewise.
17937
b1c347e2
JM
17938 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
17939 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
17940 * sysdeps/generic/math_private.h
17941 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
17942 inline function.
17943 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
17944 Likewise.
17945 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
17946 Likewise.
17947 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
17948 Likewise.
17949 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
17950 Likewise.
17951 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
17952 Likewise.
17953 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
17954 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
17955 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
17956 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
17957 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
17958 (__fegetenv): Likewise.
17959 (fesetenv): Likewise.
17960 (__fesetenv): Likewise.
17961 (feupdateenv): Likewise.
17962 (__feupdateenv): Likewise.
17963 (fegetround): Likewise.
17964 (__fegetround): Likewise.
17965 (fesetround): Likewise.
17966 (__fesetround): Likewise.
17967
d23a4962
JM
17968 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
17969 (feraiseexcept): New macro.
17970 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
17971 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
17972 Remove macro.
17973 (__feraiseexcept): Likewise.
17974 (feclearexcept): Likewise.
17975 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
17976 (__feraiseexcept): Likewise.
17977 (feclearexcept): Likewise.
17978 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
17979 (__feraiseexcept): Likewise.
17980 (feclearexcept): Likewise.
17981 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
17982 (__feraiseexcept): Likewise.
17983 (feclearexcept): Likewise.
17984 (fetestexcept): Likewise.
17985
5f167950
JM
17986 * sysdeps/m68k/coldfire/math-tests.h: New file.
17987
ccc9035a
JM
17988 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
17989 * sysdeps/m68k/bits/fenv.h: ... here.
17990 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
17991 not define.
17992 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
17993 Likewise.
17994 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
17995 Likewise.
17996 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
17997 Likewise.
17998 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
17999 Likewise.
18000 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18001 Define to 0.
18002 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18003 (__FE_UNDEFINED): New enum constant.
18004 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18005 Do not define.
18006 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18007 Likewise.
18008 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18009 Likewise.
18010 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18011 to match generic bits/fenv.h.
18012 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18013 Do not define.
18014
049375e2
JM
18015 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18016 packed on bits.
18017 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18018 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18019 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18020 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18021
f1d73681
CD
180222018-02-01 Carlos O'Donell <carlos@redhat.com>
18023 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18024 Joseph Myers <joseph@codesourcery.com>
18025
18026 [BZ #21314]
18027 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18028 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18029 computation using c.
18030 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18031 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18032 computation using c.
18033
242cbc90
DL
180342018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18035
086ee48e
DL
18036 * version.h (RELEASE): Set to "development".
18037 (VERSION): Set to "2.27.9000".
18038 * NEWS (2.28): New section.
18039
23158b08
DL
18040 * version.h (RELEASE): Set to "stable".
18041 (VERSION): Set to "2.27".
18042 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18043
242cbc90
DL
18044 * NEWS: Add the list of bugs fixed in 2.27.
18045
673e2305
AZ
180462018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18047
18048 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18049 against PTHREAD_STACK_MIN.
18050
ced64e01
DL
180512018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18052
18053 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18054 New entries.
18055 (Rafal Luzynski, Andreas Schwab): Update.
18056
c10c9a5e
RL
180572018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18058
18059 [BZ #10871]
18060 * NEWS: List the languages which actually use the alternative
18061 months feature in this release. Also explain that "alt_mon" and
18062 "ab_alt_mon" are optional.
18063
650ba77a
IM
180642018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18065
18066 [BZ #22765]
18067 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18068
93493119
DL
180692018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18070
18071 * manual/install.texi (Tools for Compilation): Update the newest
18072 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18073 * INSTALL: Regenerated.
18074
363e4519 180752018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
18076
18077 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18078 instead of __builtin_expect.
18079
d7536874
FW
180802018-01-30 Florian Weimer <fweimer@redhat.com>
18081
18082 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18083 data.
18084 * nss/tst-nss-getpwent.c (do_test): Likewise.
18085
9a1b267d
RL
180862018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18087
18088 [BZ #10871]
18089 * localedata/locales/hr_HR (mon): Rename to...
18090 (alt_mon): This.
18091 (mon): Import from CLDR (genitive case).
18092 (d_t_fmt): Update the comment.
18093
9a179328
AS
180942018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18095
18096 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18097 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18098 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18099
e01e0ddc
ST
181002018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18101
18102 * mach/Versions: Fix version when __mach_host_self_ was added.
18103 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18104 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18105 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18106 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18107 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18108 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18109 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18110 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18111 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18112 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18113 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18114 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
18115 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18116 || to respect codestyle.
2aadb705
ST
18117 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18118 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
18119 * malloc/malloc.c: Include <assert.h>.
18120 (assert): Do not define.
18121 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
18122 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18123 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 18124 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 18125 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 18126
521877e1
PD
181272018-01-29 Darius Rad <darius@bluespec.com>
18128
18129 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18130
532cf290
PD
181312018-01-29 Palmer Dabbelt <palmer@sifive.com>
18132
18133 * sysdeps/init_array/crti.S (.section .init_array): Add
18134 PREINIT_FUNCTION when defined.
40ca951b 18135 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 18136 * config.h.in: Regenerate.
ba9e25a6
PD
18137 * manual/platform.texi: Add RISC-V documenation for
18138 __riscv_flush_icache.
c776fa11
PD
18139 * sysdeps/riscv/__longjmp.S: New file.
18140 * sysdeps/riscv/backtrace.c: Likewise.
18141 * sysdeps/riscv/bits/endian.h: Likewise.
18142 * sysdeps/riscv/bits/setjmp.h: Likewise.
18143 * sysdeps/riscv/bits/wordsize.h: Likewise.
18144 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18145 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18146 * sysdeps/riscv/dl-trampoline.S: Likewise.
18147 * sysdeps/riscv/gccframe.h: Likewise.
18148 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18149 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18150 * sysdeps/riscv/machine-gmon.h: Likewise.
18151 * sysdeps/riscv/memusage.h: Likewise.
18152 * sysdeps/riscv/setjmp.S: Likewise.
18153 * sysdeps/riscv/sys/asm.h: Likewise.
18154 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
18155 * sysdeps/riscv/dl-tls.h: New file.
18156 * sysdeps/riscv/libc-tls.c: Likewise.
18157 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18158 * sysdeps/riscv/nptl/tls.h: Likewise.
18159 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
18160 * sysdeps/riscv/bits/fenv.h: New file.
18161 * sysdeps/riscv/e_sqrtl.c: Likewise.
18162 * sysdeps/riscv/fpu_control.h: Likewise.
18163 * sysdeps/riscv/math-tests.h: Likewise.
18164 * sysdeps/riscv/nofpu/Implies: Likewise.
18165 * sysdeps/riscv/sfp-machine.h: Likewise.
18166 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
18167 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18168 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18169 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18170 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18171 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18172 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18173 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18174 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18175 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18176 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18177 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18178 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
18179 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
18180 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
18181 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
18182 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
18183 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
18184 * sysdeps/riscv/rvd/s_finite.c: Likewise.
18185 * sysdeps/riscv/rvd/s_fma.c: Likewise.
18186 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
18187 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
18188 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
18189 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
18190 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
18191 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
18192 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
18193 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
18194 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
18195 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
18196 * sysdeps/riscv/rvf/fegetround.c: Likewise.
18197 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
18198 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
18199 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
18200 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
18201 * sysdeps/riscv/rvf/fesetround.c: Likewise.
18202 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
18203 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
18204 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
18205 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
18206 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
18207 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
18208 * sysdeps/riscv/rvf/math_private.h: Likewise.
18209 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
18210 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
18211 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
18212 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
18213 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
18214 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
18215 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
18216 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
18217 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
18218 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
18219 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
18220 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
18221 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
18222 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
18223 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
18224 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
18225 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
18226 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
18227 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
18228 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
18229 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
18230 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
18231 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
18232 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
18233 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
18234 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
18235 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
18236 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
18237 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
18238 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
18239 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
18240 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
18241 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
18242 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
18243 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
18244 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
18245 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
18246 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
18247 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
18248 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
18249 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
18250 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
18251 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
18252 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
18253 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
18254 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
18255 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
18256 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
18257 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
18258 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
18259 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
18260 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
18261 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
18262 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
18263 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
18264 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
18265 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
18266 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
18267 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
18268 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
18269 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
18270 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
18271 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
18272 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
18273 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18274 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
18275 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
18276 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
18277 * sysdeps/riscv/Implies: New file.
18278 * sysdeps/riscv/Makefile: Likewise.
18279 * sysdeps/riscv/configure: Likewise.
18280 * sysdeps/riscv/configure.ac: Likewise.
18281 * sysdeps/riscv/nptl/Makefile: Likewise.
18282 * sysdeps/riscv/preconfigure: Likewise.
18283 * sysdeps/riscv/rv64/Implies-after: Likewise.
18284 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
18285 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
18286 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
18287 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
18288 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
18289 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
18290 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
18291 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
18292 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
18293 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
18294 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
18295 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
18296 (Config): Likewise.
532cf290 18297
cdd14619
FW
182982018-01-29 Florian Weimer <fweimer@redhat.com>
18299
18300 [BZ #22701]
18301 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
18302 libnsl_hidden_proto.
18303 * include/rpcsvc/yp.h (yp_xdrall): Declare with
18304 libnsl_hidden_proto.
18305 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
18306 * nis/Makefile (libnsl-routines): Add nss-default only for
18307 build-obsolete-nsl.
18308 * nis/nis_defaults.c (__nis_default_ttl): Add
18309 libnsl_hidden_nolink_def.
18310 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
18311 declaration.
18312 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
18313 * nis/ypclnt.c (yp_maplist): Likewise.
18314
b7ccb5de
RN
183152018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
18316
18317 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18318 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
18319
522623e4
JM
183202018-01-29 Joseph Myers <joseph@codesourcery.com>
18321
e3aa6999
JM
18322 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
18323 clean -dxfq for git updates when replacing sources.
18324
088de7d0
JM
18325 * scripts/build-many-glibcs.py (Config.build_gcc): Use
18326 --disable-libcilkrts unconditionally, not just for the final GCC
18327 build for Hurd.
18328
522623e4
JM
18329 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18330 version to 4.15.
18331
8b406f87
RL
183322018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18333
18334 [BZ #10871]
18335 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
18336 case).
18337
105e90bd
RL
183382018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18339
18340 [BZ #10871]
18341 * localedata/locales/be_BY (mon): Rename to...
18342 (alt_mon): This, then synchronize with CLDR (nominative case).
18343 (abmon): Rename to...
18344 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
18345 (mon): Import from CLDR (genitive case).
18346 (abmon): Likewise.
18347 * localedata/locales/be_BY@latin (mon): Rename to...
18348 (alt_mon): This.
18349 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
18350
18351 * localedata/locales/be_BY@latin (lang_name): Reworded to
18352 "biełaruskaja mova".
18353
561cb414
RL
183542018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18355
18356 [BZ #10871]
18357 * localedata/locales/el_CY (mon): Renamed to...
18358 (alt_mon): This.
18359 (mon): Import from CLDR (genitive case).
18360 * localedata/locales/el_GR: Likewise.
18361
f7bdf30d
RL
183622018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
18363
18364 [BZ #10871]
18365 * localedata/locales/ru_RU (mon): Rename to...
18366 (alt_mon): This.
18367 (abmon): Rename to...
18368 (ab_alt_mon): This.
18369 (mon): Import from CLDR (genitive case).
18370 (abmon): Copy from the old content except the 5th month which is
18371 now in the genitive case, even when abbreviated.
18372 * localedata/locales/ru_UA: Likewise.
18373 * time/tst-strptime.c (day_tests): Add an actual example of
18374 a difference between %b and %Ob in Russian.
18375
85285a0c
ST
183762018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
18377
18378 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
18379 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
18380 a `c' variable.
3538a4b6 18381 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
18382 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
18383 <sys/wait.h>, <time.h>, <sys/uio.h>.
18384 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 18385 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
18386 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
18387 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
18388 return 0.
05ebfe87
ST
18389 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
18390 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
18391 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
18392 instead of void *.
18393 * sysdeps/pthread/timer_create.c (timer_create): Do not use
18394 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
18395 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
18396 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
18397 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
18398 and make them the default for now.
903d3633
ST
18399 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
18400 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
18401 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
18402 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
18403 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
18404 MACH_IPC_COMPAT.
06fac9f5
ST
18405 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
18406 __task_terminate would ever return successfully.
f8177753
ST
18407 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
18408 to global scope.
41cdb1eb
ST
18409 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
18410 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
18411 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
18412 critical section to make code simpler and avoid warning.
18413 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
18414 critical section to make code simpler and avoid warning.
844bf921
ST
18415 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
18416 const char * instead of char *.
f8bee46c
ST
18417 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
18418 __hurd_file_name_split, hurd_file_name_split,
18419 __hurd_directory_name_split, hurd_directory_name_split,
18420 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
18421 hurd_file_name_path_lookup): Make lookup function parameter take a
18422 const char *name instead of char *name.
18423 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
18424 __hurd_directory_name_split): Likewise.
18425 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
18426 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
18427 * sysdeps/mach/hurd/check_native.c: New file.
18428 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
18429 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
18430 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
18431 * sysdeps/mach/hurd/libhurduser.abilist: New file.
18432 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
18433 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
18434 (do_test_bz20181): Rename accordingly.
18435 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
18436 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
18437 <sys/mount.h>.
28f6186f
ST
18438 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
18439 version only if __USE_EXTERN_INLINES is defined.
18440 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
18441 __hurd_sockfail): Likewise.
18442 (_hurd_fd_get): Always declare functions, and provide inline versions
18443 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
18444 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
18445 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
18446 _hurd_port_set): Always declare functions, and provide inline versions
18447 only if __USE_EXTERN_INLINES and _LIBC are defined and
18448 IS_IN(libc).
18449 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
18450 _hurd_critical_section_unlock): Likewise.
18451 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
18452 * __hurd_threadvar_location): Likewise.
18453 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
18454 _hurd_userlink_clear): Likewise.
18455 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
18456 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
18457 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
18458 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
18459 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
18460 __spin_lock_locked): Likewise.
18461 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
18462 __spin_lock_locked): Likewise.
18463 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
18464 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
18465 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
18466 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
18467 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
18468 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
18469 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
18470 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
18471 check size against PTHREAD_STACK_MIN.
625ba81e
ST
18472 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
18473 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
18474 * mach/Makefile (user-interfaces): Add mach/gnumach.
18475 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
18476 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
18477 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
18478 instead of invalid -1.
1f89ac71
ST
18479 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
18480 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
18481 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
18482 <net/ppp_defs.h>.
85285a0c 18483
1fd1e27c 184842018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
18485
18486 * hurd/fcntl-internal.h: New file.
18487
3854c5a8
JC
184882018-01-27 James Clarke <jrtc27@jrtc27.com>
18489
7e23a7dd
JC
18490 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18491
3854c5a8
JC
18492 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18493
5503f413
AS
184942018-01-26 Andreas Schwab <schwab@linux-m68k.org>
18495
18496 [BZ #22701]
18497 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
18498 Build only shared objects.
18499
caaf7804
CD
185002018-01-26 Carlos O'Donell <carlos@redhat.com>
18501
18502 * README: Update for hppa.
18503
1cbf818d
PM
185042018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18505
caaf7804
CD
18506 * sysdeps/sparc/fpu/libm-test-ulps: Update
18507 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 18508
caaf7804 185092018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
18510
18511 Revert:
18512
18513 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18514
18515 [BZ #22563]
18516 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18517 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
18518 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
18519 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
18520 to feature_1.
18521
18522 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
18523
18524 [BZ #22563]
18525 * bits/types/__cancel_jmp_buf_tag.h: New file.
18526 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
18527 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
18528 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
18529 * nptl/Makefile (headers): Add
18530 bits/types/__cancel_jmp_buf_tag.h.
18531 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
18532 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
18533 * sysdeps/nptl/pthread.h: Include
18534 <bits/types/__cancel_jmp_buf_tag.h>.
18535 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
18536 __cancel_jmp_buf.
18537 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
18538
65f6c94e
RL
185392018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
18540
18541 [BZ #10871]
18542 * localedata/locales/uk_UA (mon): Renamed to...
18543 (alt_mon): This.
18544 (alt_digits): "0" removed and then renamed to...
18545 (mon): This.
18546 (date_fmt): Definition changed not to use the alternative
18547 digits hack.
18548
fb58aac5
PD
185492018-01-25 Palmer Dabbelt <palmer@sifive.com>
18550
18551 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
18552 FLAG_RISCV_FLOAT_ABI_DOUBLE.
18553 * elf/elf.h (EF_RISCV_RVC): New define.
18554 (EF_RISCV_FLOAT_ABI): Likewise.
18555 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
18556 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
18557 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18558 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
18559 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
18560 define.
18561 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
18562
128c43a2
AS
185632018-01-25 Andreas Schwab <schwab@suse.de>
18564
18565 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
18566 single quotes.
18567 * sysdeps/gnu/configure: Regenerate.
18568 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18569 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18571 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18572 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18573 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
18574 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18575 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18576
f9015003
ST
185772018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
18578
48130690 18579 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 18580 URL, and run autoconf, make it the default for now.
f9015003 18581
91b2cffa
JM
185822018-01-24 Joseph Myers <joseph@codesourcery.com>
18583
3005b705
JM
18584 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18585 soft-float ColdFire configuration.
18586
69231fab
JM
18587 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
18588 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
18589 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
18590
d4c7e1d0
JM
18591 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
18592 MicroBlaze file.
18593
0cfe5be5
JM
18594 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
18595 ....
18596 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
18597 ... here.
18598 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
18599 New file.
18600
91b2cffa
JM
18601 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
18602 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
18603 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
18604 file.
18605
c739e191
SN
186062018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18607
18608 [BZ #22742]
18609 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
18610 Rename to __reserved and add comment.
18611 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
18612 Rename to __reserved.
18613
394b5bac
JM
186142018-01-24 Joseph Myers <joseph@codesourcery.com>
18615
18616 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18617 i686-gnu configurations.
18618 (Context.run_builds): Include mig, gnumach and hurd in components
18619 considered.
18620 (Context.checkout): Add mig, gnumach and hurd to components.
18621 (Context.checkout_tar): Add URL mappings for mig, gnumach and
18622 hurd.
18623 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
18624 (Config.build): Install gnumach headers, build mig and install
18625 hurd headers for 'gnu' OS.
18626 (Config.install_gnumach_headers): New function.
18627 (Config.install_hurd_headers): Likewise.
18628 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
18629 when building for 'gnu' OS.
18630
28c3f14f
TK
186312018-01-23 Tobias Klauser <tklauser@distanz.ch>
18632
18633 * manual/tunables.texi (Hardware Capability Tunables): Fix
18634 spelling.
18635
0f5e2da1
RJ
186362018-01-22 Rical Jasan <ricaljasan@pacific.net>
18637
18638 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
18639 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
18640 (ALTMON_11, ALTMON_12): Improve documentation.
18641 * manual/time.texi (strftime): Likewise.
18642
7817b14a
RL
186432018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18644
18645 [BZ #10871]
18646 * localedata/locales/pl_PL: Alternative month names added,
18647 primary month names are genitive now.
18648 * time/tst-strptime.c (day_tests): Actually use a genitive case
18649 of a month name in Polish language.
18650
22390764
RL
186512018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18652
18653 [BZ #10871]
18654 * manual/locale.texi: Document ALTMON_1..12 constants for
18655 nl_langinfo. Specify when to use ALTMON instead of MON.
18656 * manual/time.texi (strftime, strptime): Document GNU extension
18657 permitting O modifier with %B and %b. Specify when to use
18658 %OB instead of %B.
18659
761a585c
RL
186602018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18661
18662 [BZ #10871]
18663 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
18664 names, define them as the same as abbreviated month names explicitly.
18665 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
18666 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
18667 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
18668 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
18669 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
18670 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
18671 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
18672 _NL_WABALTMON_12): New enum constants.
18673 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
18674 wab_alt_mon, and ab_alt_mon_defined members.
18675 (time_output): Output ab_alt_mon and wab_alt_mon members.
18676 (time_read): Read them, initialize them as copies of abmon and wabmon
18677 respectively if they are missing, initialize ab_alt_mon_defined.
18678 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
18679 * locale/programs/locfile-kw.h: Regenerate.
18680 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
18681 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
18682 and ru_RU.UTF-8.
18683 * time/strftime_l.c (a_altmonth, aam_len): New macros.
18684 [!COMPILE_WIDE] (ABALTMON_1): New macro.
18685 (__strftime_internal): Handle %Ob and %Oh formats.
18686 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
18687 (__strptime_internal): Handle %Ob and %Oh formats.
18688 * time/tst-strptime.c (day_tests): Add more tests to parse different
18689 forms of month names including the new %Ob format specifier.
18690
95cb863a
RL
186912018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
18692
18693 [BZ #10871]
18694 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
18695 define them as the same as primary full month names explicitly.
18696 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
18697 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
18698 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
18699 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
18700 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
18701 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
18702 _NL_WALTMON_12): New enum constants.
18703 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
18704 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
18705 macros.
18706 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
18707 walt_mon, and alt_mon_defined members.
18708 (time_output): Output alt_mon and walt_mon members.
18709 (time_read): Read them, initialize them as copies of mon and wmon
18710 respectively if they are missing, initialize alt_mon_defined.
18711 * locale/programs/locfile-kw.gperf (alt_mon): Define.
18712 * locale/programs/locfile-kw.h: Regenerate.
18713 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
18714 * localedata/tst-langinfo.c (map): Add tests for the new constants
18715 ALTMON_1 .. ALTMON_12.
18716 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
18717 and pl_PL.UTF-8.
18718 * time/strftime_l.c (f_altmonth): New macro.
18719 (__strftime_internal): Handle %OB format.
18720 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
18721 (__strptime_internal): Handle %OB format.
18722 * time/tst-strptime.c (day_tests): Add tests to parse different forms
18723 of month names including the new %OB format specifier.
18724
4612268a
TMQMF
187252018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18726
18727 [BZ #22685]
18728 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
18729 from ABORT_TRANSACTION.
18730 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
18731 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
18732 ABORT_TRANSACTION_IMPL): Likewise.
18733 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
18734 Linux code, but remove the code that aborts transactions.
18735
64f63cb4
ST
187362018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18737
18738 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
18739
32ac6e92
RL
187402018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
18741
18742 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
18743 in date: "2004-14-09" should be "2004-09-14".
18744 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
18745 "2003-15-09" should be "2003-09-15".
18746
8e448310
AS
187472018-01-18 Arjun Shankar <arjun@redhat.com>
18748
18749 [BZ #22343]
71aa429b 18750 [BZ #22774]
4590634f 18751 CVE-2018-6485
71aa429b 18752 CVE-2018-6551
8e448310
AS
18753 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
18754 after padding.
18755 (_int_memalign): check for integer overflow before calling
18756 _int_malloc.
18757 * malloc/tst-malloc-too-large.c: New test.
18758 * malloc/Makefile: Add tst-malloc-too-large.
18759
e234d7cb
RL
187602018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
18761
18762 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
18763 in date: "2017-24-07" should be "2017-07-24".
18764 * localedata/locales/mai_IN: Likewise.
18765 * localedata/locales/mai_NP: Likewise.
18766
48b66019
DL
187672018-01-17 Dmitry V. Levin <ldv@altlinux.org>
18768
18769 * po/ru.po: Update translations.
18770
1eeddc58
JM
187712018-01-17 Joseph Myers <joseph@codesourcery.com>
18772
18773 [BZ #22719]
18774 * sysdeps/hppa/backtrace.c: New file.
18775
207a72e2
L
187762018-01-17 H.J. Lu <hongjiu.lu@intel.com>
18777
18778 [BZ #22715]
18779 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
18780 align La_x86_64_retval to VEC_SIZE.
18781
4942c4ea
JM
187822018-01-16 Joseph Myers <joseph@codesourcery.com>
18783
18784 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
18785 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
18786
10d200db
FW
187872018-01-16 Florian Weimer <fweimer@redhat.com>
18788
18789 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
18790 Move tst-thread-exit-clobber ...
18791 [$(CXX)] (tests-unsupported): ... to here.
18792
953c49cc
SN
187932018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18794
18795 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
18796 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
18797 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18798 (_dl_aarch64_cap_flags): Update.
18799 (_DL_HWCAP_COUNT): Update.
18800
afce1991
SN
188012018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
18802
18803 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
18804 (_DL_HWCAP_LAST): Remove.
18805 (_DL_HWCAP_COUNT): Move to ...
18806 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
18807 (_DL_HWCAP_COUNT): ... here.
18808
b725132d
FW
188092018-01-16 Florian Weimer <fweimer@redhat.com>
18810
18811 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
18812 mode with GNU extensions.
18813
c9e613a7
AH
188142018-01-15 Alan Hayward <alan.hayward@arm.com>
18815
18816 * elf/elf.h (NT_ARM_SVE): Define.
18817
860b0240
FW
188182018-01-15 Florian Weimer <fweimer@redhat.com>
18819
18820 [BZ #22636]
18821 * nptl/tst-minstack-throw.cc: New file.
18822 * nptl/Makefile (tests): Add tst-minstack-throw.
18823 (LDLIBS-tst-minstack-throw): Link with libstdc++.
18824 [!CXX] (tests-unsupported): Add tst-minstack-throw.
18825
16d0f6ac
JM
188262018-01-15 Joseph Myers <joseph@codesourcery.com>
18827
18828 * scripts/build-many-glibcs.py (Context.checkout): Default
18829 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
18830 version to 1.1.0.
18831
505d3910
CD
188322018-01-13 Carlos O'Donell <carlos@redhat.com>
18833
18834 [BZ #22707]
18835 * elf/elf.h (DF_1_STUB): Define.
18836 (DF_1_PIE): Define.
18837
af1e6be4
TMQMF
188382018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18839
18840 [BZ #22697]
18841 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
18842 Do not add 0.5 to integer or out-of-range arguments.
18843
98d13ce0
DL
188442018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18845
18846 * po/bg.po: Update translations.
18847 * po/cs.po: Likewise.
18848 * po/de.po: Likewise.
18849 * po/ko.po: Likewise.
18850 * po/pl.po: Likewise.
18851 * po/sv.po: Likewise.
18852 * po/uk.po: Likewise.
18853 * po/vi.po: Likewise.
18854
3d1d7928
SN
188552018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18856
18857 * aarch64/start.S (_start): Use __wrap_main.
18858 (__wrap_main): New local symbol.
18859
52a713fd
DL
188602018-01-12 Dmitry V. Levin <ldv@altlinux.org>
18861
18862 [BZ #22679]
18863 CVE-2018-1000001
18864 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
18865 generic_getcwd if the path returned by getcwd syscall is not absolute.
18866 * io/tst-getcwd-abspath.c: New test.
18867 * io/Makefile (tests): Add tst-getcwd-abspath.
18868
249a5895
IK
188692018-01-12 Istvan Kurucsai <pistukem@gmail.com>
18870
18871 * malloc/malloc.c (malloc_consolidate): Add size check.
18872
1a51e46e
FW
188732018-01-12 Florian Weimer <fweimer@redhat.com>
18874
18875 * support/write_message.c (write_message): Preserve errno.
18876 * support/check.c (print_failure): Likewise.
18877 * support/support_test_verify_impl.c (support_test_verify_impl):
18878 Likewise.
18879 * support/support_test_compare_failure.c
18880 (support_test_compare_failure): Likewise.
18881
9a08a366
FW
188822018-01-12 Florian Weimer <fweimer@redhat.com>
18883
18884 [BZ #22701]
18885 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
18886 Prevent installation of libnsl.so.
18887 (libnsl-inhibit-o): Do not build (or install) static libraries.
18888
80647883 188892018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
18890
18891 [BZ #22657]
18892 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
18893 before the day number which may produce a double space.
18894 (date_fmt): Likewise.
18895
c8924f1f
JM
188962018-01-12 Joseph Myers <joseph@codesourcery.com>
18897
18898 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
18899 instead of fegetenv.
18900
da09e6fa
JM
189012018-01-11 Joseph Myers <joseph@codesourcery.com>
18902
18903 [BZ #22702]
18904 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
18905 comment to say exceptions are discarded.
18906 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
18907 __fegetenv.
18908 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
18909 be enabled.
18910
08c6e952
FW
189112018-01-11 Florian Weimer <fweimer@redhat.com>
18912
18913 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
18914 and error message.
18915
d8b77890
FW
189162018-01-11 Florian Weimer <fweimer@redhat.com>
18917
18918 [BZ #22636]
18919 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
18920 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
18921
b303185d
JM
189222018-01-10 Joseph Myers <joseph@codesourcery.com>
18923
18924 [BZ #22693]
18925 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
18926 negative arguments in test for NaN or infinity argument.
18927
ee61d028
DL
189282018-01-10 Dmitry V. Levin <ldv@altlinux.org>
18929
18930 * po/libc.pot: Regenerate.
18931
f993b875
FW
189322018-01-10 Florian Weimer <fweimer@redhat.com>
18933
18934 [BZ #22636]
18935 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
18936 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
18937
09085ede
ST
189382018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18939
18940 * hurd/hurd/fd.h: Include <fcntl.h>
18941 (__hurd_at_flags): New function.
18942 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
18943 with call to __hurd_at_flags.
18944 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
18945 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
18946 __faccessat
18947 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
18948 (__access_noerrno): Use __faccessat_common instead of access_common.
18949 (__access): Likewise.
18950 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
18951 with a call to __faccessat.
18952 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
18953 (__faccessat_common): ... this. Move implementation of __access into it when
18954 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
18955 reauthenticate_cwdir_at helper to implement AT mechanism.
18956 (__faccessat_noerrno): New function, just calls __faccessat_common.
18957 (__faccessat): New function, just calls __faccessat_common.
18958 (faccessat): Define weak alias.
18959
12727488
JM
189602018-01-10 Joseph Myers <joseph@codesourcery.com>
18961
87faac55
JM
18962 [BZ #22691]
18963 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18964 (CFLAGS-s_fmaxmagl.c): New variable.
18965 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
18966
12727488
JM
18967 [BZ #22690]
18968 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
18969 long int for arguments of possibly overflowing addition or
18970 subtraction.
18971 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18972
e134ca17
JM
189732018-01-09 Joseph Myers <joseph@codesourcery.com>
18974
b2584ac2
JM
18975 [BZ #22688]
18976 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18977 (CFLAGS-e_remainderl.c): New variable.
18978
e134ca17
JM
18979 [BZ #22687]
18980 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
18981 variable.
18982 (CFLAGS-s_cacoshl.c): Likewise.
18983 (CFLAGS-s_casinhl.c): Likewise.
18984 (CFLAGS-s_catanl.c): Likewise.
18985 (CFLAGS-s_catanhl.c): Likewise.
18986 (CFLAGS-s_cexpl.c): Likewise.
18987 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
18988 (CFLAGS-s_csinhl.c): Likewise.
18989 (CFLAGS-s_clogl.c): Likewise.
18990 (CFLAGS-s_clog10l.c): Likewise.
18991 (CFLAGS-s_csinl.c): Likewise.
18992 (CFLAGS-s_csqrtl.c): Likewise.
18993
d31a4a48
ST
189942017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
189952017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
18996
18997 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
18998 (_hurd_exec_paths): New function.
18999 * hurd/hurd.h (_hurd_exec): Deprecate function.
19000 (_hurd_exec_paths): Declare function.
19001 * hurd/Versions: Export _hurd_exec_paths.
19002 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19003 (__execve): Use __getcwd to build absolute path, and use
19004 _hurd_exec_paths instead of _hurd_exec.
19005 * sysdeps/mach/hurd/spawni.c: Likewise.
19006 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19007 _hurd_exec.
19008
d7ff3f11
DL
190092018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19010
19011 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19012 test instead of failing in case of ENOENT returned by posix_openpt.
19013
401311cf
FW
190142018-01-08 Florian Weimer <fweimer@redhat.com>
19015
19016 resolv: Support binary labels in test framework.
19017 * support/resolv_test.c (struct to_be_freed): Remove.
19018 (struct compressed_name): New.
19019 (allocate_compressed_name, ascii_tolower)
19020 (compare_compressed_name): New functions.
19021 (struct resolv_response_builder): Update type of
19022 compression_offsets for use with tsearch. Rempve to_be_freed.
19023 (response_push_pointer_to_free): Remove function.
19024 (resolv_response_add_name): Rewrite using struct compressed_name
19025 and tsearch instead of hsearch_r.
19026 (response_builder_allocate): Remove initialization of
19027 compression_offsets.
19028 (response_builder_free): Update for removal of to_be_freed. Use
19029 tdestroy instead of hdestroy_r.
19030 * resolv/Makefile (tests): Add tst-resolv-binary.
19031 (tst-resolv-binary): Link with -lresolv -lpthread.
19032
2b3aa446
FW
190332018-01-08 Florian Weimer <fweimer@redhat.com>
19034
19035 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19036 time. Pass positive flag instead of negative flag to
19037 support_test_compare_failure.
19038 (support_test_compare_failure): Change negative parameter to
19039 positive.
19040 * support/support_test_compare_failure.c (report)
19041 (support_test_compare_failure): Likewise.
19042 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19043 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19044
630f4cc3
SN
190452018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19046
19047 [BZ #22637]
19048 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19049 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19050 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19051 stacksize.
19052 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19053
c70e4e9c
L
190542018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19055
19056 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19057 Add s_sincosf-sse2 and s_sincosf-fma.
19058 (CFLAGS-s_sincosf-fma.c): New.
19059 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19060 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19061 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19062 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19063 __sincosf is defined.
19064
579396ee
FW
190652018-01-08 Florian Weimer <fweimer@redhat.com>
19066
19067 * nptl/tst-thread-exit-clobber.cc: New file.
19068 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19069 C++11 mode.
19070 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19071 (tests): Add tst-thread-exit-clobber.
19072 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19073
dabd75b6
FW
190742018-01-08 Florian Weimer <fweimer@redhat.com>
19075
19076 * support/check.h (support_static_assert): Define.
19077 (TEST_COMPARE): Use it.
19078
c2e014cc
AJ
190792018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19080
19081 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19082 [!__RLIM_T_MATCHES_RLIM64_T]
19083 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19084 __getrlimit64. Add libc_hidden_weak.
19085
31a98837
PD
190862018-01-06 Palmer Dabbelt <palmer@sifive.com>
19087
19088 * elf/elf.h (R_RISCV_NONE): New define.
19089 (R_RISCV_32): Likewise.
19090 (R_RISCV_64): Likewise.
19091 (R_RISCV_RELATIVE): Likewise.
19092 (R_RISCV_COPY): Likewise.
19093 (R_RISCV_JUMP_SLOT): Likewise.
19094 (R_RISCV_TLS_DTPMOD32): Likewise.
19095 (R_RISCV_TLS_DTPMOD64): Likewise.
19096 (R_RISCV_TLS_DTPREL32): Likewise.
19097 (R_RISCV_TLS_DTPREL64): Likewise.
19098 (R_RISCV_TLS_TPREL32): Likewise.
19099 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
19100 * Makerules (make-link-multidir): Make directories before linking into
19101 them.
150bbac1
PD
19102 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19103 define.
19104 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
19105 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19106 in subdirectories of lib.
8e13c51b
PD
19107 * nptl/Makefile (/librt.so): Always depend on
19108 "$(shared-thread-library)".
31a98837 19109
fad7d57e
ST
191102018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19111
19112 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
19113 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19114 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19115 (___tls_get_addr).
19116 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
19117 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19118 "-O2 -march=i686".
01c7e549 19119 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
19120 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19121 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19122 * sysdeps/gnu/glob-lstat-compat.c: New file.
19123 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 19124 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 19125
3a32b716
TMQMF
191262018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19127
19128 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19129 Reserve 16 chars to reloc_addr before calling _itoa_word.
19130
24731685
AJ
191312018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19132
19133 [BZ #22678]
19134 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19135 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19136
19be56d8
AJ
19137 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19138 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19139
a6d0afb5
AJ
19140 * resource/tst-getrlimit.c: Add copyright header.
19141
8e900969
AJ
191422018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19143 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19144
19145 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19146 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19147 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19148 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19149 instead.
19150 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19151 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19152 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19153 RLIM64_INFINITY): Fix values to match the kernel ones.
19154 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19155 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19156 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19157 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19158 getrlimit64@@GLIBC_2_27.
19159 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19160 and setrlimit64.
19161 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19162 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19163 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19164 setrlimit, getrlimit64 and setrlimit64.
19165
0d0bc784
AJ
191662018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19167
19168 [BZ #22648]
19169 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19170 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19171
ba374b6d
JM
191722018-01-04 Joseph Myers <joseph@codesourcery.com>
19173
19174 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19175 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19176 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19177
4854ddd8
AZ
191782018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19179
b0a4eca2
AZ
19180 [BZ #15479]
19181 [BZ #22666]
19182 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
19183 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
19184
4854ddd8
AZ
19185 [BZ #15479]
19186 [BZ #22665]
19187 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
19188 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
19189 * sysdeps/alpha/fpu/s_floor.c: Likewise.
19190 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
19191
8a5df95f
FW
191922018-01-04 Florian Weimer <fweimer@redhat.com>
19193
19194 [BZ #22667]
19195 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19196 Align the stack before calling exit.
19197 * stdlib/tst-makecontext-align.c: New file.
19198 * stdlib/Makefile (tests): Add tst-makecontext-align.
19199
82eef55f
FW
192002018-01-04 Florian Weimer <fweimer@redhat.com>
19201
19202 Add support for calling dlvsym from libc.so.
19203 * include/dlfcn.h (__libc_dlvsym): Declare.
19204 * elf/Makefile (tests-static-internal): Add
19205 tst-libc_dlvsym-static.
19206 (tests-internal): Add tst-libc_dlvsym.
19207 (modules-names): Add tst-libc_dlvsym-dso.
19208 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
19209 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
19210 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
19211 object tst-libc_dlvsym-dso.so needs to be built before running
19212 these tests.
19213 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
19214 * elf/Versions: Export __libc_dlvsym.
19215 * elf/dl-libc.c (struct do_dlvsym_args): New.
19216 (do_dlvsym, __libc_dlvsym): New functions.
19217 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
19218 (_dl_open_hook2): New variable.
19219 (__libc_register_dl_open_hook): Set it.
19220 * elf/tst-libc_dlvsym-dso.c: New file.
19221 * elf/tst-libc_dlvsym-static.c: Likewise.
19222 * elf/tst-libc_dlvsym.c: Likewise.
19223 * elf/tst-libc_dlvsym.h: Likewise.
19224
1714fc06
ST
192252018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
19226
19227 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
19228 include <sys/mount.h>.
19229
3c7d0312
WD
192302018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
19231
19232 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
19233 Add __NO_MATH_ERRNO__ check.
19234
7eff0954
JM
192352018-01-02 Joseph Myers <joseph@codesourcery.com>
19236
19237 * sysdeps/mips/mips32/libm-test-ulps: Update.
19238 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19239
77f49956
FW
192402018-01-02 Florian Weimer <fweimer@redhat.com>
19241
19242 * misc/tst-pselect.c: Add copyright header.
19243
363e4519 192442018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
19245
19246 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
19247 comment.
19248 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
19249 comment.
19250 (settrlimit): Rename into setrlimit.
19251 (__sttrlimit): Rename into __setrlimit.
19252
3e4226ff
AJ
19253 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
19254 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
19255 never defined in that case.
19256
b9256ab6
JM
192572018-01-02 Joseph Myers <joseph@codesourcery.com>
19258
28fd6a44
JM
19259 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
19260
a4933a15
JM
19261 * sysdeps/arm/libm-test-ulps: Update.
19262
b9256ab6
JM
19263 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
19264 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
19265
4cf82d23
RS
192662018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19267
19268 * NEWS: Add cosf and sincosf to list of optimized functions.
19269
6a9dd7a7
AJ
192702018-01-02 Aurelien Jarno <aurelien@aurel32.net>
19271
19272 [BZ #22660]
19273 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
19274 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
19275 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
19276 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
19277
dbba87d5
DL
192782018-01-01 Dmitry V. Levin <ldv@altlinux.org>
19279
b05cb613
DL
19280 [BZ #22433]
19281 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
19282
dbba87d5
DL
19283 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
19284 making a copy of it.
19285
688903eb
JM
192862018-01-01 Joseph Myers <joseph@codesourcery.com>
19287
66ac23de
JM
19288 * manual/texinfo.tex: Update to version 2017-12-26.21 with
19289 trailing whitespace removed.
19290 * scripts/config.guess: Update to version 2018-01-01.
19291 * scripts/config.sub: Update to version 2018-01-01.
19292 * scripts/move-if-change: Update from gnulib.
19293
09533208
JM
19294 * NEWS: Update copyright dates.
19295 * catgets/gencat.c (print_version): Likewise.
19296 * csu/version.c (banner): Likewise.
19297 * debug/catchsegv.sh: Likewise.
19298 * debug/pcprofiledump.c (print_version): Likewise.
19299 * debug/xtrace.sh (do_version): Likewise.
19300 * elf/ldconfig.c (print_version): Likewise.
19301 * elf/ldd.bash.in: Likewise.
19302 * elf/pldd.c (print_version): Likewise.
19303 * elf/sotruss.sh: Likewise.
19304 * elf/sprof.c (print_version): Likewise.
19305 * iconv/iconv_prog.c (print_version): Likewise.
19306 * iconv/iconvconfig.c (print_version): Likewise.
19307 * locale/programs/locale.c (print_version): Likewise.
19308 * locale/programs/localedef.c (print_version): Likewise.
19309 * login/programs/pt_chown.c (print_version): Likewise.
19310 * malloc/memusage.sh (do_version): Likewise.
19311 * malloc/memusagestat.c (print_version): Likewise.
19312 * malloc/mtrace.pl: Likewise.
19313 * manual/libc.texinfo: Likewise.
19314 * nptl/version.c (banner): Likewise.
19315 * nscd/nscd.c (print_version): Likewise.
19316 * nss/getent.c (print_version): Likewise.
19317 * nss/makedb.c (print_version): Likewise.
19318 * posix/getconf.c (main): Likewise.
19319 * scripts/test-installation.pl: Likewise.
19320 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19321
688903eb
JM
19322 * All files with FSF copyright notices: Update copyright dates
19323 using scripts/update-copyrights.
19324 * locale/programs/charmap-kw.h: Regenerated.
19325 * locale/programs/locfile-kw.h: Likewise.
19326
4f820792
ZW
193272017-12-31 Zack Weinberg <zackw@panix.com>
19328
19329 * libio/bits/libio-ldbl.h: Correct check for improper
19330 inclusion. Add own multiple include guard.
19331
3e3c904d
AJ
193322017-12-30 Aurelien Jarno <aurelien@aurel32.net>
19333 Dmitry V. Levin <ldv@altlinux.org>
19334
19335 [BZ #22625]
31f96325 19336 CVE-2017-16997
3e3c904d
AJ
19337 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
19338 string token expansion. Check for NULL pointer or empty string possibly
19339 returned by expand_dynamic_string_token.
19340 (decompose_rpath): Check for empty path after dynamic string
19341 token expansion.
19342
7e21972b
DL
193432017-12-29 Dmitry V. Levin <ldv@altlinux.org>
19344
c48831d0
DL
19345 [BZ #22433]
19346 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
19347
ac583f50
DL
19348 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
19349 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
19350 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
19351 and PTRACE_SYSCALL.
19352 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19353 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19354 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19355 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19356 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19357 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19358
7e21972b
DL
19359 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
19360 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19361 __ptrace_peeksiginfo_flags, ptrace): Move to ...
19362 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
19363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19364 bits/ptrace-shared.h.
19365 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
19366 <bits/ptrace-shared.h>.
19367 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
19368 __ptrace_peeksiginfo_flags, ptrace): Remove.
19369 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19370 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19371 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19372 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19373 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
19374
72f29e3a
AJ
193752017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19376
19377 [BZ #17804]
19378 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
19379 end of the loop. Improve comments.
19380
54e4efc2
AJ
193812017-12-29 Zack Weinberg <zackw@panix.com>
19382
19383 [BZ #22615]
19384 * manual/errno.texi (Checking for Errors): Explicitly say that errno
19385 might be set on success.
19386
f8aa69be
AJ
193872017-12-29 Aurelien Jarno <aurelien@aurel32.net>
19388
19389 [BZ #22611]
19390 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
19391 is unchanged on success.
19392
97f13188
DL
193932017-12-27 Dmitry V. Levin <ldv@altlinux.org>
19394
2bd86632
DL
19395 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
19396 updated.
19397 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
19398 expand_dynamic_string_token): Likewise.
19399 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
19400 is_path argument.
19401
1c36e1e6
DL
19402 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
19403 contains ':'.
19404
97f13188
DL
19405 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
19406 is set and name contains ':', and all code depending on these checks.
19407
48a8f832
ZW
194082017-12-24 Zack Weinberg <zackw@panix.com>
19409
19410 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
19411 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
19412 respectively.
19413 * libio/libio.h: Rename the original version of this file to
19414 libio/bits/libio.h. Error out if not included by stdio.h or the
19415 stub libio.h.
19416 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
19417 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
19418 if not included by bits/libio.h or the stub _G_config.h.
19419 * sysdeps/unix/sysv/linux/_G_config.h: Move to
19420 sysdeps/unix/sysv/linux/bits. Error out if not included by
19421 bits/libio.h or the stub _G_config.h.
19422 * libio/stdio.h: Include bits/libio.h, not libio.h.
19423 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
19424 well as libio.h and _G_config.h.
19425
19426 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
19427 * libio/strfile.h, stdio-common/vfscanf.c
19428 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
19429 Include stdio.h, not _G_config.h nor libio.h.
19430 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
19431 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
19432
19433 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
19434
a47ad79a
DL
194352017-12-23 Dmitry V. Levin <ldv@altlinux.org>
19436
19437 [BZ #22347]
19438 * stdlib/getrandom.c (getrandom): Fix comment.
19439 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
19440
363e4519 194412017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 19442
f5c558f3
AJ
19443 [BZ #21161]
19444 * manual/arith.texi (strtoul): Fix a typo.
19445
e65a5644
AJ
19446 [BZ #22596]
19447 * manual/arith.texi (finite): Fix the description of the return
19448 value.
19449
ed8ae46b
EB
194502017-12-22 Eric Blake <ebb9@byu.net>
19451
19452 Avoid gcc warnings on cygwin
19453 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
19454 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
19455 Avoid unused variable.
19456
bad7a0c8
FW
194572017-12-22 Florian Weimer <fweimer@redhat.com>
19458
19459 * io/Makefile (routines): Add copy_file_range.
19460 (tests): Add tst-copy_file_range.
19461 (tests-static, tests-internal): Add tst-copy_file_range-compat.
19462 * io/Versions (GLIBC_2.27): Export copy_file_range.
19463 * io/copy_file_range-compat.c: New file.
19464 * io/copy_file_range.c: Likewise.
19465 * io/tst-copy_file_range-compat.c: Likewise.
19466 * io/tst-copy_file_range.c: Likewise.
19467 * manual/llio.texi (Copying File Data): New section.
19468 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
19469 * support/Makefile (libsupport-routines): Add support-xfstat,
19470 xftruncate, xlseek.
19471 * support/support-xfstat.c: New file.
19472 * support/xftruncate.c: Likewise.
19473 * support/xlseek.c: Likewise.
19474 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
19475 * sysdeps/unix/sysv/linux/**.abilist: Update.
19476 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
19477
6cb86fd2
SN
194782017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
19479
19480 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19481 disable-multi-arch variant to aarch64-linux-gnu.
19482
41d11b15
JM
194832017-12-20 Joseph Myers <joseph@codesourcery.com>
19484
19485 * manual/texinfo.tex: Update to version 2017-12-18.20 with
19486 trailing whitespace removed.
19487 * scripts/config.guess: Update to version 2017-12-17.
19488 * scripts/config.sub: Update to version 2017-11-23.
19489 * scripts/install-sh: Update to version 2017-09-23.17.
19490 * scripts/move-if-change: Update to version 2017-09-13 06:45.
19491
4735850f
AZ
194922017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19493
8d2d239c
AZ
19494 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
19495 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19496 * sysdeps/tile/_mcount.S (__mcount): Likewise.
19497 * sysdeps/tile/crti.S (_init, _fini): Likewise.
19498 * sysdeps/tile/crtn.S: Likewise.
19499 * sysdeps/tile/dl-start.S (_start): Likewise.
19500 * sysdeps/tile/dl-trampoline.S: Likewise.
19501 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
19502 * sysdeps/tile/start.S (_start): Likewise.
19503 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
19504 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
19505 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
19506 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
19507 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
19508 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
19509 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
19510
24d1d8ec
AZ
19511 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
19512 comment.
19513 * sysdeps/tile/preconfigure: Remove tilegx folder.
19514 * sysdeps/tile/tilegx/Implies: Move definitions to ...
19515 * sysdeps/tile/Implies: ... here.
19516 * sysdeps/tile/tilegx/Makefile: Move rules to ...
19517 * sysdeps/tile/Makefile: ... here.
19518 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
19519 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
19520 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
19521 * sysdeps/tile/bits/wordsize.h: ... here.
19522 * sysdeps/tile/tilegx/*: Move to ...
19523 * sysdeps/tile/*: ... here.
19524 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
19525 * sysdeps/tile/tilegx32/Implies: ... here.
19526 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
19527 * sysdeps/tile/tilegx64/Implies: ... here.
19528 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
19529 to ...
19530 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19531 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
19532 * sysdeps/unix/sysv/linux/tile/*: ... here.
19533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
19534 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
19535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
19536 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
19537
ed95f611
AZ
19538 * README: Remove tilepro-*-linux-gnu from supported architecture.
19539 * scripts/build-many-glibcs.py: Likewise.
19540 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
19541 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
19542 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
19543 elf_machine_matches_host, elf_machine_dynamic,
19544 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
19545 howto, elf_machine_rela): Likewise.
19546 * sysdeps/tile/dl-start.S (_start): Likewise.
19547 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
19548 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
19549 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
19550 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
19551 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
19552 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19553 Likewise.
19554 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
19555 * sysdeps/tile/preconfigure: Likewise.
19556 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
19557 POINTER_CHK_GUARD): Likewise.
19558 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
19559 * sysdeps/tile/start.S (_start): Likewise.
19560 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
19561 Likewise.
19562 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
19563 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
19564 CMOVNEZ): Remove.
19565 * sysdeps/unix/sysv/linux/tile/bits/environments.h
19566 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
19567 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
19568 Likewise.
19569 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
19570 * sysdeps/tile/tilepro/Implies: Remove file.
19571 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
19572 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
19573 * sysdeps/tile/tilepro/memchr.c: Likewise.
19574 * sysdeps/tile/tilepro/memcpy.S: Likewise.
19575 * sysdeps/tile/tilepro/memset.c: Likewise.
19576 * sysdeps/tile/tilepro/memusage.h: Likewise.
19577 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
19578 * sysdeps/tile/tilepro/strchr.c: Likewise.
19579 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
19580 * sysdeps/tile/tilepro/strlen.c: Likewise.
19581 * sysdeps/tile/tilepro/strrchr.c: Likewise.
19582 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
19583 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
19584 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
19585 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
19586 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
19587 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19588 Likewise.
19589 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
19590 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19591 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
19592 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
19593 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19594 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
19595 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
19596 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
19597 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
19598 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
19599 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
19600 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
19601 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
19602 tilepro mention in comment.
19603
4735850f
AZ
19604 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
19605 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
19606 * nptl/pthread_join_common.c: New file: common function used on
19607 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
19608 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
19609 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
19610 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19611 (cleanup): Move definition to pthread_join_common.c.
19612 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
19613 Remove superflous checks.
19614 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
19615 Likewise.
19616
8bfb461e
SN
196172017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
19618
19619 * sysdeps/aarch64/libm-test-ulps: Update.
19620
4e001969
AZ
196212017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19622
19623 * sysdeps/aarch64/memset.S (MEMSET): Define.
19624
8a26ad2a
FW
196252017-12-20 Florian Weimer <fweimer@redhat.com>
19626
19627 [BZ #22635]
19628 nptl: Provide full implementation of pthread_self in libc.so.
19629 * nptl/Makefile (routines): Add pthread_self.
19630 (libpthread-routines): Replace pthread_self with
19631 compat-pthread_self.
19632 * nptl/forward.c (pthread_self): Remove.
19633 * nptl/nptl-init.c (pthread_functions): Do not initialize
19634 ptr_pthread_self.
19635 * nptl/pthread_self.c (pthread_self): Remove weak alias.
19636 * nptl/compat-pthread_self.c: New file.
19637 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
19638 Remove ptr_pthread_self.
19639
5069ff32
AR
196402017-12-19 Arnold D. Robbins <arnold@skeeve.com>
19641
19642 * posix/regcomp.c: Fix spelling in comments.
19643 * posix/regex.h: Likewise.
19644 * posix/regex_internal.c: Likewise.
19645 * posix/regexec.c: Likewise.
19646
c85e54ac
GG
196472017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
19648
19649 [BZ #22377]
19650 * math/Makefile [C++] (tests): Add test for iseqsig.
19651 * math/math.h [C++] (iseqsig): New implementation, which does
19652 not rely on __MATH_TG/__builtin_types_compatible_p.
19653 * math/test-math-iseqsig.cc: New file.
19654 * sysdeps/powerpc/powerpc64le/Makefile
19655 (CFLAGS-test-math-iseqsig.cc): New variable.
19656
10e93d96
DL
196572017-12-19 Dmitry V. Levin <ldv@altlinux.org>
19658
19659 * elf/dl-load.c (is_trusted_path): Remove.
19660 (fillin_rpath): Remove check_trusted argument and its use,
19661 all callers changed.
19662
ce16eb52
L
196632017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19664
19665 [BZ #22630]
19666 * Makeconfig (link-pie-before-libc): Replace -pie with
19667 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
19668 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
19669 (tst-dlopen-aout-no-pie): New.
19670 (LDFLAGS-tst-prelink): Removed.
19671 (tst-prelink-no-pie): New.
19672 (LDFLAGS-tst-main1): Removed.
19673 (tst-main1-no-pie): New.
19674 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
19675 (tst-gmon-no-pie): New.
19676
126adc89
L
196772017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19678
19679 * manual/install.texi: Document that --enable-static-pie
19680 implies PIE.
19681 * INSTALL: Regenerated.
19682
648615e1
BE
196832017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
19684
19685 [BZ #21309]
19686 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
19687 unsigned.
19688
f1e00502
JM
196892017-12-19 Joseph Myers <joseph@codesourcery.com>
19690
19691 Revert:
19692
19693 2017-12-19 Joseph Myers <joseph@codesourcery.com>
19694
19695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19696
19697 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19698
19699 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19700 <errno.h>. Include "eexp.tbl".
19701 (half): New constant.
19702 (one): Likewise.
19703 (__ieee754_exp): Rewrite.
19704 (__slowexp): Remove prototype.
19705 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19706 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19707 * sysdeps/i386/fpu/slowexp.c: Likewise.
19708 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19709 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19710 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19711 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19712 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19713 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19714 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19715 comment.
19716 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19717 (CPPFLAGS-slowexp.c): Remove variable.
19718 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19719 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19720 (CFLAGS-slowexp-fma.c): Remove variable.
19721 (CFLAGS-slowexp-fma4.c): Likewise.
19722 (CFLAGS-slowexp-avx.c): Likewise.
19723 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19724 define as macro.
19725 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19726 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19727 * math/Makefile (type-double-routines): Remove slowexp.
19728 * manual/probes.texi (slowexp_p6): Remove.
19729 (slowexp_p32): Likewise.
19730
d711a00f
AZ
197312017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19732
e184ac3a
AZ
19733 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
19734 arithmetic.
19735
d711a00f
AZ
19736 * lib/glob.c (glob): Do not pass NULL to mempcpy.
19737
6f58c10d
JM
197382017-12-19 Joseph Myers <joseph@codesourcery.com>
19739
19740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19741
6fd0a3c6
PM
197422017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19743
19744 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
19745 <errno.h>. Include "eexp.tbl".
19746 (half): New constant.
19747 (one): Likewise.
19748 (__ieee754_exp): Rewrite.
19749 (__slowexp): Remove prototype.
19750 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
19751 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
19752 * sysdeps/i386/fpu/slowexp.c: Likewise.
19753 * sysdeps/ia64/fpu/slowexp.c: Likewise.
19754 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
19755 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
19756 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19757 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19758 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
19759 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
19760 comment.
19761 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
19762 (CPPFLAGS-slowexp.c): Remove variable.
19763 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19764 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
19765 (CFLAGS-slowexp-fma.c): Remove variable.
19766 (CFLAGS-slowexp-fma4.c): Likewise.
19767 (CFLAGS-slowexp-avx.c): Likewise.
19768 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
19769 define as macro.
19770 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
19771 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
19772 * math/Makefile (type-double-routines): Remove slowexp.
19773 * manual/probes.texi (slowexp_p6): Remove.
19774 (slowexp_p32): Likewise.
19775
3bb1ef58 197762017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 19777 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
19778
19779 [BZ #22603]
19780 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
19781 addition.
19782
554e3d51
AZ
197832017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19784
19785 [BZ #22605]
19786 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
19787 code.
19788
cba595c3
L
197892017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19790
19791 [BZ #22563]
19792 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19793 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19794 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19795 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19796 to feature_1.
19797
f81ddabf
L
197982017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19799
19800 [BZ #22563]
19801 * bits/types/__cancel_jmp_buf_tag.h: New file.
19802 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19803 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19804 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19805 * nptl/Makefile (headers): Add
19806 bits/types/__cancel_jmp_buf_tag.h.
19807 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19808 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19809 * sysdeps/nptl/pthread.h: Include
19810 <bits/types/__cancel_jmp_buf_tag.h>.
19811 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19812 __cancel_jmp_buf.
19813 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19814
1a49fc59
L
198152017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19816
19817 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19818 --enable-static-pie variants to x86_64, x32 and i686.
19819
8e52f573
JM
198202017-12-19 Joseph Myers <joseph@codesourcery.com>
19821
66425185
JM
19822 [BZ #22631]
19823 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
19824 argument for attrubutes. All callers changed.
19825 (__inline_mathop1): Likewise. All callers changed.
19826 (__inline_mathop): Likewise. All callers changed.
19827 [__USE_MISC] (scalbn): Use __inline_forward instead of
19828 __inline_forward_c.
19829 [__USE_ISOC99] (scalbln): Likewise.
19830 [__USE_ISOC99] (nearbyint): Likewise.
19831 [__USE_ISOC99] (lrint): Likewise.
19832 [__USE_MISC] (scalbnf): Likewise.
19833 [__USE_ISOC99] (scalblnf): Likewise.
19834 [__USE_ISOC99] (nearbyintf): Likewise.
19835 [__USE_ISOC99] (lrintf): Likewise.
19836 [__USE_MISC] (scalbnl): Likewise.
19837 [__USE_ISOC99] (scalblnl): Likewise.
19838 [__USE_ISOC99] (nearbyintl): Likewise.
19839 [__USE_ISOC99] (lrintl): Likewise.
19840 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
19841 __inline_mathop and __m81_defun changed.
19842
8e52f573
JM
19843 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
19844 CPU or FPU for ARM hard-float configurations.
19845
1421f39b
JM
198462017-12-18 Joseph Myers <joseph@codesourcery.com>
19847
40c4162d
JM
19848 * nptl/tst-attr3.c: Include <libc-diag.h>.
19849 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
19850
5983df32
JM
19851 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
19852
1421f39b
JM
19853 * string/tester.c (test_strncat): Also disable -Warray-bounds
19854 warnings for two tests.
19855
00c714df
L
198562017-12-18 H.J. Lu <hongjiu.lu@intel.com>
19857
19858 [BZ #22614]
19859 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
19860 $(cc-pie-default) == yes.
19861 * config.make.in (cc-pie-default): New.
19862 * configure.ac (libc_cv_pie_default): Renamed to ...
19863 (libc_cv_cc_pie_default): This.
19864 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
19865 * configure: Regenerated.
19866
8e1472d2
FW
198672017-12-18 Florian Weimer <fweimer@redhat.com>
19868
19869 [BZ #20204]
19870 ld.so: Harden dl-libc/libdl hooks.
19871 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
19872 (rtld_active): New function.
19873 * dlfcn/dladdr.c (__dladdr): Call it.
19874 * dlfcn/dladdr1.c (__dladdr1): Likewise.
19875 * dlfcn/dlclose.c (__dlcose): Likewise.
19876 * dlfcn/dlerror.c (__dlerror): Likewise.
19877 * dlfcn/dlinfo.c (__dlinfo): Likewise.
19878 * dlfcn/dlmopen.c (__dlmopen): Likewise.
19879 * dlfcn/dlopen.c (__dlopen): Likewise.
19880 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19881 * dlfcn/dlsym.c (__dlsym): Likewise.
19882 * dlfcn/dlvsym.c (__dlvsym): Likewise.
19883 * libio/vtables.c (_IO_vtable_check): Likewise.
19884 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
19885 (__libc_dlclose): Likewise.
19886 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
19887 assignment.
19888
49b036bc
JM
198892017-12-18 Joseph Myers <joseph@codesourcery.com>
19890
19891 [BZ #22446]
19892 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
19893 buffers for readlink input and output.
19894
368b6c8d
ST
198952017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
19896
c85c564d
ST
19897 [BZ #22624]
19898 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
19899 inhibit_stack_protector.
19900
368b6c8d
ST
19901 [BZ #22624]
19902 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
19903 inhibit_stack_protector.
19904
bb195224
DL
199052017-12-18 Dmitry V. Levin <ldv@altlinux.org>
19906
19907 [BZ #22627]
19908 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
19909 code and invocation.
19910
14d886ed
SN
199112017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
19912
19913 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
19914
7d38eb38
AJ
199152017-12-16 Aurelien Jarno <aurelien@aurel32.net>
19916
19917 [BZ #22505]
19918 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
19919
2e77deef
RS
199202017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19921
19922 * sysdeps/s390/fpu/libm-test-ulps: Update.
19923
0b9bef6d
RS
199242017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19925
19926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19927
984ae996
RS
199282017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19929
19930 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
19931 constants to s_sincosf.h file.
19932 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19933 * sysdeps/ieee754/flt-32/s_sincosf.c: New
19934 implementation.
19935 * sysdeps/ieee754/flt-32/s_sincosf.h:
19936 New file.
19937
363e4519 199382017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
19939
19940 [BZ #14681]
19941 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
19942 before mtrace.
19943
9d7a3741
L
199442017-12-15 H.J. Lu <hongjiu.lu@intel.com>
19945
19946 [BZ #19574]
19947 * INSTALL: Regenerated.
19948 * Makeconfig (real-static-start-installed-name): New.
19949 (pic-default): Updated for --enable-static-pie.
19950 (pie-default): New for --enable-static-pie.
19951 (default-pie-ldflag): Likewise.
19952 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
19953 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
19954 Replace $(static-start-installed-name) with
19955 $(real-static-start-installed-name).
19956 (+prectorT): Updated for --enable-static-pie.
19957 (+postctorT): Likewise.
19958 (CFLAGS-.o): Add $(pie-default).
19959 (CFLAGS-.op): Likewise.
19960 * NEWS: Mention --enable-static-pie.
19961 * config.h.in (ENABLE_STATIC_PIE): New.
19962 * configure.ac (--enable-static-pie): New configure option.
19963 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
19964 (have-static-pie): Likewise.
19965 Enable static PIE if linker supports --no-dynamic-linker.
19966 (ENABLE_STATIC_PIE): New AC_DEFINE.
19967 (enable-static-pie): New LIBC_CONFIG_VAR.
19968 * configure: Regenerated.
19969 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
19970 gr$(start-installed-name) for --enable-static-pie.
19971 (extra-objs): Likewise.
19972 (install-lib): Likewise.
19973 (extra-objs): Add static-reloc.o and static-reloc.os
19974 ($(objpfx)$(start-installed-name)): Also depend on
19975 $(objpfx)static-reloc.o.
19976 ($(objpfx)r$(start-installed-name)): New.
19977 ($(objpfx)g$(start-installed-name)): Also depend on
19978 $(objpfx)static-reloc.os.
19979 ($(objpfx)gr$(start-installed-name)): New.
19980 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
19981 in libc.a.
19982 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
19983 initimage.
19984 * csu/static-reloc.c: New file.
19985 * elf/Makefile (routines): Add dl-reloc-static-pie.
19986 (elide-routines.os): Likewise.
19987 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
19988 (tst-tls1-static-non-pie-no-pie): New.
19989 * elf/dl-reloc-static-pie.c: New file.
19990 * elf/dl-support.c (_dl_get_dl_main_map): New function.
19991 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
19992 STATIC_PIE_BOOTSTRAP.
19993 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19994 * gmon/Makefile (tests): Add tst-gmon-static-pie.
19995 (tests-static): Likewise.
19996 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
19997 (tst-gmon-static-no-pie): New.
19998 (CFLAGS-tst-gmon-static-pie.c): Likewise.
19999 (CRT-tst-gmon-static-pie): Likewise.
20000 (tst-gmon-static-pie-ENV): Likewise.
20001 (tests-special): Likewise.
20002 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20003 (clean-tst-gmon-static-pie-data): Likewise.
20004 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20005 * gmon/tst-gmon-static-pie.c: New file.
20006 * manual/install.texi: Document --enable-static-pie.
20007 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20008 (_dl_get_dl_main_map): Likewise.
20009 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20010 * sysdeps/x86_64/configure.ac: Likewise.
20011 * sysdeps/i386/configure: Regenerated.
20012 * sysdeps/x86_64/configure: Likewise.
20013 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20014 (ASFLAGS-.op): Likewise.
20015
95511aab
JM
200162017-12-15 Joseph Myers <joseph@codesourcery.com>
20017
20018 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20019 * posix/tst-mmap-offset.c (fname): Use /tmp.
20020 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20021
a7e3edf4
SE
200222017-12-15 Steve Ellcey <sellcey@cavium.com>
20023
20024 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20025
d232f2e1
TS
200262017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20027
20028 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20029 errno.
20030
174edbde
JM
200312017-12-15 Joseph Myers <joseph@codesourcery.com>
20032
5170fa49
JM
20033 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20034 --with-float=hard for arm-linux-gnueabihf configurations.
20035
f2da2fd8
JM
20036 [BZ #14121]
20037 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20038 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20039 ($(mo-installed)): Use $(objpfx)%.mo.
20040 (realclean): Remove rule.
20041
0c4fe28d
JM
20042 * po/Makefile (linguas): Remove rule and dependencies.
20043 (linguas.mo): Likewise.
20044 (.PHONY): Do not depend on linguas and linguas.mo.
20045 (podir): Remove variable.
20046 (pofiles): Likewise.
20047 [$(pofiles)] (%.po): Remove rule.
20048
174edbde
JM
20049 * sysdeps/sparc/sparc32/Makefile
20050 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20051 start-of-line whitespace in argument of echo.
20052 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20053 with whitespace. Generate __wrap_.udiv alias.
20054 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20055 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20056 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20057 * sysdeps/sparc/sparc32/urem.S: Likewise.
20058
1e36806f
RS
200592017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20060
20061 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20062 for aligned inputs.
20063
aa6932aa
SP
200642017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20065
5f1603c3
SP
20066 * benchtests/bench-strcmp.c: Print output in JSON format.
20067
aa6932aa
SP
20068 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20069
3ff3dfa5
FW
200702017-12-14 Florian Weimer <fweimer@redhat.com>
20071
20072 [BZ #22607]
20073 CVE-2017-1000409
20074 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20075 the expanded path string.
20076
8a0b17e4
FW
200772017-12-14 Florian Weimer <fweimer@redhat.com>
20078
20079 [BZ #22606]
20080 CVE-2017-1000408
20081 * elf/dl-load.c (system_dirs): Update comment.
20082 (nsystem_dirs_len): Use array_length.
20083 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20084
f58bd7f0
FW
200852017-12-14 Florian Weimer <fweimer@redhat.com>
20086
20087 Simplify compiling most of support/ outside of glibc.
20088 * support/check_addrinfo.c: Include <string.h>.
20089 * support/check_dns_packet.c: Likewise.
20090 * support/check_hostent.c: Likewise.
20091 * support/support_can_chroot.c: Include <support/xunistd.h>.
20092 * support/support_format_addrinfo.c: Include <stdlib.h>
20093 * support/support_format_dns_packet.c: Include <stdbool.h>.
20094 * support/support_format_hostent.c: Include <stdlib.h>.
20095 * support/support_format_netent.c: Likewise.
20096 * support/support_write_string.c: Include <support/xunistd.h>.
20097 * support/xdlfcn.c: Include <stddef.h>.
20098
4ca945e9
L
200992017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20100
20101 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20102
1b6e07f8
PM
201032017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20104 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20105
e6a1c5dc
PM
20106 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20107 (sysdeps_routines): Add memset-niagara7.
20108 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20109 Likewise.
20110 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20111 file.
20112 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20113 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20114 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20115 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20116 Add niagara7 option.
20117 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20118 memset.
20119
1b6e07f8
PM
20120 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20121 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20122 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20123 Likewise.
20124 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20125 New file.
20126 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20127 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20128 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20129 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20130 and __memmove_niagara7.
20131 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20132 Add niagara7 option.
20133 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20134 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20135 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20136 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20137 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20138
bfb7bf22
JM
201392017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20140
767a26d6
JM
20141 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20142 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20143 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20144 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20145
bfb7bf22
JM
20146 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20147 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20148 _dl_sparc_cap_flags array.
20149 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20150
2bce01eb
SP
201512017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20152
20153 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20154 time whenever possible.
20155
363e4519 201562017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
20157
20158 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20159 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20160
6f7c0092
JM
201612017-12-12 Joseph Myers <joseph@codesourcery.com>
20162
20163 * soft-fp/fmadf4.c: Move to ....
20164 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20165 * soft-fp/fmasf4.c: Move to ....
20166 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20167 * soft-fp/fmatf4.c: Move to ....
20168 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20169 * sysdeps/ieee754/soft-fp/Makefile: New file.
20170 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20171 * sysdeps/arm/preconfigure: Regenerated.
20172 * sysdeps/arm/nofpu/Implies: New file.
20173 * sysdeps/arm/s_fma.c: Remove file.
20174 * sysdeps/arm/s_fmaf.c: Likewise.
20175 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20176 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20177 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20178 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
20179 * sysdeps/microblaze/s_fma.c: Remove file.
20180 * sysdeps/microblaze/s_fmaf.c: Likewise.
20181 * sysdeps/mips/mips32/nofpu/Implies: New file.
20182 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
20183 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
20184 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
20185 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
20186 * sysdeps/mips/ieee754/s_fma.c: Remove file.
20187 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
20188 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
20189 implementation.
20190 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
20191 * sysdeps/nios2/s_fma.c: Remove file.
20192 * sysdeps/nios2/s_fmaf.c: Likewise.
20193 * sysdeps/sh/nofpu/Implies: New file.
20194 * sysdeps/sh/s_fma.c: Remove file.
20195 * sysdeps/sh/s_fmaf.c: Likewise.
20196 * sysdeps/tile/Implies: Add ieee754/soft-fp.
20197 * sysdeps/tile/s_fma.c: Remove file.
20198 * sysdeps/tile/s_fmaf.c: Likewise.
20199
ac817e08
L
202002017-12-12 H.J. Lu <hongjiu.lu@intel.com>
20201
20202 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20203 Add s_cosf-sse2 and s_cosf-fma.
20204 (CFLAGS-s_cosf-fma.c): New.
20205 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
20206 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
20207 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
20208
eb428576
SE
202092017-12-12 Steve Ellcey <sellcey@cavium.com>
20210
20211 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
20212
c80acdc3
AZ
202132017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20214
cc683f7e
AZ
20215 * libio/Makefile (tests): Add tst-bz22415.
20216 (tst-bz22415-ENV): New rule.
20217 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
20218 (tests-special): Add tst-bz22415-mem.out.
20219 ($(objpfx)tst-bz22415-mem.out): New rule.
20220 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
20221 in case of a successful seek operation.
20222 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20223 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
20224 buffer is required.
20225 * libio/tst-bz22415.c: New test.
20226
c80acdc3
AZ
20227 * sysdeps/ia64/fpu/libm-test-ulps: Update.
20228
363e4519 202292017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
20230
20231 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
20232 __IPC_64 to 0 to avoid IPC_64 being set.
20233
4e0dca54
SN
202342017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20235
20236 [BZ #22593]
20237 * math/bits/mathcalls.h (nextafter): Remove const.
20238 (nexttoward): Likewise.
20239
8df5d347
JM
202402017-12-12 Joseph Myers <joseph@codesourcery.com>
20241
20242 * configure.ac (--with-fp): Remove configure option.
20243 (with_fp_cond): New variable.
20244 (libc_cv_with_fp): New configure test. Use this variable instead
20245 of with_fp.
20246 * configure: Regenerated.
20247 * config.make.in (with-fp): Use @libc_cv_with_fp@.
20248 * manual/install.texi (Configuring and compiling): Remove
20249 --without-fp.
20250 * INSTALL: Regenerated.
20251 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
20252 * sysdeps/mips/preconfigure (with_fp_cond): Define.
20253 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
20254 * sysdeps/sh/preconfigure (with_fp_cond): Define.
20255 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
20256 use --without-fp to configure glibc.
20257
0cee1257
RJ
202582017-12-12 Rical Jasan <ricaljasan@pacific.net>
20259
20260 * manual/locale.texi (nl_langinfo): Fix a typo.
20261
363e4519 202622017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
20263
20264 [BZ #22588]
20265 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
20266
36975e8e
L
202672017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20268
20269 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
20270 (CFLAGS-argp-parse.c): Likewise.
20271 (CFLAGS-argp-fmtstream.c): Likewise.
20272 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
20273 (CPPFLAGS-sha512-crypt.c): Likewise.
20274 (CPPFLAGS-md5-crypt.c): Likewise.
20275 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
20276 (CFLAGS-stack_chk_fail_local.c): Likewise.
20277 (CFLAGS-backtrace.c): Likewise.
20278 (CFLAGS-sprintf_chk.c): Likewise.
20279 (CFLAGS-snprintf_chk.c): Likewise.
20280 (CFLAGS-vsprintf_chk.c): Likewise.
20281 (CFLAGS-vsnprintf_chk.c): Likewise.
20282 (CFLAGS-asprintf_chk.c): Likewise.
20283 (CFLAGS-vasprintf_chk.c): Likewise.
20284 (CFLAGS-obprintf_chk.c): Likewise.
20285 (CFLAGS-dprintf_chk.c): Likewise.
20286 (CFLAGS-vdprintf_chk.c): Likewise.
20287 (CFLAGS-printf_chk.c): Likewise.
20288 (CFLAGS-fprintf_chk.c): Likewise.
20289 (CFLAGS-vprintf_chk.c): Likewise.
20290 (CFLAGS-vfprintf_chk.c): Likewise.
20291 (CFLAGS-gets_chk.c): Likewise.
20292 (CFLAGS-fgets_chk.c): Likewise.
20293 (CFLAGS-fgets_u_chk.c): Likewise.
20294 (CFLAGS-fread_chk.c): Likewise.
20295 (CFLAGS-fread_u_chk.c): Likewise.
20296 (CFLAGS-swprintf_chk.c): Likewise.
20297 (CFLAGS-vswprintf_chk.c): Likewise.
20298 (CFLAGS-wprintf_chk.c): Likewise.
20299 (CFLAGS-fwprintf_chk.c): Likewise.
20300 (CFLAGS-vwprintf_chk.c): Likewise.
20301 (CFLAGS-vfwprintf_chk.c): Likewise.
20302 (CFLAGS-fgetws_chk.c): Likewise.
20303 (CFLAGS-fgetws_u_chk.c): Likewise.
20304 (CFLAGS-read_chk.c): Likewise.
20305 (CFLAGS-pread_chk.c): Likewise.
20306 (CFLAGS-pread64_chk.c): Likewise.
20307 (CFLAGS-recv_chk.c): Likewise.
20308 (CFLAGS-recvfrom_chk.c): Likewise.
20309 (CFLAGS-tst-longjmp_chk.c): Likewise.
20310 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
20311 (CFLAGS-tst-longjmp_chk2.c): Likewise.
20312 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
20313 (CFLAGS-tst-longjmp_chk3.c): Likewise.
20314 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20315 (CFLAGS-tst-chk1.c): Likewise.
20316 (CFLAGS-tst-chk2.c): Likewise.
20317 (CFLAGS-tst-chk3.c): Likewise.
20318 (CFLAGS-tst-chk4.cc): Likewise.
20319 (CFLAGS-tst-chk5.cc): Likewise.
20320 (CFLAGS-tst-chk6.cc): Likewise.
20321 (CFLAGS-tst-lfschk1.c): Likewise.
20322 (CFLAGS-tst-lfschk2.c): Likewise.
20323 (CFLAGS-tst-lfschk3.c): Likewise.
20324 (CFLAGS-tst-lfschk4.cc): Likewise.
20325 (CFLAGS-tst-lfschk5.cc): Likewise.
20326 (CFLAGS-tst-lfschk6.cc): Likewise.
20327 (CFLAGS-tst-ssp-1.c): Likewise.
20328 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
20329 (CFLAGS-scandir64.c): Likewise.
20330 (CFLAGS-scandir-tail.c): Likewise.
20331 (CFLAGS-scandir64-tail.c): Likewise.
20332 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
20333 (CFLAGS-dl-tunables.c): Likewise.
20334 (CFLAGS-dl-runtime.c): Likewise.
20335 (CFLAGS-dl-lookup.c): Likewise.
20336 (CFLAGS-dl-iterate-phdr.c): Likewise.
20337 (CFLAGS-vismain.c): Likewise.
20338 (CFLAGS-tst-linkall-static.c): Likewise.
20339 (CFLAGS-tst-linkall-static.c): Likewise.
20340 (CPPFLAGS-dl-load.c): Likewise.
20341 (CFLAGS-ldconfig.c): Likewise.
20342 (CFLAGS-dl-cache.c): Likewise.
20343 (CFLAGS-cache.c): Likewise.
20344 (CFLAGS-rtld.c): Likewise.
20345 (CFLAGS-multiload.c): Likewise.
20346 (CFLAGS-filtmod1.c): Likewise.
20347 (CFLAGS-tst-align.c): Likewise.
20348 (CFLAGS-tst-align2.c): Likewise.
20349 (CFLAGS-tst-alignmod.c): Likewise.
20350 (CFLAGS-tst-alignmod2.c): Likewise.
20351 (CPPFLAGS-tst-execstack.c): Likewise.
20352 (CFLAGS-tst-ptrguard1-static.c): Likewise.
20353 (CFLAGS-tst-latepthreadmod.c): Likewise.
20354 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
20355 (CFLAGS-getgrnam_r.c): Likewise.
20356 (CFLAGS-getgrent_r.c): Likewise.
20357 (CFLAGS-getgrent.c): Likewise.
20358 (CFLAGS-fgetgrent.c): Likewise.
20359 (CFLAGS-fgetgrent_r.c): Likewise.
20360 (CFLAGS-putgrent.c): Likewise.
20361 (CFLAGS-initgroups.c): Likewise.
20362 (CFLAGS-getgrgid.c): Likewise.
20363 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
20364 (CFLAGS-getsgent.c): Likewise.
20365 (CFLAGS-fgetsgent.c): Likewise.
20366 (CFLAGS-fgetsgent_r.c): Likewise.
20367 (CFLAGS-putsgent.c): Likewise.
20368 (CFLAGS-getsgnam.c): Likewise.
20369 (CFLAGS-getsgnam_r.c): Likewise.
20370 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
20371 (CFLAGS-iconv_charmap.c): Likewise.
20372 (CFLAGS-dummy-repertoire.c): Likewise.
20373 (CFLAGS-charmap.c): Likewise.
20374 (CFLAGS-linereader.c): Likewise.
20375 (CFLAGS-simple-hash.c): Likewise.
20376 (CFLAGS-gconv_conf.c): Likewise.
20377 (CFLAGS-iconvconfig.c): Likewise.
20378 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20379 (CFLAGS-gethstbyad.c): Likewise.
20380 (CFLAGS-gethstbynm_r.c): Likewise.
20381 (CFLAGS-gethstbynm.c): Likewise.
20382 (CFLAGS-gethstbynm2_r.c): Likewise.
20383 (CFLAGS-gethstbynm2.c): Likewise.
20384 (CFLAGS-gethstent_r.c): Likewise.
20385 (CFLAGS-gethstent.c): Likewise.
20386 (CFLAGS-rcmd.c): Likewise.
20387 (CFLAGS-getnetbynm_r.c): Likewise.
20388 (CFLAGS-getnetbynm.c): Likewise.
20389 (CFLAGS-getnetbyad_r.c): Likewise.
20390 (CFLAGS-getnetbyad.c): Likewise.
20391 (CFLAGS-getnetent_r.c): Likewise.
20392 (CFLAGS-getnetent.c): Likewise.
20393 (CFLAGS-getaliasent_r.c): Likewise.
20394 (CFLAGS-getaliasent.c): Likewise.
20395 (CFLAGS-getrpcent_r.c): Likewise.
20396 (CFLAGS-getrpcent.c): Likewise.
20397 (CFLAGS-getservent_r.c): Likewise.
20398 (CFLAGS-getservent.c): Likewise.
20399 (CFLAGS-getprtent_r.c): Likewise.
20400 (CFLAGS-getprtent.c): Likewise.
20401 (CFLAGS-either_ntoh.c): Likewise.
20402 (CFLAGS-either_hton.c): Likewise.
20403 (CFLAGS-getnetgrent.c): Likewise.
20404 (CFLAGS-getnetgrent_r.c): Likewise.
20405 (CFLAGS-tst-checks-posix.c): Likewise.
20406 (CFLAGS-tst-sockaddr.c): Likewise.
20407 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
20408 (CFLAGS-tst-translit.c): Likewise.
20409 (CFLAGS-tst-gettext2.c): Likewise.
20410 (CFLAGS-tst-codeset.c): Likewise.
20411 (CFLAGS-tst-gettext3.c): Likewise.
20412 (CFLAGS-tst-gettext4.c): Likewise.
20413 (CFLAGS-tst-gettext5.c): Likewise.
20414 (CFLAGS-tst-gettext6.c): Likewise.
20415 * io/Makefile (CFLAGS-open.c): Likewise.
20416 (CFLAGS-open64.c): Likewise.
20417 (CFLAGS-creat.c): Likewise.
20418 (CFLAGS-creat64.c): Likewise.
20419 (CFLAGS-fcntl.c): Likewise.
20420 (CFLAGS-poll.c): Likewise.
20421 (CFLAGS-ppoll.c): Likewise.
20422 (CFLAGS-lockf.c): Likewise.
20423 (CFLAGS-statfs.c): Likewise.
20424 (CFLAGS-fstatfs.c): Likewise.
20425 (CFLAGS-statvfs.c): Likewise.
20426 (CFLAGS-fstatvfs.c): Likewise.
20427 (CFLAGS-fts.c): Likewise.
20428 (CFLAGS-fts64.c): Likewise.
20429 (CFLAGS-ftw.c): Likewise.
20430 (CFLAGS-ftw64.c): Likewise.
20431 (CFLAGS-lockf.c): Likewise.
20432 (CFLAGS-posix_fallocate.c): Likewise.
20433 (CFLAGS-posix_fallocate64.c): Likewise.
20434 (CFLAGS-fallocate.c): Likewise.
20435 (CFLAGS-fallocate64.c): Likewise.
20436 (CFLAGS-read.c): Likewise.
20437 (CFLAGS-write.c): Likewise.
20438 (CFLAGS-test-stat.c): Likewise.
20439 (CFLAGS-test-lfs.c): Likewise.
20440 * libio/Makefile (CFLAGS-fileops.c): Likewise.
20441 (CFLAGS-fputc.c): Likewise.
20442 (CFLAGS-fputwc.c): Likewise.
20443 (CFLAGS-freopen64.c): Likewise.
20444 (CFLAGS-freopen.c): Likewise.
20445 (CFLAGS-fseek.c): Likewise.
20446 (CFLAGS-fseeko64.c): Likewise.
20447 (CFLAGS-fseeko.c): Likewise.
20448 (CFLAGS-ftello64.c): Likewise.
20449 (CFLAGS-ftello.c): Likewise.
20450 (CFLAGS-fwide.c): Likewise.
20451 (CFLAGS-genops.c): Likewise.
20452 (CFLAGS-getc.c): Likewise.
20453 (CFLAGS-getchar.c): Likewise.
20454 (CFLAGS-getwc.c): Likewise.
20455 (CFLAGS-getwchar.c): Likewise.
20456 (CFLAGS-iofclose.c): Likewise.
20457 (CFLAGS-iofflush.c): Likewise.
20458 (CFLAGS-iofgetpos64.c): Likewise.
20459 (CFLAGS-iofgetpos.c): Likewise.
20460 (CFLAGS-iofgets.c): Likewise.
20461 (CFLAGS-iofgetws.c): Likewise.
20462 (CFLAGS-iofputs.c): Likewise.
20463 (CFLAGS-iofputws.c): Likewise.
20464 (CFLAGS-iofread.c): Likewise.
20465 (CFLAGS-iofsetpos64.c): Likewise.
20466 (CFLAGS-iofsetpos.c): Likewise.
20467 (CFLAGS-ioftell.c): Likewise.
20468 (CFLAGS-iofwrite.c): Likewise.
20469 (CFLAGS-iogetdelim.c): Likewise.
20470 (CFLAGS-iogetline.c): Likewise.
20471 (CFLAGS-iogets.c): Likewise.
20472 (CFLAGS-iogetwline.c): Likewise.
20473 (CFLAGS-ioputs.c): Likewise.
20474 (CFLAGS-ioseekoff.c): Likewise.
20475 (CFLAGS-ioseekpos.c): Likewise.
20476 (CFLAGS-iosetbuffer.c): Likewise.
20477 (CFLAGS-iosetvbuf.c): Likewise.
20478 (CFLAGS-ioungetc.c): Likewise.
20479 (CFLAGS-ioungetwc.c): Likewise.
20480 (CFLAGS-oldfileops.c): Likewise.
20481 (CFLAGS-oldiofclose.c): Likewise.
20482 (CFLAGS-oldiofgetpos64.c): Likewise.
20483 (CFLAGS-oldiofgetpos.c): Likewise.
20484 (CFLAGS-oldiofsetpos64.c): Likewise.
20485 (CFLAGS-oldiofsetpos.c): Likewise.
20486 (CFLAGS-peekc.c): Likewise.
20487 (CFLAGS-putc.c): Likewise.
20488 (CFLAGS-putchar.c): Likewise.
20489 (CFLAGS-putwc.c): Likewise.
20490 (CFLAGS-putwchar.c): Likewise.
20491 (CFLAGS-rewind.c): Likewise.
20492 (CFLAGS-wfileops.c): Likewise.
20493 (CFLAGS-wgenops.c): Likewise.
20494 (CFLAGS-oldiofopen.c): Likewise.
20495 (CFLAGS-iofopen.c): Likewise.
20496 (CFLAGS-iofopen64.c): Likewise.
20497 (CFLAGS-oldtmpfile.c): Likewise.
20498 (CFLAGS-tst_putwc.c): Likewise.
20499 * locale/Makefile (CFLAGS-md5.c): Likewise.
20500 (CFLAGS-charmap.c): Likewise.
20501 (CFLAGS-locfile.c): Likewise.
20502 (CFLAGS-charmap-dir.c): Likewise.
20503 * login/Makefile (CFLAGS-grantpt.c): Likewise.
20504 (CFLAGS-getpt.c): Likewise.
20505 (CFLAGS-pt_chown.c): Likewise.
20506 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
20507 (CFLAGS-obstack.c): Likewise.
20508 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
20509 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
20510 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
20511 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
20512 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
20513 (CFLAGS-test-tgmath.c): Likewise.
20514 (CFLAGS-test-tgmath2.c): Likewise.
20515 (CFLAGS-test-tgmath-ret.c): Likewise.
20516 (CFLAGS-test-powl.c): Likewise.
20517 (CFLAGS-test-snan.c): Likewise.
20518 (CFLAGS-test-signgam-finite.c): Likewise.
20519 (CFLAGS-test-signgam-finite-c99.c): Likewise.
20520 (CFLAGS-test-signgam-finite-c11.c): Likewise.
20521 (CFLAGS-test-signgam-uchar.c): Likewise.
20522 (CFLAGS-test-signgam-uchar-init.c): Likewise.
20523 (CFLAGS-test-signgam-uchar-static.c): Likewise.
20524 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20525 (CFLAGS-test-signgam-uint.c): Likewise.
20526 (CFLAGS-test-signgam-uint-init.c): Likewise.
20527 (CFLAGS-test-signgam-uint-static.c): Likewise.
20528 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20529 (CFLAGS-test-signgam-ullong.c): Likewise.
20530 (CFLAGS-test-signgam-ullong-init.c): Likewise.
20531 (CFLAGS-test-signgam-ullong-static.c): Likewise.
20532 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20533 (CFLAGS-test-math-cxx11.cc): Likewise.
20534 (CFLAGS-test-math-isinff.cc): Likewise.
20535 (CFLAGS-test-math-iszero.cc): Likewise.
20536 (CFLAGS-test-math-issignaling.cc): Likewise.
20537 (CFLAGS-test-math-iscanonical.cc): Likewise.
20538 (CFLAGS-test-iszero-excess-precision.c): Likewise.
20539 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
20540 (CFLAGS-test-flt-eval-method.c): Likewise.
20541 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
20542 (CFLAGS-test-finite-macros.c): Likewise.
20543 * misc/Makefile (CFLAGS-select.c): Likewise.
20544 (CFLAGS-tsearch.c): Likewise.
20545 (CFLAGS-lsearch.c): Likewise.
20546 (CFLAGS-pselect.c): Likewise.
20547 (CFLAGS-readv.c): Likewise.
20548 (CFLAGS-writev.c): Likewise.
20549 (CFLAGS-preadv.c): Likewise.
20550 (CFLAGS-preadv64.c): Likewise.
20551 (CFLAGS-pwritev.c): Likewise.
20552 (CFLAGS-pwritev64.c): Likewise.
20553 (CFLAGS-preadv2.c): Likewise.
20554 (CFLAGS-preadv64v2.c): Likewise.
20555 (CFLAGS-pwritev2.c): Likewise.
20556 (CFLAGS-pwritev64v2.c): Likewise.
20557 (CFLAGS-usleep.c): Likewise.
20558 (CFLAGS-syslog.c): Likewise.
20559 (CFLAGS-error.c): Likewise.
20560 (CFLAGS-getpass.c): Likewise.
20561 (CFLAGS-mkstemp.c): Likewise.
20562 (CFLAGS-mkstemp64.c): Likewise.
20563 (CFLAGS-getsysstats.c): Likewise.
20564 (CFLAGS-getusershell.c): Likewise.
20565 (CFLAGS-err.c): Likewise.
20566 (CFLAGS-tst-tsearch.c): Likewise.
20567 (CFLAGS-msync.c): Likewise.
20568 (CFLAGS-fdatasync.c): Likewise.
20569 (CFLAGS-fsync.c): Likewise.
20570 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
20571 (CFLAGS-unwind.c): Likewise.
20572 (CFLAGS-unwind-forcedunwind.c): Likewise.
20573 (CFLAGS-pthread_cancel.c): Likewise.
20574 (CFLAGS-pthread_setcancelstate.c): Likewise.
20575 (CFLAGS-pthread_setcanceltype.c): Likewise.
20576 (CFLAGS-cancellation.c): Likewise.
20577 (CFLAGS-libc-cancellation.c): Likewise.
20578 (CFLAGS-pthread_exit.c): Likewise.
20579 (CFLAGS-forward.c): Likewise.
20580 (CFLAGS-pthread_testcancel.c): Likewise.
20581 (CFLAGS-pthread_join.c): Likewise.
20582 (CFLAGS-pthread_timedjoin.c): Likewise.
20583 (CFLAGS-pthread_once.c): Likewise.
20584 (CFLAGS-pthread_cond_wait.c): Likewise.
20585 (CFLAGS-sem_wait.c): Likewise.
20586 (CFLAGS-sem_timedwait.c): Likewise.
20587 (CFLAGS-fcntl.c): Likewise.
20588 (CFLAGS-lockf.c): Likewise.
20589 (CFLAGS-pread.c): Likewise.
20590 (CFLAGS-pread64.c): Likewise.
20591 (CFLAGS-pwrite.c): Likewise.
20592 (CFLAGS-pwrite64.c): Likewise.
20593 (CFLAGS-wait.c): Likewise.
20594 (CFLAGS-waitpid.c): Likewise.
20595 (CFLAGS-sigwait.c): Likewise.
20596 (CFLAGS-msgrcv.c): Likewise.
20597 (CFLAGS-msgsnd.c): Likewise.
20598 (CFLAGS-tcdrain.c): Likewise.
20599 (CFLAGS-open.c): Likewise.
20600 (CFLAGS-open64.c): Likewise.
20601 (CFLAGS-pause.c): Likewise.
20602 (CFLAGS-recv.c): Likewise.
20603 (CFLAGS-send.c): Likewise.
20604 (CFLAGS-accept.c): Likewise.
20605 (CFLAGS-sendto.c): Likewise.
20606 (CFLAGS-connect.c): Likewise.
20607 (CFLAGS-recvfrom.c): Likewise.
20608 (CFLAGS-recvmsg.c): Likewise.
20609 (CFLAGS-sendmsg.c): Likewise.
20610 (CFLAGS-close.c): Likewise.
20611 (CFLAGS-read.c): Likewise.
20612 (CFLAGS-write.c): Likewise.
20613 (CFLAGS-nanosleep.c): Likewise.
20614 (CFLAGS-sigsuspend.c): Likewise.
20615 (CFLAGS-msync.c): Likewise.
20616 (CFLAGS-fdatasync.c): Likewise.
20617 (CFLAGS-fsync.c): Likewise.
20618 (CFLAGS-pt-system.c): Likewise.
20619 (CFLAGS-tst-cleanup2.c): Likewise.
20620 (CFLAGS-tst-cleanupx2.c): Likewise.
20621 (CFLAGS-flockfile.c): Likewise.
20622 (CFLAGS-ftrylockfile.c): Likewise.
20623 (CFLAGS-funlockfile.c): Likewise.
20624 (CFLAGS-tst-initializers1.c): Likewise.
20625 (CFLAGS-tst-initializers1-c89.c): Likewise.
20626 (CFLAGS-tst-initializers1-c99.c): Likewise.
20627 (CFLAGS-tst-initializers1-c11.c): Likewise.
20628 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
20629 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
20630 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20631 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
20632 (CFLAGS-nscd_getgr_r.c): Likewise.
20633 (CFLAGS-nscd_gethst_r.c): Likewise.
20634 (CFLAGS-nscd_getai.c): Likewise.
20635 (CFLAGS-nscd_initgroups.c): Likewise.
20636 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
20637 (CFLAGS-pause.c): Likewise.
20638 (CFLAGS-pread.c): Likewise.
20639 (CFLAGS-pread64.c): Likewise.
20640 (CFLAGS-pwrite.c): Likewise.
20641 (CFLAGS-pwrite64.c): Likewise.
20642 (CFLAGS-sleep.c): Likewise.
20643 (CFLAGS-wait.c): Likewise.
20644 (CFLAGS-waitid.c): Likewise.
20645 (CFLAGS-waitpid.c): Likewise.
20646 (CFLAGS-getopt.c): Likewise.
20647 (CFLAGS-wordexp.c): Likewise.
20648 (CFLAGS-sysconf.c): Likewise.
20649 (CFLAGS-pathconf.c): Likewise.
20650 (CFLAGS-fpathconf.c): Likewise.
20651 (CFLAGS-spawn.c): Likewise.
20652 (CFLAGS-spawnp.c): Likewise.
20653 (CFLAGS-spawni.c): Likewise.
20654 (CFLAGS-glob.c): Likewise.
20655 (CFLAGS-glob64.c): Likewise.
20656 (CFLAGS-getconf.c): Likewise.
20657 (CFLAGS-nanosleep.c): Likewise.
20658 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
20659 (CFLAGS-getpwent.c): Likewise.
20660 (CFLAGS-getpw.c): Likewise.
20661 (CFLAGS-fgetpwent_r.c): Likewise.
20662 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
20663 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
20664 (CFLAGS-mq_timedreceive.c): Likewise.
20665 (CFLAGS-mq_timedsend.c): Likewise.
20666 (CFLAGS-clock_nanosleep.c): Likewise.
20667 (CFLAGS-librt-cancellation.c): Likewise.
20668 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
20669 (CFLAGS-getspent.c): Likewise.
20670 (CFLAGS-fgetspent.c): Likewise.
20671 (CFLAGS-fgetspent_r.c): Likewise.
20672 (CFLAGS-putspent.c): Likewise.
20673 (CFLAGS-getspnam.c): Likewise.
20674 (CFLAGS-getspnam_r.c): Likewise.
20675 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
20676 (CFLAGS-sigsuspend.c): Likewise.
20677 (CFLAGS-sigtimedwait.c): Likewise.
20678 (CFLAGS-sigwait.c): Likewise.
20679 (CFLAGS-sigwaitinfo.c): Likewise.
20680 (CFLAGS-sigreturn.c): Likewise.
20681 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20682 (CFLAGS-vfwprintf.c): Likewise.
20683 (CFLAGS-tmpfile.c): Likewise.
20684 (CFLAGS-tmpfile64.c): Likewise.
20685 (CFLAGS-tempname.c): Likewise.
20686 (CFLAGS-psignal.c): Likewise.
20687 (CFLAGS-vprintf.c): Likewise.
20688 (CFLAGS-cuserid.c): Likewise.
20689 (CFLAGS-errlist.c): Likewise.
20690 (CFLAGS-siglist.c): Likewise.
20691 (CFLAGS-scanf15.c): Likewise.
20692 (CFLAGS-scanf17.c): Likewise.
20693 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
20694 (CFLAGS-msort.c): Likewise.
20695 (CFLAGS-qsort.c): Likewise.
20696 (CFLAGS-system.c): Likewise.
20697 (CFLAGS-fmtmsg.c): Likewise.
20698 (CFLAGS-strfmon.c): Likewise.
20699 (CFLAGS-strfmon_l.c): Likewise.
20700 (CFLAGS-strfromd.c): Likewise.
20701 (CFLAGS-strfromf.c): Likewise.
20702 (CFLAGS-strfroml.c): Likewise.
20703 (CFLAGS-tst-bsearch.c): Likewise.
20704 (CFLAGS-tst-qsort.c): Likewise.
20705 (CFLAGS-tst-makecontext2.c): Likewise.
20706 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
20707 (CFLAGS-xnlm_prot.c): Likewise.
20708 (CFLAGS-xrstat.c): Likewise.
20709 (CFLAGS-xyppasswd.c): Likewise.
20710 (CFLAGS-xklm_prot.c): Likewise.
20711 (CFLAGS-xrex.c): Likewise.
20712 (CFLAGS-xsm_inter.c): Likewise.
20713 (CFLAGS-xmount.c): Likewise.
20714 (CFLAGS-xrusers.c): Likewise.
20715 (CFLAGS-xspray.c): Likewise.
20716 (CFLAGS-xnfs_prot.c): Likewise.
20717 (CFLAGS-xrquota.c): Likewise.
20718 (CFLAGS-xkey_prot.c): Likewise.
20719 (CFLAGS-auth_unix.c): Likewise.
20720 (CFLAGS-key_call.c): Likewise.
20721 (CFLAGS-pmap_rmt.c): Likewise.
20722 (CFLAGS-clnt_perr.c): Likewise.
20723 (CFLAGS-openchild.c): Likewise.
20724 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
20725 (CFLAGS-msgsnd.c): Likewise.
20726 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
20727 * time/Makefile (CFLAGS-tzfile.c): Likewise.
20728 (CFLAGS-tzset.c): Likewise.
20729 (CFLAGS-getdate.c): Likewise.
20730 (CFLAGS-test_time.c): Likewise.
20731 (CPPFLAGS-tst-tzname.c): Likewise.
20732 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
20733 (CFLAGS-zic.c): Likewise.
20734 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
20735 (CFLAGS-wcswidth.c): Likewise.
20736 (CFLAGS-wcstol.c): Likewise.
20737 (CFLAGS-wcstoul.c): Likewise.
20738 (CFLAGS-wcstoll.c): Likewise.
20739 (CFLAGS-wcstoull.c): Likewise.
20740 (CFLAGS-wcstod.c): Likewise.
20741 (CFLAGS-wcstold.c): Likewise.
20742 (CFLAGS-wcstof128.c): Likewise.
20743 (CFLAGS-wcstof.c): Likewise.
20744 (CFLAGS-wcstol_l.c): Likewise.
20745 (CFLAGS-wcstoul_l.c): Likewise.
20746 (CFLAGS-wcstoll_l.c): Likewise.
20747 (CFLAGS-wcstoull_l.c): Likewise.
20748 (CFLAGS-wcstod_l.c): Likewise.
20749 (CFLAGS-wcstold_l.c): Likewise.
20750 (CFLAGS-wcstof128_l.c): Likewise.
20751 (CFLAGS-wcstof_l.c): Likewise.
20752 (CPPFLAGS-tst-wchar-h.c): Likewise.
20753 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 20754
f4b2aea6
PC
207552017-12-11 Paul A. Clarke <pc@us.ibm.com>
20756
20757 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
20758
c9cd7b0c
AZ
207592017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20760 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20761
20762 * manual/tunables.texi (Hardware Capability Tunables): Document
20763 glibc.tune.cached_memopt.
20764 * sysdeps/powerpc/cpu-features.c: New file.
20765 * sysdeps/powerpc/cpu-features.h: New file.
20766 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
20767 _dl_powerpc_cpu_features.
20768 * sysdeps/powerpc/dl-tunables.list: New file.
20769 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
20770 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20771 (INIT_ARCH): Initialize use_aligned_memopt.
20772 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
20773 IS_IN(rtld))]: Restrict dl_platform_init availability and
20774 initialize CPU features used by tunables.
20775 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
20776 Add memcpy-power8-cached.
20777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
20778 __memcpy_power8_cached.
20779 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20780 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
20781 New file.
20782
e70c6fee
L
207832017-12-11 H.J. Lu <hongjiu.lu@intel.com>
20784
20785 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
20786 (CFLAGS-noinl-tester.c): Likewise.
20787 (CFLAGS-tst-strlen.c): Likewise.
20788 (CFLAGS-stratcliff.c): Likewise.
20789 (CFLAGS-test-ffs.c): Likewise.
20790 (CFLAGS-tst-inlcall.c): Likewise.
20791 (CFLAGS-tst-xbzero-opt.c): Likewise.
20792 (CFLAGS-memcpy.c): Likewise.
20793 (CFLAGS-wordcopy.c): Likewise.
20794
dee94366
SL
207952017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20796
20797 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
20798 Store r15 on stack and add cfi rule.
20799 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20800 Likewise.
20801
363e4519 208022017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
20803
20804 [BZ #22577]
20805 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
20806 call.
20807
9d0ffa60
L
208082017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20809
20810 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20811 Add s_sinf-sse2 and s_sinf-fma.
20812 (CFLAGS-s_sinf-fma.c): New.
20813 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
20814 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
20815 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
20816
9574c7b6
L
208172017-12-07 H.J. Lu <hongjiu.lu@intel.com>
20818
20819 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
20820
d15e83c5
JM
208212017-12-07 Joseph Myers <joseph@codesourcery.com>
20822
20823 [BZ #22568]
20824 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
20825 part of result to imaginary part of argument if it is zero and the
20826 real part of the argument is not finite.
20827 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
20828 of result to real part of argument if it is zero and the imaginary
20829 part of the argument is not finite.
20830
d89756eb
MF
208312017-12-07 Mike FABIAN <mfabian@redhat.com>
20832
20833 [BZ #22524]
20834 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
20835 and to the list of locales to be built for testing.
20836 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
20837 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
20838 and build the collation rules upon that.
20839
1f9055ce
JM
208402017-12-07 Joseph Myers <joseph@codesourcery.com>
20841
20842 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
20843 * manual/math.texi (Mathematics): Document support for _Float32.
20844 * math/Makefile (test-types): Add float32.
20845 * math/Versions (GLIBC_2.27): Add _Float32 functions.
20846 * stdlib/Versions (GLIBC_2.27): Likewise.
20847 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20848 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20849 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20850 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20851 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20852 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20853 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20854 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20855 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20856 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20857 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20858 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20859 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20860 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20861 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20862 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20863 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20864 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20865 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20866 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20867 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20868 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
20869 Likewise.
20870 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20871 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20872 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20873 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20874 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20876 Likewise.
20877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20878 Likewise.
20879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20880 Likewise.
20881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20882 Likewise.
20883
20884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20885 Likewise.
20886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
20887 Likewise.
20888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20889 Likewise.
20890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20891 Likewise.
20892 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20893 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20894 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20895 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20896 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20897 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20898 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20899 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20900 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20901 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20903 Likewise.
20904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20905 Likewise.
20906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20907 Likewise.
20908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20909 Likewise.
20910 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20911 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20912 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20913 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20914 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20915 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20916 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20917 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20918
5244527d
JM
209192017-12-06 Joseph Myers <joseph@codesourcery.com>
20920
fb1ca2aa
JM
20921 * stdlib/strtof.c: Include <bits/floatn.h>
20922 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
20923 and later undefine as macro. Define as weak alias if
20924 [!USE_WIDE_CHAR].
20925 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
20926 and later undefine as macro. Define as weak alias if
20927 [USE_WIDE_CHAR].
20928 * stdlib/strtof_l.c: Include <bits/floatn.h>
20929 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
20930 and later undefine as macro. Define as weak alias if
20931 [!USE_WIDE_CHAR].
20932 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
20933 and later undefine as macro. Define as weak alias if
20934 [USE_WIDE_CHAR].
20935
fc10cc3f
JM
20936 * stdlib/strfromf.c: Include <bits/floatn.h>.
20937 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
20938 and later undefine as macro and define as weak alias.
20939
e420d228
JM
20940 * math/test-float32.h: New file.
20941
26007a2f
JM
20942 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
20943 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
20944 (libm_alias_float_other_r): Create f32 alias.
20945 (libm_alias_float_r): Use semicolon before call to
20946 libm_alias_float_other_r.
20947
c191f64c
JM
20948 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
20949 second argument to libm_alias_float_other.
20950 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
20951 second argument to libm_alias_float_other.
20952 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
20953 argument to libm_alias_float_other.
20954
5244527d
JM
20955 [BZ #22561]
20956 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
20957 real part of result for argument 0 + i * NaN.
20958 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
20959 results for tests of 0 + i * NaN.
20960
d73fac82
AZ
209612017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20962
20963 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20964
7ec094e8
DM
209652017-12-06 David S. Miller <davem@davemloft.net>
20966
20967 * sysdeps/sparc/fpu/libm-test-ulps: Update
20968 exp_{downward,towardzero,upward} ulps.
20969
53994f12
JM
209702017-12-06 Joseph Myers <joseph@codesourcery.com>
20971
1dbe6f64
JM
20972 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
20973 variables static.
20974
53994f12
JM
20975 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
20976 (Y0_2D): Likewise.
20977 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
20978 (Y0_2D): Likewise.
20979 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
20980 (Y0_2D): Likewise.
20981 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
20982 (Y0_2D): Likewise.
20983
62ea2193
MF
209842017-12-06 Mike FABIAN <mfabian@redhat.com>
20985
20986 [BZ #22515]
20987 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
20988 and to the list of locales to be built for testing.
20989 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
20990 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
20991 and build the collation rules upon that.
20992
87235d70
RS
209932017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20994
20995 * NEWS: Add sinf to list of optimized functions.
20996
0d93b7fd
JM
209972017-12-06 Joseph Myers <joseph@codesourcery.com>
20998
20999 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21000 (__HAVE_FLOAT32X): Likewise.
21001 * manual/math.texi (Mathematics): Document support for _Float64
21002 and _Float32x.
21003 * math/Makefile (test-types): Add float64 and float32x.
21004 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21005 functions.
21006 * stdlib/Versions (GLIBC_2.27): Likewise.
21007 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21008 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21009 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21010 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21011 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21012 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21013 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21014 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21015 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21016 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21017 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21018 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21019 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21020 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21021 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21022 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21023 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21024 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21025 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21026 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21027 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21028 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21029 Likewise.
21030 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21031 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21032 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21033 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21034 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21036 Likewise.
21037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21038 Likewise.
21039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21040 Likewise.
21041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21042 Likewise.
21043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21044 Likewise.
21045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21046 Likewise.
21047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21048 Likewise.
21049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21050 Likewise.
21051 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21052 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21053 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21054 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21055 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21056 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21057 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21058 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21059 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21060 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21062 Likewise.
21063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21064 Likewise.
21065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21066 Likewise.
21067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21068 Likewise.
21069 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21070 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21071 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21072 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21073 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21074 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21075 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21076 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21077
f7787234
JM
210782017-12-05 Joseph Myers <joseph@codesourcery.com>
21079
21080 * bits/floatn-common.h: Include <bits/long-double.h>.
21081 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21082 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21083 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21084 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21085 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21086 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21087 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21088 (__builtin_huge_valf64): Use __builtin_huge_vall.
21089 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21090 (__builtin_inff64): Use __builtin_infl.
21091 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21092 (__builtin_nanf64): Use __builtin_nanl.
21093 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21094 (__builtin_nansf64): Use __builtin_nansl.
21095
363e4519
DL
210962017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21097 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 21098 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
21099
21100 * elf/dl-tunables.list: Add elision parameters.
21101 * manual/tunables.texi: Add entries about elision tunable.
21102 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21103 Add callback functions to dynamically enable/disable elision.
21104 Add multiple callbacks functions to set elision parameters.
21105 Deleted __libc_enable_secure check.
21106 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21107 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21108 * configure: Regenerated.
21109 * configure.ac: Option enable_lock_elision was deleted.
21110 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21111 * config.make.in: Remove references to enable_lock_elision.
21112 * manual/install.texi: Elision configure option was removed.
21113 * INSTALL: Regenerated to remove enable_lock_elision.
21114 * nptl/Makefile:
21115 Disable elision so it can verify error case for destroying a mutex.
21116 * sysdeps/powerpc/nptl/elide.h:
21117 Cleanup ENABLE_LOCK_ELISION check.
21118 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21119 * sysdeps/s390/configure: Regenerated.
21120 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21121 * nptl/tst-mutex8.c:
21122 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21123 * sysdeps/powerpc/powerpc32/sysdep.h:
21124 Deleted all ENABLE_LOCK_ELISION checks.
21125 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21126 * sysdeps/powerpc/sysdep.h: Likewise.
21127 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21128 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21129 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21130 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21131 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21132 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21133 enable-lock-elision.
21134
a5a2a76b
JM
211352017-12-05 Joseph Myers <joseph@codesourcery.com>
21136
21137 * stdlib/strtod.c: Include <bits/floatn.h>.
21138 (BUILD_DOUBLE): New macro.
21139 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21140 (strtof64): Define and later undefine as macro. Define as weak
21141 alias if [!USE_WIDE_CHAR].
21142 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21143 (wcstof64): Define and later undefine as macro. Define as weak
21144 alias if [USE_WIDE_CHAR].
21145 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21146 (strtof32x): Define and later undefine as macro. Define as weak
21147 alias if [!USE_WIDE_CHAR].
21148 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21149 (wcstof32x): Define and later undefine as macro. Define as weak
21150 alias if [USE_WIDE_CHAR].
21151 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21152 (BUILD_DOUBLE): New macro.
21153 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21154 (strtof64_l): Define and later undefine as macro. Define as weak
21155 alias if [!USE_WIDE_CHAR].
21156 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21157 (wcstof64_l): Define and later undefine as macro. Define as weak
21158 alias if [USE_WIDE_CHAR].
21159 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21160 (strtof32x_l): Define and later undefine as macro. Define as weak
21161 alias if [!USE_WIDE_CHAR].
21162 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21163 (wcstof32x_l): Define and later undefine as macro. Define as weak
21164 alias if [USE_WIDE_CHAR].
21165
94d80dfc
AZ
211662017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21167
21168 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21169 (reduced): Use ones as double instead of integer.
21170
00d54af7
SN
211712017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21172
21173 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21174
f2d64d62
JM
211752017-12-05 Joseph Myers <joseph@codesourcery.com>
21176
1f70eae4
JM
21177 * stdlib/strfromd.c: Include <bits/floatn.h>.
21178 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
21179 and later undefine as macro and define as weak alias.
21180 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
21181 Likewise.
21182
e2c4dce5
JM
21183 * math/test-float32x.h: New file.
21184 * math/test-float64.h: Likewise.
21185
f2d64d62
JM
21186 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
21187 (libm_alias_double_other_r_f64): New macro.
21188 (libm_alias_double_other_r_f32x): Likewise.
21189 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21190 libm_alias_double_other_r_f32x.
21191 (libm_alias_double_r): Use semicolon before call to
21192 libm_alias_double_other_r.
21193 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
21194 <bits/floatn.h>.
21195 (libm_alias_double_other_r_f64): New macro.
21196 (libm_alias_double_other_r_f32x): Likewise.
21197 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
21198 libm_alias_double_other_r_f32x.
21199
91c318e7
L
212002017-12-05 H.J. Lu <hongjiu.lu@intel.com>
21201
21202 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
21203 int.
21204 (SINF_FUNC): Likewise. Replace floor with simple casts.
21205
de9661d6
MF
212062017-12-05 Mike FABIAN <mfabian@redhat.com>
21207
21208 [BZ #22517]
21209 * localedata/Makefile: Add et_EE.UTF-8 to test-input
21210 and to the list of locales to be built for testing.
21211 * localedata/et_EE.UTF-8.in: New file for testing the collation.
21212 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
21213 and build the collation rules upon that.
21214
f18b8dc7
CM
212152017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
21216
21217 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
21218 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
21219 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
21220 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
21221 instead of __insn__xxx.
21222 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
21223 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
21224 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
21225 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
21226 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
21227 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
21228
446d22e9
FW
212292017-12-05 Florian Weimer <fweimer@redhat.com>
21230
21231 Linux: Implement interfaces for memory protection keys
21232 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
21233 xsignal, xsysconf.
21234 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
21235 * support/xunistd.h (xsysconf): Declare.
21236 * support/xraise.c: New file.
21237 * support/xsigaction.c: Likewise.
21238 * support/xsignal.c: Likewise.
21239 * support/xsysconf.c: Likewise.
21240 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
21241 pkey_set, pkey_get, pkey_mprotect.
21242 [misc] (tests): Add tst-pkey.
21243 (tst-pkey): Link with -lpthread.
21244 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
21245 pkey_free, pkey_set, pkey_get, pkey_mprotect.
21246 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
21247 (PKEY_DISABLE_WRITE): Define.
21248 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
21249 Declare.
21250 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
21251 (SEGV_PKUERR): Add.
21252 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
21253 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
21254 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
21255 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
21256 Add.
21257 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
21258 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
21259 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
21260 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
21261 * sysdeps/unix/sysv/linux/**.abilist: Update.
21262
da616c14
FW
212632017-12-05 Florian Weimer <fweimer@redhat.com>
21264
21265 * support/tst-test_compare.c (subprocess): Use long long instead
21266 of long argument for consistent type width across 32-bit and
21267 64-bit architectures.
21268 (do_test): Adjust expected output.
21269
216933b2
JM
212702017-12-05 Joseph Myers <joseph@codesourcery.com>
21271
21272 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
21273 (cosf): Define using libm_alias_float.
21274 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
21275 (fabsf): Define using libm_alias_float.
21276 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
21277 (fmaf): Define using libm_alias_float.
21278 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
21279 (rintf): Define using libm_alias_float.
21280 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
21281 (sinf): Define using libm_alias_float.
21282 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
21283 <libm-alias-float.h>.
21284 (modff): Define using libm_alias_float.
21285 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
21286 <libm-alias-float.h>.
21287 (logbf): Define using libm_alias_float.
21288 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
21289 <libm-alias-float.h>.
21290 (ceilf): Define using libm_alias_float.
21291 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21292 <libm-alias-float.h>.
21293 (copysignf): Define using libm_alias_float.
21294 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
21295 <libm-alias-float.h>.
21296 (floorf): Define using libm_alias_float.
21297 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21298 <libm-alias-float.h>.
21299 (llrintf): Define using libm_alias_float.
21300 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21301 <libm-alias-float.h>.
21302 (llroundf): Define using libm_alias_float.
21303 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21304 <libm-alias-float.h>.
21305 (lrintf): Define using libm_alias_float.
21306 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21307 <libm-alias-float.h>.
21308 (lroundf): Define using libm_alias_float.
21309 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
21310 <libm-alias-float.h>.
21311 (nearbyintf): Define using libm_alias_float.
21312 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
21313 <libm-alias-float.h>.
21314 (rintf): Define using libm_alias_float.
21315 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
21316 <libm-alias-float.h>.
21317 (roundf): Define using libm_alias_float.
21318 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
21319 <libm-alias-float.h>.
21320 (truncf): Define using libm_alias_float.
21321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
21322 Include <libm-alias-float.h>.
21323 (ceilf): Define using libm_alias_float.
21324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
21325 Include <libm-alias-float.h>.
21326 (copysignf): Define using libm_alias_float.
21327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
21328 Include <libm-alias-float.h>.
21329 (floorf): Define using libm_alias_float.
21330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
21331 Include <libm-alias-float.h>.
21332 (llrintf): Define using libm_alias_float.
21333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
21334 Include <libm-alias-float.h>.
21335 (llroundf): Define using libm_alias_float.
21336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
21337 Include <libm-alias-float.h>.
21338 (logbf): Define using libm_alias_float.
21339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
21340 Include <libm-alias-float.h>.
21341 (lrintf): Define using libm_alias_float.
21342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
21343 Include <libm-alias-float.h>.
21344 (lroundf): Define using libm_alias_float.
21345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
21346 Include <libm-alias-float.h>.
21347 (modff): Define using libm_alias_float.
21348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
21349 Include <libm-alias-float.h>.
21350 (roundf): Define using libm_alias_float.
21351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
21352 Include <libm-alias-float.h>.
21353 (truncf): Define using libm_alias_float.
21354 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
21355 <libm-alias-float.h>.
21356 (llrintf): Define using libm_alias_float.
21357 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21358 <libm-alias-float.h>.
21359 (llroundf): Define using libm_alias_float.
21360 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
21361 <libm-alias-float.h>.
21362 (ceilf): Define using libm_alias_float.
21363 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
21364 <libm-alias-float.h>.
21365 (floorf): Define using libm_alias_float.
21366 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21367 <libm-alias-float.h>.
21368 (llroundf): Define using libm_alias_float.
21369 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21370 <libm-alias-float.h>.
21371 (lroundf): Define using libm_alias_float.
21372 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
21373 <libm-alias-float.h>.
21374 (roundf): Define using libm_alias_float.
21375 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
21376 <libm-alias-float.h>.
21377 (truncf): Define using libm_alias_float.
21378 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21379 <libm-alias-float.h>.
21380 (copysignf): Define using libm_alias_float.
21381 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
21382 <libm-alias-float.h>.
21383 (llrintf): Define using libm_alias_float.
21384 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21385 <libm-alias-float.h>.
21386 (llroundf): Define using libm_alias_float.
21387 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21388 <libm-alias-float.h>.
21389 (lrintf): Define using libm_alias_float.
21390 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21391 <libm-alias-float.h>.
21392 (lroundf): Define using libm_alias_float.
21393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
21394 <libm-alias-float.h>.
21395 (ceilf): Define using libm_alias_float.
21396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
21397 <libm-alias-float.h>.
21398 (copysignf): Define using libm_alias_float.
21399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
21400 <libm-alias-float.h>.
21401 (cosf): Define using libm_alias_float.
21402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
21403 <libm-alias-float.h>.
21404 (floorf): Define using libm_alias_float.
21405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
21406 <libm-alias-float.h>.
21407 (llrintf): Define using libm_alias_float.
21408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
21409 <libm-alias-float.h>.
21410 (llroundf): Define using libm_alias_float.
21411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
21412 <libm-alias-float.h>.
21413 (logbf): Define using libm_alias_float.
21414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
21415 <libm-alias-float.h>.
21416 (modff): Define using libm_alias_float.
21417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
21418 <libm-alias-float.h>.
21419 (roundf): Define using libm_alias_float.
21420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
21421 <libm-alias-float.h>.
21422 (sinf): Define using libm_alias_float.
21423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
21424 <libm-alias-float.h>.
21425 (truncf): Define using libm_alias_float.
21426 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
21427 <libm-alias-float.h>.
21428 (ceilf): Define using libm_alias_float.
21429 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21430 <libm-alias-float.h>.
21431 (copysignf): Define using libm_alias_float.
21432 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
21433 <libm-alias-float.h>.
21434 (floorf): Define using libm_alias_float.
21435 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21436 <libm-alias-float.h>.
21437 (llrintf): Define using libm_alias_float.
21438 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
21439 <libm-alias-float.h>.
21440 (llroundf): Define using libm_alias_float.
21441 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
21442 <libm-alias-float.h>.
21443 (nearbyintf): Define using libm_alias_float.
21444 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
21445 <libm-alias-float.h>.
21446 (rintf): Define using libm_alias_float.
21447 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
21448 <libm-alias-float.h>.
21449 (roundf): Define using libm_alias_float.
21450 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
21451 <libm-alias-float.h>.
21452 (truncf): Define using libm_alias_float.
21453 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
21454 <libm-alias-float.h>.
21455 (ceilf): Define using libm_alias_float.
21456 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
21457 <libm-alias-float.h>.
21458 (floorf): Define using libm_alias_float.
21459 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21460 <libm-alias-float.h>.
21461 (llroundf): Define using libm_alias_float.
21462 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
21463 <libm-alias-float.h>.
21464 (roundf): Define using libm_alias_float.
21465 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
21466 <libm-alias-float.h>.
21467 (truncf): Define using libm_alias_float.
21468 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21469 <libm-alias-float.h>.
21470 (copysignf): Define using libm_alias_float.
21471 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21472 <libm-alias-float.h>.
21473 (llrintf): Define using libm_alias_float.
21474 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21475 <libm-alias-float.h>.
21476 (llroundf): Define using libm_alias_float.
21477 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
21478 <libm-alias-float.h>.
21479 (cosf): Define using libm_alias_float.
21480 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21481 <libm-alias-float.h>.
21482 (llrintf): Define using libm_alias_float.
21483 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21484 <libm-alias-float.h>.
21485 (llroundf): Define using libm_alias_float.
21486 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
21487 <libm-alias-float.h>.
21488 (sinf): Define using libm_alias_float.
21489
93485524
FW
214902017-12-04 Florian Weimer <fweimer@redhat.com>
21491
21492 * support/check.h (TEST_COMPARE): Define.
21493 (support_test_compare_failure): Declare.
21494 * support/Makefile (libsupport-routines): Add
21495 support_test_compare_failure.
21496 (tests): Add tst-test_compare.
21497 * support /support_test_compare_failure.c: New file.
21498 * support/tst-test_compare.c: Likewise.
21499
96b06a19
MF
215002017-12-04 Mike FABIAN <mfabian@redhat.com>
21501
21502 [BZ #22527]
21503 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
21504 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
21505 available, this rewrite of the collation rules does reproduce
21506 the test file in the same order.
21507
1f6d91f3
MF
215082017-12-04 Mike FABIAN <mfabian@redhat.com>
21509
21510 [BZ #10580]
21511 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
21512 digraphs in the month and day names. Using single code points for
21513 digraphs is deprecated. While there are dedicated Unicode
21514 codepoints, for the digraphs, these are included for backwards
21515 compatibility and modern texts use a sequence of Basic Latin
21516 characters. See: https://www.unicode.org/faq/ligature_digraph.html
21517 This makes the month and day names agree exactly with CLDR now,
21518 CLDR does not use the single code points for the digraphs either.
21519
2e49fed8
CM
215202017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
21521
21522 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
21523
73895b49
JM
215242017-12-04 Joseph Myers <joseph@codesourcery.com>
21525
21526 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
21527 of floor.
21528
4c1d801a
SP
215292017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
21530
21531 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
21532 Define only for libc.so.
21533
478593e6
SL
215342017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
21535
21536 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21537 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 21538 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
21539 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
21540 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21541
7863a711
RS
215422017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21543
21544 [BZ #5997]
21545 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
21546
800a496a
JDA
215472017-12-02 John David Anglin <danglin@gcc.gnu.org>
21548
b3f7fb12
JDA
21549 [BZ libc/19170]
21550 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
21551 PREINIT_FUNCTION_WEAK is nonzero.
21552 (gmon_initializer): New function. Put procedure label for it in
21553 .init_array section.
21554 (_init): Don't call PREINIT_FUNCTION.
21555 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
21556 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
21557 value when map argument is null.
21558
800a496a
JDA
21559 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
21560 depi instruction from PIC pc-relative sequence.
21561 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
21562 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
21563 (elf_machine_load_address): Likewise.
21564 (elf_machine_runtime_setup): Likewise.
21565
d17542d2
JM
215662017-12-02 Joseph Myers <joseph@codesourcery.com>
21567
21568 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
21569 <libm-alias-double.h>.
21570 (logb): Define using libm_alias_double.
21571 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
21572 <libm-alias-double.h>.
21573 (copysign): Define using libm_alias_double.
21574 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
21575 <libm-alias-double.h>.
21576 (llrint): Define using libm_alias_double.
21577 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
21578 <libm-alias-double.h>.
21579 (llround): Define using libm_alias_double.
21580 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
21581 <libm-alias-double.h>.
21582 (lrint): Define using libm_alias_double.
21583 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
21584 <libm-alias-double.h>.
21585 (lround): Define using libm_alias_double.
21586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21587 Include <libm-alias-double.h>.
21588 (copysign): Define using libm_alias_double.
21589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
21590 Include <libm-alias-double.h>.
21591 (llrint): Define using libm_alias_double.
21592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
21593 Include <libm-alias-double.h>.
21594 (llround): Define using libm_alias_double.
21595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
21596 <libm-alias-double.h>.
21597 (logb): Define using libm_alias_double.
21598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
21599 Include <libm-alias-double.h>.
21600 (lrint): Define using libm_alias_double.
21601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
21602 Include <libm-alias-double.h>.
21603 (lround): Define using libm_alias_double.
21604 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
21605 <libm-alias-double.h>.
21606 (llrint): Define using libm_alias_double.
21607 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
21608 <libm-alias-double.h>.
21609 (llround): Define using libm_alias_double.
21610 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
21611 <libm-alias-double.h>.
21612 (llround): Define using libm_alias_double.
21613 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
21614 <libm-alias-double.h>.
21615 (lround): Define using libm_alias_double.
21616 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
21617 <libm-alias-double.h>.
21618 (copysign): Define using libm_alias_double.
21619 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
21620 <libm-alias-double.h>.
21621 (llrint): Define using libm_alias_double.
21622 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
21623 <libm-alias-double.h>.
21624 (llround): Define using libm_alias_double.
21625 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
21626 <libm-alias-double.h>.
21627 (lrint): Define using libm_alias_double.
21628 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
21629 <libm-alias-double.h>.
21630 (lround): Define using libm_alias_double.
21631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
21632 <libm-alias-double.h>.
21633 (copysign): Define using libm_alias_double.
21634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
21635 <libm-alias-double.h>.
21636 (llrint): Define using libm_alias_double.
21637 (lrint): Likewise.
21638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
21639 <libm-alias-double.h>.
21640 (llround): Define using libm_alias_double.
21641 (lround): Likewise.
21642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
21643 <libm-alias-double.h>.
21644 (logb): Define using libm_alias_double.
21645 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
21646 <libm-alias-double.h>.
21647 (copysign): Define using libm_alias_double.
21648 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
21649 <libm-alias-double.h>.
21650 (llrint): Define using libm_alias_double.
21651 (lrint): Likewise.
21652 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
21653 <libm-alias-double.h>.
21654 (llround): Define using libm_alias_double.
21655 (lround): Likewise.
21656 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
21657 <libm-alias-double.h>.
21658 (llround): Define using libm_alias_double.
21659 (lround): Likewise.
21660 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
21661 <libm-alias-double.h>.
21662 (copysign): Define using libm_alias_double.
21663 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
21664 <libm-alias-double.h>.
21665 (llrint): Define using libm_alias_double.
21666 (lrint): Likewise.
21667 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
21668 <libm-alias-double.h>.
21669 (llround): Define using libm_alias_double.
21670 (lround): Likewise.
21671 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
21672 <libm-alias-double.h>.
21673 (llrint): Define using libm_alias_double.
21674 (lrint): Likewise.
21675 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
21676 <libm-alias-double.h>.
21677 (llround): Define using libm_alias_double.
21678 (lround): Likewise.
21679
ec2cf3f4
JM
216802017-12-01 Joseph Myers <joseph@codesourcery.com>
21681
0ddde474
JM
21682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21683 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
21684 compat symbol based on llround.
21685
0d5ba561
JM
21686 * sysdeps/powerpc/power7/fpu/s_logb.c
21687 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
21688 symbol based on __logb, not on logb.
21689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
21690 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
21692 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
21693
51ea3b20
JM
21694 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
21695 (rint): Define using libm_alias_double.
21696 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
21697 <libm-alias-double.h>.
21698 (modf): Define using libm_alias_double.
21699 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
21700 <libm-alias-double.h>.
21701 (ceil): Define using libm_alias_double.
21702 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
21703 <libm-alias-double.h>.
21704 (floor): Define using libm_alias_double.
21705 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
21706 <libm-alias-double.h>.
21707 (nearbyint): Define using libm_alias_double.
21708 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
21709 <libm-alias-double.h>.
21710 (rint): Define using libm_alias_double.
21711 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
21712 <libm-alias-double.h>.
21713 (round): Define using libm_alias_double.
21714 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
21715 <libm-alias-double.h>.
21716 (trunc): Define using libm_alias_double.
21717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
21718 <libm-alias-double.h>.
21719 (ceil): Define using libm_alias_double.
21720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
21721 Include <libm-alias-double.h>.
21722 (floor): Define using libm_alias_double.
21723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
21724 <libm-alias-double.h>.
21725 (modf): Define using libm_alias_double.
21726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
21727 Include <libm-alias-double.h>.
21728 (round): Define using libm_alias_double.
21729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
21730 Include <libm-alias-double.h>.
21731 (trunc): Define using libm_alias_double.
21732 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
21733 <libm-alias-double.h>.
21734 (ceil): Define using libm_alias_double.
21735 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
21736 <libm-alias-double.h>.
21737 (floor): Define using libm_alias_double.
21738 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
21739 <libm-alias-double.h>.
21740 (round): Define using libm_alias_double.
21741 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
21742 <libm-alias-double.h>.
21743 (trunc): Define using libm_alias_double.
21744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
21745 <libm-alias-double.h>.
21746 (ceil): Define using libm_alias_double.
21747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
21748 <libm-alias-double.h>.
21749 (floor): Define using libm_alias_double.
21750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
21751 <libm-alias-double.h>.
21752 (modf): Define using libm_alias_double.
21753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
21754 <libm-alias-double.h>.
21755 (round): Define using libm_alias_double.
21756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
21757 <libm-alias-double.h>.
21758 (trunc): Define using libm_alias_double.
21759 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
21760 <libm-alias-double.h>.
21761 (ceil): Define using libm_alias_double.
21762 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
21763 <libm-alias-double.h>.
21764 (floor): Define using libm_alias_double.
21765 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
21766 <libm-alias-double.h>.
21767 (nearbyint): Define using libm_alias_double.
21768 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
21769 <libm-alias-double.h>.
21770 (rint): Define using libm_alias_double.
21771 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
21772 <libm-alias-double.h>.
21773 (round): Define using libm_alias_double.
21774 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
21775 <libm-alias-double.h>.
21776 (trunc): Define using libm_alias_double.
21777 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
21778 <libm-alias-double.h>.
21779 (ceil): Define using libm_alias_double.
21780 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
21781 <libm-alias-double.h>.
21782 (floor): Define using libm_alias_double.
21783 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
21784 <libm-alias-double.h>.
21785 (round): Define using libm_alias_double.
21786 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
21787 <libm-alias-double.h>.
21788 (trunc): Define using libm_alias_double.
21789
ec2cf3f4
JM
21790 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
21791 (fabs): Define using libm_alias_double.
21792 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
21793 (fma): Define using libm_alias_double.
21794 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
21795 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
21796 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
21797 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
21798
5b7bd975
AZ
217992017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21800
0594b13f
AZ
21801 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
21802
dbdfcf3b
AZ
21803 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
21804 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
21805 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
21806
5b7bd975
AZ
21807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
21808 due redirect macro.
21809
ef9ecfa6
AS
218102017-12-01 Andreas Schwab <schwab@linux-m68k.org>
21811
21812 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
21813
5b4e5e78
AZ
218142017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21815
2a14526b
AZ
21816 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
21817 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
21818 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
21819 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
21820
dbeb74ef 21821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
21822 (libm-sysdep_routines): Add s_nearbyintf-generic and
21823 s_nearbyint-generic.
21824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
21825 New file.
21826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
21827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
21828 Likewise.
21829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
21830 Likewise.
21831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
21832 file.
21833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
21834 Likewise.
21835
21836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
21837 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
21838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
21839 file.
21840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
21841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
21842 Likewise.
21843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
21844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
21845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21846
fa7ded96
AZ
21847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21848 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
21849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
21850 file.
21851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
21852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
21853 Likewise.
21854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
21855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
21856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
21857
e240cf0e
AZ
21858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21859 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
21860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
21861 file.
21862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
21863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
21864 Likewise.
21865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
21866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
21867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21868
5b4e5e78
AZ
21869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
21870 (sysdep_calls): New rule.
21871 (sysdep_routines): Use sysdep_calls as base.
21872 (libm-sysdep_routines): Add generic rule for symbols shared with
21873 libc. Add s_copysign-generic and s_copysign-generic objects.
21874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
21875 New file.
21876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
21877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
21878 Likewise.
21879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
21880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
21881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
21882
d985adae
MF
218832017-12-01 Mike FABIAN <mfabian@redhat.com>
21884
21885 [BZ #22519]
21886 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
21887 the list of locales to be built for testing.
21888 * localedata/is_IS.UTF-8.in: New file.
21889 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
21890 on iso14651_t1.
21891
ff84a0e0
JM
218922017-12-01 Joseph Myers <joseph@codesourcery.com>
21893
21894 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
21895 <libm-alias-float.h>.
21896 (fabsf): Define using libm_alias_float.
21897
ef5d8b43
L
218982017-11-30 H.J. Lu <hongjiu.lu@intel.com>
21899
21900 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
21901
c0535adf
JM
219022017-11-30 Joseph Myers <joseph@codesourcery.com>
21903
f938b397
JM
21904 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
21905 <libm-alias-float.h>.
21906 (fabsf): Define using libm_alias_float.
21907 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
21908 <libm-alias-float.h>.
21909 (lrintf): Define using libm_alias_float.
21910 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
21911 <libm-alias-float.h>.
21912 (rintf): Define using libm_alias_float.
21913
2251fad0
JM
21914 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
21915 <libm-alias-double.h>.
21916 (fabs): Define using libm_alias_double.
21917 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
21918 <libm-alias-double.h>.
21919 (lrint): Define using libm_alias_double.
21920 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
21921 <libm-alias-double.h>.
21922 (rint): Define using libm_alias_double.
21923
e53df1de
JM
21924 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
21925 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
21926 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
21927 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
21928 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
21929 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
21930 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
21931 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
21932 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
21933 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
21934 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
21935 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
21936 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
21937 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
21938 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
21939 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
21940 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
21941 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
21942 s_atan_template.c.
21943 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
21944 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
21945 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
21946 s_ceil_template.c.
21947 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
21948 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
21949 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
21950 s_cos_template.c.
21951 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
21952 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
21953 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
21954 s_expm1_template.c.
21955 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
21956 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
21957 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
21958 s_fabs_template.c.
21959 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
21960 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
21961 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
21962 s_floor_template.c.
21963 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
21964 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
21965 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
21966 s_frexp_template.c.
21967 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
21968 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
21969 s_lrint_template.c.
21970 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
21971 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
21972 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
21973 s_modf_template.c.
21974 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
21975 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
21976 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
21977 s_nearbyint_template.c.
21978 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
21979 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
21980 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
21981 s_remquo_template.c.
21982 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
21983 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
21984 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
21985 s_rint_template.c.
21986 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
21987 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
21988 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
21989 s_sin_template.c.
21990 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
21991 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
21992 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
21993 s_sincos_template.c.
21994 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
21995 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
21996 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
21997 s_tan_template.c.
21998 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
21999 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22000 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22001 s_tanh_template.c.
22002 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22003 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22004 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22005 s_trunc_template.c.
22006 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22007 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22008 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22009 s_atan.c instead of including s_atan.c.
22010 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22011 s_atanf.c instead of including s_atanf.c.
22012 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22013 s_atanl.c instead of including s_atanl.c.
22014 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22015 instead of s_atan.c.
22016 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22017 instead of s_atanf.c.
22018 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22019 instead of s_atanl.c.
22020
c0535adf
JM
22021 * scripts/update-copyrights: Do not handle intl/plural.c
22022 specially.
22023
1faaf703
JB
220242017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22025
22026 [BZ #22432]
22027 * configure.ac (BISON): Require to be present.
22028 * configure: Regenerated.
22029 * intl/Makefile (generated): Add plural.c.
22030 [$(BISON) != no]: Make code unconditional.
22031 (plural.c): Change rule to $(objpfx)plural.c.
22032 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22033 * intl/plural.c: Remove.
22034 * manual/install.texi (Tools for Compilation): Document bison as
22035 required.
22036 * INSTALL: Regenerated.
22037
faec6323
JM
220382017-11-30 Joseph Myers <joseph@codesourcery.com>
22039
bd6ea9ed
JM
22040 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22041 <libm-alias-double.h>.
22042 (llrint): Define using libm_alias_double.
22043 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22044 <libm-alias-float.h>.
22045 (llrintf): Define using libm_alias_float.
22046 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22047 <libm-alias-ldouble.h>.
22048 (llrintl): Define using libm_alias_ldouble.
22049
faec6323
JM
22050 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22051 declare_mgen_alias instead of weak_alias.
22052 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22053 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22054 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22055
023cade3
AZ
220562017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22057
9e2279a0
AZ
22058 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22059 Add add_n-generic.
22060 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22061 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22062 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22063
75f37c71
AZ
22064 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22065 Add submul_1-generic.
22066 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22067 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22068 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22069
b70cbbfc 22070 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
22071 Add addmul_1-generic.
22072 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22073 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22074 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22075
22076 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
22077 Add sub_n-generic.
22078 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22079 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22080 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22081
023cade3
AZ
22082 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22083 Add mul_1-generic.
22084 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22085 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22086 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22087
fbb5fd03
MF
220882017-11-30 Mike FABIAN <mfabian@redhat.com>
22089
22090 According to CLDR, collation rules for Serbian and Bosnian
22091 should be the same as for Croatian.
22092
22093 [BZ #22534]
22094 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22095 and to the list of locales to be built for testing.
22096 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22097 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22098 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22099 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22100
5e56e937
MF
221012017-11-30 Mike FABIAN <mfabian@redhat.com>
22102
22103 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22104 to make test case pass.
22105 * localedata/hr_HR.UTF-8.in: Add more test strings.
22106
cf4341ca
MF
221072017-11-30 Mike FABIAN <mfabian@redhat.com>
22108
22109 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22110
363e4519 221112017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
22112
22113 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22114 the list of locales to built for testing.
22115 * localedata/hr_HR.UTF-8.in: New file.
22116
363e4519 221172017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
22118
22119 [BZ #10580]
22120 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22121 iso14651_t1.
22122 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22123 CLDR (except use ligatures for the digraphs, CLDR does not use
22124 the ligatures), add first_workday, some fixes in the date and time
22125 formats.
22126 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22127 for Đ and đ.
22128 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22129 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22130 Add int_p_cs_precedes and int_n_cs_precedes.
22131 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22132 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22133 LC_MONETARY now).
22134 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22135 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22136 name_miss.
22137 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22138 and lang_lib. Change postal_fmt.
22139
f33632cc
L
221402017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22141
22142 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22143 <setjmp.h>.
22144 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22145 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22146 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22147 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22148 * sysdeps/generic/setjmpP.h: New file.
22149 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22150 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22151 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22152 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22153 Add jmp_buf-ssp.sym.
22154 (tests): Add tst-saved_mask-1.
22155
34697694
AS
221562017-11-30 Arjun Shankar <arjun@redhat.com>
22157
22158 [BZ #22375]
37ac8e63 22159 CVE-2017-17426
34697694
AS
22160 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22161 instead of request2size.
22162
3e5efdbd
JM
221632017-11-30 Joseph Myers <joseph@codesourcery.com>
22164
18305fba
JM
22165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22166 (__lllrint): Remove alias.
22167 (lllrint): Likewise.
22168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22169 (__lllrintf): Likewise.
22170 (lllrintf): Likewise.
22171
3e5efdbd
JM
22172 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22173 <libm-alias-float.h>.
22174 (copysignf): Define using libm_alias_float.
22175 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22176 <libm-alias-float.h>.
22177 (fabsf): Define using libm_alias_float.
22178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22179 Include <libm-alias-float.h>.
22180 (copysignf): Define using libm_alias_float.
22181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
22182 <libm-alias-float.h>.
22183 (fabsf): Define using libm_alias_float.
22184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
22185 <libm-alias-float.h>.
22186 (fdimf): Define using libm_alias_float.
22187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
22188 <libm-alias-float.h>.
22189 (fmaf): Define using libm_alias_float.
22190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
22191 <libm-alias-float.h>.
22192 (llrintf): Define using libm_alias_float.
22193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22194 Include <libm-alias-float.h>.
22195 (nearbyintf): Define using libm_alias_float.
22196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
22197 <libm-alias-float.h>.
22198 (rintf): Define using libm_alias_float.
22199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
22200 <libm-alias-float.h>.
22201 (llrintf): Define using libm_alias_float.
22202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
22203 <libm-alias-float.h>.
22204 (lrintf): Define using libm_alias_float.
22205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
22206 <libm-alias-float.h>.
22207 (nearbyintf): Define using libm_alias_float.
22208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
22209 <libm-alias-float.h>.
22210 (rintf): Define using libm_alias_float.
22211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
22212 <libm-alias-float.h>.
22213 (ceilf): Define using libm_alias_float.
22214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
22215 <libm-alias-float.h>.
22216 (floorf): Define using libm_alias_float.
22217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
22218 <libm-alias-float.h>.
22219 (fmaf): Define using libm_alias_float.
22220 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
22221 <libm-alias-float.h>.
22222 (lrintf): Define using libm_alias_float.
22223 (llrintf): Likewise.
22224 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
22225 <libm-alias-float.h>.
22226 (nearbyintf): Define using libm_alias_float.
22227 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
22228 <libm-alias-float.h>.
22229 (rintf): Define using libm_alias_float.
22230 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
22231 <libm-alias-float.h>.
22232 (truncf): Define using libm_alias_float.
22233 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
22234 <libm-alias-float.h>.
22235 (copysignf): Define using libm_alias_float.
22236 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
22237 <libm-alias-float.h>.
22238 (fabsf): Define using libm_alias_float.
22239 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
22240 <libm-alias-float.h>.
22241 (lrintf): Define using libm_alias_float.
22242 (llrintf): Likewise.
22243 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
22244 <libm-alias-float.h>.
22245 (nearbyintf): Define using libm_alias_float.
22246 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
22247 <libm-alias-float.h>.
22248 (rintf): Define using libm_alias_float.
22249
011fba7e
JM
222502017-11-29 Joseph Myers <joseph@codesourcery.com>
22251
875cd548
JM
22252 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22253 <libm-alias-double.h>.
22254 (copysign): Define using libm_alias_double.
22255 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
22256 <libm-alias-double.h>.
22257 (fabs): Define using libm_alias_double.
22258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22259 Include <libm-alias-double.h>.
22260 (copysign): Define using libm_alias_double.
22261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22262 <libm-alias-double.h>.
22263 (fabs): Define using libm_alias_double.
22264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
22265 <libm-alias-double.h>.
22266 (fdim): Define using libm_alias_double.
22267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
22268 <libm-alias-double.h>.
22269 (fma): Define using libm_alias_double.
22270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
22271 <libm-alias-double.h>.
22272 (llrint): Define using libm_alias_double.
22273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
22274 Include <libm-alias-double.h>.
22275 (nearbyint): Define using libm_alias_double.
22276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
22277 <libm-alias-double.h>.
22278 (rint): Define using libm_alias_double.
22279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22280 <libm-alias-double.h>.
22281 (fabs): Define using libm_alias_double.
22282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
22283 <libm-alias-double.h>.
22284 (llrint): Define using libm_alias_double.
22285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
22286 <libm-alias-double.h>.
22287 (nearbyint): Define using libm_alias_double.
22288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
22289 <libm-alias-double.h>.
22290 (rint): Define using libm_alias_double.
22291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
22292 <libm-alias-double.h>.
22293 (ceil): Define using libm_alias_double.
22294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
22295 <libm-alias-double.h>.
22296 (floor): Define using libm_alias_double.
22297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
22298 <libm-alias-double.h>.
22299 (fma): Define using libm_alias_double.
22300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
22301 <libm-alias-double.h>.
22302 (lrint): Define using libm_alias_double.
22303 (llrint): Likewise.
22304 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
22305 <libm-alias-double.h>.
22306 (nearbyint): Define using libm_alias_double.
22307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
22308 <libm-alias-double.h>.
22309 (rint): Define using libm_alias_double.
22310 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
22311 <libm-alias-double.h>.
22312 (trunc): Define using libm_alias_double.
22313 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
22314 <libm-alias-double.h>.
22315 (copysign): Define using libm_alias_double.
22316 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
22317 <libm-alias-double.h>.
22318 (fabs): Define using libm_alias_double.
22319 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
22320 <libm-alias-double.h>.
22321 (lrint): Define using libm_alias_double.
22322 (llrint): Likewise.
22323 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
22324 <libm-alias-double.h>.
22325 (nearbyint): Define using libm_alias_double.
22326 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
22327 <libm-alias-double.h>.
22328 (rint): Define using libm_alias_double.
22329
cf4ebc27
JM
22330 [BZ #22229]
22331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
22332 <math_ldbl_opt.h>.
22333 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22334
0c097378
JM
22335 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22336 SPARC --disable-multi-arch glibc variants.
22337
34bb10aa
JM
22338 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
22339 <libm-alias-float.h>.
22340 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22341 if [SHARED].
22342 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
22343 <libm-alias-float.h>.
22344 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22345 if [SHARED].
22346 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
22347 <libm-alias-float.h>.
22348 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22349 if [SHARED].
22350 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
22351 <libm-alias-float.h>.
22352 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22353 if [SHARED].
22354 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
22355 <libm-alias-float.h>.
22356 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22357 if [SHARED].
22358 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
22359 <libm-alias-float.h>.
22360 (ceilf): Define using libm_alias_float.
22361 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
22362 <libm-alias-float.h>.
22363 (floorf): Define using libm_alias_float.
22364 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
22365 <libm-alias-float.h>.
22366 (fmaf): Define using libm_alias_float.
22367 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
22368 <libm-alias-float.h>.
22369 (nearbyintf): Define using libm_alias_float.
22370 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
22371 <libm-alias-float.h>.
22372 (rintf): Define using libm_alias_float.
22373 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
22374 <libm-alias-float.h>.
22375 (truncf): Define using libm_alias_float.
22376 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22377 (copysignf): Define using libm_alias_float.
22378 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
22379 (cosf): Define using libm_alias_float.
22380 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22381 (fabsf): Define using libm_alias_float.
22382 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22383 (fmaxf): Define using libm_alias_float.
22384 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
22385 (fminf): Define using libm_alias_float.
22386 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22387 (llrintf): Define using libm_alias_float.
22388 [!__ILP32__] (lrintf): Likewise.
22389 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
22390 (sincosf): Define using libm_alias_float.
22391 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
22392 (sinf): Define using libm_alias_float.
22393 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22394 (lrintf): Define using libm_alias_float.
22395
011fba7e
JM
22396 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
22397 <libm-alias-double.h>.
22398 (atan): Define using libm_alias_double.
22399 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
22400 <libm-alias-double.h>.
22401 (ceil): Define using libm_alias_double.
22402 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
22403 <libm-alias-double.h>.
22404 (floor): Define using libm_alias_double.
22405 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
22406 <libm-alias-double.h>.
22407 (fma): Define using libm_alias_double.
22408 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
22409 <libm-alias-double.h>.
22410 (nearbyint): Define using libm_alias_double.
22411 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
22412 <libm-alias-double.h>.
22413 (rint): Define using libm_alias_double.
22414 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
22415 <libm-alias-double.h>.
22416 (sin): Define using libm_alias_double.
22417 (cos): Likewise.
22418 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
22419 <libm-alias-double.h>.
22420 (tan): Define using libm_alias_double.
22421 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
22422 <libm-alias-double.h>.
22423 (trunc): Define using libm_alias_double.
22424 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
22425 (copysign): Define using libm_alias_double.
22426 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
22427 (fabs): Define using libm_alias_double.
22428 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
22429 (fmax): Define using libm_alias_double.
22430 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
22431 (fmin): Define using libm_alias_double.
22432 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
22433 (llrint): Define using libm_alias_double.
22434 [!__ILP32__] (lrint): Likewise.
22435 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
22436 (lrint): Define using libm_alias_double.
22437
1cbd7bfe
AZ
224382017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22439
21bfcc3d
AZ
22440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22441 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
22442 objects.
22443 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
22444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
22445 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
22446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
22447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
22448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22449
522228dd
AZ
22450 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22451 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
22452 objects.
22453 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
22454 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
22455 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
22456 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
22457 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
22458 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22459
2a6f4fab
AZ
22460 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
22461 (libm-sysdep_routines): Add s_nearbyint-generic and
22462 s_nearbyintf-generic objects.
22463 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
22464 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
22465 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
22466 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
22467 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
22468 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
22469
712b5b83
AZ
22470 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22471 Add s_finitef-generic and s_finite-generic objects.
22472 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
22473 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
22474 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
22475 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
22476 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
22477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
22478
c96d3335
AZ
22479 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22480 Add s_isinff-generic and s_isinf-generic objects.
22481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
22482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
22483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
22484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
22485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
22486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22487
c6862a23
AZ
22488 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
22489 Add s_isnanf-generic and s_isnan-generic objects.
22490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
22491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
22492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
22493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
22494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
22495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22496
1cbd7bfe
AZ
22497 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
22498 macro.
22499 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
22500 rule.
22501 (sysdep_routines): Use sysdep_calls as base.
22502 (libm-sysdep_routines): Add generic rule for symbols shared with
22503 libc. Add s_signbit-generic and s_signbitf-generic objects.
22504 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
22505 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
22506 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
22507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
22508 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
22509 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22510
aa1142c5
JM
225112017-11-29 Joseph Myers <joseph@codesourcery.com>
22512
22513 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
22514 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
22515 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
22516 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
22517 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
22518 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
22519 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
22520 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
22521 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
22522 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
22523 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
22524 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
22525 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
22526 libm_alias_float_r.
22527 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
22528 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
22529 (logf): Likewise.
22530 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
22531 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
22532 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
22533 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
22534 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
22535 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
22536 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
22537 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
22538 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
22539 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
22540 libm_alias_float.
22541 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
22542 (cosf): Likewise.
22543 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
22544 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
22545 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
22546 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
22547 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
22548 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
22549 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
22550 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
22551 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
22552 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
22553 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
22554 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
22555 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
22556 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
22557 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
22558 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
22559 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
22560 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
22561 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
22562 libm_alias_float.
22563 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
22564 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
22565 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
22566 * sysdeps/ia64/fpu/w_lgammaf_main.c
22567 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
22568 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
22569
363e4519
DL
225702017-11-28 Mike FABIAN <mfabian@redhat.com>
22571 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
22572
22573 [BZ #17750]
22574 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
22575 * localedata/fr_CA.UTF-8.in: New file with test data for backward
22576 accents sorting.
22577 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
22578 sorting.
22579 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
22580 * localedata/locales/de_DE (LC_COLLATE): Likewise.
22581 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
22582 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
22583 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
22584 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
22585 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
22586 instead of “ifdef DIACRIT_BACKWARD”.
22587
a55430cb
AZ
225882017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22589
22590 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
22591 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
22592 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
22593 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
22594 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
22595 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
22596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
22597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
22598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
22599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
22600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
22601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
22602 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
22603 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
22604 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
22605 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22606 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
22607 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
22608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22609 ($(have-as-vis3) == yes): Remove conditional.
22610 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
22611 Likewise.
22612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
22613 file.
22614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
22615 file.
22616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
22617 file.
22618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
22619 file.
22620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
22621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
22622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
22623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
22624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
22625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
22626 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
22627 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
22628
0609ec0a
JM
226292017-11-29 Joseph Myers <joseph@codesourcery.com>
22630
22631 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
22632 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
22633 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
22634 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
22635 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
22636 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
22637 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
22638 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
22639 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
22640 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
22641 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
22642 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
22643 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
22644 libm_alias_double_r.
22645 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
22646 (log): Likewise.
22647 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
22648 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
22649 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
22650 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
22651 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
22652 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
22653 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
22654 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
22655 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
22656 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
22657 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
22658 libm_alias_double.
22659 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
22660 (cos): Likewise.
22661 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
22662 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
22663 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
22664 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
22665 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
22666 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
22667 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
22668 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
22669 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
22670 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
22671 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
22672 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
22673 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
22674 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
22675 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
22676 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
22677 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
22678 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
22679 libm_alias_double.
22680 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
22681 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
22682 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
22683 * sysdeps/ia64/fpu/w_lgamma_main.c
22684 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
22685 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
22686
d5bfa34a
JDA
226872017-11-28 John David Anglin <danglin@gcc.gnu.org>
22688
22689 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
22690 address of $global$ into %dp register earlier. Use pc-relative
22691 instruction sequence for PIC case.
22692
bc4e8f9b
JM
226932017-11-28 Joseph Myers <joseph@codesourcery.com>
22694
e4602cba
JM
22695 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
22696 (asinhf): Define using libm_alias_float.
22697 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
22698 (atanf): Define using libm_alias_float.
22699 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
22700 (cbrtf): Define using libm_alias_float.
22701 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
22702 (ceilf): Define using libm_alias_float.
22703 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
22704 (copysignf): Define using libm_alias_float.
22705 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
22706 (expm1f): Define using libm_alias_float.
22707 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
22708 (fabsf): Define using libm_alias_float.
22709 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
22710 (floorf): Define using libm_alias_float.
22711 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22712 (fmaxf): Define using libm_alias_float.
22713 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
22714 (fminf): Define using libm_alias_float.
22715 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
22716 (frexpf): Define using libm_alias_float.
22717 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
22718 (llrintf): Define using libm_alias_float.
22719 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
22720 (logbf): Define using libm_alias_float.
22721 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
22722 (lrintf): Define using libm_alias_float.
22723 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
22724 (nearbyintf): Define using libm_alias_float.
22725 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
22726 (remquof): Define using libm_alias_float.
22727 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
22728 (rintf): Define using libm_alias_float.
22729 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
22730 (truncf): Define using libm_alias_float.
22731 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
22732 <libm-alias-float.h>.
22733 (exp2f): Define using libm_alias_float, or libm_alias_float_other
22734 if [SHARED].
22735 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
22736 <libm-alias-float.h>.
22737 (expf): Define using libm_alias_float, or libm_alias_float_other
22738 if [SHARED].
22739 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
22740 <libm-alias-float.h>.
22741 (log2f): Define using libm_alias_float, or libm_alias_float_other
22742 if [SHARED].
22743 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
22744 <libm-alias-float.h>.
22745 (logf): Define using libm_alias_float, or libm_alias_float_other
22746 if [SHARED].
22747 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
22748 <libm-alias-float.h>.
22749 (powf): Define using libm_alias_float, or libm_alias_float_other
22750 if [SHARED].
22751 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
22752 <libm-alias-float.h>.
22753 (cosf): Define using libm_alias_float.
22754 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
22755 <libm-alias-float.h>.
22756 (sincosf): Define using libm_alias_float.
22757 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
22758 <libm-alias-float.h>.
22759 (sinf): Define using libm_alias_float.
22760 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
22761 (fmaxf): Define using libm_alias_float.
22762 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
22763 (fminf): Define using libm_alias_float.
22764 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22765 <libm-alias-float.h>.
22766 (fmaf): Define using libm_alias_float.
22767
bc4e8f9b
JM
22768 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
22769 (asinh): Define using libm_alias_double.
22770 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
22771 (atan): Define using libm_alias_double.
22772 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
22773 (cbrt): Define using libm_alias_double.
22774 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
22775 (ceil): Define using libm_alias_double.
22776 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
22777 (copysign): Define using libm_alias_double.
22778 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
22779 (expm1): Define using libm_alias_double.
22780 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
22781 (fabs): Define using libm_alias_double.
22782 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
22783 (fdim): Define using libm_alias_double.
22784 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
22785 (floor): Define using libm_alias_double.
22786 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
22787 (fmax): Define using libm_alias_double.
22788 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
22789 (fmin): Define using libm_alias_double.
22790 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
22791 (frexp): Define using libm_alias_double.
22792 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
22793 (llrint): Define using libm_alias_double.
22794 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
22795 (logb): Define using libm_alias_double.
22796 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
22797 (lrint): Define using libm_alias_double.
22798 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
22799 (nearbyint): Define using libm_alias_double.
22800 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
22801 (remquo): Define using libm_alias_double.
22802 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
22803 (rint): Define using libm_alias_double.
22804 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
22805 (trunc): Define using libm_alias_double.
22806 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
22807 (fmax): Define using libm_alias_double.
22808 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
22809 (fmin): Define using libm_alias_double.
22810 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
22811 (fma): Define using libm_alias_double.
22812
8d81ce0c
L
228132017-11-28 H.J. Lu <hongjiu.lu@intel.com>
22814
22815 [BZ #22370]
22816 * elf/dl-hwcaps.c (ROUND): Removed.
22817 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
22818 and ELF_NOTE_NEXT_OFFSET.
22819 * elf/dl-load.c (ROUND): Removed.
22820 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22821 * elf/readelflib.c (ROUND): Removed.
22822 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
22823 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
22824 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
22825 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
22826
6940bd96
JM
228272017-11-28 Joseph Myers <joseph@codesourcery.com>
22828
313ba463
JM
22829 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22830 [!__fmaf] (fmaf): Define using libm_alias_float.
22831
6940bd96
JM
22832 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
22833 [!__fma] (fma): Define using libm_alias_double.
22834 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
22835
22c69b6a
MF
228362017-11-28 Mike FABIAN <mfabian@redhat.com>
22837
22838 [BZ #22336]
22839 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
22840 and implement the collation rules for cs from CLDR on top of that.
22841 * Makefile: Add cs_CZ.UTF-8 to test-input.
22842 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
22843
8d7d3ba8
SP
228442017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
22845
22846 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
22847
0422ed1e
VR
228482017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22849 Icarus Sparry <icarus.w.sparry@intel.com>
22850
22851 * benchtests/Makefile:Add BENCHSET to allow subsets of
22852 benchmarks to be run.
22853 * benchtests/README: Add documentation for: Running subsets of
22854 benchmarks.
22855
0595e360
VR
228562017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
22857
d5090db3
VR
22858 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
22859 range of tests names.
22860
0595e360
VR
22861 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
22862 result from property and remove "max", min" and "mean" from
22863 required properties based on benchtests/bench-skeleton.c.
22864
b4c645c2
FW
228652017-11-28 Florian Weimer <fweimer@redhat.com>
22866
22867 [BZ #20826]
22868 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
22869 due to Internet requirement.
22870 * posix/Makefile (tests): Remove tst-getaddrinfo4,
22871 tst-getaddrinfo5.
22872 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
22873
88684de7
AZ
228742017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22875
69056564
AZ
22876 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22877 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
22878 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22879 (sysdep_routines): Add memset-ultra1.
22880 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
22881 file.
22882 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
22883 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
22884 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
22885 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
22886 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
22887 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
22888 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
22889 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22890
88684de7
AZ
22891 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
22892 file.
22893 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
22894 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
22895 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
22896 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
22897 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
22898 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
22899 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
22900 macro.
22901 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
22902 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
22903 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
22904 (sysdep_routines): Add memcpy-ultra1.
22905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
22906 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
22907
d8124864
JM
229082017-11-28 Joseph Myers <joseph@codesourcery.com>
22909
f433d0b3
JM
22910 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
22911 (cfloat_versions): Take function argument without trailing 'f'.
22912 Call libm_alias_float_other.
22913 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
22914 * sysdeps/alpha/fpu/cargf.c: Likewise.
22915 * sysdeps/alpha/fpu/cimagf.c: Likewise.
22916 * sysdeps/alpha/fpu/conjf.c: Likewise.
22917 * sysdeps/alpha/fpu/crealf.c: Likewise.
22918 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
22919 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
22920 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
22921 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
22922 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
22923 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
22924 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
22925 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
22926 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
22927 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
22928 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
22929 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
22930 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
22931 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
22932 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
22933 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
22934 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
22935 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
22936 (clog10f): Use libm_alias_float_other.
22937 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22938 (ceilf): Define using libm_alias_float.
22939 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
22940 (copysignf): Define using libm_alias_float.
22941 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
22942 (fabsf): Define using libm_alias_float.
22943 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
22944 (floorf): Define using libm_alias_float.
22945 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
22946 (fmaxf): Define using libm_alias_float.
22947 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
22948 (fminf): Define using libm_alias_float.
22949 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22950 (lrintf): Define using libm_alias_float.
22951 (llrintf): Likewise.
22952 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22953 (lroundf): Define using libm_alias_float.
22954 (llroundf): Likewise.
22955 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
22956 (rintf): Define using libm_alias_float.
22957 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
22958 (truncf): Define using libm_alias_float.
22959
15ff4900
JM
22960 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
22961 (ceilf): Define using libm_alias_float.
22962 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
22963 (floorf): Define using libm_alias_float.
22964 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
22965 (fmaf): Define using libm_alias_float.
22966 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
22967 (fmaxf): Define using libm_alias_float.
22968 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
22969 (fminf): Define using libm_alias_float.
22970 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
22971 (llrintf): Define using libm_alias_float.
22972 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
22973 (llroundf): Define using libm_alias_float.
22974 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
22975 (lrintf): Define using libm_alias_float.
22976 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
22977 (lroundf): Define using libm_alias_float.
22978 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
22979 <libm-alias-float.h>.
22980 (nearbyintf): Define using libm_alias_float.
22981 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
22982 (rintf): Define using libm_alias_float.
22983 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
22984 (roundf): Define using libm_alias_float.
22985 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
22986 (truncf): Define using libm_alias_float.
22987
5de60638
JM
22988 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
22989 (ceil): Define using libm_alias_double.
22990 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
22991 (copysign): Define using libm_alias_double.
22992 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
22993 (fabs): Define using libm_alias_double.
22994 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
22995 (floor): Define using libm_alias_double.
22996 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
22997 (fmax): Define using libm_alias_double.
22998 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
22999 (fmin): Define using libm_alias_double.
23000 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23001 (lrint): Define using libm_alias_double.
23002 (llrint): Likewise.
23003 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23004 (lround): Define using libm_alias_double.
23005 (llround): Likewise.
23006 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23007 (rint): Define using libm_alias_double.
23008 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23009 (trunc): Define using libm_alias_double.
23010
d8124864
JM
23011 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23012 (libm_alias_double_r): Add semicolon after weak_alias call.
23013
f07d2ec8
JM
230142017-11-27 Joseph Myers <joseph@codesourcery.com>
23015
23016 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23017 (ceil): Define using libm_alias_double.
23018 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23019 (floor): Define using libm_alias_double.
23020 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23021 (fma): Define using libm_alias_double.
23022 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23023 (fmax): Define using libm_alias_double.
23024 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23025 (fmin): Define using libm_alias_double.
23026 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23027 (llrint): Define using libm_alias_double.
23028 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23029 (llround): Define using libm_alias_double.
23030 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23031 (lrint): Define using libm_alias_double.
23032 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23033 (lround): Define using libm_alias_double.
23034 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23035 (nearbyint): Define using libm_alias_double.
23036 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23037 (rint): Define using libm_alias_double.
23038 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23039 (round): Define using libm_alias_double.
23040 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23041 (trunc): Define using libm_alias_double.
23042
4bab0224
FW
230432017-11-27 Florian Weimer <fweimer@redhat.com>
23044
23045 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23046 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23047 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23048 (tests): Add tst-mlock2.
23049 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23050 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23051 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23052 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23053 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23054 for mlock. Document mlock2.
23055
a23aa5b7
JM
230562017-11-27 Joseph Myers <joseph@codesourcery.com>
23057
23058 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23059 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23060 Likewise.
23061 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23062 Likewise.
23063 * sysdeps/x86/Makeconfig: New file.
23064 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23065 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23066 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23067 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23068 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23069 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23070 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23071 Likewise.
23072 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23073 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23074 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23075 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23076 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23077 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23078 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23079 * manual/math.texi (Mathematics): Document support for _Float64x.
23080 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23081 * stdlib/Versions (GLIBC_2.27): Likewise.
23082 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23083 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23084 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23085 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23086 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23087 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23088 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23089 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23090 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23091 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23092 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23093 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23095 Likewise.
23096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23097 Likewise.
23098 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23099 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23100 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23101 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23102 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23103 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23104 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23105 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23106 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23107 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23108 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23109 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23110 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23111 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23112
c2c299fd
AS
231132017-11-27 Andreas Schwab <schwab@suse.de>
23114
23115 * elf/Makefile (dl-routines): Add dl-sort-maps.
23116 * elf/dl-sort-maps.c: New file.
23117 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23118 (_dl_sort_maps): Declare.
23119 * elf/dl-fini.c (_dl_sort_fini): Remove.
23120 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23121 * elf/dl-close.c (_dl_close_worker): Likewise.
23122 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23123 open-coding it.
23124 * elf/dl-open.c (dl_open_worker): Likewise.
23125
9d4b0117
JM
231262017-11-24 Joseph Myers <joseph@codesourcery.com>
23127
de61465c
JM
23128 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23129 using libm_alias_float128.
23130 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23131 Likewise.
23132 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23133 Likewise.
23134 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23135 (setpayloadsigf128): Likewise.
23136 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23137 Likewise.
23138 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23139 Likewise.
23140
9ae6d171
JM
23141 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23142 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23143 -mfloat128 to CFLAGS.
23144 ($(foreach
23145 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23146 Likewise.
23147 (CFLAGS-libm-test-support-float64x.c): New variable.
23148 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23149 $(f128-loader-link) to gnulib-tests.
23150
6e70d156
JM
23151 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23152 (libm_alias_float128_other_r): If
23153 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23154 alias.
23155 (libm_alias_float128_r): Add semicolon after weak_alias call.
23156 * sysdeps/generic/libm-alias-ldouble.h
23157 (libm_alias_ldouble_other_r_f128): New macro.
23158 (libm_alias_ldouble_other_r_f64x): Likewise.
23159 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23160 and libm_alias_ldouble_other_r_f64x.
23161 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23162 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23163 (libm_alias_ldouble_other_r_f128): New macro.
23164 (libm_alias_ldouble_other_r_f64x): Likewise.
23165 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23166 and libm_alias_ldouble_other_r_f64x.
23167
df2806cd
JM
23168 * stdlib/strfroml.c: Always include <stdlib.h>.
23169 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23170 undefine as macro and define as weak alias.
23171 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23172 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23173 <stdlib.h>.
23174 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23175 Define and later undefine as macro and define as weak alias.
23176
0df4fe35
JM
23177 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23178 Define and later undefine as macro. Define as weak alias if
23179 [!USE_WIDE_CHAR].
23180 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
23181 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23182 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
23183 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23184 Define and later undefine as macro. Define as weak alias if
23185 [!USE_WIDE_CHAR].
23186 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
23187 Define and later undefine as macro. Define as weak alias if
23188 [USE_WIDE_CHAR].
23189 * sysdeps/ieee754/float128/strtof128_l.c
23190 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
23191 Define and later undefine as macro. Define as weak alias if
23192 [!USE_WIDE_CHAR].
23193 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
23194 Define and later undefine as macro. Define as weak alias if
23195 [USE_WIDE_CHAR].
23196 * sysdeps/ieee754/ldbl-128/strtold_l.c
23197 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23198 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23199 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23200 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23201 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
23202 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23203 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23204 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23205 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23206 * sysdeps/ieee754/ldbl-96/strtold_l.c
23207 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
23208 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23209 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
23210 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
23211
ae7207d0
JM
23212 * math/test-float64x.h: New file.
23213 * math/Makefile (type-float64x-yes): New variable.
23214 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
23215
9596fc69
JM
23216 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
23217 function-like macro.
23218 (min_of_type_): Likewise.
23219 (min_of_type_l): Likewise.
23220 (min_of_type_f128): Likewise.
23221 (min_of_type): Pass () as last argument of __MATH_TG.
23222
46453c3c
JM
23223 * stdlib/tst-strtod-round-skeleton.c
23224 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
23225 headers.
23226
01e659e7
JM
23227 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
23228 for combinations of long double with _Float64 and _Float64x.
23229
5c60afdd
JM
23230 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
23231 (__DECL_SIMD_cosf32): Likewise.
23232 (__DECL_SIMD_cosf64): Likewise.
23233 (__DECL_SIMD_cosf32x): Likewise.
23234 (__DECL_SIMD_cosf64x): Likewise.
23235 (__DECL_SIMD_cosf128x): Likewise.
23236 (__DECL_SIMD_sinf16): Likewise.
23237 (__DECL_SIMD_sinf32): Likewise.
23238 (__DECL_SIMD_sinf64): Likewise.
23239 (__DECL_SIMD_sinf32x): Likewise.
23240 (__DECL_SIMD_sinf64x): Likewise.
23241 (__DECL_SIMD_sinf128x): Likewise.
23242 (__DECL_SIMD_sincosf16): Likewise.
23243 (__DECL_SIMD_sincosf32): Likewise.
23244 (__DECL_SIMD_sincosf64): Likewise.
23245 (__DECL_SIMD_sincosf32x): Likewise.
23246 (__DECL_SIMD_sincosf64x): Likewise.
23247 (__DECL_SIMD_sincosf128x): Likewise.
23248 (__DECL_SIMD_logf16): Likewise.
23249 (__DECL_SIMD_logf32): Likewise.
23250 (__DECL_SIMD_logf64): Likewise.
23251 (__DECL_SIMD_logf32x): Likewise.
23252 (__DECL_SIMD_logf64x): Likewise.
23253 (__DECL_SIMD_logf128x): Likewise.
23254 (__DECL_SIMD_expf16): Likewise.
23255 (__DECL_SIMD_expf32): Likewise.
23256 (__DECL_SIMD_expf64): Likewise.
23257 (__DECL_SIMD_expf32x): Likewise.
23258 (__DECL_SIMD_expf64x): Likewise.
23259 (__DECL_SIMD_expf128x): Likewise.
23260 (__DECL_SIMD_powf16): Likewise.
23261 (__DECL_SIMD_powf32): Likewise.
23262 (__DECL_SIMD_powf64): Likewise.
23263 (__DECL_SIMD_powf32x): Likewise.
23264 (__DECL_SIMD_powf64x): Likewise.
23265 (__DECL_SIMD_powf128x): Likewise.
23266
9d4b0117
JM
23267 * stdlib/Versions (libc): Move entries for wcstof128 and
23268 wcstof128_l to ....
23269 * wcsmbs/Versions (libc): ... here.
23270 Include <float128-abi.h>.
23271
7911dd47
FW
232722017-11-24 Florian Weimer <fweimer@redhat.com>
23273
23274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23275 bits/mman-shared.h.
23276 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
23277 <bits/mman-shared.h>.
23278 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
23279 to ...
23280 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
23281 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
23282 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
23283 <bits/mman-shared.h>.
23284
c45d78aa
AZ
232852017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23286
23287 [BZ #22457]
23288 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
23289 posix_memalign/free.
23290 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
23291
3ffc4cc1
MF
232922017-11-22 Mike FABIAN <mfabian@redhat.com>
23293
23294 [BZ #22469]
23295 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
23296 and implement the collation rules for pl from CLDR on top of that.
23297 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
23298 of locales to be built for testing.
23299 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
23300
3a327316
JM
233012017-11-23 Joseph Myers <joseph@codesourcery.com>
23302
23303 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
23304 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
23305 libm_alias_ldouble_other.
23306 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
23307 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
23308 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
23309 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
23310 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
23311 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
23312 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
23313 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
23314 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
23315 libm_alias_ldouble_r.
23316 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
23317 libm_alias_ldouble_other.
23318 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
23319 (log10l): Likewise.
23320 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
23321 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
23322 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
23323 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
23324 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
23325 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
23326 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
23327 (atan2l): Likewise.
23328 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
23329 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
23330 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
23331 libm_alias_ldouble.
23332 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
23333 (cosl): Likewise.
23334 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
23335 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
23336 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
23337 (expl): Likewise.
23338 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
23339 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
23340 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
23341 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
23342 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
23343 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
23344 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
23345 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
23346 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
23347 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
23348 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
23349 libm_alias_ldouble.
23350 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
23351 libm_alias_ldouble_other.
23352 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
23353 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
23354 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
23355 libm_alias_ldouble.
23356 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
23357 libm_alias_ldouble_other.
23358 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
23359 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
23360 * sysdeps/ia64/fpu/w_lgammal_main.c
23361 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
23362 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
23363
0a947e06
FW
233642017-11-23 Florian Weimer <fweimer@redhat.com>
23365
23366 * malloc/malloc.c (tcache_thread_shutdown): Rename from
23367 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
23368 alike. Remove freeres marker.
23369 * malloc/arena.c (arena_thread_freeres): Call
23370 tcache_thread_shutdown.
23371
67f36c79
FW
233722017-11-23 Florian Weimer <fweimer@redhat.com>
23373
23374 [BZ #22459]
23375 Export nscd hash function as __nss_hash.
23376 * include/nss.h (__nss_hash): Declare.
23377 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
23378 symbol.
23379 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
23380 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
23381 of __nscd_hash.
23382 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
23383 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
23384 * nss/Makefiles (routines): Add nss_hash.
23385 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
23386 * nss/nss_hash.c: Rename from nis/nis_hash.c.
23387 (__nss_hash): Rename from __nis_hash. Define hidden alias.
23388 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
23389
cccb6d4e
FW
233902017-11-23 Florian Weimer <fweimer@redhat.com>
23391
23392 [BZ #22478]
23393 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
23394 Return error code, not -1.
23395 * signal/tst-sigwait-eintr.c: New file.
23396 * signal/Makefile (tests): Add tst-sigwait-eintr.
23397
59d2cbb1
FW
233982017-11-23 Florian Weimer <fweimer@redhat.com>
23399
23400 Linux: Add memfd_create system call wrapper
23401 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
23402 tst-memfd_create.
23403 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
23404 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
23405 [__USE_GNU] (memfd_create): Declare.
23406 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
23407 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
23408 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
23409 * sysdeps/unix/sysv/linux/**.abilist: Update.
23410 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
23411
a90d1ac2
JM
234122017-11-22 Joseph Myers <joseph@codesourcery.com>
23413
0a9d1d62
JM
23414 * localedata/gen-locale.sh: Fix typo in variable name.
23415
754034c4
JM
23416 * resolv/res_debug.c (p_secstodate): Condition definition on
23417 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
23418 directly as __p_secstodate, and as a compat symbol. Do not use
23419 libresolv_hidden_def.
23420 * resolv/resolv.h (p_secstodate): Remove macro and function
23421 declaration.
23422 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
23423 using p_secstodate.
23424 * include/resolv.h (__p_secstodate): Do not use
23425 libresolv_hidden_proto.
23426 * resolv/Makefile (tests): Move tst-p_secstodate to ....
23427 (tests-internal): ... here.
23428 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
23429 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
23430 and declare and use __p_secstodate and use compat_symbol_reference
23431 in that case.
23432 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
23433 implementation returning 77.
23434
f120cda6
JM
23435 [BZ #22463]
23436 * resolv/res_debug.c: Include <libc-diag.h>.
23437 (p_secstodate): Assert time_t at least as wide as u_long. On
23438 overflow, use integer seconds since the epoch as output, or use
23439 "<overflow>" as output and set errno to EOVERFLOW if integer
23440 seconds since the epoch would be 14 or more characters.
23441 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
23442 for sprintf call.
23443 * resolv/tst-p_secstodate.c: New file.
23444 * resolv/Makefile (tests): Add tst-p_secstodate.
23445 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
23446
a90d1ac2
JM
23447 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
23448 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23449 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
23450
0285e6bd
PE
234512017-11-22 Paul Eggert <eggert@cs.ucla.edu>
23452
23453 * posix/regcomp.c (init_word_char): Add comments.
23454
4bae6150
JM
234552017-11-22 Joseph Myers <joseph@codesourcery.com>
23456
23457 [BZ #22447]
23458 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
23459 strlen to compute length of ut_user and set trailing NUL byte of
23460 result explicitly.
23461
4b7af5fc
MF
234622017-11-21 Mike FABIAN <mfabian@redhat.com>
23463
23464 [BZ #15537]
23465 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
23466 using “copy "iso14651_t1"” and then implementing the
23467 collation rules for lv from CLDR on top of that.
23468 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
23469 of locales to be built for testing.
23470 * lv_LV.UTF-8.in: New file with test data to test the Latvian
23471 sorting.
23472
922bb78c
JM
234732017-11-21 Joseph Myers <joseph@codesourcery.com>
23474
23475 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23476 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
23477 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
23478 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
23479 [__USE_MISC] (MADV_HWPOISON): New macro.
23480 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
23481
a3aaa598
AZ
234822017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23483
23484 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
23485 -Wmissing-braces on GCC 4.9.
23486
8beba15d
SL
234872017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23488
23489 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
23490 * sysdeps/s390/s390-32/start.S (_start): Likewise
23491 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
23492 (thread_start): Likewise.
23493 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
23494 (thread_start): Likewise.
23495 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
23496 (__makecontext_ret): Likewise.
23497 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
23498 (__makecontext_ret): Likewise.
23499
80eb52e3
SL
235002017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
23501
23502 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
23503 __wcschrnul): Remove attribute_hidden.
23504
567d8c1f
PE
235052017-11-20 Paul Eggert <eggert@cs.ucla.edu>
23506
23507 regex: don't assume uint64_t or uint32_t
23508 This avoids -Werror=overflow errors for 32-bit systems in
23509 the 64-bit case. Problem reported by Joseph Myers in:
23510 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
23511 Also, when this code is used in Gnulib it ports to platforms
23512 that lack uint64_t and uint32_t. The C standard doesn't guarantee
23513 them, and on some 32-bit compilers there is no uint64_t.
23514 Problem reported by Gianluigi Tiesi in:
23515 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
23516 * posix/regcomp.c (init_word_char): Don't assume that the types
23517 uint64_t and uint32_t exist. Adapted from Gnulib patch
23518 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
23519 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
23520
4d7632ff
SP
235212017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
23522
5a67c4fa
SP
23523 * sysdeps/aarch64/memset-reg.h: New file.
23524 * sysdeps/aarch64/memset.S: Use it.
23525 (__memset): Rename to MEMSET macro.
23526 [ZVA_MACRO]: Use zva_macro.
23527 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
23528 Add memset_generic and memset_falkor.
23529 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23530 (__libc_ifunc_impl_list): Add memset ifuncs.
23531 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
23532 local variable zva_size.
23533 * sysdeps/aarch64/multiarch/memset.c: New file.
23534 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
23535 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
23536 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
23537 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
23538 (DCZID_DZP_MASK): New macro.
23539 (DCZID_BS_MASK): Likewise.
23540 (init_cpu_features): Read and set zva_size.
23541 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
23542 (struct cpu_features): New member zva_size.
23543
eb332f9f
SP
23544 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
23545 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
23546 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
23547
4d7632ff
SP
23548 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
23549 backwards. Fix timing computation.
23550 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
23551 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
23552 on memset by N at a time. Fix timing computation.
23553
a465b89e
FW
235542017-11-20 Florian Weimer <fweimer@redhat.com>
23555
23556 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
23557 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
23558
0f74bbf5
FW
235592017-11-19 Florian Weimer <fweimer@redhat.com>
23560
23561 manual: Document mprotect
23562 * manual/memory.texi (Memory Protection): New section.
23563 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
23564 documentation of PROT_* flags and reference the Memory Protection
23565 section instead.
23566
f6e965ee
FW
235672017-11-19 Florian Weimer <fweimer@redhat.com>
23568
23569 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
23570 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
23571 (Scatter-Gather): ... to here. Remove misleading comment.
23572
363e4519 235732017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 23574
5f9d1949
CB
23575 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
23576 style.
23577
ea69a5c8
CB
23578 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
23579 when /proc/<pid>/setgroups does not exist.
23580
8db7f48c
FW
235812017-11-18 Florian Weimer <fweimer@redhat.com>
23582
23583 * sysdeps/unix/sysv/linux/tst-ttyname.c
23584 (become_root_in_mount_ns): Remove.
23585 (do_in_chroot_1): Call support_enter_mount_namespace.
23586 (do_in_chroot_2): Likewise.
23587 (do_test): Call support_become_root early.
23588
273a0c49
FW
235892017-11-18 Florian Weimer <fweimer@redhat.com>
23590
23591 * support/namespace.h (support_enter_mount_namespace): Declare.
23592 * support/support_enter_mount_namespace.c: New file.
23593 * support/Makefile (libsupport-routines): Add
23594 support_enter_mount_namespace.
23595
8adfb0ee
FW
235962017-11-18 Florian Weimer <fweimer@redhat.com>
23597
23598 * support/temp_file.c (support_create_temp_directory): Use
23599 test_dir and do not rely on the presence of the XXXXXX suffix.
23600 * support/temp_file.h (support_create_temp_directory): Update
23601 comment.
23602 * support/tst-xreadlink.c (do_test): Adjust.
23603 * support/support_chroot.c (support_chroot_create): Likewise.
23604
df0c40ee
TMQMF
236052017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23606
23607 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
23608 macro.
23609 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
23610 htm-no-suspend.
23611
015c6dc2
JM
236122017-11-17 Joseph Myers <joseph@codesourcery.com>
23613
f58e5f48
JM
23614 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23615 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23616 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23617 (ceill): Define using libm_alias_ldouble.
23618 * sysdeps/x86_64/fpu/s_copysignl.S: Include
23619 <libm-alias-ldouble.h>.
23620 (copysignl): Define using libm_alias_ldouble.
23621 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23622 (fabsl): Define using libm_alias_ldouble.
23623 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23624 (floorl): Define using libm_alias_ldouble.
23625 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23626 (fmaxl): Define using libm_alias_ldouble.
23627 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23628 (fminl): Define using libm_alias_ldouble.
23629 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23630 (llrintl): Define using libm_alias_ldouble.
23631 (lrintl): Likewise.
23632 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
23633 <libm-alias-ldouble.h>.
23634 (nearbyintl): Define using libm_alias_ldouble.
23635 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23636 (truncl): Define using libm_alias_ldouble.
23637 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
23638 <libm-alias-ldouble.h>.
23639 (lrintl): Define using libm_alias_ldouble.
23640
2ce30701
JM
23641 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
23642 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
23643 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
23644 (asinhl): Define using libm_alias_ldouble.
23645 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
23646 (atanl): Define using libm_alias_ldouble.
23647 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
23648 (cbrtl): Define using libm_alias_ldouble.
23649 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
23650 (ceill): Define using libm_alias_ldouble.
23651 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
23652 (copysignl): Define using libm_alias_ldouble.
23653 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
23654 (fabsl): Define using libm_alias_ldouble.
23655 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
23656 (floorl): Define using libm_alias_ldouble.
23657 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23658 (fmaxl): Define using libm_alias_ldouble.
23659 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23660 (fminl): Define using libm_alias_ldouble.
23661 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
23662 (frexpl): Define using libm_alias_ldouble.
23663 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
23664 (llrintl): Define using libm_alias_ldouble.
23665 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
23666 (logbl): Define using libm_alias_ldouble.
23667 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
23668 (lrintl): Define using libm_alias_ldouble.
23669 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
23670 (nearbyintl): Define using libm_alias_ldouble.
23671 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
23672 (nextafterl): Define using libm_alias_ldouble.
23673 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
23674 (remquol): Define using libm_alias_ldouble.
23675 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
23676 (rintl): Define using libm_alias_ldouble.
23677 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
23678 (truncl): Define using libm_alias_ldouble.
23679 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
23680 (fmaxl): Define using libm_alias_ldouble.
23681 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
23682 (fminl): Define using libm_alias_ldouble.
23683
015c6dc2
JM
23684 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
23685 to C syntax instead of availability and properties of types.
23686 * bits/floatn.h [!__ASSEMBLER]: Likewise.
23687 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
23688 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
23689 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
23690 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
23691 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
23692
ce003e5d
FW
236932017-11-17 Florian Weimer <fweimer@redhat.com>
23694
23695 support_become_root: Enable file creation in namespaces.
23696 * support/support_become_root.c (setup_mapping): New function.
23697 (support_become_root): Call it.
23698
e7df6c5c
JM
236992017-11-17 Joseph Myers <joseph@codesourcery.com>
23700
23701 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
23702 macro.
23703
58a813bf
AZ
237042017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23705
23706 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
23707 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
23708
f97773d1
JM
237092017-11-16 Joseph Myers <joseph@codesourcery.com>
23710
6a6aa1f3
JM
23711 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
23712
f97773d1
JM
23713 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
23714 version to 4.14.
23715
a306c790
SP
237162017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
23717
7b0fb870
SP
23718 * INSTALL: Fix botched up regeneration.
23719
23720 * NEWS: Update sourceare link to https.
a306c790
SP
23721 * configure.ac: Likewise.
23722 * crypt/md5test-giant.c: Likewise.
23723 * dlfcn/bug-atexit1.c: Likewise.
23724 * dlfcn/bug-atexit2.c: Likewise.
23725 * localedata/README: Likewise.
23726 * malloc/tst-mallocfork.c: Likewise.
23727 * manual/install.texi: Likewise.
23728 * nptl/tst-pthread-getattr.c: Likewise.
23729 * stdio-common/tst-fgets.c: Likewise.
23730 * stdio-common/tst-fwrite.c: Likewise.
23731 * sunrpc/Makefile: Likewise.
23732 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
23733 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
23734 * configure: Regenerate.
23735 * INSTALL: Regenerate.
a306c790 23736
7532837d
MS
237372017-11-15 Martin Sebor <msebor@redhat.com>
23738
23739 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
23740 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
23741 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
23742
495a56fd
LS
237432017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23744
d9611e30
LS
23745 [BZ #22145]
23746 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
23747 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
23748
a09dfc19
LS
23749 [BZ #22145]
23750 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
23751 Defer is_pty check until end of the function.
23752 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23753
2fbce9c2
LS
23754 [BZ #22145]
23755 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
23756 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
23757 (ttyname): Likewise.
23758 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
23759 (__ttyname_r): Likewise.
23760
d10d6cab
LS
23761 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
23762 int to bool.
23763
9b5a8750
LS
23764 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
23765
495a56fd
LS
23766 * manual/terminal.texi (Is It a Terminal):
23767 Mention ENODEV for ttyname and ttyname_r.
23768
fa680dc6
JM
237692017-11-15 Joseph Myers <joseph@codesourcery.com>
23770
78cde19f
JM
23771 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
23772 constant and macro.
23773
fa680dc6
JM
23774 * sysdeps/unix/sysv/linux/bits/mman-linux.h
23775 [__USE_MISC] (MADV_WIPEONFORK): New macro.
23776 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23777 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
23778 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
23779 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
23780
ad4f43a2
AZ
237812017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23782
1ba1d8a4
AZ
23783 * signal/sigrelse.c (sigrelse): Optimize implementation.
23784
ad4f43a2
AZ
23785 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
23786 (__sigpause): Rely on __sigsuspend to implement single thread
23787 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
23788
d0212d42
JM
237892017-11-15 Joseph Myers <joseph@codesourcery.com>
23790
23791 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
23792 kernel version to 4.14.
23793
2180fee1
SE
237942017-11-15 Steve Ellcey <sellcey@cavium.com>
23795
23796 [BZ #22442]
23797 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
23798 Check if ifname is too long.
23799
cad7ca39
LS
238002017-11-15 Luke Shumaker <lukeshu@parabola.nu>
23801
23802 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
23803
58c9f659
MF
238042017-11-15 Mike FABIAN <mfabian@redhat.com>
23805
23806 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
23807 was accidentally lost.
23808
0fa87c01
MF
238092017-11-15 Mike FABIAN <mfabian@redhat.com>
23810
23811 * localedata/locales/az_IR: Add standard copyright header.
23812
34eb4157
FW
238132017-11-15 Florian Weimer <fweimer@redhat.com>
23814
23815 [BZ #22439]
23816 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
23817 not just the top one. Output a new "subheaps" statistic.
23818
7a9368a1
FW
238192017-11-15 Florian Weimer <fweimer@redhat.com>
23820
23821 [BZ #22408]
23822 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
23823 under the per-arena lock.
23824 * malloc/Makefile (tests): Add tst-malloc_info.
23825 (tst-malloc_info): Link with libpthread.
23826 * malloc/tst-malloc_info.c: New file.
23827
be3a79a3
JM
238282017-11-15 Joseph Myers <joseph@codesourcery.com>
23829
23830 [BZ #21660]
23831 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
23832 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
23833 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
23834 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
23835 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
23836 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
23837 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
23838 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
23839 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
23840 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
23841 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
23842 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
23843 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
23844 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
23845 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
23846 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
23847 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
23848 (__floating_type): Likewise.
23849 (__real_integer_type): Likewise.
23850 (__complex_integer_type): Likewise.
23851 (__expr_is_real): Likewise.
23852 (__tgmath_real_type_sub): Likewise.
23853 (__tgmath_real_type): Likewise.
23854 (__tgmath_complex_type_sub): Likewise.
23855 (__tgmath_complex_type): Likewise.
23856 (__TGMATH_F128): Likewise.
23857 (__TGMATH_CF128): Likewise.
23858 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
23859 new macros.
23860 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
23861 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
23862 Likewise.
23863 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
23864 Likewise.
23865 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
23866 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
23867 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
23868 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
23869 Likewise.
23870 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
23871 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
23872 Likewise.
23873 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
23874 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
23875 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
23876 Likewise.
23877 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
23878 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
23879 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
23880 (cimag): Likewise.
23881 (creal): Likewise.
23882
ec72135e
JM
238832017-11-14 Joseph Myers <joseph@codesourcery.com>
23884
2e64ec9c
JM
23885 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
23886 for stpncpy calls for GCC 8.
23887 (test_strncat): Disable -Wstringop-truncation warning for strncat
23888 calls for GCC 8. Disable -Wstringop-overflow= warning for one
23889 strncat call for GCC 7.
23890 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
23891 calls for GCC 8.
23892 (test_memcmp): Use memcpy instead of strncpy for calls not copying
23893 trailing NUL.
23894
ec72135e
JM
23895 * string/bug-strncat1.c: Include <libc-diag.h>.
23896 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
23897
363e4519 238982017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
23899
23900 [BZ #22387]
23901 * localedata/locales/aa_DJ: Improved readibility by replacing
23902 <Uxxxx> sequences in the ASCII printable range by their ASCII
23903 character equivalents.
23904 * localedata/locales/aa_ER: Likewise.
23905 * localedata/locales/aa_ER@saaho: Likewise.
23906 * localedata/locales/aa_ET: Likewise.
23907 * localedata/locales/af_ZA: Likewise.
23908 * localedata/locales/agr_PE: Likewise.
23909 * localedata/locales/ak_GH: Likewise.
23910 * localedata/locales/am_ET: Likewise.
23911 * localedata/locales/anp_IN: Likewise.
23912 * localedata/locales/ar_AE: Likewise.
23913 * localedata/locales/ar_BH: Likewise.
23914 * localedata/locales/ar_DZ: Likewise.
23915 * localedata/locales/ar_EG: Likewise.
23916 * localedata/locales/ar_IN: Likewise.
23917 * localedata/locales/ar_IQ: Likewise.
23918 * localedata/locales/ar_JO: Likewise.
23919 * localedata/locales/ar_KW: Likewise.
23920 * localedata/locales/ar_LB: Likewise.
23921 * localedata/locales/ar_LY: Likewise.
23922 * localedata/locales/ar_MA: Likewise.
23923 * localedata/locales/ar_OM: Likewise.
23924 * localedata/locales/ar_QA: Likewise.
23925 * localedata/locales/ar_SA: Likewise.
23926 * localedata/locales/ar_SD: Likewise.
23927 * localedata/locales/ar_SS: Likewise.
23928 * localedata/locales/ar_SY: Likewise.
23929 * localedata/locales/ar_TN: Likewise.
23930 * localedata/locales/ar_YE: Likewise.
23931 * localedata/locales/as_IN: Likewise.
23932 * localedata/locales/ast_ES: Likewise.
23933 * localedata/locales/ayc_PE: Likewise.
23934 * localedata/locales/az_AZ: Likewise.
23935 * localedata/locales/az_IR: Likewise.
23936 * localedata/locales/be_BY: Likewise.
23937 * localedata/locales/be_BY@latin: Likewise.
23938 * localedata/locales/bem_ZM: Likewise.
23939 * localedata/locales/ber_DZ: Likewise.
23940 * localedata/locales/ber_MA: Likewise.
23941 * localedata/locales/bg_BG: Likewise.
23942 * localedata/locales/bhb_IN: Likewise.
23943 * localedata/locales/bho_IN: Likewise.
23944 * localedata/locales/bi_VU: Likewise.
23945 * localedata/locales/bn_BD: Likewise.
23946 * localedata/locales/bn_IN: Likewise.
23947 * localedata/locales/bo_CN: Likewise.
23948 * localedata/locales/bo_IN: Likewise.
23949 * localedata/locales/br_FR: Likewise.
23950 * localedata/locales/brx_IN: Likewise.
23951 * localedata/locales/bs_BA: Likewise.
23952 * localedata/locales/byn_ER: Likewise.
23953 * localedata/locales/ca_AD: Likewise.
23954 * localedata/locales/ca_ES: Likewise.
23955 * localedata/locales/ca_FR: Likewise.
23956 * localedata/locales/ca_IT: Likewise.
23957 * localedata/locales/ce_RU: Likewise.
23958 * localedata/locales/chr_US: Likewise.
23959 * localedata/locales/cmn_TW: Likewise.
23960 * localedata/locales/crh_UA: Likewise.
23961 * localedata/locales/cs_CZ: Likewise.
23962 * localedata/locales/csb_PL: Likewise.
23963 * localedata/locales/cv_RU: Likewise.
23964 * localedata/locales/cy_GB: Likewise.
23965 * localedata/locales/da_DK: Likewise.
23966 * localedata/locales/de_AT: Likewise.
23967 * localedata/locales/de_BE: Likewise.
23968 * localedata/locales/de_CH: Likewise.
23969 * localedata/locales/de_DE: Likewise.
23970 * localedata/locales/de_IT: Likewise.
23971 * localedata/locales/de_LI: Likewise.
23972 * localedata/locales/de_LU: Likewise.
23973 * localedata/locales/doi_IN: Likewise.
23974 * localedata/locales/dv_MV: Likewise.
23975 * localedata/locales/dz_BT: Likewise.
23976 * localedata/locales/el_CY: Likewise.
23977 * localedata/locales/el_GR: Likewise.
23978 * localedata/locales/en_AG: Likewise.
23979 * localedata/locales/en_AU: Likewise.
23980 * localedata/locales/en_BW: Likewise.
23981 * localedata/locales/en_CA: Likewise.
23982 * localedata/locales/en_DK: Likewise.
23983 * localedata/locales/en_GB: Likewise.
23984 * localedata/locales/en_HK: Likewise.
23985 * localedata/locales/en_IE: Likewise.
23986 * localedata/locales/en_IL: Likewise.
23987 * localedata/locales/en_IN: Likewise.
23988 * localedata/locales/en_NG: Likewise.
23989 * localedata/locales/en_NZ: Likewise.
23990 * localedata/locales/en_PH: Likewise.
23991 * localedata/locales/en_SG: Likewise.
23992 * localedata/locales/en_US: Likewise.
23993 * localedata/locales/en_ZA: Likewise.
23994 * localedata/locales/en_ZM: Likewise.
23995 * localedata/locales/en_ZW: Likewise.
23996 * localedata/locales/eo: Likewise.
23997 * localedata/locales/es_AR: Likewise.
23998 * localedata/locales/es_BO: Likewise.
23999 * localedata/locales/es_CL: Likewise.
24000 * localedata/locales/es_CO: Likewise.
24001 * localedata/locales/es_CR: Likewise.
24002 * localedata/locales/es_CU: Likewise.
24003 * localedata/locales/es_DO: Likewise.
24004 * localedata/locales/es_EC: Likewise.
24005 * localedata/locales/es_ES: Likewise.
24006 * localedata/locales/es_GT: Likewise.
24007 * localedata/locales/es_HN: Likewise.
24008 * localedata/locales/es_MX: Likewise.
24009 * localedata/locales/es_NI: Likewise.
24010 * localedata/locales/es_PA: Likewise.
24011 * localedata/locales/es_PE: Likewise.
24012 * localedata/locales/es_PR: Likewise.
24013 * localedata/locales/es_PY: Likewise.
24014 * localedata/locales/es_SV: Likewise.
24015 * localedata/locales/es_US: Likewise.
24016 * localedata/locales/es_UY: Likewise.
24017 * localedata/locales/es_VE: Likewise.
24018 * localedata/locales/et_EE: Likewise.
24019 * localedata/locales/eu_ES: Likewise.
24020 * localedata/locales/eu_ES@euro: Likewise.
24021 * localedata/locales/fa_IR: Likewise.
24022 * localedata/locales/ff_SN: Likewise.
24023 * localedata/locales/fi_FI: Likewise.
24024 * localedata/locales/fil_PH: Likewise.
24025 * localedata/locales/fo_FO: Likewise.
24026 * localedata/locales/fr_BE: Likewise.
24027 * localedata/locales/fr_CA: Likewise.
24028 * localedata/locales/fr_CH: Likewise.
24029 * localedata/locales/fr_FR: Likewise.
24030 * localedata/locales/fr_LU: Likewise.
24031 * localedata/locales/fur_IT: Likewise.
24032 * localedata/locales/fy_DE: Likewise.
24033 * localedata/locales/fy_NL: Likewise.
24034 * localedata/locales/ga_IE: Likewise.
24035 * localedata/locales/gd_GB: Likewise.
24036 * localedata/locales/gez_ER: Likewise.
24037 * localedata/locales/gez_ET: Likewise.
24038 * localedata/locales/gl_ES: Likewise.
24039 * localedata/locales/gu_IN: Likewise.
24040 * localedata/locales/gv_GB: Likewise.
24041 * localedata/locales/ha_NG: Likewise.
24042 * localedata/locales/hak_TW: Likewise.
24043 * localedata/locales/he_IL: Likewise.
24044 * localedata/locales/hi_IN: Likewise.
24045 * localedata/locales/hif_FJ: Likewise.
24046 * localedata/locales/hne_IN: Likewise.
24047 * localedata/locales/hr_HR: Likewise.
24048 * localedata/locales/hsb_DE: Likewise.
24049 * localedata/locales/ht_HT: Likewise.
24050 * localedata/locales/hu_HU: Likewise.
24051 * localedata/locales/hy_AM: Likewise.
24052 * localedata/locales/i18n: Likewise.
24053 * localedata/locales/ia_FR: Likewise.
24054 * localedata/locales/id_ID: Likewise.
24055 * localedata/locales/ig_NG: Likewise.
24056 * localedata/locales/ik_CA: Likewise.
24057 * localedata/locales/is_IS: Likewise.
24058 * localedata/locales/it_CH: Likewise.
24059 * localedata/locales/it_IT: Likewise.
24060 * localedata/locales/iu_CA: Likewise.
24061 * localedata/locales/ja_JP: Likewise.
24062 * localedata/locales/ka_GE: Likewise.
24063 * localedata/locales/kk_KZ: Likewise.
24064 * localedata/locales/kl_GL: Likewise.
24065 * localedata/locales/kn_IN: Likewise.
24066 * localedata/locales/ko_KR: Likewise.
24067 * localedata/locales/kok_IN: Likewise.
24068 * localedata/locales/ks_IN: Likewise.
24069 * localedata/locales/ks_IN@devanagari: Likewise.
24070 * localedata/locales/ku_TR: Likewise.
24071 * localedata/locales/kw_GB: Likewise.
24072 * localedata/locales/ky_KG: Likewise.
24073 * localedata/locales/lb_LU: Likewise.
24074 * localedata/locales/lg_UG: Likewise.
24075 * localedata/locales/li_BE: Likewise.
24076 * localedata/locales/li_NL: Likewise.
24077 * localedata/locales/lij_IT: Likewise.
24078 * localedata/locales/ln_CD: Likewise.
24079 * localedata/locales/lo_LA: Likewise.
24080 * localedata/locales/lt_LT: Likewise.
24081 * localedata/locales/lv_LV: Likewise.
24082 * localedata/locales/lzh_TW: Likewise.
24083 * localedata/locales/mag_IN: Likewise.
24084 * localedata/locales/mai_IN: Likewise.
24085 * localedata/locales/mg_MG: Likewise.
24086 * localedata/locales/mhr_RU: Likewise.
24087 * localedata/locales/mi_NZ: Likewise.
24088 * localedata/locales/mk_MK: Likewise.
24089 * localedata/locales/ml_IN: Likewise.
24090 * localedata/locales/mn_MN: Likewise.
24091 * localedata/locales/mni_IN: Likewise.
24092 * localedata/locales/mr_IN: Likewise.
24093 * localedata/locales/ms_MY: Likewise.
24094 * localedata/locales/mt_MT: Likewise.
24095 * localedata/locales/my_MM: Likewise.
24096 * localedata/locales/nan_TW: Likewise.
24097 * localedata/locales/nan_TW@latin: Likewise.
24098 * localedata/locales/nb_NO: Likewise.
24099 * localedata/locales/nds_DE: Likewise.
24100 * localedata/locales/nds_NL: Likewise.
24101 * localedata/locales/ne_NP: Likewise.
24102 * localedata/locales/nhn_MX: Likewise.
24103 * localedata/locales/niu_NU: Likewise.
24104 * localedata/locales/niu_NZ: Likewise.
24105 * localedata/locales/nl_AW: Likewise.
24106 * localedata/locales/nl_BE: Likewise.
24107 * localedata/locales/nl_NL: Likewise.
24108 * localedata/locales/nn_NO: Likewise.
24109 * localedata/locales/nr_ZA: Likewise.
24110 * localedata/locales/nso_ZA: Likewise.
24111 * localedata/locales/oc_FR: Likewise.
24112 * localedata/locales/om_ET: Likewise.
24113 * localedata/locales/om_KE: Likewise.
24114 * localedata/locales/or_IN: Likewise.
24115 * localedata/locales/os_RU: Likewise.
24116 * localedata/locales/pa_IN: Likewise.
24117 * localedata/locales/pa_PK: Likewise.
24118 * localedata/locales/pap_AW: Likewise.
24119 * localedata/locales/pap_CW: Likewise.
24120 * localedata/locales/pl_PL: Likewise.
24121 * localedata/locales/ps_AF: Likewise.
24122 * localedata/locales/pt_BR: Likewise.
24123 * localedata/locales/pt_PT: Likewise.
24124 * localedata/locales/quz_PE: Likewise.
24125 * localedata/locales/raj_IN: Likewise.
24126 * localedata/locales/ro_RO: Likewise.
24127 * localedata/locales/ru_RU: Likewise.
24128 * localedata/locales/ru_UA: Likewise.
24129 * localedata/locales/rw_RW: Likewise.
24130 * localedata/locales/sa_IN: Likewise.
24131 * localedata/locales/sat_IN: Likewise.
24132 * localedata/locales/sc_IT: Likewise.
24133 * localedata/locales/sd_IN: Likewise.
24134 * localedata/locales/sd_IN@devanagari: Likewise.
24135 * localedata/locales/se_NO: Likewise.
24136 * localedata/locales/sgs_LT: Likewise.
24137 * localedata/locales/shs_CA: Likewise.
24138 * localedata/locales/si_LK: Likewise.
24139 * localedata/locales/sid_ET: Likewise.
24140 * localedata/locales/sk_SK: Likewise.
24141 * localedata/locales/sl_SI: Likewise.
24142 * localedata/locales/sm_WS: Likewise.
24143 * localedata/locales/so_DJ: Likewise.
24144 * localedata/locales/so_ET: Likewise.
24145 * localedata/locales/so_KE: Likewise.
24146 * localedata/locales/so_SO: Likewise.
24147 * localedata/locales/sq_AL: Likewise.
24148 * localedata/locales/sq_MK: Likewise.
24149 * localedata/locales/sr_ME: Likewise.
24150 * localedata/locales/sr_RS: Likewise.
24151 * localedata/locales/sr_RS@latin: Likewise.
24152 * localedata/locales/ss_ZA: Likewise.
24153 * localedata/locales/st_ZA: Likewise.
24154 * localedata/locales/sv_FI: Likewise.
24155 * localedata/locales/sv_SE: Likewise.
24156 * localedata/locales/sw_KE: Likewise.
24157 * localedata/locales/sw_TZ: Likewise.
24158 * localedata/locales/szl_PL: Likewise.
24159 * localedata/locales/ta_IN: Likewise.
24160 * localedata/locales/ta_LK: Likewise.
24161 * localedata/locales/tcy_IN: Likewise.
24162 * localedata/locales/te_IN: Likewise.
24163 * localedata/locales/tg_TJ: Likewise.
24164 * localedata/locales/th_TH: Likewise.
24165 * localedata/locales/the_NP: Likewise.
24166 * localedata/locales/ti_ER: Likewise.
24167 * localedata/locales/ti_ET: Likewise.
24168 * localedata/locales/tig_ER: Likewise.
24169 * localedata/locales/tk_TM: Likewise.
24170 * localedata/locales/tl_PH: Likewise.
24171 * localedata/locales/tn_ZA: Likewise.
24172 * localedata/locales/to_TO: Likewise.
24173 * localedata/locales/tpi_PG: Likewise.
24174 * localedata/locales/tr_CY: Likewise.
24175 * localedata/locales/tr_TR: Likewise.
24176 * localedata/locales/ts_ZA: Likewise.
24177 * localedata/locales/tt_RU: Likewise.
24178 * localedata/locales/tt_RU@iqtelif: Likewise.
24179 * localedata/locales/ug_CN: Likewise.
24180 * localedata/locales/uk_UA: Likewise.
24181 * localedata/locales/unm_US: Likewise.
24182 * localedata/locales/ur_IN: Likewise.
24183 * localedata/locales/ur_PK: Likewise.
24184 * localedata/locales/uz_UZ: Likewise.
24185 * localedata/locales/uz_UZ@cyrillic: Likewise.
24186 * localedata/locales/ve_ZA: Likewise.
24187 * localedata/locales/vi_VN: Likewise.
24188 * localedata/locales/wa_BE: Likewise.
24189 * localedata/locales/wae_CH: Likewise.
24190 * localedata/locales/wal_ET: Likewise.
24191 * localedata/locales/wo_SN: Likewise.
24192 * localedata/locales/xh_ZA: Likewise.
24193 * localedata/locales/yi_US: Likewise.
24194 * localedata/locales/yo_NG: Likewise.
24195 * localedata/locales/yue_HK: Likewise.
24196 * localedata/locales/yuw_PG: Likewise.
24197 * localedata/locales/zh_CN: Likewise.
24198 * localedata/locales/zh_HK: Likewise.
24199 * localedata/locales/zh_SG: Likewise.
24200 * localedata/locales/zh_TW: Likewise.
24201 * localedata/locales/zu_ZA: Likewise.
24202
cae87e64
FW
242032017-11-13 Florian Weimer <fweimer@redhat.com>
24204
24205 * support/next_to_fault.h, support/next_to_fault.c: New files.
24206 * support/Makefile (libsupport-routines): Add next_to_fault.
24207 * resolv/tst-inet_pton.c (struct next_to_fault)
24208 (next_to_fault_allocate, next_to_fault_free): Remove.
24209 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
24210
4a306ef1
L
242112017-11-13 H.J. Lu <hongjiu.lu@intel.com>
24212
24213 * elf/dl-support.c: Include <dl-procruntime.c>.
24214 * include/link.h: Include <link_map.h>.
24215 * sysdeps/generic/dl-procruntime.c: New file.
24216 * sysdeps/generic/link_map.h: Likewise.
24217 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
24218 the writable ld.so namespace.
24219
e69897bf
PE
242202017-11-12 Paul Eggert <eggert@cs.ucla.edu>
24221
24222 timezone: pacify GCC -Wstringop-truncation
24223 Problem reported by Martin Sebor in:
24224 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
24225 * timezone/zic.c (writezone): Use memcpy, not strncpy.
24226
1ffe1ccb
FW
242272017-11-12 Florian Weimer <fweimer@redhat.com>
24228
eceed671
FW
24229 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
24230 tst-xreadlink.
24231 (tests): Add tst-xreadlink.
1ffe1ccb
FW
24232 * support/support.h (xstrndup): Declare.
24233 * support/xunistd.h (xunlink, xreadlink): Declare.
24234 * support/temp_file.h (support_create_temp_directory): Declare.
24235 * support/temp_file.c (support_create_temp_directory): New function.
24236 * support/support_chroot.c (support_chroot_create): Use it.
24237 * support/xreadlink.c: New file.
24238 * support/xstrndup.c: Likewise.
24239 * support/xunlink.c: Likewise.
24240 * support/tst-xreadlink.c: Likewise.
24241
456b40a9
JDA
242422017-11-11 John David Anglin <danglin@gcc.gnu.org>
24243
24244 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
24245
c0a25aa9
FW
242462017-11-11 Florian Weimer <fweimer@redhat.com>
24247
24248 [BZ #22409]
24249 [BZ #22412]
24250 * resolv/res_comp.c (printable_string, binary_hnok)
24251 (binary_leading_dash): New functions.
24252 (res_hnok): Reimplement using these functions and ns_name_pton.
24253 (res_ownok): Likewise.
24254 (res_mailok): Reimplement using printable_string, ns_name_pton and
24255 binary_hnok.
24256 (res_dnok): Reimplement using printable_string and ns_name_pton.
24257 * resolv/tst-res_hnok.c (tests): Add additional tests.
24258 (LETTERDIGITS, PRINTABLE): Define.
24259 (do_test): Adjust one_char results.
24260
9e0ad304
FW
242612017-11-11 Florian Weimer <fweimer@redhat.com>
24262
24263 [BZ #22413]
24264 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
24265 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
24266
e2a9fca8
FW
242672017-11-11 Florian Weimer <fweimer@redhat.com>
24268
24269 * resolv/tst-ns_name_pton.c: New file.
24270 * resolv/Makefile (tests): Add tst-ns_name_pton.
24271 (tst-ns_name_pton): Link against libresolv.
24272
5c1a6923
FW
242732017-11-11 Florian Weimer <fweimer@redhat.com>
24274
24275 * resolv/tst-res_hnok.c: New file.
24276 * resolv/Makefile (tests): Add tst-res_hnok.
24277 (tst-res_hnok): Link against libresolv.
24278
a19c0a1d
FW
242792017-11-11 Florian Weimer <fweimer@redhat.com>
24280
24281 * resolv/tst-resolv-network.c: Use test framework instead explicit
24282 main function.
24283
8cb5295d
L
242842017-11-09 H.J. Lu <hongjiu.lu@intel.com>
24285
24286 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
24287 <jmp_buf-macros.h>.
24288 [!_ISOMAC] (STR_HELPER): New.
24289 [!_ISOMAC] (STR): Likewise.
24290 [!_ISOMAC] (TEST_SIZE): Likewise.
24291 [!_ISOMAC] (TEST_ALIGN): Likewise.
24292 [!_ISOMAC] (TEST_OFFSET): Likewise.
24293 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
24294 field offsets of jmp_buf as well as sigjmp_buf.
24295 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
24296 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
24297 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
24298 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
24299 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
24300 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
24301 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
24302 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
24303 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
24304 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
24305 Likewise.
24306 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
24307 Likewise.
24308 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
24309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
24310 Likewise.
24311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
24312 Likewise.
24313 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
24314 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
24315 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
24316 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
24317 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
24318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
24319 Likewise.
24320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
24321 Likewise.
24322 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
24323 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
24324 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
24325
58c4a161
JM
243262017-11-07 Joseph Myers <joseph@codesourcery.com>
24327
3683b423
JM
24328 * include/float.h
24329 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24330 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
24331 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24332 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
24333 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24334 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
24335 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24336 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
24337 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24338 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
24339 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24340 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
24341 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24342 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
24343 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24344 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
24345 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24346 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
24347 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24348 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
24349 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24350 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
24351 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24352 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
24353 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24354 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
24355 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24356 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
24357 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24358 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
24359 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24360 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
24361 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24362 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
24363 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24364 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
24365 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24366 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
24367 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24368 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
24369 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24370 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
24371 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24372 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
24373 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24374 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
24375 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24376 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
24377 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24378 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
24379 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24380 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
24381 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24382 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
24383 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24384 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
24385 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24386 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
24387 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24388 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
24389 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24390 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
24391 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24392 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
24393 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24394 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
24395 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24396 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
24397 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24398 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
24399 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24400 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
24401 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24402 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
24403 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24404 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
24405 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24406 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
24407 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24408 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
24409 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24410 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
24411 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24412 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
24413 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24414 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
24415 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
24416 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
24417
58c4a161
JM
24418 * stdlib/tst-strtod.h (F16): New macro.
24419 (F32): Likewise.
24420 (F64): Likewise.
24421 (F32X): Likewise.
24422 (F64X): Likewise.
24423 (F128X): Likewise.
24424 (IF_FLOAT16): Likewise.
24425 (IF_FLOAT32): Likewise.
24426 (IF_FLOAT64): Likewise.
24427 (IF_FLOAT32X): Likewise.
24428 (IF_FLOAT64X): Likewise.
24429 (IF_FLOAT128X): Likewise.
24430 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
24431 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
24432 (STRTOD_TEST_FOREACH): Likewise.
24433 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
24434 (CHOOSE_f64): Likewise.
24435 (CHOOSE_f32x): Likewise.
24436 (CHOOSE_f64x): Likewise.
24437
feda96a1
AS
244382017-11-07 Andreas Schwab <schwab@suse.de>
24439
24440 * nptl/Makefile (tests-internal): Remove tst-typesizes.
24441
1bd0cbb8
MF
244422017-11-07 Mike FABIAN <mfabian@redhat.com>
24443
24444 [BZ #22403]
24445 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
24446 to be escaped.
24447 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
24448 to be escaped.
24449
363e4519 244502017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
24451
24452 [BZ #22403]
24453 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
24454 to be escaped.
24455 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
24456 to be escaped.
24457 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
24458 to be escaped.
24459
dff91cd4
AZ
244602017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24461
06be6368
AZ
24462 [BZ #22298]
24463 * nptl/allocatestack.c (allocate_stack): Check if
24464 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
24465 __PTHREAD_MUTEX_HAVE_PREV is defined.
24466 * nptl/descr.h (pthread): Likewise.
24467 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24468 Likewise.
24469 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24470 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24471 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
24472 * sysdeps/nptl/bits/thread-shared-types.h
24473 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24474 defines.
24475 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
24476 of __WORDSIZE for internal layout.
24477 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
24478 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
24479 instead of __WORDSIZE whether to use an union for __spins and __list
24480 fields.
24481 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
24482 case.
24483 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
24484 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
24485 defines.
24486 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
24487 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24488 Likewise.
24489 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
24490 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24491 Likewise.
24492 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
24493 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24494 Likewise.
24495 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
24496 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24497 Likewise.
24498 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
24499 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24500 Likewise.
24501 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
24502 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24503 Likewise.
24504 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
24505 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24506 Likewise.
24507 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
24508 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24509 Likewise.
24510 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
24511 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24512 Likewise.
24513 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
24514 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24515 Likewise.
24516 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
24517 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24518 Likewise.
24519 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
24520 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24521 Likewise.
24522 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
24523 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24524 Likewise.
24525 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
24526 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
24527 Likewise.
24528
72b3c6ee
AZ
24529 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
24530 New macros.
24531 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
24532 checks for expected input type size.
24533 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24534 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
24535 Likewise.
24536 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
24537 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
24538 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24539 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
24540 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24541 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
24542 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
24543 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
24544 superflous runtime assert check.
24545 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
24546 Likewise.
24547 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
24548 Likewise.
24549 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24550 Likewise.
24551 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
24552 Likewise.
24553 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
24554 Likewise.
24555 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
24556 Likewise.
24557 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
24558 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
24559 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24560 Likewise.
24561 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24562 Likewise.
24563 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24564 Likewise.
24565 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
24566 Likewise.
24567 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24568 Likewise.
24569 * nptl/pthread_attr_setinheritsched.c
24570 (__pthread_attr_setinheritsched): Likewise.
24571 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
24572 Likewise.
24573 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
24574 Likewise.
24575 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
24576 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
24577 __old_pthread_attr_setstack): Likewise.
24578 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24579 Likewise.
24580 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24581 Likewise.
24582 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
24583 Likewise.
24584 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24585 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24586 Likewise.
24587 * nptl/tst-typesizes.c: Remove file.
24588
dff91cd4
AZ
24589 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
24590 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
24591 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
24592 checks for internal pthread_mutex_t offsets.
24593 * sysdeps/aarch64/nptl/pthread-offsets.h
24594 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
24595 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
24596 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
24597 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
24598 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
24599 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
24600 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
24601 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
24602 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
24603 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
24604 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
24605 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
24606 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
24607 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
24608 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
24609 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
24610 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
24611 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
24612
b7fc95f8
FW
246132017-11-07 Florian Weimer <fweimer@redhat.com>
24614
24615 * bits/mman-linux.h: Move ...
24616 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
24617 comment.
24618 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
24619 outdated comment.
24620
6b860364
RS
246212017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24622
24623 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
24624 Redefine STRNLEN as __strnlen_power8.
24625
802c1f16
AZ
246262017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24627
d83da3a4
AZ
24628 * signal/sighold.c (sighold): Optimize implementation.
24629
6a4235f1
AZ
24630 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
24631 __NR_rt_sigqueueinfo.
24632
8b0e795a
AZ
24633 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
24634 __sigtimedwait.
24635 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
24636 assume __NR_rt_sigtimedwait.
24637 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
24638 and add LIBC_CANCEL_HANDLED for cancellation marking.
24639 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24640
a1a638dd
AZ
24641 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24642 (sysdeps_routines): Add memchr_noneon.
24643 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
24644 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
24645 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
24646 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
24647 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
24648 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
24649 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
24650
802c1f16
AZ
24651 * sysdeps/arm/arm-ifunc.h: New file.
24652 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
24653 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
24654 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
24655 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
24656 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
24657 (__memcpy_neon): Avoid create hidden alias.
24658 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
24659 (__memcpy_vfp): Likewise.
24660 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
24661 (sysdep_routines): Add memcpy_arm.
24662 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
24663
abcb584d
L
246642017-11-06 H.J. Lu <hongjiu.lu@intel.com>
24665
24666 [BZ #22362]
24667 * Makerules (make-link-multidir): New.
24668 * config.make.in (multidir): New.
24669 * configure.ac (libc_cv_multidir): New. AC_SUBST.
24670 * configure: Regenerated.
24671 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
24672 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
24673 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
24674 New target.
24675
4e2dff67
JM
246762017-11-06 Joseph Myers <joseph@codesourcery.com>
24677
24678 [BZ #22402]
24679 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
24680 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
24681
a1c7cd3c
MF
246822017-11-04 Mike FABIAN <mfabian@redhat.com>
24683
24684 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
24685 to be escaped.
24686
b9af29c0
FW
246872017-11-04 Florian Weimer <fweimer@redhat.com>
24688
24689 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
24690
4ca70e1a
JM
246912017-11-03 Joseph Myers <joseph@codesourcery.com>
24692
24693 * math/math.h [__HAVE_DISTINCT_FLOAT16
24694 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24695 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24696 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24697 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
24698 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
24699 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
24700 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24701 (__MATH_TG_F32): New macro.
24702 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24703 (__MATH_TG_F64X): Likewise.
24704 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
24705 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
24706
ba0e6668
DL
247072017-11-03 Dmitry V. Levin <ldv@altlinux.org>
24708
24709 * po/de.po: Update translations.
24710 * po/ru.po: Likewise.
24711
bc18a6d3
FW
247122017-11-03 Florian Weimer <fweimer@redhat.com>
24713
24714 * manual/filesys.texi (Hard Links): Document linkat.
24715
97255170
JM
247162017-11-03 Joseph Myers <joseph@codesourcery.com>
24717
86ec4865
JM
24718 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
24719 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
24720 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
24721 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
24722 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24723 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24724 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
24725 the same as _Float128.
24726 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
24727 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
24728 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
24729
97255170
JM
24730 * stdlib/stdlib.h
24731 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
24732 Declare.
24733 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
24734 Likewise.
24735 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
24736 Likewise.
24737 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24738 (strtof32x): Likewise.
24739 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24740 (strtof64x): Likewise.
24741 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24742 (strtof128x): Likewise.
24743 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24744 (strfromf16): Likewise.
24745 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24746 (strfromf32): Likewise.
24747 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24748 (strfromf64): Likewise.
24749 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24750 (strfromf32x): Likewise.
24751 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24752 (strfromf64x): Likewise.
24753 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24754 (strfromf128x): Likewise.
24755 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
24756 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
24757 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
24758 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
24759 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
24760 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
24761
6d58ce5e
RH
247622017-11-03 Richard Henderson <rth@twiddle.net>
24763
24764 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
24765
659ca267
SN
247662017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24767
24768 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
24769
94d2f0af
SN
247702017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24771
24772 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
24773 DT_TLSDESC_GOT initialization.
24774 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
24775 (_dl_tlsdesc_resolve_hold): Likewise.
24776 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
24777 (_dl_tlsdesc_resolve_hold): Likewise.
24778 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
24779 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24780
28e1ddf3
SN
247812017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24782
24783 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
24784
0ca3d1d6
SN
247852017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24786
24787 [BZ #18572]
24788 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
24789 non-lazily for R_ARM_TLS_DESC.
24790
2c1d4e5f
SN
247912017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24792
24793 [BZ #17078]
24794 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
24795 R_ARM_TLS_DESC case.
24796 (elf_machine_lazy_rel): Remove the prelink check.
24797
91c5a366
SN
247982017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24799
24800 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
24801 DT_TLSDESC_GOT initialization.
24802 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
24803 (_dl_tlsdesc_resolve_rela): Likewise.
24804 (_dl_tlsdesc_resolve_hold): Likewise.
24805 (_dl_tlsdesc_undefweak): Remove ldar.
24806 (_dl_tlsdesc_dynamic): Likewise.
24807 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
24808 (_dl_tlsdesc_resolve_rela): Likewise.
24809 (_dl_tlsdesc_resolve_hold): Likewise.
24810 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
24811 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
24812 (_dl_tlsdesc_resolve_rela): Likewise.
24813 (_dl_tlsdesc_resolve_hold): Likewise.
24814
b7cf203b
SN
248152017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24816
24817 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
24818 binding and initialization non-lazily for R_AARCH64_TLSDESC.
24819
0cc5b022
SN
248202017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24821
24822 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
24823 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24824
43ddff2e
JM
248252017-11-02 Joseph Myers <joseph@codesourcery.com>
24826
24827 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
24828 Declare.
24829 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
24830 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
24831 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
24832 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
24833 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
24834 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
24835 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
24836 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
24837 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
24838 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
24839 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
24840
5baac970
MF
248412017-11-02 Mike FABIAN <mfabian@redhat.com>
24842
24843 [BZ #22382]
24844 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
24845 * localedata/locales/tpi_PG: Add standard header.
24846
ef11081f
FW
248472017-11-02 Florian Weimer <fweimer@redhat.com>
24848
24849 test-errno-linux: quotactl can fail with EPERM in containers.
24850 * sysdeps/unix/sysv/linux/test-errno-linux.c
24851 (LIST, LIST_FORWARD): New macros.
24852 (check_error_in_list): New function.
24853 (test_wrp_rv): Accept list of permitted error codes.
24854 (test_wrp_rv2): Remove.
24855 (test_wrp): Call test_wrp_rv with list of error codes.
24856 (test_wrp2): Accept list of error codes.
24857 (do_test): Adjust. Allow EPERM for quotactl.
24858
d10b132b
FW
248592017-11-02 Florian Weimer <fweimer@redhat.com>
24860
24861 * stdio-common/bug16.c (do_test): Use array_length.
24862 * stdio-common/errlist.c (_sys_nerr): Likewise.
24863 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
24864 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
24865 * stdio-common/psiginfo.c (psiginfo): Use array_length.
24866 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
24867 (do_test): Use array_length.
24868 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
24869 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
24870 * stdio-common/tst-printf-round.c (do_test): Likewise.
24871 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
24872 (CHECK): Use array_length.
24873 * stdio-common/tstdiomisc.c (t3, F): Likewise.
24874 * stdio-common/tstscanf.c (main): Likewise.
24875 * stdio-common/vfprintf.c (process_string_arg): Likewise.
24876
c94a5688
FW
248772017-11-02 Florian Weimer <fweimer@redhat.com>
24878
24879 Add array_length and array_end macros.
24880 * include/array_length.h: New file.
24881
2fac6a6c
FW
248822017-11-02 Florian Weimer <fweimer@redhat.com>
24883
24884 [BZ #22332]
24885 * posix/tst-glob-tilde.c (do_noescape): New variable.
24886 (one_test): Process it.
24887 (do_test): Set do_noescape. Add unescaping test case.
24888
2f1b212e
JM
248892017-11-01 Joseph Myers <joseph@codesourcery.com>
24890
260fbd0a
JM
24891 * math/complex.h
24892 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
24893 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
24894 with appropriate macros defined and undefined.
24895 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
24896 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24897 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
24898 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24899 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
24900 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24901 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
24902 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24903 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
24904 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
24905
2f1b212e
JM
24906 * math/complex.h
24907 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
24908 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
24909 that for long double. Do not condition define and undefine of
24910 _Mdouble_complex_ on [__CFLOAT128].
24911
95b93c6e
L
249122017-11-01 H.J. Lu <hongjiu.lu@intel.com>
24913
24914 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24915 of <sysdeps/generic/sysdep.h>.
24916 (ALIGNARG): Removed.
24917 (ASM_SIZE_DIRECTIVE): Likewise.
24918 (ENTRY): Likewise.
24919 (END): Likewise.
24920 (ENTRY_CHK): Likewise.
24921 (END_CHK): Likewise.
24922 (syscall_error): Likewise.
24923 (mcount): Likewise.
24924 (PSEUDO_END): Likewise.
24925 (L): Likewise.
24926 (atom_text_section): Likewise.
24927 * sysdeps/x86/sysdep.h: New file.
24928 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
24929 of <sysdeps/generic/sysdep.h>.
24930 (ALIGNARG): Removed.
24931 (ASM_SIZE_DIRECTIVE): Likewise.
24932 (ENTRY): Likewise.
24933 (END): Likewise.
24934 (ENTRY_CHK): Likewise.
24935 (END_CHK): Likewise.
24936 (syscall_error): Likewise.
24937 (mcount): Likewise.
24938 (PSEUDO_END): Likewise.
24939 (L): Likewise.
24940 (atom_text_section): Likewise.
24941
1bb36539
RL
249422017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
24943
24944 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
24945 category of LC_CTYPE set to "i18n:2012".
24946 * localedata/locales/i18n_ctype: Regenerate.
24947
067f5d97 249482017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 24949
87bbc4cf
YN
24950 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
24951 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
24952 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24953 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24954
e8681faa
YN
24955 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
24956 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
24957 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
24958 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
24959
540af6e2
JM
249602017-10-31 Joseph Myers <joseph@codesourcery.com>
24961
43e66283
JM
24962 * math/complex.h
24963 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
24964 New macro.
24965 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
24966 Likewise.
24967 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
24968 Likewise.
24969 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24970 (CMPLXF32X): Likewise.
24971 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24972 (CMPLXF64X): Likewise.
24973 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
24974 (CMPLXF128X): Likewise.
24975
540af6e2
JM
24976 * math/math.h
24977 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
24978 (__MATH_EVAL_FMT2): Define to add 0.0f.
24979
58af72b4
AM
249802017-10-31 Alan Modra <amodra@gmail.com>
24981
24982 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
24983 include sysdep.h.
24984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
24985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
24986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
24987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
24988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
24989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
24990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
24991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
24992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
24993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
24994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
24995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
24996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
24997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
24998 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
24999 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25000 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25001 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25002 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25003 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25004 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25005 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25006 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25007 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25008 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25009 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25010 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25011 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25012 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25013 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25014 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25015 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25016 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25017 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25018 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25019 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25020 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25021 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25022 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25023 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25024 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25025 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25026 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25027 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25028 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25029 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25030 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25031 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25032 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25033 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25034 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25035 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25036 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25037 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25038 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25039 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25040 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25041 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25042 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25043 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25044 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25045 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25046 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25047 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25048 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25049 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25050 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25051 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25052 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25053
25054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25055 include sysdep.h and math_ldbl_opt.h.
25056
25057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25058 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25083
112f30b3
AM
250842017-10-31 Alan Modra <amodra@gmail.com>
25085
25086 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25087 string/strncase_l.c, not string/strncase.c.
25088 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25089 (libc_hidden_def): Redefine.
25090
e9e7eced
AM
250912017-10-31 Alan Modra <amodra@gmail.com>
25092
25093 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25094 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25095 (__strcasecmp): Don't define.
25096
f7b465cf
AM
250972017-10-31 Alan Modra <amodra@gmail.com>
25098
25099 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25100 IS_IN (libc).
25101 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25102 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25103 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25104
d46b09f9
AM
251052017-10-31 Alan Modra <amodra@gmail.com>
25106
25107 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25108 USE_AS_STPNCPY.
25109
e9b8e194
AM
251102017-10-31 Alan Modra <amodra@gmail.com>
25111
25112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25113 Redefine only when SHARED.
25114
eda162dd
JM
251152017-10-30 Joseph Myers <joseph@codesourcery.com>
25116
b61afe8c
JM
25117 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25118 Include <bits/math-finite.h> with appropriate macros defined and
25119 undefined.
25120 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25121 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25122 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25123 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25124 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25125
eda162dd
JM
25126 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25127 [!_Mlong_double_] (_Mlong_double_): Likewise.
25128 [!_Mfloat16_] (_Mfloat16_): Likewise.
25129 [!_Mfloat32_] (_Mfloat32_): Likewise.
25130 [!_Mfloat64_] (_Mfloat64_): Likewise.
25131 [!_Mfloat128_] (_Mfloat128_): Likewise.
25132 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25133 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25134 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25135 (_Mdouble_): Define without indirection through those macros.
25136 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25137 [!_Mfloat128_] (_Mfloat128_): Likewise.
25138 [_Mlong_double_] (_Mlong_double_): Likewise.
25139 (_Mdouble_): Define without indirection through those macros.
25140 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25141 not add -D_Mlong_double_=double.
25142 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25143 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25144
4ad5106e
L
251452017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25146
25147 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25148
fe326df7
L
251492017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25150
25151 * sysdeps/x86/libc-start.c: Reformat.
25152
c5cc4514
L
251532017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25154
25155 [BZ #22353]
25156 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25157 (1): Renamed to ...
25158 (L(Src0)): This.
25159 (L(Src1)): New.
25160 (L(Src2)): Likewise.
25161 (L(1)): Renamed to ...
25162 (L(Src3)): This.
25163
ce12269f
JM
251642017-10-30 Joseph Myers <joseph@codesourcery.com>
25165
25166 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25167 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25168 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25169 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25170 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25171 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25172 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25173 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25174 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25175 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25176 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25177 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25178 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
25179 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
25180 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
25181 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
25182 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
25183 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
25184 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
25185 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
25186 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
25187 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
25188 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
25189 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
25190 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
25191 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
25192 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
25193 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
25194 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
25195 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
25196 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
25197 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
25198 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
25199 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
25200 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
25201 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
25202 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
25203 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
25204 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
25205 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
25206 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
25207 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
25208 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
25209 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
25210 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
25211 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
25212 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
25213 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
25214 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
25215 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
25216 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
25217 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
25218 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
25219 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
25220 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
25221 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
25222 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
25223 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
25224 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
25225 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
25226 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
25227 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
25228 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
25229 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
25230 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
25231 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
25232
4484b9e2
FW
252332017-10-30 Florian Weimer <fweimer@redhat.com>
25234
25235 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
25236 always defined.
25237 * io/tst-mkdirat.c (do_test): Likewise.
25238 * io/tst-mkfifoat.c (do_test): Likewise.
25239 * io/tst-mknodat.c (do_test): Likewise.
25240 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
25241 * locale/programs/locale.c (select_dirs): Likewise.
25242 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
25243 * posix/bug-glob2.c (my_readdir): Likewise.
25244 * posix/tst-dir.c (main): Likewise.
25245 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
25246 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
25247
68fe16dd
FW
252482017-10-30 Florian Weimer <fweimer@redhat.com>
25249
25250 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
25251 just __USE_GNU.
25252
dadf23f0
FW
252532017-10-30 Florian Weimer <fweimer@redhat.com>
25254
25255 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
25256 Convert to support/test-driver.c.
25257 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
25258 New macro parameters.
25259 (PRINTF): Remove macro. Use test_verbose conditionals instead.
25260 * posix/tst-gnuglob.c: New file.
25261 * posix/tst-gnuglob64.c: Likewise.
25262 * posix/Makefile (tests): Add tst-gnuglob64.
25263
363e4519 252642017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
25265
25266 [BZ #19485]
25267 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
25268 and use a better translation for March in “mon”.
25269 * localedata/locales/csb_PL: Use more ASCII to improve the
25270 readability of the source.
25271
b110af82
MF
252722017-10-30 Mike FABIAN <mfabian@redhat.com>
25273
25274 [BZ #13953]
25275 * localedata/locales/km_KH: Use ASCII as much
25276 as possible for better readability of the source and
25277 remove useless comments.
25278 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
25279 was commented out and apparently wrong anyway because it was
25280 using Lao characters. If Buddhist era should be used
25281 for km_KH, a native speaker should write the correct formaat
25282 for Khmer.
25283 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
25284 (According to CLDR, the first weekday for Cambodia is Sunday).
25285 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
25286 (These were using Lao characters which must be wrong. If we get
25287 the correct data from a native speaker, we could add it back, until
25288 then it is better not to have name_mr and name_mrs at all than
25289 having it wrong).
25290
f301e533
RL
252912017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
25292
25293 * locale/loadlocale.c: Correct size of
25294 _nl_value_type_LC_<category> arrays.
25295
7e9d7073
JM
252962017-10-27 Joseph Myers <joseph@codesourcery.com>
25297
25298 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25299 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
25300 with appropriate macros defined and undefined.
25301 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25302 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25303 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25304 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25305 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25306
63d3b468
L
253072017-10-27 H.J. Lu <hongjiu.lu@intel.com>
25308
25309 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
25310 "-O2 -march=i586".
25311
a4cc02c7
MF
253122017-10-27 Mike FABIAN <mfabian@redhat.com>
25313
25314 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
25315 with lowercase letters to make it agree with CLDR.
25316
1e5971ec
MF
253172017-10-27 Mike FABIAN <mfabian@redhat.com>
25318
25319 [BZ #15260]
25320 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
25321 first letters of yesstr and nostr in yesexpr and noexpr,
25322 not for the full words.
25323 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25324 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
25325 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
25326 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
25327 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
25328 first letters of yesstr and nostr in yesexpr and noexpr,
25329 until now only English was matched in yesexpr and noexpr.
25330 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
25331 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
25332 fil but not for tl. As tl and fil are very similar, using fil
25333 is probably better than using English.
25334
363e4519 253352017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
25336
25337 [BZ #21706]
25338 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
25339 in yesstr and nostr.
25340
5d220788
JM
253412017-10-26 Joseph Myers <joseph@codesourcery.com>
25342
ecc7da5b
JM
25343 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25344 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
25345 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
25346 Likewise.
25347 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
25348 Likewise.
25349 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
25350 Likewise.
25351 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
25352 Likewise.
25353 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25354 (SNANF128X): Likewise.
25355
5d220788
JM
25356 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
25357 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
25358 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25359 (HUGE_VAL_F32): Likewise.
25360 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25361 (HUGE_VAL_F64): Likewise.
25362 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25363 (HUGE_VAL_F32X): Likewise.
25364 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25365 (HUGE_VAL_F64X): Likewise.
25366 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25367 (HUGE_VAL_F128X): Likewise.
25368
363e4519 253692017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
25370
25371 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
25372 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
25373 for the br_FR locale.
25374
363e4519 253752017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
25376
25377 [BZ #21706]
25378 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
25379
337ff3c5
CD
253802017-10-25 Carlos O'Donell <carlos@redhat.com>
25381
02eec681
CD
25382 * locale/programs/record-status.h: Define globals, and function
25383 prototypes. Move function bodies...
25384 * locale/programs/record-status.c: ... to here. New file.
25385 * iconv/Makefile (iconv_prog-modules): Add record-status.
25386 * locale/Makefile (lib-modules): Likewise.
25387 * iconv/iconv_prog.c: Remove verbose.
25388 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
25389 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
25390 record a warning about ASCII compatibility.
25391 * locale/programs/ld-monetary.c (monetary_finish): If
25392 warn_int_curr_symbol is true then record a warning about the symbol
25393 not being in our ISO 4217 list.
25394 * locale/programs/locale.c: Include record-status.h. Remove verbose.
25395 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
25396 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
25397 (OPT_NO_WARN): Define.
25398 (OPT_WARN): Define.
25399 (options): Add entry for --no-warnings, and --warnings.
25400 (set_warnings): New function to enable/disable warnings.
25401 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
25402 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
25403 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
25404 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
25405 Pass flags to generate_locale.
25406 (generate_locale): Accept new flag argument and pass it to localedef
25407 invocation.
25408 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
25409 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
25410
56fa555a
CD
25411 * localedata/Makefile (test-input-data): Use full file name.
25412 * localedata/da_DK.in: Rename to...
25413 * localedata/da_DK.ISO-8859-1.in: ...this.
25414 * localedata/de_DE.in: Rename to...
25415 * localedata/de_DE.ISO-8859-1.in: ...this.
25416 * localedata/en_US.in: Rename to...
25417 * localedata/en_US.ISO-8859-1.in: ...this.
25418 * localedata/fr_FR.in: Rename to...
25419 * localedata/fr_FR.UTF-8.in: ... this.
25420 * localedata/hr_HR.in: Rename to...
25421 * localedata/hr_HR.ISO-8859-2.in: ...this.
25422 * localedata/hu_HU.in: Rename to...
25423 * localedata/hu_HU.UTF-8.in: ...this.
25424 * localedata/si_LK.in: Rename to...
25425 * localedata/si_LK.UTF-8.in: ...this.
25426 * localedata/sv_SE.in: Rename to...
25427 * localedata/sv_SE.ISO-8859-1.in: ...this.
25428 * localedata/tr_TR.in: Rename to...
25429 * localedata/tr_TR.UTF-8.in: ...this.
25430 * localedata/uk_UA.in: Rename to...
25431 * localedata/uk_UA.UTF-8.in: ...this.
25432 * localedata/sort-test.sh: Test file is locale name with the
25433 suffix.
25434
337ff3c5
CD
25435 * localedata/unicode-gen/Makefile (check_i18n): Rename to
25436 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
25437 file.
25438 * localedata/locales/i18n_ctype: Regenerate.
25439 * localedata/locales/tr_TR: Likewise.
25440 * localedata/locales/translit_circle: Likewise.
25441 * localedata/locales/translit_cjk_compat: Likewise.
25442 * localedata/locales/translit_combining: Likewise.
25443 * localedata/locales/translit_compat: Likewise.
25444 * localedata/locales/translit_font: Likewise.
25445 * localedata/locales/translit_fraction: Likewise.
25446
63da5cd4
RS
254472017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25448
25449 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
25450 lxvd2x/stxvd2x with lvx/stvx.
25451 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
25452
a122dbfb
L
254532017-10-25 H.J. Lu <hongjiu.lu@intel.com>
25454
25455 * include/alloc_buffer.h: Replace "if if " with "if " in
25456 comments.
25457 * sysdeps/mips/memcpy.S: Likkewise.
25458 * sysdeps/mips/memset.S: Likewise.
25459 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
25460 Likewise.
25461 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
25462 Likewise.
25463 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
25464 Likewise.
25465
9be7530c
MF
254662017-10-25 Mike FABIAN <mfabian@redhat.com>
25467
25468 [BZ #15261]
25469 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
25470 yesexpr and noexpr.
25471 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25472 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25473 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25474 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25475 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25476 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25477 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25478
6ccbf6ff
MF
254792017-10-25 Mike FABIAN <mfabian@redhat.com>
25480
25481 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
25482 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25483 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25484 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25485 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25486 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
25487 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25488 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25489 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25490 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25491 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25492 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25493
58b1a7ea
MF
254942017-10-25 Mike FABIAN <mfabian@redhat.com>
25495
25496 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
25497 as possible for better readability of the source.
25498 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
25499 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
25500 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
25501 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
25502 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
25503 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
25504 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
25505 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
25506 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
25507 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
25508 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
25509 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
25510 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
25511 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
25512 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
25513 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
25514 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
25515 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
25516 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
25517 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
25518 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
25519 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
25520 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
25521 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
25522 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
25523 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
25524 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
25525 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
25526 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
25527 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
25528 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
25529 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
25530 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
25531 * localedata/locales/en_US (LC_MESSAGES): Likewise.
25532 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
25533 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
25534 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
25535 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
25536 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
25537 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
25538 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
25539 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
25540 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
25541 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
25542 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
25543 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
25544 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
25545 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
25546 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
25547 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
25548 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
25549 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
25550 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
25551 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
25552 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
25553 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
25554 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
25555 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
25556 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
25557 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
25558 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
25559 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
25560 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
25561 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
25562 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
25563 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
25564 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
25565 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
25566 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
25567 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
25568 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
25569 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
25570 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
25571 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
25572 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
25573 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
25574 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
25575 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
25576 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
25577 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
25578 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
25579 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
25580 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
25581 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
25582 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
25583 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
25584 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
25585 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
25586 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
25587 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
25588 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
25589 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
25590 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
25591 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
25592 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
25593 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
25594 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
25595 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
25596 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
25597 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
25598 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
25599 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
25600 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
25601 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
25602 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
25603 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
25604 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
25605 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
25606 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
25607 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
25608 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
25609 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
25610 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
25611 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
25612 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
25613 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
25614 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
25615 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
25616 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
25617 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
25618 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
25619 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
25620 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
25621 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
25622 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
25623 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
25624 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
25625 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
25626 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
25627 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
25628 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
25629 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
25630 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
25631 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
25632 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
25633 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
25634 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
25635 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
25636 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
25637 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
25638 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
25639 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
25640 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
25641 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
25642 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
25643 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
25644 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
25645 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
25646 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
25647 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
25648 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
25649 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
25650 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
25651 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
25652 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
25653 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
25654 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
25655 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
25656 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
25657 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
25658 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
25659 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
25660 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
25661 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
25662 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
25663 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
25664 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
25665 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
25666 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
25667 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
25668 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
25669 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
25670 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
25671 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
25672
17e78edb
MF
256732017-10-25 Mike FABIAN <mfabian@redhat.com>
25674
25675 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
25676 (Use first letters of yesstr and nostr correctly instead of using
25677 full words).
25678
74e7284f
MF
256792017-10-25 Mike FABIAN <mfabian@redhat.com>
25680
25681 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
25682 (Use first letters of yesstr and nostr correctly).
25683
b41a0ff1
MF
256842017-10-25 Mike FABIAN <mfabian@redhat.com>
25685
25686 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
25687 also check for the first characters of yesstr and nostr.
25688 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
25689 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
25690
d971f380
MF
256912017-10-25 Mike FABIAN <mfabian@redhat.com>
25692
25693 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
25694 also check for Chinese characters.
25695
effc9e1d
MF
256962017-10-25 Mike FABIAN <mfabian@redhat.com>
25697
25698 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
25699 match also for the contents of yesstr and nostr. As the first letter
25700 of yesstr and nostr is equal, checking only for the first letter
25701 is not enough.
25702
10320881
MF
257032017-10-25 Mike FABIAN <mfabian@redhat.com>
25704
25705 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
25706 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
25707
d8682a15
MF
257082017-10-25 Mike FABIAN <mfabian@redhat.com>
25709
25710 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
25711 of main contributor.
25712
1bfb86ae
MF
257132017-10-25 Mike FABIAN <mfabian@redhat.com>
25714
25715 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
25716 instead of using English.
25717
da33d60b
MF
257182017-10-25 Mike FABIAN <mfabian@redhat.com>
25719
25720 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
25721 by including the first letters of nostr and yesexpr in the regexp.
25722 Also make it more readable by using ASCII where possible.
25723
725bbb3e
MF
257242017-10-25 Mike FABIAN <mfabian@redhat.com>
25725
25726 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
25727 the first letter of nostr in the regexp. It agrees with CLDR now.
25728 Also make it more readable by using ASCII where possible.
25729
fe043d8a
MF
257302017-10-24 Mike FABIAN <mfabian@redhat.com>
25731
25732 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
25733 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
25734 these strings contain a U+17D6 (which somewhat looks like a colon)
25735 instead of a real colon to separate the full words for “yes”
25736 and “no” from the single letter responses.
25737
360a8df3
MF
257382017-10-24 Mike FABIAN <mfabian@redhat.com>
25739
25740 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
25741 it agree with CLDR (include the first letter of yesstr).
25742 Also make it more readable by using ASCII where possible.
25743
bab7b6b0
MF
257442017-10-24 Mike FABIAN <mfabian@redhat.com>
25745
25746 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
25747 and improve yesexpr and noexpr. The yesstr and nostr apparently
25748 came from CLDR. And CLDR has a bug there: these strings contain
25749 a U+0903 (which looks like a colon) instead of a real colon
25750 to separate the full words for “yes” and “no” from the single
25751 letter responses.
25752
3e79f758
MF
257532017-10-24 Mike FABIAN <mfabian@redhat.com>
25754
25755 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
25756 letters of the full yesstr and nostr in yesexpr and noexpr.
25757
4960c879
MF
257582017-10-24 Mike FABIAN <mfabian@redhat.com>
25759
25760 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
25761 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
25762 * localedata/locales/an_ES: Make source more readable by using ASCII
25763 where possible.
25764
b06a054f
MF
257652017-10-24 Mike FABIAN <mfabian@redhat.com>
25766
25767 [BZ #20952]
25768 * localedata/locales/yuw_PG: New file.
25769 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
25770 * locale/iso-639.def: Add Yau (Uruwa).
25771
905a7725
WD
257722017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25773
25774 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
25775
3f6bb8a3
WD
257762017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
25777
25778 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
25779 (__libc_realloc): Likewise.
25780 (_mid_memalign): Likewise.
25781 (__libc_calloc): Likewise.
25782
1d479c8c
MF
257832017-10-23 Mike FABIAN <mfabian@redhat.com>
25784
25785 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
25786 by adding the generic +1 and -0 as in all other locales.
25787 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
25788 day names and make it more readable by using ASCII where possible.
25789
91c3985c
JM
257902017-10-24 Joseph Myers <joseph@codesourcery.com>
25791
25792 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
25793 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
25794
aa95a241
AZ
257952017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25796
25797 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
25798 WNOHANG in waitpid call.
25799
db9bab09
SP
258002017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
25801
a2e0a7f1
SP
25802 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
25803 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
25804
db9bab09
SP
25805 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
25806 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
25807 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
25808 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
25809 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
25810 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
25811 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
25812 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
25813 variables.
25814
5062680c
MC
258152017-10-23 Michael Collison <michael.collison@arm.com>
25816
25817 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
25818 with __builtin_sqrt.
25819 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
25820 with __builtin_sqrtf.
25821 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
25822 with __builtin_ceil.
25823 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
25824 with __builtin_ceilf.
25825 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
25826 with __builtin_floor.
25827 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
25828 with __builtin_floorf.
25829 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
25830 with __builtin_fma.
25831 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
25832 with __builtin_fmaf.
25833 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
25834 with __builtin_fmax.
25835 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
25836 with __builtin_fmaxf.
25837 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
25838 with __builtin_fmin.
25839 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
25840 with __builtin_fminf.
25841 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
25842 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
25843 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
25844 with builtin_rint and conversion to int.
25845 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
25846 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
25847 with builtin_llround.
25848 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
25849 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
25850 with builtin_rint and conversion to long int.
25851 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
25852 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
25853 with builtin_lround.
25854 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
25855 with builtin_lroundf.
25856 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
25857 statements with __builtin_nearbyint.
25858 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
25859 statements with __builtin_nearbyintf.
25860 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
25861 with __builtin_rint.
25862 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
25863 with __builtin_rintf.
25864 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
25865 with __builtin_round.
25866 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
25867 with __builtin_roundf.
25868 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
25869 with __builtin_trunc.
25870 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
25871 with __builtin_truncf.
be080b6c
SN
25872 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
25873 and s_l[l]round[f].c too.
5062680c 25874
174935af
AM
258752017-10-23 Alan Modra <amodra@gmail.com>
25876
25877 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
25878 Adjust stack after restoring regs. Add missing LR cfi_restore.
25879
750a0e49
AM
258802017-10-23 Alan Modra <amodra@gmail.com>
25881
25882 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
25883 Move LR save and frame setup/teardown and LR restore to
25884 immediately around memset call. Provide cfi.
25885
5313581c
L
258862017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25887
25888 * sysdeps/i386/fpu/e_powf.S: Removed.
25889 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
25890 * sysdeps/i386/fpu/w_powf.c: Likewise.
25891 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
25892 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25893 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25894 Add e_powf-sse2.
25895 (CFLAGS-e_powf-sse2.c): New.
25896 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
25897 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
25898
6089a3ee
L
258992017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25900
25901 * sysdeps/i386/fpu/e_log2f.S: Removed.
25902 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
25903 * sysdeps/i386/fpu/w_log2f.c: Likewise.
25904 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
25905 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25906 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25907 Add e_log2f-sse2.
25908 (CFLAGS-e_log2f-sse2.c): New.
25909 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
25910 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
25911
80bb5935
L
259122017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25913
25914 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25915 Add e_powf-fma.
25916 (CFLAGS-e_powf-fma.c): New.
25917 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
25918 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
25919
5c7adbd8
L
259202017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25921
25922 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25923 Add e_log2f-fma.
25924 (CFLAGS-e_log2f-fma.c): New.
25925 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
25926 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
25927
0ccc7153
L
259282017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25929
25930 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25931 Add e_logf-fma.
25932 (CFLAGS-e_logf-fma.c): New.
25933 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
25934 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
25935
fe596486
L
259362017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25937
25938 * sysdeps/i386/fpu/e_logf.S: Removed.
25939 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
25940 * sysdeps/i386/fpu/w_logf.c: Likewise.
25941 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
25942 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
25943 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25944 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25945 Add e_logf-sse2.
25946 (CFLAGS-e_logf-sse2.c): New.
25947 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
25948 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
25949
7eda65f6
L
259502017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25951
25952 * sysdeps/i386/fpu/e_exp2f.S: Removed.
25953 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
25954 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
25955 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25956 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25957 Add e_exp2f-sse2.
25958 (CFLAGS-e_exp2f-sse2.c): New.
25959 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
25960 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
25961
5d15c969
L
259622017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25963
25964 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25965 Add e_exp2f-fma.
25966 (CFLAGS-e_exp2f-fma.c): New.
25967 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
25968 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
25969
b2f6137e
L
259702017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25971
25972 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
25973 * sysdeps/i386/fpu/e_expf.S: Likewise.
25974 * sysdeps/i386/fpu/math_errf.c: Likewise.
25975 * sysdeps/i386/fpu/w_expf.c: Likewise.
25976 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
25977 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25978 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
25979 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
25980 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25981 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
25982 Remove e_expf-ia32.
25983 (CFLAGS-e_expf-sse2.c): New.
25984 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
25985 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
25986
e1f59beb
L
259872017-10-22 H.J. Lu <hongjiu.lu@intel.com>
25988
25989 * sysdeps/x86_64/fpu/e_expf.S: Removed.
25990 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
25991 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
25992 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
25993 e_expf.c.
25994 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
25995 New.
25996 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
25997 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
25998 Renamed to ...
25999 (__redirect_expf): This.
26000 (SYMBOL_NAME): Changed to expf.
26001 (__ieee754_expf): Renamed to ...
26002 (__expf): This.
26003 (__GI___expf): This.
26004 (__ieee754_expf): Add strong_alias.
26005 (__expf_finite): Likewise.
26006 (__expf): New.
26007 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26008
363e4519 260092017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
26010
26011 [BZ #22332]
26012 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26013 unescaping.
26014
e80fc1fc
FW
260152017-10-21 Florian Weimer <fweimer@redhat.com>
26016
26017 * posix/Makefile (tests): Add tst-glob-tilde.
26018 (tests-special): Add tst-glob-tilde-mem.out
26019 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26020 (tst-glob-tilde-mem.out): Add mtrace check.
26021 * posix/tst-glob-tilde.c: New file.
26022
797ba44b
JM
260232017-10-20 Joseph Myers <joseph@codesourcery.com>
26024
26025 * bits/floatn-common.h: New file.
26026 * math/Makefile (headers): Add bits/floatn-common.h.
26027 * bits/floatn.h: Include <bits/floatn-common.h>.
26028 * sysdeps/ia64/bits/floatn.h: Likewise.
26029 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26030 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26031 * sysdeps/powerpc/bits/floatn.h: Likewise.
26032 * sysdeps/x86/bits/floatn.h: Likewise.
26033
fe05e1cb
AZ
260342017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26035
8f6f5362
AZ
26036 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26037 indicates whether compiler emits an warning for alias for
26038 functions with incompatible types.
26039
fe05e1cb
AZ
26040 [BZ #22273]
26041 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26042 the auxiliary process is terminated by a signal before calling _exit
26043 or execve.
26044
b52b0d79
L
260452017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26046
26047 [BZ #21265]
26048 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26049 New.
26050 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26051 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26052 and bit_arch_XSAVEC_Usable if needed.
26053 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26054 and bit_arch_Use_dl_runtime_resolve_opt.
26055 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26056 Removed.
26057 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26058 (bit_arch_Prefer_No_AVX512): Updated.
26059 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26060 (bit_arch_XSAVEC_Usable): New.
26061 (STATE_SAVE_OFFSET): Likewise.
26062 (STATE_SAVE_MASK): Likewise.
26063 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26064 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26065 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26066 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26067 (index_arch_XSAVEC_Usable): New.
26068 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26069 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26070 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26071 is enabled.
26072 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26073 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26074 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26075 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26076 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26077 _dl_runtime_resolve_xsavec.
26078 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26079 Removed.
26080 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26081 instead of VEC_SIZE.
26082 (REGISTER_SAVE_BND0): Removed.
26083 (REGISTER_SAVE_BND1): Likewise.
26084 (REGISTER_SAVE_BND3): Likewise.
26085 (REGISTER_SAVE_RAX): Always defined to 0.
26086 (VMOV): Removed.
26087 (_dl_runtime_resolve_avx): Likewise.
26088 (_dl_runtime_resolve_avx_slow): Likewise.
26089 (_dl_runtime_resolve_avx_opt): Likewise.
26090 (_dl_runtime_resolve_avx512): Likewise.
26091 (_dl_runtime_resolve_avx512_opt): Likewise.
26092 (_dl_runtime_resolve_sse): Likewise.
26093 (_dl_runtime_resolve_sse_vex): Likewise.
26094 (USE_FXSAVE): New.
26095 (_dl_runtime_resolve_fxsave): Likewise.
26096 (USE_XSAVE): Likewise.
26097 (_dl_runtime_resolve_xsave): Likewise.
26098 (USE_XSAVEC): Likewise.
26099 (_dl_runtime_resolve_xsavec): Likewise.
26100 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26101 Removed.
26102 (_dl_runtime_resolve_avx512_opt): Likewise.
26103 (_dl_runtime_resolve_avx): Likewise.
26104 (_dl_runtime_resolve_avx_opt): Likewise.
26105 (_dl_runtime_resolve_sse): Likewise.
26106 (_dl_runtime_resolve_sse_vex): Likewise.
26107 (_dl_runtime_resolve_fxsave): New.
26108 (_dl_runtime_resolve_xsave): Likewise.
26109 (_dl_runtime_resolve_xsavec): Likewise.
26110
363e4519 261112017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
26112
26113 [BZ #22320]
26114 CVE-2017-15670
26115 * posix/glob.c (__glob): Fix one-byte overflow.
26116
6d43de4b
WD
261172017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26118
26119 * malloc/malloc.c (sysdep-cancel.h): Add include.
26120
a15d53e2
WD
261212017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26122
26123 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26124
b9a558e7
WH
261252017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26126
26127 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26128 (tests): Remove $(objpfx)ga_test depdendency.
26129 * resolv/ga_test.c: Remove file.
26130
b6b08b8e
MF
261312017-10-20 Mike FABIAN <mfabian@redhat.com>
26132
26133 [BZ #18812]
26134 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26135 * localedata/locales/kab_DZ: New file.
26136
9ba7e810
L
261372017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26138
26139 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26140 _dl_relocate_static_pie instead of _dl_start to compute load
26141 address in static PIE.
26142
4027a4fd
L
261432017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26144
26145 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26146
2f9314b4
MF
261472017-10-20 Mike FABIAN <mfabian@redhat.com>
26148
26149 [BZ #13605]
26150 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26151 * localedata/locales/shn_MM: New file.
26152
63b4baa4
FW
261532017-10-20 Florian Weimer <fweimer@redhat.com>
26154
26155 [BZ #22321]
26156 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26157 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26158 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26159 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26160 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26161 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26162
95ccb619
L
261632017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26164
26165 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26166
37bb78cb
JM
261672017-10-19 Joseph Myers <joseph@codesourcery.com>
26168
76f2ed92
JM
26169 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26170
37bb78cb
JM
26171 [BZ #22322]
26172 * sysdeps/mips/bits/long-double.h: Move to ....
26173 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26174
d74e6f6c
WD
261752017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26176
26177 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26178
363e4519 261792017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
26180 H.J. Lu <hongjiu.lu@intel.com>
26181
26182 [BZ #22299]
26183 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
26184 GLRO(dl_platform) to NULL.
26185 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
26186 (modules-names): Add tst-platformmod-1 and
26187 x86_64/tst-platformmod-2.
26188 (CFLAGS-tst-platform-1.c): New.
26189 (CFLAGS-tst-platformmod-1.c): Likewise.
26190 (CFLAGS-tst-platformmod-2.c): Likewise.
26191 (LDFLAGS-tst-platformmod-2.so): Likewise.
26192 ($(objpfx)tst-platform-1): Likewise.
26193 ($(objpfx)tst-platform-1.out): Likewise.
26194 (tst-platform-1-ENV): Likewise.
26195 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
26196 * sysdeps/x86_64/tst-platform-1.c: New file.
26197 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
26198 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
26199
4b0fa403
MF
262002017-10-19 Mike FABIAN <mfabian@redhat.com>
26201
26202 [BZ #13994]
26203 * locale/iso-639.def: Add Karbi.
26204 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
26205 * localedata/locales/mjw_IN: New file.
26206
81325b12
JM
262072017-10-18 Joseph Myers <joseph@codesourcery.com>
26208
26209 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
26210 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26211 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
26212 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
26213 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26214 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26215 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
26216 <bits/floatn.h>.
26217 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
26218 (libm_alias_ldouble_other_r): Also create _Float128 alias.
26219 * manual/math.texi (Mathematics): Document additional architecture
26220 support for _Float128.
26221 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26222 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26223 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26224 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26225 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26226 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26227 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26228 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26229 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26230 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26231 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26232 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26233 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26234 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26235 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26236
a68ba2f3
SN
262372017-10-18 Renlin Li <renlin.li@arm.com>
26238
26239 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
26240 _DYNAMIC symbol to calculate load address.
26241
346729f6
PC
262422017-10-18 Paul A. Clarke <pc@us.ibm.com>
26243
26244 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
26245 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
26246 summary bits.
26247 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
26248 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
26249
508b1e71
MF
262502017-10-18 Mike FABIAN <mfabian@redhat.com>
26251
26252 [BZ #16777]
26253 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
26254 and improve readability by using more ASCII.
26255 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
26256 and improve readability by using more ASCII.
26257
2c2245b9
WD
262582017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
26259
26260 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
26261 not all targets support atomics on bool.
26262
13c92696
JM
262632017-10-17 Joseph Myers <joseph@codesourcery.com>
26264
26265 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
26266 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
26267 __f128.
26268 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26269 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
26270 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26271 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
26272 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
26273 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
26274
71d85045
AZ
262752017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26276
26277 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
26278 defines.
26279
3381be5c
WD
262802017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26281
26282 [BZ #22159]
26283 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
26284 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
26285 (do_check_remalloced_chunk): Fix build bug.
26286 (do_check_malloc_state): Add assert that checks arena->top.
26287 (malloc_consolidate): Remove initialization.
26288 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 26289 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 26290
e956075a
WD
262912017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26292
26293 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
26294 (have_fastchunks): Remove.
26295 (clear_fastchunks): Remove.
26296 (set_fastchunks): Remove.
26297 (malloc_state): Add have_fastchunks.
26298 (malloc_init_state): Use have_fastchunks.
26299 (do_check_malloc_state): Remove incorrect invariant checks.
26300 (_int_malloc): Use have_fastchunks.
26301 (_int_free): Likewise.
26302 (malloc_consolidate): Likewise.
26303
e4dd4ace
WD
263042017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
26305
26306 * malloc/malloc.c (tcache_put): Inline.
26307 (tcache_get): Inline.
26308
5bf58bc7
AJ
263092017-10-17 Jordi Mallach <jordi@gnu.org>
26310
26311 Aurelien Jarno <aurelien@aurel32.net>
26312 [BZ #2522]
26313 * localedata/locales/ca_ES@valencia: New file.
26314 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
26315
386e1c26
RN
263162017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
26317
26318 [BZ #22296]
26319 * math/math.h: Let signbit use the builtin in C++ mode with gcc
26320 < 6.x
26321
4e17c78e
AZ
263222017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26323
3d265601
AZ
26324 * scripts/build-many-glibcs.py (Context.add_all_configs):
26325 Add arm-linux-gnueabihf multiarch extra_glibcs.
26326
4e17c78e
AZ
26327 * sysdeps/generic/ifunc-init.h: New file.
26328 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
26329
56a752ab
MF
263302017-10-17 Mike FABIAN <mfabian@redhat.com>
26331
26332 [BZ #22019]
26333 * localedata/locales/el_GR: Set n_cs_precedes to 0.
26334 * localedata/locales/el_CY: copy "el_GR" because it is identical.
26335 * stdlib/tst-strfmon_l.c: adapt test case.
26336
c38a4bfd
JM
263372017-10-16 Joseph Myers <joseph@codesourcery.com>
26338
26339 * sysdeps/generic/float128-abi.h: New file.
26340 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
26341 non-__prefixed symbols to ....
26342 * math/Versions: ... here. Include <float128-abi.h>.
26343 * stdlib/Versions ... and here. Include <float128-abi.h>
26344
76009b26
FW
263452017-10-16 Florian Weimer <fweimer@redhat.com>
26346
26347 * version.h (VERSION): Switch to ".9000" as the development
26348 version suffix.
26349
7ece6cd5
FW
263502017-10-16 Florian Weimer <fweimer@redhat.com>
26351
26352 [BZ #22050]
26353 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
26354 compat_symbol_reference to access non-default version.
26355
d8287b36
FW
263562017-10-16 Florian Weimer <fweimer@redhat.com>
26357
26358 * malloc/Makefile (others-extras): Set to mcheck-init.o.
26359
3480ddc4
CD
263602017-10-16 Carlos O'Donell <carlos@redhat.com>
26361
26362 * include/shlib-compat.h (compat_symbol_reference): Update
26363 comment.
26364
02010e79
JM
263652017-10-16 Joseph Myers <joseph@codesourcery.com>
26366
596f7013
JM
26367 * math/Makefile (test-types): Add
26368 $(type-float128-$(float128-alias-fcts)).
26369 * math/test-float128.h (TYPE_STR): Define conditional on
26370 [FLT128_MANT_DIG == LDBL_MANT_DIG].
26371 (ULP_IDX): Likewise.
26372 (ULP_I_IDX): Likewise.
26373
02010e79
JM
26374 * stdlib/strtold.c: Include <bits/floatn.h>
26375 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
26376 and later undefine as macro. Define as weak alias if
26377 [!USE_WIDE_CHAR].
26378 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
26379 and later undefine as macro. Define as weak alias if
26380 [USE_WIDE_CHAR].
26381 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
26382 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
26383 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
26384 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26385 Define and later undefine as macro. Define as weak alias if
26386 [USE_WIDE_CHAR].
26387 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
26388 <bits/floatn.h>.
26389 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
26390 Define and later undefine as macro. Define as weak alias if
26391 [!USE_WIDE_CHAR].
26392 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
26393 Define and later undefine as macro. Define as weak alias if
26394 [USE_WIDE_CHAR].
26395
ea91c315
CD
263962017-10-15 Carlos O'Donell <carlos@redhat.com>
26397
26398 * localedata/collate-test.c (allocate_arrays): Don't use \n in
26399 record_verbose messages.
26400
8e57c943
L
264012017-10-15 H.J. Lu <hongjiu.lu@intel.com>
26402
26403 [BZ #22052]
26404 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
26405 to silence -O3 -Wall warning with GCC 7.
26406
a4777c46
L
264072017-10-14 H.J. Lu <hongjiu.lu@intel.com>
26408
26409 * Makeconfig (+link-static-before-libc): Use the first of
26410 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
26411 * gmon/Makefile (tests): Add tst-gmon-static.
26412 (tests-static): Likewise.
26413 (CFLAGS-tst-gmon-static.c): New.
26414 (CRT-tst-gmon-static): Likewise.
26415 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
26416 (tst-gmon-static-ENV): Likewise.
26417 (tests-special): Likewise.
26418 ($(objpfx)tst-gmon-static.out): Likewise.
26419 (clean-tst-gmon-static-data): Likewise.
26420 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
26421 * gmon/tst-gmon-static-gprof.sh: New file.
26422 * gmon/tst-gmon-static.c: Likewise.
26423
bc3821bb
CD
264242017-10-13 Carlos O'Donell <carlos@redhat.com>
26425
26426 [BZ #22295]
26427 * locale/programs/linereader.c (get_string): Don't warn on
26428 non-symbolic character.
26429
a3e23a2c
CD
26430 [BZ #22294]
26431 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
26432 int_curr_symbol.
26433
f16491eb
CD
26434 [BZ #22292]
26435 * locale/programs/record-status.h: New file
26436 * locale/programs/locale.c: Add comment.
26437 * locale/programs/charmap-dir.c: Don't include error.h.
26438 (charmap_opendir): Use record_error.
26439 * locale/programs/charmap.c: Don't include error.h.
26440 (charmap_read): Use record_error, and record_warning.
26441 (parse_charmap): Likewise.
26442 * locale/programs/ld-address.c: Don't include error.h.
26443 (address_finish): Use record_error, and record_warning.
26444 * locale/programs/ld-collate.c: Don't include error.h.
26445 (collate_finish): Use record_error, and record_error_at_line.
26446 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
26447 (ctype_class_new): Likewise.
26448 (ctype_map_new): Likewise.
26449 (set_one_default): Likewise.
26450 (set_class_defaults): Likewise.
26451 (translit_flatten): Likewise.
26452 (allocate_arrays): Use record_error, and record_verbose.
26453 * locale/programs/ld-identification.c: Don't include error.h.
26454 (indentation_finish): Use record_error and record_warning.
26455 * locale/programs/ld-measurement.c: Don't include error.h.
26456 (measurement_finish): Use record_error.
26457 * locale/programs/ld-messages.c
26458 (message_finish): Likewise.
26459 * locale/programs/ld-monetary.c
26460 (monetary_finish): Likewise.
26461 * locale/programs/ld-name.c (name_finish): Use record_error
26462 and record_warning.
26463 * locale/programs/ld-numeric.c
26464 (numeric_finish): Use record_error.
26465 * locale/programs/ld-paper.c: Don't include error.h.
26466 (paper_finish): Use record_error.
26467 * locale/programs/ld-telephone.c: Don't include error.h.
26468 (telephone_finish): Use record_error.
26469 * locale/programs/ld-time.c (time_finish): Likewise.
26470 * locale/programs/linereader.h (lr_error): Make inline func.
26471 * locale/programs/localedef.c: Define recorded_warning_count,
26472 and recorded_error_count.
26473 (main): Use record_error. Use recorded_error_count and
26474 recorded_warning_count to issue correct error returns.
26475 (add_to_readlist): Use record_error.
26476 (find_locale): Likewise.
26477 (load_locale): Likewise.
26478 * locale/programs/localedef.h: Remove be_quiet
26479 and WITH_CUR_LOCALE.
26480 * locale/programs/locarchive.c (compare_from_file): Use
26481 record_error.
26482 * locale/programs/locfile.c (write_locale_data): Use
26483 record_error.
26484 * locale/programs/repertoire.c: Dont include error.h.
26485 (repertoire_complain): Use record_error.
26486 * localedata/tst-fmon.sh: Expect failures from localedef.
26487 * localedata/tst-locale.sh: Likewise.
26488 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
26489
8dc8be75
CD
26490 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
26491 (REPORTS): Likewise.
26492 (check): Likewise.
26493 (i18n): Rename to...
26494 (i18n_ctype): ...this.
26495 (i18n-report): Rename to...
26496 (i18n_ctype-report): ...this.
26497 * localedata/locales/i18n_ctype: Regenerate.
26498 * localedata/locales/i18n: copy i18n_ctype.
26499
f8718a9e
JM
265002017-10-13 Joseph Myers <joseph@codesourcery.com>
26501
18c08b96
JM
26502 * stdlib/strfroml.c: Include <bits/floatn.h>.
26503 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
26504 Define before include of <stdlib.h> and undefine afterwards, then
26505 define as weak alias.
26506
f8718a9e
JM
26507 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
26508 Undefine and restore default definition. Use
26509 libm_alias_ldouble_other.
26510
e4f530da
PZ
265112017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
26512
26513 [BZ #22153]
26514 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
26515 in coredumps.
26516
86445888
JC
265172017-10-13 James Clarke <jrtc27@jrtc27.com>
26518
26519 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26520 Assign sym_map to be map for local symbols, as TLS relocations
26521 use sym_map to determine whether the symbol is defined and to
26522 extract the TLS information.
26523 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26524 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26525
179dcdb7
TMQMF
265262017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26527
e8dbd6a3
TMQMF
26528 [BZ #22189]
26529 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
26530 (math_force_eval): Add powerpc version.
26531
179dcdb7
TMQMF
26532 [BZ #22142]
26533 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
26534 -DBL_MAX.
26535 (do_test): Likewise.
26536 * stdio-common/tst-printf.sh: Likewise.
26537 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
26538 ifdef clause in order to set the carry bit right. Replace r0 by
26539 0 without changing the behavior.
26540
7d25d410
JM
265412017-10-13 Joseph Myers <joseph@codesourcery.com>
26542
006e7664
JM
26543 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
26544 <libm-alias-ldouble.h>.
26545 (fabsl): Define using libm_alias_ldouble.
26546 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
26547 <libm-alias-ldouble.h>.
26548 (fabsl): Define using libm_alias_ldouble.
26549
1def91b3
JM
26550 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
26551 Remove conditional code.
26552
7d25d410
JM
26553 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
26554 Rename to __clog10_internal_l.
26555 (__clog10_internal_l): Define aliases using
26556 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
26557 with __clog10.
26558
077ee129
RS
265592017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26560
26561 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
26562 * benchtests/sincosf-inputs: New file.
26563 * benchtests/cosf-inputs: New file.
26564 * benchtests/sinf-inputs: New file.
26565
5ba41de9
SN
265662017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
26567
26568 * posix/tst-spawn.c (do_test): Wait for both children.
26569
d165ca64
L
265702017-10-12 H.J. Lu <hongjiu.lu@intel.com>
26571
26572 [BZ #22284]
26573 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
26574 tests-pie): Add tst-gmon-pie.
26575 (CFLAGS-tst-gmon-pie.c): New.
26576 (CRT-tst-gmon-pie): Likewise.
26577 (tst-gmon-pie-ENV): Likewise.
26578 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
26579 ($(objpfx)tst-gmon-pie.out): Likewise.
26580 (clean-tst-gmon-pie-data): Likewise.
26581 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
26582 * gmon/gmon.c [PIC]: Include <link.h>.
26583 [PIC] (callback): New function.
26584 (write_hist): Add an argument for load address. Subtract load
26585 address from PCs.
26586 (write_call_graph): Likewise.
26587 (write_gmon): Call __dl_iterate_phdr to get load address, pass
26588 it to write_hist and write_call_graph.
7bacdcfc 26589 * gmon/tst-gmon-pie.c: New file.
d165ca64 26590
bc9620d0
JM
265912017-10-11 Joseph Myers <joseph@codesourcery.com>
26592
26593 * math/Makefile (test-types-basic): New variable.
26594 (test-types): Likewise.
26595 (libm-test-support): Use $(test-types) instead of $(types).
26596 (libm-tests-base-normal): Likewise.
26597 (libm-tests-base-finite): Likewise.
26598 (libm-tests-base-inline): Likewise.
26599 (generated): Likewise.
26600 ($(objpfx)libm-test-support-$(t).c): Likewise.
26601 (libm-tests-for-type iterator): Likewise.
26602 (libm-test-support iterator): Likewise.
26603 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
26604 (ulp_idx): Use ULP_IDX.
26605 * math/test-ldouble.h: Include <float.h>.
26606 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
26607 (ULP_IDX): New macro.
26608 (ULP_I_IDX): Likewise.
26609 * math/test-double.h (ULP_IDX): Likewise.
26610 (ULP_I_IDX): Likewise.
26611 * math/test-float.h (ULP_IDX): Likewise.
26612 (ULP_I_IDX): Likewise.
26613 * math/test-float128.h (ULP_IDX): Likewise.
26614 (ULP_I_IDX): Likewise.
26615
09c76a74
AZ
266162017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26617
26618 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
26619 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26620 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26621 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
26622 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26623 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
26624 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
26625 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26626 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26627 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26628 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
26629 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26630 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26631 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26632 (SINGLE_THREAD_BY_GLOBAL): Define.
26633 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26634 Likewise.
26635 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26636 Likewise.
26637 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26638 Likewise.
26639 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26640 Likewise.
26641 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
26642 (SINGLE_THREAD_BY_GLOBAL): Likewise.
26643 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
26644 Likewise.
26645
2faa42da
AS
266462017-10-11 Andreas Schwab <schwab@suse.de>
26647
26648 * nis/Makefile (aux): Remove.
26649 * nscd/Makefile (aux): Add nscd_hash.
26650 (nscd-modules): Likewise.
26651 ($(objpfx)nscd): Don't depend on libnsl.
26652 * nscd/nscd_hash.c: New file.
26653 * nscd/nscd_hash.h: Likewise.
26654 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
26655 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
26656 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
26657 instead of <nis/rpcsvc/nis.h>.
26658 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
26659
d8425e11
FW
266602017-10-11 Florian Weimer <fweimer@redhat.com>
26661
26662 [BZ #22078]
26663 Avoid large NSS buffers with many addresses, aliases.
26664 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
26665 using dynarrays and struct alloc_buffer.
26666 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
26667 (tst-nss-files-hosts-multi): Link with -ldl.
26668 * nss/tst-nss-files-hosts-multi.c: New file.
26669
78e806fd
FW
266702017-10-11 Florian Weimer <fweimer@redhat.com>
26671
26672 [BZ #18023]
26673 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
26674 scratch_buffer. Eliminate gotos.
26675
541f19ba
JM
266762017-10-11 Joseph Myers <joseph@codesourcery.com>
26677
0ff64d3a
JM
26678 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
26679 libm_alias_ldouble_other.
26680 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
26681 undefine and redefine.
26682 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26683 (exp10l): Do not define here.
26684 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
26685 (weak_alias): Undefine and redefine.
26686 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
26687 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26688 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
26689 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
26690
541f19ba
JM
26691 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
26692 [!__fma] (fma): Define using libm_alias_double.
26693 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
26694 [!__fmaf] (fmaf): Define using libm_alias_float.
26695 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
26696 (fmal): Define using libm_alias_ldouble.
26697
24b6515d
JM
266982017-10-10 Joseph Myers <joseph@codesourcery.com>
26699
26700 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
26701 New macro.
26702 (libm_alias_double_other): Likewise.
26703 (libm_alias_double_r): Use libm_alias_double_other_r.
26704 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
26705 New macro.
26706 (libm_alias_float_other): Likewise.
26707 (libm_alias_float_r): Use libm_alias_float_other_r.
26708 * sysdeps/generic/libm-alias-float128.h
26709 (libm_alias_float128_other_r): New macro.
26710 (libm_alias_float128_other): Likewise.
26711 (libm_alias_float128_r): Use libm_alias_float128_other_r.
26712 * sysdeps/generic/libm-alias-ldouble.h
26713 (libm_alias_ldouble_other_r): New macro.
26714 (libm_alias_ldouble_other): Likewise.
26715 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26716 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26717 (libm_alias_double_other_r): New macro.
26718 (libm_alias_double_other): Likewise.
26719 (libm_alias_double_r): Use libm_alias_double_other_r.
26720 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26721 (libm_alias_ldouble_other_r): New macro.
26722 (libm_alias_ldouble_other): Likewise.
26723 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
26724 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
26725 [!USE_AS_COMPAT]: Use libm_alias_double_other.
26726 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
26727 [!USE_AS_COMPAT]: Use libm_alias_float_other.
26728 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
26729 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
26730 * math/w_exp2f.c: Use libm_alias_float_other.
26731 * math/w_expf.c: Likewise.
26732 * math/w_log2f.c: Likewise.
26733 * math/w_logf.c: Likewise.
26734 * math/w_powf.c: Likewise.
26735 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
26736 [!__exp2f]: Use libm_alias_float_other.
26737 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
26738 [!__expf]: Use libm_alias_float_other.
26739 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
26740 [!__log2f]: Use libm_alias_float_other.
26741 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
26742 [!__logf]: Use libm_alias_float_other.
26743 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
26744 [!__powf]: Use libm_alias_float_other.
26745
8ed70de2
FW
267462017-10-10 Florian Weimer <fweimer@redhat.com>
26747
26748 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
26749 function.
26750 (_nss_files_gethostbyname3_r): Call it.
26751
a8dce619
JM
267522017-10-09 Joseph Myers <joseph@codesourcery.com>
26753
26754 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
26755 error. Remove default definition of declare_mgen_alias.
26756 [!declare_mgen_alias_r]: Likewise.
26757 * sysdeps/generic/math-type-macros-double.h
26758 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
26759 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
26760 (declare_mgen_alias_r): Likewise.
26761 * sysdeps/generic/math-type-macros-float128.h
26762 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26763 * sysdeps/generic/math-type-macros-ldouble.h
26764 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
26765 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
26766 macro.
26767 (declare_mgen_alias_r_s): Likewise.
26768 (declare_mgen_alias_r): Likewise.
26769 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
26770 (lgamma_r): Define using libm_alias_double_r.
26771 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
26772 (lgammaf_r): Define using libm_alias_float_r.
26773 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
26774 (lgammal_r): Define using libm_alias_ldouble_r.
26775 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
26776 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26777
bedac136
AZ
267782017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26779
26780 * lib/glob.c (__glob_pattern_type): Remove now-spurious
26781 extern declaration.
26782
c7509db2
JM
267832017-10-09 Joseph Myers <joseph@codesourcery.com>
26784
26785 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
26786
d6c064e9
JW
267872017-10-09 Jonathan Wakely <jwakely@redhat.com>
26788
26789 [BZ #21326]
26790 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
26791 [__cplusplus >= 201103] (__USE_ISOC99): Define.
26792 * math/Makefile (test-math-cxx11): New test.
26793 * math/test-math-cxx11.cc: New file.
26794
98e07420
CB
267952017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
26796
26797 * login/openpty.c (openpty): Close slave pty file descriptor on error.
26798
645ac9aa
CB
26799 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
26800 call to allocate the slave pty file descriptor.
26801
fd3b4e7c
JM
268022017-10-06 Joseph Myers <joseph@codesourcery.com>
26803
f85a176f
JM
26804 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
26805 [!__fma] (fma): Define using libm_alias_double.
26806 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
26807 [!__fma] (fma): Define using libm_alias_double.
26808
fd3b4e7c
JM
26809 * sysdeps/ieee754/float128/float128_private.h: Include
26810 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
26811 (libm_alias_ldouble_r): Undefine and redefine.
26812 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
26813 <libm-alias-ldouble.h>.
26814 (asinhl): Define using libm_alias_ldouble.
26815 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
26816 <libm-alias-ldouble.h>.
26817 (atanl): Define using libm_alias_ldouble.
26818 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
26819 <libm-alias-ldouble.h>.
26820 (cbrtl): Define using libm_alias_ldouble.
26821 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
26822 <libm-alias-ldouble.h>.
26823 (ceill): Define using libm_alias_ldouble.
26824 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
26825 <libm-alias-ldouble.h>.
26826 (copysignl): Define using libm_alias_ldouble.
26827 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
26828 <libm-alias-ldouble.h>.
26829 (cosl): Define using libm_alias_ldouble.
26830 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
26831 <libm-alias-ldouble.h>.
26832 (erfl): Define using libm_alias_ldouble.
26833 (erfcl): Likewise.
26834 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
26835 <libm-alias-ldouble.h>.
26836 (expm1l): Define using libm_alias_ldouble.
26837 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
26838 <libm-alias-ldouble.h>.
26839 (fabsl): Define using libm_alias_ldouble.
26840 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
26841 <libm-alias-ldouble.h>.
26842 (floorl): Define using libm_alias_ldouble.
26843 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
26844 <libm-alias-ldouble.h>.
26845 (fmal): Define using libm_alias_ldouble.
26846 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
26847 <libm-alias-ldouble.h>.
26848 (frexpl): Define using libm_alias_ldouble.
26849 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
26850 libm_alias_ldouble.
26851 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
26852 <libm-alias-ldouble.h>.
26853 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
26854 libm_alias_ldouble.
26855 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
26856 <libm-alias-ldouble.h>.
26857 (getpayloadl): Define using libm_alias_ldouble.
26858 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
26859 <libm-alias-ldouble.h>.
26860 (llrintl): Define using libm_alias_ldouble.
26861 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
26862 <libm-alias-ldouble.h>.
26863 (llroundl): Define using libm_alias_ldouble.
26864 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
26865 <libm-alias-ldouble.h>.
26866 (logbl): Define using libm_alias_ldouble.
26867 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
26868 <libm-alias-ldouble.h>.
26869 (lrintl): Define using libm_alias_ldouble.
26870 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
26871 <libm-alias-ldouble.h>.
26872 (lroundl): Define using libm_alias_ldouble.
26873 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
26874 <libm-alias-ldouble.h>.
26875 (modfl): Define using libm_alias_ldouble.
26876 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
26877 <libm-alias-ldouble.h>.
26878 (nearbyintl): Define using libm_alias_ldouble.
26879 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
26880 <libm-alias-ldouble.h>.
26881 (nextafterl): Define using libm_alias_ldouble.
26882 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
26883 <libm-alias-ldouble.h>.
26884 (nextupl): Define using libm_alias_ldouble.
26885 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
26886 <libm-alias-ldouble.h>.
26887 (remquol): Define using libm_alias_ldouble.
26888 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
26889 <libm-alias-ldouble.h>.
26890 (rintl): Define using libm_alias_ldouble.
26891 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
26892 <libm-alias-ldouble.h>.
26893 (roundevenl): Define using libm_alias_ldouble.
26894 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
26895 <libm-alias-ldouble.h>.
26896 (roundl): Define using libm_alias_ldouble.
26897 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
26898 using libm_alias_ldouble.
26899 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
26900 <libm-alias-ldouble.h>.
26901 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
26902 Define using libm_alias_ldouble.
26903 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
26904 <libm-alias-ldouble.h>.
26905 (sincosl): Define using libm_alias_ldouble.
26906 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
26907 <libm-alias-ldouble.h>.
26908 (sinl): Define using libm_alias_ldouble.
26909 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
26910 <libm-alias-ldouble.h>.
26911 (tanhl): Define using libm_alias_ldouble.
26912 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
26913 <libm-alias-ldouble.h>.
26914 (tanl): Define using libm_alias_ldouble.
26915 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
26916 <libm-alias-ldouble.h>.
26917 (totalorderl): Define using libm_alias_ldouble.
26918 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
26919 <libm-alias-ldouble.h>.
26920 (totalordermagl): Define using libm_alias_ldouble.
26921 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
26922 <libm-alias-ldouble.h>.
26923 (truncl): Define using libm_alias_ldouble.
26924 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
26925 libm_alias_ldouble.
26926 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
26927 libm_alias_ldouble.
26928 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
26929 <libm-alias-ldouble.h>.
26930 (weak_alias): Do not undefine and redefine.
26931 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26932 (copysignl): Define with long_double_symbol only if [IS_IN
26933 (libc)].
26934 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
26935 <libm-alias-ldouble.h>.
26936 (weak_alias): Do not undefine and redefine.
26937 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26938 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
26939 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
26940 <libm-alias-ldouble.h>.
26941 (weak_alias): Do not undefine and redefine.
26942 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
26943 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
26944 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
26945 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
26946 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
26947 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
26948 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
26949 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
26950 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
26951 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
26952 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
26953 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
26954 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
26955 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
26956 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
26957 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
26958 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
26959 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
26960 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
26961 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
26962 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
26963 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
26964 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
26965 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
26966 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
26967 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
26968
1e26d351
CD
269692017-10-06 Carlos O'Donell <carlos@redhat.com>
26970
26971 [BZ #22111]
26972 * malloc/malloc.c (tcache_shutting_down): Use bool type.
26973 (tcache_thread_freeres): Set tcache_shutting_down before
26974 freeing the tcache.
26975 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
26976 * malloc/tst-malloc-tcache-leak.c: New file.
26977
d1386762
RS
269782017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26979
26980 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
26981 back to powerpc32 file.
26982 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
26983 (memrchr): Add __memrchr_power8 to ifunc list.
26984 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
26985 extra bytes for unaligned inputs.
26986
6dff1983
JM
269872017-10-06 Joseph Myers <joseph@codesourcery.com>
26988
26989 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
26990 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
26991 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
26992 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26993 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26994
86f9568a
JM
269952017-10-05 Joseph Myers <joseph@codesourcery.com>
26996
0db0b931
JM
26997 * sysdeps/arm/libm-test-ulps: Update.
26998
86f9568a
JM
26999 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27000 <libm-alias-ldouble.h>.
27001 (asinhl): Define using libm_alias_ldouble.
27002 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27003 <libm-alias-ldouble.h>.
27004 (cbrtl): Define using libm_alias_ldouble.
27005 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27006 <libm-alias-ldouble.h>.
27007 (copysignl): Define using libm_alias_ldouble.
27008 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27009 <libm-alias-ldouble.h>.
27010 (cosl): Define using libm_alias_ldouble.
27011 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27012 <libm-alias-ldouble.h>.
27013 (erfl): Define using libm_alias_ldouble.
27014 (erfcl): Likewise.
27015 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27016 <libm-alias-ldouble.h>.
27017 (fmal): Define using libm_alias_ldouble.
27018 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27019 <libm-alias-ldouble.h>.
27020 (frexpl): Define using libm_alias_ldouble.
27021 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27022 libm_alias_ldouble.
27023 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27024 <libm-alias-ldouble.h>.
27025 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27026 libm_alias_ldouble.
27027 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27028 <libm-alias-ldouble.h>.
27029 (getpayloadl): Define using libm_alias_ldouble.
27030 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27031 <libm-alias-ldouble.h>.
27032 (llrintl): Define using libm_alias_ldouble.
27033 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27034 <libm-alias-ldouble.h>.
27035 (llroundl): Define using libm_alias_ldouble.
27036 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27037 <libm-alias-ldouble.h>.
27038 (lrintl): Define using libm_alias_ldouble.
27039 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27040 <libm-alias-ldouble.h>.
27041 (lroundl): Define using libm_alias_ldouble.
27042 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27043 <libm-alias-ldouble.h>.
27044 (modfl): Define using libm_alias_ldouble.
27045 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27046 <libm-alias-ldouble.h>.
27047 (nextupl): Define using libm_alias_ldouble.
27048 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27049 <libm-alias-ldouble.h>.
27050 (remquol): Define using libm_alias_ldouble.
27051 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27052 <libm-alias-ldouble.h>.
27053 (roundevenl): Define using libm_alias_ldouble.
27054 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27055 <libm-alias-ldouble.h>.
27056 (roundl): Define using libm_alias_ldouble.
27057 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27058 using libm_alias_ldouble.
27059 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27060 <libm-alias-ldouble.h>.
27061 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27062 <libm-alias-ldouble.h>.
27063 (setpayloadsigl): Define using libm_alias_ldouble.
27064 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27065 <libm-alias-ldouble.h>.
27066 (sincosl): Define using libm_alias_ldouble.
27067 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27068 <libm-alias-ldouble.h>.
27069 (sinl): Define using libm_alias_ldouble.
27070 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27071 <libm-alias-ldouble.h>.
27072 (tanhl): Define using libm_alias_ldouble.
27073 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27074 <libm-alias-ldouble.h>.
27075 (tanl): Define using libm_alias_ldouble.
27076 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27077 <libm-alias-ldouble.h>.
27078 (totalorderl): Define using libm_alias_ldouble.
27079 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27080 <libm-alias-ldouble.h>.
27081 (totalordermagl): Define using libm_alias_ldouble.
27082 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27083 libm_alias_ldouble.
27084 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27085 libm_alias_ldouble.
27086
9ec87fd2
SP
270872017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27088
dd5bc7f1
SP
27089 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27090 memmove_falkor.
27091 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27092 (__libc_ifunc_impl_list): Likewise.
27093 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27094 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27095
5bfb0404
SP
27096 * benchtests/bench-memmove-walk.c: New file.
27097 * benchtests/Makefile (string-benchset): Add it.
27098
36bb8edf
SP
27099 * benchtests/bench-memset-walk.c: New file.
27100 * benchtests/Makefile (string-benchset): Add it.
27101
9ec87fd2
SP
27102 * benchtests/bench-memcpy-walk.c: New file.
27103 * benchtests/Makefile (string-benchset): Add it.
27104
1e9522c6
FW
271052017-10-05 Florian Weimer <fweimer@redhat.com>
27106
27107 nscd: Eliminate compilation time dependency in the build output.
27108 * nscd/nscd_stat.c (STATDATA_VERSION)
27109 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27110 (STATDATA_VERSION_FULL): New macro definitions.
27111 (compilation): Remove.
27112 (struct statdata): Adjust version member.
27113 (send_stats): Set version from STATDATA_VERSION_FULL.
27114 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27115
644d3857
JM
271162017-10-05 Joseph Myers <joseph@codesourcery.com>
27117
27118 * configure.ac (--enable-add-ons): Remove option.
27119 (machine): Do not mention add-ons in comment.
27120 (LIBC_PRECONFIGURE): Likewise.
27121 (add_ons): Remove variable and sanity checks and logic to locate
27122 add-ons.
27123 (add_ons_automatic): Remove variable.
27124 (configured_add_ons): Likewise.
27125 (add_ons_sfx): Likewise.
27126 (add_ons_pfx): Likewise.
27127 (add_on_subdirs): Likewise.
27128 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27129 consideration of add-ons in Implies handling.
27130 (sysdeps_add_ons): Likewise.
27131 * configure: Regenerated.
27132 * libidn/configure.ac: Remove.
27133 * libidn/configure: Likewise.
27134 * sysdeps/unix/inet/configure.ac: New file.
27135 * sysdeps/unix/inet/configure: New generated file.
27136 * sysdeps/unix/inet/Subdirs: Add libidn.
27137 * Makeconfig (sysdeps-srcdirs): Remove variable.
27138 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27139 ($(common-objpfx)config.status): Do not depend on add-on files.
27140 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27141 comment.
27142 (all-subdirs): Do not include $(add-on-subdirs).
27143 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27144 * config.make.in (add-ons): Remove variable.
27145 (add-on-subdirs): Likewise.
27146 (sysdeps-add-ons): Likewise.
27147 * manual/Makefile (add-chapters): Remove.
27148 ($(objpfx)texis): Do not depend on $(add-chapters).
27149 (nonexamples): Do not handle $(add-chapters).
27150 (examples): Do not handle $(add-ons).
27151 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27152 libc-texinfo.sh.
27153 * manual/install.texi (Installation): Do not mention add-ons.
27154 (--enable-add-ons): Do not document configure option.
27155 * INSTALL: Regenerated.
27156 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27157 * manual/maint.texi (Hierarchy Conventions): Do not mention
27158 add-ons.
27159 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27160 --enable-add-ons.
27161 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27162 add-ons.
27163 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27164 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27165
19f82f35
AS
271662017-10-05 Andreas Schwab <schwab@suse.de>
27167
27168 [BZ #15142]
27169 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27170 (_IO_flush_all_lockp): Always lock list_all_lock.
27171 (_IO_flush_all_linebuffered): Likewise.
27172 (_IO_unbuffer_all): Likewise.
27173
91e7cf98
FW
271742017-10-05 Florian Weimer <fweimer@redhat.com>
27175
27176 [BZ #15436]
27177 Do not flush stdio streams on abort.
27178 * stdlib/abort.c (fflush): Remove macro definition.
27179 (abort): Remove stages related to stdio flushing.
27180
0c251257
FW
271812017-10-05 Florian Weimer <fweimer@redhat.com>
27182
27183 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
27184
7ea59e3e
SL
271852017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
27186
27187 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27188
84d0e6f0
FW
271892017-10-05 Florian Weimer <fweimer@redhat.com>
27190
27191 * support/support_format_hostent.c (support_format_hostent): Add
27192 more error information for NETDB_INTERNAL.
27193
ee417882
L
271942017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27195
27196 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
27197 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
27198 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
27199 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
27200 AC_DEFINE if multi-arch is enabled.
27201 * sysdeps/i386/configure: Regenerated.
27202
a67029ff
L
272032017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27204
27205 * Makeconfig (+link-static-before-libc): Use
27206 $(DEFAULT-LDFLAGS-$(@F)).
27207 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
27208 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
27209 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
27210
5dba84b3
L
272112017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27212
27213 * elf/Makefile (tests): Add tst-main1.
27214 (modules-names): Add tst-main1mod.
27215 ($(objpfx)tst-main1): New.
27216 (CRT-tst-main1): Likewise.
27217 (LDFLAGS-tst-main1): Likewise.
27218 (LDLIBS-tst-main1): Likewise.
27219 (tst-main1mod.so-no-z-defs): Likewise.
27220 * elf/tst-main1.c: New file.
27221 * elf/tst-main1mod.c: Likewise.
27222
758f1bfa
L
272232017-10-04 H.J. Lu <hongjiu.lu@intel.com>
27224
27225 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
27226
7e16a5d1
JM
272272017-10-04 Joseph Myers <joseph@codesourcery.com>
27228
27229 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
27230 (fma): Define using libm_alias_double.
27231 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
27232 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
27233 <math_ldbl_opt.h>.
27234 (fmal): Do not define as compat symbol here.
27235 * sysdeps/alpha/fpu/s_fma.c: New file.
27236
db4f87ba
SN
272372017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27238
27239 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
27240
72d13ed1
JM
272412017-10-04 Joseph Myers <joseph@codesourcery.com>
27242
32d372d5
JM
27243 [BZ #22229]
27244 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
27245 <math_ldbl_opt.h>
27246 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27247 and libc.
27248 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
27249 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27250 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
27251 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
27252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27253 Include <math_ldbl_opt.h>
27254 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
27255 and libc.
27256 (compat_symbol): Undefine and redefine.
27257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
27258 <math_ldbl_opt.h>
27259 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
27260 (compat_symbol): Undefine and redefine.
27261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
27262 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
27263 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
27264 GLIBC_2_1 for libm.
27265 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
27266 GLIBC_2.0 copysignl symbol.
27267 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27268 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
27269
72d13ed1
JM
27270 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
27271
11c4f501
FW
272722017-10-04 Florian Weimer <fweimer@redhat.com>
27273
27274 * scripts/check-local-headers.sh: Ignore nspr4 header file
27275 directory in addition to nspr.
27276
57b4af19
GT
272772017-10-04 Guido Trentalancia <guido@trentalancia.net>
27278
27279 [BZ #17956]
27280 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
27281 * configure: Regenerate.
27282 * crypt/Makefile (nss-cpp-flags): New variable.
27283 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
27284 (CPPFLAGS-md5-crypt.c): Use it.
27285 * scripts/check-local-headers.sh: Ignore nspr header file
27286 directory.
27287
64d1e08e
AS
272882017-10-04 Andreas Schwab <schwab@suse.de>
27289
27290 * nis/Makefile (services): Remove compat.
27291 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
27292 ($(objpfx)libnss_compat.so): Remove rule.
27293 * nis/Versions (libnss_compat): Remove.
27294 * nss/Makefile (services): Add compat.
27295 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
27296 * nss/Versions (libnss_compat): Define.
27297 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
27298 Don't include <rpc/types.h>. Replace bool_t by bool.
27299 * nss/nss_compat/compat-initgroups.c: Likewise.
27300 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
27301 instead of <rpcsrv/ypclnt.h>.
27302 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
27303 yp_get_default_domain.
27304 * nss/nss_compat/compat-pwd.c: Likewise.
27305 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
27306 yp_get_default_domain.
27307 * nss/nss_compat/nisdomain.c: New file.
27308 * nss/nss_compat/nisdomain.h: Likewise.
27309
86c27ade
SN
273102017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27311
27312 [BZ #22244]
27313 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
27314 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27315
8f8f8ef7
SN
273162017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
27317
27318 [BZ #22243]
27319 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
27320 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
27321
95577475
L
273222017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27323
27324 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
27325 "movl main@GOTOFF(%ebx), %eax".
27326
02d2d892
L
273272017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27328
27329 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
27330 allow undefined _DYNAMIC in PIE libc.a.
27331 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
27332 Likewse.
27333
0c609d19
L
273342017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27335
27336 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
27337 check _DYNAMIC.
27338
c34a19ed
L
273392017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27340
27341 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
27342 check _DYNAMIC.
27343
cdd4155d
L
273442017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27345
27346 * math/test-math-iscanonical.cc (error): Replace bool with int.
27347
4699cb8b
JM
273482017-10-03 Joseph Myers <joseph@codesourcery.com>
27349
d8f619b3
JM
27350 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
27351 (modf): Define using libm_alias_double, only if [!__modf].
27352 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
27353 <libm-alias-double.h>.
27354 (modf): Define using libm_alias_double, only if [!__modf].
27355 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
27356 compat symbol here.
27357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
27358 (weak_alias): Do not undefine and redefine.
27359 (strong_alias): Likewise.
27360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
27361 (weak_alias): Likewise.
27362 (strong_alias): Likewise.
27363
4699cb8b
JM
27364 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
27365 (logb): Define using libm_alias_double, only if [!__logb].
27366 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
27367 <libm-alias-double.h>.
27368 (logb): Define using libm_alias_double, only if [!__logb].
27369 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
27370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
27371 (weak_alias): Do not undefine and redefine.
27372 (strong_alias): Likewise.
27373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
27374 (weak_alias): Likewise.
27375 (strong_alias): Likewise.
27376
bcc4e4bb
L
273772017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27378
27379 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
27380 Check SHARED instead PIC.
27381
39793865
JM
273822017-10-03 Joseph Myers <joseph@codesourcery.com>
27383
7f1cbdf8
JM
27384 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
27385 [!__fmaf] (fmaf): Define using libm_alias_float.
27386
39793865
JM
27387 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
27388 (frexp): Define using libm_alias_double.
27389 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
27390 <libm-alias-double.h>.
27391 (frexp): Define using libm_alias_double.
27392 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
27393 compat symbol here.
27394
aa0235df
GG
273952017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
27396
27397 [BZ #22235]
27398 * math/math.h: Trivial fix for unbalanced parentheses in comment.
27399 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
27400 (CFLAGS-test-math-iscanonical.cc): New variable.
27401 * math/test-math-iscanonical.cc: New file.
27402 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
27403 Provide a C++ implementation based on function overloading,
27404 rather than using __MATH_TG, which uses C-only builtins.
27405 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
27406 Likewise.
27407 * sysdeps/powerpc/powerpc64le/Makefile
27408 (CFLAGS-test-math-iscanonical.cc): New variable.
27409
a1132b5e
JM
274102017-10-03 Joseph Myers <joseph@codesourcery.com>
27411
27412 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
27413 (ceil): Define using libm_alias_double.
27414 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
27415 (floor): Define using libm_alias_double.
27416 * sysdeps/ieee754/dbl-64/s_llround.c: Include
27417 <libm-alias-double.h>.
27418 (llround): Define using libm_alias_double.
27419 * sysdeps/ieee754/dbl-64/s_lround.c: Include
27420 <libm-alias-double.h>.
27421 (lround): Define using libm_alias_double.
27422 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
27423 <libm-alias-double.h>.
27424 (nearbyint): Define using libm_alias_double.
27425 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
27426 <libm-alias-double.h>.
27427 (remquo): Define using libm_alias_double.
27428 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
27429 (rint): Define using libm_alias_double.
27430 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
27431 (round): Define using libm_alias_double.
27432 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
27433 (trunc): Define using libm_alias_double.
27434 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
27435 <libm-alias-double.h>.
27436 (ceil): Define using libm_alias_double.
27437 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
27438 <libm-alias-double.h>.
27439 (floor): Define using libm_alias_double.
27440 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
27441 <libm-alias-double.h>.
27442 (llround): Define using libm_alias_double.
27443 [_LP64] (lround): Likewise.
27444 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
27445 <libm-alias-double.h>.
27446 [!_LP64] (lround): Define using libm_alias_double.
27447 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
27448 <libm-alias-double.h>.
27449 (nearbyint): Define using libm_alias_double.
27450 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
27451 <libm-alias-double.h>.
27452 (remquo): Define using libm_alias_double.
27453 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
27454 <libm-alias-double.h>.
27455 (rint): Define using libm_alias_double.
27456 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
27457 <libm-alias-double.h>.
27458 (round): Define using libm_alias_double.
27459 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
27460 <libm-alias-double.h>.
27461 (trunc): Define using libm_alias_double.
27462 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
27463 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
27464 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
27465 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
27466 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
27467 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
27468 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
27469 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
27470 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
27471
f275f64e
SN
274722017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
27473
27474 * math/w_remainder.c: New file.
27475 * math/w_remainderf.c: New file.
27476 * math/w_remainderl.c: New file.
27477
b8818ab5
L
274782017-10-03 H.J. Lu <hongjiu.lu@intel.com>
27479
27480 * elf/rtld.c (BOOTSTRAP_MAP): New.
27481 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
27482 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27483 Likewise.
27484 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27485 Likewise.
27486 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
27487 Likewise.
27488
3d1870fa
ST
274892017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27490
27491 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
27492 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
27493 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
27494 rtld_hidden_data_ver): Define to empty.
27495 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
27496 __assert_perror_fail): Likewise.
27497 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27498 (__rewinddir): Likewise.
27499 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27500 (__profile_frequency): Likewise.
27501 * include/setjmp.h (__sigsetjmp): Likewise.
27502 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
27503 __libc_sigaction): Likewise.
27504 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
27505 not set hidden attribute.
27506 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
27507 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
27508 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
27509 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
27510 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
27511 __fxstatat64): Likewise.
27512 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27513 (__uname): Likewise.
27514 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
27515 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
27516 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
27517 (NO_RTLD_HIDDEN): Set.
27518 * sysdeps/mach/hurd/configure: Refresh.
27519 * config.h.in: Refresh.
27520
527cd19c
JM
275212017-10-02 Joseph Myers <joseph@codesourcery.com>
27522
38722448
JM
27523 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
27524 (atan): Define using libm_alias_double.
27525 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
27526 (tan): Define using libm_alias_double.
27527 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
27528 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
27529
527cd19c
JM
27530 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
27531 define as weak alias of __atan. Do not define any aliases if
27532 [__atan].
27533 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
27534 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
27535 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
27536 as weak alias of __tan. Do not define any aliases if [__tan].
27537 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
27538 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
27539 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
27540 __atan.
27541 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
27542 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
27543 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
27544 and define as weak alias of __atan.
27545 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
27546 __atan.
27547 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
27548 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
27549 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
27550 define as weak alias of __tan.
27551
bdc5c592
SN
275522017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27553
27554 * math/w_lgamma.c: New file.
27555 * math/w_lgammaf.c: New file.
27556 * math/w_lgammal.c: New file.
27557
bd4430c2
SN
275582017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27559
27560 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
27561 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
27562 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
27563 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
27564 * sysdeps/ieee754/flt-32/w_logf.c: New file.
27565 * sysdeps/ieee754/flt-32/w_powf.c: New file.
27566 * sysdeps/i386/fpu/w_log2f.c: New file.
27567 * sysdeps/i386/fpu/w_logf.c: New file.
27568 * sysdeps/i386/fpu/w_powf.c: New file.
27569 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
27570 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
27571 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
27572
f7a0b063
SN
275732017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27574 H.J. Lu <hongjiu.lu@intel.com>
27575
27576 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
27577 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
27578 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
27579 * sysdeps/ieee754/flt-32/w_expf.c: New file.
27580 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
27581 the new expf code.
27582 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
27583 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
27584 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
27585 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
27586 * sysdeps/i386/fpu/w_exp2f.c: New file.
27587 * sysdeps/i386/fpu/w_expf.c: New file.
27588 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
27589 * sysdeps/x86_64/fpu/w_expf.c: New file.
27590
72d3d281
SN
275912017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
27592
27593 * math/Versions (logf): New libm symbol at GLIBC_2.27.
27594 (log2f): Likewise.
27595 (powf): Likewise.
27596 * math/w_log2f.c: New file.
27597 * math/w_logf.c: New file.
27598 * math/w_powf.c: New file.
27599 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
27600 * math/w_logf_compat.c (__logf_compat): Likewise.
27601 * math/w_powf_compat.c (__powf_compat): Likewise.
27602 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
27603 * sysdeps/ia64/fpu/e_logf.S: Likewise.
27604 * sysdeps/ia64/fpu/e_powf.S: Likewise.
27605 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
27606 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27607 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
27608 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27609 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27610 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27611 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
27612 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
27613 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
27614 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
27615 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27616 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
27618 Likewise.
27619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27620 Likewise.
27621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27622 Likewise.
27623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
27624 Likewise.
27625 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27626 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27627 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
27628 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27629 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
27631 Likewise.
27632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
27633 Likewise.
27634 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
27635 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27636 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27637
59ba2d2b
RS
276382017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27639
27640 * sysdeps/powerpc/powerpc64/multiarch/Makefile
27641 (sysdep_routines): Add memrchr_power8.
27642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27643 (memrchr): Add __memrchr_power8 to list of memrchr functions.
27644 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
27645 New file.
27646 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27647 (memrchr): Add __memrchr_power8 to ifunc list.
27648 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
27649
397286ea
L
276502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27651
27652 [BZ #18822]
27653 * sysdeps/unix/sysv/linux/posix_fadvise64.c
27654 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
27655 libc_hidden_def.
27656 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27657 (__posix_fallocate64_l64): Likewise.
27658
d0a4512b
L
276592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27660
27661 [BZ #18822]
27662 * sysdeps/unix/sysv/linux/sched_setaffinity.c
27663 (__sched_setaffinity_new): Add libc_hidden_proto and
27664 libc_hidden_def.
27665
c0769f70
L
276662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27667
27668 [BZ #18822]
27669 * include/glob.h (__glob64): Add libc_hidden_proto.
27670 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
27671 libc_hidden_def.
27672
0e7d5b6e
L
276732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27674
27675 [BZ #18822]
27676 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
27677 attribute_hidden.
27678
bde06c87
L
276792017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27680
27681 [BZ #18822]
27682 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
27683
fa426590
L
276842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27685
27686 [BZ #18822]
27687 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
27688 libc_hidden_def.
27689
2f8a05d8
L
276902017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27691
27692 [BZ #18822]
27693 * csu/version.c (__libc_print_version): Add attribute_hidden.
27694
7bfd08ac
L
276952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27696
27697 [BZ #18822]
27698 * include/libc-internal.h (__init_misc): Add attribute_hidden.
27699
0e1fd06c
L
277002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27701
27702 [BZ #18822]
27703 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
27704
36e7ae1e
L
277052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27706
27707 [BZ #18822]
27708 * nscd/nscd_helper.c (__nis_hash): New prototype.
27709
87078544
L
277102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27711
27712 [BZ #18822]
27713 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
27714 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
27715 libc_hidden_def.
27716 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27717 * termios/tcgetattr.c (__tcgetattr): Likewise.
27718
dd3121df
L
277192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27720
27721 [BZ #18822]
27722 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
27723 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
27724 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
27725 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
27726 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
27727
047d1a81
L
277282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27729
27730 [BZ #18822]
27731 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
27732
fd331b11
L
277332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27734
27735 [BZ #18822]
27736 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
27737 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
27738
57f859bd
L
277392017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27740
27741 [BZ #18822]
27742 * intl/hash-string.h (__hash_string): Add attribute_hidden.
27743
d1903329
L
277442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27745
27746 [BZ #18822]
27747 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
27748 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
27749
b4744101
L
277502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27751
27752 [BZ #18822]
27753 * include/ifreq.h: New file.
27754 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
27755 (__ifreq): Likewise.
27756 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
27757 (__ifreq): Likewise.
27758
43b7dfd1
L
277592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27760
27761 [BZ #18822]
27762 * include/idna.h: New file.
27763 * inet/getnameinfo.c: Include <idna.h> instead of
27764 <libidn/idna.h>.
27765 (__idna_to_unicode_lzlz): Removed.
27766 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
27767 <libidn/idna.h>.
27768 (__idna_to_ascii_lz): Removed.
27769 (__idna_to_unicode_lzlz): Likewise.
27770
2c0cd8f8
L
277712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27772
27773 [BZ #18822]
27774 * include/plural-exp.h: New file.
27775 * intl/plural-exp.c: Include <plural-exp.h> instead of
27776 "plural-exp.h".
27777
8369d216
L
277782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27779
27780 [BZ #18822]
27781 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
27782 "getsourcefilter.h".
27783 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
27784 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
27785 "getsourcefilter.h".
27786 (__get_sol): Removed.
27787
a0aef783
L
277882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27789
27790 [BZ #18822]
27791 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
27792 to ...
27793 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
27794
3ee8209b
L
277952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27796
27797 [BZ #18822]
27798 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
27799 attribute_hidden.
27800
6036fc38
L
278012017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27802
27803 [BZ #18822]
27804 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
27805
fe84fed0
L
278062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27807
27808 [BZ #18822]
27809 * include/search.h (__tdestroy): Add libc_hidden_proto.
27810 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
27811
048dd681
L
278122017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27813
27814 [BZ #18822]
27815 * include/assert.h (__assert_fail_base): Add attribute_hidden.
27816
6e342af6
L
278172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27818
27819 [BZ #18822]
27820 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
27821 attribute_hidden.
27822
6a088436
L
278232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27824
27825 [BZ #18822]
27826 * include/signal.h (__kill): Add libc_hidden_proto.
27827 (__sigblock): Likewise.
27828 (__sigprocmask): Likewise.
27829 (__sigaltstack): Likewise.
27830 * signal/kill.c (__kill): Add libc_hidden_def.
27831 * signal/sigblock.c (__sigblock): Likewise.
27832 * signal/sigprocmask.c (__sigprocmask): Likewise.
27833 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
27834 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27835 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27836 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27837 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
27838 Likewise.
27839 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27840 Likewise.
27841 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27842 (__sigprocmask): Likewise.
27843 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
27844 Likewise.
27845 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27846 (__sigprocmask): Likewise.
27847 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27848 Likewise.
27849
78cf1d74
L
278502017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27851
27852 [BZ #18822]
27853 * include/string.h (__strsep): Add libc_hidden_proto.
27854 * string/strsep.c (__strsep): Add libc_hidden_def.
27855
85b35894
L
278562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27857
27858 [BZ #18822]
27859 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
27860 attribute_hidden.
27861 (__spawni): Likewise.
27862
225f7eec
L
278632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27864
27865 [BZ #18822]
27866 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
27867 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
27868 libc_hidden_def.
27869
372fe247
L
278702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27871
27872 [BZ #18822]
27873 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
27874
9e5ee8b8
L
278752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27876
27877 [BZ #18822]
27878 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
27879 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
27880 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
27881 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
27882 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
27883 Likewise.
27884 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
27885 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
27886
2ff16592
L
278872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27888
27889 [BZ #18822]
27890 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
27891 (__dcigettext): Likewise.
27892
b5648377
L
278932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27894
27895 [BZ #18822]
27896 * include/sys/sysinfo.h (__get_nprocs_conf): Add
27897 libc_hidden_proto.
27898 (__get_nprocs): Likewise.
27899 (__get_phys_pages): Likewise.
27900 (__get_avphys_pages): Likewise.
27901 (__get_child_max): Add attribute_hidden.
27902 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
27903 (__get_nprocs): Likewise.
27904 (__get_phys_pages): Likewise.
27905 (__get_avphys_pages): Likewise.
27906 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
27907 libc_hidden_def.
27908 (__get_nprocs): Likewise.
27909 (__get_phys_pages): Likewise.
27910 (__get_avphys_pages): Likewise.
27911 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
27912 libc_hidden_def.
27913 (__get_nprocs_conf): Likewise.
27914 (__get_phys_pages): Likewise.
27915 (__get_avphys_pages): Likewise.
27916
0389a6aa
L
279172017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27918
27919 [BZ #18822]
27920 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
27921 attribute_hidden.
27922 (__netlink_close): Likewise.
27923 (__netlink_free_handle): Likewise.
27924 (__netlink_request): Likewise.
27925
d48354d8
L
279262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27927
27928 [BZ #18822]
27929 * include/rpc/rpc.h (__rpc_thread_variables): Add
27930 attribute_hidden.
27931 (__rpc_thread_svc_cleanup): Likewise.
27932 (__rpc_thread_clnt_cleanup): Likewise.
27933 (__rpc_thread_key_cleanup): Likewise.
27934
d6daff12
L
279352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27936
27937 [BZ #18822]
27938 * include/sys/uio.h (__readv): Add libc_hidden_proto.
27939 (__writev): Likewise.
27940 * misc/readv.c (__readv): Add libc_hidden_def.
27941 * misc/writev.c (__writev): Likewise.
27942 * sysdeps/posix/readv.c (__readv): Likewise.
27943 * sysdeps/posix/writev.c (__writev): Likewise.
27944 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
27945 (__readv): Likewise.
27946 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
27947 (__writev): Likewise.
27948
b68f8620
L
279492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27950
27951 [BZ #18822]
27952 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
27953 (__regcomp): Add libc_hidden_proto.
27954 (__regexec): Likewise.
27955 (__regfree): Likewise.
27956 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
27957 (__regfree): Likewise.
27958 * posix/regexec.c (__regexec): Likewise.
27959
59c04e67
L
279602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27961
27962 [BZ #18822]
27963 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
27964 (__getutent): Likewise.
27965 (__getutid): Likewise.
27966 (__getutline): Likewise.
27967 (__pututline): Likewise.
27968 (__getutent_r): Likewise.
27969 (__getutid_r): Likewise.
27970 (__getutline_r): Likewise.
27971 (__utmpname): Add attribute_hidden.
27972 (__setutent): Likewise.
27973 (__endutent): Likewise.
27974 * login/getutent.c (__getutent): Add libc_hidden_def.
27975 * login/getutent_r.c (__getutent_r): Likewise.
27976 (__pututline): Likewise.
27977 * login/getutid.c (__getutid): Likewise.
27978 * login/getutid_r.c (__getutid_r): Likewise.
27979 * login/getutline.c (__getutline): Likewise.
27980 * login/getutline_r.c (__getutline_r): Likewise.
27981 * login/updwtmp.c (__updwtmp): Likewise.
27982
4587a421
L
279832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27984
27985 [BZ #18822]
27986 * include/dirent.h (__opendir): Always add attribute_hidden.
27987 (__fdopendir): Likewise.
27988 (__closedir): Likewise.
27989 (__readdir): Likewise.
27990 (__readdir64): Add libc_hidden_proto.
27991 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
27992 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
27993 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
27994 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
27995 New alias.
27996
9635ce69
L
279972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
27998
27999 [BZ #18822]
28000 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28001 * include/netdb.h (__gethostbyaddr_r): Likewise.
28002 (__gethostbyname_r): Likewise.
28003 (__gethostbyname2_r): Likewise.
28004 (__getnetbyaddr_r): Likewise.
28005 (__getnetbyname_r): Likewise.
28006 (__getservbyname_r): Likewise.
28007 (__getservbyport_r): Likewise.
28008 (__getprotobyname_r): Likewise.
28009 (__getprotobynumber_r): Likewise.
28010 (__getnetgrent_r): Likewise.
28011 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28012 (__getrpcbynumber_r): Likewise.
28013 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28014
2e0a6909
L
280152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28016
28017 [BZ #18822]
28018 * include/stdio.h (__fcloseall): Add attribute_hidden.
28019 (__getline): Likewise.
28020 (__path_search): Likewise.
28021 (__gen_tempname): Likewise.
28022 (__libc_message): Likewise.
28023 (__flockfile): Likewise.
28024 (__funlockfile): Likewise.
28025 (__fxprintf): Likewise.
28026 (__fxprintf_nocancel): Likewise.
28027
94fd682c
L
280282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28029
28030 [BZ #18822]
28031 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28032 (__sgetsgent_r): Likewise.
28033
e1b33bba
L
280342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28035
28036 [BZ #18822]
28037 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28038 (__statfs64): Likewise.
28039 (__fstatfs64): Likewise.
28040 * include/sys/statvfs.h (__statvfs64): Likewise.
28041 (__fstatvfs64): Likewise.
28042 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28043 (__statfs_filesize_max): Likewise.
28044 (__statfs_symlinks): Likewise.
28045 (__statfs_chown_restricted): Likewise.
28046
b0f56784
L
280472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28048
28049 [BZ #18822]
28050 * include/time.h (__tzstring): Add attribute_hidden.
28051 (__tzfile_read): Likewise.
28052 (__tzfile_compute): Likewise.
28053 (__tzfile_default): Likewise.
28054 (__tzset_parse_tz): Likewise.
28055 (__offtime): Likewise.
28056 (__asctime_r): Likewise.
28057 (__tzset): Likewise.
28058 (__tz_convert): Likewise.
28059 (__getdate_r): Likewise.
28060 (__getclktck): Likewise.
28061
a4338d99
L
280622017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28063
28064 [BZ #18822]
28065 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28066 (__nscd_unmap): Likewise.
28067 (__nscd_cache_search): Likewise.
28068 (__nscd_get_nl_timestamp): Likewise.
28069 (__nscd_getpwnam_r): Likewise.
28070 (__nscd_getpwuid_r): Likewise.
28071 (__nscd_getgrnam_r): Likewise.
28072 (__nscd_getgrgid_r): Likewise.
28073 (__nscd_gethostbyname_r): Likewise.
28074 (__nscd_gethostbyname2_r): Likewise.
28075 (__nscd_gethostbyaddr_r): Likewise.
28076 (__nscd_getai): Likewise.
28077 (__nscd_getgrouplist): Likewise.
28078 (__nscd_getservbyname_r): Likewise.
28079 (__nscd_getservbyport_r): Likewise.
28080 (__nscd_innetgr): Likewise.
28081 (__nscd_setnetgrent): Likewise.
28082
a2ca1652
L
280832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28084
28085 [BZ #18822]
28086 * include/gmp.h: Declare internal functions only if _ISOMAC is
28087 undefined.
28088 (__mpn_extract_double): Add attribute_hidden.
28089 (__mpn_extract_long_double): Likewise.
28090 (__mpn_extract_float128): Likewise.
28091 (__mpn_construct_float): Likewise.
28092 (__mpn_construct_double): Likewise.
28093 (__mpn_construct_long_double): Likewise.
28094 (__mpn_construct_float128): Likewise.
28095 (mpn_add_1): Likewise.
28096 (mpn_addmul_1): Likewise.
28097 (mpn_add_n): Likewise.
28098 (mpn_cmp): Likewise.
28099 (mpn_divrem): Likewise.
28100 (mpn_lshift): Likewise.
28101 (mpn_mul): Likewise.
28102 (mpn_mul_1): Likewise.
28103 (mpn_rshift): Likewise.
28104 (mpn_sub_1): Likewise.
28105 (mpn_submul_1): Likewise.
28106 (mpn_sub_n): Likewise.
28107
44af8a32
L
281082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28109
28110 [BZ #18822]
28111 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28112 (__wcscat): Likewise.
28113 (__btowc): Likewise.
28114 (__wcrtomb): Likewise.
28115 (__mbsrtowcs): Likewise.
28116 (__wcsrtombs): Likewise.
28117 (__mbsnrtowcs): Likewise.
28118 (__wcsnrtombs): Likewise.
28119 (__wcsncpy): Likewise.
28120 (__wcpncpy): Likewise.
28121 (__wmemcpy): Likewise.
28122 (__wmempcpy): Likewise.
28123 (__wmemmove): Likewise.
28124 (__wcschrnul): Likewise.
28125 (__vfwscanf): Likewise.
28126 (__vswprintf): Likewise.
28127 (__fwprintf): Likewise.
28128 (__vfwprintf): Likewise.
28129
783cd767
L
281302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28131
28132 [BZ #18822]
28133 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28134 (__getgrgid_r): Likewise.
28135 (__getgrnam_r): Likewise.
28136 * include/pwd.h (__getpwuid_r): Likewise.
28137 (__getpwnam_r): Likewise.
28138 (__fgetpwent_r): Likewise.
28139 * include/shadow.h (__getspnam_r): Likewise.
28140 (__sgetspent_r): Likewise.
28141 (__fgetspent_r): Likewise.
28142
7ec4b39a
L
281432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28144
28145 [BZ #18822]
28146 * include/unistd.h (__access): Add attribute_hidden.
28147 (__lseek64): Likewise.
28148 (__libc_pread64): Likewise.
28149 (__pipe2): Likewise.
28150 (__sleep): Likewise.
28151 (__chdir): Likewise.
28152 (__fchdir): Likewise.
28153 (__getcwd): Likewise.
28154 (__rmdir): Likewise.
28155 (__execvpe): Likewise.
28156 (__execve): Likewise.
28157 (__setsid): Likewise.
28158 (__getuid): Likewise.
28159 (__geteuid): Likewise.
28160 (__getgid): Likewise.
28161 (__getegid): Likewise.
28162 (__getgroups): Likewise.
28163 (__group_member): Likewise.
28164 (__ttyname_r): Likewise.
28165 (__isatty): Likewise.
28166 (__readlink): Likewise.
28167 (__unlink): Likewise.
28168 (__gethostname): Likewise.
28169 (__profil): Likewise.
28170 (__getdtablesize): Likewise.
28171 (__brk): Likewise.
28172 (__ftruncate): Likewise.
28173 (__ftruncate64): Likewise.
28174
8345a760
L
281752017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28176
28177 [BZ #18822]
28178 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
28179 * argp/argp-fs-xinl.c: Likewise.
28180 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
28181 * argp/argp-parse.c: Include <argp.h>.
28182 * argp/argp-xinl.c: Likewise.
28183 * include/argp-fmtstream.h: New file.
28184 * include/argp.h (__argp_error): Add attribute_hidden.
28185 (__argp_failure): Likewise.
28186 (__argp_input): Likewise.
28187 (__argp_state_help): Likewise.
28188
c26dd7c6
L
281892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28190
28191 [BZ #18822]
28192 * include/wchar.h (____wcstof_l_internal): New prototype.
28193 (____wcstod_l_internal): Likewise.
28194 (____wcstold_l_internal): Likewise.
28195 (____wcstol_l_internal): Likewise.
28196 (____wcstoul_l_internal): Likewise.
28197 (____wcstoll_l_internal): Likewise.
28198 (____wcstoull_l_internal): Likewise.
28199 (____wcstof128_l_internal): Likewise.
28200 * sysdeps/ieee754/float128/wcstof128.c
28201 (____wcstof128_l_internal): Removed.
28202 * sysdeps/ieee754/float128/wcstof128_l.c
28203 (____wcstof128_l_internal): Likewise.
28204 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
28205 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
28206 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
28207 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
28208 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
28209 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
28210 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
28211 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
28212 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
28213 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
28214
3aff5644
L
282152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28216
28217 [BZ #18822]
28218 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
28219 instead of <sys/statvfs.h>.
28220 (__internal_statvfs): Removed.
28221 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
28222 instead of <sys/statvfs.h>.
28223 (__internal_statvfs64): Removed.
28224 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
28225 "internal_statvfs.h" instead of <sys/statvfs.h>.
28226 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
28227 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
28228 instead of <sys/statvfs.h>.
28229 (__internal_statvfs): Removed.
28230 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
28231 instead of <sys/statvfs.h>.
28232 (__internal_statvfs64): Removed.
28233
8bcdb7e0
L
282342017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28235
28236 [BZ #18822]
28237 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
28238 (__gconv_close): Likewise.
28239 (__gconv): Likewise.
28240 (__gconv_find_transform): Likewise.
28241 (__gconv_lookup_cache): Likewise.
28242 (__gconv_compare_alias_cache): Likewise.
28243 (__gconv_load_cache): Likewise.
28244 (__gconv_get_path): Likewise.
28245 (__gconv_close_transform): Likewise.
28246 (__gconv_release_cache): Likewise.
28247 (__gconv_find_shlib): Likewise.
28248 (__gconv_release_shlib): Likewise.
28249 (__gconv_get_builtin_trans): Likewise.
28250 (__gconv_compare_alias): Likewise.
28251 * include/dlfcn.h (_dlerror_run): Likewise.
28252 * include/stdio.h (__fortify_fail_abort): Likewise.
28253 * include/time.h (__tz_compute): Likewise.
28254 (__strptime_internal): Likewise.
28255 * intl/gettextP.h (_nl_find_domain): Likewise.
28256 (_nl_load_domain): Likewise.
28257 (_nl_find_msg): Likewise.
28258 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
28259 (EXTRACT_PLURAL_EXPRESSION): Likewise.
28260 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
28261 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
28262 (__gai_find_request): Likewise.
28263 (__gai_remove_request): Likewise.
28264 (__gai_notify): Likewise.
28265 (__gai_notify_only): Likewise.
28266 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28267 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28268 (_dl_non_dynamic_init): Likewise.
28269 (_dl_aux_init): Likewise.
28270 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
28271 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28272 Likewise.
28273 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
28274 (__wcsmbs_clone_conv): Likewise.
28275 (__wcsmbs_named_conv): Likewise.
28276
8ed3b643
L
282772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28278
28279 [BZ #18822]
28280 * include/stdlib.h (__random): Add attribute_hidden.
28281 (__random_r): Likewise.
28282 (__srandom_r): Likewise.
28283 (__initstate_r): Likewise.
28284 (__setstate_r): Likewise.
28285 (__erand48_r): Likewise.
28286 (__nrand48_r): Likewise.
28287 (__jrand48_r): Likewise.
28288 (__srand48_r): Likewise.
28289 (__seed48_r): Likewise.
28290 (__lcong48_r): Likewise.
28291 (__drand48_iterate): Likewise.
28292 (__setenv): Likewise.
28293 (__unsetenv): Likewise.
28294 (__clearenv): Likewise.
28295 (__ptsname_r): Likewise.
28296 (__posix_openpt): Likewise.
28297 (__add_to_environ): Likewise.
28298 (__realpath): Add libc_hidden_proto.
28299 (__ecvt_r): Likewise.
28300 (__fcvt_r): Likewise.
28301 (__qecvt_r): Likewise.
28302 (__qfcvt_r): Likewise.
28303 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
28304 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
28305
ef9b6f73
L
283062017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28307
28308 [BZ #18822]
28309 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
28310 * include/time.h (__mktime_internal): Likewise.
28311 * libio/iolibio.h (__fopen_internal): Likewise.
28312
8da92e72
JDA
283132017-10-01 John David Anglin <danglin@gcc.gnu.org>
28314
28315 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
28316 pointer in frame.
28317 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
28318 Correct offset used to restore PIC register.
28319
388784cf
JDA
283202017-09-30 John David Anglin <danglin@gcc.gnu.org>
28321
28322 [BZ libc/22165]
28323 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
28324 code to load address of __getcontext_ret when generating PIC code.
28325
2000067a
L
283262017-09-30 H.J. Lu <hongjiu.lu@intel.com>
28327
28328 * elf/Makefile (tests-static-internal): Add
28329 tst-tls1-static-non-pie.
28330 (LDFLAGS-tst-tls1-static-non-pie): New.
28331 * elf/tst-tls1-static-non-pie.c: New file.
28332
1e2bffd0
JM
283332017-09-29 Joseph Myers <joseph@codesourcery.com>
28334
28335 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
28336 (asinh): Define using libm_alias_double.
28337 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
28338 (cbrt): Define using libm_alias_double.
28339 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
28340 <libm-alias-double.h>.
28341 (copysign): Define using libm_alias_double.
28342 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
28343 (erf): Define using libm_alias_double.
28344 (erfc): Likewise.
28345 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
28346 (expm1): Define using libm_alias_double.
28347 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
28348 (fabs): Define using libm_alias_double.
28349 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
28350 libm_alias_double.
28351 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
28352 <libm-alias-double.h>.
28353 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
28354 libm_alias_double.
28355 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
28356 <libm-alias-double.h>.
28357 (getpayload): Define using libm_alias_double.
28358 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
28359 <libm-alias-double.h>.
28360 (llrint): Define using libm_alias_double.
28361 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
28362 (lrint): Define using libm_alias_double.
28363 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
28364 <libm-alias-double.h>.
28365 (nextup): Define using libm_alias_double.
28366 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
28367 <libm-alias-double.h>.
28368 (roundeven): Define using libm_alias_double.
28369 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
28370 libm_alias_double.
28371 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
28372 <libm-alias-double.h>.
28373 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
28374 using libm_alias_double.
28375 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
28376 (cos): Define using libm_alias_double.
28377 (sin): Likewise.
28378 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
28379 <libm-alias-double.h>.
28380 (sincos): Define using libm_alias_double.
28381 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
28382 (tanh): Define using libm_alias_double.
28383 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
28384 <libm-alias-double.h>.
28385 (totalorder): Define using libm_alias_double.
28386 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
28387 <libm-alias-double.h>.
28388 (totalordermag): Define using libm_alias_double.
28389 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
28390 libm_alias_double.
28391 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
28392 libm_alias_double.
28393 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
28394 <libm-alias-double.h>.
28395 (getpayload): Define using libm_alias_double.
28396 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
28397 <libm-alias-double.h>.
28398 (roundeven): Define using libm_alias_double.
28399 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
28400 <libm-alias-double.h>.
28401 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
28402 <libm-alias-double.h>.
28403 (totalorder): Define using libm_alias_double.
28404 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
28405 <libm-alias-double.h>.
28406 (totalordermag): Define using libm_alias_double.
28407 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
28408 libc compat symbol here.
28409 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
28410 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
28411 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
28412 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
28413 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
28414 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
28415 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
28416 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
28417 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
28418 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
28419
8172aad9
L
284202017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28421
28422 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
28423 _dl_relocate_static_pie instead of _dl_start to compute load
28424 address in static PIE. Return 0 if _DYNAMIC is undefined for
28425 static executable.
28426
54464e74
L
284272017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28428
28429 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
28430 _DYNAMIC is undefined for static executable.
28431
f6c5e5bc
L
284322017-09-29 H.J. Lu <hongjiu.lu@intel.com>
28433
28434 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
28435
2f92505d
JM
284362017-09-29 Joseph Myers <joseph@codesourcery.com>
28437
28438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28439
bd8d53bb
WD
284402017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28441
28442 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
28443 (__ieee754_lgamma_r): Use fabs rather than __fabs.
28444 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28445 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28446 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
28447 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
28448 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
28449 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
28450 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
28451 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28452 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
28453 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28454 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28455 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
28456 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28457 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28458 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
28459
fffb1507
WD
284602017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
28461
28462 * math/bits/cmathcalls.h (cimag): Remove inline.
28463 (creal): Remove inline.
28464 (conj): Remove inline.
28465
4ea49f4c
SN
284662017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28467
28468 * math/Makefile (type-float-routines): Add e_powf_log2_data.
28469 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
28470 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
28471 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
28472 (issignalingf_inline): Likewise.
28473 (POWF_LOG2_TABLE_BITS): Likewise.
28474 (POWF_LOG2_POLY_ORDER): Likewise.
28475 (POWF_SCALE_BITS): Likewise.
28476 (POWF_SCALE): Likewise.
28477 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
28478 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
28479 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
28480
875c76c7
SN
284812017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28482
28483 * math/Makefile (type-float-routines): Add e_log2f_data.
28484 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
28485 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
28486 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
28487 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
28488 * sysdeps/i386/fpu/e_log2f_data.c: New file.
28489 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
28490 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
28491
90c42e40
SN
284922017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28493
28494 * math/Makefile (type-float-routines): Add e_logf_data.
28495 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
28496 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
28497 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
28498 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
28499 * sysdeps/i386/fpu/e_logf_data.c: New file.
28500 * sysdeps/ia64/fpu/e_logf_data.c: New file.
28501 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
28502
4088d8dd
L
285032017-09-28 H.J. Lu <hongjiu.lu@intel.com>
28504
28505 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
28506 undefined _DYNAMIC in PIE libc.a.
28507 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28508 Likewse.
28509
4d3693ec
WD
285102017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28511
28512 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
28513 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
28514 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
28515 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
28516 (__signbit): Remove.
28517 (__signbitl): Remove.
28518 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
28519 (__signbit): Remove.
28520 (__signbitl): Remove.
28521 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
28522 (__signbit): Remove.
28523 (__signbitl): Remove.
28524 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
28525 (__signbit): Remove.
28526 (__signbitl): Remove.
28527 * sysdeps/tile/bits/mathinline.h: Delete file.
28528 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
28529 (__signbit): Remove.
28530 (__signbitl): Remove.
28531
1e6d0723
WD
285322017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
28533
28534 * math/math.h: Improve handling of C99 isgreater macros.
28535 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
28536 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
28537 * sysdeps/powerpc/bits/mathinline.h: Likewise.
28538 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28539 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
28540
b2f03cf3
SN
285412017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
28542
28543 * sysdeps/aarch64/libm-test-ulps: Update.
28544
f124cb38
JM
285452017-09-28 Joseph Myers <joseph@codesourcery.com>
28546
28547 [BZ #22225]
28548 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28549 math_opt_barrier on argument when doing arithmetic on it.
28550 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28551 Likewise. Use math_force_eval not math_opt_barrier after
28552 arithmetic.
28553 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
28554 math_opt_barrier on argument when doing arithmetic on it.
28555 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28556 Likewise.
28557
7edd0691
L
285582017-09-27 H.J. Lu <hongjiu.lu@intel.com>
28559
28560 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
28561 libc_hidden_def.
28562 (__freeifaddrs): Likewise.
28563
2c7bbfaf
ST
285642017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28565
28566 * include/dirent.h (__dirfd): New declaration.
28567 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
28568 alias.
28569 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
28570 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
28571 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
28572 * include/unistd.h (__revoke): New declaration.
28573 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
28574 alias.
28575 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28576 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
28577 revoke.
64a4af28
ST
28578 * include/dirent.h (__seekdir): New declaration.
28579 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
28580 redefine as weak alias.
28581 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
28582 of seekdir.
4009ddc6
ST
28583 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
28584 and use libc_hidden_def on them.
28585 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
28586 them.
28587 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
28588 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
28589 instead of getifaddrs and freeifaddrs.
2c7bbfaf 28590
825adeee
L
285912017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28592
28593 [BZ #18822]
28594 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
28595 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
28596 (__dso_handle): Remove declaration.
28597 * dlfcn/tstatexit.c (__dso_handle): Removed.
28598 (main): Don't check __dso_handle.
28599 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
28600 (main): Don't check __dso_handle.
28601 * include/dso_handle.h: New file.
28602 * malloc/mtrace.c: Include <dso_handle.h>.
28603 (mtrace): Pass __dso_handle directly.
28604 * nptl/pthread_atfork.c: Include <dso_handle.h>.
28605 (__dso_handle): Remove declaration.
28606 (__pthread_atfork): Pass __dso_handle directly.
28607 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
28608 (__dso_handle): Removed.
28609 * posix/wordexp-test.c: Include <dso_handle.h>.
28610 (__dso_handle): Remove declaration.
28611 (__app_register_atfork): Pass __dso_handle directly.
28612 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
28613 (__dso_handle): Remove declaration.
28614 (at_quick_exit): Pass __dso_handle directly.
28615 * stdlib/atexit.c: Include <dso_handle.h>.
28616 (__dso_handle): Remove declaration.
28617 (atexit): Pass __dso_handle directly.
28618 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
28619 (__dso_handle): Removed.
28620
bfb0deb3
JM
286212017-09-26 Joseph Myers <joseph@codesourcery.com>
28622
28623 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
28624 using VDSO.
28625
cebcb9f8
AM
286262017-09-26 Alexey Makhalov <amakhalov@vmware.com>
28627
28628 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
28629 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
28630 values to correct default value for given type.
28631
592d5c75
L
286322017-09-26 H.J. Lu <hongjiu.lu@intel.com>
28633
28634 [BZ #22101]
28635 * elf/Makefile (tests): Add tst-debug1.
28636 ($(objpfx)tst-debug1): New.
28637 ($(objpfx)tst-debug1.out): Likewise.
28638 ($(objpfx)tst-debug1mod1.so): Likewise.
28639 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
28640 with p_filesz == 0.
28641 * elf/tst-debug1.c: New file.
28642
2d9193f2
JM
286432017-09-26 Joseph Myers <joseph@codesourcery.com>
28644
28645 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
28646 Define using __ifunc.
28647
4c5a7a02
TMQMF
286482017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28649
28650 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
28651 exp2f() values.
28652
12ef66c4
JM
286532017-09-26 Joseph Myers <joseph@codesourcery.com>
28654
28655 [BZ #22156]
28656 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
28657
44dade71
FW
286582017-09-26 Florian Weimer <fweimer@redhat.com>
28659
28660 * resolv/Makefile (tests-internal): Fix typo in comment.
28661
eaca16f1
FW
286622017-09-26 Florian Weimer <fweimer@redhat.com>
28663
28664 * resolv/nss_dns/dns-host.c: Fix typo in comment.
28665
ccf970c7
AZ
286662017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28667
5f9f31ad
AZ
28668 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
28669 Use an union instead of a max_align_t array for __space,
28670 so that __space is the same size on all platforms.
28671 * malloc/scratch_buffer_grow_preserve.c
28672 (__libc_scratch_buffer_grow_preserve): Likewise.
28673
ccf970c7
AZ
28674 [BZ #22183]
28675 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
28676 version to 2.
28677 * posix/Makefile (routines): Add glob-lstat-compat and
28678 glob64-lstat-compat.
28679 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
28680 * posix/glob-lstat-compat.c: New file.
28681 * posix/glob64-lstat-compat.c: Likewise.
28682 * posix/tst-glob_lstat_compat.c: Likewise.
28683 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
28684 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
28685 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
28686 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
28687 Likewise.
28688 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
28689 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
28690 * posix/glob.c (glob_lstat): New function.
28691 (glob): Rename to __glob and add versioned symbol to 2.27.
28692 (glob_in_dir): Use glob_lstat.
28693 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
28694 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
28695 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
28696 2.27.
28697 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
28698 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
28699 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
28700 gl_lstat on glob call.
28701 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
28702 and glob64 symbols.
28703 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
28704 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
28705 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
28706 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
28707 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
28708 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
28709 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
28710 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
28711 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
28712 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
28713 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
28714 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
28715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
28716 Likewise.
28717 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
28718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
28719 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
28720 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
28721 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
28722 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
28723 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
28724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
28725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
28726 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
28727 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
28728 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
28729
b4396163
L
287302017-09-25 H.J. Lu <hongjiu.lu@intel.com>
28731
28732 * configure.ac (AS): Require binutils 2.25 or later.
28733 * configure: Regenerated.
28734
8f834987
PP
287352017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28736
28737 [BZ #22207]
28738 * stdlib/test-atexit-race-common.c (do_test): Minimize required
28739 VM size.
28740
3de93d19
DD
287412017-09-25 DJ Delorie <dj@redhat.com>
28742
28743 [BZ #22161]
28744 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
28745 resetting timeout.
28746
9947638d
SL
287472017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
28748
28749 * sysdeps/ieee754/dbl-64/sincos32.h
28750 [SINCCOS32_H]: Remove define.
28751 [SINCOS32_H]: Define.
28752
f5f0f526
SN
287532017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28754
28755 * math/Versions (expf): New libm symbol at GLIBC_2.27.
28756 (exp2f): Likewise.
28757 * math/w_exp2f.c: New file.
28758 * math/w_expf.c: New file.
28759 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
28760 * math/w_expf_compat.c (__expf_compat): Likewise.
28761 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
28762 * sysdeps/ia64/fpu/e_expf.S: Likewise.
28763 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28764 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28765 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28766 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28767 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28768 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28769 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28770 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28771 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28772 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28773 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28774 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28776 Likewise.
28777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28778 Likewise.
28779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28780 Likewise.
28781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28782 Likewise.
28783 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28784 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28785 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28786 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28787 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28789 Likewise.
28790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28791 Likewise.
28792 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28793 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28794 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28795
72aa6233
SN
287962017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28797
28798 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
28799 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
28800 (roundtoint, converttoint): Likewise.
28801 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
28802 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
28803 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
28804 * sysdeps/ieee754/flt-32/math_config.h: New file.
28805 * sysdeps/ieee754/flt-32/math_errf.c: New file.
28806 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
28807 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
28808 * sysdeps/i386/fpu/math_errf.c: New file.
28809 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
28810 * sysdeps/ia64/fpu/math_errf.c: New file.
28811 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
28812 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
28813
5e6f3253
ST
288142017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
28815
28816 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
28817 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
28818 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
28819 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
28820 to make sure that these symbols are defined.
b38a42a0
ST
28821 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
28822 of <limits.h>
28823 (__need_NULL): Do not define.
28824 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
28825 alignment.
28826 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
28827 CMGROUP_MAX, cmsgcred): Do not define.
28828 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
28829 NULL.
28830 * bits/socket.h: Likewise.
fcafcd16
ST
28831 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
28832 __gettimeofday instead of gettimeofday.
28833 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
28834 instead of settimeofday.
5e6f3253 28835
2f49ce7d
JM
288362017-09-22 Joseph Myers <joseph@codesourcery.com>
28837
28838 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
28839 (asinhf): Define using libm_alias_float.
28840 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
28841 (atanf): Define using libm_alias_float.
28842 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
28843 (cbrtf): Define using libm_alias_float.
28844 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
28845 (ceilf): Define using libm_alias_float.
28846 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
28847 <libm-alias-float.h>.
28848 (copysignf): Define using libm_alias_float.
28849 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
28850 (cosf): Define using libm_alias_float.
28851 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
28852 (erff): Define using libm_alias_float.
28853 (erfcf): Likewise.
28854 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
28855 (expm1f): Define using libm_alias_float.
28856 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
28857 (fabsf): Define using libm_alias_float.
28858 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
28859 (floorf): Define using libm_alias_float.
28860 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
28861 (frexpf): Define using libm_alias_float.
28862 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
28863 libm_alias_float.
28864 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
28865 <libm-alias-float.h>.
28866 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
28867 libm_alias_float.
28868 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
28869 <libm-alias-float.h>.
28870 (getpayloadf): Define using libm_alias_float.
28871 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
28872 <libm-alias-float.h>.
28873 (llrintf): Define using libm_alias_float.
28874 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
28875 <libm-alias-float.h>.
28876 (llroundf): Define using libm_alias_float.
28877 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
28878 (logbf): Define using libm_alias_float.
28879 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
28880 (lrintf): Define using libm_alias_float.
28881 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
28882 (lroundf): Define using libm_alias_float.
28883 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
28884 (modff): Define using libm_alias_float.
28885 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
28886 <libm-alias-float.h>.
28887 (nearbyintf): Define using libm_alias_float.
28888 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
28889 <libm-alias-float.h>.
28890 (nextafterf): Define using libm_alias_float.
28891 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
28892 <libm-alias-float.h>.
28893 (nextupf): Define using libm_alias_float.
28894 * sysdeps/ieee754/flt-32/s_remquof.c: Include
28895 <libm-alias-float.h>.
28896 (remquof): Define using libm_alias_float.
28897 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
28898 (rintf): Define using libm_alias_float.
28899 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
28900 <libm-alias-float.h>.
28901 (roundevenf): Define using libm_alias_float.
28902 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
28903 (roundf): Define using libm_alias_float.
28904 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
28905 using libm_alias_float.
28906 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
28907 <libm-alias-float.h>.
28908 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
28909 Define using libm_alias_float.
28910 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
28911 <libm-alias-float.h>.
28912 (sincosf): Define using libm_alias_float.
28913 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
28914 (sinf): Define using libm_alias_float.
28915 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
28916 (tanf): Define using libm_alias_float.
28917 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
28918 (tanhf): Define using libm_alias_float.
28919 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
28920 <libm-alias-float.h>.
28921 (totalorderf): Define using libm_alias_float.
28922 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
28923 <libm-alias-float.h>.
28924 (totalordermagf): Define using libm_alias_float.
28925 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
28926 (truncf): Define using libm_alias_float.
28927 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
28928 libm_alias_float.
28929 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
28930 libm_alias_float.
28931
c5c4a626
GG
289322017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28933
28934 [BZ #22146]
28935 math/math.h: Let fpclassify use the builtin in C++ mode, even
28936 when optimazing for size.
28937
23947846
JM
289382017-09-22 Joseph Myers <joseph@codesourcery.com>
28939
28940 * csu/Makefile (generated): Do not add version-info.h.
28941 (before-compile): Likewise.
28942 (all-Banner-files): Remove variable.
28943 ($(objpfx)version-info.h): Remove rule.
28944 * csu/version.c (banner): Do not include "version-info.h".
28945 * libidn/Banner: Remove.
28946 * manual/contrib.texi (Simon Josefsson): New entry.
28947
9ac3c682
GG
289482017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28949
28950 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28951 Remove conditionals on LDBL_MANT_DIG.
28952 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
28953 (__ieee754_lgammal_r): Likewise.
28954
d2f0ed09
GG
289552017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28956
28957 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
28958 _Float128 and L().
28959 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
28960 _Float128 and L(). Replace _Float128 with long double and L(x)
28961 with xL, throughout the file.
28962 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28963 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28964 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28966
c5c2e667
GG
289672017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28968
28969 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
28970 sysdeps/ieee754/ldbl-128ibm.
28971 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
28972 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
28973 of including it. Keep _Float128 and L() intact. These will be
28974 reviewed by a separate patch.
28975 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
28976 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
28977 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
28979
e010deb2
GG
289802017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28981
28982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
28983 (__finitef128): Define to __redirect___finitef128.
28984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
28985 (__isinff128): Define to __redirect___isinff128.
28986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
28987 (__isnanf128): Define to __redirect___isnanf128.
28988
ffa44804
GG
289892017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28990
28991 * sysdeps/powerpc/powerpc64le/Makefile
28992 (CFLAGS-tst-strtod-nan-locale.c): New variable.
28993 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
28994
e5e4d7cc
PP
289952017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
28996 Carlos O'Donell <carlos@redhat.com>
28997
28998 [BZ #22180]
28999 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29000 * stdlib/test-dlclose-exit-race.c: New file.
29001 * stdlib/test-dlclose-exit-race-helper.c: New file.
29002 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29003
c10c5267
JM
290042017-09-21 Joseph Myers <joseph@codesourcery.com>
29005
29006 * crypt/Banner: Remove file.
29007 * nptl/Banner: Likewise.
29008 * resolv/Banner: Likewise.
29009 * soft-fp/Banner: Likewise.
29010 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29011 ($(objpfx)version.d): Remove dependency on banner.h.
29012 ($(objpfx)version.os): Likewise.
29013 * nptl/version.c (banner): Do not include banner.h.
29014 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29015 Jelinek and BIND code.
29016
1cc9e59a
PP
290172017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29018 Carlos O'Donell <carlos@redhat.com>
29019
29020 * support/xdlfcn.h: New file.
29021 * support/xdlfcn.c: New file.
29022 * support/Makefile (libsupport-routines): Add xdlfcn.
29023 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29024
ae8372d7
JM
290252017-09-20 Joseph Myers <joseph@codesourcery.com>
29026
29027 [BZ #20142]
29028 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29029 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29030 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29031 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29032 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29033 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29034 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29035 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29036
26e70aec 290372017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
29038 Ricky Zhou <rickyz@google.com>
29039 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
29040
29041 [BZ #14333]
29042 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29043 Remove atomics.
29044 (__new_exitfn): Fail registration when we finished at_exit processing.
29045 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29046 * stdlib/on_exit.c (__on_exit): Likewise.
29047 * stdlib/exit.c (__exit_funcs_done): New variable.
29048 (__run_exit_handlers): Use __exit_funcs_lock.
29049 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29050 declarations.
29051 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29052 (test-cxa_atexit-race, test-on_exit-race): New tests.
29053 * stdlib/test-atexit-race-common.c: New file.
29054 * stdlib/test-atexit-race.c: New file.
29055 * stdlib/test-at_quick_exit-race.c: New file.
29056 * stdlib/test-cxa_atexit-race.c: New file.
29057 * stdlib/test-on_exit-race.c: New file.
29058
0525ce48
SN
290592017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29060
29061 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29062 * benchtests/exp2f-inputs: Copy of expf-inputs.
29063 * benchtests/log2f-inputs: Copy of logf-inputs.
29064
d82468d1
JM
290652017-09-19 Joseph Myers <joseph@codesourcery.com>
29066
29067 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29068 Explicitly take address of first element of array arguments in
29069 call to INLINE_SYSCALL.
29070
43ffc53a
AS
290712017-09-19 Andreas Schwab <schwab@suse.de>
29072
29073 [BZ #22134]
29074 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29075 execveat first.
29076 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29077 unimplemented.
29078 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29079 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29080 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29081 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29082 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29083 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29084 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29085 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29086 * posix/Makefile (tests): Add tst-fexecve.
29087 * posix/tst-fexecve.c: New file.
29088
a5dcc87e
WD
290892017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29090
29091 * benchtests/Makefile: Add logf benchmark.
29092 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29093
7024d544
WD
290942017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29095
29096 * benchtests/Makefile: Add expf benchmark.
29097 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29098
ca3a382e
WD
290992017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29100
29101 * csu/Makefile: Add -funwind-tables to libc-start.c.
29102 * debug/Makefile: Add -funwind-tables to backtrace.c.
29103 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29104 * sysdeps/arm/Makefile: Likewise.
29105 * sysdeps/i386/Makefile: Likewise.
29106 * sysdeps/m68k/Makefile: Likewise.
29107 * sysdeps/mips/Makefile: Likewise.
29108 * sysdeps/nios2/Makefile: Likewise.
29109 * sysdeps/sh/Makefile: Likewise.
29110 * sysdeps/sparc/Makefile: Likewise.
29111
eb375def
JM
291122017-09-19 Joseph Myers <joseph@codesourcery.com>
29113
29114 * benchtests/Makefile (bench-math): Add trunc and truncf.
29115 (CFLAGS-bench-trunc.c): New variable.
29116 (CFLAGS-bench-truncf.c): Likewise.
29117 * benchtests/trunc-inputs: New file.
29118 * benchtests/truncf-inputs: Likewise.
29119
bd17ba29
RS
291202017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29121
29122 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29123
92892fdb
JM
291242017-09-18 Joseph Myers <joseph@codesourcery.com>
29125
6d9b0b5a
JM
29126 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29127 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29128 redefine.
29129 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29130 (exp10l): Define as weak alias.
29131 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29132 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29133 and redefine.
29134 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29135 (remainderl): Define as weak alias.
29136
92892fdb
JM
29137 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29138 (fmal): Define using libm_alias_ldouble.
29139 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29140 (acoshl): Define using libm_alias_ldouble.
29141 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29142 (acosl): Define using libm_alias_ldouble.
29143 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29144 (asinl): Define using libm_alias_ldouble.
29145 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29146 (atan2l): Define using libm_alias_ldouble.
29147 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29148 (atanhl): Define using libm_alias_ldouble.
29149 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29150 (coshl): Define using libm_alias_ldouble.
29151 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29152 (exp10l): Define using libm_alias_ldouble.
29153 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29154 (exp2l): Define using libm_alias_ldouble.
29155 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29156 (expl): Define using libm_alias_ldouble.
29157 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29158 (fmodl): Define using libm_alias_ldouble.
29159 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29160 (hypotl): Define using libm_alias_ldouble.
29161 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29162 (j0l): Define using libm_alias_ldouble.
29163 (y0l): Likewise.
29164 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29165 (j1l): Define using libm_alias_ldouble.
29166 (y1l): Likewise.
29167 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29168 (jnl): Define using libm_alias_ldouble.
29169 (ynl): Likewise.
29170 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29171 (log10l): Define using libm_alias_ldouble.
29172 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29173 (log2l): Define using libm_alias_ldouble.
29174 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29175 (logl): Define using libm_alias_ldouble.
29176 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29177 (powl): Define using libm_alias_ldouble.
29178 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
29179 (remainderl): Define using libm_alias_ldouble.
29180 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
29181 (sinhl): Define using libm_alias_ldouble.
29182 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
29183 (sqrtl): Define using libm_alias_ldouble.
29184 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
29185 (tgammal): Define using libm_alias_ldouble.
29186 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
29187 (exp10l): Do not use long_double_symbol here.
29188 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
29189 [LIBM_SVID_COMPAT] (remainderl): Likewise.
29190 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
29191 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
29192 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
29193 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
29194 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
29195 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
29196 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
29197 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29198 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
29199 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
29200 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
29201 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
29202 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
29203 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
29204 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
29205 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
29206 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
29207 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
29208 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
29209 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
29210
6cd380dd
WB
292112017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
29212
29213 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
29214 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
29215
1c6d89e9
ST
292162017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
29217
29218 * io/read.c (read): Add libc_hidden_weak.
29219 * sysdeps/mach/hurd/read.c (read): Likewise.
29220 * io/write.c (write): Likewise.
29221 * sysdeps/mach/hurd/write.c (write): Likewise.
29222 * io/pread64.c (__pread64): Likewise.
29223 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
29224 * posix/pread64.c (__pread64): Add libc_hidden_def.
29225
06b1de23
SP
292262017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
29227
140647ea
SP
29228 * benchtests/scripts/compare_strings.py: New option -g.
29229 (draw_graph): Print a message that a graph is being generated.
29230 (process_results): Generate graph only if -g is passed.
29231 (main): Process option -g.
29232
5a6547b7
SP
29233 * benchtests/scripts/compare_strings.py (process_results):
29234 Better spacing for output.
29235
06b1de23
SP
29236 * benchtests/scripts/compare_strings.py: Use argparse.
29237 * benchtests/README: Document existence of compare_strings.py.
29238
c67a2328
JM
292392017-09-15 Joseph Myers <joseph@codesourcery.com>
29240
9ac44708
JM
29241 * math/s_fma.c: Include <libm-alias-double.h>.
29242 (fma): Define using libm_alias_double.
29243 * math/s_nextafter.c: Include <libm-alias-double.h>.
29244 (nextafter): Define using libm_alias_double.
29245 * math/w_acos_compat.c: Include <libm-alias-double.h>.
29246 (acos): Define using libm_alias_double.
29247 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
29248 (aocsh): Define using libm_alias_double.
29249 * math/w_asin_compat.c: Include <libm-alias-double.h>.
29250 (asin): Define using libm_alias_double.
29251 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
29252 (atan2): Define using libm_alias_double.
29253 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
29254 (atanh): Define using libm_alias_double.
29255 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
29256 (cosh): Define using libm_alias_double.
29257 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
29258 (exp10): Define using libm_alias_double.
29259 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
29260 (exp2): Define using libm_alias_double.
29261 * math/w_exp_compat.c: Include <libm-alias-double.h>.
29262 (exp): Define using libm_alias_double.
29263 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
29264 (fmod): Define using libm_alias_double.
29265 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
29266 (hypot): Define using libm_alias_double.
29267 * math/w_j0_compat.c: Include <libm-alias-double.h>.
29268 (j0): Define using libm_alias_double.
29269 (y0): Likewise.
29270 * math/w_j1_compat.c: Include <libm-alias-double.h>.
29271 (j1): Define using libm_alias_double.
29272 (y1): Likewise.
29273 * math/w_jn_compat.c: Include <libm-alias-double.h>.
29274 (jn): Define using libm_alias_double.
29275 (yn): Likewise.
29276 * math/w_log10_compat.c: Include <libm-alias-double.h>.
29277 (log10): Define using libm_alias_double.
29278 * math/w_log2_compat.c: Include <libm-alias-double.h>.
29279 (log2): Define using libm_alias_double.
29280 * math/w_log_compat.c: Include <libm-alias-double.h>.
29281 (log): Define using libm_alias_double.
29282 * math/w_pow_compat.c: Include <libm-alias-double.h>.
29283 (pow): Define using libm_alias_double.
29284 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
29285 (remainder): Define using libm_alias_double.
29286 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
29287 (sinh): Define using libm_alias_double.
29288 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
29289 (sqrt): Define using libm_alias_double.
29290 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
29291 (tgamma): Define using libm_alias_double.
29292 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
29293 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
29294 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
29295 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
29296 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
29297 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
29298 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
29299 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
29300 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
29301 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
29302 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
29303 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
29304 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
29305 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
29306 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
29307 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
29308 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
29309 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
29310 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
29311 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
29312 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
29313 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
29314 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
29315 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
29316 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
29317
c67a2328
JM
29318 * math/e_acoshl.c: Remove.
29319 * math/e_acosl.c: Likewise.
29320 * math/e_asinl.c: Likewise.
29321 * math/e_atan2l.c: Likewise.
29322 * math/e_atanhl.c: Likewise.
29323 * math/e_coshl.c: Likewise.
29324 * math/e_expl.c: Likewise.
29325 * math/e_fmodl.c: Likewise.
29326 * math/e_gammal_r.c: Likewise.
29327 * math/e_hypotl.c: Likewise.
29328 * math/e_j0l.c: Likewise.
29329 * math/e_j1l.c: Likewise.
29330 * math/e_jnl.c: Likewise.
29331 * math/e_lgammal_r.c: Likewise.
29332 * math/e_log10l.c: Likewise.
29333 * math/e_log2l.c: Likewise.
29334 * math/e_logl.c: Likewise.
29335 * math/e_powl.c: Likewise.
29336 * math/e_rem_pio2l.c: Likewise.
29337 * math/e_sinhl.c: Likewise.
29338 * math/e_sqrtf128.c: Likewise.
29339 * math/e_sqrtl.c: Likewise.
29340 * math/k_cosl.c: Likewise.
29341 * math/k_sinl.c: Likewise.
29342 * math/k_tanl.c: Likewise.
29343 * math/s_asinhl.c: Likewise.
29344 * math/s_atanl.c: Likewise.
29345 * math/s_cbrtl.c: Likewise.
29346 * math/s_erfl.c: Likewise.
29347 * math/s_expm1l.c: Likewise.
29348 * math/s_log1pl.c: Likewise.
29349 * math/s_tanhl.c: Likewise.
29350
61c45f25
TMQMF
293512017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29352
29353 [BZ #21745]
29354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
29355 [$(subdir) = math] (sysdep_calls): New variable. Has the
29356 previous contents of sysdep_routines, but re-sorted..
29357 [$(subdir) = math] (sysdep_routines): Re-use the contents from
29358 sysdep_calls.
29359 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
29360 defined in sysdep_calls and replace by the respective m_* names.
29361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
29362 (compat_symbol): Undefine to avoid duplicated compat symbols in
29363 libc.
29364
5bcdb315
JM
293652017-09-15 Joseph Myers <joseph@codesourcery.com>
29366
29367 * math/s_fmaf.c: Include <libm-alias-float.h>.
29368 (fmaf): Define using libm_alias_float.
29369 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
29370 (acosf): Define using libm_alias_float.
29371 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
29372 (acoshf): Define using libm_alias_float.
29373 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
29374 (asinf): Define using libm_alias_float.
29375 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
29376 (atan2f): Define using libm_alias_float.
29377 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
29378 (atanhf): Define using libm_alias_float.
29379 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
29380 (coshf): Define using libm_alias_float.
29381 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
29382 (exp10f): Define using libm_alias_float.
29383 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
29384 (fmodf): Define using libm_alias_float.
29385 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
29386 (hypotf): Define using libm_alias_float.
29387 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
29388 (j0f): Define using libm_alias_float.
29389 (y0f): Likewise.
29390 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
29391 (j1f): Define using libm_alias_float.
29392 (y1f): Likewise.
29393 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
29394 (jnf): Define using libm_alias_float.
29395 (ynf): Likewise.
29396 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
29397 (log10f): Define using libm_alias_float.
29398 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
29399 (log2f): Define using libm_alias_float.
29400 * math/w_logf_compat.c: Include <libm-alias-float.h>.
29401 (logf): Define using libm_alias_float.
29402 * math/w_powf_compat.c: Include <libm-alias-float.h>.
29403 (powf): Define using libm_alias_float.
29404 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
29405 (remainderf): Define using libm_alias_float.
29406 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
29407 (sinhf): Define using libm_alias_float.
29408 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
29409 (sqrtf): Define using libm_alias_float.
29410 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
29411 (tgammaf): Define using libm_alias_float.
29412
01f28812
JM
294132017-09-14 Joseph Myers <joseph@codesourcery.com>
29414
29415 * include/math.h (roundeven): Change hidden_proto call to
29416 __roundeven.
29417 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
29418 alias.
29419 [NO_LONG_DOUBLE] (__j0l): New strong alias.
29420 (y0): Rename to __y0 and define as weak alias.
29421 [NO_LONG_DOUBLE] (__y0l): New strong alias.
29422 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
29423 alias.
29424 (y0f): Rename to __y0f and define as weak alias.
29425 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
29426 alias.
29427 [NO_LONG_DOUBLE] (__j1l): New strong alias.
29428 (y1): Rename to __y1 and define as weak alias.
29429 [NO_LONG_DOUBLE] (__y1l): New strong alias.
29430 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
29431 alias.
29432 (y1f): Rename to __y1f and define as weak alias.
29433 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
29434 alias.
29435 [NO_LONG_DOUBLE] (__jnl): New strong alias.
29436 (yn): Rename to __yn and define as weak alias.
29437 [NO_LONG_DOUBLE] (__ynl): New strong alias.
29438 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
29439 alias.
29440 (ynf): Rename to __ynf and define as weak alias.
29441 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
29442 (fromfp): Define as weak alias.
29443 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
29444 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
29445 (fromfpx): Define as weak alias.
29446 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
29447 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
29448 __getpayload and define as weak alias.
29449 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29450 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
29451 __roundeven and define as weak alias.
29452 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29453 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
29454 __setpayload.
29455 (setpayload): Define as weak alias.
29456 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
29457 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
29458 __setpayloadsig.
29459 (setpayloadsig): Define as weak alias.
29460 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
29461 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
29462 __totalorder and define as weak alias.
29463 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29464 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
29465 to __totalordermag and define as weak alias.
29466 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29467 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
29468 (ufromfp): Define as weak alias.
29469 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
29470 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
29471 __ufromfpx.
29472 (ufromfpx): Define as weak alias.
29473 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
29474 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
29475 Rename to __getpayload and define as weak alias.
29476 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
29477 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
29478 Rename to __roundeven and define as weak alias.
29479 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
29480 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
29481 Rename to __totalorder and define as weak alias.
29482 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
29483 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
29484 (totalordermag): Rename to __totalordermag and define as weak
29485 alias.
29486 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
29487 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
29488 macro.
29489 (__roundevenl): Likewise.
29490 (__totalorderl): Likewise.
29491 (__totalordermagl): Likewise
29492 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
29493 __fromfpf128.
29494 (fromfpf128): Define as weak alias.
29495 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
29496 __fromfpxf128.
29497 (fromfpxf128): Define as weak alias.
29498 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
29499 __setpayloadf128.
29500 (setpayloadf128): Define as weak alias.
29501 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
29502 __setpayloadsigf128.
29503 (setpayloadsigf128): Define as weak alias.
29504 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
29505 __ufromfpf128.
29506 (ufromfpf128): Define as weak alias.
29507 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
29508 __ufromfpxf128.
29509 (ufromfpxf128): Define as weak alias.
29510 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
29511 (fromfpf): Define as weak alias.
29512 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
29513 __fromfpxf.
29514 (fromfpxf): Define as weak alias.
29515 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
29516 __getpayloadf and define as weak alias.
29517 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
29518 __roundevenf and define as weak alias.
29519 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
29520 __setpayloadf.
29521 (setpayloadf): Define as weak alias.
29522 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
29523 __setpayloadsigf.
29524 (setpayloadsigf): Define as weak alias.
29525 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
29526 __totalorderf and define as weak alias.
29527 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
29528 Rename to __totalordermagf and define as weak alias.
29529 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
29530 __ufromfpf.
29531 (ufromfpf): Define as weak alias.
29532 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
29533 __ufromfpxf.
29534 (ufromfpxf): Define as weak alias.
29535 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
29536 __fromfpl.
29537 (fromfpl): Define as weak alias.
29538 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
29539 __fromfpxl.
29540 (fromfpxl): Define as weak alias.
29541 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
29542 to __getpayloadl and define as weak alias.
29543 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
29544 __roundevenl and define as weak alias.
29545 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
29546 __setpayloadl.
29547 (setpayloadl): Define as weak alias.
29548 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
29549 __setpayloadsigl.
29550 (setpayloadsigl): Define as weak alias.
29551 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
29552 to __totalorderl and define as weak alias.
29553 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
29554 Rename to __totalordermagl and define as weak alias.
29555 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
29556 __ufromfpl.
29557 (ufromfpl): Define as weak alias.
29558 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
29559 __ufromfpxl.
29560 (ufromfpxl): Define as weak alias.
29561 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
29562 __fromfpl.
29563 (fromfpl): Define as weak alias.
29564 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
29565 __fromfpxl.
29566 (fromfpxl): Define as weak alias.
29567 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
29568 Rename to __getpayloadl and define as weak alias.
29569 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
29570 to __roundevenl and define as weak alias. Call __roundeven
29571 instead of roundeven.
29572 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
29573 __setpayloadl.
29574 (setpayloadl): Define as weak alias.
29575 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
29576 __setpayloadsigl.
29577 (setpayloadsigl): Define as weak alias.
29578 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
29579 Rename to __totalorderl and define as weak alias.
29580 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
29581 Rename to __totalordermagl and define as weak alias.
29582 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
29583 __ufromfpl.
29584 (ufromfpl): Define as weak alias.
29585 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
29586 __ufromfpxl.
29587 (ufromfpxl): Define as weak alias.
29588 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
29589 __fromfpl.
29590 (fromfpl): Define as weak alias.
29591 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
29592 __fromfpxl.
29593 (fromfpxl): Define as weak alias.
29594 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
29595 __getpayloadl and define as weak alias.
29596 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
29597 __roundevenl and define as weak alias.
29598 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
29599 __setpayloadl.
29600 (setpayloadl): Define as weak alias.
29601 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
29602 __setpayloadsigl.
29603 (setpayloadsigl): Define as weak alias.
29604 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
29605 __totalorderl and define as weak alias.
29606 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
29607 Rename to __totalordermagl and define as weak alias.
29608 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
29609 __ufromfpl.
29610 (ufromfpl): Define as weak alias.
29611 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
29612 __ufromfpxl.
29613 (ufromfpxl): Define as weak alias.
29614
29c933fb
SP
296152017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
29616
503c92c3
SP
29617 * benchtests/bench-string.h (realloc_bufs): New function.
29618 (test_init): Call it.
29619 * benchtests/bench-memset-large.c (do_test): Likewise.
29620 * benchtests/bench-memset.c (do_test): Likewise.
29621
29c933fb
SP
29622 * benchtests/bench-memset-large.c: Print output in JSON
29623 format.
29624 * benchtests/bench-memset.c: Likewise.
29625
799c8d69
MF
296262017-09-14 Mike FABIAN <mfabian@redhat.com>
29627
29628 [BZ #21084]
29629 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
29630 * iconvdata/Makefile: Add IBM858.
29631 * iconvdata/gconv-modules: Likewise.
29632 * iconvdata/tst-tables.sh: Likewise.
29633 * iconvdata/ibm858.c: New file.
29634 * localedata/charmaps/IBM858: Likewise.
29635
c207f7ce 296362017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
29637
29638 [BZ #22023]
29639 * locales/niu_NZ (LC_TIME): copy "niu_NU".
29640 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
29641
f28a0926
AK
296422017-09-14 Mike FABIAN <mfabian@redhat.com>
29643
29644 [BZ #22112]
29645 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
29646 and add tel_int_fmt.
29647
02093e62
JM
296482017-09-14 Joseph Myers <joseph@codesourcery.com>
29649
29650 * sysdeps/generic/libm-alias-float128.h: New file.
29651 * sysdeps/generic/math-type-macros-float128.h: Include
29652 <libm-alias-float128.h>.
29653 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29654
1aae75ef
JM
296552017-09-13 Joseph Myers <joseph@codesourcery.com>
29656
29657 * sysdeps/generic/libm-alias-ldouble.h: New file.
29658 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
29659 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
29660 * sysdeps/generic/math-type-macros-ldouble.h: Include
29661 <libm-alias-ldouble.h>.
29662 [!declare_mgen_alias] (declare_mgen_alias): Define to use
29663 libm_alias_ldouble.
29664
bcea7ad6
SN
296652017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
29666
29667 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
29668 * math/w_exp_compat.c: ... here.
29669 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
29670 * math/w_expf_compat.c: ... here.
29671 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
29672 * math/w_expl_compat.c: ... here.
29673 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
29674 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
29675 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
29676 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
29677
0fc56478
JM
296782017-09-13 Joseph Myers <joseph@codesourcery.com>
29679
29680 * math/w_scalbln_template.c (strong_alias): Do not undefine and
29681 redefine.
29682 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
29683 macro.
29684 (ldexpl): Only define as compat symbol for libc, not libm.
29685 (scalbnl): Define as compat symbol for libc here.
29686 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
29687 define for [IS_IN (libc)].
29688 (__ldexpl_2): Remove alias.
29689 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
29690 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
29691 name in long_double_symbol call.
29692 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
29693 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29694 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29695 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
29696 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
29697 Remove macro.
29698 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
29699 Define as compat symbol.
29700
3ca622e4
AZ
297012017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29702
29703 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
29704 * sysdeps/unix/sysv/linux/alpha/Makefile
29705 [$(subdir) = csu] (sysdep_routines): Remove rule.
29706
620ff9ee
JM
297072017-09-13 Joseph Myers <joseph@codesourcery.com>
29708
29709 * sysdeps/generic/libm-alias-double.h: New file.
29710 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
29711 * sysdeps/generic/math-type-macros-double.h: Include
29712 <libm-alias-double.h>.
29713 [declare_mgen_alias] (declare_mgen_alias): Define to use
29714 libm_alias_double.
29715 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
29716 (M_LIBM_NEED_COMPAT): Remove macro.
29717 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
29718 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
29719 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
29720 code.
29721 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29722 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29723 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29724 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29725 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29726 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29727 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29728 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29729 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29730 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29731 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29732 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29733 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29734 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29735 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29736 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29737 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29738 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29739 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29740 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29741 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29742 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29743 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29744 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29745 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29746 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29747 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
29748 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
29749 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
29750 macro.
29751 (declare_mgen_alias): New macro.
29752 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
29753 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
29754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
29755 (M_LIBM_NEED_COMPAT): Remove macro.
29756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
29757 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
29758 <first-versions.h>.
29759 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
29760 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
29761
a891caff
JM
297622017-09-12 Joseph Myers <joseph@codesourcery.com>
29763
29764 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
29765 (declare_mgen_alias_2): Remove.
29766 * sysdeps/generic/math-type-macros-double.h
29767 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
29768 Likewise.
29769 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
29770 alias.
29771 (ldexp): Define with declare_mgen_alias.
29772 (scalbn): Likewise.
29773
a1a78204
SE
297742017-09-12 Steve Ellcey <sellcey@cavium.com>
29775
29776 * grp/initgroups.c: Include config.h.
29777 (DEFAULT_CONFIG): New macro.
29778 (internal_getgrouplist): Use DEFAULT_CONFIG.
29779 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29780 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
29781 (DEFAULT_DEFCONFIG): New macro.
29782 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
29783 * nss/grp-lookup.c: Include config.h
29784 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
29785 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
29786 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
29787 * manual/nss.texi: Update default values section.
29788
ef8adeb0
L
297892017-09-12 H.J. Lu <hongjiu.lu@intel.com>
29790
29791 [BZ #21967]
29792 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
29793 New.
29794 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
29795 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29796 Handle MathVec_Prefer_No_AVX512.
29797 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
29798 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
29799 is set.
29800
a166531f
ST
298012017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
29802
29803 * posix/sched_primax.c (__sched_get_priority_max): Add
29804 libc_hidden_def.
29805 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
29806 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29807 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29808 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
29809 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
29810 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
29811 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
29812 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
29813 Add aliases.
29814
4b7d1efb
JM
298152017-09-11 Joseph Myers <joseph@codesourcery.com>
29816
29817 * sysdeps/generic/libm-alias-float.h: New file.
29818 * sysdeps/generic/math-type-macros-float.h: Include
29819 <libm-alias-float.h>.
29820 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
29821
45ff3463
L
298222017-09-11 H.J. Lu <hongjiu.lu@intel.com>
29823
29824 [BZ #22093]
29825 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
29826 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
29827 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
29828 (HWCAP_IMPORTANT): Likewise.
29829 (HWCAP_X86_64): New enum.
29830 (HWCAP_X86_AVX512_1): Updated.
29831 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
29832 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
29833 (modules-names): Add x86_64/tst-x86_64mod-1.
29834 (LDFLAGS-tst-x86_64mod-1.so): New.
29835 ($(objpfx)tst-x86_64-1): Likewise.
29836 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
29837 (tst-x86_64-1-clean): Likewise.
29838 * sysdeps/x86_64/tst-x86_64-1.c: New file.
29839 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
29840
891abfd3
SP
298412017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29842
29843 * po/sv.po: Update translations.
29844 * po/fr.po: Likewise.
29845
00c3da43
ST
298462017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29847
29848 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
29849 seconds.
3bdfd9fb
ST
29850 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
29851 seconds.
65b22ebc 29852 * elf/rtld-Rules: Fix $(error) use.
00c3da43 29853
96480903
MF
298542017-09-09 Mike FABIAN <mfabian@redhat.com>
29855
29856 [BZ #14925]
29857 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
29858 * locale/iso-639.def: Change “Bengali” to “Bangla”.
29859 * localedata/locales/bn_BD: “Bengali” was still used in some
29860 comments. Change it to “Bangla”.
29861
4c03a696
MT
298622017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
29863
29864 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
29865
9c9ec581
SE
298662017-09-08 Steve Ellcey <sellcey@cavium.com>
29867
29868 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
29869 thunderx2t99p1 to list of cpu names.
29870 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29871 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
29872
f00bce74
SE
298732017-09-08 Steve Ellcey <sellcey@cavium.com>
29874
29875 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
29876 Use strcmp instead of tunable_is_name.
29877
27342d17
JM
298782017-09-08 Joseph Myers <joseph@codesourcery.com>
29879
af1b7c8c
JM
29880 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29881 (F_GET_RW_HINT): New macro.
29882 [__USE_GNU] (F_SET_RW_HINT): Likewise.
29883 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
29884 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
29885 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
29886 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
29887 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
29888 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
29889 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
29890 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
29891
27342d17
JM
29892 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29893 (F_ADD_SEALS): New macro.
29894 [__USE_GNU] (F_GET_SEALS): Likewise.
29895 [__USE_GNU] (F_SEAL_SEAL): Likewise.
29896 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
29897 [__USE_GNU] (F_SEAL_GROW): Likewise.
29898 [__USE_GNU] (F_SEAL_WRITE): Likewise.
29899
c66c9082
AZ
299002017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29901
07b4f49d
AZ
29902 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
29903 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
29904 * posix/glob_internal.h (__glob_pattern_type):
29905 * posix/glob.c (glob):
29906 * posix/glob_pattern_p.c (__glob_pattern_p):
29907 Use them.
29908
116f1c64
AZ
29909 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
29910 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29911 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
29912 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
29913 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
29915 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
29916 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
29917 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29918 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29919 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29920 * sysdeps/wordsize-64/glob.c: Likewise.
29921 * sysdeps/wordsize-64/glob64.c: Likewise.
29922 * sysdeps/wordsize-64/globfree.c: Likewise.
29923 * sysdeps/wordsize-64/globfree64.c: Likewise.
29924 * sysdeps/unix/sysv/linux/glob.c: New file.
29925 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
29926 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
29927 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
29928 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29929 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
29930 adds !GLOB_NO_OLD_VERSION as an extra condition.
29931 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
29932 using relative path instead of absolute one.
29933 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
29934 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29935 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29936 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
29937 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
29938 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
29939
ffca8901
AZ
29940 [BZ #1062]
29941 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
29942 (glob): Use the same scratch buffer for both getlogin_r and
29943 getpwnam_r. Don’t require preallocation of the login name. This
29944 simplifies storage allocation, and corrects the handling of
29945 long login names.
29946
5a79f975
AZ
29947 [BZ #1062]
29948 * posix/glob.c (glob): Port recent patches to platforms
29949 lacking getpwnam_r.
29950 (glob): Fix longstanding misuse of errno after getpwnam_r, which
29951 returns an error number rather than setting errno.
29952
e00f2425
AZ
29953 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
29954 instead of GCC extension.
29955 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
29956 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
29957 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
29958
5554304f
AZ
29959 [BZ #866]
29960 [BZ #1062]
29961 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
29962 * posix/bug-glob1.c: Remove file.
29963 * posix/tst-glob_symlinks.c: New file.
29964 * posix/glob.c (__lstat64): New macro.
29965 (is_dir): New function.
29966 (glob, glob_in_dir): Match symlinks even if they are dangling.
29967 (link_stat, link_exists_p): Remove. All uses removed.
29968
686f2ea1
AZ
29969 [BZ #1062]
29970 [BZ #19971]
29971 * posix/glob.c (struct readdir_result): Remove skip_entry member.
29972 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
29973 All uses removed.
29974
c66c9082 29975 [BZ #1062]
914c9994 29976 CVE-2017-15671
c66c9082
AZ
29977 * posix/Makefile (routines): Add globfree, globfree64, and
29978 glob_pattern_p.
29979 * posix/flexmember.h: New file.
29980 * posix/glob_internal.h: Likewise.
29981 * posix/glob_pattern_p.c: Likewise.
29982 * posix/globfree.c: Likewise.
29983 * posix/globfree64.c: Likewise.
29984 * sysdeps/gnu/globfree64.c: Likewise.
29985 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
29986 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
29987 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
29988 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
29989 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
29990 * sysdeps/wordsize-64/globfree.c: Likewise.
29991 * sysdeps/wordsize-64/globfree64.c: Likewise.
29992 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
29993 [NDEBUG): Remove comments.
29994 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
29995 (dirent_type): New type. Use uint_fast8_t not
29996 uint8_t, as C99 does not require uint8_t.
29997 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
29998 (struct readdir_result): Use dirent_type. Do not define skip_entry
29999 unless it is needed; this saves a byte on platforms lacking d_ino.
30000 (readdir_result_type, readdir_result_skip_entry):
30001 New functions, replacing ...
30002 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 30003 these functions, which were removed. This makes the callers
c66c9082
AZ
30004 easier to read. All callers changed.
30005 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30006 (size_add_wrapv, glob_use_alloca): New static functions.
30007 (glob, glob_in_dir): Check for size_t overflow in several places,
30008 and fix some size_t checks that were not quite right.
30009 Remove old code using SHELL since Bash no longer
30010 uses this.
30011 (glob, prefix_array): Separate MS code better.
30012 (glob_in_dir): Remove old Amiga and VMS code.
30013 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30014 separate files.
30015 (glob_in_dir): Do not rely on undefined behavior in accessing
30016 struct members beyond their bounds. Use a flexible array member
30017 instead
30018 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30019 0/1. Caller changed.
30020 (glob): Fix memory leaks.
30021 * posix/glob64 (globfree64): Move to separate file.
30022 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30023 (globfree64): Remove hidden alias.
30024 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30025 oldglob.
30026 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30027 separate file.
30028 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30029 define.
30030 Move compat code to separate file.
30031 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30032 separate file.
30033
78bfa877
L
300342017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30035
30036 * resolv/tst-resolv-qtypes.c (domain): Changed to
30037 "const char domain[] =".
30038
05f0011f
JM
300392017-09-07 Joseph Myers <joseph@codesourcery.com>
30040
85bec0f2
JM
30041 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30042 version to 3.1.6.
30043
5c23ee6e
JM
30044 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30045 (TCP_MD5SIG_EXT): Likewise.
30046 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30047 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30048 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30049
05f0011f
JM
30050 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30051
7c9c5be9
MF
300522017-09-07 Mike FABIAN <mfabian@redhat.com>
30053
30054 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30055
c207f7ce 300562017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
30057
30058 [BZ #22100]
30059 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30060
507fe027
ST
300612017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30062
30063 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30064 before assuming that the file is empty. Avoid testing buffer content
30065 when nread == 0.
30066
65687ac7
AZ
300672017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30068
7bbbb4b9 30069 [BZ #18858]
65687ac7
AZ
30070 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30071 Remove define.
30072 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30073 Likewise.
30074 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30075 Likewise.
30076 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30077 Likewise.
30078 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30079 Likewise.
30080 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30081 Likewise.
30082 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30083 Likewise.
30084
ab5ac271
FW
300852017-09-06 Florian Weimer <fweimer@redhat.com>
30086
30087 * malloc/dynarray_emplace_enlarge.c
30088 (__libc_dynarray_emplace_enlarge): Add missing else.
30089
a8304730
FW
300902017-09-06 Florian Weimer <fweimer@redhat.com>
30091
30092 [BZ #22096]
30093 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30094 case of failure to obtain the global conf object.
30095
5670c4ab
FW
300962017-09-06 Florian Weimer <fweimer@redhat.com>
30097
30098 [BZ #22095]
30099 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30100 dynarray allocation failure.
30101
c77eb969
FW
301022017-09-06 Florian Weimer <fweimer@redhat.com>
30103
30104 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30105 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30106 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30107 New functions.
30108 (response): Call them. Add 'p', '6' flag processing.
30109 (test_reverse): New function.
30110 (test_get2_any): Call it.
30111 (test_no_inet6): Add 'p' test.
30112 (test_inet6): Likewise.
30113
5e9c4d17
FW
301142017-09-06 Florian Weimer <fweimer@redhat.com>
30115
30116 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30117 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30118 the QNAME.
30119 (test_gai): Adjust query names. Add additional tests.
30120 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30121 test_get2. Adjust query names. Add additional tests.
30122 (test_no_inet6): New function, extracted from threadfunc.
30123 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30124 Add additional tests.
30125
2ae5be04
MF
301262017-09-06 Mike FABIAN <mfabian@redhat.com>
30127
30128 [BZ #22070]
30129 * localedata/unicode-gen/utf8_gen.py: Set the width for
30130 characters with Prepended_Concatenation_Mark property to 1
30131 * localedata/charmaps/UTF-8: Updated using the improved script.
30132
af83ed5c
MF
301332017-09-06 Mike FABIAN <mfabian@redhat.com>
30134
30135 [BZ #21750]
30136 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30137 use the range notation for all ranges of neighbouring characters
30138 with the same width.
30139
4f3647e4
JM
301402017-09-05 Joseph Myers <joseph@codesourcery.com>
30141
30142 * sysdeps/generic/math-type-macros-double.h: Include
30143 <math-svid-compat.h>.
30144 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30145 * sysdeps/generic/math-type-macros-float.h: Include
30146 <math-svid-compat.h>.
30147 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30148 * sysdeps/generic/math-type-macros-ldouble.h: Include
30149 <math-svid-compat.h>.
30150 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30151 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30152 condition.
30153 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30154 * math/w_acosf_compat.c: Likewise.
30155 * math/w_acosh_compat.c: Likewise.
30156 * math/w_acoshf_compat.c: Likewise.
30157 * math/w_acoshl_compat.c: Likewise.
30158 * math/w_acosl_compat.c: Likewise.
30159 * math/w_asin_compat.c: Likewise.
30160 * math/w_asinf_compat.c: Likewise.
30161 * math/w_asinl_compat.c: Likewise.
30162 * math/w_atan2_compat.c: Likewise.
30163 * math/w_atan2f_compat.c: Likewise.
30164 * math/w_atan2l_compat.c: Likewise.
30165 * math/w_atanh_compat.c: Likewise.
30166 * math/w_atanhf_compat.c: Likewise.
30167 * math/w_atanhl_compat.c: Likewise.
30168 * math/w_cosh_compat.c: Likewise.
30169 * math/w_coshf_compat.c: Likewise.
30170 * math/w_coshl_compat.c: Likewise.
30171 * math/w_exp10_compat.c: Likewise.
30172 * math/w_exp10f_compat.c: Likewise.
30173 * math/w_exp10l_compat.c: Likewise.
30174 * math/w_exp2_compat.c: Likewise.
30175 * math/w_exp2f_compat.c: Likewise.
30176 * math/w_exp2l_compat.c: Likewise.
30177 * math/w_fmod_compat.c: Likewise.
30178 * math/w_fmodf_compat.c: Likewise.
30179 * math/w_fmodl_compat.c: Likewise.
30180 * math/w_hypot_compat.c: Likewise.
30181 * math/w_hypotf_compat.c: Likewise.
30182 * math/w_hypotl_compat.c: Likewise.
30183 * math/w_j0_compat.c: Likewise.
30184 * math/w_j0f_compat.c: Likewise.
30185 * math/w_j0l_compat.c: Likewise.
30186 * math/w_j1_compat.c: Likewise.
30187 * math/w_j1f_compat.c: Likewise.
30188 * math/w_j1l_compat.c: Likewise.
30189 * math/w_jn_compat.c: Likewise.
30190 * math/w_jnf_compat.c: Likewise.
30191 * math/w_jnl_compat.c: Likewise.
30192 * math/w_lgamma_r_compat.c: Likewise.
30193 * math/w_lgammaf_r_compat.c: Likewise.
30194 * math/w_lgammal_r_compat.c: Likewise.
30195 * math/w_log10_compat.c: Likewise.
30196 * math/w_log10f_compat.c: Likewise.
30197 * math/w_log10l_compat.c: Likewise.
30198 * math/w_log2_compat.c: Likewise.
30199 * math/w_log2f_compat.c: Likewise.
30200 * math/w_log2l_compat.c: Likewise.
30201 * math/w_log_compat.c: Likewise.
30202 * math/w_logf_compat.c: Likewise.
30203 * math/w_logl_compat.c: Likewise.
30204 * math/w_pow_compat.c: Likewise.
30205 * math/w_powf_compat.c: Likewise.
30206 * math/w_powl_compat.c: Likewise.
30207 * math/w_remainder_compat.c: Likewise.
30208 * math/w_remainderf_compat.c: Likewise.
30209 * math/w_remainderl_compat.c: Likewise.
30210 * math/w_sinh_compat.c: Likewise.
30211 * math/w_sinhf_compat.c: Likewise.
30212 * math/w_sinhl_compat.c: Likewise.
30213 * math/w_sqrt_compat.c: Likewise.
30214 * math/w_sqrtf_compat.c: Likewise.
30215 * math/w_sqrtl_compat.c: Likewise.
30216 * math/w_tgamma_compat.c: Likewise.
30217 * math/w_tgammaf_compat.c: Likewise.
30218 * math/w_tgammal_compat.c: Likewise.
30219 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
30220 [LIBM_SVID_COMPAT].
30221 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
30222 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
30223 [LIBM_SVID_COMPAT].
30224 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
30225 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
30226 [LIBM_SVID_COMPAT].
30227 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
30228 * sysdeps/i386/fpu/w_sqrt.c: New file.
30229 * sysdeps/ia64/fpu/w_acos.c: Likewise.
30230 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
30231 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
30232 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
30233 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
30234 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
30235 * sysdeps/ia64/fpu/w_asin.c: Likewise.
30236 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
30237 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
30238 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
30239 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
30240 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
30241 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
30242 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
30243 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
30244 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
30245 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
30246 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
30247 * sysdeps/ia64/fpu/w_exp.c: Likewise.
30248 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
30249 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
30250 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
30251 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
30252 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
30253 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
30254 * sysdeps/ia64/fpu/w_expf.c: Likewise.
30255 * sysdeps/ia64/fpu/w_expl.c: Likewise.
30256 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
30257 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
30258 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
30259 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
30260 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
30261 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
30262 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
30263 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
30264 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
30265 * sysdeps/ia64/fpu/w_log.c: Likewise.
30266 * sysdeps/ia64/fpu/w_log10.c: Likewise.
30267 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
30268 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
30269 * sysdeps/ia64/fpu/w_log2.c: Likewise.
30270 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
30271 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
30272 * sysdeps/ia64/fpu/w_logf.c: Likewise.
30273 * sysdeps/ia64/fpu/w_logl.c: Likewise.
30274 * sysdeps/ia64/fpu/w_pow.c: Likewise.
30275 * sysdeps/ia64/fpu/w_powf.c: Likewise.
30276 * sysdeps/ia64/fpu/w_powl.c: Likewise.
30277 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
30278 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
30279 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
30280 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
30281 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
30282 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
30283 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
30284 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
30285 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
30286 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
30287 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
30288 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
30289 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
30290 [LIBM_SVID_COMPAT].
30291 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
30292 * sysdeps/ieee754/k_standard.c: Likewise.
30293 * sysdeps/ieee754/k_standardf.c: Likewise.
30294 * sysdeps/ieee754/k_standardl.c: Likewise.
30295 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
30296 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
30297 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
30298 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
30299 long_double_symbol call on [LIBM_SVID_COMPAT].
30300 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30301 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30302 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30303 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30304 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30305 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30306 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30307 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30308 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30309 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30310 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30311 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30312 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30313 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30314 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30315 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30316 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
30317 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30318 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30319 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30320 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
30321 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
30322
05b38d64
SE
303232017-09-05 Steve Ellcey <sellcey@cavium.com>
30324
30325 * include/shlib-compat.h (TEST_COMPAT): New Macro.
30326 * malloc/tst-mallocstate.c: Convert from test-skeleton
30327 to test-driver. Ifdef code using TEST_COMPAT macro.
30328 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
30329 * math/test-matherr.c: Likewise.
30330
99d67918
JM
303312017-09-05 Joseph Myers <joseph@codesourcery.com>
30332
30333 [BZ #22086]
30334 * debug/pcprofiledump.c (main): Use byte-swapped mask when
30335 comparing word with byte-swapped constant.
30336
c207f7ce 303372017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
30338
30339 [BZ #20498]
30340 * locale/iso-639.def: add Miskito.
30341 * localedata/SUPPORTED: Add miq_NI/UTF-8.
30342 * localedata/locales/miq_NI: New file.
30343
0a587a8a
L
303442017-09-04 H.J. Lu <hongjiu.lu@intel.com>
30345
30346 [BZ #18822]
30347 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
30348 (__mkdir): Likewise.
30349 * io/chmod.c (__chmod): Add libc_hidden_def.
30350 * io/mkdir.c (__mkdir): Likewise.
30351 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
30352 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
30353 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
30354 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
30355
f3a129b8
JM
303562017-09-04 Joseph Myers <joseph@codesourcery.com>
30357
1650e192
JM
30358 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
30359 version to 4.13.
30360
f3a129b8
JM
30361 [BZ #22082]
30362 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
30363 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
30364
b38042f5
FW
303652017-09-04 Florian Weimer <fweimer@redhat.com>
30366
30367 * math/math.h: Issue warning if log is defined.
30368
059b6404
JM
303692017-09-04 Joseph Myers <joseph@codesourcery.com>
30370
30371 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
30372 kernel version to 4.13.
30373
b794e16b
ST
303742017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
30375
30376 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
30377 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
30378 parameter.
01969395
ST
30379 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
30380 just <bits/types.h>.
dd2b31de 30381 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 30382 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 30383 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 30384 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
30385 * misc/preadv2.c: Include <errno.h>.
30386 * misc/preadv64v2.c: Include <errno.h>.
30387 * misc/pwritev2.c: Include <errno.h>.
30388 * misc/pwritev64v2.c: Include <errno.h>.
30389 * sysdeps/posix/preadv2.c: Include <errno.h>.
30390 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
30391 Fix <unistd.h> inclusion.
30392 * sysdeps/posix/pwritev2.c: Include <errno.h>.
30393 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
30394 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
30395 __strtoul_internal): New functions.
127e7773
ST
30396 * sysdeps/posix/pause.c: Include <sigsetops.h>.
30397 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
30398 * sysdeps/mach/hurd/i386/Makefile
30399 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
30400 [$(subdir) = csu] (sysdep-only-routines): Likewise.
30401 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
30402 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
30403 __feraiseexcept_renamed to feraiseexcept instead of
30404 __GI_feraiseexcept.
56bf5497 30405 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 30406 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
30407 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
30408 RWF_NOWAIT): Define to 0 if undefined already.
30409 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
30410 boils down to 0.
6547ec0a
ST
30411 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
30412 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 30413
5a80d39d
JM
304142017-09-01 Joseph Myers <joseph@codesourcery.com>
30415
30416 * manual/math.texi (pow10): Do not document.
30417 (pow10f): Likewise.
30418 (pow10l): Likewise.
30419 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
30420 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
30421 * math/libm-test-exp10.inc (pow10_test): Remove.
30422 (do_test): Do not call pow10.
30423 * math/w_exp10_compat.c (pow10): Make into compat symbol.
30424 [NO_LONG_DOUBLE] (pow10l): Likewise.
30425 * math/w_exp10f_compat.c (pow10f): Likewise.
30426 * math/w_exp10l_compat.c (pow10l): Likewise.
30427 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
30428 (pow10): Make into compat symbol.
30429 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
30430 (pow10f): Make into compat symbol.
30431 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
30432 (pow10l): Make into compat symbol.
30433 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
30434 pow10.
30435 (CFLAGS-nldbl-pow10.c): Remove variable..
30436 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
30437 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
30438 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
30439 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
30440 Undefine and redefine.
30441 (pow10l): Make into compat symbol.
30442 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
30443 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30444 * sysdeps/arm/libm-test-ulps: Likewise.
30445 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
30446 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30447 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
30448 * sysdeps/microblaze/libm-test-ulps: Likewise.
30449 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30450 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30451 * sysdeps/nios2/libm-test-ulps: Likewise.
30452 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30453 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30454 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30455 * sysdeps/sh/libm-test-ulps: Likewise.
30456 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30457 * sysdeps/tile/libm-test-ulps: Likewise.
30458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30459
3824fc38
PP
304602017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30461
30462 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
30463
b3008279
L
304642017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30465
30466 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
30467 "../ChangeLog.old/ChangeLog.8".
30468 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
30469 "../ChangeLog.old/ChangeLog.14".
30470
136fa185
L
304712017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30472
30473 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
30474 Threads Library.
30475
c18d50a2
JM
304762017-09-01 Joseph Myers <joseph@codesourcery.com>
30477
30478 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
30479
bedbd859
L
304802017-09-01 H.J. Lu <hongjiu.lu@intel.com>
30481
30482 * csu/version.c (banner): Remove "by Roland McGrath et al.".
30483 * nptl/Banner: Remove "by Ulrich Drepper et al.".
30484
50c66c7a
PP
304852017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
30486
30487 * stdlib/tst-atexit-common.c (do_test): Test support for at least
30488 32 atexit handlers.
30489
a617bd11
ZW
304902017-09-01 Zack Weinberg <zackw@panix.com>
30491
30492 * math/math.h (HUGE_VAL): Improve commentary.
30493
e0d2eb5a
AZ
304942017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30495 Andreas Schwab <schwab@suse.de>
30496
30497 [BZ #21530]
30498 * include/stdio.h (__gen_tempfd): New function.
30499 * stdio-common/Makefile (routines): Add gentempfd.
30500 * stdio-common/gentempfd.c: New file.
30501 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
30502 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
30503 unnamed file first.
30504
f4a6be25
FW
305052017-09-01 Florian Weimer <fweimer@redhat.com>
30506
30507 [BZ #21915]
30508 [BZ #21922]
30509 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
30510 result to determine success or failure, not the errno value.
30511 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
30512 (tst-nss-files-hosts-erange): Link with -ldl.
30513 * nss/tst-nss-files-hosts-erange.c: New file.
30514 * nss/tst-resolv-basic.c (response): Handle nodata.example.
30515 (do_test): Add NO_DATA tests.
30516 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
30517 (do_test): Call it.
30518
5f8340f5
FW
305192017-09-01 Florian Weimer <fweimer@redhat.com>
30520
30521 [BZ #21922]
30522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
30523 coming from gethostbyname2_r.
30524
65329bd2
FW
305252017-09-01 Florian Weimer <fweimer@redhat.com>
30526
30527 * support/namespace.h (struct support_chroot_configuration): Add
30528 hosts, host_conf.
30529 (struct support_chroot): Add path_hosts, path_host_conf.
30530 * support/support_chroot.c (write_file): New function.
30531 (support_chroot_create): Call it to process /etc/resolv.conf,
30532 /etc/hosts, /etc/host.conf.
30533 (support_chroot_free): Update.
30534
a2881ef0
FW
305352017-09-01 Florian Weimer <fweimer@redhat.com>
30536
30537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
30538 status indicates it is set.
30539
ad816a5e
FW
305402017-09-01 Florian Weimer <fweimer@redhat.com>
30541
63b52889 30542 [BZ #20532]
ad816a5e
FW
30543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
30544 function lookup failures more reliable.
30545
53250a21
FW
305462017-09-01 Florian Weimer <fweimer@redhat.com>
30547
30548 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
30549 (getcanonname): Likewise.
30550 (gaih_inet): Likewise.
30551
924b121c
FW
305522017-09-01 Florian Weimer <fweimer@redhat.com>
30553
30554 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
30555 (getcanonname): Likewise.
30556 (gaih_inet): Likewise.
30557
d9ff799a 305582017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 30559 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
30560
30561 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
30562 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
30563 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
30564 (IREG_SIZE, OREG_SIZE): New macros.
30565 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
30566 (IREG_SIZE, OREG_SIZE): New macros.
30567 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
30568 (IREG_SIZE): New macro.
30569 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
30570 (IREG_SIZE): New macro.
30571 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
30572 New includes.
30573 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
30574 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
30575 (__CONCATX): Handle exceptions correctly on large values that may
30576 set FE_INVALID.
30577 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
30578 Initialize if not already set.
b39d961c 30579 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 30580
102dde84
AZ
305812017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30582
30583 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
30584 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
30585 Likewise.
30586 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
30587 Likewise.
30588 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
30589 Likewise.
30590 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
30591 Likewise.
30592 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
30593 Likewise.
30594 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
30595 Likewise.
30596 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
30597 Likewise.
30598 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
30599 (NO_CANCELLATION): Likewise.
30600 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
30601 Likewise.
30602 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
30603 Likewise.
30604 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
30605 Likewise.
30606 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
30607 (NO_CANCELLATION): Likewise.
30608 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
30609 (NO_CANCELLATION): Likewise.
30610 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
30611 Likewise
30612 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
30613 Likewise.
30614 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
30615 Likewise.
30616 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
30617 Likewise.
30618 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
30619 hidden prototype.
30620 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
30621 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
30622
9eee633b
SE
306232017-08-31 Steve Ellcey <sellcey@cavium.com>
30624
30625 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
30626 in resolver call.
30627
65284eb7
FW
306282017-08-31 Florian Weimer <fweimer@redhat.com>
30629
30630 * include/libc-symbols.h (internal_function): Remove.
30631
41ad5ca6
FW
306322017-08-31 Florian Weimer <fweimer@redhat.com>
30633
30634 * stdlib/fmtmsg.c (internal_addseverity): Remove
30635 internal_function.
30636
2fa6d086
FW
306372017-08-31 Florian Weimer <fweimer@redhat.com>
30638
30639 * stdio-common/printf_fp.c (group_number): Remove
30640 internal_function.
30641 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
30642
b41bd5bc
FW
306432017-08-31 Florian Weimer <fweimer@redhat.com>
30644
30645 * posix/fnmatch.c (internal_function): Remove definition.
30646 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
30647 * posix/regcomp.c (peek_token, init_word_char)
30648 (duplicate_node_closure, fetch_token, peek_token)
30649 (peek_token_bracket, build_range_exp, build_collating_symbol):
30650 Likewise.
30651 * posix/regex_internal.c (re_string_construct_common)
30652 (create_ci_newstate, create_cd_newstate, re_string_allocate)
30653 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
30654 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
30655 (re_string_translate_buffer, re_string_reconstruct)
30656 (re_string_peek_byte_case, re_string_fetch_byte_case)
30657 (re_string_destruct, re_string_context_at, re_node_set_alloc)
30658 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
30659 (re_node_set_add_intersect, re_node_set_init_union)
30660 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
30661 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
30662 (re_dfa_add_node, calc_state_hash, re_acquire_state)
30663 (re_acquire_state_context): Likewise.
30664 * posix/regex_internal.h (internal_function): Remove definition.
30665 (re_string_realloc_buffers, build_wcs_buffer)
30666 (build_wcs_upper_buffer, build_upper_buffer)
30667 (re_string_translate_buffer, re_string_context_at)
30668 (re_string_char_size_at, re_string_wchar_at)
30669 (re_string_elem_size_at): Likewise.
30670 * posix/regexec.c (match_ctx_init, match_ctx_clean)
30671 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
30672 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
30673 (re_search_internal, re_search_2_stub, re_search_stub)
30674 (re_copy_regs, prune_impossible_nodes, check_matching)
30675 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
30676 (free_fail_stack_return, sift_states_iter_mb)
30677 (sift_states_backward, build_sifted_states)
30678 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
30679 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
30680 (check_subexp_limits, sift_states_bkref, merge_state_array)
30681 (find_recover_state, transit_state, merge_state_with_log)
30682 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
30683 (transit_state_mb, transit_state_bkref, get_subexp)
30684 (get_subexp_sub, find_subexp_node, check_arrival)
30685 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
30686 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
30687 (check_node_accept_bytes, find_collation_sequence_value)
30688 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
30689 (acquire_init_state_context, check_halt_node_context)
30690 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
30691 (sub_epsilon_src_nodes): Likewise.
30692 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
30693 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
30694 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
30695 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
30696 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
30697 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
30698 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
30699 * sysdeps/posix/ttyname.c (getttyname): Likewise.
30700 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
30701 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
30702 (PREADV): Likewise.
30703 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
30704 (PREADV): Likewise.
30705 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
30706 (PWRITEV): Likewise.
30707 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
30708 (PWRITEV): Likewise.
30709 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
30710 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
30711
83b09837
FW
307122017-08-31 Florian Weimer <fweimer@redhat.com>
30713
30714 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
30715 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
30716 Remove internal_function.
30717 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30718 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
30719 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
30720 (__deallocate_stack, __libc_pthread_init)
30721 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
30722 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
30723 (__libc_disable_asynccancel, __librt_disable_asynccancel):
30724 Likewise.
30725 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
30726 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
30727 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
30728 Likewise.
30729 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
30730 (__pthread_mutex_unlock_usercnt): Likewise.
30731
116ac301
FW
307322017-08-31 Florian Weimer <fweimer@redhat.com>
30733
30734 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
30735 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
30736 (fts_safe_changedir): Remove internal_function.
30737 * io/ftw.c (internal_function): Remove definition.
30738 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
30739
9da93bd7
FW
307402017-08-31 Florian Weimer <fweimer@redhat.com>
30741
30742 * inet/deadline.c (__deadline_current_time)
30743 (__deadline_from_timeval, __deadline_to_ms): Remove
30744 internal_function.
30745 * inet/getnameinfo.c (nrl_domainname): Likewise.
30746 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
30747 * inet/inet6_option.c (add_pad): Likewise.
30748 * inet/net-internal.h (__deadline_current_time)
30749 (__deadline_from_timeval, __deadline_to_ms): Likewise.
30750 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
30751 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
30752 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
30753
a60eca2e
JM
307542017-08-31 Joseph Myers <joseph@codesourcery.com>
30755
c0c49d60
JM
30756 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
30757 include <bits/nan.h>.
30758 * math/Makefile (headers): Remove bits/nan.h.
30759 * bits/nan.h: Remove.
30760 * sysdeps/ieee754/bits/nan.h: Likewise.
30761 * sysdeps/mips/bits/nan.h: Likewise.
30762
5ef1b213
JM
30763 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
30764 not include <bits/inf.h>.
30765 * math/Makefile (headers): Remove bits/inf.h.
30766 * bits/inf.h: Remove.
30767 * sysdeps/ieee754/bits/inf.h: Likewise.
30768
a60eca2e
JM
30769 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
30770 bits/huge_vall.h or bits/huge_val_flt128.h.
30771 (HUGE_VAL): Define directly here.
30772 [__USE_ISOC99] (HUGE_VALF): Likewise.
30773 [__USE_ISOC99] (HUGE_VALL): Likewise.
30774 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30775 (HUGE_VAL_F128): Likewise.
30776 * math/Makefile (headers): Remove bits/huge_val.h,
30777 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
30778 * bits/huge_val.h: Remove.
30779 * bits/huge_val_flt128.h: Likewise.
30780 * bits/huge_valf.h: Likewise.
30781 * bits/huge_vall.h: Likewise.
30782 * sysdeps/ia64/bits/huge_vall.h: Likewise.
30783 * sysdeps/ieee754/bits/huge_val.h: Likewise.
30784 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
30785 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
30786 * sysdeps/sh/bits/huge_val.h: Likewise.
30787 * sysdeps/sparc/bits/huge_vall.h: Likewise.
30788 * sysdeps/x86/bits/huge_vall.h: Likewise.
30789
17e00cc6
FW
307902017-08-31 Florian Weimer <fweimer@redhat.com>
30791
30792 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
30793 internal_function.
30794 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
30795 Likewise.
30796 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
30797 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30798 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
30799 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
30800 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30801 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30802 * elf/dl-libc.c (dlerror_run): Likewise.
30803 * elf/dl-load.c (add_name_to_object, decompose_rpath)
30804 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
30805 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
30806 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
30807 Likewise.
30808 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
30809 (_dl_higher_prime_number, _dl_strtoul): Likewise.
30810 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
30811 * elf/dl-profile.c (_dl_start_profile): Likewise.
30812 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
30813 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
30814 Likewise.
30815 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
30816 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
30817 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
30818 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
30819 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
30820 (_dl_allocate_tls_storage): Likewise.
30821 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
30822 (_dl_check_all_versions): Likewise.
30823 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
30824 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
30825 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
30826 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30827 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
30828 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
30829 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
30830 internal_function from __dl_start.
30831 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
30832 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
30833 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
30834 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
30835 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
30836 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
30837 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
30838 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
30839 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
30840 (_dl_next_ld_env_entry, _dl_important_hwcaps)
30841 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
30842 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
30843 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
30844 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
30845 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
30846 Likewise.
30847 (struct rtld_global_ro): Remove internal_function from the
30848 _dl_lookup_symbol_x member.
30849 (_dl_symbol_value): Remove. No longer defined anywhere.
30850 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
30851 internal_function.
30852 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30853 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30854 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
30855 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
30856 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
30857 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
30858 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
30859 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
30860 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
30861 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
30862 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
30863 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30864
8d2f9410
FW
308652017-08-31 Florian Weimer <fweimer@redhat.com>
30866
30867 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
30868 Remove internal_function.
30869 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30870 Likewise.
30871 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
30872 Likewise.
30873
86e4919f
FW
308742017-08-31 Florian Weimer <fweimer@redhat.com>
30875
30876 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
30877 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
30878 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
30879
59bd52b0
FW
308802017-08-31 Florian Weimer <fweimer@redhat.com>
30881
30882 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
30883 (__gai_enqueue_request): Remove internal_function.
30884 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
30885 (__gai_remove_request, __gai_notify, __gai_notify_only)
30886 (__gai_sigqueue): Likewise.
30887 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
30888 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
30889 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
30890 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30891 Likewise.
30892
fc3d9497
FW
308932017-08-31 Florian Weimer <fweimer@redhat.com>
30894
30895 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
30896 * include/dirent.h (__opendirat, __getdents, __getdents64)
30897 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
30898 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
30899 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30900 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
30901 Likewise.
30902 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
30903
18c54fac
FW
309042017-08-31 Florian Weimer <fweimer@redhat.com>
30905
30906 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
30907 internal_function.
30908 (GETCWD_RETURN_TYPE): Likewise.
30909
7e01f080
FW
309102017-08-31 Florian Weimer <fweimer@redhat.com>
30911
30912 * include/time.h (__tz_compute, __strptime_internal): Remove
30913 internal_function.
30914 * time/strptime_l.c (__strptime_internal): Likewise.
30915 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
30916
d7ccc6c9
FW
309172017-08-31 Florian Weimer <fweimer@redhat.com>
30918
30919 * iconv/gconv.c (__gconv): Remove internal_function.
30920 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
30921 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30922 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
30923 (__gconv_release_cache): Likewise.
30924 * iconv/gconv_close.c (__gconv_close): Likewise.
30925 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
30926 (read_conf_file, __gconv_get_path): Likewise.
30927 * iconv/gconv_db.c (derivation_lookup, add_derivation)
30928 (__gconv_release_step, gen_steps, increment_counter)
30929 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
30930 (__gconv_close_transform, free_modules_db): Likewise.
30931 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
30932 Likewise.
30933 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
30934 (__gconv_find_transform, __gconv_lookup_cache)
30935 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
30936 (__gconv_close_transform, __gconv_release_cache)
30937 (__gconv_loaded_object, __gconv_release_shlib)
30938 (__gconv_compare_alias): Likewise.
30939 * iconv/gconv_open.c (__gconv_open): Likewise.
30940 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
30941 * iconv/iconvconfig.c (add_module): Likewise.
30942 * intl/dcigettext.c (plural_lookup, guess_category_value)
30943 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
30944 * intl/eval-plural.h (plural_eval): Likewise.
30945 * intl/finddomain.c (_nl_find_domain): Likewise.
30946 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
30947 (_nl_load_domain, _nl_find_msg): Likewise.
30948 (internal_function): Remove definition.
30949 * intl/loadinfo.h (internal_function): Likewise.
30950 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
30951 internal_function.
30952 * intl/localealias.c (internal_function): Remove definition.
30953 (read_alias_file): Remove internal_function.
30954 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
30955 * intl/plural-exp.h (internal_function): Remove definition.
30956 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
30957 internal_function.
30958 * intl/plural.c: Regenerate.
30959 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
30960 * locale/coll-lookup.c (__collidx_table_lookup)
30961 (__collseq_table_lookup): Likewise.
30962 * locale/coll-lookup.h (__collidx_table_lookup)
30963 (__collseq_table_lookup): Likewise.
30964 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
30965 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30966 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
30967 (_nl_unload_locale): Likewise.
30968 * locale/localeinfo.h (struct __locale_data): Remove
30969 internal_function from cleanup member.
30970 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
30971 (_nl_remove_locale, _nl_load_locale_from_archive)
30972 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
30973 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
30974 (_nl_cleanup_time): Remove internal_function.
30975 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
30976 (_nl_parse_alt_digit): Likewise.
30977 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
30978 (_nl_select_era_entry): Likewise.
30979 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
30980 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30981 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
30982 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
30983 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 30984
dab0eece
FW
309852017-08-31 Florian Weimer <fweimer@redhat.com>
30986
30987 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
30988 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
30989 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
30990 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
30991 Likewise.
30992 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
30993 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
30994 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
30995 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30996 Likewise.
30997 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
30998
ab5bf7cf
FW
309992017-08-31 Florian Weimer <fweimer@redhat.com>
31000
31001 * misc/getttyent.c (skip, value): Remove internal_function.
31002 * misc/syslog.c (openlog_internal): Likewise.
31003 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31004
75b3047e
FW
310052017-08-31 Florian Weimer <fweimer@redhat.com>
31006
31007 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31008 (__nss_rewrite_field): Remove internal_function.
31009 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31010 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31011 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31012 * nss/nsswitch.c (nss_parse_file, nss_getline)
31013 (nss_parse_service_list, nss_new_service): Likewise.
31014 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31015 * nss/valid_field.c (__nss_valid_field): Likewise.
31016 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31017
0c71122c
FW
310182017-08-31 Florian Weimer <fweimer@redhat.com>
31019
31020 * malloc/arena.c (__malloc_fork_lock_parent)
31021 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31022 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31023 internal_function from defintions.
31024 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31025 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31026 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31027 internal_function from declarations.
31028 * malloc/malloc.c (internal_function): Do not define.
31029 (mem2mem_check): Remove internal_function from declaration.
31030 (munmap_chunk, mremap_chunk): Remove internal_function.
31031 * malloc/mtrace.c (tr_where): Likewise.
31032
ca4ec803
FW
310332017-08-31 Florian Weimer <fweimer@redhat.com>
31034
31035 * include/rpc/pmap_clnt.h (__get_socket): Remove
31036 internal_function.
31037 * sunrpc/auth_des.c (synchronize): Likewise.
31038 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31039 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31040 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31041 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31042 (key_call): Likewise.
31043 * sunrpc/pm_getport.c (__get_socket): Likewise.
31044 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31045 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31046 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31047 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31048 (invalidate): Likewise.
31049 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31050 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31051 (set_input_fragment, get_input_bytes): Likewise.
31052
24cffce7
FW
310532017-08-31 Florian Weimer <fweimer@redhat.com>
31054
31055 * malloc/malloc.c (_int_free): Remove locked variable and related
31056 asserts.
31057
ecd0747d
L
310582017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31059
31060 [BZ #22051]
31061 * Makerules (build-module-helper-objlist): Filter out
31062 $(elf-objpfx)sofini.os.
31063 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31064 needed.
31065
5f0704b6
FW
310662017-08-31 Florian Weimer <fweimer@redhat.com>
31067
31068 * libio/fcloseall.c: Assume weak_alias is defined.
31069 * libio/feof.c: Likewise.
31070 * libio/fileno.c: Likewise.
31071 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31072 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31073 definitions.
31074 (_IO_file_open): Call __open directly.
31075 (_IO_new_file_sync): Assume ESPIPE is defined.
31076 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31077 (_IO_new_file_write): Call __write directly.
31078 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31079 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31080 * libio/genops.c: Assume _LIBC is defined.
31081 (save_for_backup): Remove internal_function.
31082 * libio/getc.c: Assume weak_alias is defined.
31083 * libio/getwc.c: Likewise.
31084 * libio/iofclose.c: Assume _LIBC is defined.
31085 * libio/iofdopen.c: Likewise.
31086 (_IO_fcntl): Remove macro definition.
31087 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31088 Call __fcntl directly.
31089 * libio/iofflush.c: Assume weak_alias is defined.
31090 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31091 defined.
31092 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31093 * libio/iofgets.c: Likewise.
31094 * libio/iofopen.c: Assume _LIBC is defined.
31095 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31096 * libio/iofputs.c: Assume weak_alias is defined.
31097 * libio/iofread.c: Likewise.
31098 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31099 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31100 * libio/ioftell.c: Assume weak_alias is defined.
31101 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31102 * libio/iofwide.c: Assume _LIBC is defined.
31103 (_IO_fwide): Drop SHARED conditional because it is implied by
31104 SHLIB_COMPAT.
31105 * libio/iofwrite.c: Assume weak_alias is defined.
31106 * libio/iogetdelim.c: Likewise.
31107 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31108 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31109 (_IO_getwline): Call __wmemcpy directly.
31110 * libio/iopopen.c: Assume _LIBC is defined.
31111 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31112 (_IO_close): Remove macro definitions.
31113 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31114 _exit directly.
31115 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31116 directly.
31117 * libio/ioputs.c: Assume weak_alias is defined.
31118 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31119 * libio/iosetbuffer.c: Assume weak_alias is defined.
31120 * libio/iosetvbuf.c: Likewise.
31121 * libio/ioungetc.c: Likewise.
31122 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31123 libc_hidden_def, libc_hidden_weak, NULL are defined.
31124 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31125 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31126 defined.
31127 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31128 definitions.
31129 (_IO_old_file_init_internal): Drop SHARED conditional because it
31130 is implied by SHLIB_COMPAT.
31131 (_IO_old_file_fopen): Call __open directly.
31132 (_IO_old_file_sync): Assume ESPIPE is defined.
31133 (_IO_old_file_write): Call __write directly.
31134 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31135 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31136 Call __fcntl directly.
31137 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31138 (_IO_old_fgetpos): Assume EIO is defined.
31139 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31140 (_IO_old_fgetpos64): Assume EIO is defined.
31141 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31142 (_IO_old_fsetpos): Assume EIO is defined.
31143 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31144 (_IO_old_fsetpos64): Assume EIO is defined.
31145 * libio/oldiopopen.c: Assume _LIBC is defined.
31146 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31147 (_IO_close): Remove macro definitions.
31148 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31149 directly.
31150 (_IO_old_proc_close): Call __close, __waitpid directly.
31151 * libio/put.c: Assume weak_alias is defined.
31152 * libio/stdfiles.c: Assume _LIBC is defined.
31153 * libio/stdio.c: Likewise.
31154 * libio/wfileops.c: Likewise.
31155 (_IO_wfile_sync): Assume ESPIPE is defined.
31156 * libio/wgenops.c: Assume _LIBC is defined.
31157 (save_for_wbackup): Remove internal_function.
31158
5129873a
FW
311592017-08-31 Florian Weimer <fweimer@redhat.com>
31160
31161 * malloc/malloc.c (top_check): Change return type to void. Remove
31162 internal_function.
31163 * malloc/hooks.c (top_check): Likewise.
31164 (malloc_check, realloc_check, memalign_check): Adjust.
31165
4fa9b3bf
JM
311662017-08-30 Joseph Myers <joseph@codesourcery.com>
31167
31168 [BZ #21457]
31169 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31170 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31171 sigcontext and namespace requirements.
31172 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31173 * sysdeps/m68k/sys/ucontext.h: Likewise.
31174 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31175 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31176 <bits/sigcontext.h>.
31177 (__ctx): Define earlier.
31178 (mcontext_t): Define structure contents rather than using struct
31179 sigcontext.
31180 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
31181 __glibc_reserved1 instead of __reserved.
31182 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
31183 <bits/sigcontext.h>.
31184 (__ctx): Define earlier.
31185 (mcontext_t): Define structure contents rather than using struct
31186 sigcontext.
31187 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
31188 mcontext_t instead of struct sigcontext.
31189 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
31190 <bits/sigcontext.h>.
31191 (__ctx): Define earlier.
31192 (mcontext_t): Define structure contents rather than using struct
31193 sigcontext.
31194 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
31195 <bits/sigcontext.h>.
31196 (__ctx): Define earlier.
31197 (mcontext_t): Define structure contents rather than using struct
31198 sigcontext.
31199 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
31200 mcontext_t instead of struct sigcontext.
31201 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
31202 mcontext_t instead of struct sigcontext.
31203 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
31204 <bits/sigcontext.h>.
31205 (__ctx): New macro.
31206 (struct __ia64_fpreg_mcontext): New type.
31207 (mcontext_t): Define structure contents rather than using struct
31208 sigcontext.
31209 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
31210 (uc_sigmask): Define using __ctx.
31211 (uc_stack): Likewise.
31212 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
31213 <bits/sigcontext.h>.
31214 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31215 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
31216 <bits/sigcontext.h>.
31217 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
31218 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
31219 <bits/sigcontext.h>.
31220 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
31221 <bits/sigcontext.h>.
31222 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
31223 <bits/sigcontext.h>.
31224 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
31225 <bits/sigcontext.h>.
31226 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
31227 <bits/sigcontext.h>.
31228 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
31229 <bits/sigcontext.h>.
31230 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
31231 <bits/sigcontext.h>.
31232 (__ctx): Define earlier.
31233 (mcontext_t): Define structure contents rather than using struct
31234 sigcontext.
31235 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
31236 <bits/sigcontext.h>. Include <bits/types.h>.
31237 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
31238 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
31239 (test-xfail-XPG42/ucontext.h/conform): Likewise.
31240 (test-xfail-UNIX98/signal.h/conform): Likewise.
31241 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
31242 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
31243 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31244 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31245 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31246 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31247 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31248 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31249 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31250
5898f454
FW
312512017-08-30 Florian Weimer <fweimer@redhat.com>
31252
31253 * malloc/dynarray_emplace_enlarge.c
31254 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
31255 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
31256 * malloc/tst-dynarray.c (test_long_overflow): New function.
31257 (do_test): Call it.
31258
a9da0bb2
FW
312592017-08-30 Florian Weimer <fweimer@redhat.com>
31260
31261 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
31262 (set_arena_corrupt): Remove definitions.
31263 (mtrim): Do not check for corrupt arena.
31264 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
31265 Likewise.
31266
ac3ed168
FW
312672017-08-30 Florian Weimer <fweimer@redhat.com>
31268
31269 [BZ #21754]
31270 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
31271 check_action.
31272 (ptmalloc_init): Do not set or use check_action.
31273 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
31274 call to malloc_printerr. Remove return statement.
31275 (free_check): Likewise. Remove arena unlock.
31276 (top_check): Update comment. Adjust call to malloc_printerr.
31277 Remove heap repair code.
31278 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
31279 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
31280 (sysmalloc): Adjust call to malloc_printerr.
31281 (munmap_chunk, __libc_realloc): Likewise. Remove return
31282 statement.
31283 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
31284 Remove errout label and corresponding gotos.
31285 (_int_free): Likewise. Remove arena unlock.
31286 (do_set_mallopt_check): Do not set check_action.
31287 (malloc_printerr): Adjust parameter list. Do not mark arena as
31288 corrupt.
31289 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
31290 comment.
31291 * manual/probes.texi (Memory Allocation Probes): Remove
31292 memory_mallopt_check_action.
31293
44bcba80
SE
312942017-08-30 Steve Ellcey <sellcey@cavium.com>
31295
31296 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
31297 Use pointer to uint64_t instead of long int for sp.
31298
ec2c1fce
FW
312992017-08-30 Florian Weimer <fweimer@redhat.com>
31300
31301 [BZ #21754]
31302 * malloc/malloc.c (malloc_printerr): Always terminate the process,
31303 without printing a backtrace. Do not leak any information in the
31304 error message.
31305 * manual/memory.texi (Heap Consistency Checking): Update.
31306 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
31307
9ce673b6
FW
313082017-08-30 Florian Weimer <fweimer@redhat.com>
31309
31310 Do not scale NPTL tests with available number of CPUs.
31311 * nptl/tst-cond16.c (count): Set to constant value of 8.
31312 * nptl/tst-cond18.c (count): Likewise.
31313
2f1aef19
JM
313142017-08-29 Joseph Myers <joseph@codesourcery.com>
31315
31316 [BZ #22035]
31317 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
31318 Define to take a second argument that is a macro that
31319 concatentates a suffix, not the suffix itself.
31320 (__CONCAT_d): New macro.
31321 (__CONCAT_f): Likewise.
31322 (__CONCAT_l): Likewise.
31323
8325b477
PP
313242017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
31325
31326 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
31327 by child.
31328
319cbbf6
AZ
313292017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31330 Aurelien Jarno <aurelien@aurel32.net>
31331 Maciej W. Rozycki <macro@imgtec.com>
31332
31333 [BZ #21956]
31334 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
31335 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
31336 `mips16-syscall6' and `mips16-syscall7'.
31337 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
31338 (CFLAGS-mips16-syscall7.c): Remove.
31339 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
31340 Remove `__mips16_syscall5', `__mips16_syscall6' and
31341 `__mips16_syscall7'.
31342 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
31343 (__mips16_syscall0): Rename `__mips16_syscall_return' to
31344 `__mips_syscall_return'.
31345 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
31346 (__mips16_syscall1): Likewise.
31347 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
31348 (__mips16_syscall2): Likewise.
31349 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
31350 (__mips16_syscall3): Likewise.
31351 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
31352 (__mips16_syscall4): Likewise.
31353 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
31354 Remove.
31355 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
31356 Remove.
31357 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
31358 Remove.
31359 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
31360 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
31361 `__mips16_syscall5'. Remove prototype.
31362 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
31363 `__mips16_syscall6'. Remove prototype.
31364 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
31365 `__mips16_syscall7'. Remove prototype.
31366 (__nomips16, __mips16_syscall_return): Move to...
31367 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
31368 (__nomips16, __mips_syscall_return): ... here.
31369 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
31370 `__mips16_syscall_return' to `__mips_syscall_return'.
31371 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
31372 `internal_syscall##nr'.
31373 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
31374 `internal_syscall##nr'.
31375 (FORCE_FRAME_POINTER): Remove.
31376 (__mips_syscall5): New prototype.
31377 (internal_syscall5): Rewrite to call `__mips_syscall5'.
31378 (__mips_syscall6): New prototype.
31379 (internal_syscall6): Rewrite to call `__mips_syscall6'.
31380 (__mips_syscall7): New prototype.
31381 (internal_syscall7): Rewrite to call `__mips_syscall7'.
31382 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
31383 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
31384 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
31385 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
31386 (sysdep_routines): Add libc-do-syscall.
31387 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
31388 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
31389
01b87c65
AZ
313902017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31391
31392 [BZ #21672]
31393 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
31394 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
31395 (advise_stack_range): New function.
31396 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
31397 stack non required to advise_stack_range at allocatestack.c
31398
16f138a4
SN
313992017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
31400
31401 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
31402
251bccfa
FW
314032017-08-29 Florian Weimer <fweimer@redhat.com>
31404
31405 [BZ #22026]
31406 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
31407 __end_fct. Mangle __end_fct after setting it to NULL.
31408 * iconv/Makefile (tests): Add tst-gconv-init-failure.
31409 (modules-names, modules-names-tests): Add
31410 tst-gconv-init-failure-mod.
31411 (gconv-modules): New target.
31412 (tst-gconv-init-failure-mod.so): Link against libsupport.
31413 (tst-gconv-init-failure): Depend on gconv-modules,
31414 tst-gconv-init-failure-mod.so.
31415 * iconv/tst-gconv-init-failure-mod.c: New file.
31416 * iconv/tst-gconv-init-failure.c: Likewise.
31417 * iconv/test-gconv-modules: Likewise.
31418
e7c18b9d
FW
314192017-08-29 Florian Weimer <fweimer@redhat.com>
31420
31421 [BZ #22025]
31422 * iconv/gconv_db.c (free_derivation): Remove redundant
31423 parentheses.
31424 (gen_steps): Unconditionally mangle __btowc_fct after
31425 initialization.
31426 (increment_counter): Likewise. Do not call init_fct for internal
31427 modules.
31428
7daada03
JM
314292017-08-29 Joseph Myers <joseph@codesourcery.com>
31430
31431 [BZ #22028]
31432 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31433 (_MSUF_): Remove macro.
31434 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
31435 Likewise.
31436 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
31437 (__REDIRFROM_X): New macro.
31438 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
31439 Likewise.
31440 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
31441 (__REDIRTO_X): Likewise.
31442 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
31443 arguments.
31444 (__MATH_REDIRCALL_2): Likewise.
31445 (__MATH_REDIRCALL_INTERNAL): Likewise.
31446 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31447 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
31448 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
31449 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31450 * math/test-finite-macros.c: New file.
31451 * math/Makefile (tests): Add test-finite-macros.
31452 (CFLAGS-test-finite-macros.c): New variable.
31453
1cf1232c
PF
314542017-08-29 Patsy Franklin <pfrankli@redhat.com>
31455 Jeff Law <law@redhat.com>
31456
31457 [BZ #22025]
31458 Mangle NULL pointers in iconv/gconv.
31459 * iconv/gconv_cache.c (find_module): Demangle init_fct before
31460 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
31461 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
31462 is non-NULL before demangling the end_fct. Check for NULL
31463 end_fct after demangling.
31464 (__gconv_release_step): Demangle the end_fct before checking
31465 it for NULL. Remove assert on __shlibc_handle != NULL.
31466 (gen_steps): Don't check btowc_fct for NULL before mangling.
31467 Demangle init_fct before checking for NULL.
31468 (increment_counter): Likewise.
31469 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
31470 end_fct for NULL before mangling.
31471 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
31472 for NULL.
31473
c207f7ce 314742017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
31475
31476 [BZ #21971]
31477 * locale/iso-639.def: add Morisyen.
31478
42496114
GG
314792017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31480
31481 [BZ #21930]
31482 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
31483 (iszero): New C++ implementation that does not use
31484 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
31485 signaling nans are enabled, since __builtin_types_compatible_p
31486 is a C-only feature.
31487 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
31488 defined, include ieee754_float128.h for access to the union and
31489 member ieee854_float128.ieee.
31490 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
31491 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
31492 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
31493 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
31494 options of test-math-zero on powerpc64le.
31495
5e2bc4ff
L
314962017-08-28 H.J. Lu <hongjiu.lu@intel.com>
31497
31498 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
31499 Change double to float.
31500
a48c0fb4
JM
315012017-08-28 Joseph Myers <joseph@codesourcery.com>
31502
31503 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
31504 unconditional.
31505 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
31506 conditional code; define contents only for [LIBM_SVID_COMPAT].
31507
ee17d4e9
FW
315082017-08-28 Florian Weimer <fweimer@redhat.com>
31509
31510 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
31511 (abi-lp64_be-options): Remove.
31512 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
31513 (abi-hard-options): Likewise.
31514 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
31515 (abi-o32_hard-options, abi-o32_soft_2008-options)
31516 (abi-o32_hard_2008-options, abi-n32_soft-options)
31517 (abi-n32_hard-options, abi-n32_soft_2008-options)
31518 (abi-n32_hard_2008-options, abi-n64_soft-options)
31519 (abi-n64_hard-options, abi-n64_soft_2008-options)
31520 (abi-n64_hard_2008-options): Likewise.
31521 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
31522 (abi-64-v1-options, abi-64-v2-options): Likewise.
31523 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
31524 (abi-64-options): Likewise.
31525 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
31526 (abi-64-options): Likewise.
31527 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
31528 (abi-64-options): Likewise.
31529 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
31530 (abi-64-options, abi-x32-options): Likewise.
31531
2dba5ce7
FW
315322017-08-28 Florian Weimer <fweimer@redhat.com>
31533
31534 Store supported list of SYS_* system calls in the source tree.
31535 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
31536 (bits/syscall.h): Generate from list file.
31537 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
31538 [$(subdir) = misc] (tests): Add tst-syscall-list.
31539 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
31540 [$(subdir) = misc] (tst-syscall-list-macros.list)
31541 [$(subdir) = misc] (tst-syscall-list-nr.list)
31542 (tst-syscall-list-sys.list): Helper targets for new
31543 tst-syscall-list test.
31544 [$(subdir) = misc] (tst-syscall-list.out): Run test script
31545 tst-syscall-list.sh.
31546 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
31547 target. Do not include bits/syscall.d.
31548 [$(subdir) = misc] (generated): Do not update.
31549 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
31550 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
31551 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
31552 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
31553
5f3b183d
PP
315542017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
31555
31556 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
31557 (tst-cxa_atexit, tst-on_exit): Likewise.
31558 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
31559 tst-cxa_atexit, and tst-on_exit.
31560 * stdlib/tst-atexit-common.c: New file.
31561 * stdlib/tst-atexit.c: New file.
31562 * stdlib/tst-at_quick_exit.c: New file.
31563 * stdlib/tst-cxa_atexit.c: New file.
31564 * stdlib/tst-on_exit.c: New file.
31565
2ef8d469
ST
315662017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31567
31568 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
31569 * mach/stack_chk_fail_local.c: New file.
31570 * hurd/stack_chk_fail_local.c: New file.
31571 * mach/Machrules ($(interface-library)-routines): Add
31572 stack_chk_fail_local.
99ee4d26
ST
31573 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
31574 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
31575 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
31576 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
31577 * hurd/Makefile (CFLAGS-hurdstartup.o,
31578 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 31579
7ab70c98
L
315802017-08-25 H.J. Lu <hongjiu.lu@intel.com>
31581
31582 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31583 (index_cpu_*, index_arch_*): Removed.
31584
39e7a5a6
SN
315852017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
31586
31587 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
31588 Use uint64_t instead of unsigned long.
31589
bba5c930
JM
315902017-08-25 Joseph Myers <joseph@codesourcery.com>
31591
a6ccdb08
JM
31592 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
31593 [__HAVE_DISTINCT_FLOAT128].
31594
23761119
JM
31595 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
31596 of <bits/math-finite.h>.
31597 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
31598 inclusion of <bits/math-finite.h>.
31599 * math/bits/math-finite.h (__REDIRTO_X): Do not define
31600 conditionally on [__MATH_DECLARING_LDOUBLE && defined
31601 __NO_LONG_DOUBLE_MATH].
31602 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
31603 (__MATH_REDIRCALL_2): Likewise.
31604 (__MATH_REDIRCALL_INTERNAL): Likewise.
31605 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
31606 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
31607 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
31608
bba5c930
JM
31609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
31610 Remove file.
31611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
31612 Likewise.
31613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
31614 Likewise.
31615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
31616 Likewise.
31617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
31618 Likewise.
31619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
31620 Likewise.
31621 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
31622 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
31623 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
31624 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
31625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
31626 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
31627 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
31628 w_sqrtf_compat-ppc32.
31629
3d7b66f6
GG
316302017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31631
31632 * math/math.h [defined __cplusplus] (issignaling): In the long
31633 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
31634 is not defined. Call __issignaling, otherwise.
31635
ebd6f007
AZ
316362017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31637
31638 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
31639 syscall definitions and replace __builtin_expect with __glibc_likely.
31640 * sysdeps/unix/syscall-template.S: Update comment about cancellable
31641 syscall.
6b5c8607 31642 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
31643 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
31644 definition.
31645 (PSEUDO_END): Likewise.
31646 [IS_IN (libpthread)] (CENABLE): Likewise.
31647 [IS_IN (libpthread)] (CDISABLE): Likewise.
31648 [IS_IN (libc)] (CENABLE): Likewise.
31649 [IS_IN (libc)] (CENABLE): Likewise.
31650 [IS_IN (librt)] (CDISABLE): Likewise.
31651 [IS_IN (librt)] (CDISABLE): Likewise.
31652 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31653 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
31654 definition.
31655 (PSEUDO_END): Likewise.
31656 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
31657 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
31658 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31659 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
31660 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31661 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
31662 (CENABLE): Likewise.
31663 (CDISABLE): Likewise.
31664 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31665 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
31666 defintion.
31667 (PSEUDO_END): Likewise.
31668 [IS_IN (libpthread)] (CENABLE): Likewise.
31669 [IS_IN (libpthread)] (CDISABLE): Likewise.
31670 [IS_IN (libc)] (CENABLE): Likewise.
31671 [IS_IN (libc)] (CENABLE): Likewise.
31672 [IS_IN (librt)] (CDISABLE): Likewise.
31673 [IS_IN (librt)] (CDISABLE): Likewise.
31674 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31675 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
31676 definition.
31677 (PSEUDO_END): Likewise.
31678 [IS_IN (libpthread)] (CENABLE): Likewise.
31679 [IS_IN (libpthread)] (CDISABLE): Likewise.
31680 [IS_IN (libc)] (CENABLE): Likewise.
31681 [IS_IN (libc)] (CENABLE): Likewise.
31682 [IS_IN (librt)] (CDISABLE): Likewise.
31683 [IS_IN (librt)] (CDISABLE): Likewise.
31684 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31685 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
31686 definition.
31687 (PSEUDO_END): Likewise.
31688 [IS_IN (libpthread)] (CENABLE): Likewise.
31689 [IS_IN (libpthread)] (CDISABLE): Likewise.
31690 [IS_IN (libc)] (CENABLE): Likewise.
31691 [IS_IN (libc)] (CENABLE): Likewise.
31692 [IS_IN (librt)] (CDISABLE): Likewise.
31693 [IS_IN (librt)] (CDISABLE): Likewise.
31694 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31695 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
31696 definition.
31697 (PSEUDO_END): Likewise.
31698 [IS_IN (libpthread)] (CENABLE): Likewise.
31699 [IS_IN (libpthread)] (CDISABLE): Likewise.
31700 [IS_IN (libc)] (CENABLE): Likewise.
31701 [IS_IN (libc)] (CENABLE): Likewise.
31702 [IS_IN (librt)] (CDISABLE): Likewise.
31703 [IS_IN (librt)] (CDISABLE): Likewise.
31704 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31705 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
31706 definition.
31707 (PSEUDO_END): Likewise.
31708 [IS_IN (libpthread)] (CENABLE): Likewise.
31709 [IS_IN (libpthread)] (CDISABLE): Likewise.
31710 [IS_IN (libc)] (CENABLE): Likewise.
31711 [IS_IN (libc)] (CENABLE): Likewise.
31712 [IS_IN (librt)] (CDISABLE): Likewise.
31713 [IS_IN (librt)] (CDISABLE): Likewise.
31714 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31715 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
31716 definition.
31717 (PSEUDO_END): Likewise.
31718 [IS_IN (libpthread)] (CENABLE): Likewise.
31719 [IS_IN (libpthread)] (CDISABLE): Likewise.
31720 [IS_IN (libc)] (CENABLE): Likewise.
31721 [IS_IN (libc)] (CENABLE): Likewise.
31722 [IS_IN (librt)] (CDISABLE): Likewise.
31723 [IS_IN (librt)] (CDISABLE): Likewise.
31724 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31725 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
31726 Remove definition.
31727 (PSEUDO_END): Likewise.
31728 [IS_IN (libpthread)] (CENABLE): Likewise.
31729 [IS_IN (libpthread)] (CDISABLE): Likewise.
31730 [IS_IN (libc)] (CENABLE): Likewise.
31731 [IS_IN (libc)] (CENABLE): Likewise.
31732 [IS_IN (librt)] (CDISABLE): Likewise.
31733 [IS_IN (librt)] (CDISABLE): Likewise.
31734 (SINGLE_THREAD_P): Likewise.
31735 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
31736 definition.
31737 (PSEUDO_END): Likewise.
31738 [IS_IN (libpthread)] (CENABLE): Likewise.
31739 [IS_IN (libpthread)] (CDISABLE): Likewise.
31740 [IS_IN (libc)] (CENABLE): Likewise.
31741 [IS_IN (libc)] (CENABLE): Likewise.
31742 [IS_IN (librt)] (CDISABLE): Likewise.
31743 [IS_IN (librt)] (CDISABLE): Likewise.
31744 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31745 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
31746 definition.
31747 (PSEUDO_END): Likewise.
31748 [IS_IN (libpthread)] (CENABLE): Likewise.
31749 [IS_IN (libpthread)] (CDISABLE): Likewise.
31750 [IS_IN (libc)] (CENABLE): Likewise.
31751 [IS_IN (libc)] (CENABLE): Likewise.
31752 [IS_IN (librt)] (CDISABLE): Likewise.
31753 [IS_IN (librt)] (CDISABLE): Likewise.
31754 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31755 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
31756 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
31757 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
31758 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
31759 definition.
31760 (PSEUDO_END): Likewise.
31761 [IS_IN (libpthread)] (CENABLE): Likewise.
31762 [IS_IN (libpthread)] (CDISABLE): Likewise.
31763 [IS_IN (libc)] (CENABLE): Likewise.
31764 [IS_IN (libc)] (CENABLE): Likewise.
31765 [IS_IN (librt)] (CDISABLE): Likewise.
31766 [IS_IN (librt)] (CDISABLE): Likewise.
31767 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
31769 definition.
31770 (PSEUDO_END): Likewise.
31771 [IS_IN (libpthread)] (CENABLE): Likewise.
31772 [IS_IN (libpthread)] (CDISABLE): Likewise.
31773 [IS_IN (libc)] (CENABLE): Likewise.
31774 [IS_IN (libc)] (CENABLE): Likewise.
31775 [IS_IN (librt)] (CDISABLE): Likewise.
31776 [IS_IN (librt)] (CDISABLE): Likewise.
31777 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31778 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
31779 definition.
31780 (PSEUDO_END): Likewise.
31781 [IS_IN (libpthread)] (CENABLE): Likewise.
31782 [IS_IN (libpthread)] (CDISABLE): Likewise.
31783 [IS_IN (libc)] (CENABLE): Likewise.
31784 [IS_IN (libc)] (CENABLE): Likewise.
31785 [IS_IN (librt)] (CDISABLE): Likewise.
31786 [IS_IN (librt)] (CDISABLE): Likewise.
31787 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31788 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
31789 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
31790 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
31791 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
31792 definition.
31793 (PSEUDO_END): Likewise.
31794 [IS_IN (libpthread)] (CENABLE): Likewise.
31795 [IS_IN (libpthread)] (CDISABLE): Likewise.
31796 [IS_IN (libc)] (CENABLE): Likewise.
31797 [IS_IN (libc)] (CENABLE): Likewise.
31798 [IS_IN (librt)] (CDISABLE): Likewise.
31799 [IS_IN (librt)] (CDISABLE): Likewise.
31800 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31801 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
31802 definition.
31803 (PSEUDO_END): Likewise.
31804 [IS_IN (libpthread)] (CENABLE): Likewise.
31805 [IS_IN (libpthread)] (CDISABLE): Likewise.
31806 [IS_IN (libc)] (CENABLE): Likewise.
31807 [IS_IN (libc)] (CENABLE): Likewise.
31808 [IS_IN (librt)] (CDISABLE): Likewise.
31809 [IS_IN (librt)] (CDISABLE): Likewise.
31810 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
31811
8aa48656
SN
318122017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
31813
31814 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
31815
fcaaca41
L
318162017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31817
31818 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31819
376b40a2
L
318202017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31821
31822 [BZ #21982]
31823 * string/stratcliff.c (do_test): Declare size, nchars, inner,
31824 middle and outer with size_t instead of int. Repleace %d and
31825 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
31826 "MAX (outer, nchars - 64)" to support unsigned outer and
31827 nchars. Also exit loop when outer == 0.
31828
2b0b9a1c
AZ
318292017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31830
31831 * include/fcntl.h (__fcntl_nocancel): Remove definition.
31832 * include/signal.h (__sigsuspend_nocancel): Likewise.
31833 * include/time.h (__nanosleep_nocancel): Likewise.
31834 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
31835 * login/utmp_file.c: Include non cancellable syscall header.
31836 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
31837 prototype.
31838
b9eaca8f
L
318392017-08-23 H.J. Lu <hongjiu.lu@intel.com>
31840
31841 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
31842 .byte sequences with AVX512F instructions.
31843 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
31844 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
31845 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31846 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
31847 Likewise.
31848 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
31849 Likewise.
31850
5a706f64
SE
318512017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
31852 Steve Ellcey <sellcey@cavium.com>
31853
31854 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
31855 Use PTR_REG macro in cmp instruction.
31856
b513da7e
GG
318572017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31858
31859 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
31860 Change the return type of the ifunc resolver to match the return
31861 type of the target function.
31862
78ca091c
AZ
318632017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31864
b70b6026
AZ
31865 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
31866 (preadv64): Likewise.
31867 (pwrite64(: Likewise.
31868 (pwritev64): Likewise.
31869
78ca091c
AZ
31870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31871 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
31872 (LOAD_ARGS_0): Likewise.
31873 (LOAD_ARGS_1): Likewise.
31874 (LOAD_ARGS_2): Likewise.
31875 (LOAD_ARGS_3): Likewise.
31876 (LOAD_ARGS_4): Likewise.
31877 (LOAD_ARGS_5): Likewise.
31878 (LOAD_ARGS_6): Likewise.
31879 (LOAD_REGS_0): Likewise.
31880 (LOAD_REGS_1): Likewise.
31881 (LOAD_REGS_2): Likewise.
31882 (LOAD_REGS_3): Likewise.
31883 (LOAD_REGS_4): Likewise.
31884 (LOAD_REGS_5): Likewise.
31885 (LOAD_REGS_6): Likewise.
31886 (ASM_ARGS_0): Likewise.
31887 (ASM_ARGS_1): Likewise.
31888 (ASM_ARGS_2): Likewise.
31889 (ASM_ARGS_3): Likewise.
31890 (ASM_ARGS_4): Likewise.
31891 (ASM_ARGS_5): Likewise.
31892 (ASM_ARGS_6): Likewise.
31893 (LOAD_ARGS_TYPES_1): Likewise.
31894 (LOAD_ARGS_TYPES_2): Likewise.
31895 (LOAD_ARGS_TYPES_3): Likewise.
31896 (LOAD_ARGS_TYPES_4): Likewise.
31897 (LOAD_ARGS_TYPES_5): Likewise.
31898 (LOAD_ARGS_TYPES_6): Likewise.
31899 (LOAD_REGS_TYPES_1): Likewise.
31900 (LOAD_REGS_TYPES_2): Likewise.
31901 (LOAD_REGS_TYPES_3): Likewise.
31902 (LOAD_REGS_TYPES_4): Likewise.
31903 (LOAD_REGS_TYPES_5): Likewise.
31904 (LOAD_REGS_TYPES_6): Likewise.
31905 (TYPEFY): New define.
31906 (ARGIFY): Likewise.
31907 (internal_syscall0): Likewise.
31908 (internal_syscall1): Likewise.
31909 (internal_syscall2): Likewise.
31910 (internal_syscall3): Likewise.
31911 (internal_syscall4): Likewise.
31912 (internal_syscall5): Likewise.
31913 (internal_syscall6): Likewise.
31914 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
31915 (INTERNAL_SYSCALL_NCS): Remove define.
31916 (internal_syscall1): Add define.
31917
453a493d
GG
319182017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31919
31920 * math/w_remainder_compat.c: Remove duplicate inclusion of
31921 math-svid-compat.h.
31922 * math/w_remainderf_compat.c: Likewise.
31923 * math/w_remainderl_compat.c: Likewise.
31924
f2f048a5
GG
319252017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31926
31927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31928
d9bef9c0
JM
319292017-08-22 Joseph Myers <joseph@codesourcery.com>
31930
31931 [BZ #21684]
31932 * math/tgmath.h (__floating_type): Simplify definitions.
31933 (__real_integer_type): New macro.
31934 (__complex_integer_type): Likewise.
31935 (__expr_is_real): Likewise.
31936 (__tgmath_real_type_sub): Update comment to describe handling of
31937 complex types.
31938 (__tgmath_complex_type_sub): New macro.
31939 (__tgmath_complex_type): Likewise.
31940 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31941 (__TGMATH_CF128): Use __expr_is_real.
31942 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
31943 __expr_is_real.
31944 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31945 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
31946 * math/gen-tgmath-tests.py (Type.create_type): Create complex
31947 integer types.
31948
08d6eb46
AZ
319492017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31950
988f991b
AZ
31951 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
31952 macro.
31953 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
31954 alias.
31955 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
31956 Likewise.
31957
6f33fd04
AZ
31958 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
31959 nanosleep_not_cancel with __nanosleep_nocancel.
31960 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
31961 (__nanosleep_nocancel): New macro.
31962 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
31963 function.
31964 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
31965 macro.
31966 (__nanosleep_nocancel): New prototype.
31967
08d6eb46
AZ
31968 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
31969 pause_not_cancel with __pause_nocancel.
31970 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
31971 (__pause_nocancel): New macro.
31972 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
31973 macro.
31974 (__pause_nocancel): New prototype.
31975 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
31976
ee4e992e
MS
319772017-08-22 Martin Sebor <msebor@redhat.com>
31978
31979 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
31980 to return a pointer to the same type as the target function.
31981
20962acb
L
319822017-08-22 H.J. Lu <hongjiu.lu@intel.com>
31983
31984 [BZ #18822]
31985 [BZ #21986]
31986 * include/printf.h (__printf_fphex): Add attribute_hidden.
31987 (__guess_grouping): New prototype.
31988 * stdio-common/printf_fp.c (__guess_grouping): Removed.
31989 * stdio-common/reg-printf.c (__register_printf_specifier): Add
31990 libc_hidden_proto and libc_hidden_def.
31991 * stdlib/strfmon_l.c (__guess_grouping): Removed.
31992 (__vstrfmon_l): Remove the third argument passed to
31993 __guess_grouping.
31994
a16e8bc0
GG
319952017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
31996
31997 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
31998 definition for issignaling that does not rely on __MATH_TG,
31999 since __MATH_TG uses __builtin_types_compatible_p, which is only
32000 available in C mode.
32001 (CFLAGS-test-math-issignaling.cc): New variable.
32002 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32003 * math/test-math-issignaling.cc: New test for C++ implementation
32004 of type-generic issignaling.
32005 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32006 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32007 options of test-math-issignaling on powerpc64le.
32008
8d2ec553
L
320092017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32010
32011 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32012 building libc.a.
32013 (hidden_proto): Likewise.
32014 (hidden_tls_proto): Likewise.
32015 (__hidden_proto): Likewise.
32016
a4d57b79
FW
320172017-08-22 Florian Weimer <fweimer@redhat.com>
32018
32019 math: Statically link tests of internal functionality.
32020 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32021 atest-exp2.
32022 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32023 (gmp-objs): Remove assignment.
32024 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32025
75dfe623
JM
320262017-08-22 Joseph Myers <joseph@codesourcery.com>
32027
80f91666
JM
32028 [BZ #21987]
32029 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32030 and copy to ...
32031 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32032 ... here.
32033 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32034 ... and here.
32035
75dfe623
JM
32036 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32037 variable definitions above inclusion of ../Rules.
32038
ea99fcd0
JM
320392017-08-21 Joseph Myers <joseph@codesourcery.com>
32040
32041 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32042 case calling __builtin_unreachable.
32043
19926de9
AZ
320442017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32045
a8410a5f
AZ
32046 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32047 __waitpid_nocancel.
32048 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32049 (__waitpid_nocancel): New macro.
32050 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32051 macro.
32052 (__waitpid_nocancel): Replace macro with a function.
32053 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32054 function.
32055
7369800c
AZ
32056 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32057 __fcntl_nocancel.
32058 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32059 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32060
19926de9
AZ
32061 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32062 __writev_nocancel_nostatus.
32063 (write_call_graph): Likewise.
32064 (write_bb_counts): Likewise.
32065 * resolv/herror.c (herror): Likewise.
32066 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32067 macro.
32068 (__writev_nocancel_nostatus): New macro.
32069 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32070 Remove macro.
32071 (__writev_nocancel_nostatus): New function.
32072
813378e9
JM
320732017-08-21 Joseph Myers <joseph@codesourcery.com>
32074
df1deda6
JM
32075 Revert:
32076 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32077
32078 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32079 building libc.a.
32080 (hidden_proto): Likewise.
32081 (hidden_tls_proto): Likewise.
32082 (__hidden_proto): Likewise.
32083
831bbd55
JM
32084 [BZ #21973]
32085 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32086 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32088 Likewise.
32089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32090 Likewise.
32091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32092 Likewise.
32093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32094 Likewise.
32095 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32096 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32097 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32098 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32099 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32100 GLIBC_2.0 sqrtl symbol.
32101
813378e9
JM
32102 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32103 [__USE_MISC] (_LIB_VERSION): Likewise.
32104 [__USE_MISC] (struct exception): Likewise.
32105 [__USE_MISC] (matherr): Likewise.
32106 [__USE_MISC] (DOMAIN): Likewise.
32107 [__USE_MISC] (SING): Likewise.
32108 [__USE_MISC] (OVERFLOW): Likewise.
32109 [__USE_MISC] (UNDERFLOW): Likewise.
32110 [__USE_MISC] (TLOSS): Likewise.
32111 [__USE_MISC] (PLOSS): Likewise.
32112 [__USE_MISC] (HUGE): Likewise.
32113 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32114 * math/math-svid-compat.h: New file.
32115 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32116 and matherrl.
32117 * include/math.h [!_ISOMAC] (__matherr): Remove.
32118 * manual/arith.texi (FP Exceptions): Do not document matherr.
32119 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32120 (tests-internal): New variable.
32121 (install-lib): Do not add libieee.a.
32122 (non-lib.a): Likewise.
32123 (extra-objs): Do not add libieee.a and ieee-math.o.
32124 (CPPFLAGS-s_lib_version.c): Remove variable.
32125 ($(objpfx)libieee.a): Remove rule.
32126 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32127 * math/ieee-math.c: Remove.
32128 * math/libm-test-support.c (matherr): Remove.
32129 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32130 and license notices. Include <math-svid-compat.h> and
32131 <shlib-compat.h>.
32132 (matherr): Undefine as macro. Use compat_symbol_reference.
32133 (_LIB_VERSION): Likewise.
32134 * math/test-matherr-2.c: New file.
32135 * math/test-matherr-3.c: Likewise.
32136 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32137 declaration.
32138 (__kernel_standard_f): Likewise.
32139 (__kernel_standard_l): Likewise.
32140 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32141 <math_private.h>. Include <math-svid-compat.h>.
32142 (_LIB_VERSION): Undefine as macro.
32143 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32144 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32145 [LIBM_SVID_COMPAT], use compat_symbol.
32146 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32147 <math_private.h>. Include <math-svid-compat.h>.
32148 (matherr): Undefine as macro.
32149 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32150 compat_symbol.
32151 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32152 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32153 compat_symbol_reference.
32154 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32155 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32156 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32157 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32158 (MATHERR_D): Remove declaration.
32159 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32160 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32161 [LIBM_BUILD] (pmatherrf): Likewise.
32162 [LIBM_BUILD] (pmatherr): Likewise.
32163 [LIBM_BUILD] (pmatherrl): Likewise.
32164 (DOMAIN): Likewise.
32165 (SING): Likewise.
32166 (OVERFLOW): Likewise.
32167 (UNDERFLOW): Likewise.
32168 (TLOSS): Likewise.
32169 (PLOSS): Likewise.
32170 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32171 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32172 compat_symbol.
32173 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32174 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32175 compat_symbol.
32176 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32177 * math/w_acos_compat.c: Likewise.
32178 * math/w_acosf_compat.c: Likewise.
32179 * math/w_acosh_compat.c: Likewise.
32180 * math/w_acoshf_compat.c: Likewise.
32181 * math/w_acoshl_compat.c: Likewise.
32182 * math/w_acosl_compat.c: Likewise.
32183 * math/w_asin_compat.c: Likewise.
32184 * math/w_asinf_compat.c: Likewise.
32185 * math/w_asinl_compat.c: Likewise.
32186 * math/w_atan2_compat.c: Likewise.
32187 * math/w_atan2f_compat.c: Likewise.
32188 * math/w_atan2l_compat.c: Likewise.
32189 * math/w_atanh_compat.c: Likewise.
32190 * math/w_atanhf_compat.c: Likewise.
32191 * math/w_atanhl_compat.c: Likewise.
32192 * math/w_cosh_compat.c: Likewise.
32193 * math/w_coshf_compat.c: Likewise.
32194 * math/w_coshl_compat.c: Likewise.
32195 * math/w_exp10_compat.c: Likewise.
32196 * math/w_exp10f_compat.c: Likewise.
32197 * math/w_exp10l_compat.c: Likewise.
32198 * math/w_exp2_compat.c: Likewise.
32199 * math/w_exp2f_compat.c: Likewise.
32200 * math/w_exp2l_compat.c: Likewise.
32201 * math/w_fmod_compat.c: Likewise.
32202 * math/w_fmodf_compat.c: Likewise.
32203 * math/w_fmodl_compat.c: Likewise.
32204 * math/w_hypot_compat.c: Likewise.
32205 * math/w_hypotf_compat.c: Likewise.
32206 * math/w_hypotl_compat.c: Likewise.
32207 * math/w_j0_compat.c: Likewise.
32208 * math/w_j0f_compat.c: Likewise.
32209 * math/w_j0l_compat.c: Likewise.
32210 * math/w_j1_compat.c: Likewise.
32211 * math/w_j1f_compat.c: Likewise.
32212 * math/w_j1l_compat.c: Likewise.
32213 * math/w_jn_compat.c: Likewise.
32214 * math/w_jnf_compat.c: Likewise.
32215 * math/w_jnl_compat.c: Likewise.
32216 * math/w_lgamma_main.c: Likewise.
32217 * math/w_lgamma_r_compat.c: Likewise.
32218 * math/w_lgammaf_main.c: Likewise.
32219 * math/w_lgammaf_r_compat.c: Likewise.
32220 * math/w_lgammal_main.c: Likewise.
32221 * math/w_lgammal_r_compat.c: Likewise.
32222 * math/w_log10_compat.c: Likewise.
32223 * math/w_log10f_compat.c: Likewise.
32224 * math/w_log10l_compat.c: Likewise.
32225 * math/w_log2_compat.c: Likewise.
32226 * math/w_log2f_compat.c: Likewise.
32227 * math/w_log2l_compat.c: Likewise.
32228 * math/w_log_compat.c: Likewise.
32229 * math/w_logf_compat.c: Likewise.
32230 * math/w_logl_compat.c: Likewise.
32231 * math/w_pow_compat.c: Likewise.
32232 * math/w_powf_compat.c: Likewise.
32233 * math/w_powl_compat.c: Likewise.
32234 * math/w_remainder_compat.c: Likewise.
32235 * math/w_remainderf_compat.c: Likewise.
32236 * math/w_remainderl_compat.c: Likewise.
32237 * math/w_scalb_compat.c: Likewise.
32238 * math/w_scalbf_compat.c: Likewise.
32239 * math/w_scalbl_compat.c: Likewise.
32240 * math/w_sinh_compat.c: Likewise.
32241 * math/w_sinhf_compat.c: Likewise.
32242 * math/w_sinhl_compat.c: Likewise.
32243 * math/w_sqrt_compat.c: Likewise.
32244 * math/w_sqrtf_compat.c: Likewise.
32245 * math/w_sqrtl_compat.c: Likewise.
32246 * math/w_tgamma_compat.c: Likewise.
32247 * math/w_tgammaf_compat.c: Likewise.
32248 * math/w_tgammal_compat.c: Likewise.
32249 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
32250 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
32251 * sysdeps/ieee754/k_standard.c: Likewise.
32252 * sysdeps/ieee754/k_standardf.c: Likewise.
32253 * sysdeps/ieee754/k_standardl.c: Likewise.
32254 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
32255 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
32256 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
32257 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32258 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32259 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32260 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32261 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
32262 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32264 Likewise.
32265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32266 Likewise.
32267 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
32268 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32269 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32270 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32271
4504783c
FW
322722017-08-21 Florian Weimer <fweimer@redhat.com>
32273
32274 [BZ #21864]
32275 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
32276 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
32277 Move before inclusion of ../Rules.
32278
b5889d25
FW
322792017-08-21 Florian Weimer <fweimer@redhat.com>
32280
32281 [BZ #21972]
32282 * assert/assert.h (assert): Use static_cast (bool) for C++.
32283 Use the ternary operator in the warning branch for GNU C.
32284 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
32285 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
32286 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
32287 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
32288 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
32289
41e673c1
L
322902017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32291
32292 [BZ #18822]
32293 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32294 (__syscall_clock_gettime): Add attribute_hidden.
32295 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
32296 (__start_context): Likewise.
32297
568ff429
L
322982017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32299
32300 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32301 building libc.a.
32302 (hidden_proto): Likewise.
32303 (hidden_tls_proto): Likewise.
32304 (__hidden_proto): Likewise.
32305
7c41b4a1
L
323062017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32307
32308 * include/libc-symbols.h (attribute_hidden): Enable hidden
32309 visibility in libc.a compiled with PIE.
32310
483d7068
L
323112017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32312
32313 [BZ #18822]
32314 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
32315 Add attribute_hidden.
32316
323172017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32318
32319 [BZ #21864]
32320 * Makerules (all-nonlib): Add $(others-extras).
32321 * catgets/Makefile (others-extras): New.
32322 * elf/Makefile (others-extras): Likewise.
32323 * nss/Makefile (others-extras): Likewise.
32324
54e4b8f2
L
323252017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32326
32327 [BZ #18822]
32328 * csu/libc-start.c (__libc_multiple_libcs): Removed.
32329 * elf/dl-open.c: Include <libc-internal.h>.
32330 (__libc_multiple_libcs): Removed.
32331 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
32332 <hp-timing.h>.
32333 * include/libc-internal.h (__libc_multiple_libcs): New.
32334 * misc/sbrk.c: Include <libc-internal.h>.
32335 (__libc_multiple_libcs): Removed.
32336
1dbbb1ec
L
323372017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32338
32339 [BZ #18822]
32340 * grp/initgroups.c (__nss_group_database): Removed.
32341 (__nss_initgroups_database): Likewise.
32342 * nscd/gai.c (__nss_hosts_database): Likewise.
32343 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
32344 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
32345 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
32346 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
32347 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
32348 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
32349 attribute_hidden.
32350 * nss/nsswitch.c (__nss_database_custom): Define only if
32351 USE_NSCD is defined.
32352 (__nss_configure_lookup): Use __nss_database_custom only if
32353 USE_NSCD is defined.
32354 * nss/nsswitch.h (__nss_database_custom): Declare only if
32355 USE_NSCD is defined. Add attribute_hidden.
32356 (__nss_setent): Add attribute_hidden.
32357 (__nss_endent): Likewise.
32358 (__nss_getent_r): Likewise.
32359 (__nss_getent): Likewise.
32360 (DEFINE_DATABASE): Declare __nss_##arg##_database.
32361
2585d7b8
L
323622017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32363
32364 [BZ #18822]
32365 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
32366 libc_hidden_proto and libc_hidden_def.
32367
c8dfa99c
L
323682017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32369
32370 [BZ #18822]
32371 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
32372 Add libc_hidden_proto.
32373 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
32374 Add libc_hidden_def.
32375
7ed87317
L
323762017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32377
32378 [BZ #21974]
32379 * gmon/Makefile (routines): Remove bb_init_func and
32380 bb_exit_func.
32381 (elide-routines.os): Removed.
9476b904
L
32382 * gmon/bb_exit_func.c: Likewise.
32383 * gmon/bb_init_func.c: Likewise.
7ed87317
L
32384 * include/sys/gmon.h (__bb): Likewise.
32385 (__bb_init_func): Likewise.
32386 (__bb_exit_func): Likewise.
91695eb1 32387 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 32388
94e6ba15
L
323892017-08-20 H.J. Lu <hongjiu.lu@intel.com>
32390
32391 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
32392 * include/setjmp.h (____longjmp_chk): Here. Add
32393 attribute_hidden.
32394
7550717e
L
323952017-08-19 H.J. Lu <hongjiu.lu@intel.com>
32396
32397 [BZ #18822]
32398 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
32399 attribute_hidden.
32400 (__strspn_sse2): Likewise.
32401
0bb2fabc
AZ
324022017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32403
c181840c
AZ
32404 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
32405 (close_not_cancel_no_status): Likewise.
32406 (__close_nocancel): New macro.
32407 (__close_nocancel_nostatus): Likewise.
32408 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
32409 macro.
32410 (close_not_cancel): Likewise.
32411 (close_not_cancel_no_status): Likewise.
32412 (__close_nocancel): New prototype.
32413 (__close_nocancel_nostatus): New function.
32414 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
32415 * catgets/open_catalog.c (__open_catalog): Replace
32416 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
32417 * gmon/gmon.c (write_gmon): Likewise.
32418 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32419 * intl/loadmsgcat.c (close): Likewise.
32420 * io/ftw.c (open_dir_stream): Likewise.
32421 (ftw_startup): Likewise.
32422 * libio/fileops.c (_IO_file_open): Likewise.
32423 (_IO_file_close_mmap): Likewise.
32424 (_IO_file_close): Likewise.
32425 * libio/iopopen.c (_IO_dup2): Likewise.
32426 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32427 * locale/loadlocale.c (_nl_load_locale): Likewise.
32428 * login/utmp_file.c (pututline_file): Likewise.
32429 (endutent_file): Likewise.
32430 * misc/daemon.c (daemon): Likewise.
32431 * nscd/nscd_getai.c (__nscd_getai): Likewise.
32432 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32433 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32434 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32435 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32436 * nscd/nscd_helper.c (open_socket): Likewise.
32437 (__nscd_open_socket): Likewise.
32438 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32439 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
32440 (__nscd_innetgr): Likewise.
32441 * nss/nss_db/db-open.c (internal_setent): Likewise.
32442 * resolv/res-close.c (__res_iclose): Likewise.
32443 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
32444 * sysdeps/posix/closedir.c (__closedir): Likewise.
32445 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
32446 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32447 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32448 (opendir_tail): Likewise.
32449 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32450 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
32451 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32452 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32453 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32454 (gethostid): Likewise.
32455 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32456 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32457 Likewise.
32458 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32459 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
32460 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32461 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32462 Likewise.
32463 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
32464 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
32465 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32466 Likewise.
32467 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
32468 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32469 Likewise.
32470 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32471 Likewise.
32472 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32473 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32474 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32475 __close_nocancel.
32476
0bb2fabc
AZ
32477 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
32478 (openat_not_cancel_3): Likewise.
32479 (openat64_not_cancel_3): Likewise).
32480 (openat_not_cancel_3): Likewise).
32481 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
32482 macro.
32483 (openat_not_cancel_3): Likewise.
32484 (openat64_not_cancel): Likewise.
32485 (openat64_not_cancel_3): Likewise.
32486 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
32487 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
32488 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
32489 __open{64}_nocancel.
32490 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32491 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
32492 * sysdeps/posix/opendir.c (__opendirat): Likewise.
32493
65a086db
L
324942017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32495
32496 [BZ #18822]
32497 * include/argz.h (__argz_create_sep): New function prototype.
32498 (__argz_append): Likewise.
32499 (__argz_add): Likewise.
32500 (__argz_add_sep): Likewise.
32501 (__argz_delete): Likewise.
32502 (__argz_insert): Likewise.
32503 (__argz_replace): Likewise.
32504 * string/argz.h (__argz_create_sep): Removed.
32505 (__argz_append): Likewise.
32506 (__argz_add): Likewise.
32507 (__argz_add_sep): Likewise.
32508 (__argz_delete): Likewise.
32509 (__argz_insert): Likewise.
32510 (__argz_replace): Likewise.
32511
62753d2c
L
325122017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32513
32514 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
32515 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
32516 (GNU_PROPERTY_STACK_SIZE): Likewie.
32517 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
32518 (GNU_PROPERTY_LOPROC): Likewise.
32519 (GNU_PROPERTY_HIPROC): Likewise.
32520 (GNU_PROPERTY_LOUSER): Likewise.
32521 (GNU_PROPERTY_HIUSER): Likewise.
32522 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
32523 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
32524 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
32525 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
32526 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
32527 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
32528 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
32529 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
32530 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
32531 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
32532 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
32533 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
32534 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
32535 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
32536 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
32537 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
32538 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
32539 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
32540 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
32541 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
32542 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
32543 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
32544 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
32545
6913ad65
GG
325462017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32547
32548 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
32549 in C++ mode.
32550
47a67213
GG
325512017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32552
32553 [BZ #21930]
32554 * math/math.h (isinf): Check if in C or C++ mode before using
32555 __builtin_types_compatible_p, since this is a C mode feature.
32556
a748eb31
AZ
325572017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32558
c647fb88
AZ
32559 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
32560 (__write_nocancel): New macro.
32561 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
32562 Rewrite as a function prototype.
32563 (write_not_cancel): Remove macro.
32564 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
32565 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
32566 (write_gmon): Likewise.
32567 * libio/fileops.c (_IO_new_file_write): Likewise.
32568 * login/utmp_file.c (pututline_file): Likewise.
32569 (updwtmp_file): Likewise.
32570 * stdio-common/psiginfo.c (psiginfo): Likewise.
32571 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32572 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32573 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32574 Likewise.
32575 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32576 Likewise.
32577
a748eb31
AZ
32578 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
32579 (__read_nocancel): New macro.
32580 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32581 __read_nocancel.
32582 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
32583 macro.
32584 (__read_nocancel): New prototype.
32585 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
32586 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
32587 with __read_nocancel.
32588 * intl/loadmsgcat.c (read): Likewise.
32589 * libio/fileops.c (_IO_file_read): Likewise.
32590 * locale/loadlocale.c (_nl_load_locale): Likewise.
32591 * login/utmp_file.c (getutent_r_file): Likewise.
32592 (internal_getut_r): Likewise.
32593 (getutline_r_file): Likewise.
32594 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32595 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32596 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32597 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32598 Likewise.
32599 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
32600 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32601 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32602 Likewise.
32603 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32604 Likewise.
32605 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32606 Likewise.
32607 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32608 Likewise.
32609 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32610
098b9dd4
L
326112017-08-18 H.J. Lu <hongjiu.lu@intel.com>
32612
32613 [BZ #21966]
32614 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
32615 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
32616 usable.
32617
a3fe6a20
DD
326182017-08-17 DJ Delorie <dj@redhat.com>
32619
32620 * bug17079.c: Update to new test harness.
32621 * test-digits-dots.c: Likewise.
32622 * test-netdb.c: Likewise.
32623 * tst-field.c: Likewise.
32624 * tst-nss-getpwent.c: Likewise.
32625 * tst-nss-static.c: Likewise.
32626 * tst-nss-test1.c: Likewise.
32627 * tst-nss-test2.c: Likewise.
32628 * tst-nss-test3.c: Likewise.
32629 * tst-nss-test4.c: Likewise.
32630 * tst-nss-test5.c: Likewise.
32631
c2284574
AZ
326322017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32633
32634 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
32635 (open_not_cancel_2): Likewise.
32636 (open_nocancel): New macro.
32637 (open64_nocancel): Likewise.
32638 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
32639 (open_not_cancel_2): Likewise.
32640 (__open_nocancel): New prototype.
32641 (__open64_nocancel): Likewise.
32642 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
32643 __open_nocancel.
32644 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
32645 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
32646 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
32647 with __open_nocancel.
32648 * csu/check_fds.c (check_one_fd): Likewise.
32649 * gmon/gmon.c (write_gmon): Likewise.
32650 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
32651 * intl/loadmsgcat.c (open): Likewise.
32652 * libio/fileops.c (_IO_file_open): Likewise.
32653 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32654 * locale/loadlocale.c (_nl_load_locale): Likewise.
32655 * login/utmp_file.c (setutent_file): Likewise.
32656 * misc/daemon.c (daemon): Likewise.
32657 * nss/nss_db/db-open.c (internal_setent): Likewise.
32658 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32659 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
32660 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
32661 (__opendir): Likewise.
32662 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
32663 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
32664 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
32665 (gethostid): Likewise.
32666 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
32667 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32668 Likewise.
32669 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32670 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
32671 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
32672 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
32673 Likewise.
32674 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
32675 Likewise.
32676 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
32677 Likewise.
32678 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32679 Likewise.
32680 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
32681 Likewise.
32682 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
32683 Likewise.
32684 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
32685 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
32686
d4505b89
WD
326872017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
32688
32689 * benchtests/bench-skeleton.c (main): Add support for
32690 latency benchmarking.
32691 * benchtests/scripts/bench.py: Add support for latency benchmarking.
32692
34d6a3cb
L
326932017-08-17 H.J. Lu <hongjiu.lu@intel.com>
32694
32695 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
32696 the startup object.
32697
038d1caf
FW
326982017-08-17 Florian Weimer <fweimer@redhat.com>
32699
32700 * include/sys/socket.h (__opensock): Remove internal_function.
32701 * socket/opensock.c (__opensock): Likewise.
32702 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
32703
67f0aff0
JM
327042017-08-16 Joseph Myers <joseph@codesourcery.com>
32705
32706 [BZ #21944]
32707 * signal/bits/types/__sigval_t.h: New file.
32708 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
32709 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
32710 and define sigval_t using __sigval_t.
32711 * include/bits/types/__sigval_t.h: New file.
32712 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
32713 instead of <bits/types/__sigval_t.h>.
32714 (struct sigevent): Use __sigval_t instead of sigval_t.
32715 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
32716 instead of <bits/types/__sigval_t.h>.
32717 (siginfo_t): Use __sigval_t instead of sigval_t.
32718 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
32719 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32720 (struct sigevent): Use __sigval_t instead of sigval_t.
32721 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
32722 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
32723 (siginfo_t): Use __sigval_t instead of sigval_t.
32724 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
32725
87e7bf4d
L
327262017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32727
32728 * NEWS: Remove "[Add new features here]" for 2.27.
32729
5047057f
JM
327302017-08-16 Joseph Myers <joseph@codesourcery.com>
32731
32732 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
32733 libc.so.
32734
20c7b195
L
327352017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32736
32737 * NEWS: Mention x86-64 FMA optimization.
32738
24a2e658
L
327392017-08-16 H.J. Lu <hongjiu.lu@intel.com>
32740
32741 [BZ #21912]
32742 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32743 Add e_expf-fma.
32744 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
32745 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
32746 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
32747
eedca977
AS
327482017-08-16 Andreas Schwab <schwab@suse.de>
32749
403143e1
FW
32750 [BZ #16750]
32751 CVE-2009-5064
eedca977
AS
32752 * elf/ldd.bash.in: Never run file directly.
32753
f59f7adb
L
327542017-08-15 H.J. Lu <hongjiu.lu@intel.com>
32755
32756 [BZ #21955]
32757 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
32758 (L(SP_INF_0)): Likewise.
32759
6b11a6ad
FW
327602017-08-15 Florian Weimer <fweimer@redhat.com>
32761
32762 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
32763 run-built-tests.
32764
bbf5c438
FW
327652017-08-15 Florian Weimer <fweimer@redhat.com>
32766
32767 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
32768 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
32769 BROKEN_THREAD_SIGNALS code.
32770 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
32771 request_list): Remove caller_pid member used for
32772 BROKEN_THREAD_SIGNALS.
32773 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
32774 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32775 Remove BROKEN_THREAD_SIGNALS support.
32776 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
32777 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
32778
6014c65d
FW
327792017-08-15 Florian Weimer <fweimer@redhat.com>
32780
32781 * gmon/Makefile (tests): Add tst-gmon.
32782 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
32783 Set.
32784 (tests-special): Add tst-gmon-prof.out.
32785 (tst-gmon.out): Depend on clean-tst-gmon-data.
32786 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
32787 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
32788 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
32789 startup object.
32790 * aclocal.m4 (GPROF): Set and substitute.
32791 * config.amke.in (GPROF): Set.
32792 * configure: Regenerate.
32793
ee72219a
GR
327942017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
32795
32796 * elf/elf.h A (NT_PPC_TAR): New macro.
32797 (NT_PPC_PPR): Likewise.
32798 (NT_PPC_DSCR): Likewise.
32799 (NT_PPC_EBB): Likewise.
32800 (NT_PPC_PMU): Likewise.
32801 (NT_PPC_TM_CGPR): Likewise.
32802 (NT_PPC_TM_CFPR): Likewise.
32803 (NT_PPC_TM_CVMX): Likewise.
32804 (NT_PPC_TM_CVSX): Likewise.
32805 (NT_PPC_TM_SPR): Likewise.
32806 (NT_PPC_TM_CTAR): Likewise.
32807 (NT_PPC_TM_CPPR): Likewise.
32808 (NT_PPC_TM_CDSCR): Likewise.
32809
4ebf934e
FW
328102017-08-15 Florian Weimer <fweimer@redhat.com>
32811
32812 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
32813 regparm (2) instead of internal_function.
32814 (_MCOUNT_DECL): Adjust.
32815
e9f57484
SL
328162017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
32817
32818 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
32819 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32820
88ff4d55
JM
328212017-08-14 Joseph Myers <joseph@codesourcery.com>
32822
32823 * conform/data/sys/wait.h-data (si_value): Do not expect for
32824 XPG42.
32825
c88ffc23
FW
328262017-08-14 Florian Weimer <fweimer@redhat.com>
32827
32828 [BZ #21962]
32829 NSS: Create stubs for accidentally exported lookup functions.
32830 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
32831 Remove declaration.
32832 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
32833 (ether_hostton): Call __nss_ethers_lookup2 instead.
32834 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
32835 (ether_ntohost): Call __nss_ethers_lookup2 instead.
32836 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
32837 (setup): Call __nss_netgroup_lookup2 instead.
32838 * nss/Makefile (routines): Add compat-lookup.
32839 * nss/Versions (GLIBC_2.27): Add symbol version.
32840 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
32841 (DB_COMPAT_FCT): Remove.
32842 * nss/compat-lookup.c: New file.
32843 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
32844 from databases.def.
32845 * nss/service-lookup.c (NO_COMPAT): Remove definition.
32846 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
32847 (netname2user): Call __nss_publickey_lookup2 instead.
32848 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
32849 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
32850 instead.
32851
35a29136 328522017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
32853 Sergei Trofimovich <slyfox@inbox.ru>
32854
32855 [BZ #21908]
32856 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
32857 Rename to MMAP2_PAGE_UNIT.
32858 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
32859 __OFF_T_MATCHES_OFF64_T is not defined.
32860 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
32861 uint64_t.
32862 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
32863 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
32864
fbdc1e3e
FW
328652017-08-14 Florian Weimer <fweimer@redhat.com>
32866
32867 i386: Do not set internal_function.
32868 * config.h.in (USE_REGPARMS, internal_function): Remove.
32869 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
32870 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
32871
b3f85fd2
FW
328722017-08-14 Florian Weimer <fweimer@redhat.com>
32873
32874 * elf/dl-init.c (_dl_init): Remove internal_function.
32875 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
32876 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
32877
630bf491
FW
328782017-08-14 Florian Weimer <fweimer@redhat.com>
32879
32880 * elf/rtld.c (_dl_start): Remove internal_function.
32881 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
32882 _dl_start.
32883
9fa7449b
FW
328842017-08-14 Florian Weimer <fweimer@redhat.com>
32885
32886 * elf/dl-fini.c (_dl_fini): Remove internal_function
32887 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32888
73322d5f
L
328892017-08-14 H.J. Lu <hongjiu.lu@intel.com>
32890
d863cd71 32891 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
32892 (bit_cpu_SHSTK): Likewise.
32893 (index_cpu_IBT): Likewise.
32894 (index_cpu_SHSTK): Likewise.
32895 (reg_IBT): Likewise.
32896 (reg_SHSTK): Likewise.
32897 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
32898 Handle index_cpu_IBT and index_cpu_SHSTK.
32899
dbc303ef
MF
329002017-08-14 Mike FABIAN <mfabian@redhat.com>
32901
32902 [BZ #19982]
32903 * po/fr.po: Fix spelling mistake.
32904
3012cfb0
FW
329052017-08-13 Florian Weimer <fweimer@redhat.com>
32906
32907 * elf/dl-addr.c (_dl_addr): Remove internal_function.
32908 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
32909 (_dl_catch_error, _dl_receive_error): Likewise.
32910 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
32911 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
32912 (_dl_deallocate_tls): Likewise.
32913 * include/dlfcn.h (_dl_addr): Likewise.
32914 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
32915 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
32916 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
32917 Likewise.
32918
52bcdf26
FW
329192017-08-13 Florian Weimer <fweimer@redhat.com>
32920
32921 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
32922 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
32923 internal_function.
32924 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
32925
e1d2ae8d
FW
329262017-08-13 Florian Weimer <fweimer@redhat.com>
32927
32928 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
32929 internal_function.
32930 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
32931 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
32932 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
32933 internal_function from _dl_make_stack_executable_hook member.
32934 (_dl_make_stack_executable): Remove internal_function.
32935 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
32936 Likewise.
32937 * sysdeps/unix/sysv/linux/dl-execstack.c
32938 (_dl_make_stack_executable): Likewise.
32939
c4ce0382
FW
329402017-08-13 Florian Weimer <fweimer@redhat.com>
32941
32942 * sysdeps/unix/sysv/linux/netlinkaccess.h
32943 (__netlink_assert_response): Remove internal_function.
32944 * sysdeps/unix/sysv/linux/netlink_assert_response.c
32945 (__netlink_assert_response): Likewise.
32946
c4d767f7
FW
329472017-08-13 Florian Weimer <fweimer@redhat.com>
32948
32949 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
32950 internal_function.
32951 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
32952
b2297409
FW
329532017-08-13 Florian Weimer <fweimer@redhat.com>
32954
32955 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
32956 internal_function.
32957 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
32958 * inet/netgroup.h (__internal_setnetgrent)
32959 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32960 * inet/getnetgrent_r.c (__internal_setnetgrent)
32961 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
32962 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
32963 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
32964 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
32965 * nss/nsswitch.h (db_lookup_function): Likewise.
32966
1b0bfc69
FW
329672017-08-13 Florian Weimer <fweimer@redhat.com>
32968
32969 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
32970 Remove internal_function.
32971 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
32972 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
32973 message argument on the stack.
32974 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
32975 Likeweise.
32976
a6bd8722
MF
329772017-08-12 Mike FABIAN <mfabian@redhat.com>
32978
32979 Adapt test case data to the changes in the thousands
32980 separators.
32981
32982 [BZ #20756]
32983 * localedata/tst-langinfo.sh: Adapt test case data.
32984 * stdlib/tst-strfmon_l.c: Likewise.
32985 * stdlib/tst-strtod4.c: Likewise.
32986 * stdlib/tst-strtod5i.c: Likewise.
32987
8b2c63e4
FW
329882017-08-11 Florian Weimer <fweimer@redhat.com>
32989
32990 [BZ #21242]
32991 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
32992 Suppress pedantic warning resulting from statement expression.
32993 (__ASSERT_FUNCTION): Add missing __extension__.
32994
61c98291
SP
329952017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
32996
86c6519e
SP
32997 * benchtests/bench-memmove-large.c: Print output in JSON
32998 format.
32999 * benchtests/bench-memmove.c: Likewise.
33000
61c98291
SP
33001 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33002 * benchtests/bench-memchr.c (do_one_test): Likewise.
33003 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33004 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33005 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33006 * benchtests/bench-memmove.c (do_one_test): Likewise.
33007 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33008 * benchtests/bench-memset.c (do_one_test): Likewise.
33009 * benchtests/bench-string.h (test_init): Remove memsets.
33010
925733a9
RJ
330112017-08-10 Rical Jasan <ricaljasan@pacific.net>
33012
33013 * manual/lang.texi
33014 (Computing the Width of an Integer Data Type): Rename section to
33015 "Width of an Integer Type". Remove inaccurate statement regarding
33016 lack of C language facilities for determining width of integer
33017 types, and reorder content to improve flow and context of
33018 discussion.
33019
4fcdfbfc
RJ
330202017-08-10 Rical Jasan <ricaljasan@pacific.net>
33021
33022 * lang.texi (va_copy): Change standard from ISO to C99.
33023 (__va_copy): Add standard and header annotation.
33024 Update description for clarity of origins and current use.
33025
4d98ace9
GG
330262017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33027
33028 [BZ #21941]
33029 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33030 xssqrtqp requires operands to be in Vector Registers
33031 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33032 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33033 (__ieee754_sqrtf128): Likewise.
33034
92236903
WD
330352017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33036
33037 * sysdeps/aarch64/memcmp.S (memcmp):
33038 Rewrite of optimized memcmp.
33039
2449ae7b
FW
330402017-08-10 Florian Weimer <fweimer@redhat.com>
33041
33042 Introduce ld.so exceptions.
33043 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33044 (_dl_exception_create, _dl_exception_create_format)
33045 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33046 (_dl_catch_exception): Declare.
33047 (_dl_catch_error): Update comment.
33048 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33049 errstring, malloced members with exception member.
33050 (_dl_out_of_memory): Remove.
33051 (fatal_error): New function, extracted from _dl_signal_error.
33052 (_dl_signal_exception, _dl_signal_cexception): New functions.
33053 (_dl_signal_error): Call _dl_exception_create to allocate an
33054 exception object.
33055 (_dl_catch_exception): New function, based on _dl_catch_error.
33056 (_dl_catch_error): Implement using _dl_catch_exception.
33057 * elf/dl-exception.c: New file.
33058 * elf/Makefile (dl-routines): Add dl-exception.
33059 (elide-routines.os): Likewise.
33060 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33061 _dl_exception_create_format, _dl_exception_free.
33062 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33063 _dl_signal_exception.
33064 * elf/dl-lookup.c (make_string): Remove.
33065 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33066 _dl_signal_cexception, _dl_exception_free.
33067 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33068 _dl_signal_exception.
33069 * elf/dl-sym.c (do_sym): Likewise.
33070 * elf/dl-version.c (make_string): Remove.
33071 (match_symbol): Use _dl_exception_create_format,
33072 _dl_signal_cexception, _dl_exception_free.
33073 (_dl_check_map_versions): Likewise.
33074 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33075 _dl_catch_exception.
33076 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33077 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33078 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33079 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33080 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33081 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33082 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33083 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33084 Likewise.
33085 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33087 (ld.so): Likewise.
33088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33089 (ld.so): Likewise.
33090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33091 Likewise.
33092 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33093 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33094 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33095 Likewise.
33096 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33097 Likewise.
33098 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33099
f87cc2bf
FW
331002017-08-10 Florian Weimer <fweimer@redhat.com>
33101
33102 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33103 attribute_hidden, internal_function.
33104 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33105 internal_function.
33106
eac43cbb
FW
331072017-08-10 Florian Weimer <fweimer@redhat.com>
33108
33109 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33110 function which calls __builtin_unreachable.
33111
bd80111e
MF
331122017-08-10 Mike FABIAN <mfabian@redhat.com>
33113
33114 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33115 Indian monetary formatting
33116 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33117 test cases.
33118
60e2846e
DL
331192017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33120
68dc02d1
DL
33121 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33122 Fix typo in comment.
33123
60e2846e
DL
33124 [BZ #21928]
33125 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33126 PTRACE_SEIZE_DEVEL): Remove.
33127 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33128 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33129 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33130 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33131 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33132
3d452dab
JM
331332017-08-09 Joseph Myers <joseph@codesourcery.com>
33134
24d9f53a
JM
33135 * posix/bits/types.h (__qaddr_t): Remove.
33136
3d452dab
JM
33137 [BZ #21457]
33138 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33139 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33140 __glibc_reserved1.
33141 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33142 (ucontext_t): Use __ctx with uc_flags.
33143 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33144 (__ctxt): Likewise.
33145 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33146 __glibc_reserved1.
33147 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33148 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33149 __glibc_reserved1.
33150 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33151 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33152 __glibc_reserved1.
33153 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33154 macro.
33155 (ucontext_t): Use __ctx with uc_flags.
33156 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33157 (ucontext_t): Use __ctx with uc_flags.
33158 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33159 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33160 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33161 (ucontext_t): Use __ctx with uc_flags.
33162 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33163 undefine further down.
33164 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33165 __glibc_reserved1.
33166 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33167 undefine further down.
33168 (ucontext_t): Use __ctx with uc_flags.
33169 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33170 undefine further down.
33171 (ucontext_t): Use __ctx with uc_flags.
33172 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33173 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33174 Rename uc_pad to __glibc_reserved1.
33175 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33176 undefine further down.
33177 (ucontext_t): Use __ctx with uc_flags.
33178 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
33179 further down.
33180 (ucontext_t): Use __ctx with uc_flags.
33181 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
33182 __ctx with uc_flags.
33183 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
33184 (ucontext_t): Use __ctx with uc_flags.
33185 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
33186 __ctx with uc_flags.
33187
30161498
FW
331882017-08-09 Florian Weimer <fweimer@redhat.com>
33189
33190 [BZ #21932]
33191 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
33192 before early return.
33193
5797b410
AS
331942017-08-09 Andreas Schwab <schwab@suse.de>
33195
139237a4 33196 [BZ #21041]
5797b410
AS
33197 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
33198 renamed alias.
33199
139237a4 33200 [BZ #21041]
40c06a3d
AS
33201 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
33202 tst-compat-forwarder.
33203 (modules-names): Add tst-compat-forwarder-mod.
33204 ($(objpfx)tst-compat-forwarder): Depend on
33205 $(objpfx)tst-compat-forwarder-mod.so.
33206 * nptl/tst-compat-forwarder.c: New file.
33207 * nptl/tst-compat-forwarder-mod.c: New file.
33208
36ada5f6
SP
332092017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
33210
0e02b510
SP
33211 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
33212 comments.
33213
36ada5f6
SP
33214 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
33215 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
33216 memcpy_falkor.
33217 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
33218 Bump.
33219 (__libc_ifunc_impl_list): Add __memcpy_falkor.
33220 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
33221 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
33222 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33223 Add falkor.
33224 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
33225 New macro.
33226
9995c839
AZ
332272017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33228
33229 [BZ #759]
33230 * manual/setjmp.texi (getcontex): Document uc_stack value
33231 compatibility differences.
33232
f17a4233
JM
332332017-08-08 Joseph Myers <joseph@codesourcery.com>
33234
33235 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
33236 (old_malloc_hook): Likewise.
33237 (old_memalign_hook): Likewise.
33238 (old_realloc_hook): Likewise.
33239 (struct hdr): Likewise.
33240 (flood): Likewise.
33241 (freehook): Likewise.
33242 (mallochook): Likewise.
33243 (memalignhook): Likewise.
33244 (reallochook): Likewise.
33245 (mprobe): Likewise.
33246 * malloc/mtrace.c (mallwatch): Likewise.
33247 (tr_old_free_hook): Likewise.
33248 (tr_old_malloc_hook): Likewise.
33249 (tr_old_realloc_hook): Likewise.
33250 (tr_old_memalign_hook): Likewise.
33251 (tr_where): Likewise.
33252 (lock_and_info): Likewise.
33253 (tr_freehook): Likewise.
33254 (tr_mallochook): Likewise.
33255 (tr_reallochook): Likewise.
33256 (tr_memalignhook): Likewise.
33257 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
33258 * misc/mmap.c (__mmap): Likewise.
33259 * misc/mmap64.c (__mmap64): Likewise.
33260 * misc/mprotect.c (__mprotect): Likewise.
33261 * misc/msync.c (msync): Likewise.
33262 * misc/munmap.c (__munmap): Likewise.
33263 * posix/posix_madvise.c (posix_madvise): Likewise.
33264 * socket/send.c (__send): Likewise.
33265 * socket/sendto.c (__sendto): Likewise.
33266 * socket/setsockopt.c (__setsockopt): Likewise.
33267 * string/memcmp.c (__ptr_t): Remove macro.
33268 (MEMCMP): Use void * instead of ptr_t.
33269 * string/memrchr.c (__ptr_t): Remove macro.
33270 (__memrchr): Use void * instead of ptr_t.
33271 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
33272 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33273 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33274 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
33275 * sysdeps/mach/msync.c (msync): Likewise.
33276 * sysdeps/mach/munmap.c (__munmap): Likewise.
33277 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
33278 Likewise.
33279 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33280 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
33281 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
33282 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
33283 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
33284 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33285 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
33286 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
33287 Likewise.
33288 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33289 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
33290 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
33291 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
33292 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
33293 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
33294 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
33295 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
33296 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
33297 Likewise.
33298 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
33299 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
33300 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
33301 (MEMCMP): Use void * instead of ptr_t.
33302 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
33303 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
33304
0df595b2
FW
333052017-08-08 Florian Weimer <fweimer@redhat.com>
33306
33307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
33308 return statement.
33309
086df229
L
333102017-08-08 H.J. Lu <hongjiu.lu@intel.com>
33311
33312 [BZ #21913]
33313 * csu/libc-tls.c: Include <startup.h> first.
33314 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
33315 * elf/dl-tunables.c: Include <startup.h> first.
33316 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
33317 * sysdeps/generic/startup.h: New file.
33318 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
33319 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
33320 (I386_USE_SYSENTER): New. Defined to 0.
33321
fc5ad702
AS
333222017-08-08 Andreas Schwab <schwab@suse.de>
33323
33324 [BZ #21041]
33325 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
33326 * nptl/pt-system.c (system): Likewise.
33327
852d6312
AZ
333282017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33329
33330 [BZ #21780]
33331 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
33332 EOPNOTSUPP.
33333 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
33334 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
33335 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
33336 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
33337 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
33338 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
33339 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
33340
8b164787
JM
333412017-08-07 Joseph Myers <joseph@codesourcery.com>
33342
cd65836b
JM
33343 [BZ #21899]
33344 * bits/sigaction.h (struct sigaction): Define sa_handler and
33345 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
33346 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33347 [__USE_XOPEN_EXTENDED].
33348 (SA_RESTART): Likewise.
33349 (SA_NODEFER): Likewise.
33350 (SA_RESETHAND): Likewise.
33351 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
33352 (struct sigaction): Define sa_handler and sa_sigaction using union
33353 also for [__USE_XOPEN_EXTENDED].
33354 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33355 [__USE_XOPEN_EXTENDED].
33356 (SA_RESTART): Likewise.
33357 (SA_NODEFER): Likewise.
33358 (SA_RESETHAND): Likewise.
33359 * sysdeps/unix/sysv/linux/bits/sigaction.h
33360 (struct sigaction): Define sa_handler and sa_sigaction using union
33361 also for [__USE_XOPEN_EXTENDED].
33362 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33363 [__USE_XOPEN_EXTENDED].
33364 (SA_RESTART): Likewise.
33365 (SA_NODEFER): Likewise.
33366 (SA_RESETHAND): Likewise.
33367 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
33368 (struct sigaction): Define sa_handler and sa_sigaction using union
33369 also for [__USE_XOPEN_EXTENDED].
33370 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33371 [__USE_XOPEN_EXTENDED].
33372 (SA_RESTART): Likewise.
33373 (SA_NODEFER): Likewise.
33374 (SA_RESETHAND): Likewise.
33375 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
33376 (struct sigaction): Define sa_handler and sa_sigaction using union
33377 also for [__USE_XOPEN_EXTENDED].
33378 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33379 [__USE_XOPEN_EXTENDED].
33380 (SA_RESTART): Likewise.
33381 (SA_NODEFER): Likewise.
33382 (SA_RESETHAND): Likewise.
33383 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33384 (struct sigaction): Define sa_handler and sa_sigaction using union
33385 also for [__USE_XOPEN_EXTENDED].
33386 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33387 [__USE_XOPEN_EXTENDED].
33388 (SA_RESTART): Likewise.
33389 (SA_NODEFER): Likewise.
33390 (SA_RESETHAND): Likewise.
33391 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33392 (struct sigaction): Define sa_handler and sa_sigaction using union
33393 also for [__USE_XOPEN_EXTENDED].
33394 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33395 [__USE_XOPEN_EXTENDED].
33396 (SA_RESTART): Likewise.
33397 (SA_NODEFER): Likewise.
33398 (SA_RESETHAND): Likewise.
33399 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33400 (struct sigaction): Define sa_handler and sa_sigaction using union
33401 also for [__USE_XOPEN_EXTENDED].
33402 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33403 [__USE_XOPEN_EXTENDED].
33404 (SA_RESTART): Likewise.
33405 (SA_NODEFER): Likewise. Define directly rather than as alias.
33406 (SA_RESETHAND): Likewise.
33407 (SA_INTERRUPT): Define only for [__USE_MISC].
33408 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
33409 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
33410 [__USE_MISC].
33411 (SA_STACK): Define only for [__USE_MISC].
33412 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
33413 (struct sigaction): Define sa_handler and sa_sigaction using union
33414 also for [__USE_XOPEN_EXTENDED].
33415 (SA_ONSTACK): Change [__USE_UNIX98] condition to
33416 [__USE_XOPEN_EXTENDED].
33417 (SA_RESTART): Likewise.
33418 (SA_NODEFER): Likewise.
33419 (SA_RESETHAND): Likewise.
33420 (SA_NOPTRACE): Define only for [__USE_MISC].
33421
d9fee042
JM
33422 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
33423 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
33424 (struct catalog_info): Likewise.
33425 * inet/htontest.c (lo): Likewise.
33426 (foo): Likewise.
33427 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33428 * inet/inet_net.c (inet_network): Likewise.
33429 * inet/inet_netof.c (inet_netof): Likewise.
33430 * inet/rcmd.c (__ivaliduser): Likewise.
33431 (iruserok): Likewise.
33432 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
33433 * locale/programs/locale-spec.c (locale_special): Likewise.
33434 * nis/nis_findserv.c (struct findserv_req): Likewise.
33435 (__nis_findfastest_with_timeout): Likewise.
33436 * nss/test-netdb.c (test_network): Likewise.
33437 * resolv/inet_neta.c (inet_neta): Likewise.
33438 * resolv/ns_date.c (ns_datetosecs): Likewise.
33439 (SECS_PER_DAY): Likewise.
33440 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
33441 Likewise.
33442 * resolv/res_comp.c (__putlong): Likewise.
33443 (__putshort): Likewise.
33444 (_getlong): Likewise.
33445 (_getshort): Likewise.
33446 * resolv/res_debug.c (p_time): Likewise.
33447 (precsize_ntoa): Likewise.
33448 (precsize_aton): Likewise.
33449 (latlon2ul): Likewise.
33450 (loc_aton): Likewise.
33451 (loc_ntoa): Likewise.
33452 * resolv/res_hconf.c (struct netaddr): Likewise.
33453 (_res_hconf_reorder_addrs): Likewise.
33454 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
33455 (clnttcp_control): Likewise.
33456 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33457 (clntudp_control): Likewise.
33458 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
33459 (clntunix_control): Likewise.
33460 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
33461 * sunrpc/rpc/auth.h (union des_block): Likewise.
33462 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
33463 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
33464 (xdrrec_create): Likewise.
33465 (xdrrec_endofrecord): Likewise.
33466 (flush_out): Likewise.
33467 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
33468 (xdrstdio_putlong): Likewise.
33469 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
33470 Likewise.
33471
8b164787
JM
33472 * misc/sys/cdefs.h (__long_double_t): Remove.
33473 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
33474 instead of __long_double_t,
33475 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
33476
7ee38e60
SP
334772017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
33478
dd3e86ad
SP
33479 * benchtests/scripts/compare_strings.py: Avoid display error when
33480 running on a text terminal.
33481
b115e819
SP
33482 * benchtests/scripts/compare_strings.py (main): Add an
33483 optional -base option.
33484 (process_results): New argument base_func.
33485
7ee38e60
SP
33486 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
33487 hardcoding memcpy.
33488 * benchtests/bench-memcpy-large.c (test_name): Likewise.
33489 * benchtests/bench-memcpy-random.c (test_name): Likewise.
33490
d5afb385
AS
334912017-08-07 Andreas Schwab <schwab@suse.de>
33492
33493 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
33494 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33495 * intl/Makefile ($(objpfx)tst-gettext.out)
33496 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
33497 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
33498 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33499 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33500 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
33501 * posix/Makefile ($(objpfx)globtest.out)
33502 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
33503 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
33504 ($(objpfx)tst-printf.out): Likewise.
33505 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
33506 ($(objpfx)tst-setcontext3.out): Likewise.
33507
57a72fa3
L
335082017-08-07 H.J. Lu <hongjiu.lu@intel.com>
33509
33510 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33511 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
33512 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
33513 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
33514 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
33515 and mptan-fma.
33516 (CFLAGS-doasin-fma.c): New.
33517 (CFLAGS-dosincos-fma.c): Likewise.
33518 (CFLAGS-e_asin-fma.c): Likewise.
33519 (CFLAGS-e_atan2-fma.c): Likewise.
33520 (CFLAGS-e_exp-fma.c): Likewise.
33521 (CFLAGS-e_log-fma.c): Likewise.
33522 (CFLAGS-e_pow-fma.c): Likewise.
33523 (CFLAGS-halfulp-fma.c): Likewise.
33524 (CFLAGS-mpa-fma.c): Likewise.
33525 (CFLAGS-mpatan-fma.c): Likewise.
33526 (CFLAGS-mpatan2-fma.c): Likewise.
33527 (CFLAGS-mpexp-fma.c): Likewise.
33528 (CFLAGS-mplog-fma.c): Likewise.
33529 (CFLAGS-mpsqrt-fma.c): Likewise.
33530 (CFLAGS-mptan-fma.c): Likewise.
33531 (CFLAGS-s_atan-fma.c): Likewise.
33532 (CFLAGS-sincos32-fma.c): Likewise.
33533 (CFLAGS-slowexp-fma.c): Likewise.
33534 (CFLAGS-slowpow-fma.c): Likewise.
33535 (CFLAGS-s_sin-fma.c): Likewise.
33536 (CFLAGS-s_tan-fma.c): Likewise.
33537 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
33538 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
33539 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
33540 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
33541 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
33542 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
33543 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
33544 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
33545 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
33546 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
33547 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
33548 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
33549 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
33550 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
33551 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
33552 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
33553 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
33554 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
33555 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
33556 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
33557 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
33558 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
33559 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
33560 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
33561 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33562 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33563 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33564 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33565 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33566 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33567 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33568
219dd320
JM
335692017-08-04 Joseph Myers <joseph@codesourcery.com>
33570
33571 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
33572 (min_of_type_f): New macro.
33573 (min_of_type_): Likewise.
33574 (min_of_type_l): Likewise.
33575 (min_of_type_f128): Likewise.
33576 (min_of_type): Define using __MATH_TG and taking an expression
33577 argument.
33578 (math_check_force_underflow): Pass expression instead of type to
33579 min_of_type.
33580 (math_check_force_underflow_nonneg): Likewise.
33581
64d4dea6
L
335822017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33583
33584 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
33585 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
33586 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
33587
973da22a
L
335882017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33589
33590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33591 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
33592 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
33593 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
33594 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
33595 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
33596 memcpy_chk-nonshared, mempcpy_chk-nonshared,
33597 memmove_chk-nonshared and memset_chk-nonshared
33598 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
33599 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
33600 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
33601 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
33602 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
33603 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
33604 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
33605 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
33606 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
33607 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
33608 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
33609 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
33610 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
33611 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
33612 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
33613 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
33614 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
33615 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
33616 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
33617 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
33618 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
33619 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
33620 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
33621 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
33622 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
33623 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
33624 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
33625 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
33626 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
33627 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
33628 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
33629 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
33630 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
33631 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33632 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
33633 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
33634 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
33635 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
33636 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
33637 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
33638 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
33639 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
33640 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
33641 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
33642 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
33643 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
33644 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
33645 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
33646 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
33647 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
33648 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
33649 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
33650 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
33651 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
33652 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
33653 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
33654 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
33655 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
33656 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
33657 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
33658 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
33659 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
33660 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
33661 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
33662 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
33663 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
33664 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
33665 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
33666 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
33667 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
33668 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
33669 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33670 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33671 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33672 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33673 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33674 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33675 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33676 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33677 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33678 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33679 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33680 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33681 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33682 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33683 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33684 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33685 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33686 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33687 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33688 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33689 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33690 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33691 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33692 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33693 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33694 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33695 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33696 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33697 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33698 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33699 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33700 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33701 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33702 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33703 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33704 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33705 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33706
8537e0f6
L
337072017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33708
33709 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
33710 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
33711 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
33712 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
33713 svml_d_log2_core-sse2, svml_d_log4_core-sse,
33714 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
33715 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
33716 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
33717 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
33718 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
33719 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
33720 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
33721 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
33722 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
33723 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
33724 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
33725 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
33726 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
33727 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
33728 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
33729 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
33730 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
33731 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
33732 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
33733 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
33734 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
33735 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
33736 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
33737 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
33738 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
33739 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
33740 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
33741 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
33742 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
33743 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
33744 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
33745 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
33746 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
33747 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
33748 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
33749 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
33750 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
33751 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
33752 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
33753 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
33754 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
33755 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
33756 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
33757 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
33758 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
33759 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
33760 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
33761 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
33762 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
33763 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
33764 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
33765 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
33766 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
33767 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
33768 ...
33769 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
33770 Don't include <sysdep.h> nor <init-arch.h>.
33771 (_ZGVbN2v_cos): Removed.
33772 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
33773 ...
33774 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
33775 Don't include <sysdep.h> nor <init-arch.h>.
33776 (_ZGVdN4v_cos): Removed.
33777 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
33778 ...
33779 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
33780 Don't include <sysdep.h> nor <init-arch.h>.
33781 (_ZGVeN8v_cos): Removed.
33782 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
33783 ...
33784 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
33785 Don't include <sysdep.h> nor <init-arch.h>.
33786 (_ZGVbN2v_exp): Removed.
33787 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
33788 ...
33789 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
33790 Don't include <sysdep.h> nor <init-arch.h>.
33791 (_ZGVdN4v_exp): Removed.
33792 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
33793 ...
33794 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
33795 Don't include <sysdep.h> nor <init-arch.h>.
33796 (_ZGVeN8v_exp): Removed.
33797 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
33798 ...
33799 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
33800 Don't include <sysdep.h> nor <init-arch.h>.
33801 (_ZGVbN2v_log): Removed.
33802 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
33803 ...
33804 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
33805 Don't include <sysdep.h> nor <init-arch.h>.
33806 (_ZGVdN4v_log): Removed.
33807 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
33808 ...
33809 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
33810 Don't include <sysdep.h> nor <init-arch.h>.
33811 (_ZGVeN8v_log): Removed.
33812 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
33813 ...
33814 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
33815 Don't include <sysdep.h> nor <init-arch.h>.
33816 (_ZGVbN2vv_pow): Removed.
33817 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
33818 ...
33819 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
33820 Don't include <sysdep.h> nor <init-arch.h>.
33821 (_ZGVdN4vv_pow): Removed.
33822 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
33823 ...
33824 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
33825 Don't include <sysdep.h> nor <init-arch.h>.
33826 (_ZGVeN8vv_pow): Removed.
33827 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
33828 ...
33829 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
33830 Don't include <sysdep.h> nor <init-arch.h>.
33831 (_ZGVbN2v_sin): Removed.
33832 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
33833 ...
33834 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
33835 Don't include <sysdep.h> nor <init-arch.h>.
33836 (_ZGVbN4v_sin): Removed.
33837 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
33838 ...
33839 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
33840 Don't include <sysdep.h> nor <init-arch.h>.
33841 (_ZGVbN8v_sin): Removed.
33842 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
33843 ...
33844 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
33845 Don't include <sysdep.h> nor <init-arch.h>.
33846 (_ZGVbN2vvv_sincos): Removed.
33847 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
33848 ...
33849 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
33850 Don't include <sysdep.h> nor <init-arch.h>.
33851 (_ZGVdN4vvv_sincos): Removed.
33852 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
33853 ...
33854 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
33855 Don't include <sysdep.h> nor <init-arch.h>.
33856 (_ZGVeN8vvv_sincos): Removed.
33857 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
33858 ...
33859 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
33860 Don't include <sysdep.h> nor <init-arch.h>.
33861 (_ZGVeN16v_cosf): Removed.
33862 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
33863 ...
33864 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
33865 Don't include <sysdep.h> nor <init-arch.h>.
33866 (_ZGVbN4v_cosf): Removed.
33867 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
33868 ...
33869 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
33870 Don't include <sysdep.h> nor <init-arch.h>.
33871 (_ZGVdN8v_cosf): Removed.
33872 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
33873 ...
33874 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
33875 Don't include <sysdep.h> nor <init-arch.h>.
33876 (_ZGVeN16v_expf): Removed.
33877 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
33878 ...
33879 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
33880 Don't include <sysdep.h> nor <init-arch.h>.
33881 (_ZGVbN4v_expf): Removed.
33882 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
33883 ...
33884 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
33885 Don't include <sysdep.h> nor <init-arch.h>.
33886 (_ZGVdN8v_expf): Removed.
33887 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
33888 ...
33889 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
33890 Don't include <sysdep.h> nor <init-arch.h>.
33891 (_ZGVeN16v_logf): Removed.
33892 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
33893 ...
33894 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
33895 Don't include <sysdep.h> nor <init-arch.h>.
33896 (_ZGVbN4v_logf): Removed.
33897 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
33898 ...
33899 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
33900 Don't include <sysdep.h> nor <init-arch.h>.
33901 (_ZGVdN8v_logf): Removed.
33902 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
33903 ...
33904 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
33905 Don't include <sysdep.h> nor <init-arch.h>.
33906 (_ZGVeN16vv_powf): Removed.
33907 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
33908 ...
33909 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
33910 Don't include <sysdep.h> nor <init-arch.h>.
33911 (_ZGVbN4vv_powf): Removed.
33912 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
33913 ...
33914 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
33915 Don't include <sysdep.h> nor <init-arch.h>.
33916 (_ZGVdN8vv_powf): Removed.
33917 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
33918 ...
33919 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
33920 Don't include <sysdep.h> nor <init-arch.h>.
33921 (_ZGVeN16vvv_sincosf): Removed.
33922 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
33923 ...
33924 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
33925 Don't include <sysdep.h> nor <init-arch.h>.
33926 (_ZGVbN4vvv_sincosf): Removed.
33927 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
33928 ...
33929 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
33930 Don't include <sysdep.h> nor <init-arch.h>.
33931 (_ZGVdN8vvv_sincosf): Removed.
33932 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
33933 ...
33934 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
33935 Don't include <sysdep.h> nor <init-arch.h>.
33936 (_ZGVeN16v_sinf): Removed.
33937 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
33938 ...
33939 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
33940 Don't include <sysdep.h> nor <init-arch.h>.
33941 (_ZGVbN4v_sinf): Removed.
33942 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
33943 ...
33944 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
33945 Don't include <sysdep.h> nor <init-arch.h>.
33946 (_ZGVdN8v_sinf): Removed.
33947
10a87ca4
L
339482017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33949
33950 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33951 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
33952 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
33953 s_rint-sse4_1 and s_rintf-sse4_1.
33954 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
33955 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
33956 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
33957 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
33958 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
33959 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
33960 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
33961 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
33962 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
33963 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
33964 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
33965 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33966 (__ceil): Removed.
33967 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
33968 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
33969 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33970 (__ceilf): Removed.
33971 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
33972 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
33973 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33974 (__floor): Removed.
33975 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
33976 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
33977 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33978 (__floorf): Removed.
33979 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
33980 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
33981 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33982 (__nearbyint): Removed.
33983 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
33984 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
33985 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33986 (__nearbyintf): Removed.
33987 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
33988 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
33989 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33990 (__rint): Removed.
33991 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
33992 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
33993 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
33994 (__rintf): Removed.
33995
1e8e527d
L
339962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
33997
33998 * sysdeps/i386/start.S (_start): Check Check PIC instead of
33999 SHARED. Avoid dynamic relocation against main in static PIE.
34000
e13daad7
L
340012017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34002
34003 [BZ #21815]
34004 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34005 (LDFLAGS-tst-prelink): Likewise.
34006
627c69c8
L
340072017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34008
34009 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34010 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34011 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34012 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34013 (INTERNAL_SYSCALL_NCS): Likewise.
34014 (LOADARGS_1): Likewise.
34015 (LOADARGS_5): Likewise.
34016 (RESTOREARGS_1): Likewise.
34017 (RESTOREARGS_5): Likewise.
34018
fc11ff8d
L
340192017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34020
34021 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34022 (MEMPCPY_SYMBOL): Likewise.
34023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34024 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34025 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34026 in libc.a.
34027 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34028 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34029 Likewise.
34030 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34031 (__hidden_ver1): Don't use in libc.a.
34032 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34033 (__mempcpy): Don't create a weak alias in libc.a.
34034 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34035 libc.a.
34036 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34037 (__hidden_ver1): Don't use in libc.a.
34038
19f1a11e
L
340392017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34040
34041 * config.make.in (have-insert): New.
34042 * configure.ac (libc_cv_insert): New. Set to yes if linker
34043 supports INSERT in linker script.
34044 (AC_SUBST(libc_cv_insert): New.
34045 * configure: Regenerated.
34046 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34047 if $(have-insert) == yes.
34048
3093fd5e
L
340492017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34050
34051 * elf/Makefile (tests): Add vismain only if
34052 $(have-protected-data) == yes.
34053 (tests-pie): Likewise.
34054
d2cf37c0
L
340552017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34056
34057 [BZ #21871]
34058 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34059 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34060
c8a0e6ec
L
340612017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34062
34063 [BZ #21790]
34064 * sysdeps/i386/i586/memset.S
34065 (__memset_zero_constant_len_parameter): Removed.
34066 * sysdeps/i386/i686/memset.S
34067 (__memset_zero_constant_len_parameter): Likewise.
34068 * sysdeps/i386/i686/multiarch/memset_chk.S
34069 (__memset_zero_constant_len_parameter): Likewise.
34070 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34071 Likewise.
34072
2b34e271
AJ
340732017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34074
34075 * stdlib/getentropy.c (getentropy): Change return type to int.
34076
144bdab0
AJ
340772017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34078
34079 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34080
24ab7723
JM
340812017-08-03 Joseph Myers <joseph@codesourcery.com>
34082
34083 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34084 u_intN_t.
34085 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34086 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34087 Likewise.
34088 (ieee_float_shape_type): Likewise.
34089 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34090 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34091 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34092 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34093 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34094 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34095 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34096 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34097 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34098 Likewise.
34099 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34100 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34101 (__ieee754_yn): Likewise.
34102 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34103 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34104 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34105 Likewise.
34106 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34107 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34108 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34109 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34110 (__erfc): Likewise.
34111 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34112 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34113 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34114 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34115 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34116 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34117 Likewise.
34118 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34119 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34120 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34121 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34122 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34123 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34124 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34125 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34126 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34127 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34128 (__issignaling): Likewise.
34129 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34130 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34131 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34132 Likewise.
34133 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34134 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34135 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34136 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34137 Likewise.
34138 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34139 Likewise.
34140 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34141 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34142 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34143 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34144 (__erfcf): Likewise.
34145 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34146 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34147 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34148 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34149 Likewise.
34150 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34151 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34152 Likewise.
34153 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34154 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34155 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34156 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34157 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34158 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34159 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34160 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34161 Likewise.
34162 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34163 Likewise.
34164 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34165 Likewise.
34166 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34167 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34168 Likewise.
34169 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34170 Likewise.
34171 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34172 (__ieee754_ynl): Likewise.
34173 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34174 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34175 Likewise.
34176 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34177 Likewise.
34178 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
34179 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
34180 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34181 Likewise.
34182 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
34183 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
34184 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
34185 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
34186 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
34187 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
34188 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
34189 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
34190 Likewise.
34191 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
34192 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
34193 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
34194 Likewise.
34195 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
34196 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
34197 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
34198 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
34199 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
34200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34201 Likewise.
34202 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34203 Likewise.
34204 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34205 Likewise.
34206 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34207 Likewise.
34208 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
34209 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34210 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34211 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
34212 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
34213 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
34214 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
34215 Likewise.
34216 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34217 Likewise.
34218 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
34219 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34220 Likewise.
34221 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
34222 (__ieee754_remainderl): Likewise.
34223 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34224 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34225 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
34226 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
34227 Likewise.
34228 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
34229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34230 Likewise.
34231 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34232 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
34233 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
34234 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
34235 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34236 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34237 Likewise.
34238 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
34239 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
34240 (__ieee754_y0l): Likewise.
34241 (pzero): Likewise.
34242 (qzero): Likewise.
34243 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34244 (__ieee754_y1l): Likewise.
34245 (pone): Likewise.
34246 (qone): Likewise.
34247 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34248 (__ieee754_ynl): Likewise.
34249 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
34250 (__ieee754_lgammal_r): Likewise.
34251 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
34252 Likewise.
34253 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
34254 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
34255 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
34256 (__erfcl): Likewise.
34257 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
34258 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
34259 Likewise.
34260 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
34261 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
34262 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
34263 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
34264 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
34265 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34266 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34267 Likewise.
34268 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
34269 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34270 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
34271 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
34272 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34273 Likewise.
34274 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
34275 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
34276 Likewise.
34277 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
34278 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
34279 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
34280 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34281 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
34282
964263bb
FW
342832017-08-03 Florian Weimer <fweimer@redhat.com>
34284
34285 [BZ #21885]
34286 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
34287 on memory allocation failure.
34288
e98c925f
AM
342892017-08-03 Alan Modra <amodra@gmail.com>
34290
34291 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
34292 tst-tlsopt-powerpc.c with function name change and no test harness.
34293 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
34294 Call tls_get_addr_opt_test.
34295 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
34296 (modules-names): Add mod-tlsopt-powerpc.
34297 (mod-tlsopt-powerpc.so-no-z-defs): Define.
34298 (tst-tlsopt-powerpc): Depend on .so.
34299 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
34300 define. Expand use in TLS_GD and TLS_LD.
34301
8ee1abdb
ST
343022017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34303
34304 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
34305 function.
3da5756e 34306 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 34307
42df8d59
JM
343082017-08-02 Joseph Myers <joseph@codesourcery.com>
34309
34310 [BZ #21686]
34311 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
34312 comparing size with that of double.
34313 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34314 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34315 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34316 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34317 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34318 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
34319 unsigned __int128 types.
34320
b7f95f49
SE
343212017-08-02 Steve Ellcey <sellcey@cavium.com>
34322
34323 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
34324 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
34325 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
34326 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
34327 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
34328
5b736bc9
L
343292017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34330
34331 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
34332
dfc93c41
L
343332017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34334
34335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
34336 of SHARED.
34337 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34338 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34339 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34340 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34341 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34342 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34343 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34344
2fee621d
JM
343452017-08-02 Joseph Myers <joseph@codesourcery.com>
34346
34347 [BZ #21685]
34348 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
34349 bit-field expressions passed to sizeof or typeof.
34350 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34351 (__TGMATH_F128): Likewise.
34352 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34353 (__TGMATH_CF128): Likewise.
34354 (__TGMATH_UNARY_REAL_ONLY): Likewise.
34355 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
34356 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
34357 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
34358 (__TGMATH_BINARY_REAL_ONLY): Likewise.
34359 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
34360 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
34361 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
34362 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
34363 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
34364 (__TGMATH_UNARY_REAL_IMAG): Likewise.
34365 (__TGMATH_UNARY_IMAG): Likewise.
34366 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
34367 (__TGMATH_BINARY_REAL_IMAG): Likewise.
34368 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
34369 type.
34370 (define_vars_for_type): Handle bit_field type specially.
34371 (Tests.__init__): Declare structure with bit-field element.
34372
b358255f
L
343732017-08-02 H.J. Lu <hongjiu.lu@intel.com>
34374
34375 [BZ #21791]
34376 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
34377 (MEMCPY_CHK): Define only if SHARED is defined.
34378 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
34379 Likewise.
34380 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
34381 Likewise.
edf66db1
SP
34382
34383See ChangeLog.18 for earlier changes.