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