]>
Commit | Line | Data |
---|---|---|
2ef8d469 ST |
1 | 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org> |
2 | ||
3 | * sysdeps/mach/hurd/bits/sysmacros.h: New file. | |
97e02ad2 ST |
4 | * mach/stack_chk_fail_local.c: New file. |
5 | * hurd/stack_chk_fail_local.c: New file. | |
6 | * mach/Machrules ($(interface-library)-routines): Add | |
7 | stack_chk_fail_local. | |
8 | * mach/Versions (GLIBC_2.4): Add __stack_chk_fail. | |
9 | * hurd/Versions (GLIBC_2.4): Add __stack_chk_fail. | |
99ee4d26 ST |
10 | * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o, |
11 | CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o, | |
12 | CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o, | |
13 | CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector). | |
14 | * hurd/Makefile (CFLAGS-hurdstartup.o, | |
15 | CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector). | |
2ef8d469 | 16 | |
7ab70c98 L |
17 | 2017-08-25 H.J. Lu <hongjiu.lu@intel.com> |
18 | ||
19 | * sysdeps/x86/cpu-features.h [__ASSEMBLER__] | |
20 | (index_cpu_*, index_arch_*): Removed. | |
21 | ||
39e7a5a6 SN |
22 | 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com> |
23 | ||
24 | * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t): | |
25 | Use uint64_t instead of unsigned long. | |
26 | ||
bba5c930 JM |
27 | 2017-08-25 Joseph Myers <joseph@codesourcery.com> |
28 | ||
a6ccdb08 JM |
29 | * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to |
30 | [__HAVE_DISTINCT_FLOAT128]. | |
31 | ||
23761119 JM |
32 | * math/math.h (_MSUFTO_): Define and undefine for each inclusion |
33 | of <bits/math-finite.h>. | |
34 | (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each | |
35 | inclusion of <bits/math-finite.h>. | |
36 | * math/bits/math-finite.h (__REDIRTO_X): Do not define | |
37 | conditionally on [__MATH_DECLARING_LDOUBLE && defined | |
38 | __NO_LONG_DOUBLE_MATH]. | |
39 | (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call. | |
40 | (__MATH_REDIRCALL_2): Likewise. | |
41 | (__MATH_REDIRCALL_INTERNAL): Likewise. | |
42 | (__REDIRFROM (lgamma, , _MSUF_)): Likewise. | |
43 | (__REDIRFROM (gamma, , _MSUF_)): Likewise. | |
44 | (__REDIRFROM (tgamma, , _MSUF_)): Likewise. | |
45 | ||
bba5c930 JM |
46 | * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S: |
47 | Remove file. | |
48 | * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S: | |
49 | Likewise. | |
50 | * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c: | |
51 | Likewise. | |
52 | * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S: | |
53 | Likewise. | |
54 | * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S: | |
55 | Likewise. | |
56 | * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c: | |
57 | Likewise. | |
58 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise. | |
59 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise. | |
60 | * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise. | |
61 | * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise. | |
62 | * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile | |
63 | (libm-sysdep-routines): Remove w_sqrt_compat-power5, | |
64 | w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and | |
65 | w_sqrtf_compat-ppc32. | |
66 | ||
3d7b66f6 GG |
67 | 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> |
68 | ||
69 | * math/math.h [defined __cplusplus] (issignaling): In the long | |
70 | double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH | |
71 | is not defined. Call __issignaling, otherwise. | |
72 | ||
ebd6f007 AZ |
73 | 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org> |
74 | ||
75 | * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for | |
76 | syscall definitions and replace __builtin_expect with __glibc_likely. | |
77 | * sysdeps/unix/syscall-template.S: Update comment about cancellable | |
78 | syscall. | |
79 | (SYSCALL_CANCELLABLE): Removedefinition | |
80 | * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove | |
81 | definition. | |
82 | (PSEUDO_END): Likewise. | |
83 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
84 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
85 | [IS_IN (libc)] (CENABLE): Likewise. | |
86 | [IS_IN (libc)] (CENABLE): Likewise. | |
87 | [IS_IN (librt)] (CDISABLE): Likewise. | |
88 | [IS_IN (librt)] (CDISABLE): Likewise. | |
89 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
90 | * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove | |
91 | definition. | |
92 | (PSEUDO_END): Likewise. | |
93 | [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise. | |
94 | [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise. | |
95 | [IS_IN (libc)] (__local_enable_asynccancel): Likewise. | |
96 | [IS_IN (libc)] (__local_enable_asynccancel): Likewise. | |
97 | [IS_IN (librt)] (__local_disable_asynccancel): Likewise. | |
98 | [IS_IN (librt)] (__local_disable_asynccancel): Likewise. | |
99 | (CENABLE): Likewise. | |
100 | (CDISABLE): Likewise. | |
101 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
102 | * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove | |
103 | defintion. | |
104 | (PSEUDO_END): Likewise. | |
105 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
106 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
107 | [IS_IN (libc)] (CENABLE): Likewise. | |
108 | [IS_IN (libc)] (CENABLE): Likewise. | |
109 | [IS_IN (librt)] (CDISABLE): Likewise. | |
110 | [IS_IN (librt)] (CDISABLE): Likewise. | |
111 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
112 | * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove | |
113 | definition. | |
114 | (PSEUDO_END): Likewise. | |
115 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
116 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
117 | [IS_IN (libc)] (CENABLE): Likewise. | |
118 | [IS_IN (libc)] (CENABLE): Likewise. | |
119 | [IS_IN (librt)] (CDISABLE): Likewise. | |
120 | [IS_IN (librt)] (CDISABLE): Likewise. | |
121 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
122 | * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove | |
123 | definition. | |
124 | (PSEUDO_END): Likewise. | |
125 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
126 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
127 | [IS_IN (libc)] (CENABLE): Likewise. | |
128 | [IS_IN (libc)] (CENABLE): Likewise. | |
129 | [IS_IN (librt)] (CDISABLE): Likewise. | |
130 | [IS_IN (librt)] (CDISABLE): Likewise. | |
131 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
132 | * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove | |
133 | definition. | |
134 | (PSEUDO_END): Likewise. | |
135 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
136 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
137 | [IS_IN (libc)] (CENABLE): Likewise. | |
138 | [IS_IN (libc)] (CENABLE): Likewise. | |
139 | [IS_IN (librt)] (CDISABLE): Likewise. | |
140 | [IS_IN (librt)] (CDISABLE): Likewise. | |
141 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
142 | * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove | |
143 | definition. | |
144 | (PSEUDO_END): Likewise. | |
145 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
146 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
147 | [IS_IN (libc)] (CENABLE): Likewise. | |
148 | [IS_IN (libc)] (CENABLE): Likewise. | |
149 | [IS_IN (librt)] (CDISABLE): Likewise. | |
150 | [IS_IN (librt)] (CDISABLE): Likewise. | |
151 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
152 | * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove | |
153 | definition. | |
154 | (PSEUDO_END): Likewise. | |
155 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
156 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
157 | [IS_IN (libc)] (CENABLE): Likewise. | |
158 | [IS_IN (libc)] (CENABLE): Likewise. | |
159 | [IS_IN (librt)] (CDISABLE): Likewise. | |
160 | [IS_IN (librt)] (CDISABLE): Likewise. | |
161 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
162 | * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO): | |
163 | Remove definition. | |
164 | (PSEUDO_END): Likewise. | |
165 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
166 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
167 | [IS_IN (libc)] (CENABLE): Likewise. | |
168 | [IS_IN (libc)] (CENABLE): Likewise. | |
169 | [IS_IN (librt)] (CDISABLE): Likewise. | |
170 | [IS_IN (librt)] (CDISABLE): Likewise. | |
171 | (SINGLE_THREAD_P): Likewise. | |
172 | * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove | |
173 | definition. | |
174 | (PSEUDO_END): Likewise. | |
175 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
176 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
177 | [IS_IN (libc)] (CENABLE): Likewise. | |
178 | [IS_IN (libc)] (CENABLE): Likewise. | |
179 | [IS_IN (librt)] (CDISABLE): Likewise. | |
180 | [IS_IN (librt)] (CDISABLE): Likewise. | |
181 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
182 | * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove | |
183 | definition. | |
184 | (PSEUDO_END): Likewise. | |
185 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
186 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
187 | [IS_IN (libc)] (CENABLE): Likewise. | |
188 | [IS_IN (libc)] (CENABLE): Likewise. | |
189 | [IS_IN (librt)] (CDISABLE): Likewise. | |
190 | [IS_IN (librt)] (CDISABLE): Likewise. | |
191 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
192 | * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file. | |
193 | * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise. | |
194 | * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file. | |
195 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove | |
196 | definition. | |
197 | (PSEUDO_END): Likewise. | |
198 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
199 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
200 | [IS_IN (libc)] (CENABLE): Likewise. | |
201 | [IS_IN (libc)] (CENABLE): Likewise. | |
202 | [IS_IN (librt)] (CDISABLE): Likewise. | |
203 | [IS_IN (librt)] (CDISABLE): Likewise. | |
204 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
205 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove | |
206 | definition. | |
207 | (PSEUDO_END): Likewise. | |
208 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
209 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
210 | [IS_IN (libc)] (CENABLE): Likewise. | |
211 | [IS_IN (libc)] (CENABLE): Likewise. | |
212 | [IS_IN (librt)] (CDISABLE): Likewise. | |
213 | [IS_IN (librt)] (CDISABLE): Likewise. | |
214 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
215 | * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove | |
216 | definition. | |
217 | (PSEUDO_END): Likewise. | |
218 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
219 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
220 | [IS_IN (libc)] (CENABLE): Likewise. | |
221 | [IS_IN (libc)] (CENABLE): Likewise. | |
222 | [IS_IN (librt)] (CDISABLE): Likewise. | |
223 | [IS_IN (librt)] (CDISABLE): Likewise. | |
224 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
225 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file. | |
226 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise. | |
227 | * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file. | |
228 | * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove | |
229 | definition. | |
230 | (PSEUDO_END): Likewise. | |
231 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
232 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
233 | [IS_IN (libc)] (CENABLE): Likewise. | |
234 | [IS_IN (libc)] (CENABLE): Likewise. | |
235 | [IS_IN (librt)] (CDISABLE): Likewise. | |
236 | [IS_IN (librt)] (CDISABLE): Likewise. | |
237 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
238 | * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove | |
239 | definition. | |
240 | (PSEUDO_END): Likewise. | |
241 | [IS_IN (libpthread)] (CENABLE): Likewise. | |
242 | [IS_IN (libpthread)] (CDISABLE): Likewise. | |
243 | [IS_IN (libc)] (CENABLE): Likewise. | |
244 | [IS_IN (libc)] (CENABLE): Likewise. | |
245 | [IS_IN (librt)] (CDISABLE): Likewise. | |
246 | [IS_IN (librt)] (CDISABLE): Likewise. | |
247 | [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise. | |
248 | ||
8aa48656 SN |
249 | 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com> |
250 | ||
251 | * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS. | |
252 | ||
fcaaca41 L |
253 | 2017-08-23 H.J. Lu <hongjiu.lu@intel.com> |
254 | ||
255 | * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. | |
256 | ||
376b40a2 L |
257 | 2017-08-23 H.J. Lu <hongjiu.lu@intel.com> |
258 | ||
259 | [BZ #21982] | |
260 | * string/stratcliff.c (do_test): Declare size, nchars, inner, | |
261 | middle and outer with size_t instead of int. Repleace %d and | |
262 | %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and | |
263 | "MAX (outer, nchars - 64)" to support unsigned outer and | |
264 | nchars. Also exit loop when outer == 0. | |
265 | ||
2b0b9a1c AZ |
266 | 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org> |
267 | ||
268 | * include/fcntl.h (__fcntl_nocancel): Remove definition. | |
269 | * include/signal.h (__sigsuspend_nocancel): Likewise. | |
270 | * include/time.h (__nanosleep_nocancel): Likewise. | |
271 | * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro. | |
272 | * login/utmp_file.c: Include non cancellable syscall header. | |
273 | * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New | |
274 | prototype. | |
275 | ||
b9eaca8f L |
276 | 2017-08-23 H.J. Lu <hongjiu.lu@intel.com> |
277 | ||
278 | * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F | |
279 | .byte sequences with AVX512F instructions. | |
280 | * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise. | |
281 | * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise. | |
282 | * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise. | |
283 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: | |
284 | Likewise. | |
285 | * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: | |
286 | Likewise. | |
287 | ||
5a706f64 SE |
288 | 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com> |
289 | Steve Ellcey <sellcey@cavium.com> | |
290 | ||
291 | * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): | |
292 | Use PTR_REG macro in cmp instruction. | |
293 | ||
b513da7e GG |
294 | 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> |
295 | ||
296 | * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc): | |
297 | Change the return type of the ifunc resolver to match the return | |
298 | type of the target function. | |
299 | ||
78ca091c AZ |
300 | 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org> |
301 | ||
b70b6026 AZ |
302 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove. |
303 | (preadv64): Likewise. | |
304 | (pwrite64(: Likewise. | |
305 | (pwritev64): Likewise. | |
306 | ||
78ca091c AZ |
307 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h |
308 | (INTERNAL_SYSCALL_NCS_TYPES): Remove define. | |
309 | (LOAD_ARGS_0): Likewise. | |
310 | (LOAD_ARGS_1): Likewise. | |
311 | (LOAD_ARGS_2): Likewise. | |
312 | (LOAD_ARGS_3): Likewise. | |
313 | (LOAD_ARGS_4): Likewise. | |
314 | (LOAD_ARGS_5): Likewise. | |
315 | (LOAD_ARGS_6): Likewise. | |
316 | (LOAD_REGS_0): Likewise. | |
317 | (LOAD_REGS_1): Likewise. | |
318 | (LOAD_REGS_2): Likewise. | |
319 | (LOAD_REGS_3): Likewise. | |
320 | (LOAD_REGS_4): Likewise. | |
321 | (LOAD_REGS_5): Likewise. | |
322 | (LOAD_REGS_6): Likewise. | |
323 | (ASM_ARGS_0): Likewise. | |
324 | (ASM_ARGS_1): Likewise. | |
325 | (ASM_ARGS_2): Likewise. | |
326 | (ASM_ARGS_3): Likewise. | |
327 | (ASM_ARGS_4): Likewise. | |
328 | (ASM_ARGS_5): Likewise. | |
329 | (ASM_ARGS_6): Likewise. | |
330 | (LOAD_ARGS_TYPES_1): Likewise. | |
331 | (LOAD_ARGS_TYPES_2): Likewise. | |
332 | (LOAD_ARGS_TYPES_3): Likewise. | |
333 | (LOAD_ARGS_TYPES_4): Likewise. | |
334 | (LOAD_ARGS_TYPES_5): Likewise. | |
335 | (LOAD_ARGS_TYPES_6): Likewise. | |
336 | (LOAD_REGS_TYPES_1): Likewise. | |
337 | (LOAD_REGS_TYPES_2): Likewise. | |
338 | (LOAD_REGS_TYPES_3): Likewise. | |
339 | (LOAD_REGS_TYPES_4): Likewise. | |
340 | (LOAD_REGS_TYPES_5): Likewise. | |
341 | (LOAD_REGS_TYPES_6): Likewise. | |
342 | (TYPEFY): New define. | |
343 | (ARGIFY): Likewise. | |
344 | (internal_syscall0): Likewise. | |
345 | (internal_syscall1): Likewise. | |
346 | (internal_syscall2): Likewise. | |
347 | (internal_syscall3): Likewise. | |
348 | (internal_syscall4): Likewise. | |
349 | (internal_syscall5): Likewise. | |
350 | (internal_syscall6): Likewise. | |
351 | * sysdeps/unix/sysv/linux/x86_64/x32/times.c | |
352 | (INTERNAL_SYSCALL_NCS): Remove define. | |
353 | (internal_syscall1): Add define. | |
354 | ||
453a493d GG |
355 | 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> |
356 | ||
357 | * math/w_remainder_compat.c: Remove duplicate inclusion of | |
358 | math-svid-compat.h. | |
359 | * math/w_remainderf_compat.c: Likewise. | |
360 | * math/w_remainderl_compat.c: Likewise. | |
361 | ||
f2f048a5 GG |
362 | 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> |
363 | ||
364 | * sysdeps/powerpc/fpu/libm-test-ulps: Update. | |
365 | ||
d9bef9c0 JM |
366 | 2017-08-22 Joseph Myers <joseph@codesourcery.com> |
367 | ||
368 | [BZ #21684] | |
369 | * math/tgmath.h (__floating_type): Simplify definitions. | |
370 | (__real_integer_type): New macro. | |
371 | (__complex_integer_type): Likewise. | |
372 | (__expr_is_real): Likewise. | |
373 | (__tgmath_real_type_sub): Update comment to describe handling of | |
374 | complex types. | |
375 | (__tgmath_complex_type_sub): New macro. | |
376 | (__tgmath_complex_type): Likewise. | |
377 | [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] | |
378 | (__TGMATH_CF128): Use __expr_is_real. | |
379 | (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and | |
380 | __expr_is_real. | |
381 | (__TGMATH_BINARY_REAL_IMAG): Likewise. | |
382 | (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real. | |
383 | * math/gen-tgmath-tests.py (Type.create_type): Create complex | |
384 | integer types. | |
385 | ||
08d6eb46 AZ |
386 | 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org> |
387 | ||
988f991b AZ |
388 | * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove |
389 | macro. | |
390 | * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove | |
391 | alias. | |
392 | * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel): | |
393 | Likewise. | |
394 | ||
6f33fd04 AZ |
395 | * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace |
396 | nanosleep_not_cancel with __nanosleep_nocancel. | |
397 | * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro. | |
398 | (__nanosleep_nocancel): New macro. | |
399 | * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New | |
400 | function. | |
401 | * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove | |
402 | macro. | |
403 | (__nanosleep_nocancel): New prototype. | |
404 | ||
08d6eb46 AZ |
405 | * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace |
406 | pause_not_cancel with __pause_nocancel. | |
407 | * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro. | |
408 | (__pause_nocancel): New macro. | |
409 | * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove | |
410 | macro. | |
411 | (__pause_nocancel): New prototype. | |
412 | * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function. | |
413 | ||
ee4e992e MS |
414 | 2017-08-22 Martin Sebor <msebor@redhat.com> |
415 | ||
416 | * include/libc-symbols.h (__ifunc_resolver): Declare resolver | |
417 | to return a pointer to the same type as the target function. | |
418 | ||
20962acb L |
419 | 2017-08-22 H.J. Lu <hongjiu.lu@intel.com> |
420 | ||
421 | [BZ #18822] | |
422 | [BZ #21986] | |
423 | * include/printf.h (__printf_fphex): Add attribute_hidden. | |
424 | (__guess_grouping): New prototype. | |
425 | * stdio-common/printf_fp.c (__guess_grouping): Removed. | |
426 | * stdio-common/reg-printf.c (__register_printf_specifier): Add | |
427 | libc_hidden_proto and libc_hidden_def. | |
428 | * stdlib/strfmon_l.c (__guess_grouping): Removed. | |
429 | (__vstrfmon_l): Remove the third argument passed to | |
430 | __guess_grouping. | |
431 | ||
a16e8bc0 GG |
432 | 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> |
433 | ||
434 | * math/math.h [defined __cplusplus] (issignaling): Provide a C++ | |
435 | definition for issignaling that does not rely on __MATH_TG, | |
436 | since __MATH_TG uses __builtin_types_compatible_p, which is only | |
437 | available in C mode. | |
438 | (CFLAGS-test-math-issignaling.cc): New variable. | |
439 | * math/Makefile [CXX] (tests): Add test-math-issignaling. | |
440 | * math/test-math-issignaling.cc: New test for C++ implementation | |
441 | of type-generic issignaling. | |
442 | * sysdeps/powerpc/powerpc64le/Makefile [subdir == math] | |
443 | (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build | |
444 | options of test-math-issignaling on powerpc64le. | |
445 | ||
8d2ec553 L |
446 | 2017-08-22 H.J. Lu <hongjiu.lu@intel.com> |
447 | ||
448 | * include/libc-symbols.h (__hidden_proto_hiddenattr): New for | |
449 | building libc.a. | |
450 | (hidden_proto): Likewise. | |
451 | (hidden_tls_proto): Likewise. | |
452 | (__hidden_proto): Likewise. | |
453 | ||
a4d57b79 FW |
454 | 2017-08-22 Florian Weimer <fweimer@redhat.com> |
455 | ||
456 | math: Statically link tests of internal functionality. | |
457 | * math/Makefile (tests): Remove atest-exp, atest-sincos, | |
458 | atest-exp2. | |
459 | (tests-static): Add atest-exp, atest-sincos, atest-exp2. | |
460 | (gmp-objs): Remove assignment. | |
461 | (atest-exp, atest-sincos, atest-exp2): Remove targets. | |
462 | ||
75dfe623 JM |
463 | 2017-08-22 Joseph Myers <joseph@codesourcery.com> |
464 | ||
80f91666 JM |
465 | [BZ #21987] |
466 | * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file | |
467 | and copy to ... | |
468 | * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h: | |
469 | ... here. | |
470 | * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h: | |
471 | ... and here. | |
472 | ||
75dfe623 JM |
473 | * assert/Makefile [$(have-cxx-thread_local)]: Move conditional |
474 | variable definitions above inclusion of ../Rules. | |
475 | ||
ea99fcd0 JM |
476 | 2017-08-21 Joseph Myers <joseph@codesourcery.com> |
477 | ||
478 | * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default | |
479 | case calling __builtin_unreachable. | |
480 | ||
19926de9 AZ |
481 | 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org> |
482 | ||
a8410a5f AZ |
483 | * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with |
484 | __waitpid_nocancel. | |
485 | * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro. | |
486 | (__waitpid_nocancel): New macro. | |
487 | * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove | |
488 | macro. | |
489 | (__waitpid_nocancel): Replace macro with a function. | |
490 | * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New | |
491 | function. | |
492 | ||
7369800c AZ |
493 | * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with |
494 | __fcntl_nocancel. | |
495 | * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro. | |
496 | * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise. | |
497 | ||
19926de9 AZ |
498 | * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with |
499 | __writev_nocancel_nostatus. | |
500 | (write_call_graph): Likewise. | |
501 | (write_bb_counts): Likewise. | |
502 | * resolv/herror.c (herror): Likewise. | |
503 | * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove | |
504 | macro. | |
505 | (__writev_nocancel_nostatus): New macro. | |
506 | * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status): | |
507 | Remove macro. | |
508 | (__writev_nocancel_nostatus): New function. | |
509 | ||
813378e9 JM |
510 | 2017-08-21 Joseph Myers <joseph@codesourcery.com> |
511 | ||
df1deda6 JM |
512 | Revert: |
513 | 2017-08-21 H.J. Lu <hongjiu.lu@intel.com> | |
514 | ||
515 | * include/libc-symbols.h (__hidden_proto_hiddenattr): New for | |
516 | building libc.a. | |
517 | (hidden_proto): Likewise. | |
518 | (hidden_tls_proto): Likewise. | |
519 | (__hidden_proto): Likewise. | |
520 | ||
831bbd55 JM |
521 | [BZ #21973] |
522 | * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file. | |
523 | * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise. | |
524 | * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S: | |
525 | Likewise. | |
526 | * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S: | |
527 | Likewise. | |
528 | * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S: | |
529 | Likewise. | |
530 | * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S: | |
531 | Likewise. | |
532 | * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise. | |
533 | * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise. | |
534 | * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise. | |
535 | * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise. | |
536 | * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add | |
537 | GLIBC_2.0 sqrtl symbol. | |
538 | ||
813378e9 JM |
539 | * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove. |
540 | [__USE_MISC] (_LIB_VERSION): Likewise. | |
541 | [__USE_MISC] (struct exception): Likewise. | |
542 | [__USE_MISC] (matherr): Likewise. | |
543 | [__USE_MISC] (DOMAIN): Likewise. | |
544 | [__USE_MISC] (SING): Likewise. | |
545 | [__USE_MISC] (OVERFLOW): Likewise. | |
546 | [__USE_MISC] (UNDERFLOW): Likewise. | |
547 | [__USE_MISC] (TLOSS): Likewise. | |
548 | [__USE_MISC] (PLOSS): Likewise. | |
549 | [__USE_MISC] (HUGE): Likewise. | |
550 | [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC]. | |
551 | * math/math-svid-compat.h: New file. | |
552 | * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf | |
553 | and matherrl. | |
554 | * include/math.h [!_ISOMAC] (__matherr): Remove. | |
555 | * manual/arith.texi (FP Exceptions): Do not document matherr. | |
556 | * math/Makefile (tests): Change test-matherr to test-matherr-3. | |
557 | (tests-internal): New variable. | |
558 | (install-lib): Do not add libieee.a. | |
559 | (non-lib.a): Likewise. | |
560 | (extra-objs): Do not add libieee.a and ieee-math.o. | |
561 | (CPPFLAGS-s_lib_version.c): Remove variable. | |
562 | ($(objpfx)libieee.a): Remove rule. | |
563 | ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm). | |
564 | * math/ieee-math.c: Remove. | |
565 | * math/libm-test-support.c (matherr): Remove. | |
566 | * math/test-matherr.c: Use <support/test-driver.c>. Add copyright | |
567 | and license notices. Include <math-svid-compat.h> and | |
568 | <shlib-compat.h>. | |
569 | (matherr): Undefine as macro. Use compat_symbol_reference. | |
570 | (_LIB_VERSION): Likewise. | |
571 | * math/test-matherr-2.c: New file. | |
572 | * math/test-matherr-3.c: Likewise. | |
573 | * sysdeps/generic/math_private.h (__kernel_standard): Remove | |
574 | declaration. | |
575 | (__kernel_standard_f): Likewise. | |
576 | (__kernel_standard_l): Likewise. | |
577 | * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or | |
578 | <math_private.h>. Include <math-svid-compat.h>. | |
579 | (_LIB_VERSION): Undefine as macro. | |
580 | (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define | |
581 | only if [LIBM_SVID_COMPAT || !defined SHARED]. If | |
582 | [LIBM_SVID_COMPAT], use compat_symbol. | |
583 | * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or | |
584 | <math_private.h>. Include <math-svid-compat.h>. | |
585 | (matherr): Undefine as macro. | |
586 | (__matherr): Define only if [LIBM_SVID_COMPAT]. Use | |
587 | compat_symbol. | |
588 | * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>. | |
589 | [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use | |
590 | compat_symbol_reference. | |
591 | [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise. | |
592 | [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro. | |
593 | [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise. | |
594 | * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>. | |
595 | (MATHERR_D): Remove declaration. | |
596 | [!_LIBC] (_LIB_VERSION_TYPE): Likewise | |
597 | [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise. | |
598 | [LIBM_BUILD] (pmatherrf): Likewise. | |
599 | [LIBM_BUILD] (pmatherr): Likewise. | |
600 | [LIBM_BUILD] (pmatherrl): Likewise. | |
601 | (DOMAIN): Likewise. | |
602 | (SING): Likewise. | |
603 | (OVERFLOW): Likewise. | |
604 | (UNDERFLOW): Likewise. | |
605 | (TLOSS): Likewise. | |
606 | (PLOSS): Likewise. | |
607 | * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>. | |
608 | (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use | |
609 | compat_symbol. | |
610 | * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>. | |
611 | (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use | |
612 | compat_symbol. | |
613 | * math/lgamma-compat.h: Include <math-svid-compat.h>. | |
614 | * math/w_acos_compat.c: Likewise. | |
615 | * math/w_acosf_compat.c: Likewise. | |
616 | * math/w_acosh_compat.c: Likewise. | |
617 | * math/w_acoshf_compat.c: Likewise. | |
618 | * math/w_acoshl_compat.c: Likewise. | |
619 | * math/w_acosl_compat.c: Likewise. | |
620 | * math/w_asin_compat.c: Likewise. | |
621 | * math/w_asinf_compat.c: Likewise. | |
622 | * math/w_asinl_compat.c: Likewise. | |
623 | * math/w_atan2_compat.c: Likewise. | |
624 | * math/w_atan2f_compat.c: Likewise. | |
625 | * math/w_atan2l_compat.c: Likewise. | |
626 | * math/w_atanh_compat.c: Likewise. | |
627 | * math/w_atanhf_compat.c: Likewise. | |
628 | * math/w_atanhl_compat.c: Likewise. | |
629 | * math/w_cosh_compat.c: Likewise. | |
630 | * math/w_coshf_compat.c: Likewise. | |
631 | * math/w_coshl_compat.c: Likewise. | |
632 | * math/w_exp10_compat.c: Likewise. | |
633 | * math/w_exp10f_compat.c: Likewise. | |
634 | * math/w_exp10l_compat.c: Likewise. | |
635 | * math/w_exp2_compat.c: Likewise. | |
636 | * math/w_exp2f_compat.c: Likewise. | |
637 | * math/w_exp2l_compat.c: Likewise. | |
638 | * math/w_fmod_compat.c: Likewise. | |
639 | * math/w_fmodf_compat.c: Likewise. | |
640 | * math/w_fmodl_compat.c: Likewise. | |
641 | * math/w_hypot_compat.c: Likewise. | |
642 | * math/w_hypotf_compat.c: Likewise. | |
643 | * math/w_hypotl_compat.c: Likewise. | |
644 | * math/w_j0_compat.c: Likewise. | |
645 | * math/w_j0f_compat.c: Likewise. | |
646 | * math/w_j0l_compat.c: Likewise. | |
647 | * math/w_j1_compat.c: Likewise. | |
648 | * math/w_j1f_compat.c: Likewise. | |
649 | * math/w_j1l_compat.c: Likewise. | |
650 | * math/w_jn_compat.c: Likewise. | |
651 | * math/w_jnf_compat.c: Likewise. | |
652 | * math/w_jnl_compat.c: Likewise. | |
653 | * math/w_lgamma_main.c: Likewise. | |
654 | * math/w_lgamma_r_compat.c: Likewise. | |
655 | * math/w_lgammaf_main.c: Likewise. | |
656 | * math/w_lgammaf_r_compat.c: Likewise. | |
657 | * math/w_lgammal_main.c: Likewise. | |
658 | * math/w_lgammal_r_compat.c: Likewise. | |
659 | * math/w_log10_compat.c: Likewise. | |
660 | * math/w_log10f_compat.c: Likewise. | |
661 | * math/w_log10l_compat.c: Likewise. | |
662 | * math/w_log2_compat.c: Likewise. | |
663 | * math/w_log2f_compat.c: Likewise. | |
664 | * math/w_log2l_compat.c: Likewise. | |
665 | * math/w_log_compat.c: Likewise. | |
666 | * math/w_logf_compat.c: Likewise. | |
667 | * math/w_logl_compat.c: Likewise. | |
668 | * math/w_pow_compat.c: Likewise. | |
669 | * math/w_powf_compat.c: Likewise. | |
670 | * math/w_powl_compat.c: Likewise. | |
671 | * math/w_remainder_compat.c: Likewise. | |
672 | * math/w_remainderf_compat.c: Likewise. | |
673 | * math/w_remainderl_compat.c: Likewise. | |
674 | * math/w_scalb_compat.c: Likewise. | |
675 | * math/w_scalbf_compat.c: Likewise. | |
676 | * math/w_scalbl_compat.c: Likewise. | |
677 | * math/w_sinh_compat.c: Likewise. | |
678 | * math/w_sinhf_compat.c: Likewise. | |
679 | * math/w_sinhl_compat.c: Likewise. | |
680 | * math/w_sqrt_compat.c: Likewise. | |
681 | * math/w_sqrtf_compat.c: Likewise. | |
682 | * math/w_sqrtl_compat.c: Likewise. | |
683 | * math/w_tgamma_compat.c: Likewise. | |
684 | * math/w_tgammaf_compat.c: Likewise. | |
685 | * math/w_tgammal_compat.c: Likewise. | |
686 | * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise. | |
687 | * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise. | |
688 | * sysdeps/ieee754/k_standard.c: Likewise. | |
689 | * sysdeps/ieee754/k_standardf.c: Likewise. | |
690 | * sysdeps/ieee754/k_standardl.c: Likewise. | |
691 | * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise. | |
692 | * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise. | |
693 | * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise. | |
694 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise. | |
695 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise. | |
696 | * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise. | |
697 | * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise. | |
698 | * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise. | |
699 | * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise. | |
700 | * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S: | |
701 | Likewise. | |
702 | * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S: | |
703 | Likewise. | |
704 | * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise. | |
705 | * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise. | |
706 | * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise. | |
707 | * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise. | |
708 | ||
4504783c FW |
709 | 2017-08-21 Florian Weimer <fweimer@redhat.com> |
710 | ||
711 | [BZ #21864] | |
712 | Do not compile benchmark helper objects with -DMODULE_NAME=libc. | |
713 | * benchtests/Makefile (others-extras): Set to $(bench-extra-objs). | |
714 | Move before inclusion of ../Rules. | |
715 | ||
b5889d25 FW |
716 | 2017-08-21 Florian Weimer <fweimer@redhat.com> |
717 | ||
718 | [BZ #21972] | |
719 | * assert/assert.h (assert): Use static_cast (bool) for C++. | |
720 | Use the ternary operator in the warning branch for GNU C. | |
721 | * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++. | |
722 | (CFLAGS-tst-assert-c++.o): Compile in C++11 mode. | |
723 | (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode. | |
724 | (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++. | |
725 | * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files. | |
726 | ||
41e673c1 L |
727 | 2017-08-21 H.J. Lu <hongjiu.lu@intel.com> |
728 | ||
729 | [BZ #18822] | |
730 | * sysdeps/unix/sysv/linux/x86_64/init-first.c | |
731 | (__syscall_clock_gettime): Add attribute_hidden. | |
732 | * sysdeps/unix/sysv/linux/x86_64/makecontext.c | |
733 | (__start_context): Likewise. | |
734 | ||
568ff429 L |
735 | 2017-08-21 H.J. Lu <hongjiu.lu@intel.com> |
736 | ||
737 | * include/libc-symbols.h (__hidden_proto_hiddenattr): New for | |
738 | building libc.a. | |
739 | (hidden_proto): Likewise. | |
740 | (hidden_tls_proto): Likewise. | |
741 | (__hidden_proto): Likewise. | |
742 | ||
7c41b4a1 L |
743 | 2017-08-21 H.J. Lu <hongjiu.lu@intel.com> |
744 | ||
745 | * include/libc-symbols.h (attribute_hidden): Enable hidden | |
746 | visibility in libc.a compiled with PIE. | |
747 | ||
483d7068 L |
748 | 2017-08-21 H.J. Lu <hongjiu.lu@intel.com> |
749 | ||
750 | [BZ #18822] | |
751 | * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)): | |
752 | Add attribute_hidden. | |
753 | ||
754 | 2017-08-21 H.J. Lu <hongjiu.lu@intel.com> | |
755 | ||
756 | [BZ #21864] | |
757 | * Makerules (all-nonlib): Add $(others-extras). | |
758 | * catgets/Makefile (others-extras): New. | |
759 | * elf/Makefile (others-extras): Likewise. | |
760 | * nss/Makefile (others-extras): Likewise. | |
761 | ||
54e4b8f2 L |
762 | 2017-08-21 H.J. Lu <hongjiu.lu@intel.com> |
763 | ||
764 | [BZ #18822] | |
765 | * csu/libc-start.c (__libc_multiple_libcs): Removed. | |
766 | * elf/dl-open.c: Include <libc-internal.h>. | |
767 | (__libc_multiple_libcs): Removed. | |
768 | * elf/dl-sysdep.c: Include <libc-internal.h> instead of | |
769 | <hp-timing.h>. | |
770 | * include/libc-internal.h (__libc_multiple_libcs): New. | |
771 | * misc/sbrk.c: Include <libc-internal.h>. | |
772 | (__libc_multiple_libcs): Removed. | |
773 | ||
1dbbb1ec L |
774 | 2017-08-21 H.J. Lu <hongjiu.lu@intel.com> |
775 | ||
776 | [BZ #18822] | |
777 | * grp/initgroups.c (__nss_group_database): Removed. | |
778 | (__nss_initgroups_database): Likewise. | |
779 | * nscd/gai.c (__nss_hosts_database): Likewise. | |
780 | * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise. | |
781 | * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise. | |
782 | * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise. | |
783 | * posix/tst-rfc3484.c (__nss_hosts_database): Likewise. | |
784 | * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise. | |
785 | * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add | |
786 | attribute_hidden. | |
787 | * nss/nsswitch.c (__nss_database_custom): Define only if | |
788 | USE_NSCD is defined. | |
789 | (__nss_configure_lookup): Use __nss_database_custom only if | |
790 | USE_NSCD is defined. | |
791 | * nss/nsswitch.h (__nss_database_custom): Declare only if | |
792 | USE_NSCD is defined. Add attribute_hidden. | |
793 | (__nss_setent): Add attribute_hidden. | |
794 | (__nss_endent): Likewise. | |
795 | (__nss_getent_r): Likewise. | |
796 | (__nss_getent): Likewise. | |
797 | (DEFINE_DATABASE): Declare __nss_##arg##_database. | |
798 | ||
2585d7b8 L |
799 | 2017-08-20 H.J. Lu <hongjiu.lu@intel.com> |
800 | ||
801 | [BZ #18822] | |
802 | * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add | |
803 | libc_hidden_proto and libc_hidden_def. | |
804 | ||
c8dfa99c L |
805 | 2017-08-20 H.J. Lu <hongjiu.lu@intel.com> |
806 | ||
807 | [BZ #18822] | |
808 | * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64): | |
809 | Add libc_hidden_proto. | |
810 | * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64): | |
811 | Add libc_hidden_def. | |
812 | ||
7ed87317 L |
813 | 2017-08-20 H.J. Lu <hongjiu.lu@intel.com> |
814 | ||
815 | [BZ #21974] | |
816 | * gmon/Makefile (routines): Remove bb_init_func and | |
817 | bb_exit_func. | |
818 | (elide-routines.os): Removed. | |
9476b904 L |
819 | * gmon/bb_exit_func.c: Likewise. |
820 | * gmon/bb_init_func.c: Likewise. | |
7ed87317 L |
821 | * include/sys/gmon.h (__bb): Likewise. |
822 | (__bb_init_func): Likewise. | |
823 | (__bb_exit_func): Likewise. | |
91695eb1 | 824 | * sysdeps/alpha/bb_init_func.S: Likewise. |
7ed87317 | 825 | |
94e6ba15 L |
826 | 2017-08-20 H.J. Lu <hongjiu.lu@intel.com> |
827 | ||
828 | * debug/longjmp_chk.c (____longjmp_chk): Moved to ... | |
829 | * include/setjmp.h (____longjmp_chk): Here. Add | |
830 | attribute_hidden. | |
831 | ||
7550717e L |
832 | 2017-08-19 H.J. Lu <hongjiu.lu@intel.com> |
833 | ||
834 | [BZ #18822] | |
835 | * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add | |
836 | attribute_hidden. | |
837 | (__strspn_sse2): Likewise. | |
838 | ||
0bb2fabc AZ |
839 | 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org> |
840 | ||
c181840c AZ |
841 | * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro. |
842 | (close_not_cancel_no_status): Likewise. | |
843 | (__close_nocancel): New macro. | |
844 | (__close_nocancel_nostatus): Likewise. | |
845 | * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove | |
846 | macro. | |
847 | (close_not_cancel): Likewise. | |
848 | (close_not_cancel_no_status): Likewise. | |
849 | (__close_nocancel): New prototype. | |
850 | (__close_nocancel_nostatus): New function. | |
851 | * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function. | |
852 | * catgets/open_catalog.c (__open_catalog): Replace | |
853 | close_not_cancel{_no_status) with __close_nocancel{_nostatus}. | |
854 | * gmon/gmon.c (write_gmon): Likewise. | |
855 | * iconv/gconv_cache.c (__gconv_load_cache): Likewise. | |
856 | * intl/loadmsgcat.c (close): Likewise. | |
857 | * io/ftw.c (open_dir_stream): Likewise. | |
858 | (ftw_startup): Likewise. | |
859 | * libio/fileops.c (_IO_file_open): Likewise. | |
860 | (_IO_file_close_mmap): Likewise. | |
861 | (_IO_file_close): Likewise. | |
862 | * libio/iopopen.c (_IO_dup2): Likewise. | |
863 | * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise. | |
864 | * locale/loadlocale.c (_nl_load_locale): Likewise. | |
865 | * login/utmp_file.c (pututline_file): Likewise. | |
866 | (endutent_file): Likewise. | |
867 | * misc/daemon.c (daemon): Likewise. | |
868 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
869 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
870 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
871 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. | |
872 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
873 | * nscd/nscd_helper.c (open_socket): Likewise. | |
874 | (__nscd_open_socket): Likewise. | |
875 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. | |
876 | * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise. | |
877 | (__nscd_innetgr): Likewise. | |
878 | * nss/nss_db/db-open.c (internal_setent): Likewise. | |
879 | * resolv/res-close.c (__res_iclose): Likewise. | |
880 | * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise. | |
881 | * sysdeps/posix/closedir.c (__closedir): Likewise. | |
882 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise. | |
883 | * sysdeps/posix/getcwd.c (__getcwd): Likewise. | |
884 | * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise. | |
885 | (opendir_tail): Likewise. | |
886 | * sysdeps/posix/spawni.c (__spawni_child): Likewise. | |
887 | * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise. | |
888 | * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise. | |
889 | * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise. | |
890 | * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise. | |
891 | (gethostid): Likewise. | |
892 | * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise. | |
893 | * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): | |
894 | Likewise. | |
895 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise. | |
896 | * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise. | |
897 | * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise. | |
898 | * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock): | |
899 | Likewise. | |
900 | * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise. | |
901 | * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise. | |
902 | * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap): | |
903 | Likewise. | |
904 | * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise. | |
905 | * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np): | |
906 | Likewise. | |
907 | * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np): | |
908 | Likewise. | |
909 | * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise. | |
910 | * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise. | |
911 | * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add | |
912 | __close_nocancel. | |
913 | ||
0bb2fabc AZ |
914 | * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro. |
915 | (openat_not_cancel_3): Likewise. | |
916 | (openat64_not_cancel_3): Likewise). | |
917 | (openat_not_cancel_3): Likewise). | |
918 | * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove | |
919 | macro. | |
920 | (openat_not_cancel_3): Likewise. | |
921 | (openat64_not_cancel): Likewise. | |
922 | (openat64_not_cancel_3): Likewise. | |
923 | * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function. | |
924 | * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise. | |
925 | * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with | |
926 | __open{64}_nocancel. | |
927 | * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise. | |
928 | * sysdeps/posix/getcwd.c (__getcwd): Likewise. | |
929 | * sysdeps/posix/opendir.c (__opendirat): Likewise. | |
930 | ||
65a086db L |
931 | 2017-08-18 H.J. Lu <hongjiu.lu@intel.com> |
932 | ||
933 | [BZ #18822] | |
934 | * include/argz.h (__argz_create_sep): New function prototype. | |
935 | (__argz_append): Likewise. | |
936 | (__argz_add): Likewise. | |
937 | (__argz_add_sep): Likewise. | |
938 | (__argz_delete): Likewise. | |
939 | (__argz_insert): Likewise. | |
940 | (__argz_replace): Likewise. | |
941 | * string/argz.h (__argz_create_sep): Removed. | |
942 | (__argz_append): Likewise. | |
943 | (__argz_add): Likewise. | |
944 | (__argz_add_sep): Likewise. | |
945 | (__argz_delete): Likewise. | |
946 | (__argz_insert): Likewise. | |
947 | (__argz_replace): Likewise. | |
948 | ||
62753d2c L |
949 | 2017-08-18 H.J. Lu <hongjiu.lu@intel.com> |
950 | ||
951 | * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New. | |
952 | (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise. | |
953 | (GNU_PROPERTY_STACK_SIZE): Likewie. | |
954 | (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie. | |
955 | (GNU_PROPERTY_LOPROC): Likewise. | |
956 | (GNU_PROPERTY_HIPROC): Likewise. | |
957 | (GNU_PROPERTY_LOUSER): Likewise. | |
958 | (GNU_PROPERTY_HIUSER): Likewise. | |
959 | (GNU_PROPERTY_X86_ISA_1_USED): Likwise. | |
960 | (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise. | |
961 | (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise. | |
962 | (GNU_PROPERTY_X86_ISA_1_486): Likwise. | |
963 | (GNU_PROPERTY_X86_ISA_1_586): Likwise. | |
964 | (GNU_PROPERTY_X86_ISA_1_686): Likwise. | |
965 | (GNU_PROPERTY_X86_ISA_1_SSE): Likwise. | |
966 | (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise. | |
967 | (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise. | |
968 | (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise. | |
969 | (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise. | |
970 | (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise. | |
971 | (GNU_PROPERTY_X86_ISA_1_AVX): Likwise. | |
972 | (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise. | |
973 | (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise. | |
974 | (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise. | |
975 | (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise. | |
976 | (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise. | |
977 | (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise. | |
978 | (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise. | |
979 | (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise. | |
980 | (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise. | |
981 | (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise. | |
982 | ||
6913ad65 GG |
983 | 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> |
984 | ||
985 | * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if | |
986 | in C++ mode. | |
987 | ||
47a67213 GG |
988 | 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> |
989 | ||
990 | [BZ #21930] | |
991 | * math/math.h (isinf): Check if in C or C++ mode before using | |
992 | __builtin_types_compatible_p, since this is a C mode feature. | |
993 | ||
a748eb31 AZ |
994 | 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org> |
995 | ||
c647fb88 AZ |
996 | * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro. |
997 | (__write_nocancel): New macro. | |
998 | * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel): | |
999 | Rewrite as a function prototype. | |
1000 | (write_not_cancel): Remove macro. | |
1001 | * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function. | |
1002 | * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel. | |
1003 | (write_gmon): Likewise. | |
1004 | * libio/fileops.c (_IO_new_file_write): Likewise. | |
1005 | * login/utmp_file.c (pututline_file): Likewise. | |
1006 | (updwtmp_file): Likewise. | |
1007 | * stdio-common/psiginfo.c (psiginfo): Likewise. | |
1008 | * sysdeps/posix/spawni.c (__spawni_child): Likewise. | |
1009 | * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise. | |
1010 | * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): | |
1011 | Likewise. | |
1012 | * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np): | |
1013 | Likewise. | |
1014 | ||
a748eb31 AZ |
1015 | * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro. |
1016 | (__read_nocancel): New macro. | |
1017 | * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add | |
1018 | __read_nocancel. | |
1019 | * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove | |
1020 | macro. | |
1021 | (__read_nocancel): New prototype. | |
1022 | * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function. | |
1023 | * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel | |
1024 | with __read_nocancel. | |
1025 | * intl/loadmsgcat.c (read): Likewise. | |
1026 | * libio/fileops.c (_IO_file_read): Likewise. | |
1027 | * locale/loadlocale.c (_nl_load_locale): Likewise. | |
1028 | * login/utmp_file.c (getutent_r_file): Likewise. | |
1029 | (internal_getut_r): Likewise. | |
1030 | (getutline_r_file): Likewise. | |
1031 | * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise. | |
1032 | * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. | |
1033 | * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise. | |
1034 | * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): | |
1035 | Likewise. | |
1036 | * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise. | |
1037 | * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise. | |
1038 | * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock): | |
1039 | Likewise. | |
1040 | * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): | |
1041 | Likewise. | |
1042 | * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap): | |
1043 | Likewise. | |
1044 | * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np): | |
1045 | Likewise. | |
1046 | * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise. | |
1047 | ||
098b9dd4 L |
1048 | 2017-08-18 H.J. Lu <hongjiu.lu@intel.com> |
1049 | ||
1050 | [BZ #21966] | |
1051 | * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h | |
1052 | (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't | |
1053 | usable. | |
1054 | ||
a3fe6a20 DD |
1055 | 2017-08-17 DJ Delorie <dj@redhat.com> |
1056 | ||
1057 | * bug17079.c: Update to new test harness. | |
1058 | * test-digits-dots.c: Likewise. | |
1059 | * test-netdb.c: Likewise. | |
1060 | * tst-field.c: Likewise. | |
1061 | * tst-nss-getpwent.c: Likewise. | |
1062 | * tst-nss-static.c: Likewise. | |
1063 | * tst-nss-test1.c: Likewise. | |
1064 | * tst-nss-test2.c: Likewise. | |
1065 | * tst-nss-test3.c: Likewise. | |
1066 | * tst-nss-test4.c: Likewise. | |
1067 | * tst-nss-test5.c: Likewise. | |
1068 | ||
c2284574 AZ |
1069 | 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org> |
1070 | ||
1071 | * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro. | |
1072 | (open_not_cancel_2): Likewise. | |
1073 | (open_nocancel): New macro. | |
1074 | (open64_nocancel): Likewise. | |
1075 | * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro. | |
1076 | (open_not_cancel_2): Likewise. | |
1077 | (__open_nocancel): New prototype. | |
1078 | (__open64_nocancel): Likewise. | |
1079 | * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add | |
1080 | __open_nocancel. | |
1081 | * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function. | |
1082 | * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise. | |
1083 | * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2} | |
1084 | with __open_nocancel. | |
1085 | * csu/check_fds.c (check_one_fd): Likewise. | |
1086 | * gmon/gmon.c (write_gmon): Likewise. | |
1087 | * iconv/gconv_cache.c (__gconv_load_cached): Likewise. | |
1088 | * intl/loadmsgcat.c (open): Likewise. | |
1089 | * libio/fileops.c (_IO_file_open): Likewise. | |
1090 | * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise. | |
1091 | * locale/loadlocale.c (_nl_load_locale): Likewise. | |
1092 | * login/utmp_file.c (setutent_file): Likewise. | |
1093 | * misc/daemon.c (daemon): Likewise. | |
1094 | * nss/nss_db/db-open.c (internal_setent): Likewise. | |
1095 | * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise. | |
1096 | * sysdeps/posix/libc_fatal.c (__libc_message): Likewise. | |
1097 | * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise. | |
1098 | (__opendir): Likewise. | |
1099 | * sysdeps/posix/spawni.c (__spawni_child): Likewise. | |
1100 | * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise. | |
1101 | * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise. | |
1102 | (gethostid): Likewise. | |
1103 | * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise. | |
1104 | * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): | |
1105 | Likewise. | |
1106 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise. | |
1107 | * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise. | |
1108 | * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise. | |
1109 | * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock): | |
1110 | Likewise. | |
1111 | * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): | |
1112 | Likewise. | |
1113 | * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap): | |
1114 | Likewise. | |
1115 | * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq): | |
1116 | Likewise. | |
1117 | * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np): | |
1118 | Likewise. | |
1119 | * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np): | |
1120 | Likewise. | |
1121 | * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise. | |
1122 | * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise. | |
1123 | ||
d4505b89 WD |
1124 | 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com> |
1125 | ||
1126 | * benchtests/bench-skeleton.c (main): Add support for | |
1127 | latency benchmarking. | |
1128 | * benchtests/scripts/bench.py: Add support for latency benchmarking. | |
1129 | ||
34d6a3cb L |
1130 | 2017-08-17 H.J. Lu <hongjiu.lu@intel.com> |
1131 | ||
1132 | * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override | |
1133 | the startup object. | |
1134 | ||
038d1caf FW |
1135 | 2017-08-17 Florian Weimer <fweimer@redhat.com> |
1136 | ||
1137 | * include/sys/socket.h (__opensock): Remove internal_function. | |
1138 | * socket/opensock.c (__opensock): Likewise. | |
1139 | * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise. | |
1140 | ||
67f0aff0 JM |
1141 | 2017-08-16 Joseph Myers <joseph@codesourcery.com> |
1142 | ||
1143 | [BZ #21944] | |
1144 | * signal/bits/types/__sigval_t.h: New file. | |
1145 | * signal/Makefile (headers): Add bits/types/__sigval_t.h. | |
1146 | * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h> | |
1147 | and define sigval_t using __sigval_t. | |
1148 | * include/bits/types/__sigval_t.h: New file. | |
1149 | * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h> | |
1150 | instead of <bits/types/__sigval_t.h>. | |
1151 | (struct sigevent): Use __sigval_t instead of sigval_t. | |
1152 | * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h> | |
1153 | instead of <bits/types/__sigval_t.h>. | |
1154 | (siginfo_t): Use __sigval_t instead of sigval_t. | |
1155 | * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include | |
1156 | <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>. | |
1157 | (struct sigevent): Use __sigval_t instead of sigval_t. | |
1158 | * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include | |
1159 | <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>. | |
1160 | (siginfo_t): Use __sigval_t instead of sigval_t. | |
1161 | * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>. | |
1162 | ||
87e7bf4d L |
1163 | 2017-08-16 H.J. Lu <hongjiu.lu@intel.com> |
1164 | ||
1165 | * NEWS: Remove "[Add new features here]" for 2.27. | |
1166 | ||
5047057f JM |
1167 | 2017-08-16 Joseph Myers <joseph@codesourcery.com> |
1168 | ||
1169 | * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in | |
1170 | libc.so. | |
1171 | ||
20c7b195 L |
1172 | 2017-08-16 H.J. Lu <hongjiu.lu@intel.com> |
1173 | ||
1174 | * NEWS: Mention x86-64 FMA optimization. | |
1175 | ||
24a2e658 L |
1176 | 2017-08-16 H.J. Lu <hongjiu.lu@intel.com> |
1177 | ||
1178 | [BZ #21912] | |
1179 | * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines): | |
1180 | Add e_expf-fma. | |
1181 | * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file. | |
1182 | * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise. | |
1183 | * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise. | |
1184 | ||
eedca977 AS |
1185 | 2017-08-16 Andreas Schwab <schwab@suse.de> |
1186 | ||
403143e1 FW |
1187 | [BZ #16750] |
1188 | CVE-2009-5064 | |
eedca977 AS |
1189 | * elf/ldd.bash.in: Never run file directly. |
1190 | ||
f59f7adb L |
1191 | 2017-08-15 H.J. Lu <hongjiu.lu@intel.com> |
1192 | ||
1193 | [BZ #21955] | |
1194 | * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes. | |
1195 | (L(SP_INF_0)): Likewise. | |
1196 | ||
6b11a6ad FW |
1197 | 2017-08-15 Florian Weimer <fweimer@redhat.com> |
1198 | ||
1199 | * gmon/Makefile (tests-special): Add tst-gmon-prof only if | |
1200 | run-built-tests. | |
1201 | ||
bbf5c438 FW |
1202 | 2017-08-15 Florian Weimer <fweimer@redhat.com> |
1203 | ||
1204 | Remove BROKEN_THREAD_SIGNALS support for LinuxThreads. | |
1205 | * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove | |
1206 | BROKEN_THREAD_SIGNALS code. | |
1207 | * sysdeps/ppthread/aio_misc.h (struct waitlist, struct | |
1208 | request_list): Remove caller_pid member used for | |
1209 | BROKEN_THREAD_SIGNALS. | |
1210 | [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration. | |
1211 | * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify): | |
1212 | Remove BROKEN_THREAD_SIGNALS support. | |
1213 | * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise. | |
1214 | * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise. | |
1215 | ||
6014c65d FW |
1216 | 2017-08-15 Florian Weimer <fweimer@redhat.com> |
1217 | ||
1218 | * gmon/Makefile (tests): Add tst-gmon. | |
1219 | (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV): | |
1220 | Set. | |
1221 | (tests-special): Add tst-gmon-prof.out. | |
1222 | (tst-gmon.out): Depend on clean-tst-gmon-data. | |
1223 | (clean-tst-gmon-data, tst-gmon-gprof.out): New targets. | |
1224 | * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files. | |
1225 | * Makeconfig (+link-before-libc): Add CRT-* hook to override the | |
1226 | startup object. | |
1227 | * aclocal.m4 (GPROF): Set and substitute. | |
1228 | * config.amke.in (GPROF): Set. | |
1229 | * configure: Regenerate. | |
1230 | ||
ee72219a GR |
1231 | 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com> |
1232 | ||
1233 | * elf/elf.h A (NT_PPC_TAR): New macro. | |
1234 | (NT_PPC_PPR): Likewise. | |
1235 | (NT_PPC_DSCR): Likewise. | |
1236 | (NT_PPC_EBB): Likewise. | |
1237 | (NT_PPC_PMU): Likewise. | |
1238 | (NT_PPC_TM_CGPR): Likewise. | |
1239 | (NT_PPC_TM_CFPR): Likewise. | |
1240 | (NT_PPC_TM_CVMX): Likewise. | |
1241 | (NT_PPC_TM_CVSX): Likewise. | |
1242 | (NT_PPC_TM_SPR): Likewise. | |
1243 | (NT_PPC_TM_CTAR): Likewise. | |
1244 | (NT_PPC_TM_CPPR): Likewise. | |
1245 | (NT_PPC_TM_CDSCR): Likewise. | |
1246 | ||
4ebf934e FW |
1247 | 2017-08-15 Florian Weimer <fweimer@redhat.com> |
1248 | ||
1249 | * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with | |
1250 | regparm (2) instead of internal_function. | |
1251 | (_MCOUNT_DECL): Adjust. | |
1252 | ||
e9f57484 SL |
1253 | 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com> |
1254 | ||
1255 | * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14. | |
1256 | * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased. | |
1257 | ||
88ff4d55 JM |
1258 | 2017-08-14 Joseph Myers <joseph@codesourcery.com> |
1259 | ||
1260 | * conform/data/sys/wait.h-data (si_value): Do not expect for | |
1261 | XPG42. | |
1262 | ||
c88ffc23 FW |
1263 | 2017-08-14 Florian Weimer <fweimer@redhat.com> |
1264 | ||
1265 | [BZ #21962] | |
1266 | NSS: Create stubs for accidentally exported lookup functions. | |
1267 | * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function): | |
1268 | Remove declaration. | |
1269 | * inet/ether_hton.c (__nss_ethers_lookup): Likewise. | |
1270 | (ether_hostton): Call __nss_ethers_lookup2 instead. | |
1271 | * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration. | |
1272 | (ether_ntohost): Call __nss_ethers_lookup2 instead. | |
1273 | * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration. | |
1274 | (setup): Call __nss_netgroup_lookup2 instead. | |
1275 | * nss/Makefile (routines): Add compat-lookup. | |
1276 | * nss/Versions (GLIBC_2.27): Add symbol version. | |
1277 | * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>. | |
1278 | (DB_COMPAT_FCT): Remove. | |
1279 | * nss/compat-lookup.c: New file. | |
1280 | * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes | |
1281 | from databases.def. | |
1282 | * nss/service-lookup.c (NO_COMPAT): Remove definition. | |
1283 | * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration. | |
1284 | (netname2user): Call __nss_publickey_lookup2 instead. | |
1285 | * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration. | |
1286 | (getpublickey, getsecretkey): Call __nss_publickey_lookup2 | |
1287 | instead. | |
1288 | ||
1f14d0c3 AZ |
1289 | 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org> |
1290 | Sergei Trofimovich <slyfox@inbox.ru> | |
1291 | ||
1292 | [BZ #21908] | |
1293 | * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT): | |
1294 | Rename to MMAP2_PAGE_UNIT. | |
1295 | * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff | |
1296 | __OFF_T_MATCHES_OFF64_T is not defined. | |
1297 | * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as | |
1298 | uint64_t. | |
1299 | (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit. | |
1300 | (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition. | |
1301 | ||
fbdc1e3e FW |
1302 | 2017-08-14 Florian Weimer <fweimer@redhat.com> |
1303 | ||
1304 | i386: Do not set internal_function. | |
1305 | * config.h.in (USE_REGPARMS, internal_function): Remove. | |
1306 | * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise. | |
1307 | * sysdeps/i386/configure (USE_REGPARMS): Likewise. | |
1308 | ||
b3f85fd2 FW |
1309 | 2017-08-14 Florian Weimer <fweimer@redhat.com> |
1310 | ||
1311 | * elf/dl-init.c (_dl_init): Remove internal_function. | |
1312 | * sysdeps/generic/ldsodefs.h (_dl_init): Likewise. | |
1313 | * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init. | |
1314 | ||
630bf491 FW |
1315 | 2017-08-14 Florian Weimer <fweimer@redhat.com> |
1316 | ||
1317 | * elf/rtld.c (_dl_start): Remove internal_function. | |
1318 | * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to | |
1319 | _dl_start. | |
1320 | ||
9fa7449b FW |
1321 | 2017-08-14 Florian Weimer <fweimer@redhat.com> |
1322 | ||
1323 | * elf/dl-fini.c (_dl_fini): Remove internal_function | |
1324 | * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise. | |
1325 | ||
73322d5f L |
1326 | 2017-08-14 H.J. Lu <hongjiu.lu@intel.com> |
1327 | ||
1328 | * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New. | |
1329 | (bit_cpu_SHSTK): Likewise. | |
1330 | (index_cpu_IBT): Likewise. | |
1331 | (index_cpu_SHSTK): Likewise. | |
1332 | (reg_IBT): Likewise. | |
1333 | (reg_SHSTK): Likewise. | |
1334 | * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)): | |
1335 | Handle index_cpu_IBT and index_cpu_SHSTK. | |
1336 | ||
dbc303ef MF |
1337 | 2017-08-14 Mike FABIAN <mfabian@redhat.com> |
1338 | ||
1339 | [BZ #19982] | |
1340 | * po/fr.po: Fix spelling mistake. | |
1341 | ||
3012cfb0 FW |
1342 | 2017-08-13 Florian Weimer <fweimer@redhat.com> |
1343 | ||
1344 | * elf/dl-addr.c (_dl_addr): Remove internal_function. | |
1345 | * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror) | |
1346 | (_dl_catch_error, _dl_receive_error): Likewise. | |
1347 | * elf/dl-open.c (_dl_find_dso_for_object): Likewise. | |
1348 | * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls) | |
1349 | (_dl_deallocate_tls): Likewise. | |
1350 | * include/dlfcn.h (_dl_addr): Likewise. | |
1351 | * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror) | |
1352 | (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object) | |
1353 | (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls): | |
1354 | Likewise. | |
1355 | ||
52bcdf26 FW |
1356 | 2017-08-13 Florian Weimer <fweimer@redhat.com> |
1357 | ||
1358 | * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan) | |
1359 | (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove | |
1360 | internal_function. | |
1361 | * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise. | |
1362 | ||
e1d2ae8d FW |
1363 | 2017-08-13 Florian Weimer <fweimer@redhat.com> |
1364 | ||
1365 | * elf/dl-support.c (_dl_make_stack_executable_hook): Remove | |
1366 | internal_function. | |
1367 | * nptl/allocatestack.c (__make_stacks_executable): Likewise. | |
1368 | * nptl/pthreadP.h (__make_stacks_executable): Likewise. | |
1369 | * sysdeps/generic/ldsodefs.h (_rtld_global): Remove | |
1370 | internal_function from _dl_make_stack_executable_hook member. | |
1371 | (_dl_make_stack_executable): Remove internal_function. | |
1372 | * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable): | |
1373 | Likewise. | |
1374 | * sysdeps/unix/sysv/linux/dl-execstack.c | |
1375 | (_dl_make_stack_executable): Likewise. | |
1376 | ||
c4ce0382 FW |
1377 | 2017-08-13 Florian Weimer <fweimer@redhat.com> |
1378 | ||
1379 | * sysdeps/unix/sysv/linux/netlinkaccess.h | |
1380 | (__netlink_assert_response): Remove internal_function. | |
1381 | * sysdeps/unix/sysv/linux/netlink_assert_response.c | |
1382 | (__netlink_assert_response): Likewise. | |
1383 | ||
c4d767f7 FW |
1384 | 2017-08-13 Florian Weimer <fweimer@redhat.com> |
1385 | ||
1386 | * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove | |
1387 | internal_function. | |
1388 | * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise. | |
1389 | ||
b2297409 FW |
1390 | 2017-08-13 Florian Weimer <fweimer@redhat.com> |
1391 | ||
1392 | * grp/grp-merge.h (__copy_grp, __merge_grp): Remove | |
1393 | internal_function. | |
1394 | * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise. | |
1395 | * inet/netgroup.h (__internal_setnetgrent) | |
1396 | (__internal_endnetgrent,__internal_getnetgrent_r): Likewise. | |
1397 | * inet/getnetgrent_r.c (__internal_setnetgrent) | |
1398 | (__internal_endnetgrent,__internal_getnetgrent_r): Likewise. | |
1399 | * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise. | |
1400 | * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise. | |
1401 | * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise. | |
1402 | * nss/nsswitch.h (db_lookup_function): Likewise. | |
1403 | ||
1b0bfc69 FW |
1404 | 2017-08-13 Florian Weimer <fweimer@redhat.com> |
1405 | ||
1406 | * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort): | |
1407 | Remove internal_function. | |
1408 | * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise. | |
1409 | * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass | |
1410 | message argument on the stack. | |
1411 | * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL): | |
1412 | Likeweise. | |
1413 | ||
a6bd8722 MF |
1414 | 2017-08-12 Mike FABIAN <mfabian@redhat.com> |
1415 | ||
1416 | Adapt test case data to the changes in the thousands | |
1417 | separators. | |
1418 | ||
1419 | [BZ #20756] | |
1420 | * localedata/tst-langinfo.sh: Adapt test case data. | |
1421 | * stdlib/tst-strfmon_l.c: Likewise. | |
1422 | * stdlib/tst-strtod4.c: Likewise. | |
1423 | * stdlib/tst-strtod5i.c: Likewise. | |
1424 | ||
8b2c63e4 FW |
1425 | 2017-08-11 Florian Weimer <fweimer@redhat.com> |
1426 | ||
1427 | [BZ #21242] | |
1428 | * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert): | |
1429 | Suppress pedantic warning resulting from statement expression. | |
1430 | (__ASSERT_FUNCTION): Add missing __extension__. | |
1431 | ||
61c98291 SP |
1432 | 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org> |
1433 | ||
86c6519e SP |
1434 | * benchtests/bench-memmove-large.c: Print output in JSON |
1435 | format. | |
1436 | * benchtests/bench-memmove.c: Likewise. | |
1437 | ||
61c98291 SP |
1438 | * benchtests/bench-memccpy.c (do_one_test): Remove checks. |
1439 | * benchtests/bench-memchr.c (do_one_test): Likewise. | |
1440 | * benchtests/bench-memcpy-large.c (do_one_test): Likewise. | |
1441 | * benchtests/bench-memcpy.c (do_one_test): Likewise. | |
1442 | * benchtests/bench-memmove-large.c (do_one_test): Likewise. | |
1443 | * benchtests/bench-memmove.c (do_one_test): Likewise. | |
1444 | * benchtests/bench-memset-large.c (do_one_test): Likewise. | |
1445 | * benchtests/bench-memset.c (do_one_test): Likewise. | |
1446 | * benchtests/bench-string.h (test_init): Remove memsets. | |
1447 | ||
925733a9 RJ |
1448 | 2017-08-10 Rical Jasan <ricaljasan@pacific.net> |
1449 | ||
1450 | * manual/lang.texi | |
1451 | (Computing the Width of an Integer Data Type): Rename section to | |
1452 | "Width of an Integer Type". Remove inaccurate statement regarding | |
1453 | lack of C language facilities for determining width of integer | |
1454 | types, and reorder content to improve flow and context of | |
1455 | discussion. | |
1456 | ||
4fcdfbfc RJ |
1457 | 2017-08-10 Rical Jasan <ricaljasan@pacific.net> |
1458 | ||
1459 | * lang.texi (va_copy): Change standard from ISO to C99. | |
1460 | (__va_copy): Add standard and header annotation. | |
1461 | Update description for clarity of origins and current use. | |
1462 | ||
4d98ace9 GG |
1463 | 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> |
1464 | ||
1465 | [BZ #21941] | |
1466 | * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since | |
1467 | xssqrtqp requires operands to be in Vector Registers | |
1468 | (Altivec/VMX), replace the register constraint 'wq' with 'v'. | |
1469 | * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c | |
1470 | (__ieee754_sqrtf128): Likewise. | |
1471 | ||
92236903 WD |
1472 | 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com> |
1473 | ||
1474 | * sysdeps/aarch64/memcmp.S (memcmp): | |
1475 | Rewrite of optimized memcmp. | |
1476 | ||
2449ae7b FW |
1477 | 2017-08-10 Florian Weimer <fweimer@redhat.com> |
1478 | ||
1479 | Introduce ld.so exceptions. | |
1480 | * sysdeps/generic/ldsodefs.h (struct dl_exception): Define. | |
1481 | (_dl_exception_create, _dl_exception_create_format) | |
1482 | (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception) | |
1483 | (_dl_catch_exception): Declare. | |
1484 | (_dl_catch_error): Update comment. | |
1485 | * elf/dl-error-skeleton.c (struct catch): Replace objname, | |
1486 | errstring, malloced members with exception member. | |
1487 | (_dl_out_of_memory): Remove. | |
1488 | (fatal_error): New function, extracted from _dl_signal_error. | |
1489 | (_dl_signal_exception, _dl_signal_cexception): New functions. | |
1490 | (_dl_signal_error): Call _dl_exception_create to allocate an | |
1491 | exception object. | |
1492 | (_dl_catch_exception): New function, based on _dl_catch_error. | |
1493 | (_dl_catch_error): Implement using _dl_catch_exception. | |
1494 | * elf/dl-exception.c: New file. | |
1495 | * elf/Makefile (dl-routines): Add dl-exception. | |
1496 | (elide-routines.os): Likewise. | |
1497 | * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create, | |
1498 | _dl_exception_create_format, _dl_exception_free. | |
1499 | * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and | |
1500 | _dl_signal_exception. | |
1501 | * elf/dl-lookup.c (make_string): Remove. | |
1502 | (_dl_lookup_symbol_x): Use _dl_exception_create_format, | |
1503 | _dl_signal_cexception, _dl_exception_free. | |
1504 | * elf/dl-open.c (_dl_open): Use _dl_catch_exception and | |
1505 | _dl_signal_exception. | |
1506 | * elf/dl-sym.c (do_sym): Likewise. | |
1507 | * elf/dl-version.c (make_string): Remove. | |
1508 | (match_symbol): Use _dl_exception_create_format, | |
1509 | _dl_signal_cexception, _dl_exception_free. | |
1510 | (_dl_check_map_versions): Likewise. | |
1511 | * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception, | |
1512 | _dl_catch_exception. | |
1513 | * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise. | |
1514 | * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise. | |
1515 | * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise. | |
1516 | * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise. | |
1517 | * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise. | |
1518 | * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise. | |
1519 | * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise. | |
1520 | * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): | |
1521 | Likewise. | |
1522 | * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise. | |
1523 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data | |
1524 | (ld.so): Likewise. | |
1525 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data | |
1526 | (ld.so): Likewise. | |
1527 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so): | |
1528 | Likewise. | |
1529 | * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise. | |
1530 | * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise. | |
1531 | * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): | |
1532 | Likewise. | |
1533 | * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): | |
1534 | Likewise. | |
1535 | * sysdeps/x86_64/localplt.data (ld.so): Likewise. | |
1536 | ||
f87cc2bf FW |
1537 | 2017-08-10 Florian Weimer <fweimer@redhat.com> |
1538 | ||
1539 | * inet/net-internal.h (__inet6_scopeid_pton): Remove | |
1540 | attribute_hidden, internal_function. | |
1541 | * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove | |
1542 | internal_function. | |
1543 | ||
eac43cbb FW |
1544 | 2017-08-10 Florian Weimer <fweimer@redhat.com> |
1545 | ||
1546 | * malloc/malloc.c (get_max_fast): Reimplement as an inline | |
1547 | function which calls __builtin_unreachable. | |
1548 | ||
bd80111e MF |
1549 | 2017-08-10 Mike FABIAN <mfabian@redhat.com> |
1550 | ||
1551 | * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in | |
1552 | Indian monetary formatting | |
1553 | * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c | |
1554 | test cases. | |
1555 | ||
60e2846e DL |
1556 | 2017-08-09 Dmitry V. Levin <ldv@altlinux.org> |
1557 | ||
68dc02d1 DL |
1558 | * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request): |
1559 | Fix typo in comment. | |
1560 | ||
60e2846e DL |
1561 | [BZ #21928] |
1562 | * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags, | |
1563 | PTRACE_SEIZE_DEVEL): Remove. | |
1564 | * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise. | |
1565 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. | |
1566 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. | |
1567 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. | |
1568 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. | |
1569 | ||
3d452dab JM |
1570 | 2017-08-09 Joseph Myers <joseph@codesourcery.com> |
1571 | ||
24d9f53a JM |
1572 | * posix/bits/types.h (__qaddr_t): Remove. |
1573 | ||
3d452dab JM |
1574 | [BZ #21457] |
1575 | * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down. | |
1576 | (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to | |
1577 | __glibc_reserved1. | |
1578 | * sysdeps/generic/sys/ucontext.h (__ctx): New macro. | |
1579 | (ucontext_t): Use __ctx with uc_flags. | |
1580 | * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down. | |
1581 | (__ctxt): Likewise. | |
1582 | (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to | |
1583 | __glibc_reserved1. | |
1584 | * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down. | |
1585 | (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to | |
1586 | __glibc_reserved1. | |
1587 | * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down. | |
1588 | (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to | |
1589 | __glibc_reserved1. | |
1590 | * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New | |
1591 | macro. | |
1592 | (ucontext_t): Use __ctx with uc_flags. | |
1593 | * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro. | |
1594 | (ucontext_t): Use __ctx with uc_flags. | |
1595 | * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro. | |
1596 | (ucontext_t): Use __ctx with uc_flags and uc_regspace. | |
1597 | * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro. | |
1598 | (ucontext_t): Use __ctx with uc_flags. | |
1599 | * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move | |
1600 | undefine further down. | |
1601 | (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to | |
1602 | __glibc_reserved1. | |
1603 | * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move | |
1604 | undefine further down. | |
1605 | (ucontext_t): Use __ctx with uc_flags. | |
1606 | * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move | |
1607 | undefine further down. | |
1608 | (ucontext_t): Use __ctx with uc_flags. | |
1609 | * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use | |
1610 | __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space. | |
1611 | Rename uc_pad to __glibc_reserved1. | |
1612 | * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move | |
1613 | undefine further down. | |
1614 | (ucontext_t): Use __ctx with uc_flags. | |
1615 | * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine | |
1616 | further down. | |
1617 | (ucontext_t): Use __ctx with uc_flags. | |
1618 | * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use | |
1619 | __ctx with uc_flags. | |
1620 | * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro. | |
1621 | (ucontext_t): Use __ctx with uc_flags. | |
1622 | * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use | |
1623 | __ctx with uc_flags. | |
1624 | ||
30161498 FW |
1625 | 2017-08-09 Florian Weimer <fweimer@redhat.com> |
1626 | ||
1627 | [BZ #21932] | |
1628 | * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put | |
1629 | before early return. | |
1630 | ||
5797b410 AS |
1631 | 2017-08-09 Andreas Schwab <schwab@suse.de> |
1632 | ||
139237a4 | 1633 | [BZ #21041] |
5797b410 AS |
1634 | * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to |
1635 | renamed alias. | |
1636 | ||
139237a4 | 1637 | [BZ #21041] |
40c06a3d AS |
1638 | * nptl/Makefile (tests) [$(build-shared) = yes]: Add |
1639 | tst-compat-forwarder. | |
1640 | (modules-names): Add tst-compat-forwarder-mod. | |
1641 | ($(objpfx)tst-compat-forwarder): Depend on | |
1642 | $(objpfx)tst-compat-forwarder-mod.so. | |
1643 | * nptl/tst-compat-forwarder.c: New file. | |
1644 | * nptl/tst-compat-forwarder-mod.c: New file. | |
1645 | ||
36ada5f6 SP |
1646 | 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org> |
1647 | ||
0e02b510 SP |
1648 | * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in |
1649 | comments. | |
1650 | ||
36ada5f6 SP |
1651 | * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor. |
1652 | * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add | |
1653 | memcpy_falkor. | |
1654 | * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC): | |
1655 | Bump. | |
1656 | (__libc_ifunc_impl_list): Add __memcpy_falkor. | |
1657 | * sysdeps/aarch64/multiarch/memcpy.c: Likewise. | |
1658 | * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file. | |
1659 | * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list): | |
1660 | Add falkor. | |
1661 | * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR): | |
1662 | New macro. | |
1663 | ||
9995c839 AZ |
1664 | 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org> |
1665 | ||
1666 | [BZ #759] | |
1667 | * manual/setjmp.texi (getcontex): Document uc_stack value | |
1668 | compatibility differences. | |
1669 | ||
f17a4233 JM |
1670 | 2017-08-08 Joseph Myers <joseph@codesourcery.com> |
1671 | ||
1672 | * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t. | |
1673 | (old_malloc_hook): Likewise. | |
1674 | (old_memalign_hook): Likewise. | |
1675 | (old_realloc_hook): Likewise. | |
1676 | (struct hdr): Likewise. | |
1677 | (flood): Likewise. | |
1678 | (freehook): Likewise. | |
1679 | (mallochook): Likewise. | |
1680 | (memalignhook): Likewise. | |
1681 | (reallochook): Likewise. | |
1682 | (mprobe): Likewise. | |
1683 | * malloc/mtrace.c (mallwatch): Likewise. | |
1684 | (tr_old_free_hook): Likewise. | |
1685 | (tr_old_malloc_hook): Likewise. | |
1686 | (tr_old_realloc_hook): Likewise. | |
1687 | (tr_old_memalign_hook): Likewise. | |
1688 | (tr_where): Likewise. | |
1689 | (lock_and_info): Likewise. | |
1690 | (tr_freehook): Likewise. | |
1691 | (tr_mallochook): Likewise. | |
1692 | (tr_reallochook): Likewise. | |
1693 | (tr_memalignhook): Likewise. | |
1694 | * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise. | |
1695 | * misc/mmap.c (__mmap): Likewise. | |
1696 | * misc/mmap64.c (__mmap64): Likewise. | |
1697 | * misc/mprotect.c (__mprotect): Likewise. | |
1698 | * misc/msync.c (msync): Likewise. | |
1699 | * misc/munmap.c (__munmap): Likewise. | |
1700 | * posix/posix_madvise.c (posix_madvise): Likewise. | |
1701 | * socket/send.c (__send): Likewise. | |
1702 | * socket/sendto.c (__sendto): Likewise. | |
1703 | * socket/setsockopt.c (__setsockopt): Likewise. | |
1704 | * string/memcmp.c (__ptr_t): Remove macro. | |
1705 | (MEMCMP): Use void * instead of ptr_t. | |
1706 | * string/memrchr.c (__ptr_t): Remove macro. | |
1707 | (__memrchr): Use void * instead of ptr_t. | |
1708 | * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise. | |
1709 | * sysdeps/mach/hurd/mmap.c (__mmap): Likewise. | |
1710 | * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise. | |
1711 | * sysdeps/mach/mprotect.c (__mprotect): Likewise. | |
1712 | * sysdeps/mach/msync.c (msync): Likewise. | |
1713 | * sysdeps/mach/munmap.c (__munmap): Likewise. | |
1714 | * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag): | |
1715 | Likewise. | |
1716 | * sysdeps/posix/getcwd.c (__getcwd): Likewise. | |
1717 | * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise. | |
1718 | * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise. | |
1719 | * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise. | |
1720 | * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise. | |
1721 | * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise. | |
1722 | * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise. | |
1723 | * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy): | |
1724 | Likewise. | |
1725 | * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise. | |
1726 | * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise. | |
1727 | * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise. | |
1728 | * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise. | |
1729 | * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise. | |
1730 | * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise. | |
1731 | * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise. | |
1732 | * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise. | |
1733 | * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy): | |
1734 | Likewise. | |
1735 | * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise. | |
1736 | * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise. | |
1737 | * sysdeps/tile/memcmp.c (__ptr_t): Remove macro. | |
1738 | (MEMCMP): Use void * instead of ptr_t. | |
1739 | * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise. | |
1740 | * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise. | |
1741 | ||
0df595b2 FW |
1742 | 2017-08-08 Florian Weimer <fweimer@redhat.com> |
1743 | ||
1744 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable | |
1745 | return statement. | |
1746 | ||
086df229 L |
1747 | 2017-08-08 H.J. Lu <hongjiu.lu@intel.com> |
1748 | ||
1749 | [BZ #21913] | |
1750 | * csu/libc-tls.c: Include <startup.h> first. | |
1751 | (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal. | |
1752 | * elf/dl-tunables.c: Include <startup.h> first. | |
1753 | * include/libc-symbols.h (BUILD_PIE_DEFAULT): New. | |
1754 | * sysdeps/generic/startup.h: New file. | |
1755 | * sysdeps/unix/sysv/linux/i386/startup.h: Likewise. | |
1756 | * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0] | |
1757 | (I386_USE_SYSENTER): New. Defined to 0. | |
1758 | ||
fc5ad702 AS |
1759 | 2017-08-08 Andreas Schwab <schwab@suse.de> |
1760 | ||
1761 | [BZ #21041] | |
1762 | * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver. | |
1763 | * nptl/pt-system.c (system): Likewise. | |
1764 | ||
852d6312 AZ |
1765 | 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org> |
1766 | ||
1767 | [BZ #21780] | |
1768 | * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of | |
1769 | EOPNOTSUPP. | |
1770 | * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise. | |
1771 | * sysdeps/posix/pwritev2.c (pwritev2): Likewise. | |
1772 | * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise. | |
1773 | * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise. | |
1774 | * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise. | |
1775 | * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise. | |
1776 | * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise. | |
1777 | ||
8b164787 JM |
1778 | 2017-08-07 Joseph Myers <joseph@codesourcery.com> |
1779 | ||
cd65836b JM |
1780 | [BZ #21899] |
1781 | * bits/sigaction.h (struct sigaction): Define sa_handler and | |
1782 | sa_sigaction using union also for [__USE_XOPEN_EXTENDED]. | |
1783 | (SA_ONSTACK): Change [__USE_UNIX98] condition to | |
1784 | [__USE_XOPEN_EXTENDED]. | |
1785 | (SA_RESTART): Likewise. | |
1786 | (SA_NODEFER): Likewise. | |
1787 | (SA_RESETHAND): Likewise. | |
1788 | * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h | |
1789 | (struct sigaction): Define sa_handler and sa_sigaction using union | |
1790 | also for [__USE_XOPEN_EXTENDED]. | |
1791 | (SA_ONSTACK): Change [__USE_UNIX98] condition to | |
1792 | [__USE_XOPEN_EXTENDED]. | |
1793 | (SA_RESTART): Likewise. | |
1794 | (SA_NODEFER): Likewise. | |
1795 | (SA_RESETHAND): Likewise. | |
1796 | * sysdeps/unix/sysv/linux/bits/sigaction.h | |
1797 | (struct sigaction): Define sa_handler and sa_sigaction using union | |
1798 | also for [__USE_XOPEN_EXTENDED]. | |
1799 | (SA_ONSTACK): Change [__USE_UNIX98] condition to | |
1800 | [__USE_XOPEN_EXTENDED]. | |
1801 | (SA_RESTART): Likewise. | |
1802 | (SA_NODEFER): Likewise. | |
1803 | (SA_RESETHAND): Likewise. | |
1804 | * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h | |
1805 | (struct sigaction): Define sa_handler and sa_sigaction using union | |
1806 | also for [__USE_XOPEN_EXTENDED]. | |
1807 | (SA_ONSTACK): Change [__USE_UNIX98] condition to | |
1808 | [__USE_XOPEN_EXTENDED]. | |
1809 | (SA_RESTART): Likewise. | |
1810 | (SA_NODEFER): Likewise. | |
1811 | (SA_RESETHAND): Likewise. | |
1812 | * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h | |
1813 | (struct sigaction): Define sa_handler and sa_sigaction using union | |
1814 | also for [__USE_XOPEN_EXTENDED]. | |
1815 | (SA_ONSTACK): Change [__USE_UNIX98] condition to | |
1816 | [__USE_XOPEN_EXTENDED]. | |
1817 | (SA_RESTART): Likewise. | |
1818 | (SA_NODEFER): Likewise. | |
1819 | (SA_RESETHAND): Likewise. | |
1820 | * sysdeps/unix/sysv/linux/mips/bits/sigaction.h | |
1821 | (struct sigaction): Define sa_handler and sa_sigaction using union | |
1822 | also for [__USE_XOPEN_EXTENDED]. | |
1823 | (SA_ONSTACK): Change [__USE_UNIX98] condition to | |
1824 | [__USE_XOPEN_EXTENDED]. | |
1825 | (SA_RESTART): Likewise. | |
1826 | (SA_NODEFER): Likewise. | |
1827 | (SA_RESETHAND): Likewise. | |
1828 | * sysdeps/unix/sysv/linux/s390/bits/sigaction.h | |
1829 | (struct sigaction): Define sa_handler and sa_sigaction using union | |
1830 | also for [__USE_XOPEN_EXTENDED]. | |
1831 | (SA_ONSTACK): Change [__USE_UNIX98] condition to | |
1832 | [__USE_XOPEN_EXTENDED]. | |
1833 | (SA_RESTART): Likewise. | |
1834 | (SA_NODEFER): Likewise. | |
1835 | (SA_RESETHAND): Likewise. | |
1836 | * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h | |
1837 | (struct sigaction): Define sa_handler and sa_sigaction using union | |
1838 | also for [__USE_XOPEN_EXTENDED]. | |
1839 | (SA_ONSTACK): Change [__USE_UNIX98] condition to | |
1840 | [__USE_XOPEN_EXTENDED]. | |
1841 | (SA_RESTART): Likewise. | |
1842 | (SA_NODEFER): Likewise. Define directly rather than as alias. | |
1843 | (SA_RESETHAND): Likewise. | |
1844 | (SA_INTERRUPT): Define only for [__USE_MISC]. | |
1845 | (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC]. | |
1846 | (SA_ONESHOT): Define as alias of SA_RESETHAND, only for | |
1847 | [__USE_MISC]. | |
1848 | (SA_STACK): Define only for [__USE_MISC]. | |
1849 | * sysdeps/unix/sysv/linux/tile/bits/sigaction.h | |
1850 | (struct sigaction): Define sa_handler and sa_sigaction using union | |
1851 | also for [__USE_XOPEN_EXTENDED]. | |
1852 | (SA_ONSTACK): Change [__USE_UNIX98] condition to | |
1853 | [__USE_XOPEN_EXTENDED]. | |
1854 | (SA_RESTART): Likewise. | |
1855 | (SA_NODEFER): Likewise. | |
1856 | (SA_RESETHAND): Likewise. | |
1857 | (SA_NOPTRACE): Define only for [__USE_MISC]. | |
1858 | ||
d9fee042 JM |
1859 | * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t. |
1860 | * catgets/catgetsinfo.h (struct catalog_obj): Likewise. | |
1861 | (struct catalog_info): Likewise. | |
1862 | * inet/htontest.c (lo): Likewise. | |
1863 | (foo): Likewise. | |
1864 | * inet/inet_lnaof.c (inet_lnaof): Likewise. | |
1865 | * inet/inet_net.c (inet_network): Likewise. | |
1866 | * inet/inet_netof.c (inet_netof): Likewise. | |
1867 | * inet/rcmd.c (__ivaliduser): Likewise. | |
1868 | (iruserok): Likewise. | |
1869 | * locale/loadlocale.c (_nl_intern_locale_data): Likewise. | |
1870 | * locale/programs/locale-spec.c (locale_special): Likewise. | |
1871 | * nis/nis_findserv.c (struct findserv_req): Likewise. | |
1872 | (__nis_findfastest_with_timeout): Likewise. | |
1873 | * nss/test-netdb.c (test_network): Likewise. | |
1874 | * resolv/inet_neta.c (inet_neta): Likewise. | |
1875 | * resolv/ns_date.c (ns_datetosecs): Likewise. | |
1876 | (SECS_PER_DAY): Likewise. | |
1877 | * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): | |
1878 | Likewise. | |
1879 | * resolv/res_comp.c (__putlong): Likewise. | |
1880 | (__putshort): Likewise. | |
1881 | (_getlong): Likewise. | |
1882 | (_getshort): Likewise. | |
1883 | * resolv/res_debug.c (p_time): Likewise. | |
1884 | (precsize_ntoa): Likewise. | |
1885 | (precsize_aton): Likewise. | |
1886 | (latlon2ul): Likewise. | |
1887 | (loc_aton): Likewise. | |
1888 | (loc_ntoa): Likewise. | |
1889 | * resolv/res_hconf.c (struct netaddr): Likewise. | |
1890 | (_res_hconf_reorder_addrs): Likewise. | |
1891 | * sunrpc/clnt_tcp.c (clnttcp_call): Likewise. | |
1892 | (clnttcp_control): Likewise. | |
1893 | * sunrpc/clnt_udp.c (clntudp_call): Likewise. | |
1894 | (clntudp_control): Likewise. | |
1895 | * sunrpc/clnt_unix.c (clntunix_call): Likewise. | |
1896 | (clntunix_control): Likewise. | |
1897 | * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise. | |
1898 | * sunrpc/rpc/auth.h (union des_block): Likewise. | |
1899 | * sunrpc/tst-udp-nonblocking.c (do_test): Likewise. | |
1900 | * sunrpc/xdr_rec.c (struct rec_strm): Likewise. | |
1901 | (xdrrec_create): Likewise. | |
1902 | (xdrrec_endofrecord): Likewise. | |
1903 | (flush_out): Likewise. | |
1904 | * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise. | |
1905 | (xdrstdio_putlong): Likewise. | |
1906 | * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err): | |
1907 | Likewise. | |
1908 | ||
8b164787 JM |
1909 | * misc/sys/cdefs.h (__long_double_t): Remove. |
1910 | * stdio-common/printf_fp.c (__printf_fp_l): Use long double | |
1911 | instead of __long_double_t, | |
1912 | * stdlib/strfmon_l.c (__vstrfmon_l): Likewise. | |
1913 | ||
7ee38e60 SP |
1914 | 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org> |
1915 | ||
dd3e86ad SP |
1916 | * benchtests/scripts/compare_strings.py: Avoid display error when |
1917 | running on a text terminal. | |
1918 | ||
b115e819 SP |
1919 | * benchtests/scripts/compare_strings.py (main): Add an |
1920 | optional -base option. | |
1921 | (process_results): New argument base_func. | |
1922 | ||
7ee38e60 SP |
1923 | * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of |
1924 | hardcoding memcpy. | |
1925 | * benchtests/bench-memcpy-large.c (test_name): Likewise. | |
1926 | * benchtests/bench-memcpy-random.c (test_name): Likewise. | |
1927 | ||
d5afb385 AS |
1928 | 2017-08-07 Andreas Schwab <schwab@suse.de> |
1929 | ||
1930 | * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target. | |
1931 | * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise. | |
1932 | * intl/Makefile ($(objpfx)tst-gettext.out) | |
1933 | ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out) | |
1934 | ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise. | |
1935 | * libio/Makefile ($(objpfx)test-freopen.out): Likewise. | |
1936 | * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise. | |
1937 | * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise. | |
1938 | * posix/Makefile ($(objpfx)globtest.out) | |
1939 | ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise. | |
1940 | * stdio-common/Makefile ($(objpfx)tst-unbputc.out) | |
1941 | ($(objpfx)tst-printf.out): Likewise. | |
1942 | * stdlib/Makefile ($(objpfx)tst-fmtmsg.out) | |
1943 | ($(objpfx)tst-setcontext3.out): Likewise. | |
1944 | ||
57a72fa3 L |
1945 | 2017-08-07 H.J. Lu <hongjiu.lu@intel.com> |
1946 | ||
1947 | * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines): | |
1948 | Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma, | |
1949 | e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma, | |
1950 | slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma, | |
1951 | halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma, | |
1952 | and mptan-fma. | |
1953 | (CFLAGS-doasin-fma.c): New. | |
1954 | (CFLAGS-dosincos-fma.c): Likewise. | |
1955 | (CFLAGS-e_asin-fma.c): Likewise. | |
1956 | (CFLAGS-e_atan2-fma.c): Likewise. | |
1957 | (CFLAGS-e_exp-fma.c): Likewise. | |
1958 | (CFLAGS-e_log-fma.c): Likewise. | |
1959 | (CFLAGS-e_pow-fma.c): Likewise. | |
1960 | (CFLAGS-halfulp-fma.c): Likewise. | |
1961 | (CFLAGS-mpa-fma.c): Likewise. | |
1962 | (CFLAGS-mpatan-fma.c): Likewise. | |
1963 | (CFLAGS-mpatan2-fma.c): Likewise. | |
1964 | (CFLAGS-mpexp-fma.c): Likewise. | |
1965 | (CFLAGS-mplog-fma.c): Likewise. | |
1966 | (CFLAGS-mpsqrt-fma.c): Likewise. | |
1967 | (CFLAGS-mptan-fma.c): Likewise. | |
1968 | (CFLAGS-s_atan-fma.c): Likewise. | |
1969 | (CFLAGS-sincos32-fma.c): Likewise. | |
1970 | (CFLAGS-slowexp-fma.c): Likewise. | |
1971 | (CFLAGS-slowpow-fma.c): Likewise. | |
1972 | (CFLAGS-s_sin-fma.c): Likewise. | |
1973 | (CFLAGS-s_tan-fma.c): Likewise. | |
1974 | * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file. | |
1975 | * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise. | |
1976 | * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise. | |
1977 | * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise. | |
1978 | * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise. | |
1979 | * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise. | |
1980 | * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise. | |
1981 | * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise. | |
1982 | * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise. | |
1983 | * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise. | |
1984 | * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise. | |
1985 | * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise. | |
1986 | * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise. | |
1987 | * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise. | |
1988 | * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise. | |
1989 | * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise. | |
1990 | * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise. | |
1991 | * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise. | |
1992 | * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise. | |
1993 | * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise. | |
1994 | * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise. | |
1995 | * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise. | |
1996 | * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise. | |
1997 | * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite. | |
1998 | * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise. | |
1999 | * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise. | |
2000 | * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise. | |
2001 | * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise. | |
2002 | * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise. | |
2003 | * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise. | |
2004 | * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise. | |
2005 | ||
219dd320 JM |
2006 | 2017-08-04 Joseph Myers <joseph@codesourcery.com> |
2007 | ||
2008 | * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro. | |
2009 | (min_of_type_f): New macro. | |
2010 | (min_of_type_): Likewise. | |
2011 | (min_of_type_l): Likewise. | |
2012 | (min_of_type_f128): Likewise. | |
2013 | (min_of_type): Define using __MATH_TG and taking an expression | |
2014 | argument. | |
2015 | (math_check_force_underflow): Pass expression instead of type to | |
2016 | min_of_type. | |
2017 | (math_check_force_underflow_nonneg): Likewise. | |
2018 | ||
64d4dea6 L |
2019 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
2020 | ||
2021 | * sysdeps/x86/cpu-features.h [__ASSEMBLER__] | |
2022 | (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX, | |
2023 | HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed. | |
2024 | ||
973da22a L |
2025 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
2026 | ||
2027 | * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add | |
2028 | bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32, | |
2029 | memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32, | |
2030 | memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32, | |
2031 | strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32, | |
2032 | strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32, | |
2033 | memcpy_chk-nonshared, mempcpy_chk-nonshared, | |
2034 | memmove_chk-nonshared and memset_chk-nonshared | |
2035 | * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file. | |
2036 | * sysdeps/i386/i686/multiarch/bcopy.c: Likewise. | |
2037 | * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise. | |
2038 | * sysdeps/i386/i686/multiarch/bzero.c: Likewise. | |
2039 | * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise. | |
2040 | * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise. | |
2041 | * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise. | |
2042 | * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise. | |
2043 | * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise. | |
2044 | * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise. | |
2045 | * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise. | |
2046 | * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise. | |
2047 | * sysdeps/i386/i686/multiarch/memchr.c: Likewise. | |
2048 | * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise. | |
2049 | * sysdeps/i386/i686/multiarch/memcmp.c: Likewise. | |
2050 | * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise. | |
2051 | * sysdeps/i386/i686/multiarch/memcpy.c: Likewise. | |
2052 | * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise. | |
2053 | * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise. | |
2054 | * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise. | |
2055 | * sysdeps/i386/i686/multiarch/memmove.c: Likewise. | |
2056 | * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise. | |
2057 | * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise. | |
2058 | * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise. | |
2059 | * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise. | |
2060 | * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise. | |
2061 | * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise. | |
2062 | * sysdeps/i386/i686/multiarch/memrchr.c: Likewise. | |
2063 | * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise. | |
2064 | * sysdeps/i386/i686/multiarch/memset.c: Likewise. | |
2065 | * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise. | |
2066 | * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise. | |
2067 | * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise. | |
2068 | * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise. | |
2069 | * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise. | |
2070 | * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise. | |
2071 | * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise. | |
2072 | * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise. | |
2073 | * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise. | |
2074 | * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise. | |
2075 | * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise. | |
2076 | * sysdeps/i386/i686/multiarch/strcat.c: Likewise. | |
2077 | * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise. | |
2078 | * sysdeps/i386/i686/multiarch/strchr.c: Likewise. | |
2079 | * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise. | |
2080 | * sysdeps/i386/i686/multiarch/strcmp.c: Likewise. | |
2081 | * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise. | |
2082 | * sysdeps/i386/i686/multiarch/strcpy.c: Likewise. | |
2083 | * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise. | |
2084 | * sysdeps/i386/i686/multiarch/strcspn.c: Likewise. | |
2085 | * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise. | |
2086 | * sysdeps/i386/i686/multiarch/strlen.c: Likewise. | |
2087 | * sysdeps/i386/i686/multiarch/strncase.c: Likewise. | |
2088 | * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise. | |
2089 | * sysdeps/i386/i686/multiarch/strncat.c: Likewise. | |
2090 | * sysdeps/i386/i686/multiarch/strncmp.c: Likewise. | |
2091 | * sysdeps/i386/i686/multiarch/strncpy.c: Likewise. | |
2092 | * sysdeps/i386/i686/multiarch/strnlen.c: Likewise. | |
2093 | * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise. | |
2094 | * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise. | |
2095 | * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise. | |
2096 | * sysdeps/i386/i686/multiarch/strrchr.c: Likewise. | |
2097 | * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise. | |
2098 | * sysdeps/i386/i686/multiarch/strspn.c: Likewise. | |
2099 | * sysdeps/i386/i686/multiarch/wcschr.c: Likewise. | |
2100 | * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise. | |
2101 | * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise. | |
2102 | * sysdeps/i386/i686/multiarch/wcslen.c: Likewise. | |
2103 | * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise. | |
2104 | * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise. | |
2105 | * sysdeps/i386/i686/multiarch/bcopy.S: Removed. | |
2106 | * sysdeps/i386/i686/multiarch/bzero.S: Likewise. | |
2107 | * sysdeps/i386/i686/multiarch/memchr.S: Likewise. | |
2108 | * sysdeps/i386/i686/multiarch/memcmp.S: Likewise. | |
2109 | * sysdeps/i386/i686/multiarch/memcpy.S: Likewise. | |
2110 | * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise. | |
2111 | * sysdeps/i386/i686/multiarch/memmove.S: Likewise. | |
2112 | * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise. | |
2113 | * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise. | |
2114 | * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise. | |
2115 | * sysdeps/i386/i686/multiarch/memrchr.S: Likewise. | |
2116 | * sysdeps/i386/i686/multiarch/memset.S: Likewise. | |
2117 | * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise. | |
2118 | * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise. | |
2119 | * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise. | |
2120 | * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise. | |
2121 | * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise. | |
2122 | * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise. | |
2123 | * sysdeps/i386/i686/multiarch/strcat.S: Likewise. | |
2124 | * sysdeps/i386/i686/multiarch/strcmp.S: Likewise. | |
2125 | * sysdeps/i386/i686/multiarch/strcpy.S: Likewise. | |
2126 | * sysdeps/i386/i686/multiarch/strcspn.S: Likewise. | |
2127 | * sysdeps/i386/i686/multiarch/strlen.S: Likewise. | |
2128 | * sysdeps/i386/i686/multiarch/strncase.S: Likewise. | |
2129 | * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise. | |
2130 | * sysdeps/i386/i686/multiarch/strncat.S: Likewise. | |
2131 | * sysdeps/i386/i686/multiarch/strncmp.S: Likewise. | |
2132 | * sysdeps/i386/i686/multiarch/strncpy.S: Likewise. | |
2133 | * sysdeps/i386/i686/multiarch/strnlen.S: Likewise. | |
2134 | * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise. | |
2135 | * sysdeps/i386/i686/multiarch/strrchr.S: Likewise. | |
2136 | * sysdeps/i386/i686/multiarch/strspn.S: Likewise. | |
2137 | * sysdeps/i386/i686/multiarch/wcschr.S: Likewise. | |
2138 | * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise. | |
2139 | * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise. | |
2140 | * sysdeps/i386/i686/multiarch/wcslen.S: Likewise. | |
2141 | * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise. | |
2142 | * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise. | |
2143 | ||
8537e0f6 L |
2144 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
2145 | ||
2146 | * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines) | |
2147 | Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse, | |
2148 | svml_d_cos8_core-avx2, svml_d_exp2_core-sse2, | |
2149 | svml_d_exp4_core-sse, svml_d_exp8_core-avx2, | |
2150 | svml_d_log2_core-sse2, svml_d_log4_core-sse, | |
2151 | svml_d_log8_core-avx2, svml_d_pow2_core-sse2, | |
2152 | svml_d_pow4_core-sse, svml_d_pow8_core-avx2 | |
2153 | svml_d_sin2_core-sse2, svml_d_sin4_core-sse, | |
2154 | svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2, | |
2155 | svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2, | |
2156 | svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2, | |
2157 | svml_s_cosf8_core-sse, svml_s_expf16_core-avx2, | |
2158 | svml_s_expf4_core-sse2, svml_s_expf8_core-sse, | |
2159 | svml_s_logf16_core-avx2, svml_s_logf4_core-sse2, | |
2160 | svml_s_logf8_core-sse, svml_s_powf16_core-avx2, | |
2161 | svml_s_powf4_core-sse2, svml_s_powf8_core-sse, | |
2162 | svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2, | |
2163 | svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2, | |
2164 | svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse. | |
2165 | * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file. | |
2166 | * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise. | |
2167 | * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise. | |
2168 | * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise. | |
2169 | * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise. | |
2170 | * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise. | |
2171 | * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise. | |
2172 | * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise. | |
2173 | * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise. | |
2174 | * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise. | |
2175 | * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise. | |
2176 | * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise. | |
2177 | * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise. | |
2178 | * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise. | |
2179 | * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise. | |
2180 | * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise. | |
2181 | * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise. | |
2182 | * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise. | |
2183 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise. | |
2184 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise. | |
2185 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise. | |
2186 | * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise. | |
2187 | * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise. | |
2188 | * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise. | |
2189 | * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise. | |
2190 | * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise. | |
2191 | * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise. | |
2192 | * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise. | |
2193 | * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise. | |
2194 | * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise. | |
2195 | * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise. | |
2196 | * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise. | |
2197 | * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise. | |
2198 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise. | |
2199 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise. | |
2200 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise. | |
2201 | * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise. | |
2202 | * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise. | |
2203 | * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise. | |
2204 | * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to | |
2205 | ... | |
2206 | * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This. | |
2207 | Don't include <sysdep.h> nor <init-arch.h>. | |
2208 | (_ZGVbN2v_cos): Removed. | |
2209 | * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to | |
2210 | ... | |
2211 | * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This. | |
2212 | Don't include <sysdep.h> nor <init-arch.h>. | |
2213 | (_ZGVdN4v_cos): Removed. | |
2214 | * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to | |
2215 | ... | |
2216 | * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This. | |
2217 | Don't include <sysdep.h> nor <init-arch.h>. | |
2218 | (_ZGVeN8v_cos): Removed. | |
2219 | * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to | |
2220 | ... | |
2221 | * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This. | |
2222 | Don't include <sysdep.h> nor <init-arch.h>. | |
2223 | (_ZGVbN2v_exp): Removed. | |
2224 | * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to | |
2225 | ... | |
2226 | * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This. | |
2227 | Don't include <sysdep.h> nor <init-arch.h>. | |
2228 | (_ZGVdN4v_exp): Removed. | |
2229 | * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to | |
2230 | ... | |
2231 | * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This. | |
2232 | Don't include <sysdep.h> nor <init-arch.h>. | |
2233 | (_ZGVeN8v_exp): Removed. | |
2234 | * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to | |
2235 | ... | |
2236 | * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This. | |
2237 | Don't include <sysdep.h> nor <init-arch.h>. | |
2238 | (_ZGVbN2v_log): Removed. | |
2239 | * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to | |
2240 | ... | |
2241 | * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This. | |
2242 | Don't include <sysdep.h> nor <init-arch.h>. | |
2243 | (_ZGVdN4v_log): Removed. | |
2244 | * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to | |
2245 | ... | |
2246 | * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This. | |
2247 | Don't include <sysdep.h> nor <init-arch.h>. | |
2248 | (_ZGVeN8v_log): Removed. | |
2249 | * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to | |
2250 | ... | |
2251 | * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This. | |
2252 | Don't include <sysdep.h> nor <init-arch.h>. | |
2253 | (_ZGVbN2vv_pow): Removed. | |
2254 | * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to | |
2255 | ... | |
2256 | * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This. | |
2257 | Don't include <sysdep.h> nor <init-arch.h>. | |
2258 | (_ZGVdN4vv_pow): Removed. | |
2259 | * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to | |
2260 | ... | |
2261 | * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This. | |
2262 | Don't include <sysdep.h> nor <init-arch.h>. | |
2263 | (_ZGVeN8vv_pow): Removed. | |
2264 | * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to | |
2265 | ... | |
2266 | * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This. | |
2267 | Don't include <sysdep.h> nor <init-arch.h>. | |
2268 | (_ZGVbN2v_sin): Removed. | |
2269 | * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to | |
2270 | ... | |
2271 | * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This. | |
2272 | Don't include <sysdep.h> nor <init-arch.h>. | |
2273 | (_ZGVbN4v_sin): Removed. | |
2274 | * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to | |
2275 | ... | |
2276 | * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This. | |
2277 | Don't include <sysdep.h> nor <init-arch.h>. | |
2278 | (_ZGVbN8v_sin): Removed. | |
2279 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to | |
2280 | ... | |
2281 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This. | |
2282 | Don't include <sysdep.h> nor <init-arch.h>. | |
2283 | (_ZGVbN2vvv_sincos): Removed. | |
2284 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to | |
2285 | ... | |
2286 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This. | |
2287 | Don't include <sysdep.h> nor <init-arch.h>. | |
2288 | (_ZGVdN4vvv_sincos): Removed. | |
2289 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to | |
2290 | ... | |
2291 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This. | |
2292 | Don't include <sysdep.h> nor <init-arch.h>. | |
2293 | (_ZGVeN8vvv_sincos): Removed. | |
2294 | * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to | |
2295 | ... | |
2296 | * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This. | |
2297 | Don't include <sysdep.h> nor <init-arch.h>. | |
2298 | (_ZGVeN16v_cosf): Removed. | |
2299 | * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to | |
2300 | ... | |
2301 | * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This. | |
2302 | Don't include <sysdep.h> nor <init-arch.h>. | |
2303 | (_ZGVbN4v_cosf): Removed. | |
2304 | * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to | |
2305 | ... | |
2306 | * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This. | |
2307 | Don't include <sysdep.h> nor <init-arch.h>. | |
2308 | (_ZGVdN8v_cosf): Removed. | |
2309 | * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to | |
2310 | ... | |
2311 | * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This. | |
2312 | Don't include <sysdep.h> nor <init-arch.h>. | |
2313 | (_ZGVeN16v_expf): Removed. | |
2314 | * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to | |
2315 | ... | |
2316 | * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This. | |
2317 | Don't include <sysdep.h> nor <init-arch.h>. | |
2318 | (_ZGVbN4v_expf): Removed. | |
2319 | * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to | |
2320 | ... | |
2321 | * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This. | |
2322 | Don't include <sysdep.h> nor <init-arch.h>. | |
2323 | (_ZGVdN8v_expf): Removed. | |
2324 | * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to | |
2325 | ... | |
2326 | * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This. | |
2327 | Don't include <sysdep.h> nor <init-arch.h>. | |
2328 | (_ZGVeN16v_logf): Removed. | |
2329 | * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to | |
2330 | ... | |
2331 | * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This. | |
2332 | Don't include <sysdep.h> nor <init-arch.h>. | |
2333 | (_ZGVbN4v_logf): Removed. | |
2334 | * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to | |
2335 | ... | |
2336 | * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This. | |
2337 | Don't include <sysdep.h> nor <init-arch.h>. | |
2338 | (_ZGVdN8v_logf): Removed. | |
2339 | * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to | |
2340 | ... | |
2341 | * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This. | |
2342 | Don't include <sysdep.h> nor <init-arch.h>. | |
2343 | (_ZGVeN16vv_powf): Removed. | |
2344 | * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to | |
2345 | ... | |
2346 | * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This. | |
2347 | Don't include <sysdep.h> nor <init-arch.h>. | |
2348 | (_ZGVbN4vv_powf): Removed. | |
2349 | * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to | |
2350 | ... | |
2351 | * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This. | |
2352 | Don't include <sysdep.h> nor <init-arch.h>. | |
2353 | (_ZGVdN8vv_powf): Removed. | |
2354 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to | |
2355 | ... | |
2356 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This. | |
2357 | Don't include <sysdep.h> nor <init-arch.h>. | |
2358 | (_ZGVeN16vvv_sincosf): Removed. | |
2359 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to | |
2360 | ... | |
2361 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This. | |
2362 | Don't include <sysdep.h> nor <init-arch.h>. | |
2363 | (_ZGVbN4vvv_sincosf): Removed. | |
2364 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to | |
2365 | ... | |
2366 | * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This. | |
2367 | Don't include <sysdep.h> nor <init-arch.h>. | |
2368 | (_ZGVdN8vvv_sincosf): Removed. | |
2369 | * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to | |
2370 | ... | |
2371 | * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This. | |
2372 | Don't include <sysdep.h> nor <init-arch.h>. | |
2373 | (_ZGVeN16v_sinf): Removed. | |
2374 | * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to | |
2375 | ... | |
2376 | * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This. | |
2377 | Don't include <sysdep.h> nor <init-arch.h>. | |
2378 | (_ZGVbN4v_sinf): Removed. | |
2379 | * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to | |
2380 | ... | |
2381 | * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This. | |
2382 | Don't include <sysdep.h> nor <init-arch.h>. | |
2383 | (_ZGVdN8v_sinf): Removed. | |
2384 | ||
10a87ca4 L |
2385 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
2386 | ||
2387 | * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines): | |
2388 | Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1, | |
2389 | s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1, | |
2390 | s_rint-sse4_1 and s_rintf-sse4_1. | |
2391 | * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file. | |
2392 | * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise. | |
2393 | * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise. | |
2394 | * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise. | |
2395 | * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise. | |
2396 | * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise. | |
2397 | * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise. | |
2398 | * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise. | |
2399 | * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise. | |
2400 | * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ... | |
2401 | * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't | |
2402 | include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>. | |
2403 | (__ceil): Removed. | |
2404 | * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ... | |
2405 | * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't | |
2406 | include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>. | |
2407 | (__ceilf): Removed. | |
2408 | * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ... | |
2409 | * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't | |
2410 | include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>. | |
2411 | (__floor): Removed. | |
2412 | * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ... | |
2413 | * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't | |
2414 | include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>. | |
2415 | (__floorf): Removed. | |
2416 | * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ... | |
2417 | * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't | |
2418 | include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>. | |
2419 | (__nearbyint): Removed. | |
2420 | * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ... | |
2421 | * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't | |
2422 | include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>. | |
2423 | (__nearbyintf): Removed. | |
2424 | * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ... | |
2425 | * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't | |
2426 | include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>. | |
2427 | (__rint): Removed. | |
2428 | * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ... | |
2429 | * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't | |
2430 | include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>. | |
2431 | (__rintf): Removed. | |
2432 | ||
1e8e527d L |
2433 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
2434 | ||
2435 | * sysdeps/i386/start.S (_start): Check Check PIC instead of | |
2436 | SHARED. Avoid dynamic relocation against main in static PIE. | |
2437 | ||
e13daad7 L |
2438 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
2439 | ||
2440 | [BZ #21815] | |
2441 | * elf/Makefile (CFLAGS-tst-prelink.c): New. | |
2442 | (LDFLAGS-tst-prelink): Likewise. | |
2443 | ||
627c69c8 L |
2444 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
2445 | ||
2446 | * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER): | |
2447 | Define to I386_USE_SYSENTER to 0 or 1 if not defined. | |
2448 | (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC. | |
2449 | (INTERNAL_SYSCALL_MAIN_INLINE): Likewise. | |
2450 | (INTERNAL_SYSCALL_NCS): Likewise. | |
2451 | (LOADARGS_1): Likewise. | |
2452 | (LOADARGS_5): Likewise. | |
2453 | (RESTOREARGS_1): Likewise. | |
2454 | (RESTOREARGS_5): Likewise. | |
2455 | ||
fc11ff8d L |
2456 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
2457 | ||
2458 | * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED. | |
2459 | (MEMPCPY_SYMBOL): Likewise. | |
2460 | * sysdeps/x86_64/multiarch/ifunc-impl-list.c | |
2461 | (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a. | |
2462 | * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include | |
2463 | in libc.a. | |
2464 | * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise. | |
2465 | * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: | |
2466 | Likewise. | |
2467 | * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a. | |
2468 | (__hidden_ver1): Don't use in libc.a. | |
2469 | * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S | |
2470 | (__mempcpy): Don't create a weak alias in libc.a. | |
2471 | * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support | |
2472 | libc.a. | |
2473 | * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a. | |
2474 | (__hidden_ver1): Don't use in libc.a. | |
2475 | ||
19f1a11e L |
2476 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
2477 | ||
2478 | * config.make.in (have-insert): New. | |
2479 | * configure.ac (libc_cv_insert): New. Set to yes if linker | |
2480 | supports INSERT in linker script. | |
2481 | (AC_SUBST(libc_cv_insert): New. | |
2482 | * configure: Regenerated. | |
2483 | * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only | |
2484 | if $(have-insert) == yes. | |
2485 | ||
3093fd5e L |
2486 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
2487 | ||
2488 | * elf/Makefile (tests): Add vismain only if | |
2489 | $(have-protected-data) == yes. | |
2490 | (tests-pie): Likewise. | |
2491 | ||
d2cf37c0 L |
2492 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
2493 | ||
2494 | [BZ #21871] | |
2495 | * sysdeps/x86/cpu-features.c (init_cpu_features): Set | |
2496 | bit_arch_Use_dl_runtime_resolve_opt only with AVX512F. | |
2497 | ||
c8a0e6ec L |
2498 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
2499 | ||
2500 | [BZ #21790] | |
2501 | * sysdeps/i386/i586/memset.S | |
2502 | (__memset_zero_constant_len_parameter): Removed. | |
2503 | * sysdeps/i386/i686/memset.S | |
2504 | (__memset_zero_constant_len_parameter): Likewise. | |
2505 | * sysdeps/i386/i686/multiarch/memset_chk.S | |
2506 | (__memset_zero_constant_len_parameter): Likewise. | |
2507 | * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter): | |
2508 | Likewise. | |
2509 | ||
2b34e271 AJ |
2510 | 2017-08-03 Aurelien Jarno <aurelien@aurel32.net> |
2511 | ||
2512 | * stdlib/getentropy.c (getentropy): Change return type to int. | |
2513 | ||
144bdab0 AJ |
2514 | 2017-08-03 Aurelien Jarno <aurelien@aurel32.net> |
2515 | ||
2516 | * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated. | |
2517 | ||
24ab7723 JM |
2518 | 2017-08-03 Joseph Myers <joseph@codesourcery.com> |
2519 | ||
2520 | * math/s_nextafter.c (__nextafter): Use uintN_t instead of | |
2521 | u_intN_t. | |
2522 | * math/s_nexttowardf.c (__nexttowardf): Likewise. | |
2523 | * sysdeps/generic/math_private.h (ieee_double_shape_type): | |
2524 | Likewise. | |
2525 | (ieee_float_shape_type): Likewise. | |
2526 | * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise. | |
2527 | * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise. | |
2528 | * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise. | |
2529 | * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise. | |
2530 | * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise. | |
2531 | * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise. | |
2532 | * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise. | |
2533 | * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise. | |
2534 | * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): | |
2535 | Likewise. | |
2536 | * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise. | |
2537 | * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise. | |
2538 | (__ieee754_yn): Likewise. | |
2539 | * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise. | |
2540 | * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise. | |
2541 | * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2): | |
2542 | Likewise. | |
2543 | * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise. | |
2544 | * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise. | |
2545 | * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise. | |
2546 | * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise. | |
2547 | (__erfc): Likewise. | |
2548 | * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise. | |
2549 | * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise. | |
2550 | * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise. | |
2551 | * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise. | |
2552 | * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise. | |
2553 | * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling): | |
2554 | Likewise. | |
2555 | * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise. | |
2556 | * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise. | |
2557 | * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. | |
2558 | * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise. | |
2559 | * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise. | |
2560 | * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise. | |
2561 | * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise. | |
2562 | * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise. | |
2563 | * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise. | |
2564 | * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c | |
2565 | (__issignaling): Likewise. | |
2566 | * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise. | |
2567 | * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise. | |
2568 | * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): | |
2569 | Likewise. | |
2570 | * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise. | |
2571 | * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise. | |
2572 | * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise. | |
2573 | * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): | |
2574 | Likewise. | |
2575 | * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf): | |
2576 | Likewise. | |
2577 | * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise. | |
2578 | * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise. | |
2579 | * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise. | |
2580 | * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise. | |
2581 | (__erfcf): Likewise. | |
2582 | * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise. | |
2583 | * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise. | |
2584 | * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise. | |
2585 | * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): | |
2586 | Likewise. | |
2587 | * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise. | |
2588 | * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf): | |
2589 | Likewise. | |
2590 | * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. | |
2591 | * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise. | |
2592 | * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. | |
2593 | * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise. | |
2594 | * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise. | |
2595 | * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise. | |
2596 | * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise. | |
2597 | * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): | |
2598 | Likewise. | |
2599 | * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): | |
2600 | Likewise. | |
2601 | * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl): | |
2602 | Likewise. | |
2603 | * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise. | |
2604 | * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r): | |
2605 | Likewise. | |
2606 | * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): | |
2607 | Likewise. | |
2608 | * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise. | |
2609 | (__ieee754_ynl): Likewise. | |
2610 | * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise. | |
2611 | * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l): | |
2612 | Likewise. | |
2613 | * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl): | |
2614 | Likewise. | |
2615 | * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise. | |
2616 | * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise. | |
2617 | * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl): | |
2618 | Likewise. | |
2619 | * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise. | |
2620 | * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise. | |
2621 | * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise. | |
2622 | * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise. | |
2623 | * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise. | |
2624 | * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise. | |
2625 | * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise. | |
2626 | * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl): | |
2627 | Likewise. | |
2628 | * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise. | |
2629 | * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise. | |
2630 | * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl): | |
2631 | Likewise. | |
2632 | * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. | |
2633 | * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise. | |
2634 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. | |
2635 | * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise. | |
2636 | * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise. | |
2637 | * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): | |
2638 | Likewise. | |
2639 | * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): | |
2640 | Likewise. | |
2641 | * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): | |
2642 | Likewise. | |
2643 | * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf): | |
2644 | Likewise. | |
2645 | * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise. | |
2646 | * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise. | |
2647 | * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise. | |
2648 | * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise. | |
2649 | * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise. | |
2650 | * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise. | |
2651 | * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): | |
2652 | Likewise. | |
2653 | * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r): | |
2654 | Likewise. | |
2655 | * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise. | |
2656 | * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l): | |
2657 | Likewise. | |
2658 | * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c | |
2659 | (__ieee754_remainderl): Likewise. | |
2660 | * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise. | |
2661 | * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise. | |
2662 | * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise. | |
2663 | * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl): | |
2664 | Likewise. | |
2665 | * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise. | |
2666 | * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf): | |
2667 | Likewise. | |
2668 | * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise. | |
2669 | * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise. | |
2670 | * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise. | |
2671 | * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise. | |
2672 | * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise. | |
2673 | * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): | |
2674 | Likewise. | |
2675 | * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise. | |
2676 | * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise. | |
2677 | (__ieee754_y0l): Likewise. | |
2678 | (pzero): Likewise. | |
2679 | (qzero): Likewise. | |
2680 | * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise. | |
2681 | (__ieee754_y1l): Likewise. | |
2682 | (pone): Likewise. | |
2683 | (qone): Likewise. | |
2684 | * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise. | |
2685 | (__ieee754_ynl): Likewise. | |
2686 | * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise. | |
2687 | (__ieee754_lgammal_r): Likewise. | |
2688 | * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l): | |
2689 | Likewise. | |
2690 | * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise. | |
2691 | * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise. | |
2692 | * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise. | |
2693 | (__erfcl): Likewise. | |
2694 | * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise. | |
2695 | * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl): | |
2696 | Likewise. | |
2697 | * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. | |
2698 | * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise. | |
2699 | * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. | |
2700 | * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise. | |
2701 | * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise. | |
2702 | * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. | |
2703 | * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf): | |
2704 | Likewise. | |
2705 | * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise. | |
2706 | * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise. | |
2707 | * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise. | |
2708 | * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise. | |
2709 | * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf): | |
2710 | Likewise. | |
2711 | * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise. | |
2712 | * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl): | |
2713 | Likewise. | |
2714 | * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise. | |
2715 | * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise. | |
2716 | * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise. | |
2717 | * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise. | |
2718 | * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise. | |
2719 | ||
964263bb FW |
2720 | 2017-08-03 Florian Weimer <fweimer@redhat.com> |
2721 | ||
2722 | [BZ #21885] | |
2723 | * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context | |
2724 | on memory allocation failure. | |
2725 | ||
e98c925f AM |
2726 | 2017-08-03 Alan Modra <amodra@gmail.com> |
2727 | ||
2728 | * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from | |
2729 | tst-tlsopt-powerpc.c with function name change and no test harness. | |
2730 | * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test. | |
2731 | Call tls_get_addr_opt_test. | |
2732 | * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define. | |
2733 | (modules-names): Add mod-tlsopt-powerpc. | |
2734 | (mod-tlsopt-powerpc.so-no-z-defs): Define. | |
2735 | (tst-tlsopt-powerpc): Depend on .so. | |
2736 | * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't | |
2737 | define. Expand use in TLS_GD and TLS_LD. | |
2738 | ||
8ee1abdb ST |
2739 | 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org> |
2740 | ||
2741 | * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define | |
2742 | function. | |
3da5756e | 2743 | * sysdeps/posix/shm_open.c: Include <pthread.h>. |
8ee1abdb | 2744 | |
42df8d59 JM |
2745 | 2017-08-02 Joseph Myers <joseph@codesourcery.com> |
2746 | ||
2747 | [BZ #21686] | |
2748 | * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before | |
2749 | comparing size with that of double. | |
2750 | (__TGMATH_BINARY_REAL_STD_ONLY): Likewise. | |
2751 | (__TGMATH_BINARY_REAL_RET_ONLY): Likewise. | |
2752 | (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise. | |
2753 | (__TGMATH_TERNARY_REAL_ONLY): Likewise. | |
2754 | (__TGMATH_BINARY_REAL_IMAG): Likewise. | |
2755 | * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and | |
2756 | unsigned __int128 types. | |
2757 | ||
b7f95f49 SE |
2758 | 2017-08-02 Steve Ellcey <sellcey@cavium.com> |
2759 | ||
2760 | * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c | |
2761 | CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c, | |
2762 | CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c, | |
2763 | CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c, | |
2764 | CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove. | |
2765 | ||
5b736bc9 L |
2766 | 2017-08-02 H.J. Lu <hongjiu.lu@intel.com> |
2767 | ||
2768 | * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED. | |
2769 | ||
dfc93c41 L |
2770 | 2017-08-02 H.J. Lu <hongjiu.lu@intel.com> |
2771 | ||
2772 | * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead | |
2773 | of SHARED. | |
2774 | * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise. | |
2775 | * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise. | |
2776 | * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise. | |
2777 | * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise. | |
2778 | * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise. | |
2779 | * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise. | |
2780 | * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise. | |
2781 | ||
2fee621d JM |
2782 | 2017-08-02 Joseph Myers <joseph@codesourcery.com> |
2783 | ||
2784 | [BZ #21685] | |
2785 | * math/tgmath.h (__tgmath_real_type): Use unary + on potentially | |
2786 | bit-field expressions passed to sizeof or typeof. | |
2787 | [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] | |
2788 | (__TGMATH_F128): Likewise. | |
2789 | [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] | |
2790 | (__TGMATH_CF128): Likewise. | |
2791 | (__TGMATH_UNARY_REAL_ONLY): Likewise. | |
2792 | (__TGMATH_UNARY_REAL_RET_ONLY): Likewise. | |
2793 | (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise. | |
2794 | (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise. | |
2795 | (__TGMATH_BINARY_REAL_ONLY): Likewise. | |
2796 | (__TGMATH_BINARY_REAL_STD_ONLY): Likewise. | |
2797 | (__TGMATH_BINARY_REAL_RET_ONLY): Likewise. | |
2798 | (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise. | |
2799 | (__TGMATH_TERNARY_REAL_ONLY): Likewise. | |
2800 | (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise. | |
2801 | (__TGMATH_UNARY_REAL_IMAG): Likewise. | |
2802 | (__TGMATH_UNARY_IMAG): Likewise. | |
2803 | (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise. | |
2804 | (__TGMATH_BINARY_REAL_IMAG): Likewise. | |
2805 | * math/gen-tgmath-tests.py (Type.init_types): Create bit_field | |
2806 | type. | |
2807 | (define_vars_for_type): Handle bit_field type specially. | |
2808 | (Tests.__init__): Declare structure with bit-field element. | |
2809 | ||
b358255f L |
2810 | 2017-08-02 H.J. Lu <hongjiu.lu@intel.com> |
2811 | ||
2812 | [BZ #21791] | |
2813 | * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S | |
2814 | (MEMCPY_CHK): Define only if SHARED is defined. | |
2815 | * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK): | |
2816 | Likewise. | |
2817 | * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK): | |
2818 | Likewise. | |
edf66db1 SP |
2819 | |
2820 | See ChangeLog.18 for earlier changes. |