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