]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
dirent: Remove internal_function attribute
[thirdparty/glibc.git] / ChangeLog
CommitLineData
fc3d9497
FW
12017-08-31 Florian Weimer <fweimer@redhat.com>
2
3 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
4 * include/dirent.h (__opendirat, __getdents, __getdents64)
5 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
6 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
7 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
8 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
9 Likewise.
10 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
11
18c54fac
FW
122017-08-31 Florian Weimer <fweimer@redhat.com>
13
14 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
15 internal_function.
16 (GETCWD_RETURN_TYPE): Likewise.
17
7e01f080
FW
182017-08-31 Florian Weimer <fweimer@redhat.com>
19
20 * include/time.h (__tz_compute, __strptime_internal): Remove
21 internal_function.
22 * time/strptime_l.c (__strptime_internal): Likewise.
23 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
24
d7ccc6c9
FW
252017-08-31 Florian Weimer <fweimer@redhat.com>
26
27 * iconv/gconv.c (__gconv): Remove internal_function.
28 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
29 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
30 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31 (__gconv_release_cache): Likewise.
32 * iconv/gconv_close.c (__gconv_close): Likewise.
33 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34 (read_conf_file, __gconv_get_path): Likewise.
35 * iconv/gconv_db.c (derivation_lookup, add_derivation)
36 (__gconv_release_step, gen_steps, increment_counter)
37 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
38 (__gconv_close_transform, free_modules_db): Likewise.
39 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
40 Likewise.
41 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
42 (__gconv_find_transform, __gconv_lookup_cache)
43 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
44 (__gconv_close_transform, __gconv_release_cache)
45 (__gconv_loaded_object, __gconv_release_shlib)
46 (__gconv_compare_alias): Likewise.
47 * iconv/gconv_open.c (__gconv_open): Likewise.
48 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
49 * iconv/iconvconfig.c (add_module): Likewise.
50 * intl/dcigettext.c (plural_lookup, guess_category_value)
51 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
52 * intl/eval-plural.h (plural_eval): Likewise.
53 * intl/finddomain.c (_nl_find_domain): Likewise.
54 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
55 (_nl_load_domain, _nl_find_msg): Likewise.
56 (internal_function): Remove definition.
57 * intl/loadinfo.h (internal_function): Likewise.
58 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
59 internal_function.
60 * intl/localealias.c (internal_function): Remove definition.
61 (read_alias_file): Remove internal_function.
62 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
63 * intl/plural-exp.h (internal_function): Remove definition.
64 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
65 internal_function.
66 * intl/plural.c: Regenerate.
67 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
68 * locale/coll-lookup.c (__collidx_table_lookup)
69 (__collseq_table_lookup): Likewise.
70 * locale/coll-lookup.h (__collidx_table_lookup)
71 (__collseq_table_lookup): Likewise.
72 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
73 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
74 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
75 (_nl_unload_locale): Likewise.
76 * locale/localeinfo.h (struct __locale_data): Remove
77 internal_function from cleanup member.
78 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
79 (_nl_remove_locale, _nl_load_locale_from_archive)
80 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
81 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
82 (_nl_cleanup_time): Remove internal_function.
83 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
84 (_nl_parse_alt_digit): Likewise.
85 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
86 (_nl_select_era_entry): Likewise.
87 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
88 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
89 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
90 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
91 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 92
dab0eece
FW
932017-08-31 Florian Weimer <fweimer@redhat.com>
94
95 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
96 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
97 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
98 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
99 Likewise.
100 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
101 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
102 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
103 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
104 Likewise.
105 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
106
ab5bf7cf
FW
1072017-08-31 Florian Weimer <fweimer@redhat.com>
108
109 * misc/getttyent.c (skip, value): Remove internal_function.
110 * misc/syslog.c (openlog_internal): Likewise.
111 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
112
75b3047e
FW
1132017-08-31 Florian Weimer <fweimer@redhat.com>
114
115 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
116 (__nss_rewrite_field): Remove internal_function.
117 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
118 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
119 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
120 * nss/nsswitch.c (nss_parse_file, nss_getline)
121 (nss_parse_service_list, nss_new_service): Likewise.
122 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
123 * nss/valid_field.c (__nss_valid_field): Likewise.
124 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
125
0c71122c
FW
1262017-08-31 Florian Weimer <fweimer@redhat.com>
127
128 * malloc/arena.c (__malloc_fork_lock_parent)
129 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
130 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
131 internal_function from defintions.
132 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
133 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
134 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
135 internal_function from declarations.
136 * malloc/malloc.c (internal_function): Do not define.
137 (mem2mem_check): Remove internal_function from declaration.
138 (munmap_chunk, mremap_chunk): Remove internal_function.
139 * malloc/mtrace.c (tr_where): Likewise.
140
ca4ec803
FW
1412017-08-31 Florian Weimer <fweimer@redhat.com>
142
143 * include/rpc/pmap_clnt.h (__get_socket): Remove
144 internal_function.
145 * sunrpc/auth_des.c (synchronize): Likewise.
146 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
147 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
148 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
149 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
150 (key_call): Likewise.
151 * sunrpc/pm_getport.c (__get_socket): Likewise.
152 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
153 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
154 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
155 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
156 (invalidate): Likewise.
157 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
158 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
159 (set_input_fragment, get_input_bytes): Likewise.
160
24cffce7
FW
1612017-08-31 Florian Weimer <fweimer@redhat.com>
162
163 * malloc/malloc.c (_int_free): Remove locked variable and related
164 asserts.
165
ecd0747d
L
1662017-08-31 H.J. Lu <hongjiu.lu@intel.com>
167
168 [BZ #22051]
169 * Makerules (build-module-helper-objlist): Filter out
170 $(elf-objpfx)sofini.os.
171 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
172 needed.
173
5f0704b6
FW
1742017-08-31 Florian Weimer <fweimer@redhat.com>
175
176 * libio/fcloseall.c: Assume weak_alias is defined.
177 * libio/feof.c: Likewise.
178 * libio/fileno.c: Likewise.
179 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
180 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
181 definitions.
182 (_IO_file_open): Call __open directly.
183 (_IO_new_file_sync): Assume ESPIPE is defined.
184 (_IO_file_seekoff_maybe_mmap): Call __read directly.
185 (_IO_new_file_write): Call __write directly.
186 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
187 * libio/ftello64.c (__ftello64): Assume EIO is defined.
188 * libio/genops.c: Assume _LIBC is defined.
189 (save_for_backup): Remove internal_function.
190 * libio/getc.c: Assume weak_alias is defined.
191 * libio/getwc.c: Likewise.
192 * libio/iofclose.c: Assume _LIBC is defined.
193 * libio/iofdopen.c: Likewise.
194 (_IO_fcntl): Remove macro definition.
195 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
196 Call __fcntl directly.
197 * libio/iofflush.c: Assume weak_alias is defined.
198 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
199 defined.
200 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
201 * libio/iofgets.c: Likewise.
202 * libio/iofopen.c: Assume _LIBC is defined.
203 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
204 * libio/iofputs.c: Assume weak_alias is defined.
205 * libio/iofread.c: Likewise.
206 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
207 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
208 * libio/ioftell.c: Assume weak_alias is defined.
209 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
210 * libio/iofwide.c: Assume _LIBC is defined.
211 (_IO_fwide): Drop SHARED conditional because it is implied by
212 SHLIB_COMPAT.
213 * libio/iofwrite.c: Assume weak_alias is defined.
214 * libio/iogetdelim.c: Likewise.
215 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
216 * libio/iogetwline.c (wmemcpy): Remove macro definition.
217 (_IO_getwline): Call __wmemcpy directly.
218 * libio/iopopen.c: Assume _LIBC is defined.
219 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
220 (_IO_close): Remove macro definitions.
221 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
222 _exit directly.
223 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
224 directly.
225 * libio/ioputs.c: Assume weak_alias is defined.
226 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
227 * libio/iosetbuffer.c: Assume weak_alias is defined.
228 * libio/iosetvbuf.c: Likewise.
229 * libio/ioungetc.c: Likewise.
230 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
231 libc_hidden_def, libc_hidden_weak, NULL are defined.
232 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
233 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
234 defined.
235 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
236 definitions.
237 (_IO_old_file_init_internal): Drop SHARED conditional because it
238 is implied by SHLIB_COMPAT.
239 (_IO_old_file_fopen): Call __open directly.
240 (_IO_old_file_sync): Assume ESPIPE is defined.
241 (_IO_old_file_write): Call __write directly.
242 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
243 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
244 Call __fcntl directly.
245 * libio/oldiofgetpos.c: Assume weak_alias is defined.
246 (_IO_old_fgetpos): Assume EIO is defined.
247 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
248 (_IO_old_fgetpos64): Assume EIO is defined.
249 * libio/oldiofsetpos.c: Assume weak_alias is defined.
250 (_IO_old_fsetpos): Assume EIO is defined.
251 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
252 (_IO_old_fsetpos64): Assume EIO is defined.
253 * libio/oldiopopen.c: Assume _LIBC is defined.
254 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
255 (_IO_close): Remove macro definitions.
256 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
257 directly.
258 (_IO_old_proc_close): Call __close, __waitpid directly.
259 * libio/put.c: Assume weak_alias is defined.
260 * libio/stdfiles.c: Assume _LIBC is defined.
261 * libio/stdio.c: Likewise.
262 * libio/wfileops.c: Likewise.
263 (_IO_wfile_sync): Assume ESPIPE is defined.
264 * libio/wgenops.c: Assume _LIBC is defined.
265 (save_for_wbackup): Remove internal_function.
266
5129873a
FW
2672017-08-31 Florian Weimer <fweimer@redhat.com>
268
269 * malloc/malloc.c (top_check): Change return type to void. Remove
270 internal_function.
271 * malloc/hooks.c (top_check): Likewise.
272 (malloc_check, realloc_check, memalign_check): Adjust.
273
4fa9b3bf
JM
2742017-08-30 Joseph Myers <joseph@codesourcery.com>
275
276 [BZ #21457]
277 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
278 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
279 sigcontext and namespace requirements.
280 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
281 * sysdeps/m68k/sys/ucontext.h: Likewise.
282 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
283 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
284 <bits/sigcontext.h>.
285 (__ctx): Define earlier.
286 (mcontext_t): Define structure contents rather than using struct
287 sigcontext.
288 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
289 __glibc_reserved1 instead of __reserved.
290 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
291 <bits/sigcontext.h>.
292 (__ctx): Define earlier.
293 (mcontext_t): Define structure contents rather than using struct
294 sigcontext.
295 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
296 mcontext_t instead of struct sigcontext.
297 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
298 <bits/sigcontext.h>.
299 (__ctx): Define earlier.
300 (mcontext_t): Define structure contents rather than using struct
301 sigcontext.
302 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
303 <bits/sigcontext.h>.
304 (__ctx): Define earlier.
305 (mcontext_t): Define structure contents rather than using struct
306 sigcontext.
307 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
308 mcontext_t instead of struct sigcontext.
309 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
310 mcontext_t instead of struct sigcontext.
311 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
312 <bits/sigcontext.h>.
313 (__ctx): New macro.
314 (struct __ia64_fpreg_mcontext): New type.
315 (mcontext_t): Define structure contents rather than using struct
316 sigcontext.
317 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
318 (uc_sigmask): Define using __ctx.
319 (uc_stack): Likewise.
320 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
321 <bits/sigcontext.h>.
322 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
323 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
324 <bits/sigcontext.h>.
325 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
326 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
327 <bits/sigcontext.h>.
328 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
329 <bits/sigcontext.h>.
330 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
331 <bits/sigcontext.h>.
332 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
333 <bits/sigcontext.h>.
334 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
335 <bits/sigcontext.h>.
336 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
337 <bits/sigcontext.h>.
338 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
339 <bits/sigcontext.h>.
340 (__ctx): Define earlier.
341 (mcontext_t): Define structure contents rather than using struct
342 sigcontext.
343 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
344 <bits/sigcontext.h>. Include <bits/types.h>.
345 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
346 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
347 (test-xfail-XPG42/ucontext.h/conform): Likewise.
348 (test-xfail-UNIX98/signal.h/conform): Likewise.
349 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
350 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
351 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
352 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
353 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
354 (test-xfail-POSIX2008/signal.h/conform): Likewise.
355 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
356 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
357 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
358
5898f454
FW
3592017-08-30 Florian Weimer <fweimer@redhat.com>
360
361 * malloc/dynarray_emplace_enlarge.c
362 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
363 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
364 * malloc/tst-dynarray.c (test_long_overflow): New function.
365 (do_test): Call it.
366
a9da0bb2
FW
3672017-08-30 Florian Weimer <fweimer@redhat.com>
368
369 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
370 (set_arena_corrupt): Remove definitions.
371 (mtrim): Do not check for corrupt arena.
372 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
373 Likewise.
374
ac3ed168
FW
3752017-08-30 Florian Weimer <fweimer@redhat.com>
376
377 [BZ #21754]
378 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
379 check_action.
380 (ptmalloc_init): Do not set or use check_action.
381 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
382 call to malloc_printerr. Remove return statement.
383 (free_check): Likewise. Remove arena unlock.
384 (top_check): Update comment. Adjust call to malloc_printerr.
385 Remove heap repair code.
386 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
387 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
388 (sysmalloc): Adjust call to malloc_printerr.
389 (munmap_chunk, __libc_realloc): Likewise. Remove return
390 statement.
391 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
392 Remove errout label and corresponding gotos.
393 (_int_free): Likewise. Remove arena unlock.
394 (do_set_mallopt_check): Do not set check_action.
395 (malloc_printerr): Adjust parameter list. Do not mark arena as
396 corrupt.
397 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
398 comment.
399 * manual/probes.texi (Memory Allocation Probes): Remove
400 memory_mallopt_check_action.
401
44bcba80
SE
4022017-08-30 Steve Ellcey <sellcey@cavium.com>
403
404 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
405 Use pointer to uint64_t instead of long int for sp.
406
ec2c1fce
FW
4072017-08-30 Florian Weimer <fweimer@redhat.com>
408
409 [BZ #21754]
410 * malloc/malloc.c (malloc_printerr): Always terminate the process,
411 without printing a backtrace. Do not leak any information in the
412 error message.
413 * manual/memory.texi (Heap Consistency Checking): Update.
414 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
415
9ce673b6
FW
4162017-08-30 Florian Weimer <fweimer@redhat.com>
417
418 Do not scale NPTL tests with available number of CPUs.
419 * nptl/tst-cond16.c (count): Set to constant value of 8.
420 * nptl/tst-cond18.c (count): Likewise.
421
2f1aef19
JM
4222017-08-29 Joseph Myers <joseph@codesourcery.com>
423
424 [BZ #22035]
425 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
426 Define to take a second argument that is a macro that
427 concatentates a suffix, not the suffix itself.
428 (__CONCAT_d): New macro.
429 (__CONCAT_f): Likewise.
430 (__CONCAT_l): Likewise.
431
8325b477
PP
4322017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
433
434 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
435 by child.
436
319cbbf6
AZ
4372017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
438 Aurelien Jarno <aurelien@aurel32.net>
439 Maciej W. Rozycki <macro@imgtec.com>
440
441 [BZ #21956]
442 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
443 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
444 `mips16-syscall6' and `mips16-syscall7'.
445 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
446 (CFLAGS-mips16-syscall7.c): Remove.
447 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
448 Remove `__mips16_syscall5', `__mips16_syscall6' and
449 `__mips16_syscall7'.
450 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
451 (__mips16_syscall0): Rename `__mips16_syscall_return' to
452 `__mips_syscall_return'.
453 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
454 (__mips16_syscall1): Likewise.
455 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
456 (__mips16_syscall2): Likewise.
457 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
458 (__mips16_syscall3): Likewise.
459 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
460 (__mips16_syscall4): Likewise.
461 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
462 Remove.
463 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
464 Remove.
465 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
466 Remove.
467 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
468 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
469 `__mips16_syscall5'. Remove prototype.
470 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
471 `__mips16_syscall6'. Remove prototype.
472 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
473 `__mips16_syscall7'. Remove prototype.
474 (__nomips16, __mips16_syscall_return): Move to...
475 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
476 (__nomips16, __mips_syscall_return): ... here.
477 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
478 `__mips16_syscall_return' to `__mips_syscall_return'.
479 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
480 `internal_syscall##nr'.
481 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
482 `internal_syscall##nr'.
483 (FORCE_FRAME_POINTER): Remove.
484 (__mips_syscall5): New prototype.
485 (internal_syscall5): Rewrite to call `__mips_syscall5'.
486 (__mips_syscall6): New prototype.
487 (internal_syscall6): Rewrite to call `__mips_syscall6'.
488 (__mips_syscall7): New prototype.
489 (internal_syscall7): Rewrite to call `__mips_syscall7'.
490 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
491 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
492 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
493 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
494 (sysdep_routines): Add libc-do-syscall.
495 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
496 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
497
01b87c65
AZ
4982017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
499
500 [BZ #21672]
501 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
502 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
503 (advise_stack_range): New function.
504 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
505 stack non required to advise_stack_range at allocatestack.c
506
16f138a4
SN
5072017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
508
509 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
510
251bccfa
FW
5112017-08-29 Florian Weimer <fweimer@redhat.com>
512
513 [BZ #22026]
514 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
515 __end_fct. Mangle __end_fct after setting it to NULL.
516 * iconv/Makefile (tests): Add tst-gconv-init-failure.
517 (modules-names, modules-names-tests): Add
518 tst-gconv-init-failure-mod.
519 (gconv-modules): New target.
520 (tst-gconv-init-failure-mod.so): Link against libsupport.
521 (tst-gconv-init-failure): Depend on gconv-modules,
522 tst-gconv-init-failure-mod.so.
523 * iconv/tst-gconv-init-failure-mod.c: New file.
524 * iconv/tst-gconv-init-failure.c: Likewise.
525 * iconv/test-gconv-modules: Likewise.
526
e7c18b9d
FW
5272017-08-29 Florian Weimer <fweimer@redhat.com>
528
529 [BZ #22025]
530 * iconv/gconv_db.c (free_derivation): Remove redundant
531 parentheses.
532 (gen_steps): Unconditionally mangle __btowc_fct after
533 initialization.
534 (increment_counter): Likewise. Do not call init_fct for internal
535 modules.
536
7daada03
JM
5372017-08-29 Joseph Myers <joseph@codesourcery.com>
538
539 [BZ #22028]
540 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
541 (_MSUF_): Remove macro.
542 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
543 Likewise.
544 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
545 (__REDIRFROM_X): New macro.
546 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
547 Likewise.
548 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
549 (__REDIRTO_X): Likewise.
550 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
551 arguments.
552 (__MATH_REDIRCALL_2): Likewise.
553 (__MATH_REDIRCALL_INTERNAL): Likewise.
554 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
555 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
556 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
557 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
558 * math/test-finite-macros.c: New file.
559 * math/Makefile (tests): Add test-finite-macros.
560 (CFLAGS-test-finite-macros.c): New variable.
561
1cf1232c
PF
5622017-08-29 Patsy Franklin <pfrankli@redhat.com>
563 Jeff Law <law@redhat.com>
564
565 [BZ #22025]
566 Mangle NULL pointers in iconv/gconv.
567 * iconv/gconv_cache.c (find_module): Demangle init_fct before
568 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
569 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
570 is non-NULL before demangling the end_fct. Check for NULL
571 end_fct after demangling.
572 (__gconv_release_step): Demangle the end_fct before checking
573 it for NULL. Remove assert on __shlibc_handle != NULL.
574 (gen_steps): Don't check btowc_fct for NULL before mangling.
575 Demangle init_fct before checking for NULL.
576 (increment_counter): Likewise.
577 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
578 end_fct for NULL before mangling.
579 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
580 for NULL.
581
f8de9568
AK
5822017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
583
584 [BZ #21971]
585 * locale/iso-639.def: add Morisyen.
586
42496114
GG
5872017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
588
589 [BZ #21930]
590 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
591 (iszero): New C++ implementation that does not use
592 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
593 signaling nans are enabled, since __builtin_types_compatible_p
594 is a C-only feature.
595 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
596 defined, include ieee754_float128.h for access to the union and
597 member ieee854_float128.ieee.
598 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
599 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
600 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
601 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
602 options of test-math-zero on powerpc64le.
603
5e2bc4ff
L
6042017-08-28 H.J. Lu <hongjiu.lu@intel.com>
605
606 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
607 Change double to float.
608
a48c0fb4
JM
6092017-08-28 Joseph Myers <joseph@codesourcery.com>
610
611 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
612 unconditional.
613 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
614 conditional code; define contents only for [LIBM_SVID_COMPAT].
615
ee17d4e9
FW
6162017-08-28 Florian Weimer <fweimer@redhat.com>
617
618 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
619 (abi-lp64_be-options): Remove.
620 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
621 (abi-hard-options): Likewise.
622 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
623 (abi-o32_hard-options, abi-o32_soft_2008-options)
624 (abi-o32_hard_2008-options, abi-n32_soft-options)
625 (abi-n32_hard-options, abi-n32_soft_2008-options)
626 (abi-n32_hard_2008-options, abi-n64_soft-options)
627 (abi-n64_hard-options, abi-n64_soft_2008-options)
628 (abi-n64_hard_2008-options): Likewise.
629 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
630 (abi-64-v1-options, abi-64-v2-options): Likewise.
631 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
632 (abi-64-options): Likewise.
633 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
634 (abi-64-options): Likewise.
635 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
636 (abi-64-options): Likewise.
637 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
638 (abi-64-options, abi-x32-options): Likewise.
639
2dba5ce7
FW
6402017-08-28 Florian Weimer <fweimer@redhat.com>
641
642 Store supported list of SYS_* system calls in the source tree.
643 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
644 (bits/syscall.h): Generate from list file.
645 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
646 [$(subdir) = misc] (tests): Add tst-syscall-list.
647 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
648 [$(subdir) = misc] (tst-syscall-list-macros.list)
649 [$(subdir) = misc] (tst-syscall-list-nr.list)
650 (tst-syscall-list-sys.list): Helper targets for new
651 tst-syscall-list test.
652 [$(subdir) = misc] (tst-syscall-list.out): Run test script
653 tst-syscall-list.sh.
654 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
655 target. Do not include bits/syscall.d.
656 [$(subdir) = misc] (generated): Do not update.
657 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
658 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
659 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
660 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
661
5f3b183d
PP
6622017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
663
664 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
665 (tst-cxa_atexit, tst-on_exit): Likewise.
666 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
667 tst-cxa_atexit, and tst-on_exit.
668 * stdlib/tst-atexit-common.c: New file.
669 * stdlib/tst-atexit.c: New file.
670 * stdlib/tst-at_quick_exit.c: New file.
671 * stdlib/tst-cxa_atexit.c: New file.
672 * stdlib/tst-on_exit.c: New file.
673
2ef8d469
ST
6742017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
675
676 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
677 * mach/stack_chk_fail_local.c: New file.
678 * hurd/stack_chk_fail_local.c: New file.
679 * mach/Machrules ($(interface-library)-routines): Add
680 stack_chk_fail_local.
99ee4d26
ST
681 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
682 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
683 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
684 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
685 * hurd/Makefile (CFLAGS-hurdstartup.o,
686 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 687
7ab70c98
L
6882017-08-25 H.J. Lu <hongjiu.lu@intel.com>
689
690 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
691 (index_cpu_*, index_arch_*): Removed.
692
39e7a5a6
SN
6932017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
694
695 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
696 Use uint64_t instead of unsigned long.
697
bba5c930
JM
6982017-08-25 Joseph Myers <joseph@codesourcery.com>
699
a6ccdb08
JM
700 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
701 [__HAVE_DISTINCT_FLOAT128].
702
23761119
JM
703 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
704 of <bits/math-finite.h>.
705 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
706 inclusion of <bits/math-finite.h>.
707 * math/bits/math-finite.h (__REDIRTO_X): Do not define
708 conditionally on [__MATH_DECLARING_LDOUBLE && defined
709 __NO_LONG_DOUBLE_MATH].
710 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
711 (__MATH_REDIRCALL_2): Likewise.
712 (__MATH_REDIRCALL_INTERNAL): Likewise.
713 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
714 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
715 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
716
bba5c930
JM
717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
718 Remove file.
719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
720 Likewise.
721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
722 Likewise.
723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
724 Likewise.
725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
726 Likewise.
727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
728 Likewise.
729 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
730 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
731 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
732 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
734 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
735 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
736 w_sqrtf_compat-ppc32.
737
3d7b66f6
GG
7382017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
739
740 * math/math.h [defined __cplusplus] (issignaling): In the long
741 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
742 is not defined. Call __issignaling, otherwise.
743
ebd6f007
AZ
7442017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
745
746 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
747 syscall definitions and replace __builtin_expect with __glibc_likely.
748 * sysdeps/unix/syscall-template.S: Update comment about cancellable
749 syscall.
750 (SYSCALL_CANCELLABLE): Removedefinition
751 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
752 definition.
753 (PSEUDO_END): Likewise.
754 [IS_IN (libpthread)] (CENABLE): Likewise.
755 [IS_IN (libpthread)] (CDISABLE): Likewise.
756 [IS_IN (libc)] (CENABLE): Likewise.
757 [IS_IN (libc)] (CENABLE): Likewise.
758 [IS_IN (librt)] (CDISABLE): Likewise.
759 [IS_IN (librt)] (CDISABLE): Likewise.
760 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
761 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
762 definition.
763 (PSEUDO_END): Likewise.
764 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
765 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
766 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
767 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
768 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
769 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
770 (CENABLE): Likewise.
771 (CDISABLE): Likewise.
772 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
773 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
774 defintion.
775 (PSEUDO_END): Likewise.
776 [IS_IN (libpthread)] (CENABLE): Likewise.
777 [IS_IN (libpthread)] (CDISABLE): Likewise.
778 [IS_IN (libc)] (CENABLE): Likewise.
779 [IS_IN (libc)] (CENABLE): Likewise.
780 [IS_IN (librt)] (CDISABLE): Likewise.
781 [IS_IN (librt)] (CDISABLE): Likewise.
782 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
783 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
784 definition.
785 (PSEUDO_END): Likewise.
786 [IS_IN (libpthread)] (CENABLE): Likewise.
787 [IS_IN (libpthread)] (CDISABLE): Likewise.
788 [IS_IN (libc)] (CENABLE): Likewise.
789 [IS_IN (libc)] (CENABLE): Likewise.
790 [IS_IN (librt)] (CDISABLE): Likewise.
791 [IS_IN (librt)] (CDISABLE): Likewise.
792 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
793 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
794 definition.
795 (PSEUDO_END): Likewise.
796 [IS_IN (libpthread)] (CENABLE): Likewise.
797 [IS_IN (libpthread)] (CDISABLE): Likewise.
798 [IS_IN (libc)] (CENABLE): Likewise.
799 [IS_IN (libc)] (CENABLE): Likewise.
800 [IS_IN (librt)] (CDISABLE): Likewise.
801 [IS_IN (librt)] (CDISABLE): Likewise.
802 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
803 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
804 definition.
805 (PSEUDO_END): Likewise.
806 [IS_IN (libpthread)] (CENABLE): Likewise.
807 [IS_IN (libpthread)] (CDISABLE): Likewise.
808 [IS_IN (libc)] (CENABLE): Likewise.
809 [IS_IN (libc)] (CENABLE): Likewise.
810 [IS_IN (librt)] (CDISABLE): Likewise.
811 [IS_IN (librt)] (CDISABLE): Likewise.
812 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
813 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
814 definition.
815 (PSEUDO_END): Likewise.
816 [IS_IN (libpthread)] (CENABLE): Likewise.
817 [IS_IN (libpthread)] (CDISABLE): Likewise.
818 [IS_IN (libc)] (CENABLE): Likewise.
819 [IS_IN (libc)] (CENABLE): Likewise.
820 [IS_IN (librt)] (CDISABLE): Likewise.
821 [IS_IN (librt)] (CDISABLE): Likewise.
822 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
823 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
824 definition.
825 (PSEUDO_END): Likewise.
826 [IS_IN (libpthread)] (CENABLE): Likewise.
827 [IS_IN (libpthread)] (CDISABLE): Likewise.
828 [IS_IN (libc)] (CENABLE): Likewise.
829 [IS_IN (libc)] (CENABLE): Likewise.
830 [IS_IN (librt)] (CDISABLE): Likewise.
831 [IS_IN (librt)] (CDISABLE): Likewise.
832 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
833 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
834 Remove definition.
835 (PSEUDO_END): Likewise.
836 [IS_IN (libpthread)] (CENABLE): Likewise.
837 [IS_IN (libpthread)] (CDISABLE): Likewise.
838 [IS_IN (libc)] (CENABLE): Likewise.
839 [IS_IN (libc)] (CENABLE): Likewise.
840 [IS_IN (librt)] (CDISABLE): Likewise.
841 [IS_IN (librt)] (CDISABLE): Likewise.
842 (SINGLE_THREAD_P): Likewise.
843 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
844 definition.
845 (PSEUDO_END): Likewise.
846 [IS_IN (libpthread)] (CENABLE): Likewise.
847 [IS_IN (libpthread)] (CDISABLE): Likewise.
848 [IS_IN (libc)] (CENABLE): Likewise.
849 [IS_IN (libc)] (CENABLE): Likewise.
850 [IS_IN (librt)] (CDISABLE): Likewise.
851 [IS_IN (librt)] (CDISABLE): Likewise.
852 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
853 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
854 definition.
855 (PSEUDO_END): Likewise.
856 [IS_IN (libpthread)] (CENABLE): Likewise.
857 [IS_IN (libpthread)] (CDISABLE): Likewise.
858 [IS_IN (libc)] (CENABLE): Likewise.
859 [IS_IN (libc)] (CENABLE): Likewise.
860 [IS_IN (librt)] (CDISABLE): Likewise.
861 [IS_IN (librt)] (CDISABLE): Likewise.
862 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
863 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
864 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
865 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
866 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
867 definition.
868 (PSEUDO_END): Likewise.
869 [IS_IN (libpthread)] (CENABLE): Likewise.
870 [IS_IN (libpthread)] (CDISABLE): Likewise.
871 [IS_IN (libc)] (CENABLE): Likewise.
872 [IS_IN (libc)] (CENABLE): Likewise.
873 [IS_IN (librt)] (CDISABLE): Likewise.
874 [IS_IN (librt)] (CDISABLE): Likewise.
875 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
876 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
877 definition.
878 (PSEUDO_END): Likewise.
879 [IS_IN (libpthread)] (CENABLE): Likewise.
880 [IS_IN (libpthread)] (CDISABLE): Likewise.
881 [IS_IN (libc)] (CENABLE): Likewise.
882 [IS_IN (libc)] (CENABLE): Likewise.
883 [IS_IN (librt)] (CDISABLE): Likewise.
884 [IS_IN (librt)] (CDISABLE): Likewise.
885 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
886 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
887 definition.
888 (PSEUDO_END): Likewise.
889 [IS_IN (libpthread)] (CENABLE): Likewise.
890 [IS_IN (libpthread)] (CDISABLE): Likewise.
891 [IS_IN (libc)] (CENABLE): Likewise.
892 [IS_IN (libc)] (CENABLE): Likewise.
893 [IS_IN (librt)] (CDISABLE): Likewise.
894 [IS_IN (librt)] (CDISABLE): Likewise.
895 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
897 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
898 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
899 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
900 definition.
901 (PSEUDO_END): Likewise.
902 [IS_IN (libpthread)] (CENABLE): Likewise.
903 [IS_IN (libpthread)] (CDISABLE): Likewise.
904 [IS_IN (libc)] (CENABLE): Likewise.
905 [IS_IN (libc)] (CENABLE): Likewise.
906 [IS_IN (librt)] (CDISABLE): Likewise.
907 [IS_IN (librt)] (CDISABLE): Likewise.
908 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
909 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
910 definition.
911 (PSEUDO_END): Likewise.
912 [IS_IN (libpthread)] (CENABLE): Likewise.
913 [IS_IN (libpthread)] (CDISABLE): Likewise.
914 [IS_IN (libc)] (CENABLE): Likewise.
915 [IS_IN (libc)] (CENABLE): Likewise.
916 [IS_IN (librt)] (CDISABLE): Likewise.
917 [IS_IN (librt)] (CDISABLE): Likewise.
918 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
919
8aa48656
SN
9202017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
921
922 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
923
fcaaca41
L
9242017-08-23 H.J. Lu <hongjiu.lu@intel.com>
925
926 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
927
376b40a2
L
9282017-08-23 H.J. Lu <hongjiu.lu@intel.com>
929
930 [BZ #21982]
931 * string/stratcliff.c (do_test): Declare size, nchars, inner,
932 middle and outer with size_t instead of int. Repleace %d and
933 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
934 "MAX (outer, nchars - 64)" to support unsigned outer and
935 nchars. Also exit loop when outer == 0.
936
2b0b9a1c
AZ
9372017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
938
939 * include/fcntl.h (__fcntl_nocancel): Remove definition.
940 * include/signal.h (__sigsuspend_nocancel): Likewise.
941 * include/time.h (__nanosleep_nocancel): Likewise.
942 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
943 * login/utmp_file.c: Include non cancellable syscall header.
944 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
945 prototype.
946
b9eaca8f
L
9472017-08-23 H.J. Lu <hongjiu.lu@intel.com>
948
949 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
950 .byte sequences with AVX512F instructions.
951 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
952 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
953 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
954 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
955 Likewise.
956 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
957 Likewise.
958
5a706f64
SE
9592017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
960 Steve Ellcey <sellcey@cavium.com>
961
962 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
963 Use PTR_REG macro in cmp instruction.
964
b513da7e
GG
9652017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
966
967 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
968 Change the return type of the ifunc resolver to match the return
969 type of the target function.
970
78ca091c
AZ
9712017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
972
b70b6026
AZ
973 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
974 (preadv64): Likewise.
975 (pwrite64(: Likewise.
976 (pwritev64): Likewise.
977
78ca091c
AZ
978 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
979 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
980 (LOAD_ARGS_0): Likewise.
981 (LOAD_ARGS_1): Likewise.
982 (LOAD_ARGS_2): Likewise.
983 (LOAD_ARGS_3): Likewise.
984 (LOAD_ARGS_4): Likewise.
985 (LOAD_ARGS_5): Likewise.
986 (LOAD_ARGS_6): Likewise.
987 (LOAD_REGS_0): Likewise.
988 (LOAD_REGS_1): Likewise.
989 (LOAD_REGS_2): Likewise.
990 (LOAD_REGS_3): Likewise.
991 (LOAD_REGS_4): Likewise.
992 (LOAD_REGS_5): Likewise.
993 (LOAD_REGS_6): Likewise.
994 (ASM_ARGS_0): Likewise.
995 (ASM_ARGS_1): Likewise.
996 (ASM_ARGS_2): Likewise.
997 (ASM_ARGS_3): Likewise.
998 (ASM_ARGS_4): Likewise.
999 (ASM_ARGS_5): Likewise.
1000 (ASM_ARGS_6): Likewise.
1001 (LOAD_ARGS_TYPES_1): Likewise.
1002 (LOAD_ARGS_TYPES_2): Likewise.
1003 (LOAD_ARGS_TYPES_3): Likewise.
1004 (LOAD_ARGS_TYPES_4): Likewise.
1005 (LOAD_ARGS_TYPES_5): Likewise.
1006 (LOAD_ARGS_TYPES_6): Likewise.
1007 (LOAD_REGS_TYPES_1): Likewise.
1008 (LOAD_REGS_TYPES_2): Likewise.
1009 (LOAD_REGS_TYPES_3): Likewise.
1010 (LOAD_REGS_TYPES_4): Likewise.
1011 (LOAD_REGS_TYPES_5): Likewise.
1012 (LOAD_REGS_TYPES_6): Likewise.
1013 (TYPEFY): New define.
1014 (ARGIFY): Likewise.
1015 (internal_syscall0): Likewise.
1016 (internal_syscall1): Likewise.
1017 (internal_syscall2): Likewise.
1018 (internal_syscall3): Likewise.
1019 (internal_syscall4): Likewise.
1020 (internal_syscall5): Likewise.
1021 (internal_syscall6): Likewise.
1022 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
1023 (INTERNAL_SYSCALL_NCS): Remove define.
1024 (internal_syscall1): Add define.
1025
453a493d
GG
10262017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1027
1028 * math/w_remainder_compat.c: Remove duplicate inclusion of
1029 math-svid-compat.h.
1030 * math/w_remainderf_compat.c: Likewise.
1031 * math/w_remainderl_compat.c: Likewise.
1032
f2f048a5
GG
10332017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1034
1035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1036
d9bef9c0
JM
10372017-08-22 Joseph Myers <joseph@codesourcery.com>
1038
1039 [BZ #21684]
1040 * math/tgmath.h (__floating_type): Simplify definitions.
1041 (__real_integer_type): New macro.
1042 (__complex_integer_type): Likewise.
1043 (__expr_is_real): Likewise.
1044 (__tgmath_real_type_sub): Update comment to describe handling of
1045 complex types.
1046 (__tgmath_complex_type_sub): New macro.
1047 (__tgmath_complex_type): Likewise.
1048 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1049 (__TGMATH_CF128): Use __expr_is_real.
1050 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
1051 __expr_is_real.
1052 (__TGMATH_BINARY_REAL_IMAG): Likewise.
1053 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
1054 * math/gen-tgmath-tests.py (Type.create_type): Create complex
1055 integer types.
1056
08d6eb46
AZ
10572017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1058
988f991b
AZ
1059 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
1060 macro.
1061 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
1062 alias.
1063 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
1064 Likewise.
1065
6f33fd04
AZ
1066 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
1067 nanosleep_not_cancel with __nanosleep_nocancel.
1068 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
1069 (__nanosleep_nocancel): New macro.
1070 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
1071 function.
1072 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
1073 macro.
1074 (__nanosleep_nocancel): New prototype.
1075
08d6eb46
AZ
1076 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
1077 pause_not_cancel with __pause_nocancel.
1078 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
1079 (__pause_nocancel): New macro.
1080 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
1081 macro.
1082 (__pause_nocancel): New prototype.
1083 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
1084
ee4e992e
MS
10852017-08-22 Martin Sebor <msebor@redhat.com>
1086
1087 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
1088 to return a pointer to the same type as the target function.
1089
20962acb
L
10902017-08-22 H.J. Lu <hongjiu.lu@intel.com>
1091
1092 [BZ #18822]
1093 [BZ #21986]
1094 * include/printf.h (__printf_fphex): Add attribute_hidden.
1095 (__guess_grouping): New prototype.
1096 * stdio-common/printf_fp.c (__guess_grouping): Removed.
1097 * stdio-common/reg-printf.c (__register_printf_specifier): Add
1098 libc_hidden_proto and libc_hidden_def.
1099 * stdlib/strfmon_l.c (__guess_grouping): Removed.
1100 (__vstrfmon_l): Remove the third argument passed to
1101 __guess_grouping.
1102
a16e8bc0
GG
11032017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1104
1105 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
1106 definition for issignaling that does not rely on __MATH_TG,
1107 since __MATH_TG uses __builtin_types_compatible_p, which is only
1108 available in C mode.
1109 (CFLAGS-test-math-issignaling.cc): New variable.
1110 * math/Makefile [CXX] (tests): Add test-math-issignaling.
1111 * math/test-math-issignaling.cc: New test for C++ implementation
1112 of type-generic issignaling.
1113 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
1114 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
1115 options of test-math-issignaling on powerpc64le.
1116
8d2ec553
L
11172017-08-22 H.J. Lu <hongjiu.lu@intel.com>
1118
1119 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
1120 building libc.a.
1121 (hidden_proto): Likewise.
1122 (hidden_tls_proto): Likewise.
1123 (__hidden_proto): Likewise.
1124
a4d57b79
FW
11252017-08-22 Florian Weimer <fweimer@redhat.com>
1126
1127 math: Statically link tests of internal functionality.
1128 * math/Makefile (tests): Remove atest-exp, atest-sincos,
1129 atest-exp2.
1130 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
1131 (gmp-objs): Remove assignment.
1132 (atest-exp, atest-sincos, atest-exp2): Remove targets.
1133
75dfe623
JM
11342017-08-22 Joseph Myers <joseph@codesourcery.com>
1135
80f91666
JM
1136 [BZ #21987]
1137 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
1138 and copy to ...
1139 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
1140 ... here.
1141 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
1142 ... and here.
1143
75dfe623
JM
1144 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
1145 variable definitions above inclusion of ../Rules.
1146
ea99fcd0
JM
11472017-08-21 Joseph Myers <joseph@codesourcery.com>
1148
1149 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
1150 case calling __builtin_unreachable.
1151
19926de9
AZ
11522017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1153
a8410a5f
AZ
1154 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
1155 __waitpid_nocancel.
1156 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
1157 (__waitpid_nocancel): New macro.
1158 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
1159 macro.
1160 (__waitpid_nocancel): Replace macro with a function.
1161 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
1162 function.
1163
7369800c
AZ
1164 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
1165 __fcntl_nocancel.
1166 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
1167 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
1168
19926de9
AZ
1169 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
1170 __writev_nocancel_nostatus.
1171 (write_call_graph): Likewise.
1172 (write_bb_counts): Likewise.
1173 * resolv/herror.c (herror): Likewise.
1174 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
1175 macro.
1176 (__writev_nocancel_nostatus): New macro.
1177 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
1178 Remove macro.
1179 (__writev_nocancel_nostatus): New function.
1180
813378e9
JM
11812017-08-21 Joseph Myers <joseph@codesourcery.com>
1182
df1deda6
JM
1183 Revert:
1184 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1185
1186 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
1187 building libc.a.
1188 (hidden_proto): Likewise.
1189 (hidden_tls_proto): Likewise.
1190 (__hidden_proto): Likewise.
1191
831bbd55
JM
1192 [BZ #21973]
1193 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
1194 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1196 Likewise.
1197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
1198 Likewise.
1199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1200 Likewise.
1201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
1202 Likewise.
1203 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
1204 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1205 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1206 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1207 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1208 GLIBC_2.0 sqrtl symbol.
1209
813378e9
JM
1210 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
1211 [__USE_MISC] (_LIB_VERSION): Likewise.
1212 [__USE_MISC] (struct exception): Likewise.
1213 [__USE_MISC] (matherr): Likewise.
1214 [__USE_MISC] (DOMAIN): Likewise.
1215 [__USE_MISC] (SING): Likewise.
1216 [__USE_MISC] (OVERFLOW): Likewise.
1217 [__USE_MISC] (UNDERFLOW): Likewise.
1218 [__USE_MISC] (TLOSS): Likewise.
1219 [__USE_MISC] (PLOSS): Likewise.
1220 [__USE_MISC] (HUGE): Likewise.
1221 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
1222 * math/math-svid-compat.h: New file.
1223 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
1224 and matherrl.
1225 * include/math.h [!_ISOMAC] (__matherr): Remove.
1226 * manual/arith.texi (FP Exceptions): Do not document matherr.
1227 * math/Makefile (tests): Change test-matherr to test-matherr-3.
1228 (tests-internal): New variable.
1229 (install-lib): Do not add libieee.a.
1230 (non-lib.a): Likewise.
1231 (extra-objs): Do not add libieee.a and ieee-math.o.
1232 (CPPFLAGS-s_lib_version.c): Remove variable.
1233 ($(objpfx)libieee.a): Remove rule.
1234 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
1235 * math/ieee-math.c: Remove.
1236 * math/libm-test-support.c (matherr): Remove.
1237 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
1238 and license notices. Include <math-svid-compat.h> and
1239 <shlib-compat.h>.
1240 (matherr): Undefine as macro. Use compat_symbol_reference.
1241 (_LIB_VERSION): Likewise.
1242 * math/test-matherr-2.c: New file.
1243 * math/test-matherr-3.c: Likewise.
1244 * sysdeps/generic/math_private.h (__kernel_standard): Remove
1245 declaration.
1246 (__kernel_standard_f): Likewise.
1247 (__kernel_standard_l): Likewise.
1248 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
1249 <math_private.h>. Include <math-svid-compat.h>.
1250 (_LIB_VERSION): Undefine as macro.
1251 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
1252 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
1253 [LIBM_SVID_COMPAT], use compat_symbol.
1254 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
1255 <math_private.h>. Include <math-svid-compat.h>.
1256 (matherr): Undefine as macro.
1257 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
1258 compat_symbol.
1259 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
1260 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
1261 compat_symbol_reference.
1262 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
1263 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
1264 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
1265 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
1266 (MATHERR_D): Remove declaration.
1267 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
1268 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
1269 [LIBM_BUILD] (pmatherrf): Likewise.
1270 [LIBM_BUILD] (pmatherr): Likewise.
1271 [LIBM_BUILD] (pmatherrl): Likewise.
1272 (DOMAIN): Likewise.
1273 (SING): Likewise.
1274 (OVERFLOW): Likewise.
1275 (UNDERFLOW): Likewise.
1276 (TLOSS): Likewise.
1277 (PLOSS): Likewise.
1278 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
1279 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
1280 compat_symbol.
1281 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
1282 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
1283 compat_symbol.
1284 * math/lgamma-compat.h: Include <math-svid-compat.h>.
1285 * math/w_acos_compat.c: Likewise.
1286 * math/w_acosf_compat.c: Likewise.
1287 * math/w_acosh_compat.c: Likewise.
1288 * math/w_acoshf_compat.c: Likewise.
1289 * math/w_acoshl_compat.c: Likewise.
1290 * math/w_acosl_compat.c: Likewise.
1291 * math/w_asin_compat.c: Likewise.
1292 * math/w_asinf_compat.c: Likewise.
1293 * math/w_asinl_compat.c: Likewise.
1294 * math/w_atan2_compat.c: Likewise.
1295 * math/w_atan2f_compat.c: Likewise.
1296 * math/w_atan2l_compat.c: Likewise.
1297 * math/w_atanh_compat.c: Likewise.
1298 * math/w_atanhf_compat.c: Likewise.
1299 * math/w_atanhl_compat.c: Likewise.
1300 * math/w_cosh_compat.c: Likewise.
1301 * math/w_coshf_compat.c: Likewise.
1302 * math/w_coshl_compat.c: Likewise.
1303 * math/w_exp10_compat.c: Likewise.
1304 * math/w_exp10f_compat.c: Likewise.
1305 * math/w_exp10l_compat.c: Likewise.
1306 * math/w_exp2_compat.c: Likewise.
1307 * math/w_exp2f_compat.c: Likewise.
1308 * math/w_exp2l_compat.c: Likewise.
1309 * math/w_fmod_compat.c: Likewise.
1310 * math/w_fmodf_compat.c: Likewise.
1311 * math/w_fmodl_compat.c: Likewise.
1312 * math/w_hypot_compat.c: Likewise.
1313 * math/w_hypotf_compat.c: Likewise.
1314 * math/w_hypotl_compat.c: Likewise.
1315 * math/w_j0_compat.c: Likewise.
1316 * math/w_j0f_compat.c: Likewise.
1317 * math/w_j0l_compat.c: Likewise.
1318 * math/w_j1_compat.c: Likewise.
1319 * math/w_j1f_compat.c: Likewise.
1320 * math/w_j1l_compat.c: Likewise.
1321 * math/w_jn_compat.c: Likewise.
1322 * math/w_jnf_compat.c: Likewise.
1323 * math/w_jnl_compat.c: Likewise.
1324 * math/w_lgamma_main.c: Likewise.
1325 * math/w_lgamma_r_compat.c: Likewise.
1326 * math/w_lgammaf_main.c: Likewise.
1327 * math/w_lgammaf_r_compat.c: Likewise.
1328 * math/w_lgammal_main.c: Likewise.
1329 * math/w_lgammal_r_compat.c: Likewise.
1330 * math/w_log10_compat.c: Likewise.
1331 * math/w_log10f_compat.c: Likewise.
1332 * math/w_log10l_compat.c: Likewise.
1333 * math/w_log2_compat.c: Likewise.
1334 * math/w_log2f_compat.c: Likewise.
1335 * math/w_log2l_compat.c: Likewise.
1336 * math/w_log_compat.c: Likewise.
1337 * math/w_logf_compat.c: Likewise.
1338 * math/w_logl_compat.c: Likewise.
1339 * math/w_pow_compat.c: Likewise.
1340 * math/w_powf_compat.c: Likewise.
1341 * math/w_powl_compat.c: Likewise.
1342 * math/w_remainder_compat.c: Likewise.
1343 * math/w_remainderf_compat.c: Likewise.
1344 * math/w_remainderl_compat.c: Likewise.
1345 * math/w_scalb_compat.c: Likewise.
1346 * math/w_scalbf_compat.c: Likewise.
1347 * math/w_scalbl_compat.c: Likewise.
1348 * math/w_sinh_compat.c: Likewise.
1349 * math/w_sinhf_compat.c: Likewise.
1350 * math/w_sinhl_compat.c: Likewise.
1351 * math/w_sqrt_compat.c: Likewise.
1352 * math/w_sqrtf_compat.c: Likewise.
1353 * math/w_sqrtl_compat.c: Likewise.
1354 * math/w_tgamma_compat.c: Likewise.
1355 * math/w_tgammaf_compat.c: Likewise.
1356 * math/w_tgammal_compat.c: Likewise.
1357 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1358 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1359 * sysdeps/ieee754/k_standard.c: Likewise.
1360 * sysdeps/ieee754/k_standardf.c: Likewise.
1361 * sysdeps/ieee754/k_standardl.c: Likewise.
1362 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1363 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1364 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1365 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1366 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1367 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1368 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1369 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
1370 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1372 Likewise.
1373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1374 Likewise.
1375 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
1376 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1377 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1378 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1379
4504783c
FW
13802017-08-21 Florian Weimer <fweimer@redhat.com>
1381
1382 [BZ #21864]
1383 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
1384 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
1385 Move before inclusion of ../Rules.
1386
b5889d25
FW
13872017-08-21 Florian Weimer <fweimer@redhat.com>
1388
1389 [BZ #21972]
1390 * assert/assert.h (assert): Use static_cast (bool) for C++.
1391 Use the ternary operator in the warning branch for GNU C.
1392 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
1393 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
1394 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
1395 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
1396 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
1397
41e673c1
L
13982017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 [BZ #18822]
1401 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1402 (__syscall_clock_gettime): Add attribute_hidden.
1403 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
1404 (__start_context): Likewise.
1405
568ff429
L
14062017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1407
1408 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
1409 building libc.a.
1410 (hidden_proto): Likewise.
1411 (hidden_tls_proto): Likewise.
1412 (__hidden_proto): Likewise.
1413
7c41b4a1
L
14142017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1415
1416 * include/libc-symbols.h (attribute_hidden): Enable hidden
1417 visibility in libc.a compiled with PIE.
1418
483d7068
L
14192017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1420
1421 [BZ #18822]
1422 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
1423 Add attribute_hidden.
1424
14252017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1426
1427 [BZ #21864]
1428 * Makerules (all-nonlib): Add $(others-extras).
1429 * catgets/Makefile (others-extras): New.
1430 * elf/Makefile (others-extras): Likewise.
1431 * nss/Makefile (others-extras): Likewise.
1432
54e4b8f2
L
14332017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1434
1435 [BZ #18822]
1436 * csu/libc-start.c (__libc_multiple_libcs): Removed.
1437 * elf/dl-open.c: Include <libc-internal.h>.
1438 (__libc_multiple_libcs): Removed.
1439 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
1440 <hp-timing.h>.
1441 * include/libc-internal.h (__libc_multiple_libcs): New.
1442 * misc/sbrk.c: Include <libc-internal.h>.
1443 (__libc_multiple_libcs): Removed.
1444
1dbbb1ec
L
14452017-08-21 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 [BZ #18822]
1448 * grp/initgroups.c (__nss_group_database): Removed.
1449 (__nss_initgroups_database): Likewise.
1450 * nscd/gai.c (__nss_hosts_database): Likewise.
1451 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
1452 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
1453 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
1454 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
1455 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
1456 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
1457 attribute_hidden.
1458 * nss/nsswitch.c (__nss_database_custom): Define only if
1459 USE_NSCD is defined.
1460 (__nss_configure_lookup): Use __nss_database_custom only if
1461 USE_NSCD is defined.
1462 * nss/nsswitch.h (__nss_database_custom): Declare only if
1463 USE_NSCD is defined. Add attribute_hidden.
1464 (__nss_setent): Add attribute_hidden.
1465 (__nss_endent): Likewise.
1466 (__nss_getent_r): Likewise.
1467 (__nss_getent): Likewise.
1468 (DEFINE_DATABASE): Declare __nss_##arg##_database.
1469
2585d7b8
L
14702017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1471
1472 [BZ #18822]
1473 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
1474 libc_hidden_proto and libc_hidden_def.
1475
c8dfa99c
L
14762017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1477
1478 [BZ #18822]
1479 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
1480 Add libc_hidden_proto.
1481 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
1482 Add libc_hidden_def.
1483
7ed87317
L
14842017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 [BZ #21974]
1487 * gmon/Makefile (routines): Remove bb_init_func and
1488 bb_exit_func.
1489 (elide-routines.os): Removed.
9476b904
L
1490 * gmon/bb_exit_func.c: Likewise.
1491 * gmon/bb_init_func.c: Likewise.
7ed87317
L
1492 * include/sys/gmon.h (__bb): Likewise.
1493 (__bb_init_func): Likewise.
1494 (__bb_exit_func): Likewise.
91695eb1 1495 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 1496
94e6ba15
L
14972017-08-20 H.J. Lu <hongjiu.lu@intel.com>
1498
1499 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
1500 * include/setjmp.h (____longjmp_chk): Here. Add
1501 attribute_hidden.
1502
7550717e
L
15032017-08-19 H.J. Lu <hongjiu.lu@intel.com>
1504
1505 [BZ #18822]
1506 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
1507 attribute_hidden.
1508 (__strspn_sse2): Likewise.
1509
0bb2fabc
AZ
15102017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1511
c181840c
AZ
1512 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
1513 (close_not_cancel_no_status): Likewise.
1514 (__close_nocancel): New macro.
1515 (__close_nocancel_nostatus): Likewise.
1516 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
1517 macro.
1518 (close_not_cancel): Likewise.
1519 (close_not_cancel_no_status): Likewise.
1520 (__close_nocancel): New prototype.
1521 (__close_nocancel_nostatus): New function.
1522 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
1523 * catgets/open_catalog.c (__open_catalog): Replace
1524 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
1525 * gmon/gmon.c (write_gmon): Likewise.
1526 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1527 * intl/loadmsgcat.c (close): Likewise.
1528 * io/ftw.c (open_dir_stream): Likewise.
1529 (ftw_startup): Likewise.
1530 * libio/fileops.c (_IO_file_open): Likewise.
1531 (_IO_file_close_mmap): Likewise.
1532 (_IO_file_close): Likewise.
1533 * libio/iopopen.c (_IO_dup2): Likewise.
1534 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1535 * locale/loadlocale.c (_nl_load_locale): Likewise.
1536 * login/utmp_file.c (pututline_file): Likewise.
1537 (endutent_file): Likewise.
1538 * misc/daemon.c (daemon): Likewise.
1539 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1540 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1541 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1542 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1543 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1544 * nscd/nscd_helper.c (open_socket): Likewise.
1545 (__nscd_open_socket): Likewise.
1546 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1547 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
1548 (__nscd_innetgr): Likewise.
1549 * nss/nss_db/db-open.c (internal_setent): Likewise.
1550 * resolv/res-close.c (__res_iclose): Likewise.
1551 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
1552 * sysdeps/posix/closedir.c (__closedir): Likewise.
1553 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
1554 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1555 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
1556 (opendir_tail): Likewise.
1557 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1558 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
1559 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1560 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
1561 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
1562 (gethostid): Likewise.
1563 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
1564 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1565 Likewise.
1566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1567 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
1568 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1569 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
1570 Likewise.
1571 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
1572 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
1573 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
1574 Likewise.
1575 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
1576 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1577 Likewise.
1578 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1579 Likewise.
1580 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1581 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
1582 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1583 __close_nocancel.
1584
0bb2fabc
AZ
1585 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
1586 (openat_not_cancel_3): Likewise.
1587 (openat64_not_cancel_3): Likewise).
1588 (openat_not_cancel_3): Likewise).
1589 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
1590 macro.
1591 (openat_not_cancel_3): Likewise.
1592 (openat64_not_cancel): Likewise.
1593 (openat64_not_cancel_3): Likewise.
1594 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
1595 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
1596 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
1597 __open{64}_nocancel.
1598 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
1599 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1600 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1601
65a086db
L
16022017-08-18 H.J. Lu <hongjiu.lu@intel.com>
1603
1604 [BZ #18822]
1605 * include/argz.h (__argz_create_sep): New function prototype.
1606 (__argz_append): Likewise.
1607 (__argz_add): Likewise.
1608 (__argz_add_sep): Likewise.
1609 (__argz_delete): Likewise.
1610 (__argz_insert): Likewise.
1611 (__argz_replace): Likewise.
1612 * string/argz.h (__argz_create_sep): Removed.
1613 (__argz_append): Likewise.
1614 (__argz_add): Likewise.
1615 (__argz_add_sep): Likewise.
1616 (__argz_delete): Likewise.
1617 (__argz_insert): Likewise.
1618 (__argz_replace): Likewise.
1619
62753d2c
L
16202017-08-18 H.J. Lu <hongjiu.lu@intel.com>
1621
1622 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
1623 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
1624 (GNU_PROPERTY_STACK_SIZE): Likewie.
1625 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
1626 (GNU_PROPERTY_LOPROC): Likewise.
1627 (GNU_PROPERTY_HIPROC): Likewise.
1628 (GNU_PROPERTY_LOUSER): Likewise.
1629 (GNU_PROPERTY_HIUSER): Likewise.
1630 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
1631 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
1632 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
1633 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
1634 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
1635 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
1636 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
1637 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
1638 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
1639 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
1640 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
1641 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
1642 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
1643 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
1644 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
1645 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
1646 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
1647 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
1648 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
1649 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
1650 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
1651 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
1652 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
1653
6913ad65
GG
16542017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1655
1656 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
1657 in C++ mode.
1658
47a67213
GG
16592017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1660
1661 [BZ #21930]
1662 * math/math.h (isinf): Check if in C or C++ mode before using
1663 __builtin_types_compatible_p, since this is a C mode feature.
1664
a748eb31
AZ
16652017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1666
c647fb88
AZ
1667 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
1668 (__write_nocancel): New macro.
1669 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
1670 Rewrite as a function prototype.
1671 (write_not_cancel): Remove macro.
1672 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
1673 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
1674 (write_gmon): Likewise.
1675 * libio/fileops.c (_IO_new_file_write): Likewise.
1676 * login/utmp_file.c (pututline_file): Likewise.
1677 (updwtmp_file): Likewise.
1678 * stdio-common/psiginfo.c (psiginfo): Likewise.
1679 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1680 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
1681 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
1682 Likewise.
1683 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1684 Likewise.
1685
a748eb31
AZ
1686 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
1687 (__read_nocancel): New macro.
1688 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1689 __read_nocancel.
1690 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
1691 macro.
1692 (__read_nocancel): New prototype.
1693 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
1694 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
1695 with __read_nocancel.
1696 * intl/loadmsgcat.c (read): Likewise.
1697 * libio/fileops.c (_IO_file_read): Likewise.
1698 * locale/loadlocale.c (_nl_load_locale): Likewise.
1699 * login/utmp_file.c (getutent_r_file): Likewise.
1700 (internal_getut_r): Likewise.
1701 (getutline_r_file): Likewise.
1702 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
1703 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1704 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
1705 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1706 Likewise.
1707 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
1708 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1709 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
1710 Likewise.
1711 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
1712 Likewise.
1713 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
1714 Likewise.
1715 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1716 Likewise.
1717 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
1718
098b9dd4
L
17192017-08-18 H.J. Lu <hongjiu.lu@intel.com>
1720
1721 [BZ #21966]
1722 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
1723 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
1724 usable.
1725
a3fe6a20
DD
17262017-08-17 DJ Delorie <dj@redhat.com>
1727
1728 * bug17079.c: Update to new test harness.
1729 * test-digits-dots.c: Likewise.
1730 * test-netdb.c: Likewise.
1731 * tst-field.c: Likewise.
1732 * tst-nss-getpwent.c: Likewise.
1733 * tst-nss-static.c: Likewise.
1734 * tst-nss-test1.c: Likewise.
1735 * tst-nss-test2.c: Likewise.
1736 * tst-nss-test3.c: Likewise.
1737 * tst-nss-test4.c: Likewise.
1738 * tst-nss-test5.c: Likewise.
1739
c2284574
AZ
17402017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1741
1742 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
1743 (open_not_cancel_2): Likewise.
1744 (open_nocancel): New macro.
1745 (open64_nocancel): Likewise.
1746 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
1747 (open_not_cancel_2): Likewise.
1748 (__open_nocancel): New prototype.
1749 (__open64_nocancel): Likewise.
1750 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
1751 __open_nocancel.
1752 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
1753 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
1754 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
1755 with __open_nocancel.
1756 * csu/check_fds.c (check_one_fd): Likewise.
1757 * gmon/gmon.c (write_gmon): Likewise.
1758 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
1759 * intl/loadmsgcat.c (open): Likewise.
1760 * libio/fileops.c (_IO_file_open): Likewise.
1761 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1762 * locale/loadlocale.c (_nl_load_locale): Likewise.
1763 * login/utmp_file.c (setutent_file): Likewise.
1764 * misc/daemon.c (daemon): Likewise.
1765 * nss/nss_db/db-open.c (internal_setent): Likewise.
1766 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
1767 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
1768 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
1769 (__opendir): Likewise.
1770 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
1771 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
1772 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
1773 (gethostid): Likewise.
1774 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
1775 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1776 Likewise.
1777 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1778 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
1779 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1780 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
1781 Likewise.
1782 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
1783 Likewise.
1784 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
1785 Likewise.
1786 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1787 Likewise.
1788 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1789 Likewise.
1790 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1791 Likewise.
1792 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1793 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
1794
d4505b89
WD
17952017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
1796
1797 * benchtests/bench-skeleton.c (main): Add support for
1798 latency benchmarking.
1799 * benchtests/scripts/bench.py: Add support for latency benchmarking.
1800
34d6a3cb
L
18012017-08-17 H.J. Lu <hongjiu.lu@intel.com>
1802
1803 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
1804 the startup object.
1805
038d1caf
FW
18062017-08-17 Florian Weimer <fweimer@redhat.com>
1807
1808 * include/sys/socket.h (__opensock): Remove internal_function.
1809 * socket/opensock.c (__opensock): Likewise.
1810 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
1811
67f0aff0
JM
18122017-08-16 Joseph Myers <joseph@codesourcery.com>
1813
1814 [BZ #21944]
1815 * signal/bits/types/__sigval_t.h: New file.
1816 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
1817 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
1818 and define sigval_t using __sigval_t.
1819 * include/bits/types/__sigval_t.h: New file.
1820 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
1821 instead of <bits/types/__sigval_t.h>.
1822 (struct sigevent): Use __sigval_t instead of sigval_t.
1823 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
1824 instead of <bits/types/__sigval_t.h>.
1825 (siginfo_t): Use __sigval_t instead of sigval_t.
1826 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
1827 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
1828 (struct sigevent): Use __sigval_t instead of sigval_t.
1829 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
1830 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
1831 (siginfo_t): Use __sigval_t instead of sigval_t.
1832 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
1833
87e7bf4d
L
18342017-08-16 H.J. Lu <hongjiu.lu@intel.com>
1835
1836 * NEWS: Remove "[Add new features here]" for 2.27.
1837
5047057f
JM
18382017-08-16 Joseph Myers <joseph@codesourcery.com>
1839
1840 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
1841 libc.so.
1842
20c7b195
L
18432017-08-16 H.J. Lu <hongjiu.lu@intel.com>
1844
1845 * NEWS: Mention x86-64 FMA optimization.
1846
24a2e658
L
18472017-08-16 H.J. Lu <hongjiu.lu@intel.com>
1848
1849 [BZ #21912]
1850 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1851 Add e_expf-fma.
1852 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
1853 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
1854 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
1855
eedca977
AS
18562017-08-16 Andreas Schwab <schwab@suse.de>
1857
403143e1
FW
1858 [BZ #16750]
1859 CVE-2009-5064
eedca977
AS
1860 * elf/ldd.bash.in: Never run file directly.
1861
f59f7adb
L
18622017-08-15 H.J. Lu <hongjiu.lu@intel.com>
1863
1864 [BZ #21955]
1865 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
1866 (L(SP_INF_0)): Likewise.
1867
6b11a6ad
FW
18682017-08-15 Florian Weimer <fweimer@redhat.com>
1869
1870 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
1871 run-built-tests.
1872
bbf5c438
FW
18732017-08-15 Florian Weimer <fweimer@redhat.com>
1874
1875 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
1876 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
1877 BROKEN_THREAD_SIGNALS code.
1878 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
1879 request_list): Remove caller_pid member used for
1880 BROKEN_THREAD_SIGNALS.
1881 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
1882 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
1883 Remove BROKEN_THREAD_SIGNALS support.
1884 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1885 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
1886
6014c65d
FW
18872017-08-15 Florian Weimer <fweimer@redhat.com>
1888
1889 * gmon/Makefile (tests): Add tst-gmon.
1890 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
1891 Set.
1892 (tests-special): Add tst-gmon-prof.out.
1893 (tst-gmon.out): Depend on clean-tst-gmon-data.
1894 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
1895 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
1896 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
1897 startup object.
1898 * aclocal.m4 (GPROF): Set and substitute.
1899 * config.amke.in (GPROF): Set.
1900 * configure: Regenerate.
1901
ee72219a
GR
19022017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
1903
1904 * elf/elf.h A (NT_PPC_TAR): New macro.
1905 (NT_PPC_PPR): Likewise.
1906 (NT_PPC_DSCR): Likewise.
1907 (NT_PPC_EBB): Likewise.
1908 (NT_PPC_PMU): Likewise.
1909 (NT_PPC_TM_CGPR): Likewise.
1910 (NT_PPC_TM_CFPR): Likewise.
1911 (NT_PPC_TM_CVMX): Likewise.
1912 (NT_PPC_TM_CVSX): Likewise.
1913 (NT_PPC_TM_SPR): Likewise.
1914 (NT_PPC_TM_CTAR): Likewise.
1915 (NT_PPC_TM_CPPR): Likewise.
1916 (NT_PPC_TM_CDSCR): Likewise.
1917
4ebf934e
FW
19182017-08-15 Florian Weimer <fweimer@redhat.com>
1919
1920 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
1921 regparm (2) instead of internal_function.
1922 (_MCOUNT_DECL): Adjust.
1923
e9f57484
SL
19242017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
1925
1926 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
1927 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1928
88ff4d55
JM
19292017-08-14 Joseph Myers <joseph@codesourcery.com>
1930
1931 * conform/data/sys/wait.h-data (si_value): Do not expect for
1932 XPG42.
1933
c88ffc23
FW
19342017-08-14 Florian Weimer <fweimer@redhat.com>
1935
1936 [BZ #21962]
1937 NSS: Create stubs for accidentally exported lookup functions.
1938 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
1939 Remove declaration.
1940 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
1941 (ether_hostton): Call __nss_ethers_lookup2 instead.
1942 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
1943 (ether_ntohost): Call __nss_ethers_lookup2 instead.
1944 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
1945 (setup): Call __nss_netgroup_lookup2 instead.
1946 * nss/Makefile (routines): Add compat-lookup.
1947 * nss/Versions (GLIBC_2.27): Add symbol version.
1948 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
1949 (DB_COMPAT_FCT): Remove.
1950 * nss/compat-lookup.c: New file.
1951 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
1952 from databases.def.
1953 * nss/service-lookup.c (NO_COMPAT): Remove definition.
1954 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
1955 (netname2user): Call __nss_publickey_lookup2 instead.
1956 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
1957 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
1958 instead.
1959
1f14d0c3
AZ
19602017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1961 Sergei Trofimovich <slyfox@inbox.ru>
1962
1963 [BZ #21908]
1964 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
1965 Rename to MMAP2_PAGE_UNIT.
1966 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
1967 __OFF_T_MATCHES_OFF64_T is not defined.
1968 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
1969 uint64_t.
1970 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
1971 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
1972
fbdc1e3e
FW
19732017-08-14 Florian Weimer <fweimer@redhat.com>
1974
1975 i386: Do not set internal_function.
1976 * config.h.in (USE_REGPARMS, internal_function): Remove.
1977 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
1978 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
1979
b3f85fd2
FW
19802017-08-14 Florian Weimer <fweimer@redhat.com>
1981
1982 * elf/dl-init.c (_dl_init): Remove internal_function.
1983 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
1984 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
1985
630bf491
FW
19862017-08-14 Florian Weimer <fweimer@redhat.com>
1987
1988 * elf/rtld.c (_dl_start): Remove internal_function.
1989 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
1990 _dl_start.
1991
9fa7449b
FW
19922017-08-14 Florian Weimer <fweimer@redhat.com>
1993
1994 * elf/dl-fini.c (_dl_fini): Remove internal_function
1995 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
1996
73322d5f
L
19972017-08-14 H.J. Lu <hongjiu.lu@intel.com>
1998
1999 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
2000 (bit_cpu_SHSTK): Likewise.
2001 (index_cpu_IBT): Likewise.
2002 (index_cpu_SHSTK): Likewise.
2003 (reg_IBT): Likewise.
2004 (reg_SHSTK): Likewise.
2005 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
2006 Handle index_cpu_IBT and index_cpu_SHSTK.
2007
dbc303ef
MF
20082017-08-14 Mike FABIAN <mfabian@redhat.com>
2009
2010 [BZ #19982]
2011 * po/fr.po: Fix spelling mistake.
2012
3012cfb0
FW
20132017-08-13 Florian Weimer <fweimer@redhat.com>
2014
2015 * elf/dl-addr.c (_dl_addr): Remove internal_function.
2016 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
2017 (_dl_catch_error, _dl_receive_error): Likewise.
2018 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
2019 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
2020 (_dl_deallocate_tls): Likewise.
2021 * include/dlfcn.h (_dl_addr): Likewise.
2022 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
2023 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
2024 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
2025 Likewise.
2026
52bcdf26
FW
20272017-08-13 Florian Weimer <fweimer@redhat.com>
2028
2029 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
2030 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
2031 internal_function.
2032 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
2033
e1d2ae8d
FW
20342017-08-13 Florian Weimer <fweimer@redhat.com>
2035
2036 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
2037 internal_function.
2038 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
2039 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
2040 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
2041 internal_function from _dl_make_stack_executable_hook member.
2042 (_dl_make_stack_executable): Remove internal_function.
2043 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
2044 Likewise.
2045 * sysdeps/unix/sysv/linux/dl-execstack.c
2046 (_dl_make_stack_executable): Likewise.
2047
c4ce0382
FW
20482017-08-13 Florian Weimer <fweimer@redhat.com>
2049
2050 * sysdeps/unix/sysv/linux/netlinkaccess.h
2051 (__netlink_assert_response): Remove internal_function.
2052 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2053 (__netlink_assert_response): Likewise.
2054
c4d767f7
FW
20552017-08-13 Florian Weimer <fweimer@redhat.com>
2056
2057 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
2058 internal_function.
2059 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
2060
b2297409
FW
20612017-08-13 Florian Weimer <fweimer@redhat.com>
2062
2063 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
2064 internal_function.
2065 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
2066 * inet/netgroup.h (__internal_setnetgrent)
2067 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
2068 * inet/getnetgrent_r.c (__internal_setnetgrent)
2069 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
2070 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
2071 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
2072 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
2073 * nss/nsswitch.h (db_lookup_function): Likewise.
2074
1b0bfc69
FW
20752017-08-13 Florian Weimer <fweimer@redhat.com>
2076
2077 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
2078 Remove internal_function.
2079 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
2080 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
2081 message argument on the stack.
2082 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
2083 Likeweise.
2084
a6bd8722
MF
20852017-08-12 Mike FABIAN <mfabian@redhat.com>
2086
2087 Adapt test case data to the changes in the thousands
2088 separators.
2089
2090 [BZ #20756]
2091 * localedata/tst-langinfo.sh: Adapt test case data.
2092 * stdlib/tst-strfmon_l.c: Likewise.
2093 * stdlib/tst-strtod4.c: Likewise.
2094 * stdlib/tst-strtod5i.c: Likewise.
2095
8b2c63e4
FW
20962017-08-11 Florian Weimer <fweimer@redhat.com>
2097
2098 [BZ #21242]
2099 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
2100 Suppress pedantic warning resulting from statement expression.
2101 (__ASSERT_FUNCTION): Add missing __extension__.
2102
61c98291
SP
21032017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
2104
86c6519e
SP
2105 * benchtests/bench-memmove-large.c: Print output in JSON
2106 format.
2107 * benchtests/bench-memmove.c: Likewise.
2108
61c98291
SP
2109 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
2110 * benchtests/bench-memchr.c (do_one_test): Likewise.
2111 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
2112 * benchtests/bench-memcpy.c (do_one_test): Likewise.
2113 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
2114 * benchtests/bench-memmove.c (do_one_test): Likewise.
2115 * benchtests/bench-memset-large.c (do_one_test): Likewise.
2116 * benchtests/bench-memset.c (do_one_test): Likewise.
2117 * benchtests/bench-string.h (test_init): Remove memsets.
2118
925733a9
RJ
21192017-08-10 Rical Jasan <ricaljasan@pacific.net>
2120
2121 * manual/lang.texi
2122 (Computing the Width of an Integer Data Type): Rename section to
2123 "Width of an Integer Type". Remove inaccurate statement regarding
2124 lack of C language facilities for determining width of integer
2125 types, and reorder content to improve flow and context of
2126 discussion.
2127
4fcdfbfc
RJ
21282017-08-10 Rical Jasan <ricaljasan@pacific.net>
2129
2130 * lang.texi (va_copy): Change standard from ISO to C99.
2131 (__va_copy): Add standard and header annotation.
2132 Update description for clarity of origins and current use.
2133
4d98ace9
GG
21342017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2135
2136 [BZ #21941]
2137 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
2138 xssqrtqp requires operands to be in Vector Registers
2139 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
2140 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
2141 (__ieee754_sqrtf128): Likewise.
2142
92236903
WD
21432017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
2144
2145 * sysdeps/aarch64/memcmp.S (memcmp):
2146 Rewrite of optimized memcmp.
2147
2449ae7b
FW
21482017-08-10 Florian Weimer <fweimer@redhat.com>
2149
2150 Introduce ld.so exceptions.
2151 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
2152 (_dl_exception_create, _dl_exception_create_format)
2153 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
2154 (_dl_catch_exception): Declare.
2155 (_dl_catch_error): Update comment.
2156 * elf/dl-error-skeleton.c (struct catch): Replace objname,
2157 errstring, malloced members with exception member.
2158 (_dl_out_of_memory): Remove.
2159 (fatal_error): New function, extracted from _dl_signal_error.
2160 (_dl_signal_exception, _dl_signal_cexception): New functions.
2161 (_dl_signal_error): Call _dl_exception_create to allocate an
2162 exception object.
2163 (_dl_catch_exception): New function, based on _dl_catch_error.
2164 (_dl_catch_error): Implement using _dl_catch_exception.
2165 * elf/dl-exception.c: New file.
2166 * elf/Makefile (dl-routines): Add dl-exception.
2167 (elide-routines.os): Likewise.
2168 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
2169 _dl_exception_create_format, _dl_exception_free.
2170 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
2171 _dl_signal_exception.
2172 * elf/dl-lookup.c (make_string): Remove.
2173 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
2174 _dl_signal_cexception, _dl_exception_free.
2175 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
2176 _dl_signal_exception.
2177 * elf/dl-sym.c (do_sym): Likewise.
2178 * elf/dl-version.c (make_string): Remove.
2179 (match_symbol): Use _dl_exception_create_format,
2180 _dl_signal_cexception, _dl_exception_free.
2181 (_dl_check_map_versions): Likewise.
2182 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
2183 _dl_catch_exception.
2184 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2185 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2186 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2187 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2188 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2189 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2190 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2191 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2192 Likewise.
2193 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2195 (ld.so): Likewise.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2197 (ld.so): Likewise.
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2199 Likewise.
2200 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2201 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2202 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2203 Likewise.
2204 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2205 Likewise.
2206 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2207
f87cc2bf
FW
22082017-08-10 Florian Weimer <fweimer@redhat.com>
2209
2210 * inet/net-internal.h (__inet6_scopeid_pton): Remove
2211 attribute_hidden, internal_function.
2212 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
2213 internal_function.
2214
eac43cbb
FW
22152017-08-10 Florian Weimer <fweimer@redhat.com>
2216
2217 * malloc/malloc.c (get_max_fast): Reimplement as an inline
2218 function which calls __builtin_unreachable.
2219
bd80111e
MF
22202017-08-10 Mike FABIAN <mfabian@redhat.com>
2221
2222 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
2223 Indian monetary formatting
2224 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
2225 test cases.
2226
60e2846e
DL
22272017-08-09 Dmitry V. Levin <ldv@altlinux.org>
2228
68dc02d1
DL
2229 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
2230 Fix typo in comment.
2231
60e2846e
DL
2232 [BZ #21928]
2233 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
2234 PTRACE_SEIZE_DEVEL): Remove.
2235 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
2236 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2237 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2238 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2239 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2240
3d452dab
JM
22412017-08-09 Joseph Myers <joseph@codesourcery.com>
2242
24d9f53a
JM
2243 * posix/bits/types.h (__qaddr_t): Remove.
2244
3d452dab
JM
2245 [BZ #21457]
2246 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
2247 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2248 __glibc_reserved1.
2249 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
2250 (ucontext_t): Use __ctx with uc_flags.
2251 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
2252 (__ctxt): Likewise.
2253 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2254 __glibc_reserved1.
2255 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
2256 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2257 __glibc_reserved1.
2258 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
2259 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2260 __glibc_reserved1.
2261 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
2262 macro.
2263 (ucontext_t): Use __ctx with uc_flags.
2264 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
2265 (ucontext_t): Use __ctx with uc_flags.
2266 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
2267 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
2268 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
2269 (ucontext_t): Use __ctx with uc_flags.
2270 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
2271 undefine further down.
2272 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
2273 __glibc_reserved1.
2274 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
2275 undefine further down.
2276 (ucontext_t): Use __ctx with uc_flags.
2277 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
2278 undefine further down.
2279 (ucontext_t): Use __ctx with uc_flags.
2280 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
2281 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
2282 Rename uc_pad to __glibc_reserved1.
2283 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
2284 undefine further down.
2285 (ucontext_t): Use __ctx with uc_flags.
2286 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
2287 further down.
2288 (ucontext_t): Use __ctx with uc_flags.
2289 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
2290 __ctx with uc_flags.
2291 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
2292 (ucontext_t): Use __ctx with uc_flags.
2293 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
2294 __ctx with uc_flags.
2295
30161498
FW
22962017-08-09 Florian Weimer <fweimer@redhat.com>
2297
2298 [BZ #21932]
2299 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
2300 before early return.
2301
5797b410
AS
23022017-08-09 Andreas Schwab <schwab@suse.de>
2303
139237a4 2304 [BZ #21041]
5797b410
AS
2305 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
2306 renamed alias.
2307
139237a4 2308 [BZ #21041]
40c06a3d
AS
2309 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
2310 tst-compat-forwarder.
2311 (modules-names): Add tst-compat-forwarder-mod.
2312 ($(objpfx)tst-compat-forwarder): Depend on
2313 $(objpfx)tst-compat-forwarder-mod.so.
2314 * nptl/tst-compat-forwarder.c: New file.
2315 * nptl/tst-compat-forwarder-mod.c: New file.
2316
36ada5f6
SP
23172017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
2318
0e02b510
SP
2319 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
2320 comments.
2321
36ada5f6
SP
2322 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
2323 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
2324 memcpy_falkor.
2325 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
2326 Bump.
2327 (__libc_ifunc_impl_list): Add __memcpy_falkor.
2328 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2329 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
2330 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
2331 Add falkor.
2332 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
2333 New macro.
2334
9995c839
AZ
23352017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2336
2337 [BZ #759]
2338 * manual/setjmp.texi (getcontex): Document uc_stack value
2339 compatibility differences.
2340
f17a4233
JM
23412017-08-08 Joseph Myers <joseph@codesourcery.com>
2342
2343 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
2344 (old_malloc_hook): Likewise.
2345 (old_memalign_hook): Likewise.
2346 (old_realloc_hook): Likewise.
2347 (struct hdr): Likewise.
2348 (flood): Likewise.
2349 (freehook): Likewise.
2350 (mallochook): Likewise.
2351 (memalignhook): Likewise.
2352 (reallochook): Likewise.
2353 (mprobe): Likewise.
2354 * malloc/mtrace.c (mallwatch): Likewise.
2355 (tr_old_free_hook): Likewise.
2356 (tr_old_malloc_hook): Likewise.
2357 (tr_old_realloc_hook): Likewise.
2358 (tr_old_memalign_hook): Likewise.
2359 (tr_where): Likewise.
2360 (lock_and_info): Likewise.
2361 (tr_freehook): Likewise.
2362 (tr_mallochook): Likewise.
2363 (tr_reallochook): Likewise.
2364 (tr_memalignhook): Likewise.
2365 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
2366 * misc/mmap.c (__mmap): Likewise.
2367 * misc/mmap64.c (__mmap64): Likewise.
2368 * misc/mprotect.c (__mprotect): Likewise.
2369 * misc/msync.c (msync): Likewise.
2370 * misc/munmap.c (__munmap): Likewise.
2371 * posix/posix_madvise.c (posix_madvise): Likewise.
2372 * socket/send.c (__send): Likewise.
2373 * socket/sendto.c (__sendto): Likewise.
2374 * socket/setsockopt.c (__setsockopt): Likewise.
2375 * string/memcmp.c (__ptr_t): Remove macro.
2376 (MEMCMP): Use void * instead of ptr_t.
2377 * string/memrchr.c (__ptr_t): Remove macro.
2378 (__memrchr): Use void * instead of ptr_t.
2379 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
2380 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2381 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
2382 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
2383 * sysdeps/mach/msync.c (msync): Likewise.
2384 * sysdeps/mach/munmap.c (__munmap): Likewise.
2385 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
2386 Likewise.
2387 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2388 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
2389 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
2390 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
2391 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2392 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2393 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
2394 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
2395 Likewise.
2396 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2397 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
2398 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
2399 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
2400 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
2401 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
2402 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
2403 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
2404 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
2405 Likewise.
2406 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
2407 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
2408 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
2409 (MEMCMP): Use void * instead of ptr_t.
2410 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
2411 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
2412
0df595b2
FW
24132017-08-08 Florian Weimer <fweimer@redhat.com>
2414
2415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
2416 return statement.
2417
086df229
L
24182017-08-08 H.J. Lu <hongjiu.lu@intel.com>
2419
2420 [BZ #21913]
2421 * csu/libc-tls.c: Include <startup.h> first.
2422 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
2423 * elf/dl-tunables.c: Include <startup.h> first.
2424 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
2425 * sysdeps/generic/startup.h: New file.
2426 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
2427 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
2428 (I386_USE_SYSENTER): New. Defined to 0.
2429
fc5ad702
AS
24302017-08-08 Andreas Schwab <schwab@suse.de>
2431
2432 [BZ #21041]
2433 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
2434 * nptl/pt-system.c (system): Likewise.
2435
852d6312
AZ
24362017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2437
2438 [BZ #21780]
2439 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
2440 EOPNOTSUPP.
2441 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
2442 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
2443 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
2444 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
2445 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
2446 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
2447 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
2448
8b164787
JM
24492017-08-07 Joseph Myers <joseph@codesourcery.com>
2450
cd65836b
JM
2451 [BZ #21899]
2452 * bits/sigaction.h (struct sigaction): Define sa_handler and
2453 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
2454 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2455 [__USE_XOPEN_EXTENDED].
2456 (SA_RESTART): Likewise.
2457 (SA_NODEFER): Likewise.
2458 (SA_RESETHAND): Likewise.
2459 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
2460 (struct sigaction): Define sa_handler and sa_sigaction using union
2461 also for [__USE_XOPEN_EXTENDED].
2462 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2463 [__USE_XOPEN_EXTENDED].
2464 (SA_RESTART): Likewise.
2465 (SA_NODEFER): Likewise.
2466 (SA_RESETHAND): Likewise.
2467 * sysdeps/unix/sysv/linux/bits/sigaction.h
2468 (struct sigaction): Define sa_handler and sa_sigaction using union
2469 also for [__USE_XOPEN_EXTENDED].
2470 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2471 [__USE_XOPEN_EXTENDED].
2472 (SA_RESTART): Likewise.
2473 (SA_NODEFER): Likewise.
2474 (SA_RESETHAND): Likewise.
2475 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
2476 (struct sigaction): Define sa_handler and sa_sigaction using union
2477 also for [__USE_XOPEN_EXTENDED].
2478 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2479 [__USE_XOPEN_EXTENDED].
2480 (SA_RESTART): Likewise.
2481 (SA_NODEFER): Likewise.
2482 (SA_RESETHAND): Likewise.
2483 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
2484 (struct sigaction): Define sa_handler and sa_sigaction using union
2485 also for [__USE_XOPEN_EXTENDED].
2486 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2487 [__USE_XOPEN_EXTENDED].
2488 (SA_RESTART): Likewise.
2489 (SA_NODEFER): Likewise.
2490 (SA_RESETHAND): Likewise.
2491 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2492 (struct sigaction): Define sa_handler and sa_sigaction using union
2493 also for [__USE_XOPEN_EXTENDED].
2494 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2495 [__USE_XOPEN_EXTENDED].
2496 (SA_RESTART): Likewise.
2497 (SA_NODEFER): Likewise.
2498 (SA_RESETHAND): Likewise.
2499 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2500 (struct sigaction): Define sa_handler and sa_sigaction using union
2501 also for [__USE_XOPEN_EXTENDED].
2502 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2503 [__USE_XOPEN_EXTENDED].
2504 (SA_RESTART): Likewise.
2505 (SA_NODEFER): Likewise.
2506 (SA_RESETHAND): Likewise.
2507 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2508 (struct sigaction): Define sa_handler and sa_sigaction using union
2509 also for [__USE_XOPEN_EXTENDED].
2510 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2511 [__USE_XOPEN_EXTENDED].
2512 (SA_RESTART): Likewise.
2513 (SA_NODEFER): Likewise. Define directly rather than as alias.
2514 (SA_RESETHAND): Likewise.
2515 (SA_INTERRUPT): Define only for [__USE_MISC].
2516 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
2517 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
2518 [__USE_MISC].
2519 (SA_STACK): Define only for [__USE_MISC].
2520 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
2521 (struct sigaction): Define sa_handler and sa_sigaction using union
2522 also for [__USE_XOPEN_EXTENDED].
2523 (SA_ONSTACK): Change [__USE_UNIX98] condition to
2524 [__USE_XOPEN_EXTENDED].
2525 (SA_RESTART): Likewise.
2526 (SA_NODEFER): Likewise.
2527 (SA_RESETHAND): Likewise.
2528 (SA_NOPTRACE): Define only for [__USE_MISC].
2529
d9fee042
JM
2530 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
2531 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
2532 (struct catalog_info): Likewise.
2533 * inet/htontest.c (lo): Likewise.
2534 (foo): Likewise.
2535 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2536 * inet/inet_net.c (inet_network): Likewise.
2537 * inet/inet_netof.c (inet_netof): Likewise.
2538 * inet/rcmd.c (__ivaliduser): Likewise.
2539 (iruserok): Likewise.
2540 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
2541 * locale/programs/locale-spec.c (locale_special): Likewise.
2542 * nis/nis_findserv.c (struct findserv_req): Likewise.
2543 (__nis_findfastest_with_timeout): Likewise.
2544 * nss/test-netdb.c (test_network): Likewise.
2545 * resolv/inet_neta.c (inet_neta): Likewise.
2546 * resolv/ns_date.c (ns_datetosecs): Likewise.
2547 (SECS_PER_DAY): Likewise.
2548 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
2549 Likewise.
2550 * resolv/res_comp.c (__putlong): Likewise.
2551 (__putshort): Likewise.
2552 (_getlong): Likewise.
2553 (_getshort): Likewise.
2554 * resolv/res_debug.c (p_time): Likewise.
2555 (precsize_ntoa): Likewise.
2556 (precsize_aton): Likewise.
2557 (latlon2ul): Likewise.
2558 (loc_aton): Likewise.
2559 (loc_ntoa): Likewise.
2560 * resolv/res_hconf.c (struct netaddr): Likewise.
2561 (_res_hconf_reorder_addrs): Likewise.
2562 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2563 (clnttcp_control): Likewise.
2564 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2565 (clntudp_control): Likewise.
2566 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
2567 (clntunix_control): Likewise.
2568 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2569 * sunrpc/rpc/auth.h (union des_block): Likewise.
2570 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
2571 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
2572 (xdrrec_create): Likewise.
2573 (xdrrec_endofrecord): Likewise.
2574 (flush_out): Likewise.
2575 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
2576 (xdrstdio_putlong): Likewise.
2577 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
2578 Likewise.
2579
8b164787
JM
2580 * misc/sys/cdefs.h (__long_double_t): Remove.
2581 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
2582 instead of __long_double_t,
2583 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
2584
7ee38e60
SP
25852017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
2586
dd3e86ad
SP
2587 * benchtests/scripts/compare_strings.py: Avoid display error when
2588 running on a text terminal.
2589
b115e819
SP
2590 * benchtests/scripts/compare_strings.py (main): Add an
2591 optional -base option.
2592 (process_results): New argument base_func.
2593
7ee38e60
SP
2594 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
2595 hardcoding memcpy.
2596 * benchtests/bench-memcpy-large.c (test_name): Likewise.
2597 * benchtests/bench-memcpy-random.c (test_name): Likewise.
2598
d5afb385
AS
25992017-08-07 Andreas Schwab <schwab@suse.de>
2600
2601 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
2602 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2603 * intl/Makefile ($(objpfx)tst-gettext.out)
2604 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
2605 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
2606 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2607 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2608 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
2609 * posix/Makefile ($(objpfx)globtest.out)
2610 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
2611 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
2612 ($(objpfx)tst-printf.out): Likewise.
2613 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
2614 ($(objpfx)tst-setcontext3.out): Likewise.
2615
57a72fa3
L
26162017-08-07 H.J. Lu <hongjiu.lu@intel.com>
2617
2618 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2619 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
2620 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
2621 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
2622 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
2623 and mptan-fma.
2624 (CFLAGS-doasin-fma.c): New.
2625 (CFLAGS-dosincos-fma.c): Likewise.
2626 (CFLAGS-e_asin-fma.c): Likewise.
2627 (CFLAGS-e_atan2-fma.c): Likewise.
2628 (CFLAGS-e_exp-fma.c): Likewise.
2629 (CFLAGS-e_log-fma.c): Likewise.
2630 (CFLAGS-e_pow-fma.c): Likewise.
2631 (CFLAGS-halfulp-fma.c): Likewise.
2632 (CFLAGS-mpa-fma.c): Likewise.
2633 (CFLAGS-mpatan-fma.c): Likewise.
2634 (CFLAGS-mpatan2-fma.c): Likewise.
2635 (CFLAGS-mpexp-fma.c): Likewise.
2636 (CFLAGS-mplog-fma.c): Likewise.
2637 (CFLAGS-mpsqrt-fma.c): Likewise.
2638 (CFLAGS-mptan-fma.c): Likewise.
2639 (CFLAGS-s_atan-fma.c): Likewise.
2640 (CFLAGS-sincos32-fma.c): Likewise.
2641 (CFLAGS-slowexp-fma.c): Likewise.
2642 (CFLAGS-slowpow-fma.c): Likewise.
2643 (CFLAGS-s_sin-fma.c): Likewise.
2644 (CFLAGS-s_tan-fma.c): Likewise.
2645 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
2646 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
2647 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
2648 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
2649 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
2650 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
2651 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
2652 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
2653 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
2654 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
2655 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
2656 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
2657 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
2658 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
2659 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
2660 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
2661 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
2662 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
2663 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
2664 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
2665 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
2666 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
2667 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
2668 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
2669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2670 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2671 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2672 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2673 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2674 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2675 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2676
219dd320
JM
26772017-08-04 Joseph Myers <joseph@codesourcery.com>
2678
2679 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
2680 (min_of_type_f): New macro.
2681 (min_of_type_): Likewise.
2682 (min_of_type_l): Likewise.
2683 (min_of_type_f128): Likewise.
2684 (min_of_type): Define using __MATH_TG and taking an expression
2685 argument.
2686 (math_check_force_underflow): Pass expression instead of type to
2687 min_of_type.
2688 (math_check_force_underflow_nonneg): Likewise.
2689
64d4dea6
L
26902017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2691
2692 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
2693 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
2694 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
2695
973da22a
L
26962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2697
2698 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2699 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
2700 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
2701 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
2702 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
2703 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
2704 memcpy_chk-nonshared, mempcpy_chk-nonshared,
2705 memmove_chk-nonshared and memset_chk-nonshared
2706 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
2707 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
2708 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
2709 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
2710 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
2711 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
2712 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
2713 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
2714 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
2715 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
2716 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
2717 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
2718 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
2719 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
2720 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
2721 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
2722 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
2723 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
2724 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
2725 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
2726 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
2727 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
2728 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
2729 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
2730 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
2731 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
2732 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
2733 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
2734 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
2735 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
2736 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
2737 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
2738 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
2739 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
2740 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
2741 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
2742 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
2743 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
2744 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
2745 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
2746 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
2747 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
2748 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
2749 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
2750 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
2751 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
2752 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
2753 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
2754 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
2755 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
2756 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
2757 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
2758 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
2759 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
2760 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
2761 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
2762 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
2763 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
2764 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
2765 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
2766 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
2767 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
2768 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
2769 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
2770 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
2771 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
2772 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
2773 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
2774 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
2775 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
2776 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
2777 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2778 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2779 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2780 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2781 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2782 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2783 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2784 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2785 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2786 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2787 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2788 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2789 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2790 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2791 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2792 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2793 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2794 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2795 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2796 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2797 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2798 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2799 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2800 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2801 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2802 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2803 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2804 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2805 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2806 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2807 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2808 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2809 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2810 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2811 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2812 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2813 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2814
8537e0f6
L
28152017-08-04 H.J. Lu <hongjiu.lu@intel.com>
2816
2817 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
2818 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
2819 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
2820 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
2821 svml_d_log2_core-sse2, svml_d_log4_core-sse,
2822 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
2823 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
2824 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
2825 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
2826 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
2827 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
2828 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
2829 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
2830 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
2831 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
2832 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
2833 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
2834 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
2835 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
2836 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
2837 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
2838 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
2839 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
2840 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
2841 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
2842 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
2843 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
2844 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
2845 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
2846 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
2847 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
2848 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
2849 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
2850 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
2851 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
2852 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
2853 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
2854 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
2855 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
2856 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
2857 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
2858 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
2859 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
2860 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
2861 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
2862 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
2863 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
2864 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
2865 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
2866 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
2867 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
2868 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
2869 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
2870 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
2871 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
2872 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
2873 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
2874 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
2875 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
2876 ...
2877 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
2878 Don't include <sysdep.h> nor <init-arch.h>.
2879 (_ZGVbN2v_cos): Removed.
2880 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
2881 ...
2882 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
2883 Don't include <sysdep.h> nor <init-arch.h>.
2884 (_ZGVdN4v_cos): Removed.
2885 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
2886 ...
2887 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
2888 Don't include <sysdep.h> nor <init-arch.h>.
2889 (_ZGVeN8v_cos): Removed.
2890 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
2891 ...
2892 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
2893 Don't include <sysdep.h> nor <init-arch.h>.
2894 (_ZGVbN2v_exp): Removed.
2895 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
2896 ...
2897 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
2898 Don't include <sysdep.h> nor <init-arch.h>.
2899 (_ZGVdN4v_exp): Removed.
2900 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
2901 ...
2902 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
2903 Don't include <sysdep.h> nor <init-arch.h>.
2904 (_ZGVeN8v_exp): Removed.
2905 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
2906 ...
2907 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
2908 Don't include <sysdep.h> nor <init-arch.h>.
2909 (_ZGVbN2v_log): Removed.
2910 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
2911 ...
2912 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
2913 Don't include <sysdep.h> nor <init-arch.h>.
2914 (_ZGVdN4v_log): Removed.
2915 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
2916 ...
2917 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
2918 Don't include <sysdep.h> nor <init-arch.h>.
2919 (_ZGVeN8v_log): Removed.
2920 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
2921 ...
2922 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
2923 Don't include <sysdep.h> nor <init-arch.h>.
2924 (_ZGVbN2vv_pow): Removed.
2925 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
2926 ...
2927 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
2928 Don't include <sysdep.h> nor <init-arch.h>.
2929 (_ZGVdN4vv_pow): Removed.
2930 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
2931 ...
2932 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
2933 Don't include <sysdep.h> nor <init-arch.h>.
2934 (_ZGVeN8vv_pow): Removed.
2935 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
2936 ...
2937 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
2938 Don't include <sysdep.h> nor <init-arch.h>.
2939 (_ZGVbN2v_sin): Removed.
2940 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
2941 ...
2942 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
2943 Don't include <sysdep.h> nor <init-arch.h>.
2944 (_ZGVbN4v_sin): Removed.
2945 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
2946 ...
2947 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
2948 Don't include <sysdep.h> nor <init-arch.h>.
2949 (_ZGVbN8v_sin): Removed.
2950 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
2951 ...
2952 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
2953 Don't include <sysdep.h> nor <init-arch.h>.
2954 (_ZGVbN2vvv_sincos): Removed.
2955 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
2956 ...
2957 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
2958 Don't include <sysdep.h> nor <init-arch.h>.
2959 (_ZGVdN4vvv_sincos): Removed.
2960 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
2961 ...
2962 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
2963 Don't include <sysdep.h> nor <init-arch.h>.
2964 (_ZGVeN8vvv_sincos): Removed.
2965 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
2966 ...
2967 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
2968 Don't include <sysdep.h> nor <init-arch.h>.
2969 (_ZGVeN16v_cosf): Removed.
2970 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
2971 ...
2972 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
2973 Don't include <sysdep.h> nor <init-arch.h>.
2974 (_ZGVbN4v_cosf): Removed.
2975 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
2976 ...
2977 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
2978 Don't include <sysdep.h> nor <init-arch.h>.
2979 (_ZGVdN8v_cosf): Removed.
2980 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
2981 ...
2982 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
2983 Don't include <sysdep.h> nor <init-arch.h>.
2984 (_ZGVeN16v_expf): Removed.
2985 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
2986 ...
2987 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
2988 Don't include <sysdep.h> nor <init-arch.h>.
2989 (_ZGVbN4v_expf): Removed.
2990 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
2991 ...
2992 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
2993 Don't include <sysdep.h> nor <init-arch.h>.
2994 (_ZGVdN8v_expf): Removed.
2995 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
2996 ...
2997 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
2998 Don't include <sysdep.h> nor <init-arch.h>.
2999 (_ZGVeN16v_logf): Removed.
3000 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
3001 ...
3002 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
3003 Don't include <sysdep.h> nor <init-arch.h>.
3004 (_ZGVbN4v_logf): Removed.
3005 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
3006 ...
3007 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
3008 Don't include <sysdep.h> nor <init-arch.h>.
3009 (_ZGVdN8v_logf): Removed.
3010 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
3011 ...
3012 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
3013 Don't include <sysdep.h> nor <init-arch.h>.
3014 (_ZGVeN16vv_powf): Removed.
3015 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
3016 ...
3017 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
3018 Don't include <sysdep.h> nor <init-arch.h>.
3019 (_ZGVbN4vv_powf): Removed.
3020 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
3021 ...
3022 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
3023 Don't include <sysdep.h> nor <init-arch.h>.
3024 (_ZGVdN8vv_powf): Removed.
3025 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
3026 ...
3027 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
3028 Don't include <sysdep.h> nor <init-arch.h>.
3029 (_ZGVeN16vvv_sincosf): Removed.
3030 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
3031 ...
3032 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
3033 Don't include <sysdep.h> nor <init-arch.h>.
3034 (_ZGVbN4vvv_sincosf): Removed.
3035 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
3036 ...
3037 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
3038 Don't include <sysdep.h> nor <init-arch.h>.
3039 (_ZGVdN8vvv_sincosf): Removed.
3040 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
3041 ...
3042 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
3043 Don't include <sysdep.h> nor <init-arch.h>.
3044 (_ZGVeN16v_sinf): Removed.
3045 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
3046 ...
3047 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
3048 Don't include <sysdep.h> nor <init-arch.h>.
3049 (_ZGVbN4v_sinf): Removed.
3050 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
3051 ...
3052 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
3053 Don't include <sysdep.h> nor <init-arch.h>.
3054 (_ZGVdN8v_sinf): Removed.
3055
10a87ca4
L
30562017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3057
3058 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3059 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
3060 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
3061 s_rint-sse4_1 and s_rintf-sse4_1.
3062 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
3063 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
3064 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
3065 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
3066 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
3067 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
3068 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
3069 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
3070 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
3071 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
3072 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
3073 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3074 (__ceil): Removed.
3075 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
3076 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
3077 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3078 (__ceilf): Removed.
3079 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
3080 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
3081 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3082 (__floor): Removed.
3083 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
3084 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
3085 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3086 (__floorf): Removed.
3087 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
3088 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
3089 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3090 (__nearbyint): Removed.
3091 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
3092 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
3093 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3094 (__nearbyintf): Removed.
3095 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
3096 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
3097 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3098 (__rint): Removed.
3099 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
3100 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
3101 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
3102 (__rintf): Removed.
3103
1e8e527d
L
31042017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3105
3106 * sysdeps/i386/start.S (_start): Check Check PIC instead of
3107 SHARED. Avoid dynamic relocation against main in static PIE.
3108
e13daad7
L
31092017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3110
3111 [BZ #21815]
3112 * elf/Makefile (CFLAGS-tst-prelink.c): New.
3113 (LDFLAGS-tst-prelink): Likewise.
3114
627c69c8
L
31152017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3116
3117 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
3118 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
3119 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
3120 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3121 (INTERNAL_SYSCALL_NCS): Likewise.
3122 (LOADARGS_1): Likewise.
3123 (LOADARGS_5): Likewise.
3124 (RESTOREARGS_1): Likewise.
3125 (RESTOREARGS_5): Likewise.
3126
fc11ff8d
L
31272017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3128
3129 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
3130 (MEMPCPY_SYMBOL): Likewise.
3131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3132 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
3133 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
3134 in libc.a.
3135 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3136 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3137 Likewise.
3138 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
3139 (__hidden_ver1): Don't use in libc.a.
3140 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3141 (__mempcpy): Don't create a weak alias in libc.a.
3142 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
3143 libc.a.
3144 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
3145 (__hidden_ver1): Don't use in libc.a.
3146
19f1a11e
L
31472017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3148
3149 * config.make.in (have-insert): New.
3150 * configure.ac (libc_cv_insert): New. Set to yes if linker
3151 supports INSERT in linker script.
3152 (AC_SUBST(libc_cv_insert): New.
3153 * configure: Regenerated.
3154 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
3155 if $(have-insert) == yes.
3156
3093fd5e
L
31572017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3158
3159 * elf/Makefile (tests): Add vismain only if
3160 $(have-protected-data) == yes.
3161 (tests-pie): Likewise.
3162
d2cf37c0
L
31632017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3164
3165 [BZ #21871]
3166 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3167 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
3168
c8a0e6ec
L
31692017-08-04 H.J. Lu <hongjiu.lu@intel.com>
3170
3171 [BZ #21790]
3172 * sysdeps/i386/i586/memset.S
3173 (__memset_zero_constant_len_parameter): Removed.
3174 * sysdeps/i386/i686/memset.S
3175 (__memset_zero_constant_len_parameter): Likewise.
3176 * sysdeps/i386/i686/multiarch/memset_chk.S
3177 (__memset_zero_constant_len_parameter): Likewise.
3178 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
3179 Likewise.
3180
2b34e271
AJ
31812017-08-03 Aurelien Jarno <aurelien@aurel32.net>
3182
3183 * stdlib/getentropy.c (getentropy): Change return type to int.
3184
144bdab0
AJ
31852017-08-03 Aurelien Jarno <aurelien@aurel32.net>
3186
3187 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3188
24ab7723
JM
31892017-08-03 Joseph Myers <joseph@codesourcery.com>
3190
3191 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
3192 u_intN_t.
3193 * math/s_nexttowardf.c (__nexttowardf): Likewise.
3194 * sysdeps/generic/math_private.h (ieee_double_shape_type):
3195 Likewise.
3196 (ieee_float_shape_type): Likewise.
3197 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
3198 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
3199 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3200 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3201 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3202 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
3203 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
3204 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3205 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3206 Likewise.
3207 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3208 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3209 (__ieee754_yn): Likewise.
3210 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3211 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3212 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
3213 Likewise.
3214 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3215 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
3216 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
3217 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
3218 (__erfc): Likewise.
3219 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
3220 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
3221 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
3222 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
3223 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
3224 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
3225 Likewise.
3226 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
3227 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
3228 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
3229 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
3230 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3231 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
3232 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
3233 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
3234 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
3235 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
3236 (__issignaling): Likewise.
3237 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
3238 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
3239 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3240 Likewise.
3241 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3242 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3243 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
3244 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
3245 Likewise.
3246 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
3247 Likewise.
3248 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
3249 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
3250 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
3251 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
3252 (__erfcf): Likewise.
3253 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
3254 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
3255 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
3256 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
3257 Likewise.
3258 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
3259 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
3260 Likewise.
3261 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3262 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
3263 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3264 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
3265 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
3266 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3267 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
3268 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
3269 Likewise.
3270 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
3271 Likewise.
3272 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
3273 Likewise.
3274 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
3275 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3276 Likewise.
3277 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3278 Likewise.
3279 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3280 (__ieee754_ynl): Likewise.
3281 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3282 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
3283 Likewise.
3284 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
3285 Likewise.
3286 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
3287 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
3288 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3289 Likewise.
3290 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
3291 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
3292 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
3293 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
3294 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
3295 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
3296 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
3297 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
3298 Likewise.
3299 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3300 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
3301 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
3302 Likewise.
3303 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
3304 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
3305 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3306 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
3307 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
3308 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3309 Likewise.
3310 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3311 Likewise.
3312 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3313 Likewise.
3314 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3315 Likewise.
3316 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
3317 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3318 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3319 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
3320 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
3321 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
3322 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
3323 Likewise.
3324 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3325 Likewise.
3326 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3327 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3328 Likewise.
3329 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3330 (__ieee754_remainderl): Likewise.
3331 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3332 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3333 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3334 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3335 Likewise.
3336 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3337 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3338 Likewise.
3339 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3340 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
3341 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
3342 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
3343 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3344 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3345 Likewise.
3346 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3347 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
3348 (__ieee754_y0l): Likewise.
3349 (pzero): Likewise.
3350 (qzero): Likewise.
3351 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3352 (__ieee754_y1l): Likewise.
3353 (pone): Likewise.
3354 (qone): Likewise.
3355 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3356 (__ieee754_ynl): Likewise.
3357 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
3358 (__ieee754_lgammal_r): Likewise.
3359 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
3360 Likewise.
3361 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
3362 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
3363 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
3364 (__erfcl): Likewise.
3365 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3366 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
3367 Likewise.
3368 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
3369 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
3370 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3371 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
3372 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
3373 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3374 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3375 Likewise.
3376 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
3377 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3378 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
3379 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
3380 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3381 Likewise.
3382 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
3383 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
3384 Likewise.
3385 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
3386 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
3387 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
3388 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3389 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
3390
964263bb
FW
33912017-08-03 Florian Weimer <fweimer@redhat.com>
3392
3393 [BZ #21885]
3394 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
3395 on memory allocation failure.
3396
e98c925f
AM
33972017-08-03 Alan Modra <amodra@gmail.com>
3398
3399 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
3400 tst-tlsopt-powerpc.c with function name change and no test harness.
3401 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
3402 Call tls_get_addr_opt_test.
3403 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
3404 (modules-names): Add mod-tlsopt-powerpc.
3405 (mod-tlsopt-powerpc.so-no-z-defs): Define.
3406 (tst-tlsopt-powerpc): Depend on .so.
3407 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
3408 define. Expand use in TLS_GD and TLS_LD.
3409
8ee1abdb
ST
34102017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3411
3412 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
3413 function.
3da5756e 3414 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 3415
42df8d59
JM
34162017-08-02 Joseph Myers <joseph@codesourcery.com>
3417
3418 [BZ #21686]
3419 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
3420 comparing size with that of double.
3421 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
3422 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
3423 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
3424 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
3425 (__TGMATH_BINARY_REAL_IMAG): Likewise.
3426 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
3427 unsigned __int128 types.
3428
b7f95f49
SE
34292017-08-02 Steve Ellcey <sellcey@cavium.com>
3430
3431 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
3432 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
3433 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
3434 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
3435 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
3436
5b736bc9
L
34372017-08-02 H.J. Lu <hongjiu.lu@intel.com>
3438
3439 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
3440
dfc93c41
L
34412017-08-02 H.J. Lu <hongjiu.lu@intel.com>
3442
3443 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
3444 of SHARED.
3445 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3446 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3448 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3449 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3450 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3452
2fee621d
JM
34532017-08-02 Joseph Myers <joseph@codesourcery.com>
3454
3455 [BZ #21685]
3456 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
3457 bit-field expressions passed to sizeof or typeof.
3458 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3459 (__TGMATH_F128): Likewise.
3460 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3461 (__TGMATH_CF128): Likewise.
3462 (__TGMATH_UNARY_REAL_ONLY): Likewise.
3463 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
3464 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
3465 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
3466 (__TGMATH_BINARY_REAL_ONLY): Likewise.
3467 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
3468 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
3469 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
3470 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
3471 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
3472 (__TGMATH_UNARY_REAL_IMAG): Likewise.
3473 (__TGMATH_UNARY_IMAG): Likewise.
3474 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
3475 (__TGMATH_BINARY_REAL_IMAG): Likewise.
3476 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
3477 type.
3478 (define_vars_for_type): Handle bit_field type specially.
3479 (Tests.__init__): Declare structure with bit-field element.
3480
b358255f
L
34812017-08-02 H.J. Lu <hongjiu.lu@intel.com>
3482
3483 [BZ #21791]
3484 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
3485 (MEMCPY_CHK): Define only if SHARED is defined.
3486 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
3487 Likewise.
3488 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
3489 Likewise.
edf66db1
SP
3490
3491See ChangeLog.18 for earlier changes.