]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
benchtests: Move iterator declaration into loop header
[thirdparty/glibc.git] / ChangeLog
1 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
2
3 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
4 of I into loop header.
5 * benchtests/bench-memmove-walk.c
6 (test_main): Likewise.
7
8 2018-05-07 Alexandre Oliva <oliva@gnu.org>
9
10 Revert:
11 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
12 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
13
14 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15
16 [BZ #20419]
17 * elf/dl-load.c (open_verify): Fix stack overflow.
18 * elf/Makefile (tst-big-note): New test.
19 * elf/tst-big-note-lib.S: New.
20 * elf/tst-big-note.c: New.
21
22 2018-05-04 Joseph Myers <joseph@codesourcery.com>
23
24 * scripts/abilist.awk: Ignore absolute symbols.
25 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
26 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
27 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
28 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
29 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
30 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
31 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
32 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
33 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
34 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
35 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
36 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
37 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
38 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
39 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
40 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
41 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
42 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
43 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
44 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
45 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
46 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
47 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
48 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
49 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
50 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
51 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
52 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
53 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
54 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
55 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
56 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
57 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
58 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
59 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
60 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
61 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
62 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
63 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
64 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
65 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
66 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
67 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
68 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
69 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
70 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
71 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
72 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
73 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
74 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
75 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
76 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
77 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
78 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
79 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
80 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
81 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
82 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
83 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
84 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
85 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
86 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
87 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
88 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
89 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
90 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
91 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
92 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
93 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
94 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
95 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
96 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
97 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
98 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
99 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
100 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
101 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
102 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
103 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
104 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
105 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
106 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
107 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
108 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
109 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
110 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
111 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
112 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
113 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
114 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
115 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
116 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
117 Likewise.
118 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
119 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
120 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
121 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
122 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
123 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
124 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
125 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
126 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
127 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
128 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
129 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
130 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
131 Likewise.
132 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
133 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
134 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
135 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
136 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
137 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
138 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
139 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
140 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
141 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
142 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
143 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
144 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
145 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
146 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
147 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
148 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
149 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
150 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
151 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
152 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
153 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
154 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
155 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
156 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
157 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
158 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
159 Likewise.
160 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
161 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
162 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
163 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
164 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
165 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
166 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
167 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
168 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
169 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
170 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
171 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
172 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
173 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
174 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
175 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
176 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
177 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
178 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
179 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
180 Likewise.
181 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
182 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
183 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
184 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
185 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
186 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
187 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
188 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
189 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
190 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
191 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
192 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
193 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
194 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
195 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
196 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
197 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
198 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
199 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
200 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
201 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
202 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
203 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
204 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
205 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
206 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
207 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
208 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
213 Likewise.
214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
219 Likewise.
220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
221 Likewise.
222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
224 Likewise.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
227 Likewise.
228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
229 Likewise.
230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
233 Likewise.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
235 Likewise.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
237 Likewise.
238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
242 Likewise.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
249 Likewise.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
252 Likewise.
253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
254 Likewise.
255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
256 Likewise.
257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
258 Likewise.
259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
262 Likewise.
263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
264 Likewise.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
266 Likewise.
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
268 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
269 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
270 Likewise.
271 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
272 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
273 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
274 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
275 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
276 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
277 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
278 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
279 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
280 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
281 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
282 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
283 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
284 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
285 Likewise.
286 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
287 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
288 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
289 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
290 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
291 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
292 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
293 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
294 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
295 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
296 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
297 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
298 Likewise.
299 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
300 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
301 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
302 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
303 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
304 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
305 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
306 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
307 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
308 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
309 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
310 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
311 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
312 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
313 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
314 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
315 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
316 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
317 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
318 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
319 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
320 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
321 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
322 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
323 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
324 Likewise.
325 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
326 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
327 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
328 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
329 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
330 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
331 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
332 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
333 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
334 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
335 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
336 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
337 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
338 Likewise.
339 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
340 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
341 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
342 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
343 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
344 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
345 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
346 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
347 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
348 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
349 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
350 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
351 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
352 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
353 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
354 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
355 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
356 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
357 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
358 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
359 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
360 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
361 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
362 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
363 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
364 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
365 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
366 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
367 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
368 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
369 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
370 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
371 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
372 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
373 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
374 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
375 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
376 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
377
378 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
379
380 [BZ #23137]
381 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
382 Use atomic_load_acquire to load __tid.
383
384 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
385
386 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
387 Restore the pointer into %rdx, after syscall and use %rdx,
388 instead of %rsi, to restore context.
389
390 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
391
392 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
393 Pop the pointer into %rdx after syscall and use %rdx, instead
394 of %rsi, to restore context.
395
396 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
397
398 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
399 handlers after setjmp.
400 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
401 defined.
402 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
403 <libc-pointer-arith.h>.
404 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
405 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
406 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
407 _JUMP_BUF_SIGSET_BITS_PER_WORD.
408 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
409 * sysdeps/x86/__longjmp_cancel.S: New file.
410 * sysdeps/x86/longjmp.c: Likewise.
411 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
412
413 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
414
415 * NEWS: Add ustat.h deprecation entry.
416 * bits/ustat.h: Remove file.
417 * misc/sys/ustat.h: Likewise.
418 * misc/ustat.h: Likewise.
419 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
420 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
421 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
422 compatibility mode.
423 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
424 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
425 generic Linux implementation.
426
427 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
428
429 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
430 * math/w_expl_compat.c: Likewise.
431 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
432
433 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
434
435 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
436
437 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
438
439 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
440 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
441 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
442 Remove.
443 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
445 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
446 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
447 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
448 and SYSCALL_LL64.
449
450 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
451
452 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
453
454 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
455 * math/w_asin_template.c: Likewise.
456 * math/w_atanh_template.c: Likewise.
457
458 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
459
460 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
461 to powerpc/powerpc64/be for big-endian.
462 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
463 little-endian.
464
465 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
466 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
467 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
468 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
469 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
470 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
471 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
472 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
473 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
474 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
475 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
476 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
477 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
478 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
479 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
480 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
481 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
482 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
483 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
484 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
485 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
486 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
487 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
488 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
489 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
490 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
491 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
492 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
493 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
494 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
495 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
496 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
497
498 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
499 adjusted to imply powerpc64 and older processors on powerpc64/be.
500 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
501 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
502 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
503 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
504 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
505 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
506 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
507 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
508 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
509 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
510 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
511 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
512 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
513 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
514 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
515 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
516 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
517 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
518 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
519 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
520 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
521 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
522 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
523 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
524 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
525 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
526 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
527 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
528 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
529 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
530 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
531
532 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
533 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
534 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
535 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
536
537 * sysdeps/powerpc/powerpc64/be/Implies: New file.
538 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
539 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
540 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
541
542 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
543 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
544 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
545 * sysdeps/powerpc/powerpc64le/configure: Likewise.
546 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
547 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
548 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
549 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
550 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
551 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
552 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
553
554 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
555 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
556 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
557 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
558 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
559 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
560 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
561 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
562 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
563 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
564 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
565
566 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
567 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
568 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
569 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
570 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
571 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
572 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
573 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
574 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
575 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
576 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
577 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
578
579 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
580 and adjusted to imply olders processors.
581 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
582 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
583 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
584 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
585 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
586 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
587 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
588 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
589 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
590 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
591 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
592
593 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
594 powerpc64/le.
595 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
596 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
597
598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
599 powerpc64le.
600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
602
603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
604 powerpc64/be.
605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
608
609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
610 powerpc64 and adjusted.
611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
614 Likewise.
615
616 2018-04-27 Joseph Myers <joseph@codesourcery.com>
617
618 * sysdeps/tile: Remove.
619 * sysdeps/unix/sysv/linux/tile: Likewise.
620 * README (tilegx-*-linux-gnu): Remove from list of supported
621 configurations.
622 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
623 contribution of support for generic Linux kernel syscall
624 interface.
625 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
626 tilegx configurations.
627 (Config.install_linux_headers): Do not handle tile.
628 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
629 in comment.
630 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
631 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
632 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
633 conditional undefine and redefine.
634 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
635 in comment.
636 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
637 conditional undefine and redefine.
638
639 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
640
641 * signal/tst-sigaction.c: New file to test BZ #23069.
642 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
643
644 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
645
646 [BZ #22766]
647 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
648 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
649 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
650 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
651
652 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
653
654 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
655 _DIRENT_MATCHES_DIRENT64 is not defined.
656 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
657 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
658 is defined.
659 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
660 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
661
662 2018-04-25 Joseph Myers <joseph@codesourcery.com>
663
664 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
665 version to GCC 8 branch.
666
667 2018-04-24 Joseph Myers <joseph@codesourcery.com>
668
669 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
670 (check_no_hidden): Use type of original function when declaring
671 alias.
672
673 * sysdeps/unix/sysv/linux/sys/ptrace.h
674 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
675 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
676 (struct __ptrace_seccomp_metadata): New type.
677 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
678 (PTRACE_SECCOMP_GET_METADATA): Likewise.
679 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
680 (PTRACE_SECCOMP_GET_METADATA): Likewise.
681 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
682 (PTRACE_SECCOMP_GET_METADATA): Likewise.
683 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
684 (PTRACE_SECCOMP_GET_METADATA): Likewise.
685 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
686 (PTRACE_SECCOMP_GET_METADATA): Likewise.
687 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
688 (PTRACE_SECCOMP_GET_METADATA): Likewise.
689 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
690 (PTRACE_SECCOMP_GET_METADATA): Likewise.
691 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
692 (PTRACE_SECCOMP_GET_METADATA): Likewise.
693
694 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
695
696 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
697 defined.
698 * dirent/versionsort.c (versionsort): Likewise.
699 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
700 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
701 * dirent/versionsort64.c (versionsort64): Likewise.
702 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
703 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
704 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
705 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
706 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
707 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
708 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
709 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
710 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
711 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
714 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
715 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
716
717 2018-04-23 Joseph Myers <joseph@codesourcery.com>
718
719 * elf/elf.h (NT_PPC_PKEY): New macro.
720
721 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
722
723 [BZ #23094]
724 * localedata/locales/hr_HR: fix thousands_sep and
725 mon_thousands_sep
726
727 2018-04-20 Joseph Myers <joseph@codesourcery.com>
728
729 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
730 (XTABS): Define to TAB3.
731
732 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
733
734 * sysdeps/hppa/fpu/libm-test-ulps: Update.
735
736 * dirent/scandir-tail-common.c: New file.
737 * dirent/scandir-tail.c: Use scandir-tail-common.c.
738 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
739 * dirent/scandir.c: Use scandir-tail-common.c.
740 * dirent/scandirat.c: Likewise.
741 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
742 * dirent/scandir64.c (scandir64): Always build and alias to scandir
743 if _DIRENT_MATCHES_DIRENT64 is defined.
744 * dirent/scandirat64.c (scandirat64): Likewise.
745 * include/dirent.h (__scandir_tail): Only define iff
746 _DIRENT_MATCHES_DIRENT64 is not defined.
747 (__scandir64_tail): Define regardless.
748 (__scandirat, scandirat64): Remove libc_hidden_proto.
749 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
750 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
752 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
753 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
754 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
755 * sysdeps/unix/sysv/linux/scandir64.c: New file.
756
757 2018-04-20 Joseph Myers <joseph@codesourcery.com>
758
759 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
760 New macro.
761 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
762 Increase to 24.
763 (_dl_aarch64_cap_flags): Add asimdfhm.
764
765 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
766
767 * sysdeps/nios2/libm-test-ulps: Update.
768
769 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
770
771 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
772 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
773
774 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
775 requirements.
776 (_DIRENT_MATCHES_DIRENT64): Undef
777 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
778 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
779 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
780 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
781 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
782 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
783 use getdents64 syscalls as base.
784 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
785 symbol if required.
786 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
787 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
788 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
789 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
790 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
791 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
792 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
793 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
794 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
795 (__get_clockfreq_via_proc_openprom): Use __getdents64.
796 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
797
798 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
799
800 * scripts/test_printers_common.py (init_test): Disable lock elision.
801
802 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
803
804 * math/test-tgmath.c (count_double, count_float,
805 count_ldouble, count_cdouble, count_cfloat,
806 count_cldouble): Use volatile int.
807
808 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
809
810 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
811 (conformtest-xfail-conds): Add i386-gnu.
812 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
813 i386-gnu.
814 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
815 ipc_perm.cuid, ipc_perm.cgid): Likewise.
816 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
817 msqid_ds.msg_lrpid): Likewise.
818 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
819 Likewise.
820 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
821 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
822 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
823 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
824 unsigned int.
825 (struct statvfs64): Likewise.
826 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
827 Likewise.
828 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
829 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
830 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
831 instead of wait_queue.
832 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
833 instead of vm_area_struct.
834 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
835 struct sched_param definition to it.
836 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
837 * bits/types/struct_sched_param.h: New file.
838 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
839 <bits/types/struct_sched_param.h> instead of <sched.h>.
840 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
841 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
842 generic version but include <bits/pthreadtypes.h> to make struct
843 sigevent's sigev_notify_attributes field a pthread_attr_t*.
844 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
845 non-compliant.
846 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
847 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
848 [__USE_XOPEN] (OFDEL): New macro.
849 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
850 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
851 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
852 prototypes.
853 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
854 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
855 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
856 non-compliant.
857 * sysdeps/i386/sys/ucontext.h: Likewise.
858 * sysdeps/m68k/sys/ucontext.h: Likewise.
859 * sysdeps/mips/sys/ucontext.h: Likewise.
860 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
861 * sysdeps/mach/hurd/i386/Makefile
862 (test-xfail-POSIX/fcntl.h/conform): Add.
863 (test-xfail-POSIX/signal.h/conform): Add.
864 (test-xfail-POSIX/semaphore.h/conform): Add.
865 (test-xfail-POSIX/regex.h/conform): Add.
866 (test-xfail-POSIX/aio.h/conform): Add.
867 (test-xfail-POSIX/mqueue.h/conform): Add.
868 (test-xfail-POSIX/sys/types.h/conform): Add.
869 (test-xfail-UNIX98/fcntl.h/conform): Add.
870 (test-xfail-UNIX98/netdb.h/conform): Add.
871 (test-xfail-UNIX98/signal.h/conform): Add.
872 (test-xfail-UNIX98/semaphore.h/conform): Add.
873 (test-xfail-UNIX98/regex.h/conform): Add.
874 (test-xfail-UNIX98/aio.h/conform): Add.
875 (test-xfail-UNIX98/ftw.h/conform): Add.
876 (test-xfail-UNIX98/mqueue.h/conform): Add.
877 (test-xfail-UNIX98/netinet/in.h/conform): Add.
878 (test-xfail-UNIX98/sys/wait.h/conform): Add.
879 (test-xfail-UNIX98/sys/sem.h/conform): Add.
880 (test-xfail-UNIX98/sys/uio.h/conform): Add.
881 (test-xfail-UNIX98/sys/socket.h/conform): Add.
882 (test-xfail-UNIX98/sys/types.h/conform): Add.
883 (test-xfail-UNIX98/stdlib.h/conform): Add.
884 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
885 (test-xfail-POSIX2008/fcntl.h/conform): Add.
886 (test-xfail-POSIX2008/netdb.h/conform): Add.
887 (test-xfail-POSIX2008/signal.h/conform): Add.
888 (test-xfail-POSIX2008/semaphore.h/conform): Add.
889 (test-xfail-POSIX2008/regex.h/conform): Add.
890 (test-xfail-POSIX2008/aio.h/conform): Add.
891 (test-xfail-POSIX2008/mqueue.h/conform): Add.
892 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
893 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
894 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
895 (test-xfail-POSIX2008/sys/types.h/conform): Add.
896 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
897 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
898 (test-xfail-XOPEN2K/netdb.h/conform): Add.
899 (test-xfail-XOPEN2K/signal.h/conform): Add.
900 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
901 (test-xfail-XOPEN2K/regex.h/conform): Add.
902 (test-xfail-XOPEN2K/aio.h/conform): Add.
903 (test-xfail-XOPEN2K/ftw.h/conform): Add.
904 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
905 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
906 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
907 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
908 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
909 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
910 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
911 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
912 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
913 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
914 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
915 (test-xfail-XOPEN2K8/signal.h/conform): Add.
916 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
917 (test-xfail-XOPEN2K8/regex.h/conform): Add.
918 (test-xfail-XOPEN2K8/aio.h/conform): Add.
919 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
920 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
921 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
922 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
923 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
924 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
925 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
926 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
927 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
928 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
929 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
930 i386-gnu.
931 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
932 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
933
934 2018-04-18 Joseph Myers <joseph@codesourcery.com>
935
936 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
937 --enable-obsolete for powerpc-linux-gnuspe.
938
939 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
940
941 * conform/data/sys/un.h-data: Allow sun_ prefix.
942 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
943 prototypes.
944 * sysdeps/mach/include/mach.h: Likewise.
945 * sysdeps/mach/include/mach/mig_support.h: Likewise.
946 * sysdeps/mach/include/mach_error.h: Likewise.
947
948 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
949
950 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
951 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
952 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
953 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
954
955 2018-04-16 Andreas Schwab <schwab@suse.de>
956
957 [BZ #19527]
958 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
959
960 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
961
962 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
963 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
964
965 2018-04-12 DJ Delorie <dj@redhat.com>
966
967 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
968 version to 4.16.
969
970 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
971
972 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
973 (struct kernel_sigaction): Use the same definition on 31bit as is used
974 on 64bit.
975
976 2018-04-09 Florian Weimer <fweimer@redhat.com>
977
978 [BZ #23037]
979 * resolv/res_send.c (send_dg): Use designated initializers instead
980 of assignment to zero-initialize other fields of struct mmsghdr.
981
982 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
983
984 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
985 __READDIR_ALIAS): Undefine after usage.
986 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
987 __READDIR_R_ALIAS): Likewise.
988 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
989 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
990 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
991 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
992 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
993 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
994 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
995 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
996 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
997 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
998 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
999 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
1000 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
1001 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
1002 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
1003 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
1004 * sysdeps/unix/sysv/linux/readdir.c: New file.
1005 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
1006 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
1007 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1008
1009 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
1010
1011 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
1012
1013 * manual/charset.texi (Converting a Character): Fix typo.
1014
1015 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1016
1017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1018
1019 * sysdeps/arm/libm-test-ulps: Update.
1020
1021 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
1022 as base implementation.
1023 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1024 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1025 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1026 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1027 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1028 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
1029 remove unrequired definitions and update comments.
1030 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
1031 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
1032 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
1033 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
1034 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
1035 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
1036 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1037 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
1038 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
1039 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
1040 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
1041 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1042 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1043 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
1044 and RESET_SA_RESTORER hooks.
1045
1046 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
1047
1048 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1049
1050 2018-04-05 Florian Weimer <fweimer@redhat.com>
1051
1052 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
1053 integer overflow, memory leak on error, and indeterminate errno
1054 value. Add a null wide character to terminate the result string.
1055 * manual/charset.texi (Converting a Character): Mention embedded
1056 null bytes in the mbrtowc input string. Explain what happens in
1057 the -2 result case. Do not claim that mbrtowc is simple or
1058 obvious to use. Adjust the description of the code example. Use
1059 @code, not @var, for concrete variables.
1060
1061 2018-04-05 Florian Weimer <fweimer@redhat.com>
1062
1063 * manual/examples/mbstouwcs.c: New file.
1064 * manual/charset.texi (Converting a Character): Include it.
1065
1066 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
1067
1068 * include/dirent.h (dirfd): Add hidden proto.
1069 * dirent/dirfd.c (dirfd): Add hidden def.
1070 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
1071 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
1072
1073 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1074
1075 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
1076 sin, cos and sincos to 1 ULP.
1077
1078 2018-04-04 Maciej W. Rozycki <macro@mips.com>
1079
1080 [BZ #19818]
1081 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
1082 symbols.
1083 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
1084 * elf/tst-absolute-sym.c: New file.
1085 * elf/tst-absolute-sym-lib.c: New file.
1086 * elf/tst-absolute-sym-lib.lds: New file.
1087 * elf/Makefile (tests): Add `tst-absolute-sym'.
1088 (modules-names): Add `tst-absolute-sym-lib'.
1089 (LDLIBS-tst-absolute-sym-lib.so): New variable.
1090 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
1091 ($(objpfx)tst-absolute-sym): New dependency.
1092
1093 [BZ #19818]
1094 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
1095 parameter.
1096 (SYMBOL_ADDRESS): New macro.
1097 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
1098 SYMBOL_ADDRESS for symbol address calculation.
1099 * elf/dl-runtime.c (_dl_fixup): Likewise.
1100 (_dl_profile_fixup): Likewise.
1101 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
1102 * elf/rtld.c (dl_main): Likewise.
1103 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
1104 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
1105 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
1106 (elf_machine_rela): Likewise.
1107 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
1108 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
1109 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1110 (elf_machine_rela): Likewise.
1111 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
1112 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1113 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
1114 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
1115 Likewise.
1116 (elf_machine_reloc): Likewise.
1117 (elf_machine_got_rel): Likewise.
1118 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
1119 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
1120 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
1121 Likewise.
1122 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1123 Likewise.
1124 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
1125 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1126 Likewise.
1127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1128 Likewise.
1129 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1130 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1131 Likewise.
1132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1133 Likewise.
1134 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
1135 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1136
1137 2018-04-04 Zack Weinberg <zackw@panix.com>
1138
1139 * sysdeps/generic/internal-signals.h: Include signal.h,
1140 sigsetops.h, and stdbool.h.
1141 (__libc_signal_block_all): Actually block all signals.
1142 (__libc_signal_block_app): Likewise.
1143 (__libc_signal_restore_set): Actually restore the signal mask.
1144
1145 2018-04-04 Florian Weimer <fweimer@redhat.com>
1146
1147 inet: Actually build and run tst-deadline.
1148 * inet/Makefile (tests-internal): Add tst-deadline and do not
1149 overwrite the variable.
1150 (tests-static-internal): Remove variable.
1151
1152 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
1153
1154 [BZ #22947]
1155 * bits/uio-ext.h (RWF_APPEND): New.
1156 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
1157 * manual/llio.texi: Document RWF_APPEND.
1158 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
1159 (RWF_SUPPORTED): Add RWF_APPEND.
1160
1161 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1162
1163 [BZ #22391]
1164 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
1165 check for internal nptl signals.
1166 * nptl/sigaction.c (__sigaction): Likewise.
1167 * signal/sigaddset.c (sigaddset): Likewise.
1168 * signal/sigdelset.c (sigdelset): Likewise.
1169 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
1170 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
1171 value.
1172 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
1173 to filter out internal nptl signals.
1174 * signal/tst-sigset.c (do_test): Check ech signal indidually and
1175 also check realtime signals using standard macros.
1176 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
1177 __is_internal_signal, __libc_signal_block_all,
1178 __libc_signal_block_app, __libc_signal_restore_set): New functions.
1179 * sysdeps/nptl/sigfillset.c: Remove file.
1180 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
1181 Change return to bool.
1182 (__clear_internal_signals): Remove SIGTIMER clean since it is
1183 equal to SIGCANEL on Linux.
1184 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
1185 signal set was constructed using standard functions.
1186
1187 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1188
1189 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
1190 ifname is too long.
1191 * hurd/hurdsig.c (interrupted_reply_port_location): Use
1192 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
1193 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
1194 hidden def.
1195 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
1196 * signal/sigaddset.c: Include <sigsetopts.h>.
1197 * signal/sigdelset.c: Likewise.
1198
1199 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
1200
1201 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
1202 (__cos): Likewise.
1203 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
1204 logic as sin and cos.
1205
1206 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
1207
1208 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
1209 inputs. Return correct sign.
1210 (do_sincos): Remove small input check before do_sin, let do_sin set
1211 the sign.
1212 (__sin): Likewise.
1213 (__cos): Likewise.
1214
1215 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
1216
1217 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
1218 (do_cos_slow): Likewise.
1219 (do_sin_slow): Likewise.
1220 (reduce_and_compute): Likewise.
1221 (slow): Likewise.
1222 (slow1): Likewise.
1223 (slow2): Likewise.
1224 (sloww): Likewise.
1225 (sloww1): Likewise.
1226 (sloww2): Likewise.
1227 (bslow): Likewise.
1228 (bslow1): Likewise.
1229 (bslow2): Likewise.
1230 (cslow2): Likewise.
1231
1232 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
1233
1234 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
1235 (do_cos): Remove corp parameter and calculations.
1236 (do_sin): Likewise.
1237 (do_sincos): Remove cor variable.
1238 (__sin): Use do_sincos for huge inputs.
1239 (__cos): Likewise.
1240 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
1241 (reduce_and_compute_sincos): Remove unused function.
1242
1243 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
1244
1245 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
1246 reduce_sincos, improve accuracy to 136 bits.
1247 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
1248 (__sin): Use improved reduction and simplified do_sincos calculation.
1249 (__cos): Likewise.
1250 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
1251
1252 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
1253
1254 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
1255 (do_sincos_2): Likewise.
1256 (__sin): Remove middle range reduction case.
1257 (__cos): Likewise.
1258 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
1259 reduction case.
1260
1261 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
1262
1263 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
1264 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
1265 inputs.
1266 (__cos): Likewise.
1267 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
1268
1269 2018-04-03 Joseph Myers <joseph@codesourcery.com>
1270
1271 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1272 version to 4.16
1273
1274 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1275
1276 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
1277 Remove definitions.
1278 (opendir_oflags): Use O_DIRECTORY regardless.
1279 (__opendir, __opendirat): Remove need_isdir_precheck usage.
1280 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
1281
1282 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1283
1284 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
1285 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
1286 macros.
1287 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
1288 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
1289 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
1290 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
1291 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
1292 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
1293
1294 * htl/Makefile: Bump licence to LGPL 2.1+.
1295 * htl/alloca_cutoff.c: Likewise.
1296 * htl/cthreads-compat.c: Likewise.
1297 * htl/lockfile.c: Likewise.
1298 * htl/pt-alloc.c: Likewise.
1299 * htl/pt-cancel.c: Likewise.
1300 * htl/pt-cleanup.c: Likewise.
1301 * htl/pt-create.c: Likewise.
1302 * htl/pt-dealloc.c: Likewise.
1303 * htl/pt-detach.c: Likewise.
1304 * htl/pt-exit.c: Likewise.
1305 * htl/pt-getattr.c: Likewise.
1306 * htl/pt-initialize.c: Likewise.
1307 * htl/pt-internal.h: Likewise.
1308 * htl/pt-join.c: Likewise.
1309 * htl/pt-self.c: Likewise.
1310 * htl/pt-setcancelstate.c: Likewise.
1311 * htl/pt-setcanceltype.c: Likewise.
1312 * htl/pt-sigmask.c: Likewise.
1313 * htl/pt-spin-inlines.c: Likewise.
1314 * htl/pt-testcancel.c: Likewise.
1315 * htl/pt-yield.c: Likewise.
1316 * htl/tests/test-1.c: Likewise.
1317 * htl/tests/test-10.c: Likewise.
1318 * htl/tests/test-11.c: Likewise.
1319 * htl/tests/test-12.c: Likewise.
1320 * htl/tests/test-13.c: Likewise.
1321 * htl/tests/test-14.c: Likewise.
1322 * htl/tests/test-15.c: Likewise.
1323 * htl/tests/test-16.c: Likewise.
1324 * htl/tests/test-17.c: Likewise.
1325 * htl/tests/test-2.c: Likewise.
1326 * htl/tests/test-3.c: Likewise.
1327 * htl/tests/test-4.c: Likewise.
1328 * htl/tests/test-5.c: Likewise.
1329 * htl/tests/test-6.c: Likewise.
1330 * htl/tests/test-7.c: Likewise.
1331 * htl/tests/test-8.c: Likewise.
1332 * htl/tests/test-9.c: Likewise.
1333 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
1334 * sysdeps/htl/bits/cancelation.h: Likewise.
1335 * sysdeps/htl/bits/pthread-np.h: Likewise.
1336 * sysdeps/htl/bits/pthread.h: Likewise.
1337 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
1338 * sysdeps/htl/bits/semaphore.h: Likewise.
1339 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
1340 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
1341 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
1342 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
1343 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
1344 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
1345 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
1346 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
1347 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
1348 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
1349 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
1350 * sysdeps/htl/old_pt-atfork.c: Likewise.
1351 * sysdeps/htl/pt-atfork.c: Likewise.
1352 * sysdeps/htl/pt-attr-destroy.c: Likewise.
1353 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
1354 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
1355 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
1356 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
1357 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
1358 * sysdeps/htl/pt-attr-getscope.c: Likewise.
1359 * sysdeps/htl/pt-attr-getstack.c: Likewise.
1360 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
1361 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
1362 * sysdeps/htl/pt-attr-init.c: Likewise.
1363 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
1364 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
1365 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
1366 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
1367 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
1368 * sysdeps/htl/pt-attr-setscope.c: Likewise.
1369 * sysdeps/htl/pt-attr-setstack.c: Likewise.
1370 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
1371 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
1372 * sysdeps/htl/pt-attr.c: Likewise.
1373 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
1374 * sysdeps/htl/pt-barrier-init.c: Likewise.
1375 * sysdeps/htl/pt-barrier-wait.c: Likewise.
1376 * sysdeps/htl/pt-barrier.c: Likewise.
1377 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
1378 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
1379 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
1380 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
1381 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
1382 * sysdeps/htl/pt-cond-destroy.c: Likewise.
1383 * sysdeps/htl/pt-cond-init.c: Likewise.
1384 * sysdeps/htl/pt-cond-signal.c: Likewise.
1385 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
1386 * sysdeps/htl/pt-cond-wait.c: Likewise.
1387 * sysdeps/htl/pt-cond.c: Likewise.
1388 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
1389 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
1390 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
1391 * sysdeps/htl/pt-condattr-init.c: Likewise.
1392 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
1393 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
1394 * sysdeps/htl/pt-destroy-specific.c: Likewise.
1395 * sysdeps/htl/pt-equal.c: Likewise.
1396 * sysdeps/htl/pt-getconcurrency.c: Likewise.
1397 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
1398 * sysdeps/htl/pt-getschedparam.c: Likewise.
1399 * sysdeps/htl/pt-getspecific.c: Likewise.
1400 * sysdeps/htl/pt-init-specific.c: Likewise.
1401 * sysdeps/htl/pt-key-create.c: Likewise.
1402 * sysdeps/htl/pt-key-delete.c: Likewise.
1403 * sysdeps/htl/pt-key.h: Likewise.
1404 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
1405 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
1406 * sysdeps/htl/pt-mutex-init.c: Likewise.
1407 * sysdeps/htl/pt-mutex-lock.c: Likewise.
1408 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
1409 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
1410 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
1411 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
1412 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
1413 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
1414 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
1415 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
1416 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
1417 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
1418 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
1419 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
1420 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
1421 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
1422 * sysdeps/htl/pt-mutexattr.c: Likewise.
1423 * sysdeps/htl/pt-once.c: Likewise.
1424 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
1425 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
1426 * sysdeps/htl/pt-rwlock-init.c: Likewise.
1427 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
1428 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
1429 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
1430 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
1431 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
1432 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
1433 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
1434 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
1435 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
1436 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
1437 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
1438 * sysdeps/htl/pt-setconcurrency.c: Likewise.
1439 * sysdeps/htl/pt-setschedparam.c: Likewise.
1440 * sysdeps/htl/pt-setschedprio.c: Likewise.
1441 * sysdeps/htl/pt-setspecific.c: Likewise.
1442 * sysdeps/htl/pt-spin.c: Likewise.
1443 * sysdeps/htl/pt-startup.c: Likewise.
1444 * sysdeps/htl/pthread.h: Likewise.
1445 * sysdeps/htl/sem-close.c: Likewise.
1446 * sysdeps/htl/sem-destroy.c: Likewise.
1447 * sysdeps/htl/sem-getvalue.c: Likewise.
1448 * sysdeps/htl/sem-init.c: Likewise.
1449 * sysdeps/htl/sem-open.c: Likewise.
1450 * sysdeps/htl/sem-post.c: Likewise.
1451 * sysdeps/htl/sem-timedwait.c: Likewise.
1452 * sysdeps/htl/sem-trywait.c: Likewise.
1453 * sysdeps/htl/sem-unlink.c: Likewise.
1454 * sysdeps/htl/sem-wait.c: Likewise.
1455 * sysdeps/hurd/htl/pt-kill.c: Likewise.
1456 * sysdeps/i386/htl/pt-machdep.h: Likewise.
1457 * sysdeps/mach/htl/pt-block.c: Likewise.
1458 * sysdeps/mach/htl/pt-spin.c: Likewise.
1459 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
1460 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
1461 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
1462 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
1463 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
1464 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
1465 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
1466 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
1467 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
1468 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
1469 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
1470 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
1471 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
1472 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
1473 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
1474 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
1475 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
1476 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
1477 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
1478 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
1479 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
1480 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
1481 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
1482 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
1483 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
1484 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
1485 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
1486 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
1487 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
1488 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
1489 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
1490 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
1491 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
1492 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
1493 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
1494 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
1495 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
1496 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
1497 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
1498 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
1499 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
1500 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
1501 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
1502
1503 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
1504 * README: Remove the mention of out-of-tree patches needed for
1505 GNU/Hurd.
1506
1507 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
1508 (UTIME_NOW, UTIME_OMIT): Define macros.
1509
1510 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
1511 instead of pthread_detach.
1512 (__cthread_fork): Call __pthread_create instead of pthread_create.
1513 (__cthread_keycreate): Call __pthread_key_create instead of
1514 pthread_key_create.
1515 (__cthread_getspecific): Call __pthread_getspecific instead of
1516 pthread_getspecific.
1517 (__cthread_setspecific): Call __pthread_setspecific instead of
1518 pthread_setspecific.
1519 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
1520 __pthread_mutex_unlock instead of pthread_mutex_lock and
1521 pthread_mutex_unlock.
1522 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
1523 ___pthread_get_cleanup_stack.
1524 (__pthread_get_cleanup_stack): New strong alias.
1525 * htl/pt-create.c: Include <pthreadP.h>.
1526 (entry_point): Call __pthread_exit instead of pthread_exit.
1527 (pthread_create): Rename to __pthread_create.
1528 (pthread_create): New strong alias.
1529 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
1530 (pthread_detach): New strong alias.
1531 (__pthread_detach): Call __pthread_cond_broadcast instead of
1532 pthread_cond_broadcast.
1533 * htl/pt-exit.c: Include <pthreadP.h>.
1534 (__pthread_exit): Call __pthread_setcancelstate and
1535 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
1536 __pthread_get_cleanup_stack.
1537 * htl/pt-testcancel.c: Include <pthreadP.h>.
1538 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
1539 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
1540 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
1541 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
1542 pthread_attr_getstacksize.
1543 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
1544 Rename to __pthread_attr_getstackaddr.
1545 (pthread_attr_getstackaddr): New strong alias.
1546 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
1547 Rename to __pthread_attr_getstacksize.
1548 (pthread_attr_getstacksize): New strong alias.
1549 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
1550 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
1551 (pthread_attr_setstack): New strong alias.
1552 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
1553 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
1554 pthread_attr_getstacksize, pthread_attr_setstacksize and
1555 pthread_attr_setstackaddr.
1556 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
1557 Rename to __pthread_attr_setstackaddr.
1558 (pthread_attr_setstackaddr): New strong alias.
1559 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
1560 Rename to __pthread_attr_setstacksize.
1561 (pthread_attr_setstacksize): New strong alias.
1562 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
1563 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
1564 pthread_exit.
1565 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
1566 (__pthread_key_create): New hidden def.
1567 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
1568 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
1569 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
1570 __pthread_exit, __pthread_key_create, __pthread_getspecific,
1571 __pthread_setspecific, __pthread_setcancelstate,
1572 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
1573 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
1574 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
1575 declarations.
1576 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
1577 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
1578 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
1579 (pthread_attr_setstackaddr): New strong alias.
1580 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
1581 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
1582 (pthread_attr_setstacksize): New strong alias.
1583 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
1584 (call_exit): Call __pthread_exit instead of pthread_exit.
1585 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
1586 (_pthread_mutex_init): New hidden definition.
1587 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
1588 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
1589 instead of pthread_attr_init and pthread_attr_setstack.
1590
1591 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
1592 __vm_deallocate instead of vm_allocate and vm_deallocate.
1593 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
1594 setenv.
1595 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
1596 of geteuid.
1597 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
1598 strdup.
1599 * hurd/siginfo.c: Include <libioP.h>.
1600 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
1601 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
1602 munmap.
1603 * mach/devstream.c: Include <libioP.h>.
1604 (dealloc_ref): Call __mach_port_deallocate instead of
1605 mach_port_deallocate.
1606 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
1607 Call __mach_port_deallocate instead of mach_port_deallocate.
1608 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
1609 pathconf.
1610 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
1611 munmap.
1612 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
1613 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
1614 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
1615 of munmap.
1616 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
1617 of close.
1618 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
1619 instead of sysconf.
1620 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
1621 __clock_gettime instead of clock_gettime.
1622 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
1623 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
1624 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
1625 * sysdeps/unix/bsd/stty.c (stty): Likewise.
1626 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
1627 tcgetattr.
1628 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
1629 __clock_gettime and __nanosleep instead of clock_gettime and
1630 nanosleep.
1631 * hurd/catch-signal.c (hurd_catch_signal): Rename to
1632 __hurd_catch_signal.
1633 (hurd_catch_signal): New strong alias.
1634 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
1635 __hurd_catch_signal instead of hurd_catch_signal.
1636 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
1637 * hurd/hurdexec.c (_hurd_init): Add hidden def.
1638 * hurd/hurdinit.c (_hurd_init): Add hidden def.
1639 * hurd/hurdsig.c: Include <mach/mig_support.h>.
1640 (_hurd_thread_sigstate): Add hidden def.
1641 (_hurd_internal_post_signal): Use __mutex_unlock instead of
1642 mutex_unlock.
1643 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
1644 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
1645 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
1646 __hurd_file_name_path_lookup.
1647 (hurd_file_name_path_lookup): New strong alias.
1648 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
1649 hurd_file_name_path_lookup.
1650 * mach/errstring.c (mach_error_type): Add hidden def.
1651 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
1652 * mach/mutex-init.c (__mutex_init): Add hidden def.
1653 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
1654 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
1655 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
1656 * sysdeps/mach/hurd/getcwd.c
1657 (_hurd_canonicalize_directory_name_internal): Rename to
1658 __hurd_canonicalize_directory_name_internal.
1659 (_hurd_canonicalize_directory_name_internal): New strong alias.
1660 (__canonicalize_directory_name_internal, __getcwd): Call
1661 __hurd_canonicalize_directory_name_internal instead of
1662 _hurd_canonicalize_directory_name_internal.
1663 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
1664 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
1665 hidden defs.
1666 * sysdeps/hurd/include/hurd.h: New file.
1667 * sysdeps/hurd/include/hurd/fd.h: New file.
1668 * sysdeps/hurd/include/hurd/signal.h: New file.
1669 * sysdeps/mach/include/lock-intern.h: New file.
1670 * sysdeps/mach/include/mach.h: New file.
1671 * sysdeps/mach/include/mach/mig_support.h: New file.
1672 * sysdeps/mach/include/mach_error.h: New file.
1673 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
1674 prototype.
1675 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
1676 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
1677 _HEADER_H_HIDDEN_DEF macro.
1678 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
1679 _hurd_fd_error_signal): Add hidden prototype.
1680 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
1681 hidden def.
1682 * libio/iolibio.h (_IO_puts): New hidden prototype.
1683 * libio/ioputs.c (_IO_puts): New hidden def.
1684 * sysdeps/mach/hurd/localplt.data: New file.
1685
1686 2018-04-02 Agustina Arzille <avarzille@riseup.net>
1687 Amos Jeffries <squid3@treenet.co.nz>
1688 David Michael <fedora.dm0@gmail.com>
1689 Marco Gerards <marco@gnu.org>
1690 Marcus Brinkmann <marcus@gnu.org>
1691 Neal H. Walfield <neal@gnu.org>
1692 Pino Toscano <toscano.pino@tiscali.it>
1693 Richard Braun <rbraun@sceen.net>
1694 Roland McGrath <roland@gnu.org>
1695 Samuel Thibault <samuel.thibault@ens-lyon.org>
1696 Thomas DiModica <ricinwich@yahoo.com>
1697 Thomas Schwinge <tschwinge@gnu.org>
1698
1699 * htl: New directory.
1700 * sysdeps/htl: New directory.
1701 * sysdeps/hurd/htl: New directory.
1702 * sysdeps/i386/htl: New directory.
1703 * sysdeps/mach/htl: New directory.
1704 * sysdeps/mach/hurd/htl: New directory.
1705 * sysdeps/mach/hurd/i386/htl: New directory.
1706 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
1707 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
1708 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
1709
1710 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1711
1712 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
1713 signals in thread created for runing timers.
1714
1715 2018-04-01 Florian Weimer <fweimer@redhat.com>
1716
1717 * support/support_format_addrinfo.c (support_format_addrinfo):
1718 Include unknown error number in formatted result.
1719
1720 2018-03-29 Florian Weimer <fweimer@redhat.com>
1721
1722 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
1723 capture SIGBUS.
1724
1725 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1726
1727 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
1728 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
1729 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1730 (__ASSUME_CLONE_BACKWARDS): Define.
1731
1732 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
1733
1734 [BZ #23024]
1735 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
1736 early when linux sentinel value is set.
1737
1738 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1739
1740 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
1741
1742 2018-03-27 Andreas Schwab <schwab@suse.de>
1743
1744 [BZ #23005]
1745 * resolv/res_send.c (__res_context_send): Return ENOMEM if
1746 allocation of private copy of nsaddr_list fails.
1747
1748 2018-03-26 Joseph Myers <joseph@codesourcery.com>
1749
1750 [BZ #16552]
1751 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
1752 * sysdeps/unix/sysv/linux/umount.c: ... here.
1753 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
1754 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
1755 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
1756 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
1758 * sysdeps/unix/sysv/linux/umount.S: Likewise.
1759 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
1760
1761 2018-03-26 Andreas Schwab <schwab@suse.de>
1762
1763 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
1764 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
1765 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
1766 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
1767 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
1768 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
1769 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
1770 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
1771 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
1772 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
1773 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
1774 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
1775 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
1776 (R_RISCV_NUM): Define.
1777
1778 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
1779
1780 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
1781 TLS declaration of errno.
1782 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
1783 __libc_setup_tls.
1784 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
1785 (ARCH_SETUP_TLS): Likewise.
1786 * sysdeps/mach/hurd/libc-start.h: New file copied from
1787 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
1788 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
1789 instead of __libc_setup_tls.
1790 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
1791 __libc_setup_tls before initializing libpthread and running _hurd_init
1792 which starts the signal thread.
1793 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
1794 Declare function.
1795 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1796
1797 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 [BZ #22998]
1800 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
1801 after it is defined.
1802
1803 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
1804 Max Horn <max@quendi.de>
1805
1806 [BZ #22644]
1807 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
1808 branch conditions.
1809 * string/test-memmove.c (do_test2): New testcase.
1810
1811 2018-03-22 Joseph Myers <joseph@codesourcery.com>
1812
1813 * sysdeps/generic/frame.h: Remove file.
1814 * sysdeps/arm/frame.h: Likewise.
1815 * sysdeps/hppa/frame.h: Likewise.
1816 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
1817 macro.
1818 (GET_FRAME): Likewise.
1819 (GET_STACK): Likewise.
1820 (CALL_SIGHANDLER): Likewise.
1821 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
1822 Likewise.
1823 (GET_FRAME): Likewise.
1824 (GET_STACK): Likewise.
1825 (CALL_SIGHANDLER): Likewise.
1826 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
1827 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1828 (GET_FRAME): Likewise.
1829 (GET_STACK): Likewise.
1830 (CALL_SIGHANDLER): Likewise.
1831 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
1832 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1833 (GET_FRAME): Likewise.
1834 (GET_STACK): Likewise.
1835 (ADVANCE_STACK_FRAME): Likewise.
1836 (CALL_SIGHANDLER): Likewise.
1837 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
1838 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1839 (GET_FRAME): Likewise.
1840 (GET_STACK): Likewise.
1841 (CALL_SIGHANDLER): Likewise.
1842 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
1843 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1844 (GET_FRAME): Likewise.
1845 (GET_STACK): Likewise.
1846 (CALL_SIGHANDLER): Likewise.
1847 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
1848 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1849 (GET_FRAME): Likewise.
1850 (GET_STACK): Likewise.
1851 (CALL_SIGHANDLER): Likewise.
1852 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1853 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1854 (GET_FRAME): Likewise.
1855 (GET_STACK): Likewise.
1856 (CALL_SIGHANDLER): Likewise.
1857 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
1858 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1859 (GET_FRAME): Likewise.
1860 (GET_STACK): Likewise.
1861 (CALL_SIGHANDLER): Likewise.
1862 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
1863 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1864 (GET_FRAME): Likewise.
1865 (GET_STACK): Likewise.
1866 (CALL_SIGHANDLER): Likewise.
1867 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
1868 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1869 (GET_FRAME): Likewise.
1870 (GET_STACK): Likewise.
1871 (CALL_SIGHANDLER): Likewise.
1872 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
1873 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1874 (GET_FRAME): Likewise.
1875 (GET_STACK): Likewise.
1876 (CALL_SIGHANDLER): Likewise.
1877 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
1878 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1879 (GET_FRAME): Likewise.
1880 (GET_STACK): Likewise.
1881 (CALL_SIGHANDLER): Likewise.
1882 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
1883 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1884 (FIRST_FRAME_POINTER): Likewise.
1885 (ADVANCE_STACK_FRAME): Likewise.
1886 (GET_STACK): Likewise.
1887 (GET_FRAME): Likewise.
1888 (CALL_SIGHANDLER): Likewise.
1889 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
1890 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1891 (ADVANCE_STACK_FRAME): Likewise.
1892 (GET_STACK): Likewise.
1893 (GET_FRAME): Likewise.
1894 (CALL_SIGHANDLER): Likewise.
1895 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
1896 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1897 (GET_FRAME): Likewise.
1898 (GET_STACK): Likewise.
1899 (CALL_SIGHANDLER): Likewise.
1900 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
1901 (SIGCONTEXT_EXTRA_ARGS): Likewise.
1902 (GET_FRAME): Likewise.
1903 (GET_STACK): Likewise.
1904 (CALL_SIGHANDLER): Likewise.
1905
1906 2018-03-21 Joseph Myers <joseph@codesourcery.com>
1907
1908 * sysdeps/x86_64/backtrace.c: Move to ....
1909 * debug/backtrace.c: ... here.
1910 * sysdeps/aarch64/backtrace.c: Remove file.
1911 * sysdeps/alpha/backtrace.c: Likewise.
1912 * sysdeps/hppa/backtrace.c: Likewise.
1913 * sysdeps/ia64/backtrace.c: Likewise.
1914 * sysdeps/mips/backtrace.c: Likewise.
1915 * sysdeps/nios2/backtrace.c: Likewise.
1916 * sysdeps/riscv/backtrace.c: Likewise.
1917 * sysdeps/sh/backtrace.c: Likewise.
1918 * sysdeps/tile/backtrace.c: Likewise.
1919
1920 2018-03-20 Joseph Myers <joseph@codesourcery.com>
1921
1922 [BZ #22987]
1923 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
1924 function.
1925 (fdimf): Likewise.
1926 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
1927
1928 [BZ #17343]
1929 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
1930 possibly overflowing computations.
1931
1932 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
1933
1934 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
1935 values from Linux-specific section now that it is in the GNU section.
1936 * sysdeps/gnu/errlist.c: Regenerate.
1937
1938 2018-03-20 Joseph Myers <joseph@codesourcery.com>
1939
1940 * math/Makefile (libm-narrow-fns): Add sub.
1941 (libm-test-funcs-narrow): Likewise.
1942 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
1943 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
1944 * math/gen-auto-libm-tests.c (test_functions): Add sub.
1945 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
1946 (NARROW_SUB_ROUND_TO_ODD): Likewise.
1947 (NARROW_SUB_TRIVIAL): Likewise.
1948 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
1949 macro.
1950 (__dsubl): Likewise.
1951 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
1952 dsub.
1953 (CFLAGS-nldbl-dsub.c): New variable.
1954 (CFLAGS-nldbl-fsub.c): Likewise.
1955 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
1956 __nldbl_dsubl.
1957 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
1958 prototype.
1959 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
1960 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
1961 * math/auto-libm-test-in: Add tests of sub.
1962 * math/auto-libm-test-out-narrow-sub: New generated file.
1963 * math/libm-test-narrow-sub.inc: New file.
1964 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
1965 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
1966 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
1967 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
1968 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
1969 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
1970 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
1972 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
1974 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
1977 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
1978 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
1979 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
1980 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
1981 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
1982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1983 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
1984 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1985 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1986 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1987 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1988 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1989 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1990 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1991 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1992 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1993 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1994 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1995 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2000 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
2001 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2002 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2003 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2004 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2005 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2006 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
2007 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
2008 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2009 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2010
2011 2018-03-19 Joseph Myers <joseph@codesourcery.com>
2012
2013 [BZ #20079]
2014 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
2015
2016 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
2017
2018 * benchtests/bench-timing.h (attribute_hidden): Undefine.
2019
2020 2018-03-18 Richard Braun <rbraun@sceen.net>
2021
2022 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
2023 thread reference.
2024
2025 2018-03-18 Agustina Arzille <avarzille@riseup.net>
2026
2027 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
2028 (__libc_cleanup_fct): Define function.
2029 (__libc_cleanup_region_start, __libc_cleanup_region_end,
2030 __libc_cleanup_end): Rewrite implementation using
2031 __attribute__ ((__cleanup__)).
2032 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
2033 * hurd/Makefile (routines): Add hurdlock.
2034 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
2035 interface.
2036 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
2037 * hurd/hurdpid.c: Include <lowlevellock.h>
2038 (_S_msg_proc_newids): Use lll_wait to synchronize.
2039 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
2040 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
2041 * mach/Makefile (lock-headers): Remove machine-lock.h.
2042 * mach/lock-intern.h: Include <lowlevellock.h> instead of
2043 <machine-lock.h>.
2044 (__spin_lock_t): New type.
2045 (__SPIN_LOCK_INITIALIZER): New macro.
2046 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
2047 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
2048 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
2049 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
2050 (__mutex_init): Initialize with lll.
2051 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
2052 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
2053 needing lll.
2054 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2055 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
2056 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
2057 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
2058 (__setpgid): Use lll for synchronization.
2059 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
2060 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
2061 instead of <cthreads.h>.
2062 (_IO_lock_inexpensive): New macro
2063 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
2064 (__libc_lock_self0): New declaration.
2065 (__libc_lock_owner_self): New macro.
2066 (__libc_key_t): Remove type.
2067 (_LIBC_LOCK_INITIALIZER): New macro.
2068 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
2069 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
2070 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
2071 __libc_lock_define_initialized_recursive,
2072 __rtld_lock_define_initialized_recursive,
2073 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
2074 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
2075 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
2076 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
2077 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
2078 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
2079 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
2080 New macros.
2081 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
2082 * hurd/hurdlock.c: New file.
2083 * hurd/hurdlock.h: New file.
2084 * mach/lowlevellock.h: New file
2085
2086 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
2087
2088 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
2089 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
2090 when opening a symlink with O_NOFOLLOW.
2091 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
2092 path when flags contains O_NOFOLLOW.
2093 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
2094 if flags contains O_DIRECTORY and the result is a directory.
2095 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
2096 oneself when the pointer given in D is nul (as set by ext2fs).
2097 * sysdeps/mach/hurd/mlockall.c: New file.
2098 * sysdeps/mach/hurd/munlockall.c: New file.
2099
2100 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
2101
2102 * hurd/hurdsig.c: Include <pthread.h>.
2103 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
2104 get the signal thread stack layout.
2105 * hurd/Makefile (headers): Remove threadvar.h.
2106 (inline-headers): Remove threadvar.h.
2107 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
2108 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
2109 __hurd_threadvar_max, __hurd_errno_location.
2110 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
2111 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
2112 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
2113 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
2114 unless TLS is not initialized yet, in which case we do not need a
2115 critical section yet anyway.
2116 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
2117 <machine-sp.h>.
2118 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
2119 declarations.
2120 (__hurd_threadvar_index): Remove enum.
2121 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
2122 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
2123 inlines.
2124 (__hurd_reply_port0): New variable declaration.
2125 (__hurd_local_reply_port): New macro.
2126 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
2127 (interrupted_reply_port_location): Add thread_t parameter. Use it
2128 with THREAD_TCB to access thread-local variables.
2129 (_hurdsig_abort_rpcs): Pass ss->thread to
2130 interrupted_reply_port_location.
2131 (_hurd_internal_post_signal): Likewise.
2132 (_hurdsig_init): Use presence of cthread_fork instead of
2133 __hurd_threadvar_stack_mask to start signal thread by hand.
2134 Remove signal thread threadvar initialization.
2135 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
2136 * hurd/sigunwind.c: Include <hurd/threadvar.h>
2137 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
2138 of threadvar.
2139 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
2140 __libc_lock_self0.
2141 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
2142 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
2143 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
2144 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
2145 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
2146 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
2147 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
2148 define variables.
2149 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
2150 <hurd/threadvar.h>.
2151 [IS_IN(rtld)] (rtld_errno): New variable.
2152 [IS_IN(rtld)] (__errno_location): New weak function.
2153 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
2154 * sysdeps/mach/hurd/errno.c: Remove file.
2155 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
2156 (__fork): Remove THREADVAR_SPACE macro and its use.
2157 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
2158 variable.
2159 (init): Do not initialize threadvar.
2160 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
2161 symbol.
2162 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
2163 __hurd_local_reply_port instead of threadvar.
2164 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
2165 _hurd_sigstate fields.
2166 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
2167 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
2168 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
2169 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
2170 instead of threadvar.
2171 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
2172 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
2173 (use_threadvar, global_reply_port): Remove variables.
2174 (__hurd_reply_port0): New variable.
2175 (__mig_get_reply_port): Use __hurd_local_reply_port and
2176 __hurd_reply_port0 instead of threadvar.
2177 (__mig_dealloc_reply_port): Likewise.
2178 (__mig_init): Do not initialize threadvar.
2179 * sysdeps/mach/hurd/profil.c: Fix comment.
2180 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
2181 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
2182 cthread_keycreate, cthread_getspecific, cthread_setspecific to
2183 __cthread_fork, __cthread_detach, __pthread_getattr_np,
2184 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
2185 __cthread_setspecific.
2186 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
2187 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
2188 __cthread_t instead of cthread_fork, cthread_detach,
2189 pthread_getattr_np, pthread_attr_getstack.
2190 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
2191 __cthread_keycreate.
2192 (cthread_getspecific): Rename to __cthread_getspecific.
2193 (cthread_setspecific): Rename to __cthread_setspecific.
2194 (__libc_getspecific): Use __cthread_getspecific instead of
2195 cthread_getspecific.
2196 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
2197 __cthread_keycreate instead of cthread_keycreate.
2198 (__libc_setspecific): Use __cthread_setspecific instead of
2199 cthread_setspecific.
2200 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
2201 Likewise.
2202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
2203 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
2204 testing whether it is defined.
2205
2206 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2207
2208 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
2209 Define macro.
2210 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
2211 * sysdeps/mach/i386/thread_state.h
2212 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
2213 i386_THREAD_STATE.
2214 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
2215 i386_THREAD_STATE.
2216 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
2217
2218 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
2219 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
2220
2221 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
2222 macros.
2223 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
2224 descriptor instead of creating a new one.
2225 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
2226
2227 * mach/setup-thread.c: Include <ldsodefs.h>.
2228 (__mach_setup_thread): Call _dl_allocate_tls, pass
2229 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
2230 MACHINE_THREAD_STATE_FLAVOR, before getting
2231 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
2232 MACHINE_THREAD_STATE_FLAVOR with the result.
2233 * hurd/hurdfault.c (_hurdsig_fault_init): Call
2234 MACHINE_THREAD_STATE_FIX_NEW.
2235 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
2236 too. Add original thread parameter.
2237
2238 2018-03-16 Joseph Myers <joseph@codesourcery.com>
2239
2240 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
2241 Remove inline function.
2242
2243 * sysdeps/i386/fpu/libm-test-ulps: Update.
2244 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2245
2246 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
2247
2248 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
2249 commit.
2250
2251 2018-03-15 Joseph Myers <joseph@codesourcery.com>
2252
2253 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
2254 (__sincos_code): Remove define and undefine.
2255 [__FAST_MATH__] (__sincos): Remove inline function.
2256 [__FAST_MATH__] (__sincosf): Remove inline function.
2257 [__FAST_MATH__] (__sincosl): Remove inline function.
2258 (__atan2l): Remove inline functions.
2259 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
2260 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
2261 function.
2262 (floor): Remove inline function.
2263 (ceil): Likewise.
2264 [__FAST_MATH__] (__ldexp_code): Remove macro.
2265 [__FAST_MATH__] (ldexp): Remove inline function.
2266 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
2267 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
2268 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
2269 [__USE_ISOC99] (__lrint_code): Remove macro.
2270 [__USE_ISOC99] (__llrint_code): Likewise.
2271 [__USE_ISOC99] (lrintf): Remove inline function.
2272 [__USE_ISOC99] (lrint): Likewise.
2273 [__USE_ISOC99] (lrintl): Likewise.
2274 [__USE_ISOC99] (llrint): Likewise.
2275 [__USE_ISOC99] (llrintf): Likewise.
2276 [__USE_ISOC99] (llrintl): Likewise.
2277
2278 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
2279
2280 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
2281 (__ieee754_sqrtf): Remove.
2282 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
2283 (__ieee754_sqrtf): Remove.
2284 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
2285 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
2286 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
2287 (__ieee754_sqrtf): Remove.
2288 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
2289 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
2290 (sqrtf): Remove.
2291 (sqrtl): Remove.
2292 (__ieee754_sqrt): Remove.
2293 (__ieee754_sqrtf): Remove.
2294 (__ieee754_sqrtl): Remove.
2295 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
2296 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
2297 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
2298 (__ieee754_sqrtf): Remove.
2299 (__ieee754_sqrtl): Remove.
2300
2301 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
2302
2303 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
2304 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
2305 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2306 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
2307 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
2308 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2309 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2310 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2311 Likewise.
2312 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
2313 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
2314 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
2315 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
2316 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2317 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
2318 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2319 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
2320 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
2321 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
2322 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
2323 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
2324 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
2325 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
2326 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
2327 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2328 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2329 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2330 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
2331 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
2332 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2334 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
2335 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
2336 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
2337 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
2338 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2339 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2340 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
2341 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
2342 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
2343 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
2344 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2345 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
2346 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2347 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2348 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
2349 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
2350 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
2351 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
2352
2353 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
2354
2355 * include/math.h (sqrt): Declare with asm redirect.
2356 (sqrtf): Likewise.
2357 (sqrtl): Likewise.
2358 (sqrtf128): Likewise.
2359 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
2360 nonlib and libnldbl with -fmath-errno.
2361 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
2362 * math/w_sqrt_template.c: Likewise.
2363 * math/w_sqrtf_compat.c: Likewise.
2364 * math/w_sqrtl_compat.c: Likewise.
2365 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
2366 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
2367 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
2368 complex.h.
2369
2370 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
2371
2372 * benchtests/Makefile: Define _ISOMAC.
2373 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
2374 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
2375 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
2376 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
2377 * benchtests/bench-timing.h: Define attribute_hidden.
2378
2379 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
2380
2381 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
2382 mov + lsr.
2383
2384 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
2385
2386 [BZ #22963]
2387 * localedata/locales/cs_CZ (mon): Rename to...
2388 (alt_mon): This.
2389 (mon): Import from CLDR (genitive case).
2390
2391 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
2392
2393 [BZ #22937]
2394 * localedata/locales/el_CY (abmon): Rename to...
2395 (ab_alt_mon): This.
2396 (abmon): Import from CLDR (abbreviated genitive case).
2397 * localedata/locales/el_GR (abmon): Rename to...
2398 (ab_alt_mon): This.
2399 (abmon): Import from CLDR (abbreviated genitive case).
2400
2401 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
2402
2403 [BZ #22932]
2404 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
2405
2406 2018-03-15 Robert Buj <robert.buj@gmail.com>
2407
2408 [BZ #22848]
2409 * localedata/locales/ca_ES (abmon): Rename to...
2410 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
2411 (mon): Rename to...
2412 (alt_mon): This.
2413 (abmon): Import from CLDR (genitive case, month names preceded by
2414 "de" or "d’").
2415 (mon): Likewise.
2416 (abday): Synchronize with CLDR.
2417 (d_t_fmt): Likewise.
2418 (d_fmt): Likewise.
2419 (am_pm): Likewise.
2420
2421 (LC_TIME): Improve indentation.
2422 (LC_TELEPHONE): Likewise.
2423 (LC_NAME): Likewise.
2424 (LC_ADDRESS): Likewise.
2425
2426 2018-03-14 Joseph Myers <joseph@codesourcery.com>
2427
2428 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
2429 (lrintf): Remove definitions used only with old GCC.
2430 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
2431 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
2432 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
2433 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
2434 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
2435 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
2436 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
2437 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
2438 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
2439 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
2440 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
2441 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
2442 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
2443 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
2444 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
2445 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
2446 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
2447 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
2448 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
2449 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
2450 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
2451 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
2452 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
2453 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
2454 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
2455 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
2456 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
2457 [__FAST_MATH__] (__M_SQRT2): Remove macro.
2458
2459 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2460
2461 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
2462 instruction to unbreak builds with binutils 2.26 and older.
2463
2464 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
2465
2466 * sysdeps/aarch64/strncmp.S (count): New macro.
2467 (strncmp): Store misaligned length in SRC1 in COUNT.
2468 (mutual_align): Adjust.
2469 (misaligned8): Load dword at a time when it is safe.
2470
2471 2018-03-12 Zack Weinberg <zackw@panix.com>
2472
2473 [BZ #1190]
2474 [BZ #19476]
2475 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
2476 if the _IO_EOF_SEEN bit is already set; update commentary.
2477 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
2478 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2479
2480 * support/support_openpty.c, support/tty.h: New files.
2481 * support/Makefile (libsupport-routines): Add support_openpty.
2482
2483 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
2484 New test cases.
2485 * libio/Makefile (tests): Add tst-fgetc-after-eof.
2486 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
2487
2488 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
2489
2490 * po/pt_BR.po: Update translations.
2491
2492 2018-03-12 David Michael <fedora.dm0@gmail.com>
2493
2494 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
2495 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
2496 get a port to the startup server.
2497
2498 2018-03-11 Zack Weinberg <zackw@panix.com>
2499
2500 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
2501 before nldbl-compat.h.
2502
2503 2018-03-10 Zack Weinberg <zackw@panix.com>
2504
2505 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
2506 math.h or math_private.h.
2507
2508 * sysdeps/alpha/fpu/s_isnan.c
2509 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
2510 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
2511 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
2512 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
2513 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
2514 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
2515 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
2516 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
2517 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
2518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
2519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
2520 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
2521 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
2522 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
2523 Include math_private.h.
2524
2525 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
2526 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
2527 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
2528 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
2529 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
2530 * sysdeps/powerpc/power7/fpu/s_logb.c:
2531 Include math.h and math_private.h.
2532
2533 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
2534 uses of $at in .set noat / .set at.
2535
2536 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
2537
2538 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
2539 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
2540 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
2541 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
2542 Likewise.
2543
2544 2018-03-09 Florian Weimer <fweimer@redhat.com>
2545
2546 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
2547 in comment.
2548
2549 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
2550
2551 [BZ #22919]
2552 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
2553 Add nop before __startcontext, add explaining comments.
2554
2555 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2556
2557 [BZ #22926]
2558 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
2559 empty for __SPE__.
2560 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
2561 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
2562 Do not build hardware transactional code for __SPE__.
2563 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2564 (__lll_trylock_elision): Likewise.
2565 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2566 (__lll_unlock_elision): Likewise.
2567
2568 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
2569 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
2570 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
2571 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
2572 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
2573 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
2574 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
2575 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
2576 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
2577 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
2578 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
2579 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
2580 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
2581 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
2582 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
2583 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
2584 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
2585 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
2586 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
2587 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
2588 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
2589 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2590 (__ASSUME_CLONE_BACKWARDS): Define.
2591 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
2592 __clone2 if __NR_clone2 is defined.
2593 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2594 (__ASSUME_CLONE_BACKWARDS): Likewise.
2595 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2596 (__ASSUME_CLONE_BACKWARDS): Likewise.
2597 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2598 (__ASSUME_CLONE2): Likewise.
2599 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2600 (__ASSUME_CLONE_BACKWARDS3): Likewise.
2601 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
2602 variants and the define architecture can use.
2603 (__ASSUME_CLONE_DEFAULT): Define as default.
2604 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2605 (__ASSUME_CLONE_BACKWARDS): Likewise.
2606 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2607 (__ASSUME_CLONE_BACKWARDS): Likewise.
2608 * sysdeps/unix/sysv/linux/s390/kernel-features.h
2609 (__ASSUME_CLONE_BACKWARDS2): Likewise.
2610
2611 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
2612
2613 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
2614
2615 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
2616 time.
2617
2618 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
2619 (do_test_limit): Likewise.
2620
2621 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
2622 for every implementation.
2623 (do_test): Likewise.
2624
2625 * benchtests/bench-strncmp.c: Convert output to json.
2626
2627 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2628
2629 * io/futimens.c: Add missing start-of-file descriptive comment.
2630 * io/utime.c: Likewise.
2631 * misc/futimesat.c: Likewise.
2632 * misc/utimes.c: Likewise.
2633 * sysdeps/mach/hurd/futimesat.c: Likewise.
2634 * sysdeps/mach/hurd/utimes.c: Likewise.
2635 * sysdeps/posix/utime.c: Likewise.
2636 * sysdeps/posix/utimes.c: Likewise.
2637 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
2638 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2639 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
2640 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
2641
2642 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2643
2644 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
2645 hurd_futimes.
2646 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
2647 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
2648 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
2649 (__futimens): Move implementation to...
2650 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
2651 utime_tvalue_from_tspec): ... new helper functions.
2652 (hurd_futimens): New function.
2653 * sysdeps/mach/hurd/futimesat.c: New file.
2654 * sysdeps/mach/hurd/utimensat.c: New file.
2655
2656 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
2657
2658 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
2659 UTIME_OMIT): New macros.
2660 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
2661 before reverting to converting time spec to time value and calling
2662 __file_utimes.
2663 * sysdeps/mach/hurd/utime-helper.c: New file.
2664 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
2665 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
2666 reverting to utime_tvalue_from_tval and __file_utimes.
2667 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
2668 (__lutimes): Just call hurd_futimens after lookup.
2669 * sysdeps/mach/hurd/utimes.c: Likewise.
2670
2671 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2672
2673 * bits/sigaction.h: Add include guard.
2674 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
2675 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
2676 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
2677 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
2678 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2679 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
2680 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2681 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
2682 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
2683
2684 2018-03-05 Joseph Myers <joseph@codesourcery.com>
2685
2686 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
2687 -Wmaybe-uninitialized for -Os.
2688 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
2689 this disabling.
2690
2691 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2692
2693 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
2694 __INO_T_MATCHES_INO64_T is defined.
2695 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
2696 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
2697 of definition.
2698 * dirent/alphasort64.c: Likewise.
2699 * dirent/scandir.c: Likewise.
2700 * dirent/scandir64-tail.c: Likewise.
2701 * dirent/scandir64.c: Likewise.
2702 * dirent/scandirat.c: Likewise.
2703 * dirent/scandirat64.c: Likewise.
2704 * dirent/versionsort.c: Likewise.
2705 * dirent/versionsort64.c: Likewise.
2706 * include/dirent.h: Likewise.
2707
2708 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
2709 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
2710 for socketpair endpoint.
2711 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
2712 WRITE_BUFFER_SIZE as buffer size for sending socket.
2713 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
2714 issue on system where send is implemented with sendto syscall.
2715 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
2716 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
2717 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
2718 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
2719
2720 [BZ #21269]
2721 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
2722 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
2723 sa_restorer for vDSO case.
2724 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
2725
2726 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2727
2728 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
2729 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
2730 * hurd/hurd/ioctl.h: Include <mach/port.h>
2731 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
2732 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
2733 <mach/mach_types.h> and <mach/message.h>.
2734 (headers): Move mach/param.h to bits/mach/param.h.
2735 * sysdeps/mach/i386/mach/param.h: Move file to ...
2736 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
2737 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
2738 of <mach/param.h>.
2739 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
2740 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
2741 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
2742 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
2743 trivial, for C++ conformity.
2744 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
2745 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
2746 Process mig output through $(migheadersed).
2747 * hurd/Makefile (migheadersed): Define variable.
2748 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
2749 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
2750 headers.
2751 * hurd/hurd.h: Include <bits/types/sigset_t.h>
2752 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
2753 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
2754 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
2755 <bits/types/sigset_t.h>.
2756 [!defined __USE_GNU]: Do not #error out.
2757 (struct hurd_sigstate): Use _NSIG instead of NSIG.
2758 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
2759 Include <stddef.h> and <bits/types/sigset_t.h>
2760 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
2761 instead of sighandler_t.
2762 * stdlib/errno.h (error_t): Move definition to...
2763 * bits/types/error_t.h: ... new header.
2764 * stdlib/Makefile (headers): Add bits/types/error_t.h.
2765 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
2766 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
2767 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
2768 * hurd/hurd.h: Include <bits/types/error_t.h>
2769 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
2770 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
2771 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
2772 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
2773 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
2774 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
2775 * sysdeps/mach/hurd/futimens.c: New file.
2776
2777 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
2778
2779 [BZ #22918]
2780 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
2781 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
2782 * nscd/gai.c (__nss_hosts_database): Readd definition.
2783 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
2784 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
2785 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
2786
2787 2018-03-02 Joseph Myers <joseph@codesourcery.com>
2788
2789 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
2790 (ifunc_one): Likewise.
2791
2792 2018-03-01 DJ Delorie <dj@delorie.com>
2793
2794 [BZ #22342]
2795 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
2796 key value.
2797
2798 2018-03-01 Maciej W. Rozycki <macro@mips.com>
2799
2800 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
2801 `match_pid' parameter.
2802 (td_ta_thr_iter): Update accordingly.
2803
2804 2018-03-01 Florian Weimer <fweimer@redhat.com>
2805
2806 * nptl/Makefile (install-lib-ldscripts): Remove.
2807 (install): Remove rule.
2808 ($(inst_libdir)/libpthread.so): Likewise.
2809
2810 2018-03-01 Mike FABIAN <mfabian@redhat.com>
2811
2812 [BZ #22896]
2813 * localedata/locales/an_ES: update month and day names,
2814 improve d_fmt, improve postal_fmt, add country_post,
2815 add country_isbn
2816
2817 2018-03-01 Mike FABIAN <mfabian@redhat.com>
2818
2819 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
2820 Ukrainian instead of Bulgarian.
2821
2822 2018-03-01 Florian Weimer <fweimer@redhat.com>
2823
2824 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
2825 reference.
2826
2827 2018-03-01 Florian Weimer <fweimer@redhat.com>
2828
2829 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
2830 * nptl/Makefile (routines): Add pthread_atfork.
2831 (static-only-routines): Set to pthread_atfork.
2832 (libpthread-routines): Remove pthread_atfork.
2833 (libpthread-static-only-routines): Remove.
2834 (install): Update comment.
2835 (libpthread.so): Do not install libpthread_nonshared.a.
2836 (tests): Do not link with libpthread_nonshared.a.
2837 (generated): Remove libpthread_nonshared.a.
2838 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
2839 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
2840 with libpthread_nonshared.a.
2841
2842 2018-02-28 Joseph Myers <joseph@codesourcery.com>
2843
2844 [BZ #22902]
2845 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
2846 (libc_feholdexcept_setroundf128): New macro.
2847 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
2848
2849 [BZ #15105]
2850 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
2851 libc_hidden_def.
2852 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
2853 * include/inttypes.h: New file.
2854
2855 2018-02-27 Joseph Myers <joseph@codesourcery.com>
2856
2857 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
2858 -Os in two more places.
2859
2860 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2861
2862 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
2863 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
2864 be sorted correctly at the moment because of a bug.
2865
2866 2018-02-27 Mike FABIAN <mfabian@redhat.com>
2867
2868 [BZ #22550] - es_ES locale (and other es_* locales): collation should
2869 treat ñ as a primary different character, sync the collation
2870 for Spanish with CLDR.
2871 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
2872 * localedata/Makefile: Add new test files.
2873 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
2874 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
2875 collation order.
2876 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
2877 * localedata/am_ET.UTF-8.in: New test file.
2878 * localedata/az_AZ.UTF-8.in: Likewise.
2879 * localedata/be_BY.UTF-8.in: Likewise.
2880 * localedata/ber_DZ.UTF-8.in: Likewise.
2881 * localedata/ber_MA.UTF-8.in: Likewise.
2882 * localedata/bg_BG.UTF-8.in: Likewise.
2883 * localedata/br_FR.UTF-8.in: Likewise.
2884 * localedata/cmn_TW.UTF-8.in: Likewise.
2885 * localedata/crh_UA.UTF-8.in: Likewise.
2886 * localedata/csb_PL.UTF-8.in: Likewise.
2887 * localedata/cv_RU.UTF-8.in: Likewise.
2888 * localedata/cy_GB.UTF-8.in: Likewise.
2889 * localedata/dz_BT.UTF-8.in: Likewise.
2890 * localedata/eo.UTF-8.in: Likewise.
2891 * localedata/es_ES.UTF-8.in: Likewise.
2892 * localedata/fa_IR.UTF-8.in: Likewise.
2893 * localedata/fi_FI.UTF-8.in: Likewise.
2894 * localedata/fil_PH.UTF-8.in: Likewise.
2895 * localedata/fur_IT.UTF-8.in: Likewise.
2896 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
2897 * localedata/ha_NG.UTF-8.in: Likewise.
2898 * localedata/ig_NG.UTF-8.in: Likewise.
2899 * localedata/ik_CA.UTF-8.in: Likewise.
2900 * localedata/kk_KZ.UTF-8.in: Likewise.
2901 * localedata/ku_TR.UTF-8.in: Likewise.
2902 * localedata/ky_KG.UTF-8.in: Likewise.
2903 * localedata/ln_CD.UTF-8.in: Likewise.
2904 * localedata/mi_NZ.UTF-8.in: Likewise.
2905 * localedata/ml_IN.UTF-8.in: Likewise.
2906 * localedata/mn_MN.UTF-8.in: Likewise.
2907 * localedata/mr_IN.UTF-8.in: Likewise.
2908 * localedata/mt_MT.UTF-8.in: Likewise.
2909 * localedata/nb_NO.UTF-8.in: Likewise.
2910 * localedata/om_KE.UTF-8.in: Likewise.
2911 * localedata/os_RU.UTF-8.in: Likewise.
2912 * localedata/ps_AF.UTF-8.in: Likewise.
2913 * localedata/ro_RO.UTF-8.in: Likewise.
2914 * localedata/ru_RU.UTF-8.in: Likewise.
2915 * localedata/sc_IT.UTF-8.in: Likewise.
2916 * localedata/se_NO.UTF-8.in: Likewise.
2917 * localedata/sq_AL.UTF-8.in: Likewise.
2918 * localedata/sv_SE.UTF-8.in: Likewise.
2919 * localedata/szl_PL.UTF-8.in: Likewise.
2920 * localedata/tg_TJ.UTF-8.in: Likewise.
2921 * localedata/tk_TM.UTF-8.in: Likewise.
2922 * localedata/tt_RU.UTF-8.in: Likewise.
2923 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
2924 * localedata/ug_CN.UTF-8.in: Likewise.
2925 * localedata/uz_UZ.UTF-8.in: Likewise.
2926 * localedata/vi_VN.UTF-8.in: Likewise.
2927 * localedata/yi_US.UTF-8.in: Likewise.
2928 * localedata/yo_NG.UTF-8.in: Likewise.
2929 * localedata/zh_CN.UTF-8.in: Likewise.
2930 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
2931 file and fix bugs in the collation.
2932 * localedata/locales/az_AZ: Likewise.
2933 * localedata/locales/be_BY: Likewise.
2934 * localedata/locales/ber_DZ: Likewise.
2935 * localedata/locales/ber_MA: Likewise.
2936 * localedata/locales/bg_BG: Likewise.
2937 * localedata/locales/br_FR: Likewise.
2938 * localedata/locales/br_FR@euro: Likewise.
2939 * localedata/locales/ca_ES: Likewise.
2940 * localedata/locales/cns11643_stroke: Likewise.
2941 * localedata/locales/crh_UA: Likewise.
2942 * localedata/locales/cs_CZ: Likewise.
2943 * localedata/locales/csb_PL: Likewise.
2944 * localedata/locales/cv_RU: Likewise.
2945 * localedata/locales/cy_GB: Likewise.
2946 * localedata/locales/da_DK: Likewise.
2947 * localedata/locales/dz_BT: Likewise.
2948 * localedata/locales/en_CA: Likewise.
2949 * localedata/locales/eo: Likewise.
2950 * localedata/locales/es_CU: Likewise.
2951 * localedata/locales/es_EC: Likewise.
2952 * localedata/locales/es_ES: Likewise.
2953 * localedata/locales/es_US: Likewise.
2954 * localedata/locales/et_EE: Likewise.
2955 * localedata/locales/fa_IR: Likewise.
2956 * localedata/locales/fi_FI: Likewise.
2957 * localedata/locales/fil_PH: Likewise.
2958 * localedata/locales/fur_IT: Likewise.
2959 * localedata/locales/gez_ER@abegede: Likewise.
2960 * localedata/locales/ha_NG: Likewise.
2961 * localedata/locales/hr_HR: Likewise.
2962 * localedata/locales/hsb_DE: Likewise.
2963 * localedata/locales/hu_HU: Likewise.
2964 * localedata/locales/ig_NG: Likewise.
2965 * localedata/locales/ik_CA: Likewise.
2966 * localedata/locales/is_IS: Likewise.
2967 * localedata/locales/iso14651_t1_pinyin: Likewise.
2968 * localedata/locales/kk_KZ: Likewise.
2969 * localedata/locales/ku_TR: Likewise.
2970 * localedata/locales/ky_KG: Likewise.
2971 * localedata/locales/ln_CD: Likewise.
2972 * localedata/locales/lt_LT: Likewise.
2973 * localedata/locales/lv_LV: Likewise.
2974 * localedata/locales/mi_NZ: Likewise.
2975 * localedata/locales/ml_IN: Likewise.
2976 * localedata/locales/mn_MN: Likewise.
2977 * localedata/locales/mr_IN: Likewise.
2978 * localedata/locales/mt_MT: Likewise.
2979 * localedata/locales/nb_NO: Likewise.
2980 * localedata/locales/om_KE: Likewise.
2981 * localedata/locales/os_RU: Likewise.
2982 * localedata/locales/pl_PL: Likewise.
2983 * localedata/locales/ps_AF: Likewise.
2984 * localedata/locales/ro_RO: Likewise.
2985 * localedata/locales/ru_RU: Likewise.
2986 * localedata/locales/ru_UA: Likewise.
2987 * localedata/locales/sc_IT: Likewise.
2988 * localedata/locales/se_NO: Likewise.
2989 * localedata/locales/si_LK: Likewise.
2990 * localedata/locales/sq_AL: Likewise.
2991 * localedata/locales/sv_FI: Likewise.
2992 * localedata/locales/sv_FI@euro: Likewise.
2993 * localedata/locales/sv_SE: Likewise.
2994 * localedata/locales/szl_PL: Likewise.
2995 * localedata/locales/tg_TJ: Likewise.
2996 * localedata/locales/ti_ER: Likewise.
2997 * localedata/locales/tk_TM: Likewise.
2998 * localedata/locales/tl_PH: Likewise.
2999 * localedata/locales/tr_TR: Likewise.
3000 * localedata/locales/tt_RU: Likewise.
3001 * localedata/locales/tt_RU@iqtelif: Likewise.
3002 * localedata/locales/ug_CN: Likewise.
3003 * localedata/locales/uk_UA: Likewise.
3004 * localedata/locales/uz_UZ: Likewise.
3005 * localedata/locales/uz_UZ@cyrillic: Likewise.
3006 * localedata/locales/vi_VN: Likewise.
3007 * localedata/locales/yi_US: Likewise.
3008 * localedata/locales/yo_NG: Likewise.
3009
3010 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3011
3012 * gen-locales.mk: Make test files which contain @ modifiers in their
3013 name work.
3014 * localedata/gen-locale.sh: Likewise.
3015
3016 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3017
3018 * posix/tst-fnmatch.input: Fix results for range expressions
3019 for non C locales.
3020 * posix/tst-regexloc.c: Do not use a range expression for
3021 de_DE.ISO-8859-1 locale.
3022
3023 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3024
3025 * posix/bug-regex5.c: Fix test case because with the new
3026 iso14651_t1_common file, the da_DK locale now has 6 collating elements
3027 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
3028 file.
3029
3030 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3031
3032 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
3033 downloaded from ISO, the collation order of @-. and space has changed.
3034 Therefore, this test file needed to be adapted.
3035 * localedata/fr_CA.UTF-8.in: Likewise.
3036 * localedata/fr_FR.UTF-8.in: Likewise.
3037 * localedata/uk_UA.UTF-8.in: Likewise.
3038
3039 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3040
3041 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
3042 order of ȥ in the new iso14651_t1_common file.
3043 * localedata/pl_PL.UTF-8.in: Likewise.
3044
3045 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3046
3047 * localedata/locales/iso14651_t1_common: Add sections for various
3048 scripts to the iso14651_t1_common file.
3049
3050 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3051
3052 * localedata/locales/iso14651_t1_common: Use the code point of a
3053 character in the fourth collation level instead of IGNORE for all
3054 entries which have IGNORE on all 4 levels.
3055
3056 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3057
3058 * localedata/locales/iso14651_t1_common: Add some convenient collation
3059 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
3060 rules similar to those in CLDR.
3061
3062 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3063
3064 * localedata/locales/iso14651_t1_common: The new version of this
3065 file downloaded from ISO contained several syntax errors which
3066 are fixed by this patch.
3067
3068 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3069
3070 * localedata/locales/iso14651_t1_common: replace all <U.....>
3071 with <U000.....> because glibc understands only 4 digit or 8 digit
3072
3073 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3074
3075 * localedata/locales/iso14651_t1_common: Necessary changes
3076 to make the file downloaded from ISO usable by glibc.
3077
3078 2018-02-27 Mike FABIAN <mfabian@redhat.com>
3079
3080 [BZ #14095]
3081 * localedata/locales/iso14651_t1_common: Update file to
3082 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
3083
3084 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3085
3086 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
3087 of <nptl/pthreadP.h>
3088 (thread_attr_compare): Move function to...
3089 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
3090 * sysdeps/nptl/timer_routines.h: ... new header.
3091 * sysdeps/mach/hurd/gai_misc.h: New file.
3092
3093 2018-02-26 Joseph Myers <joseph@codesourcery.com>
3094
3095 * string/strcoll_l.c: Include <libc-diag.h>.
3096 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
3097 declarations of seq1 and seq2.
3098
3099 [BZ #15105]
3100 * stdlib/atoi.c (atoi): Use libc_hidden_def.
3101 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
3102
3103 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
3104
3105 [BZ #22433]
3106 [BZ #22807]
3107 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
3108 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
3109 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
3110 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
3111 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
3112 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
3113
3114 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3115
3116 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
3117 macros used in __ptrace_request.
3118
3119 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
3120
3121 [BZ #22792]
3122 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
3123 to $(CC).
3124 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
3125 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
3126 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
3127 <tcb-offsets.h>.
3128
3129 2018-02-23 Joseph Myers <joseph@codesourcery.com>
3130
3131 [BZ #15105]
3132 * ctype/ctype.c (tolower): Use libc_hidden_def.
3133 (toupper): Likewise.
3134 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
3135 [!_ISOMAC] (toupper): Likewise.
3136
3137 2018-02-23 Mike FABIAN <mfabian@redhat.com>
3138
3139 * localedata/Makefile: Remove --quiet argument when
3140 installing locales
3141
3142 2018-02-23 Mike FABIAN <mfabian@redhat.com>
3143
3144 [BZ #17438]
3145 * localedata/locales/pt_BR (LC_TIME): use / instead of -
3146 in d_fmt.
3147 * localedata/locales/pt_PT (LC_TIME): likewise
3148
3149 2018-02-23 Mike FABIAN <mfabian@redhat.com>
3150
3151 [BZ #22646]
3152 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
3153 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
3154 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
3155
3156 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3157
3158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3159
3160 * nptl/Makefile (routines): Remove unregister-atfork.
3161 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
3162 (fork_handler_alloc): Remove function.
3163 (fork_handlers, fork_handler_init): New variables.
3164 (__fork_lock): Rename to atfork_lock.
3165 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
3166 to use a dynamic array to add/remove atfork handlers.
3167 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3168 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
3169 Remove declaration.
3170 (fork_handler): Remove next, refcntr, and need_signal member.
3171 (__run_fork_handler_type): New enum.
3172 (__run_fork_handlers): New prototype.
3173 * nptl/register-atfork.c: Remove file.
3174 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
3175
3176 * sysdeps/nptl/nptl-signals.h: Move to ...
3177 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
3178 comments.
3179 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
3180 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
3181 unnecessary check for SIGTIMER.
3182 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
3183 remove unnecessary removal of SIGTIMER.
3184 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
3185 include-signals.h rename.
3186 * nptl/pthreadP.h: Likewise.
3187 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
3188 __is_internal_signal instead of __nptl_is_internal_signal.
3189
3190 2018-02-22 Andrew Waterman <andrew@sifive.com>
3191
3192 [BZ # 22884]
3193 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
3194 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
3195 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
3196 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
3197
3198 2018-02-22 DJ Delorie <dj@delorie.com>
3199
3200 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
3201
3202 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
3203
3204 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
3205 do_misaligned, not misaligned8.
3206
3207 2018-02-22 Steve Ellcey <sellcey@cavium.com>
3208
3209 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3210 Add memcpy_thunderx2.
3211 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
3212 Increment to 4.
3213 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
3214 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
3215 and IS_THUNDERX2PA checks.
3216 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
3217 Use macro to set name appropriately.
3218 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
3219 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
3220 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
3221 New macro.
3222 (IS_THUNDERX2): New macro.
3223
3224 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
3225
3226 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3227
3228 2018-02-21 Zack Weinberg <zackw@panix.com>
3229
3230 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
3231 Define here, unconditionally.
3232 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
3233 * libio/libioP.h: Remove #if 0 blocks.
3234 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
3235 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
3236 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
3237
3238 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
3239 Assume weak_alias is always defined.
3240
3241 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
3242 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
3243 Remove #if 0 and #ifdef TODO blocks.
3244 Assume text_set_element is always defined.
3245
3246 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
3247 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
3248 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
3249
3250 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
3251 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
3252 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
3253 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
3254 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
3255 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
3256 Reformat bit flags for _flags field to make occupancy clearer.
3257 Update commentary.
3258 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
3259 Keep definitions consistent with those in libio/libio.h.
3260
3261 * libio/libio.h (_IO_file_flags): Remove macro.
3262 All uses changed to _flags.
3263
3264 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
3265 (__HAVE_COLUMN, _IO_BE): Don't define.
3266 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
3267 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
3268 * libio/libioP.h (EOF): Don't define.
3269 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
3270 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
3271 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
3272 testing _IO_UNIFIED_JUMPTABLES.
3273
3274 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
3275 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
3276 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
3277 (_IO_size_t): Delete; all uses changed to size_t.
3278 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
3279 (_IO_off_t): Delete; all uses changed to off_t.
3280 (_IO_off64_t): Delete; all uses changed to off64_t.
3281 (_IO_pid_t): Delete; all uses changed to pid_t.
3282 (_IO_uid_t): Delete; all uses changed to uid_t.
3283 (_IO_wint_t): Delete; all uses changed to wint_t.
3284 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
3285 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
3286 (_IO_cookie_io_functions_t): Delete; all uses changed to
3287 cookie_io_functions_t.
3288 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
3289 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
3290 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
3291 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
3292
3293 * libio/iofopncook.c: Remove unnecessary forward declarations.
3294 * libio/iolibio.h: Correct outdated commentary.
3295 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
3296 * stdio-common/fxprintf.c (__fxprintf_nocancel):
3297 Remove unnecessary casts.
3298 * stdio-common/getline.c: Use _IO_getdelim directly.
3299 Don't redefine ssize_t.
3300 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
3301 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
3302 Remove outdated comments.
3303 * stdio-common/vfscanf.c: Don't redefine va_list.
3304
3305 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
3306 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
3307 Remove preprocessor conditionals on _LIBC and __USE_GNU,
3308 which are always true, and __cplusplus, which is always false.
3309
3310 2018-02-21 Joseph Myers <joseph@codesourcery.com>
3311
3312 [BZ #15105]
3313 [BZ #19463]
3314 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
3315 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
3316 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
3317 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
3318 libc_hidden_proto.
3319 [!_ISOMAC] (putc_unlocked): Likewise.
3320 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
3321 define inline if [__USE_EXTERN_INLINES].
3322 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
3323 putc_unlocked.
3324
3325 [BZ #15105]
3326 [BZ #19463]
3327 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
3328 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
3329 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
3330 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
3331 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
3332 getc_unlocked.
3333 * time/tzfile.c (__tzfile_read): Likewise.
3334
3335 2018-02-21 Mike FABIAN <mfabian@redhat.com>
3336
3337 [BZ #22517]
3338 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
3339
3340 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
3341
3342 * io/fcntl.h: Fix a typo in a comment.
3343
3344 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
3345
3346 [BZ #22862]
3347 * include/features.h: Add _ISOC11_SOURCE to test for whether to
3348 define _DEFAULT_SOURCE.
3349 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
3350
3351 2018-02-21 Florian Weimer <fweimer@redhat.com>
3352
3353 [BZ #20890]
3354 * elf/cache.c (save_cache): Call fsync on temporary file before
3355 renaming it.
3356 (save_aux_cache): Call fdatasync on temporary file before renaming
3357 it.
3358
3359 2018-02-21 Florian Weimer <fweimer@redhat.com>
3360
3361 [BZ #22787]
3362 * include/caller.h: Remove file.
3363 * elf/dl-caller.c: Likewise.
3364 * elf/Makefile (dl-routines): Remove dl-caller.
3365 (shared-only-routines): Do not add dl-caller.
3366 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
3367 __check_caller.
3368 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
3369 member.
3370 (dl_open_worker): Do not call __check_caller.
3371 (_dl_open): Do not set caller_dl_open member.
3372 * elf/rtld.c (_rtld_global_ro): Do not initialize
3373 _dl_check_caller member.
3374 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
3375 _dl_check_caller member.
3376 (_dl_check_caller): Remove declaration.
3377 * sysdeps/unix/sysv/linux/dl-execstack.c
3378 (_dl_make_stack_executable): Do not call __check_caller.
3379
3380 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
3381
3382 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
3383 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
3384
3385 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
3386
3387 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
3388 description.
3389
3390 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
3391
3392 [BZ #16335]
3393 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
3394 of 199606L, 200112L, and 200809L.
3395 (_XOPEN_SOURCE): Document special values of 600 and 700.
3396 (_ISOC11_SOURCE): Document macro.
3397 (_ATFILE_SOURCE): Likewise.
3398 (_FORTIFY_SOURCE): Likewise.
3399
3400 2018-02-19 Joseph Myers <joseph@codesourcery.com>
3401
3402 [BZ #15105]
3403 [BZ #19463]
3404 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
3405 and define as weak alias of __ferror_unlocked. Use
3406 libc_hidden_weak.
3407 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
3408 libc_hidden_proto.
3409 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
3410 function if [__USE_EXTERN_INLINES].
3411 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
3412 ferror_unlocked.
3413
3414 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
3415
3416 [BZ #6889]
3417 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
3418
3419 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
3420
3421 [BZ #22818]
3422 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
3423 the GLIBC_2.1 version.
3424
3425 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
3426
3427 [BZ #21508]
3428 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
3429 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
3430 intl/tst-gettext-de.po from po/de.po by removing the
3431 POT-Creation-Date line.
3432 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
3433 ../po/de.po.
3434 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
3435 ../po/de.po.
3436
3437 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
3438
3439 * mach/Makefile (headers): Add mach/param.h.
3440 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
3441 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
3442 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
3443 (__ptsname_r): Move implementation to...
3444 (__ptsname_internal): ... new function. Add filling the STP
3445 structure.
3446
3447 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
3448
3449 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
3450 idouble to 1 ULP.
3451
3452 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
3453
3454 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
3455 syntax.
3456
3457 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3458
3459 * nptl/Makefile (tst-mutex8-ENV): Delete.
3460 * nptl/tst-mutex8.c (check_type):
3461 Add runtime check if mutex will be elided.
3462
3463 2018-02-15 Joseph Myers <joseph@codesourcery.com>
3464
3465 [BZ #20980]
3466 [BZ #21234]
3467 * manual/install.texi (Configuring and compiling): Describe
3468 passing CC and CFLAGS on configure command line, not as
3469 environment variables. Use @code markup on those variables.
3470 Specify what options go in CC and what go in CFLAGS. Note the
3471 requirement to compile with optimization.
3472 * INSTALL: Regenerated.
3473
3474 [BZ #18124]
3475 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
3476 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
3477 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
3478 __sigprocmask instead of sigprocmask.
3479 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
3480 Likewise.
3481 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
3482 __sigsetjmp and sigprocmask.
3483
3484 [BZ #15105]
3485 * include/argz.h (argz_next): Use libc_hidden_proto.
3486 (__argz_next): Likewise.
3487 * string-argz-next.c (__argz_next): Use libc_hidden_def.
3488 (argz_next): Use libc_hidden_weak.
3489
3490 [BZ #15105]
3491 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
3492 libc_hidden_proto.
3493 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
3494 libc_hidden_def.
3495
3496 [BZ #15105]
3497 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
3498 libc_hidden_proto.
3499 * libio/iofputs.c (fputs): Use libc_hidden_weak.
3500
3501 [BZ #15105]
3502 [BZ #19463]
3503 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
3504 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
3505 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
3506 (__feof_unlocked): New declaration, and inline function if
3507 [__USE_EXTERN_INLINES].
3508 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
3509 instead of feof_unlocked.
3510 * intl/localealias.c [_LIBC] (FEOF): Likewise.
3511 * nss/nsswitch.c (nss_parse_file): Likewise.
3512 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
3513 Likewise.
3514 * time/getdate.c (__getdate_r): Likewise.
3515 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
3516 Define as macro to call __feof_unlocked.
3517
3518 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
3519
3520 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
3521
3522 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
3523
3524 * math/Makefile: Remove mpexp.c and mplog.c
3525 * sysdeps/i386/fpu/mpexp.c: Delete file.
3526 * sysdeps/i386/fpu/mplog.c: Likewise.
3527 * sysdeps/ia64/fpu/mpexp.c: Likewise.
3528 * sysdeps/ia64/fpu/mplog.c: Likewise.
3529 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
3530 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
3531 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
3532 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3533 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
3534 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
3535 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
3536 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
3537 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
3538 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3539 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
3540 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
3541 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3542 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
3543 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
3544 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3545
3546 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3547
3548 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3549
3550 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3551
3552 * sysdeps/sh/libm-test-ulps: Update.
3553
3554 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3555
3556 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
3557 idouble to 1 ULP.
3558
3559 2018-02-12 Zack Weinberg <zackw@panix.com>
3560
3561 [BZ #19239]
3562 * posix/sys/types.h: Don't include sys/sysmacros.h.
3563 * misc/sys/sysmacros.h: Remove the conditional deprecation
3564 warnings for the macros defined by this header.
3565
3566 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
3567
3568 * manual/probes.texi: Remove slowexp probes.
3569 * math/Makefile: Remove slowexp.
3570 * sysdeps/generic/math_private.h (__slowexp): Remove.
3571 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
3572 document error bounds.
3573 * sysdeps/i386/fpu/slowexp.c: Remove.
3574 * sysdeps/ia64/fpu/slowexp.c: Remove.
3575 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
3576 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
3577 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
3578 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
3579 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
3580 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
3581 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
3582 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
3583 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
3584 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
3585 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
3586
3587 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3588
3589 [BZ #13932]
3590 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
3591 * benchtests/pow-inputs: Update comment for slow path cases.
3592 * manual/probes.texi (slowpow_p10): Delete removed probe.
3593 (slowpow_p10): Likewise.
3594 * math/Makefile: Remove halfulp.c and slowpow.c.
3595 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
3596 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
3597 (__halfulp): Remove.
3598 (__slowpow): Remove.
3599 * sysdeps/i386/fpu/halfulp.c: Delete file.
3600 * sysdeps/i386/fpu/slowpow.c: Likewise.
3601 * sysdeps/ia64/fpu/halfulp.c: Likewise.
3602 * sysdeps/ia64/fpu/slowpow.c: Likewise.
3603 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
3604 improve comments and add error analysis.
3605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
3606 (power1): Remove function:
3607 (log1): Remove error argument, add error analysis.
3608 (my_log2): Remove function.
3609 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
3610 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3611 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
3612 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
3613 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
3614 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
3615 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
3616 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
3617 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
3618 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
3619 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
3620 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3621 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
3622 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3623
3624 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3625
3626 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
3627 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
3628
3629 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
3630
3631 [BZ #22433]
3632 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
3633 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
3634 and PTRACE_SETHBPREGS.
3635
3636 2018-02-10 Zack Weinberg <zackw@panix.com>
3637
3638 [BZ #22830]
3639 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
3640 correctly.
3641 * malloc/tst-malloc-stats-cancellation.c: New test case.
3642 * malloc/Makefile: Add new test case.
3643
3644 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
3645
3646 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
3647
3648 2018-02-10 Joseph Myers <joseph@codesourcery.com>
3649
3650 * math/Makefile (libm-narrow-fns): Add add.
3651 (libm-test-funcs-narrow): Likewise.
3652 * math/Versions (GLIBC_2.28): Add narrowing add functions.
3653 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
3654 * math/gen-auto-libm-tests.c (test_functions): Add add.
3655 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
3656 (NARROW_ADD_ROUND_TO_ODD): Likewise.
3657 (NARROW_ADD_TRIVIAL): Likewise.
3658 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
3659 macro.
3660 (__daddl): Likewise.
3661 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
3662 dadd.
3663 (CFLAGS-nldbl-dadd.c): New variable.
3664 (CFLAGS-nldbl-fadd.c): Likewise.
3665 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
3666 __nldbl_daddl.
3667 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
3668 prototype.
3669 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
3670 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
3671 * math/auto-libm-test-in: Add tests of add.
3672 * math/auto-libm-test-out-narrow-add: New generated file.
3673 * math/libm-test-narrow-add.inc: New file.
3674 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
3675 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
3676 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
3677 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
3678 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
3679 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
3680 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
3682 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
3688 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
3689 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3690 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
3691 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3693 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
3694 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3695 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3696 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3697 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3698 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3699 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3700 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3701 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3702 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3703 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3704 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3705 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3710 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
3711 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3712 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3713 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3714 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3715 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3716 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
3717 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
3718 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3719 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3720
3721 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
3722 (f128-pairs): New variable.
3723 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
3724 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
3725 to CFLAGS.
3726 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
3727 Also make tests add $(f128-loader-link) to gnulib-tests.
3728
3729 2018-02-09 DJ Delorie <dj@redhat.com>
3730
3731 [BZ #22827]
3732 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
3733 64-bit ELF type for 64-bit ELF objects.
3734
3735 2018-02-09 Joseph Myers <joseph@codesourcery.com>
3736
3737 * math/libm-test-driver.c (snan_tests_arg): New variable.
3738 * math/libm-test-support.h (snan_tests_arg): New declaration.
3739 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
3740
3741 * math/Makefile (test-type-pairs): New variable.
3742 (test-type-pairs-f64xf128-yes): Likewise.
3743 (tests): Add test-narrow-macros.
3744 (libm-test-funcs-narrow): New variable.
3745 (libm-test-c-narrow): Likewise.
3746 (generated): Add $(libm-test-c-narrow).
3747 (libm-tests-base-narrow): New variable.
3748 (libm-tests-narrow): Likewise.
3749 (libm-tests): Add $(libm-tests-narrow).
3750 (libm-tests-for-type): Handle $(libm-tests-narrow).
3751 (libm-test-c-narrow-obj): New variable.
3752 ($(libm-test-c-narrow-obj)): New rule.
3753 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
3754 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
3755 $(o-iterator) to set dependencies and CFLAGS.
3756 * math/gen-auto-libm-tests.c: Document use for narrowing
3757 functions.
3758 (output_for_one_input_case): Take argument NARROW.
3759 (generate_output): Likewise. Update call to
3760 output_for_one_input_case.
3761 (main): Take --narrow option. Update call to generate_output.
3762 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
3763 (apply_lit): Update call to _apply_lit.
3764 (apply_arglit): New function.
3765 (parse_args): Handle "a" arguments.
3766 (parse_auto_input): Handle format names using ":".
3767 * math/README.libm-test: Document "a" parameter type.
3768 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
3769 (ARG_TYPE_TRUE_MIN): Likewise.
3770 (ARG_TYPE_MAX): Likwise.
3771 (ARG_MIN_EXP): Likewise.
3772 (ARG_MAX_EXP): Likewise.
3773 (ARG_MANT_DIG): Likewise.
3774 (TEST_COND_arg_ibm128): Likewise.
3775 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
3776 (TEST_COND_arg_fmt): New macro.
3777 (init_max_error): Update prototype.
3778 * math/libm-test-support.c (test_ibm128): New variable.
3779 (init_max_error): Take argument testing_ibm128 and set test_ibm128
3780 instead of using [TEST_COND_ibm128] conditional.
3781 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
3782 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
3783 [TEST_NARROW] (TEST_MSG): New definition.
3784 (arg_plus_zero): New macro.
3785 (arg_minus_zero): Likewise.
3786 (arg_plus_infty): Likewise.
3787 (arg_minus_infty): Likewise.
3788 (arg_qnan_value_pl): Likewise.
3789 (arg_qnan_value): Likewise.
3790 (arg_snan_value_pl): Likewise.
3791 (arg_snan_value): Likewise.
3792 (arg_max_value): Likewise.
3793 (arg_min_value): Likewise.
3794 (arg_min_subnorm_value): Likewise.
3795 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
3796 (RUN_TEST_LOOP_aa_f): New macro.
3797 (TEST_SUFF): New macro.
3798 (TEST_SUFF_STR): Likewise.
3799 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
3800 (TEST_COND_any_ibm128): New macro.
3801 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
3802 this_func. Update call to init_max_error.
3803 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
3804 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
3805 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
3806 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
3807 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
3808 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
3809 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
3810 * math/test-math-scalar.h (TEST_NARROW): Likewise.
3811 * math/test-math-vector.h (TEST_NARROW): Likewise.
3812 * math/test-arg-double.h: New file.
3813 * math/test-arg-float128.h: Likewise.
3814 * math/test-arg-float32x.h: Likewise.
3815 * math/test-arg-float64.h: Likewise.
3816 * math/test-arg-float64x.h: Likewise.
3817 * math/test-arg-ldouble.h: Likewise.
3818 * math/test-math-narrow.h: Likewise.
3819 * math/test-narrow-macros.c: Likewise.
3820 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
3821 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
3822 test-narrow-macros-ldbl-64.
3823 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
3824
3825 * math/bits/mathcalls-narrow.h: New file.
3826 * include/bits/mathcalls-narrow.h: Likewise.
3827 * math/math-narrow.h: Likewise.
3828 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
3829 (__MATHCALL_NARROW_ARGS_2): Likewise.
3830 (__MATHCALL_NARROW_ARGS_3): Likewise.
3831 (__MATHCALL_NARROW_NORMAL): Likewise.
3832 (__MATHCALL_NARROW_REDIR): Likewise.
3833 (__MATHCALL_NARROW): Likewise.
3834 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
3835 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
3836 defined.
3837 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
3838 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
3839 (libm-narrow-fns): New variable.
3840 (libm-narrow-types-basic): Likewise.
3841 (libm-narrow-types-ldouble-yes): Likewise.
3842 (libm-narrow-types-float128-yes): Likewise.
3843 (libm-narrow-types-float128-alias-yes): Likewise.
3844 (libm-narrow-types): Likewise.
3845 (libm-routines): Add narrowing functions.
3846 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
3847 (libc_feholdexcept_setroundf128): New macro.
3848 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
3849 * sysdeps/ieee754/float128/float128_private.h: Include
3850 <math/math-narrow.h>.
3851 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
3852 Undefine and redefine.
3853 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
3854 (libm_alias_float_ldouble): Undefine and redefine.
3855 (libm_alias_double_ldouble): Likewise.
3856
3857 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
3858
3859 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
3860
3861 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
3862 FPCR/FPSR.
3863
3864 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
3865
3866 * manual/creature.texi: Convert references to gcc.info to gcc.
3867 * manual/stdio.texi: Likewise.
3868 * manual/string.texi: Likewise.
3869
3870 2018-02-07 Joseph Myers <joseph@codesourcery.com>
3871
3872 [BZ #17979]
3873 * posix/bits/types.h (__int_least8_t): New typedef.
3874 (__uint_least8_t): Likewise.
3875 (__int_least16_t): Likewise.
3876 (__uint_least16_t): Likewise.
3877 (__int_least32_t): Likewise.
3878 (__uint_least32_t): Likewise.
3879 (__int_least64_t): Likewise.
3880 (__uint_least64_t): Likewise.
3881 * sysdeps/generic/stdint.h (int_least8_t): Define using
3882 __int_least8_t.
3883 (int_least16_t): Define using __int_least16_t.
3884 (int_least32_t): Define using __int_least32_t.
3885 (int_least64_t): Define using __int_least64_t.
3886 (uint_least8_t): Define using __uint_least8_t.
3887 (uint_least16_t): Define using __uint_least16_t.
3888 (uint_least32_t): Define using __uint_least32_t.
3889 (uint_least64_t): Define using __uint_least64_t.
3890 * wcsmbs/uchar.h: Include <bits/types.h>.
3891 (char16_t): Define using __uint_least16_t conditional only on
3892 [!__USE_ISOCXX11].
3893 (char32_t): Define using __uint_least32_t conditional only on
3894 [!__USE_ISOCXX11].
3895 * wcsmbs/test-char-types.c: New file.
3896 * wcsmbs/Makefile (tests): Add test-char-types.
3897
3898 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3899 version to 4.0.1.
3900
3901 2018-02-07 Zack Weinberg <zackw@panix.com>
3902
3903 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
3904 Delete all contents except for definitions of _G_HAVE_MMAP and
3905 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
3906 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
3907 sysdeps/unix/sysv/linux/_G_config.h. Make same content
3908 change as above.
3909
3910 * libio/libio.h: Don't include bits/_G_config.h here.
3911 Include stddef.h with __need_wchar_t defined. Include
3912 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
3913 Define _IO_iconv_t here, directly.
3914 Don't define _IO_HAVE_ST_BLKSIZE.
3915 * libio/libioP.h: Include _G_config.h here. Move include of
3916 shlib-compat.h up with rest of includes. Simplify conditionals
3917 controlling definition of _IO_JUMPS_OFFSET.
3918
3919 * csu/init.c: Remove always-true #if around entire file.
3920 Don't include stdio.h. Set _IO_stdin_used to hardwired
3921 constant 0x20001, and update commentary.
3922 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
3923 Replace all uses of _G_va_list with __gnuc_va_list.
3924 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
3925 instead of #if _IO_HAVE_ST_BLKSIZE.
3926 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
3927 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
3928 not #ifdef.
3929
3930 * libio/bits/libio.h: Move back to libio/libio.h and adjust
3931 multiple-include guard to match.
3932 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
3933 into this file.
3934 Remove preprocessor conditionals that are always true and/or
3935 redundant to other preprocessor conditionals in the same nest.
3936 Include shlib-compat.h unconditionally.
3937 Error out if _LIBC is not defined, or if _ISOMAC is defined,
3938 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
3939 defined after including stdio.h.
3940 Use __BEGIN_DECLS/__END_DECLS.
3941
3942 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
3943 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
3944 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
3945
3946 2018-02-07 Zack Weinberg <zackw@panix.com>
3947
3948 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
3949 New single-type headers split from _G_config.h.
3950 * libio/bits/types/cookie_io_functions_t.h
3951 * libio/bits/types/struct_FILE.h
3952 New single-type headers split from libio.h.
3953
3954 * libio/Makefile: Install the above new headers. Don't install
3955 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
3956 bits/libio-ldbl.h.
3957 * libio/_G_config.h, libio/libio.h: Delete file.
3958
3959 * libio/bits/libio.h: Remove improper-inclusion guard.
3960 Include stdio.h and don't repeat anything that it does.
3961 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
3962 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
3963 __io_read_fn as cookie_read_function_t,
3964 __io_write_fn as cookie_write_function_t,
3965 __io_seek_fn as cookie_seek_function_t,
3966 __io_close_fn as cookie_close_function_t,
3967 and _IO_cookie_io_functions_t as cookie_io_functions_t.
3968 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
3969 here, in the "compatibility defines" section. Remove an #if 0
3970 block. Use the "body" macros from bits/types/struct_FILE.h to
3971 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
3972 and _IO_ferror_unlocked.
3973 Move prototypes of __uflow and __overflow...
3974
3975 * libio/stdio.h: ...here. Don't include bits/libio.h.
3976 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
3977 directly from stdarg.h. Include bits/types/__fpos_t.h,
3978 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
3979 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
3980 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
3981 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
3982 cookie_io_functions_t, not _IO_cookie_io_functions_t;
3983 __ssize_t, not _IO_ssize_t. Unconditionally define
3984 BUFSIZ as 8192 and EOF as (-1).
3985
3986 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
3987 macros from bits/types/struct_FILE.h instead of _IO_* macros
3988 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
3989 instead of _IO_ssize_t.
3990 * libio/bits/stdio2.h: Similarly.
3991
3992 * libio/iolibio.h: Add multiple-include guard.
3993 Include bits/libio.h after stdio.h.
3994 * libio/libioP.h: Add multiple-include guard.
3995 Include stdio.h and bits/libio.h before iolibio.h.
3996
3997 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
3998 * include/bits/types/cookie_io_functions_t.h
3999 * include/bits/types/struct_FILE.h: New wrappers.
4000
4001 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
4002 Get definitions of _G_fpos_t and _G_fpos64_t from
4003 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
4004 respectively. Remove improper-inclusion guards.
4005
4006 * conform/data/stdio.h-data: Update expectations of va_list.
4007 * scripts/check-installed-headers.sh: Remove special case for
4008 libio.h and _G_config.h.
4009
4010 2018-02-07 Joseph Myers <joseph@codesourcery.com>
4011
4012 [BZ #15105]
4013 [BZ #19463]
4014 * include/sys/sysmacros.h [!_ISOMAC]
4015 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
4016 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
4017 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
4018 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
4019 libc_hidden_proto.
4020 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
4021 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
4022 Likewise.
4023 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
4024 Undefine and redefine to add use __gnu_dev_ prefix.
4025 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
4026 Likewise.
4027 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
4028 and define as hidden inline function.
4029 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
4030 Likewise.
4031 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
4032 Likewise.
4033 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
4034 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
4035 (gnu_dev_minor): Likewise.
4036 (gnu_dev_makedev): Likewise.
4037 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
4038 makedev.
4039 * posix/wordexp.c (exec_comm_child): Likewise.
4040 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
4041 instead of minor and __gnu_dev_major instead of major.
4042 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
4043 __gnu_dev_major instead of major.
4044 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
4045 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
4046 instead of gnu_dev_minor.
4047 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
4048 (SLAVE_P): Likewise.
4049 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
4050 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
4051 instead of major.
4052
4053 [BZ #21313]
4054 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
4055 in another place.
4056 * locale/weightwc.h (findidx): Likewise.
4057
4058 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
4059
4060 * manual/probes.texi (slowlog): Delete documentation of removed probe.
4061 (slowlog_inexact): Likewise
4062 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
4063 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
4064
4065 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
4066
4067 [BZ #22797]
4068 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
4069 missing second underscore to parameter name.
4070
4071 2018-02-06 Joseph Myers <joseph@codesourcery.com>
4072
4073 [BZ #14508]
4074 [BZ #15512]
4075 [BZ #17082]
4076 [BZ #20530]
4077 * bits/byteswap.h: Update file comment. Do not include
4078 <bits/byteswap-16.h>.
4079 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
4080 constant.
4081 (__bswap_16): Define as inline function.
4082 (__bswap_constant_32): Reformat definition.
4083 (__bswap_32): Always define as inline function, not macro, using
4084 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
4085 otherwise __bswap_constant_32.
4086 (__bswap_constant_64): Reformat definition. Do not use
4087 __extension__ here.
4088 (__bswap_64): Always define as inline function, not macro. Use
4089 __extension__ on function definition. Use __builtin_bswap64 if
4090 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
4091 * string/test-endian-file-scope.c: New file.
4092 * string/test-endian-sign-conversion.c: Likewise.
4093 * string/Makefile (headers): Remove bits/byteswap-16.h.
4094 (tests): Add test-endian-file-scope and
4095 test-endian-sign-conversion.
4096 (CFLAGS-test-endian-sign-conversion.c): New variable.
4097 * bits/byteswap-16.h: Remove file.
4098 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
4099 * sysdeps/ia64/bits/byteswap.h: Likewise.
4100 * sysdeps/m68k/bits/byteswap.h: Likewise.
4101 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4102 * sysdeps/s390/bits/byteswap.h: Likewise.
4103 * sysdeps/tile/bits/byteswap.h: Likewise.
4104 * sysdeps/x86/bits/byteswap-16.h: Likewise.
4105 * sysdeps/x86/bits/byteswap.h: Likewise.
4106
4107 [BZ #17721]
4108 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
4109 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
4110 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
4111 199901L] (__restrict): Define to restrict.
4112
4113 [BZ #19667]
4114 * string/testcopy.c: Include <support/support.h>. Do not include
4115 <malloc.h>. Use <support/test-driver.c>.
4116 (main): Rename to do_test. Make static. Use xmalloc instead of
4117 malloc.
4118
4119 [BZ #13575]
4120 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
4121 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
4122 (SSIZE_MAX): Define to INT_MAX.
4123 * posix/test-ssize-max.c: New file.
4124 * posix/Makefile (tests): Add test-ssize-max.
4125
4126 [BZ #19668]
4127 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
4128 <support/support.h>. Do not include <malloc.h>.
4129 (query_auxv): Use xmalloc instead of malloc.
4130
4131 [BZ #14553]
4132 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
4133 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
4134 instead of loff_t.
4135
4136 2018-02-06 Florian Weimer <fweimer@redhat.com>
4137
4138 [BZ #18023]
4139 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4140 Use scratch_buffer instead of extend_alloca.
4141
4142 2018-02-06 Zack Weinberg <zackw@panix.com>
4143
4144 * libio/stdio.h: Don't define getc or putc as macros.
4145 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
4146 not _IO_getc and _IO_putc.
4147
4148 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
4149 * stdio-common/tstgetln.c: Don't redefine ssize_t.
4150
4151 2018-02-06 Joseph Myers <joseph@codesourcery.com>
4152
4153 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
4154 (TCP_FASTOPEN_NO_COOKIE): Likewise.
4155
4156 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
4157
4158 [BZ #14890]
4159 * elf/elf.h (NT_PRFPREG): New macro.
4160 (NT_S390_VXRS_LOW): Likewise.
4161 (NT_S390_VXRS_HIGH): Likewise.
4162 (NT_S390_GS_CB): Likewise.
4163 (NT_S390_GS_BC): Likewise.
4164 (NT_S390_RI_CB): Likewise.
4165
4166 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
4167 (MAP_SYNC): New macro.
4168 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
4169 Likewise.
4170 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
4171 (MAP_SYNC): Likewise.
4172 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
4173 (MAP_SYNC): Likewise.
4174 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
4175 (MAP_SYNC): Likewise.
4176 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
4177 (MAP_SYNC): Likewise.
4178 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
4179 (MAP_SYNC): Likewise.
4180 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
4181 (MAP_SYNC): Likewise.
4182 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
4183 Likewise.
4184 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
4185 Likewise.
4186
4187 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
4188 (MAP_SHARED_VALIDATE): New macro.
4189 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4190 (MAP_SHARED_VALIDATE): Likewise.
4191
4192 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
4193
4194 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
4195 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
4196 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
4197
4198 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
4199
4200 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
4201 (DT_NUM): Updated to 35.
4202
4203 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
4204
4205 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4206 __builtin_expect with __glibc_likely and __glibc_unlikely.
4207 (elf_machine_rela): Likewise.
4208 (elf_machine_lazy_rel): Likewise.
4209
4210 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
4211
4212 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
4213 __builtin_expect with __glibc_likely and __glibc_unlikely.
4214 (elf_machine_lazy_rel): Likewise.
4215
4216 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
4217
4218 [BZ #22638]
4219 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
4220 SHARED.
4221 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
4222
4223 2018-02-05 Andreas Schwab <schwab@suse.de>
4224
4225 [BZ #22761]
4226 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
4227 string.
4228
4229 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4230
4231 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
4232 not check against PTHREAD_STACK_MIN.
4233
4234 2018-02-02 Sean McKean <smckean83@gmail.com>
4235
4236 [BZ #22735]
4237 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
4238
4239 2018-02-02 Florian Weimer <fweimer@redhat.com>
4240
4241 [BZ #22753]
4242 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
4243 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
4244 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
4245 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
4246 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
4247 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4248 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4249 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
4250 * manual/llio.texi (Scatter-Gather): Mention offset -1.
4251 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
4252 * misc/tst-preadvwritev2.c (do_test): Call it.
4253 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
4254
4255 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
4256
4257 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
4258
4259 * benchtests/bench-memcmp.c: Print json instead of plain text.
4260
4261 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
4262 every test run.
4263
4264 2018-02-01 Joseph Myers <joseph@codesourcery.com>
4265
4266 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4267 version to 4.15.
4268 (s390_sthyi): New syscall.
4269
4270 * sysdeps/generic/ldbl-classify-compat.h: New file.
4271 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
4272 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
4273 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
4274 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
4275 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
4276 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
4277 * sysdeps/ieee754/dbl-64/s_finite.c: Include
4278 <ldbl-classify-compat.h>.
4279 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
4280 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
4281 <ldbl-classify-compat.h>.
4282 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
4283 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
4284 <ldbl-classify-compat.h>.
4285 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
4286 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
4287 <ldbl-classify-compat.h>.
4288 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
4289 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
4290 <ldbl-classify-compat.h>.
4291 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
4292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
4293 <ldbl-classify-compat.h>.
4294 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
4295 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
4296 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4297 * sysdeps/m68k/coldfire/math_private.h: Remove file.
4298 * sysdeps/microblaze/math_private.h: Likewise.
4299 * sysdeps/nios2/math_private.h: Likewise.
4300 * sysdeps/sh/math_private.h: Likewise.
4301
4302 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
4303 * sysdeps/m68k/coldfire/math_private.h: ... here.
4304 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
4305 * sysdeps/tile/math_private.h: Likewise.
4306 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
4307 Remove macro.
4308 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
4309 Likewise.
4310
4311 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
4312 Remove macro.
4313 (libc_fetestexcept): Likewise.
4314 (libc_feupdateenv_test): Likewise.
4315 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
4316 (libc_fetestexcept): Likewise.
4317 (libc_feupdateenv_test): Likewise.
4318 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
4319 (libc_fetestexcept): Likewise.
4320 (libc_feupdateenv_test): Likewise.
4321 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
4322 (libc_fetestexcept): Likewise.
4323 (libc_feupdateenv_test): Likewise.
4324
4325 * sysdeps/generic/math_private.h
4326 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
4327 New inline function.
4328 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
4329 Likewise.
4330
4331 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
4332 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
4333 * sysdeps/generic/math_private.h
4334 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
4335 inline function.
4336 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
4337 Likewise.
4338 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
4339 Likewise.
4340 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
4341 Likewise.
4342 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
4343 Likewise.
4344 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
4345 Likewise.
4346 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
4347 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
4348 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
4349 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
4350 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
4351 (__fegetenv): Likewise.
4352 (fesetenv): Likewise.
4353 (__fesetenv): Likewise.
4354 (feupdateenv): Likewise.
4355 (__feupdateenv): Likewise.
4356 (fegetround): Likewise.
4357 (__fegetround): Likewise.
4358 (fesetround): Likewise.
4359 (__fesetround): Likewise.
4360
4361 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
4362 (feraiseexcept): New macro.
4363 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
4364 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
4365 Remove macro.
4366 (__feraiseexcept): Likewise.
4367 (feclearexcept): Likewise.
4368 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
4369 (__feraiseexcept): Likewise.
4370 (feclearexcept): Likewise.
4371 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
4372 (__feraiseexcept): Likewise.
4373 (feclearexcept): Likewise.
4374 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
4375 (__feraiseexcept): Likewise.
4376 (feclearexcept): Likewise.
4377 (fetestexcept): Likewise.
4378
4379 * sysdeps/m68k/coldfire/math-tests.h: New file.
4380
4381 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
4382 * sysdeps/m68k/bits/fenv.h: ... here.
4383 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
4384 not define.
4385 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
4386 Likewise.
4387 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
4388 Likewise.
4389 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
4390 Likewise.
4391 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
4392 Likewise.
4393 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
4394 Define to 0.
4395 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
4396 (__FE_UNDEFINED): New enum constant.
4397 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
4398 Do not define.
4399 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
4400 Likewise.
4401 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
4402 Likewise.
4403 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
4404 to match generic bits/fenv.h.
4405 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
4406 Do not define.
4407
4408 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
4409 packed on bits.
4410 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
4411 * soft-fp/half.h (union _FP_UNION_H): Likewise.
4412 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
4413 * soft-fp/single.h (union _FP_UNION_S): Likewise.
4414
4415 2018-02-01 Carlos O'Donell <carlos@redhat.com>
4416 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
4417 Joseph Myers <joseph@codesourcery.com>
4418
4419 [BZ #21314]
4420 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
4421 (__log1p): Disable -Wmaybe-uninitialized for -Os around
4422 computation using c.
4423 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
4424 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
4425 computation using c.
4426
4427 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
4428
4429 * version.h (RELEASE): Set to "development".
4430 (VERSION): Set to "2.27.9000".
4431 * NEWS (2.28): New section.
4432
4433 * version.h (RELEASE): Set to "stable".
4434 (VERSION): Set to "2.27".
4435 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
4436
4437 * NEWS: Add the list of bugs fixed in 2.27.
4438
4439 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4440
4441 * stdlib/test-atexit-race-common.c (do_test): Check stack size
4442 against PTHREAD_STACK_MIN.
4443
4444 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
4445
4446 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
4447 New entries.
4448 (Rafal Luzynski, Andreas Schwab): Update.
4449
4450 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
4451
4452 [BZ #10871]
4453 * NEWS: List the languages which actually use the alternative
4454 months feature in this release. Also explain that "alt_mon" and
4455 "ab_alt_mon" are optional.
4456
4457 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
4458
4459 [BZ #22765]
4460 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
4461
4462 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
4463
4464 * manual/install.texi (Tools for Compilation): Update the newest
4465 versions of gcc, binutils, texinfo, gawk, bison, and sed.
4466 * INSTALL: Regenerated.
4467
4468 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4469
4470 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
4471 instead of __builtin_expect.
4472
4473 2018-01-30 Florian Weimer <fweimer@redhat.com>
4474
4475 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
4476 data.
4477 * nss/tst-nss-getpwent.c (do_test): Likewise.
4478
4479 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
4480
4481 [BZ #10871]
4482 * localedata/locales/hr_HR (mon): Rename to...
4483 (alt_mon): This.
4484 (mon): Import from CLDR (genitive case).
4485 (d_t_fmt): Update the comment.
4486
4487 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
4488
4489 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
4490 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
4491 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
4492
4493 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4494
4495 * mach/Versions: Fix version when __mach_host_self_ was added.
4496 * hurd/Versions: Fix version when _hurd_exec_paths was added.
4497 * sysdeps/mach/hurd/i386/ld.abilist: New file.
4498 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
4499 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
4500 * sysdeps/mach/hurd/i386/libc.abilist: New file.
4501 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
4502 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
4503 * sysdeps/mach/hurd/i386/libm.abilist: New file.
4504 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
4505 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
4506 * sysdeps/mach/hurd/i386/librt.abilist: New file.
4507 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
4508 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
4509 || to respect codestyle.
4510 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
4511 (do_test_bz20181): Rename accordingly.
4512 * malloc/malloc.c: Include <assert.h>.
4513 (assert): Do not define.
4514 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
4515 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
4516 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4517 * sysdeps/mach/hurd/hp-timing.h: New file.
4518 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
4519
4520 2018-01-29 Darius Rad <darius@bluespec.com>
4521
4522 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
4523
4524 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
4525
4526 * sysdeps/init_array/crti.S (.section .init_array): Add
4527 PREINIT_FUNCTION when defined.
4528 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4529 * config.h.in: Regenerate.
4530 * manual/platform.texi: Add RISC-V documenation for
4531 __riscv_flush_icache.
4532 * sysdeps/riscv/__longjmp.S: New file.
4533 * sysdeps/riscv/backtrace.c: Likewise.
4534 * sysdeps/riscv/bits/endian.h: Likewise.
4535 * sysdeps/riscv/bits/setjmp.h: Likewise.
4536 * sysdeps/riscv/bits/wordsize.h: Likewise.
4537 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
4538 * sysdeps/riscv/bsd-setjmp.c: Likewise.
4539 * sysdeps/riscv/dl-trampoline.S: Likewise.
4540 * sysdeps/riscv/gccframe.h: Likewise.
4541 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
4542 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
4543 * sysdeps/riscv/machine-gmon.h: Likewise.
4544 * sysdeps/riscv/memusage.h: Likewise.
4545 * sysdeps/riscv/setjmp.S: Likewise.
4546 * sysdeps/riscv/sys/asm.h: Likewise.
4547 * sysdeps/riscv/tls-macros.h: Likewise.
4548 * sysdeps/riscv/dl-tls.h: New file.
4549 * sysdeps/riscv/libc-tls.c: Likewise.
4550 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
4551 * sysdeps/riscv/nptl/tls.h: Likewise.
4552 * sysdeps/riscv/stackinfo.h: Likewise.
4553 * sysdeps/riscv/bits/fenv.h: New file.
4554 * sysdeps/riscv/e_sqrtl.c: Likewise.
4555 * sysdeps/riscv/fpu_control.h: Likewise.
4556 * sysdeps/riscv/math-tests.h: Likewise.
4557 * sysdeps/riscv/nofpu/Implies: Likewise.
4558 * sysdeps/riscv/sfp-machine.h: Likewise.
4559 * sysdeps/riscv/tininess.h: Likewise.
4560 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
4561 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4562 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
4563 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
4564 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
4565 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
4566 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
4567 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
4568 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4569 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
4570 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4571 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
4572 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
4573 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
4574 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
4575 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
4576 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
4577 * sysdeps/riscv/rvd/s_finite.c: Likewise.
4578 * sysdeps/riscv/rvd/s_fma.c: Likewise.
4579 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
4580 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
4581 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
4582 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
4583 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
4584 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
4585 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
4586 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
4587 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
4588 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
4589 * sysdeps/riscv/rvf/fegetround.c: Likewise.
4590 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
4591 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
4592 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
4593 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
4594 * sysdeps/riscv/rvf/fesetround.c: Likewise.
4595 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
4596 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
4597 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
4598 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
4599 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
4600 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
4601 * sysdeps/riscv/rvf/math_private.h: Likewise.
4602 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4603 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
4604 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
4605 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4606 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
4607 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
4608 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
4609 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
4610 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
4611 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
4612 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
4613 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
4614 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4615 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
4616 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4617 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4618 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
4619 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
4620 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
4621 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
4622 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
4623 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
4624 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
4625 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
4626 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
4627 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
4628 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
4629 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
4630 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
4631 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
4632 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
4633 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
4634 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
4635 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
4636 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
4637 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
4638 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
4639 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
4640 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
4641 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
4642 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
4643 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
4644 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
4645 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
4646 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
4647 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
4648 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
4649 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
4650 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
4651 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
4652 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
4653 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
4654 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
4655 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
4656 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
4657 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
4658 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
4659 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
4660 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
4661 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
4662 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
4663 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
4664 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
4665 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
4666 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
4667 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
4668 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
4669 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
4670 * sysdeps/riscv/Implies: New file.
4671 * sysdeps/riscv/Makefile: Likewise.
4672 * sysdeps/riscv/configure: Likewise.
4673 * sysdeps/riscv/configure.ac: Likewise.
4674 * sysdeps/riscv/nptl/Makefile: Likewise.
4675 * sysdeps/riscv/preconfigure: Likewise.
4676 * sysdeps/riscv/rv64/Implies-after: Likewise.
4677 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
4678 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
4679 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
4680 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
4681 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
4682 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
4683 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
4684 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
4685 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
4686 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
4687 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
4688 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
4689 (Config): Likewise.
4690
4691 2018-01-29 Florian Weimer <fweimer@redhat.com>
4692
4693 [BZ #22701]
4694 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
4695 libnsl_hidden_proto.
4696 * include/rpcsvc/yp.h (yp_xdrall): Declare with
4697 libnsl_hidden_proto.
4698 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
4699 * nis/Makefile (libnsl-routines): Add nss-default only for
4700 build-obsolete-nsl.
4701 * nis/nis_defaults.c (__nis_default_ttl): Add
4702 libnsl_hidden_nolink_def.
4703 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
4704 declaration.
4705 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
4706 * nis/ypclnt.c (yp_maplist): Likewise.
4707
4708 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
4709
4710 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4711 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
4712
4713 2018-01-29 Joseph Myers <joseph@codesourcery.com>
4714
4715 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
4716 clean -dxfq for git updates when replacing sources.
4717
4718 * scripts/build-many-glibcs.py (Config.build_gcc): Use
4719 --disable-libcilkrts unconditionally, not just for the final GCC
4720 build for Hurd.
4721
4722 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4723 version to 4.15.
4724
4725 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
4726
4727 [BZ #10871]
4728 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
4729 case).
4730
4731 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
4732
4733 [BZ #10871]
4734 * localedata/locales/be_BY (mon): Rename to...
4735 (alt_mon): This, then synchronize with CLDR (nominative case).
4736 (abmon): Rename to...
4737 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
4738 (mon): Import from CLDR (genitive case).
4739 (abmon): Likewise.
4740 * localedata/locales/be_BY@latin (mon): Rename to...
4741 (alt_mon): This.
4742 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
4743
4744 * localedata/locales/be_BY@latin (lang_name): Reworded to
4745 "biełaruskaja mova".
4746
4747 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
4748
4749 [BZ #10871]
4750 * localedata/locales/el_CY (mon): Renamed to...
4751 (alt_mon): This.
4752 (mon): Import from CLDR (genitive case).
4753 * localedata/locales/el_GR: Likewise.
4754
4755 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
4756
4757 [BZ #10871]
4758 * localedata/locales/ru_RU (mon): Rename to...
4759 (alt_mon): This.
4760 (abmon): Rename to...
4761 (ab_alt_mon): This.
4762 (mon): Import from CLDR (genitive case).
4763 (abmon): Copy from the old content except the 5th month which is
4764 now in the genitive case, even when abbreviated.
4765 * localedata/locales/ru_UA: Likewise.
4766 * time/tst-strptime.c (day_tests): Add an actual example of
4767 a difference between %b and %Ob in Russian.
4768
4769 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4770
4771 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
4772 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
4773 a `c' variable.
4774 * resolv/res-close.c: Include <stdlib.h>.
4775 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
4776 <sys/wait.h>, <time.h>, <sys/uio.h>.
4777 (NOT_CANCEL_H): Add inclusion guard.
4778 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
4779 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
4780 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
4781 return 0.
4782 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
4783 vm_address_t * to ElfW(Addr) * for dl_main parameter.
4784 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
4785 instead of void *.
4786 * sysdeps/pthread/timer_create.c (timer_create): Do not use
4787 timer_ptr2id to cast struct timer_node * to void *.
4788 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
4789 --disable-libcilkrts to gcc configure.
4790 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
4791 and make them the default for now.
4792 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
4793 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
4794 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
4795 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
4796 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
4797 MACH_IPC_COMPAT.
4798 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
4799 __task_terminate would ever return successfully.
4800 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
4801 to global scope.
4802 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
4803 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
4804 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
4805 critical section to make code simpler and avoid warning.
4806 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
4807 critical section to make code simpler and avoid warning.
4808 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
4809 const char * instead of char *.
4810 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
4811 __hurd_file_name_split, hurd_file_name_split,
4812 __hurd_directory_name_split, hurd_directory_name_split,
4813 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
4814 hurd_file_name_path_lookup): Make lookup function parameter take a
4815 const char *name instead of char *name.
4816 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
4817 __hurd_directory_name_split): Likewise.
4818 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
4819 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
4820 * sysdeps/mach/hurd/check_native.c: New file.
4821 * sysdeps/mach/hurd/check_pf.c: New file.
4822 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
4823 (__freeifaddrs): Define macro to freeifaddrs.
4824 * sysdeps/mach/hurd/libhurduser.abilist: New file.
4825 * sysdeps/mach/libmachuser.abilist: New file.
4826 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
4827 (do_test_bz20181): Rename accordingly.
4828 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
4829 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
4830 <sys/mount.h>.
4831 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
4832 version only if __USE_EXTERN_INLINES is defined.
4833 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
4834 __hurd_sockfail): Likewise.
4835 (_hurd_fd_get): Always declare functions, and provide inline versions
4836 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
4837 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
4838 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
4839 _hurd_port_set): Always declare functions, and provide inline versions
4840 only if __USE_EXTERN_INLINES and _LIBC are defined and
4841 IS_IN(libc).
4842 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
4843 _hurd_critical_section_unlock): Likewise.
4844 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
4845 * __hurd_threadvar_location): Likewise.
4846 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
4847 _hurd_userlink_clear): Likewise.
4848 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
4849 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
4850 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
4851 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
4852 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
4853 __spin_lock_locked): Likewise.
4854 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
4855 __spin_lock_locked): Likewise.
4856 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
4857 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
4858 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
4859 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
4860 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
4861 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
4862 _POSIX_NO_TRUNC): Define to 0.
4863 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
4864 check size against PTHREAD_STACK_MIN.
4865 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
4866 IS_IN(libpthread)]: Include <sigsetops.h>.
4867 * mach/Makefile (user-interfaces): Add mach/gnumach.
4868 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
4869 * sysdeps/mach/configure (mach_interface_list): Regenerate.
4870 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
4871 instead of invalid -1.
4872 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
4873 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
4874 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
4875 <net/ppp_defs.h>.
4876
4877 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
4878
4879 * hurd/fcntl-internal.h: New file.
4880
4881 2018-01-27 James Clarke <jrtc27@jrtc27.com>
4882
4883 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4884
4885 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4886
4887 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
4888
4889 [BZ #22701]
4890 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
4891 Build only shared objects.
4892
4893 2018-01-26 Carlos O'Donell <carlos@redhat.com>
4894
4895 * README: Update for hppa.
4896
4897 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
4898
4899 * sysdeps/sparc/fpu/libm-test-ulps: Update
4900 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
4901
4902 2018-01-26 Carlos O'Donell <carlos@redhat.com>
4903
4904 Revert:
4905
4906 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4907
4908 [BZ #22563]
4909 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
4910 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
4911 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
4912 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
4913 to feature_1.
4914
4915 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
4916
4917 [BZ #22563]
4918 * bits/types/__cancel_jmp_buf_tag.h: New file.
4919 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
4920 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
4921 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
4922 * nptl/Makefile (headers): Add
4923 bits/types/__cancel_jmp_buf_tag.h.
4924 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
4925 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
4926 * sysdeps/nptl/pthread.h: Include
4927 <bits/types/__cancel_jmp_buf_tag.h>.
4928 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
4929 __cancel_jmp_buf.
4930 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
4931
4932 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
4933
4934 [BZ #10871]
4935 * localedata/locales/uk_UA (mon): Renamed to...
4936 (alt_mon): This.
4937 (alt_digits): "0" removed and then renamed to...
4938 (mon): This.
4939 (date_fmt): Definition changed not to use the alternative
4940 digits hack.
4941
4942 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
4943
4944 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
4945 FLAG_RISCV_FLOAT_ABI_DOUBLE.
4946 * elf/elf.h (EF_RISCV_RVC): New define.
4947 (EF_RISCV_FLOAT_ABI): Likewise.
4948 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
4949 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
4950 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
4951 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
4952 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
4953 define.
4954 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
4955
4956 2018-01-25 Andreas Schwab <schwab@suse.de>
4957
4958 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
4959 single quotes.
4960 * sysdeps/gnu/configure: Regenerate.
4961 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
4962 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4964 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
4965 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
4966 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
4967 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
4968 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
4969
4970 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4971
4972 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
4973 URL, and run autoconf, make it the default for now.
4974
4975 2018-01-24 Joseph Myers <joseph@codesourcery.com>
4976
4977 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4978 soft-float ColdFire configuration.
4979
4980 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
4981 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
4982 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
4983
4984 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
4985 MicroBlaze file.
4986
4987 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
4988 ....
4989 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
4990 ... here.
4991 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
4992 New file.
4993
4994 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
4995 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
4996 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
4997 file.
4998
4999 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
5000
5001 [BZ #22742]
5002 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
5003 Rename to __reserved and add comment.
5004 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
5005 Rename to __reserved.
5006
5007 2018-01-24 Joseph Myers <joseph@codesourcery.com>
5008
5009 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5010 i686-gnu configurations.
5011 (Context.run_builds): Include mig, gnumach and hurd in components
5012 considered.
5013 (Context.checkout): Add mig, gnumach and hurd to components.
5014 (Context.checkout_tar): Add URL mappings for mig, gnumach and
5015 hurd.
5016 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
5017 (Config.build): Install gnumach headers, build mig and install
5018 hurd headers for 'gnu' OS.
5019 (Config.install_gnumach_headers): New function.
5020 (Config.install_hurd_headers): Likewise.
5021 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
5022 when building for 'gnu' OS.
5023
5024 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
5025
5026 * manual/tunables.texi (Hardware Capability Tunables): Fix
5027 spelling.
5028
5029 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
5030
5031 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
5032 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
5033 (ALTMON_11, ALTMON_12): Improve documentation.
5034 * manual/time.texi (strftime): Likewise.
5035
5036 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
5037
5038 [BZ #10871]
5039 * localedata/locales/pl_PL: Alternative month names added,
5040 primary month names are genitive now.
5041 * time/tst-strptime.c (day_tests): Actually use a genitive case
5042 of a month name in Polish language.
5043
5044 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
5045
5046 [BZ #10871]
5047 * manual/locale.texi: Document ALTMON_1..12 constants for
5048 nl_langinfo. Specify when to use ALTMON instead of MON.
5049 * manual/time.texi (strftime, strptime): Document GNU extension
5050 permitting O modifier with %B and %b. Specify when to use
5051 %OB instead of %B.
5052
5053 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
5054
5055 [BZ #10871]
5056 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
5057 names, define them as the same as abbreviated month names explicitly.
5058 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
5059 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
5060 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
5061 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
5062 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
5063 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
5064 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
5065 _NL_WABALTMON_12): New enum constants.
5066 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
5067 wab_alt_mon, and ab_alt_mon_defined members.
5068 (time_output): Output ab_alt_mon and wab_alt_mon members.
5069 (time_read): Read them, initialize them as copies of abmon and wabmon
5070 respectively if they are missing, initialize ab_alt_mon_defined.
5071 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
5072 * locale/programs/locfile-kw.h: Regenerate.
5073 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
5074 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
5075 and ru_RU.UTF-8.
5076 * time/strftime_l.c (a_altmonth, aam_len): New macros.
5077 [!COMPILE_WIDE] (ABALTMON_1): New macro.
5078 (__strftime_internal): Handle %Ob and %Oh formats.
5079 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
5080 (__strptime_internal): Handle %Ob and %Oh formats.
5081 * time/tst-strptime.c (day_tests): Add more tests to parse different
5082 forms of month names including the new %Ob format specifier.
5083
5084 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
5085
5086 [BZ #10871]
5087 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
5088 define them as the same as primary full month names explicitly.
5089 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
5090 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
5091 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
5092 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
5093 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
5094 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
5095 _NL_WALTMON_12): New enum constants.
5096 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
5097 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
5098 macros.
5099 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
5100 walt_mon, and alt_mon_defined members.
5101 (time_output): Output alt_mon and walt_mon members.
5102 (time_read): Read them, initialize them as copies of mon and wmon
5103 respectively if they are missing, initialize alt_mon_defined.
5104 * locale/programs/locfile-kw.gperf (alt_mon): Define.
5105 * locale/programs/locfile-kw.h: Regenerate.
5106 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
5107 * localedata/tst-langinfo.c (map): Add tests for the new constants
5108 ALTMON_1 .. ALTMON_12.
5109 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
5110 and pl_PL.UTF-8.
5111 * time/strftime_l.c (f_altmonth): New macro.
5112 (__strftime_internal): Handle %OB format.
5113 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
5114 (__strptime_internal): Handle %OB format.
5115 * time/tst-strptime.c (day_tests): Add tests to parse different forms
5116 of month names including the new %OB format specifier.
5117
5118 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5119
5120 [BZ #22685]
5121 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
5122 from ABORT_TRANSACTION.
5123 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
5124 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
5125 ABORT_TRANSACTION_IMPL): Likewise.
5126 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
5127 Linux code, but remove the code that aborts transactions.
5128
5129 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
5130
5131 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
5132
5133 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
5134
5135 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
5136 in date: "2004-14-09" should be "2004-09-14".
5137 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
5138 "2003-15-09" should be "2003-09-15".
5139
5140 2018-01-18 Arjun Shankar <arjun@redhat.com>
5141
5142 [BZ #22343]
5143 [BZ #22774]
5144 CVE-2018-6485
5145 CVE-2018-6551
5146 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
5147 after padding.
5148 (_int_memalign): check for integer overflow before calling
5149 _int_malloc.
5150 * malloc/tst-malloc-too-large.c: New test.
5151 * malloc/Makefile: Add tst-malloc-too-large.
5152
5153 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
5154
5155 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
5156 in date: "2017-24-07" should be "2017-07-24".
5157 * localedata/locales/mai_IN: Likewise.
5158 * localedata/locales/mai_NP: Likewise.
5159
5160 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
5161
5162 * po/ru.po: Update translations.
5163
5164 2018-01-17 Joseph Myers <joseph@codesourcery.com>
5165
5166 [BZ #22719]
5167 * sysdeps/hppa/backtrace.c: New file.
5168
5169 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
5170
5171 [BZ #22715]
5172 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
5173 align La_x86_64_retval to VEC_SIZE.
5174
5175 2018-01-16 Joseph Myers <joseph@codesourcery.com>
5176
5177 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
5178 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
5179
5180 2018-01-16 Florian Weimer <fweimer@redhat.com>
5181
5182 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
5183 Move tst-thread-exit-clobber ...
5184 [$(CXX)] (tests-unsupported): ... to here.
5185
5186 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
5187
5188 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
5189 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
5190 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
5191 (_dl_aarch64_cap_flags): Update.
5192 (_DL_HWCAP_COUNT): Update.
5193
5194 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
5195
5196 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
5197 (_DL_HWCAP_LAST): Remove.
5198 (_DL_HWCAP_COUNT): Move to ...
5199 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
5200 (_DL_HWCAP_COUNT): ... here.
5201
5202 2018-01-16 Florian Weimer <fweimer@redhat.com>
5203
5204 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
5205 mode with GNU extensions.
5206
5207 2018-01-15 Alan Hayward <alan.hayward@arm.com>
5208
5209 * elf/elf.h (NT_ARM_SVE): Define.
5210
5211 2018-01-15 Florian Weimer <fweimer@redhat.com>
5212
5213 [BZ #22636]
5214 * nptl/tst-minstack-throw.cc: New file.
5215 * nptl/Makefile (tests): Add tst-minstack-throw.
5216 (LDLIBS-tst-minstack-throw): Link with libstdc++.
5217 [!CXX] (tests-unsupported): Add tst-minstack-throw.
5218
5219 2018-01-15 Joseph Myers <joseph@codesourcery.com>
5220
5221 * scripts/build-many-glibcs.py (Context.checkout): Default
5222 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
5223 version to 1.1.0.
5224
5225 2018-01-13 Carlos O'Donell <carlos@redhat.com>
5226
5227 [BZ #22707]
5228 * elf/elf.h (DF_1_STUB): Define.
5229 (DF_1_PIE): Define.
5230
5231 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5232
5233 [BZ #22697]
5234 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
5235 Do not add 0.5 to integer or out-of-range arguments.
5236
5237 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
5238
5239 * po/bg.po: Update translations.
5240 * po/cs.po: Likewise.
5241 * po/de.po: Likewise.
5242 * po/ko.po: Likewise.
5243 * po/pl.po: Likewise.
5244 * po/sv.po: Likewise.
5245 * po/uk.po: Likewise.
5246 * po/vi.po: Likewise.
5247
5248 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5249
5250 * aarch64/start.S (_start): Use __wrap_main.
5251 (__wrap_main): New local symbol.
5252
5253 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
5254
5255 [BZ #22679]
5256 CVE-2018-1000001
5257 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
5258 generic_getcwd if the path returned by getcwd syscall is not absolute.
5259 * io/tst-getcwd-abspath.c: New test.
5260 * io/Makefile (tests): Add tst-getcwd-abspath.
5261
5262 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
5263
5264 * malloc/malloc.c (malloc_consolidate): Add size check.
5265
5266 2018-01-12 Florian Weimer <fweimer@redhat.com>
5267
5268 * support/write_message.c (write_message): Preserve errno.
5269 * support/check.c (print_failure): Likewise.
5270 * support/support_test_verify_impl.c (support_test_verify_impl):
5271 Likewise.
5272 * support/support_test_compare_failure.c
5273 (support_test_compare_failure): Likewise.
5274
5275 2018-01-12 Florian Weimer <fweimer@redhat.com>
5276
5277 [BZ #22701]
5278 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
5279 Prevent installation of libnsl.so.
5280 (libnsl-inhibit-o): Do not build (or install) static libraries.
5281
5282 2018-01-12 Egmont Koblinger <egmont@gmail.com>
5283
5284 [BZ #22657]
5285 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
5286 before the day number which may produce a double space.
5287 (date_fmt): Likewise.
5288
5289 2018-01-12 Joseph Myers <joseph@codesourcery.com>
5290
5291 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
5292 instead of fegetenv.
5293
5294 2018-01-11 Joseph Myers <joseph@codesourcery.com>
5295
5296 [BZ #22702]
5297 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
5298 comment to say exceptions are discarded.
5299 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
5300 __fegetenv.
5301 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
5302 be enabled.
5303
5304 2018-01-11 Florian Weimer <fweimer@redhat.com>
5305
5306 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
5307 and error message.
5308
5309 2018-01-11 Florian Weimer <fweimer@redhat.com>
5310
5311 [BZ #22636]
5312 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
5313 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
5314
5315 2018-01-10 Joseph Myers <joseph@codesourcery.com>
5316
5317 [BZ #22693]
5318 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
5319 negative arguments in test for NaN or infinity argument.
5320
5321 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
5322
5323 * po/libc.pot: Regenerate.
5324
5325 2018-01-10 Florian Weimer <fweimer@redhat.com>
5326
5327 [BZ #22636]
5328 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
5329 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
5330
5331 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5332
5333 * hurd/hurd/fd.h: Include <fcntl.h>
5334 (__hurd_at_flags): New function.
5335 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
5336 with call to __hurd_at_flags.
5337 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
5338 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
5339 __faccessat
5340 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
5341 (__access_noerrno): Use __faccessat_common instead of access_common.
5342 (__access): Likewise.
5343 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
5344 with a call to __faccessat.
5345 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
5346 (__faccessat_common): ... this. Move implementation of __access into it when
5347 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
5348 reauthenticate_cwdir_at helper to implement AT mechanism.
5349 (__faccessat_noerrno): New function, just calls __faccessat_common.
5350 (__faccessat): New function, just calls __faccessat_common.
5351 (faccessat): Define weak alias.
5352
5353 2018-01-10 Joseph Myers <joseph@codesourcery.com>
5354
5355 [BZ #22691]
5356 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5357 (CFLAGS-s_fmaxmagl.c): New variable.
5358 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
5359
5360 [BZ #22690]
5361 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
5362 long int for arguments of possibly overflowing addition or
5363 subtraction.
5364 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5365
5366 2018-01-09 Joseph Myers <joseph@codesourcery.com>
5367
5368 [BZ #22688]
5369 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5370 (CFLAGS-e_remainderl.c): New variable.
5371
5372 [BZ #22687]
5373 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
5374 variable.
5375 (CFLAGS-s_cacoshl.c): Likewise.
5376 (CFLAGS-s_casinhl.c): Likewise.
5377 (CFLAGS-s_catanl.c): Likewise.
5378 (CFLAGS-s_catanhl.c): Likewise.
5379 (CFLAGS-s_cexpl.c): Likewise.
5380 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
5381 (CFLAGS-s_csinhl.c): Likewise.
5382 (CFLAGS-s_clogl.c): Likewise.
5383 (CFLAGS-s_clog10l.c): Likewise.
5384 (CFLAGS-s_csinl.c): Likewise.
5385 (CFLAGS-s_csqrtl.c): Likewise.
5386
5387 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
5388 2017-01-09 Svante Signell <svante.signell@gmail.com>
5389
5390 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
5391 (_hurd_exec_paths): New function.
5392 * hurd/hurd.h (_hurd_exec): Deprecate function.
5393 (_hurd_exec_paths): Declare function.
5394 * hurd/Versions: Export _hurd_exec_paths.
5395 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
5396 (__execve): Use __getcwd to build absolute path, and use
5397 _hurd_exec_paths instead of _hurd_exec.
5398 * sysdeps/mach/hurd/spawni.c: Likewise.
5399 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
5400 _hurd_exec.
5401
5402 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
5403
5404 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
5405 test instead of failing in case of ENOENT returned by posix_openpt.
5406
5407 2018-01-08 Florian Weimer <fweimer@redhat.com>
5408
5409 resolv: Support binary labels in test framework.
5410 * support/resolv_test.c (struct to_be_freed): Remove.
5411 (struct compressed_name): New.
5412 (allocate_compressed_name, ascii_tolower)
5413 (compare_compressed_name): New functions.
5414 (struct resolv_response_builder): Update type of
5415 compression_offsets for use with tsearch. Rempve to_be_freed.
5416 (response_push_pointer_to_free): Remove function.
5417 (resolv_response_add_name): Rewrite using struct compressed_name
5418 and tsearch instead of hsearch_r.
5419 (response_builder_allocate): Remove initialization of
5420 compression_offsets.
5421 (response_builder_free): Update for removal of to_be_freed. Use
5422 tdestroy instead of hdestroy_r.
5423 * resolv/Makefile (tests): Add tst-resolv-binary.
5424 (tst-resolv-binary): Link with -lresolv -lpthread.
5425
5426 2018-01-08 Florian Weimer <fweimer@redhat.com>
5427
5428 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
5429 time. Pass positive flag instead of negative flag to
5430 support_test_compare_failure.
5431 (support_test_compare_failure): Change negative parameter to
5432 positive.
5433 * support/support_test_compare_failure.c (report)
5434 (support_test_compare_failure): Likewise.
5435 * support/tst-test_compare.c (return_ssize_t, return_int): New.
5436 (do_test): Check int/size_t, ssize_t/size_t comparisons.
5437
5438 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
5439
5440 [BZ #22637]
5441 * nptl/descr.h (stackblock, stackblock_size): Update comments.
5442 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
5443 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
5444 stacksize.
5445 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
5446
5447 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
5448
5449 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5450 Add s_sincosf-sse2 and s_sincosf-fma.
5451 (CFLAGS-s_sincosf-fma.c): New.
5452 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
5453 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5454 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
5455 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
5456 __sincosf is defined.
5457
5458 2018-01-08 Florian Weimer <fweimer@redhat.com>
5459
5460 * nptl/tst-thread-exit-clobber.cc: New file.
5461 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
5462 C++11 mode.
5463 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
5464 (tests): Add tst-thread-exit-clobber.
5465 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
5466
5467 2018-01-08 Florian Weimer <fweimer@redhat.com>
5468
5469 * support/check.h (support_static_assert): Define.
5470 (TEST_COMPARE): Use it.
5471
5472 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
5473
5474 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
5475 [!__RLIM_T_MATCHES_RLIM64_T]
5476 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
5477 __getrlimit64. Add libc_hidden_weak.
5478
5479 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
5480
5481 * elf/elf.h (R_RISCV_NONE): New define.
5482 (R_RISCV_32): Likewise.
5483 (R_RISCV_64): Likewise.
5484 (R_RISCV_RELATIVE): Likewise.
5485 (R_RISCV_COPY): Likewise.
5486 (R_RISCV_JUMP_SLOT): Likewise.
5487 (R_RISCV_TLS_DTPMOD32): Likewise.
5488 (R_RISCV_TLS_DTPMOD64): Likewise.
5489 (R_RISCV_TLS_DTPREL32): Likewise.
5490 (R_RISCV_TLS_DTPREL64): Likewise.
5491 (R_RISCV_TLS_TPREL32): Likewise.
5492 (R_RISCV_TLS_TPREL64): Likewise.
5493 * Makerules (make-link-multidir): Make directories before linking into
5494 them.
5495 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
5496 define.
5497 (VDSO_HASH_LINUX_4_15): Likewise.
5498 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
5499 in subdirectories of lib.
5500 * nptl/Makefile (/librt.so): Always depend on
5501 "$(shared-thread-library)".
5502
5503 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5504
5505 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
5506 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
5507 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
5508 (___tls_get_addr).
5509 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
5510 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
5511 "-O2 -march=i686".
5512 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
5513 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
5514 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
5515 * sysdeps/gnu/glob-lstat-compat.c: New file.
5516 * sysdeps/gnu/glob64-lstat-compat.c: New file.
5517 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
5518
5519 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5520
5521 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
5522 Reserve 16 chars to reloc_addr before calling _itoa_word.
5523
5524 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
5525
5526 [BZ #22678]
5527 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
5528 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
5529
5530 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
5531 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
5532
5533 * resource/tst-getrlimit.c: Add copyright header.
5534
5535 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
5536 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5537
5538 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
5539 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
5540 Define __GI_getrlimit64 as weak alias of __getrlimit64.
5541 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
5542 instead.
5543 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
5544 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
5545 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
5546 RLIM64_INFINITY): Fix values to match the kernel ones.
5547 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
5548 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
5549 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
5550 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
5551 getrlimit64@@GLIBC_2_27.
5552 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
5553 and setrlimit64.
5554 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
5555 getrlimit, setrlimit, getrlimit64 and setrlimit64.
5556 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
5557 setrlimit, getrlimit64 and setrlimit64.
5558
5559 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
5560
5561 [BZ #22648]
5562 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
5563 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
5564
5565 2018-01-04 Joseph Myers <joseph@codesourcery.com>
5566
5567 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
5568 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
5569 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
5570
5571 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5572
5573 [BZ #15479]
5574 [BZ #22666]
5575 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
5576 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
5577
5578 [BZ #15479]
5579 [BZ #22665]
5580 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
5581 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
5582 * sysdeps/alpha/fpu/s_floor.c: Likewise.
5583 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
5584
5585 2018-01-04 Florian Weimer <fweimer@redhat.com>
5586
5587 [BZ #22667]
5588 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
5589 Align the stack before calling exit.
5590 * stdlib/tst-makecontext-align.c: New file.
5591 * stdlib/Makefile (tests): Add tst-makecontext-align.
5592
5593 2018-01-04 Florian Weimer <fweimer@redhat.com>
5594
5595 Add support for calling dlvsym from libc.so.
5596 * include/dlfcn.h (__libc_dlvsym): Declare.
5597 * elf/Makefile (tests-static-internal): Add
5598 tst-libc_dlvsym-static.
5599 (tests-internal): Add tst-libc_dlvsym.
5600 (modules-names): Add tst-libc_dlvsym-dso.
5601 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
5602 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
5603 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
5604 object tst-libc_dlvsym-dso.so needs to be built before running
5605 these tests.
5606 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
5607 * elf/Versions: Export __libc_dlvsym.
5608 * elf/dl-libc.c (struct do_dlvsym_args): New.
5609 (do_dlvsym, __libc_dlvsym): New functions.
5610 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
5611 (_dl_open_hook2): New variable.
5612 (__libc_register_dl_open_hook): Set it.
5613 * elf/tst-libc_dlvsym-dso.c: New file.
5614 * elf/tst-libc_dlvsym-static.c: Likewise.
5615 * elf/tst-libc_dlvsym.c: Likewise.
5616 * elf/tst-libc_dlvsym.h: Likewise.
5617
5618 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
5619
5620 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
5621 include <sys/mount.h>.
5622
5623 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
5624
5625 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
5626 Add __NO_MATH_ERRNO__ check.
5627
5628 2018-01-02 Joseph Myers <joseph@codesourcery.com>
5629
5630 * sysdeps/mips/mips32/libm-test-ulps: Update.
5631 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5632
5633 2018-01-02 Florian Weimer <fweimer@redhat.com>
5634
5635 * misc/tst-pselect.c: Add copyright header.
5636
5637 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
5638
5639 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
5640 comment.
5641 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
5642 comment.
5643 (settrlimit): Rename into setrlimit.
5644 (__sttrlimit): Rename into __setrlimit.
5645
5646 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
5647 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
5648 never defined in that case.
5649
5650 2018-01-02 Joseph Myers <joseph@codesourcery.com>
5651
5652 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5653
5654 * sysdeps/arm/libm-test-ulps: Update.
5655
5656 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
5657 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
5658
5659 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5660
5661 * NEWS: Add cosf and sincosf to list of optimized functions.
5662
5663 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
5664
5665 [BZ #22660]
5666 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
5667 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
5668 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
5669 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
5670
5671 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
5672
5673 [BZ #22433]
5674 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
5675
5676 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
5677 making a copy of it.
5678
5679 2018-01-01 Joseph Myers <joseph@codesourcery.com>
5680
5681 * manual/texinfo.tex: Update to version 2017-12-26.21 with
5682 trailing whitespace removed.
5683 * scripts/config.guess: Update to version 2018-01-01.
5684 * scripts/config.sub: Update to version 2018-01-01.
5685 * scripts/move-if-change: Update from gnulib.
5686
5687 * NEWS: Update copyright dates.
5688 * catgets/gencat.c (print_version): Likewise.
5689 * csu/version.c (banner): Likewise.
5690 * debug/catchsegv.sh: Likewise.
5691 * debug/pcprofiledump.c (print_version): Likewise.
5692 * debug/xtrace.sh (do_version): Likewise.
5693 * elf/ldconfig.c (print_version): Likewise.
5694 * elf/ldd.bash.in: Likewise.
5695 * elf/pldd.c (print_version): Likewise.
5696 * elf/sotruss.sh: Likewise.
5697 * elf/sprof.c (print_version): Likewise.
5698 * iconv/iconv_prog.c (print_version): Likewise.
5699 * iconv/iconvconfig.c (print_version): Likewise.
5700 * locale/programs/locale.c (print_version): Likewise.
5701 * locale/programs/localedef.c (print_version): Likewise.
5702 * login/programs/pt_chown.c (print_version): Likewise.
5703 * malloc/memusage.sh (do_version): Likewise.
5704 * malloc/memusagestat.c (print_version): Likewise.
5705 * malloc/mtrace.pl: Likewise.
5706 * manual/libc.texinfo: Likewise.
5707 * nptl/version.c (banner): Likewise.
5708 * nscd/nscd.c (print_version): Likewise.
5709 * nss/getent.c (print_version): Likewise.
5710 * nss/makedb.c (print_version): Likewise.
5711 * posix/getconf.c (main): Likewise.
5712 * scripts/test-installation.pl: Likewise.
5713 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5714
5715 * All files with FSF copyright notices: Update copyright dates
5716 using scripts/update-copyrights.
5717 * locale/programs/charmap-kw.h: Regenerated.
5718 * locale/programs/locfile-kw.h: Likewise.
5719
5720 2017-12-31 Zack Weinberg <zackw@panix.com>
5721
5722 * libio/bits/libio-ldbl.h: Correct check for improper
5723 inclusion. Add own multiple include guard.
5724
5725 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
5726 Dmitry V. Levin <ldv@altlinux.org>
5727
5728 [BZ #22625]
5729 CVE-2017-16997
5730 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
5731 string token expansion. Check for NULL pointer or empty string possibly
5732 returned by expand_dynamic_string_token.
5733 (decompose_rpath): Check for empty path after dynamic string
5734 token expansion.
5735
5736 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
5737
5738 [BZ #22433]
5739 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
5740
5741 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
5742 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
5743 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
5744 and PTRACE_SYSCALL.
5745 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
5746 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5749 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5750 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
5751
5752 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
5753 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
5754 __ptrace_peeksiginfo_flags, ptrace): Move to ...
5755 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
5756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5757 bits/ptrace-shared.h.
5758 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
5759 <bits/ptrace-shared.h>.
5760 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
5761 __ptrace_peeksiginfo_flags, ptrace): Remove.
5762 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5763 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5764 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5765 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5766 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
5767
5768 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
5769
5770 [BZ #17804]
5771 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
5772 end of the loop. Improve comments.
5773
5774 2017-12-29 Zack Weinberg <zackw@panix.com>
5775
5776 [BZ #22615]
5777 * manual/errno.texi (Checking for Errors): Explicitly say that errno
5778 might be set on success.
5779
5780 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
5781
5782 [BZ #22611]
5783 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
5784 is unchanged on success.
5785
5786 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
5787
5788 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
5789 updated.
5790 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
5791 expand_dynamic_string_token): Likewise.
5792 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
5793 is_path argument.
5794
5795 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
5796 contains ':'.
5797
5798 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
5799 is set and name contains ':', and all code depending on these checks.
5800
5801 2017-12-24 Zack Weinberg <zackw@panix.com>
5802
5803 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
5804 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
5805 respectively.
5806 * libio/libio.h: Rename the original version of this file to
5807 libio/bits/libio.h. Error out if not included by stdio.h or the
5808 stub libio.h.
5809 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
5810 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
5811 if not included by bits/libio.h or the stub _G_config.h.
5812 * sysdeps/unix/sysv/linux/_G_config.h: Move to
5813 sysdeps/unix/sysv/linux/bits. Error out if not included by
5814 bits/libio.h or the stub _G_config.h.
5815 * libio/stdio.h: Include bits/libio.h, not libio.h.
5816 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
5817 well as libio.h and _G_config.h.
5818
5819 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
5820 * libio/strfile.h, stdio-common/vfscanf.c
5821 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
5822 Include stdio.h, not _G_config.h nor libio.h.
5823 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
5824 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
5825
5826 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
5827
5828 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
5829
5830 [BZ #22347]
5831 * stdlib/getrandom.c (getrandom): Fix comment.
5832 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
5833
5834 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
5835
5836 [BZ #21161]
5837 * manual/arith.texi (strtoul): Fix a typo.
5838
5839 [BZ #22596]
5840 * manual/arith.texi (finite): Fix the description of the return
5841 value.
5842
5843 2017-12-22 Eric Blake <ebb9@byu.net>
5844
5845 Avoid gcc warnings on cygwin
5846 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
5847 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
5848 Avoid unused variable.
5849
5850 2017-12-22 Florian Weimer <fweimer@redhat.com>
5851
5852 * io/Makefile (routines): Add copy_file_range.
5853 (tests): Add tst-copy_file_range.
5854 (tests-static, tests-internal): Add tst-copy_file_range-compat.
5855 * io/Versions (GLIBC_2.27): Export copy_file_range.
5856 * io/copy_file_range-compat.c: New file.
5857 * io/copy_file_range.c: Likewise.
5858 * io/tst-copy_file_range-compat.c: Likewise.
5859 * io/tst-copy_file_range.c: Likewise.
5860 * manual/llio.texi (Copying File Data): New section.
5861 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
5862 * support/Makefile (libsupport-routines): Add support-xfstat,
5863 xftruncate, xlseek.
5864 * support/support-xfstat.c: New file.
5865 * support/xftruncate.c: Likewise.
5866 * support/xlseek.c: Likewise.
5867 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
5868 * sysdeps/unix/sysv/linux/**.abilist: Update.
5869 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
5870
5871 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
5872
5873 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5874 disable-multi-arch variant to aarch64-linux-gnu.
5875
5876 2017-12-20 Joseph Myers <joseph@codesourcery.com>
5877
5878 * manual/texinfo.tex: Update to version 2017-12-18.20 with
5879 trailing whitespace removed.
5880 * scripts/config.guess: Update to version 2017-12-17.
5881 * scripts/config.sub: Update to version 2017-11-23.
5882 * scripts/install-sh: Update to version 2017-09-23.17.
5883 * scripts/move-if-change: Update to version 2017-09-13 06:45.
5884
5885 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5886
5887 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
5888 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
5889 * sysdeps/tile/_mcount.S (__mcount): Likewise.
5890 * sysdeps/tile/crti.S (_init, _fini): Likewise.
5891 * sysdeps/tile/crtn.S: Likewise.
5892 * sysdeps/tile/dl-start.S (_start): Likewise.
5893 * sysdeps/tile/dl-trampoline.S: Likewise.
5894 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
5895 * sysdeps/tile/start.S (_start): Likewise.
5896 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
5897 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
5898 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
5899 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
5900 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
5901 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
5902 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
5903
5904 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
5905 comment.
5906 * sysdeps/tile/preconfigure: Remove tilegx folder.
5907 * sysdeps/tile/tilegx/Implies: Move definitions to ...
5908 * sysdeps/tile/Implies: ... here.
5909 * sysdeps/tile/tilegx/Makefile: Move rules to ...
5910 * sysdeps/tile/Makefile: ... here.
5911 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
5912 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
5913 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
5914 * sysdeps/tile/bits/wordsize.h: ... here.
5915 * sysdeps/tile/tilegx/*: Move to ...
5916 * sysdeps/tile/*: ... here.
5917 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
5918 * sysdeps/tile/tilegx32/Implies: ... here.
5919 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
5920 * sysdeps/tile/tilegx64/Implies: ... here.
5921 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
5922 to ...
5923 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5924 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
5925 * sysdeps/unix/sysv/linux/tile/*: ... here.
5926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
5927 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
5928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
5929 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
5930
5931 * README: Remove tilepro-*-linux-gnu from supported architecture.
5932 * scripts/build-many-glibcs.py: Likewise.
5933 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
5934 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
5935 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
5936 elf_machine_matches_host, elf_machine_dynamic,
5937 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
5938 howto, elf_machine_rela): Likewise.
5939 * sysdeps/tile/dl-start.S (_start): Likewise.
5940 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
5941 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
5942 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
5943 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
5944 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
5945 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5946 Likewise.
5947 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
5948 * sysdeps/tile/preconfigure: Likewise.
5949 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
5950 POINTER_CHK_GUARD): Likewise.
5951 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
5952 * sysdeps/tile/start.S (_start): Likewise.
5953 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
5954 Likewise.
5955 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
5956 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
5957 CMOVNEZ): Remove.
5958 * sysdeps/unix/sysv/linux/tile/bits/environments.h
5959 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
5960 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
5961 Likewise.
5962 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
5963 * sysdeps/tile/tilepro/Implies: Remove file.
5964 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
5965 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
5966 * sysdeps/tile/tilepro/memchr.c: Likewise.
5967 * sysdeps/tile/tilepro/memcpy.S: Likewise.
5968 * sysdeps/tile/tilepro/memset.c: Likewise.
5969 * sysdeps/tile/tilepro/memusage.h: Likewise.
5970 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
5971 * sysdeps/tile/tilepro/strchr.c: Likewise.
5972 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
5973 * sysdeps/tile/tilepro/strlen.c: Likewise.
5974 * sysdeps/tile/tilepro/strrchr.c: Likewise.
5975 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
5976 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
5977 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
5978 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
5979 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
5980 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5981 Likewise.
5982 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
5983 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5984 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
5985 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
5986 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5987 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
5988 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
5989 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
5990 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
5991 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
5992 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
5993 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
5994 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
5995 tilepro mention in comment.
5996
5997 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
5998 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
5999 * nptl/pthread_join_common.c: New file: common function used on
6000 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
6001 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
6002 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
6003 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6004 (cleanup): Move definition to pthread_join_common.c.
6005 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
6006 Remove superflous checks.
6007 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
6008 Likewise.
6009
6010 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
6011
6012 * sysdeps/aarch64/libm-test-ulps: Update.
6013
6014 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6015
6016 * sysdeps/aarch64/memset.S (MEMSET): Define.
6017
6018 2017-12-20 Florian Weimer <fweimer@redhat.com>
6019
6020 [BZ #22635]
6021 nptl: Provide full implementation of pthread_self in libc.so.
6022 * nptl/Makefile (routines): Add pthread_self.
6023 (libpthread-routines): Replace pthread_self with
6024 compat-pthread_self.
6025 * nptl/forward.c (pthread_self): Remove.
6026 * nptl/nptl-init.c (pthread_functions): Do not initialize
6027 ptr_pthread_self.
6028 * nptl/pthread_self.c (pthread_self): Remove weak alias.
6029 * nptl/compat-pthread_self.c: New file.
6030 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
6031 Remove ptr_pthread_self.
6032
6033 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
6034
6035 * posix/regcomp.c: Fix spelling in comments.
6036 * posix/regex.h: Likewise.
6037 * posix/regex_internal.c: Likewise.
6038 * posix/regexec.c: Likewise.
6039
6040 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6041
6042 [BZ #22377]
6043 * math/Makefile [C++] (tests): Add test for iseqsig.
6044 * math/math.h [C++] (iseqsig): New implementation, which does
6045 not rely on __MATH_TG/__builtin_types_compatible_p.
6046 * math/test-math-iseqsig.cc: New file.
6047 * sysdeps/powerpc/powerpc64le/Makefile
6048 (CFLAGS-test-math-iseqsig.cc): New variable.
6049
6050 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
6051
6052 * elf/dl-load.c (is_trusted_path): Remove.
6053 (fillin_rpath): Remove check_trusted argument and its use,
6054 all callers changed.
6055
6056 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
6057
6058 [BZ #22630]
6059 * Makeconfig (link-pie-before-libc): Replace -pie with
6060 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
6061 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
6062 (tst-dlopen-aout-no-pie): New.
6063 (LDFLAGS-tst-prelink): Removed.
6064 (tst-prelink-no-pie): New.
6065 (LDFLAGS-tst-main1): Removed.
6066 (tst-main1-no-pie): New.
6067 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
6068 (tst-gmon-no-pie): New.
6069
6070 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
6071
6072 * manual/install.texi: Document that --enable-static-pie
6073 implies PIE.
6074 * INSTALL: Regenerated.
6075
6076 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
6077
6078 [BZ #21309]
6079 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
6080 unsigned.
6081
6082 2017-12-19 Joseph Myers <joseph@codesourcery.com>
6083
6084 Revert:
6085
6086 2017-12-19 Joseph Myers <joseph@codesourcery.com>
6087
6088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6089
6090 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
6091
6092 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
6093 <errno.h>. Include "eexp.tbl".
6094 (half): New constant.
6095 (one): Likewise.
6096 (__ieee754_exp): Rewrite.
6097 (__slowexp): Remove prototype.
6098 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
6099 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
6100 * sysdeps/i386/fpu/slowexp.c: Likewise.
6101 * sysdeps/ia64/fpu/slowexp.c: Likewise.
6102 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
6103 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
6104 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
6105 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6106 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
6107 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
6108 comment.
6109 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
6110 (CPPFLAGS-slowexp.c): Remove variable.
6111 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6112 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
6113 (CFLAGS-slowexp-fma.c): Remove variable.
6114 (CFLAGS-slowexp-fma4.c): Likewise.
6115 (CFLAGS-slowexp-avx.c): Likewise.
6116 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
6117 define as macro.
6118 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
6119 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
6120 * math/Makefile (type-double-routines): Remove slowexp.
6121 * manual/probes.texi (slowexp_p6): Remove.
6122 (slowexp_p32): Likewise.
6123
6124 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6125
6126 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
6127 arithmetic.
6128
6129 * lib/glob.c (glob): Do not pass NULL to mempcpy.
6130
6131 2017-12-19 Joseph Myers <joseph@codesourcery.com>
6132
6133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6134
6135 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
6136
6137 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
6138 <errno.h>. Include "eexp.tbl".
6139 (half): New constant.
6140 (one): Likewise.
6141 (__ieee754_exp): Rewrite.
6142 (__slowexp): Remove prototype.
6143 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
6144 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
6145 * sysdeps/i386/fpu/slowexp.c: Likewise.
6146 * sysdeps/ia64/fpu/slowexp.c: Likewise.
6147 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
6148 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
6149 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
6150 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6151 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
6152 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
6153 comment.
6154 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
6155 (CPPFLAGS-slowexp.c): Remove variable.
6156 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6157 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
6158 (CFLAGS-slowexp-fma.c): Remove variable.
6159 (CFLAGS-slowexp-fma4.c): Likewise.
6160 (CFLAGS-slowexp-avx.c): Likewise.
6161 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
6162 define as macro.
6163 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
6164 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
6165 * math/Makefile (type-double-routines): Remove slowexp.
6166 * manual/probes.texi (slowexp_p6): Remove.
6167 (slowexp_p32): Likewise.
6168
6169 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6170 James Clarke <jrtc27@jrtc27.com>
6171
6172 [BZ #22603]
6173 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
6174 addition.
6175
6176 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6177
6178 [BZ #22605]
6179 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
6180 code.
6181
6182 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
6183
6184 [BZ #22563]
6185 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
6186 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
6187 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
6188 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
6189 to feature_1.
6190
6191 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
6192
6193 [BZ #22563]
6194 * bits/types/__cancel_jmp_buf_tag.h: New file.
6195 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
6196 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
6197 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
6198 * nptl/Makefile (headers): Add
6199 bits/types/__cancel_jmp_buf_tag.h.
6200 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
6201 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
6202 * sysdeps/nptl/pthread.h: Include
6203 <bits/types/__cancel_jmp_buf_tag.h>.
6204 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
6205 __cancel_jmp_buf.
6206 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
6207
6208 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
6209
6210 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6211 --enable-static-pie variants to x86_64, x32 and i686.
6212
6213 2017-12-19 Joseph Myers <joseph@codesourcery.com>
6214
6215 [BZ #22631]
6216 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
6217 argument for attrubutes. All callers changed.
6218 (__inline_mathop1): Likewise. All callers changed.
6219 (__inline_mathop): Likewise. All callers changed.
6220 [__USE_MISC] (scalbn): Use __inline_forward instead of
6221 __inline_forward_c.
6222 [__USE_ISOC99] (scalbln): Likewise.
6223 [__USE_ISOC99] (nearbyint): Likewise.
6224 [__USE_ISOC99] (lrint): Likewise.
6225 [__USE_MISC] (scalbnf): Likewise.
6226 [__USE_ISOC99] (scalblnf): Likewise.
6227 [__USE_ISOC99] (nearbyintf): Likewise.
6228 [__USE_ISOC99] (lrintf): Likewise.
6229 [__USE_MISC] (scalbnl): Likewise.
6230 [__USE_ISOC99] (scalblnl): Likewise.
6231 [__USE_ISOC99] (nearbyintl): Likewise.
6232 [__USE_ISOC99] (lrintl): Likewise.
6233 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
6234 __inline_mathop and __m81_defun changed.
6235
6236 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
6237 CPU or FPU for ARM hard-float configurations.
6238
6239 2017-12-18 Joseph Myers <joseph@codesourcery.com>
6240
6241 * nptl/tst-attr3.c: Include <libc-diag.h>.
6242 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
6243
6244 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
6245
6246 * string/tester.c (test_strncat): Also disable -Warray-bounds
6247 warnings for two tests.
6248
6249 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
6250
6251 [BZ #22614]
6252 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
6253 $(cc-pie-default) == yes.
6254 * config.make.in (cc-pie-default): New.
6255 * configure.ac (libc_cv_pie_default): Renamed to ...
6256 (libc_cv_cc_pie_default): This.
6257 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
6258 * configure: Regenerated.
6259
6260 2017-12-18 Florian Weimer <fweimer@redhat.com>
6261
6262 [BZ #20204]
6263 ld.so: Harden dl-libc/libdl hooks.
6264 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
6265 (rtld_active): New function.
6266 * dlfcn/dladdr.c (__dladdr): Call it.
6267 * dlfcn/dladdr1.c (__dladdr1): Likewise.
6268 * dlfcn/dlclose.c (__dlcose): Likewise.
6269 * dlfcn/dlerror.c (__dlerror): Likewise.
6270 * dlfcn/dlinfo.c (__dlinfo): Likewise.
6271 * dlfcn/dlmopen.c (__dlmopen): Likewise.
6272 * dlfcn/dlopen.c (__dlopen): Likewise.
6273 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6274 * dlfcn/dlsym.c (__dlsym): Likewise.
6275 * dlfcn/dlvsym.c (__dlvsym): Likewise.
6276 * libio/vtables.c (_IO_vtable_check): Likewise.
6277 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
6278 (__libc_dlclose): Likewise.
6279 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
6280 assignment.
6281
6282 2017-12-18 Joseph Myers <joseph@codesourcery.com>
6283
6284 [BZ #22446]
6285 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
6286 buffers for readlink input and output.
6287
6288 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
6289
6290 [BZ #22624]
6291 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
6292 inhibit_stack_protector.
6293
6294 [BZ #22624]
6295 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
6296 inhibit_stack_protector.
6297
6298 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
6299
6300 [BZ #22627]
6301 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
6302 code and invocation.
6303
6304 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
6305
6306 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
6307
6308 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
6309
6310 [BZ #22505]
6311 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
6312
6313 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6314
6315 * sysdeps/s390/fpu/libm-test-ulps: Update.
6316
6317 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6318
6319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6320
6321 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6322
6323 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
6324 constants to s_sincosf.h file.
6325 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6326 * sysdeps/ieee754/flt-32/s_sincosf.c: New
6327 implementation.
6328 * sysdeps/ieee754/flt-32/s_sincosf.h:
6329 New file.
6330
6331 2017-12-12 Carlos O'Donell <carlos@redhat.com>
6332
6333 [BZ #14681]
6334 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
6335 before mtrace.
6336
6337 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
6338
6339 [BZ #19574]
6340 * INSTALL: Regenerated.
6341 * Makeconfig (real-static-start-installed-name): New.
6342 (pic-default): Updated for --enable-static-pie.
6343 (pie-default): New for --enable-static-pie.
6344 (default-pie-ldflag): Likewise.
6345 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
6346 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
6347 Replace $(static-start-installed-name) with
6348 $(real-static-start-installed-name).
6349 (+prectorT): Updated for --enable-static-pie.
6350 (+postctorT): Likewise.
6351 (CFLAGS-.o): Add $(pie-default).
6352 (CFLAGS-.op): Likewise.
6353 * NEWS: Mention --enable-static-pie.
6354 * config.h.in (ENABLE_STATIC_PIE): New.
6355 * configure.ac (--enable-static-pie): New configure option.
6356 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
6357 (have-static-pie): Likewise.
6358 Enable static PIE if linker supports --no-dynamic-linker.
6359 (ENABLE_STATIC_PIE): New AC_DEFINE.
6360 (enable-static-pie): New LIBC_CONFIG_VAR.
6361 * configure: Regenerated.
6362 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
6363 gr$(start-installed-name) for --enable-static-pie.
6364 (extra-objs): Likewise.
6365 (install-lib): Likewise.
6366 (extra-objs): Add static-reloc.o and static-reloc.os
6367 ($(objpfx)$(start-installed-name)): Also depend on
6368 $(objpfx)static-reloc.o.
6369 ($(objpfx)r$(start-installed-name)): New.
6370 ($(objpfx)g$(start-installed-name)): Also depend on
6371 $(objpfx)static-reloc.os.
6372 ($(objpfx)gr$(start-installed-name)): New.
6373 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
6374 in libc.a.
6375 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
6376 initimage.
6377 * csu/static-reloc.c: New file.
6378 * elf/Makefile (routines): Add dl-reloc-static-pie.
6379 (elide-routines.os): Likewise.
6380 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
6381 (tst-tls1-static-non-pie-no-pie): New.
6382 * elf/dl-reloc-static-pie.c: New file.
6383 * elf/dl-support.c (_dl_get_dl_main_map): New function.
6384 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
6385 STATIC_PIE_BOOTSTRAP.
6386 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
6387 * gmon/Makefile (tests): Add tst-gmon-static-pie.
6388 (tests-static): Likewise.
6389 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
6390 (tst-gmon-static-no-pie): New.
6391 (CFLAGS-tst-gmon-static-pie.c): Likewise.
6392 (CRT-tst-gmon-static-pie): Likewise.
6393 (tst-gmon-static-pie-ENV): Likewise.
6394 (tests-special): Likewise.
6395 ($(objpfx)tst-gmon-static-pie.out): Likewise.
6396 (clean-tst-gmon-static-pie-data): Likewise.
6397 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
6398 * gmon/tst-gmon-static-pie.c: New file.
6399 * manual/install.texi: Document --enable-static-pie.
6400 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
6401 (_dl_get_dl_main_map): Likewise.
6402 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
6403 * sysdeps/x86_64/configure.ac: Likewise.
6404 * sysdeps/i386/configure: Regenerated.
6405 * sysdeps/x86_64/configure: Likewise.
6406 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
6407 (ASFLAGS-.op): Likewise.
6408
6409 2017-12-15 Joseph Myers <joseph@codesourcery.com>
6410
6411 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
6412 * posix/tst-mmap-offset.c (fname): Use /tmp.
6413 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
6414
6415 2017-12-15 Steve Ellcey <sellcey@cavium.com>
6416
6417 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
6418
6419 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
6420
6421 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
6422 errno.
6423
6424 2017-12-15 Joseph Myers <joseph@codesourcery.com>
6425
6426 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
6427 --with-float=hard for arm-linux-gnueabihf configurations.
6428
6429 [BZ #14121]
6430 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
6431 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
6432 ($(mo-installed)): Use $(objpfx)%.mo.
6433 (realclean): Remove rule.
6434
6435 * po/Makefile (linguas): Remove rule and dependencies.
6436 (linguas.mo): Likewise.
6437 (.PHONY): Do not depend on linguas and linguas.mo.
6438 (podir): Remove variable.
6439 (pofiles): Likewise.
6440 [$(pofiles)] (%.po): Remove rule.
6441
6442 * sysdeps/sparc/sparc32/Makefile
6443 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
6444 start-of-line whitespace in argument of echo.
6445 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
6446 with whitespace. Generate __wrap_.udiv alias.
6447 * sysdeps/sparc/sparc32/rem.S: Regenerated.
6448 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6449 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6450 * sysdeps/sparc/sparc32/urem.S: Likewise.
6451
6452 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6453
6454 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
6455 for aligned inputs.
6456
6457 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6458
6459 * benchtests/bench-strcmp.c: Print output in JSON format.
6460
6461 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
6462
6463 2017-12-14 Florian Weimer <fweimer@redhat.com>
6464
6465 [BZ #22607]
6466 CVE-2017-1000409
6467 * elf/dl-load.c (_dl_init_paths): Compute number of components in
6468 the expanded path string.
6469
6470 2017-12-14 Florian Weimer <fweimer@redhat.com>
6471
6472 [BZ #22606]
6473 CVE-2017-1000408
6474 * elf/dl-load.c (system_dirs): Update comment.
6475 (nsystem_dirs_len): Use array_length.
6476 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
6477
6478 2017-12-14 Florian Weimer <fweimer@redhat.com>
6479
6480 Simplify compiling most of support/ outside of glibc.
6481 * support/check_addrinfo.c: Include <string.h>.
6482 * support/check_dns_packet.c: Likewise.
6483 * support/check_hostent.c: Likewise.
6484 * support/support_can_chroot.c: Include <support/xunistd.h>.
6485 * support/support_format_addrinfo.c: Include <stdlib.h>
6486 * support/support_format_dns_packet.c: Include <stdbool.h>.
6487 * support/support_format_hostent.c: Include <stdlib.h>.
6488 * support/support_format_netent.c: Likewise.
6489 * support/support_write_string.c: Include <support/xunistd.h>.
6490 * support/xdlfcn.c: Include <stddef.h>.
6491
6492 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
6493
6494 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
6495
6496 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
6497 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6498
6499 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
6500 (sysdeps_routines): Add memset-niagara7.
6501 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
6502 Likewise.
6503 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
6504 file.
6505 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
6506 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
6507 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
6508 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
6509 Add niagara7 option.
6510 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
6511 memset.
6512
6513 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
6514 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
6515 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
6516 Likewise.
6517 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
6518 New file.
6519 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
6520 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
6521 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
6522 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
6523 and __memmove_niagara7.
6524 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
6525 Add niagara7 option.
6526 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
6527 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
6528 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
6529 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
6530 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
6531
6532 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
6533
6534 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
6535 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
6536 * sysdeps/sparc/sparc64/memmove.S: Likewise.
6537 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
6538
6539 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
6540 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
6541 _dl_sparc_cap_flags array.
6542 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
6543
6544 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
6545
6546 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
6547 time whenever possible.
6548
6549 2017-12-12 Carlos O'Donell <carlos@redhat.com>
6550
6551 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
6552 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
6553
6554 2017-12-12 Joseph Myers <joseph@codesourcery.com>
6555
6556 * soft-fp/fmadf4.c: Move to ....
6557 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
6558 * soft-fp/fmasf4.c: Move to ....
6559 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
6560 * soft-fp/fmatf4.c: Move to ....
6561 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
6562 * sysdeps/ieee754/soft-fp/Makefile: New file.
6563 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
6564 * sysdeps/arm/preconfigure: Regenerated.
6565 * sysdeps/arm/nofpu/Implies: New file.
6566 * sysdeps/arm/s_fma.c: Remove file.
6567 * sysdeps/arm/s_fmaf.c: Likewise.
6568 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
6569 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
6570 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6571 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
6572 * sysdeps/microblaze/s_fma.c: Remove file.
6573 * sysdeps/microblaze/s_fmaf.c: Likewise.
6574 * sysdeps/mips/mips32/nofpu/Implies: New file.
6575 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
6576 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
6577 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
6578 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
6579 * sysdeps/mips/ieee754/s_fma.c: Remove file.
6580 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
6581 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
6582 implementation.
6583 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
6584 * sysdeps/nios2/s_fma.c: Remove file.
6585 * sysdeps/nios2/s_fmaf.c: Likewise.
6586 * sysdeps/sh/nofpu/Implies: New file.
6587 * sysdeps/sh/s_fma.c: Remove file.
6588 * sysdeps/sh/s_fmaf.c: Likewise.
6589 * sysdeps/tile/Implies: Add ieee754/soft-fp.
6590 * sysdeps/tile/s_fma.c: Remove file.
6591 * sysdeps/tile/s_fmaf.c: Likewise.
6592
6593 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
6594
6595 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6596 Add s_cosf-sse2 and s_cosf-fma.
6597 (CFLAGS-s_cosf-fma.c): New.
6598 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
6599 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
6600 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
6601
6602 2017-12-12 Steve Ellcey <sellcey@cavium.com>
6603
6604 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
6605
6606 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6607
6608 * libio/Makefile (tests): Add tst-bz22415.
6609 (tst-bz22415-ENV): New rule.
6610 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
6611 (tests-special): Add tst-bz22415-mem.out.
6612 ($(objpfx)tst-bz22415-mem.out): New rule.
6613 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
6614 in case of a successful seek operation.
6615 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6616 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
6617 buffer is required.
6618 * libio/tst-bz22415.c: New test.
6619
6620 * sysdeps/ia64/fpu/libm-test-ulps: Update.
6621
6622 2017-12-12 James Clarke <jrtc27@jrtc27.com>
6623
6624 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
6625 __IPC_64 to 0 to avoid IPC_64 being set.
6626
6627 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6628
6629 [BZ #22593]
6630 * math/bits/mathcalls.h (nextafter): Remove const.
6631 (nexttoward): Likewise.
6632
6633 2017-12-12 Joseph Myers <joseph@codesourcery.com>
6634
6635 * configure.ac (--with-fp): Remove configure option.
6636 (with_fp_cond): New variable.
6637 (libc_cv_with_fp): New configure test. Use this variable instead
6638 of with_fp.
6639 * configure: Regenerated.
6640 * config.make.in (with-fp): Use @libc_cv_with_fp@.
6641 * manual/install.texi (Configuring and compiling): Remove
6642 --without-fp.
6643 * INSTALL: Regenerated.
6644 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
6645 * sysdeps/mips/preconfigure (with_fp_cond): Define.
6646 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
6647 * sysdeps/sh/preconfigure (with_fp_cond): Define.
6648 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
6649 use --without-fp to configure glibc.
6650
6651 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
6652
6653 * manual/locale.texi (nl_langinfo): Fix a typo.
6654
6655 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
6656
6657 [BZ #22588]
6658 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
6659
6660 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
6661
6662 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
6663 (CFLAGS-argp-parse.c): Likewise.
6664 (CFLAGS-argp-fmtstream.c): Likewise.
6665 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
6666 (CPPFLAGS-sha512-crypt.c): Likewise.
6667 (CPPFLAGS-md5-crypt.c): Likewise.
6668 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
6669 (CFLAGS-stack_chk_fail_local.c): Likewise.
6670 (CFLAGS-backtrace.c): Likewise.
6671 (CFLAGS-sprintf_chk.c): Likewise.
6672 (CFLAGS-snprintf_chk.c): Likewise.
6673 (CFLAGS-vsprintf_chk.c): Likewise.
6674 (CFLAGS-vsnprintf_chk.c): Likewise.
6675 (CFLAGS-asprintf_chk.c): Likewise.
6676 (CFLAGS-vasprintf_chk.c): Likewise.
6677 (CFLAGS-obprintf_chk.c): Likewise.
6678 (CFLAGS-dprintf_chk.c): Likewise.
6679 (CFLAGS-vdprintf_chk.c): Likewise.
6680 (CFLAGS-printf_chk.c): Likewise.
6681 (CFLAGS-fprintf_chk.c): Likewise.
6682 (CFLAGS-vprintf_chk.c): Likewise.
6683 (CFLAGS-vfprintf_chk.c): Likewise.
6684 (CFLAGS-gets_chk.c): Likewise.
6685 (CFLAGS-fgets_chk.c): Likewise.
6686 (CFLAGS-fgets_u_chk.c): Likewise.
6687 (CFLAGS-fread_chk.c): Likewise.
6688 (CFLAGS-fread_u_chk.c): Likewise.
6689 (CFLAGS-swprintf_chk.c): Likewise.
6690 (CFLAGS-vswprintf_chk.c): Likewise.
6691 (CFLAGS-wprintf_chk.c): Likewise.
6692 (CFLAGS-fwprintf_chk.c): Likewise.
6693 (CFLAGS-vwprintf_chk.c): Likewise.
6694 (CFLAGS-vfwprintf_chk.c): Likewise.
6695 (CFLAGS-fgetws_chk.c): Likewise.
6696 (CFLAGS-fgetws_u_chk.c): Likewise.
6697 (CFLAGS-read_chk.c): Likewise.
6698 (CFLAGS-pread_chk.c): Likewise.
6699 (CFLAGS-pread64_chk.c): Likewise.
6700 (CFLAGS-recv_chk.c): Likewise.
6701 (CFLAGS-recvfrom_chk.c): Likewise.
6702 (CFLAGS-tst-longjmp_chk.c): Likewise.
6703 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
6704 (CFLAGS-tst-longjmp_chk2.c): Likewise.
6705 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
6706 (CFLAGS-tst-longjmp_chk3.c): Likewise.
6707 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6708 (CFLAGS-tst-chk1.c): Likewise.
6709 (CFLAGS-tst-chk2.c): Likewise.
6710 (CFLAGS-tst-chk3.c): Likewise.
6711 (CFLAGS-tst-chk4.cc): Likewise.
6712 (CFLAGS-tst-chk5.cc): Likewise.
6713 (CFLAGS-tst-chk6.cc): Likewise.
6714 (CFLAGS-tst-lfschk1.c): Likewise.
6715 (CFLAGS-tst-lfschk2.c): Likewise.
6716 (CFLAGS-tst-lfschk3.c): Likewise.
6717 (CFLAGS-tst-lfschk4.cc): Likewise.
6718 (CFLAGS-tst-lfschk5.cc): Likewise.
6719 (CFLAGS-tst-lfschk6.cc): Likewise.
6720 (CFLAGS-tst-ssp-1.c): Likewise.
6721 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
6722 (CFLAGS-scandir64.c): Likewise.
6723 (CFLAGS-scandir-tail.c): Likewise.
6724 (CFLAGS-scandir64-tail.c): Likewise.
6725 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
6726 (CFLAGS-dl-tunables.c): Likewise.
6727 (CFLAGS-dl-runtime.c): Likewise.
6728 (CFLAGS-dl-lookup.c): Likewise.
6729 (CFLAGS-dl-iterate-phdr.c): Likewise.
6730 (CFLAGS-vismain.c): Likewise.
6731 (CFLAGS-tst-linkall-static.c): Likewise.
6732 (CFLAGS-tst-linkall-static.c): Likewise.
6733 (CPPFLAGS-dl-load.c): Likewise.
6734 (CFLAGS-ldconfig.c): Likewise.
6735 (CFLAGS-dl-cache.c): Likewise.
6736 (CFLAGS-cache.c): Likewise.
6737 (CFLAGS-rtld.c): Likewise.
6738 (CFLAGS-multiload.c): Likewise.
6739 (CFLAGS-filtmod1.c): Likewise.
6740 (CFLAGS-tst-align.c): Likewise.
6741 (CFLAGS-tst-align2.c): Likewise.
6742 (CFLAGS-tst-alignmod.c): Likewise.
6743 (CFLAGS-tst-alignmod2.c): Likewise.
6744 (CPPFLAGS-tst-execstack.c): Likewise.
6745 (CFLAGS-tst-ptrguard1-static.c): Likewise.
6746 (CFLAGS-tst-latepthreadmod.c): Likewise.
6747 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
6748 (CFLAGS-getgrnam_r.c): Likewise.
6749 (CFLAGS-getgrent_r.c): Likewise.
6750 (CFLAGS-getgrent.c): Likewise.
6751 (CFLAGS-fgetgrent.c): Likewise.
6752 (CFLAGS-fgetgrent_r.c): Likewise.
6753 (CFLAGS-putgrent.c): Likewise.
6754 (CFLAGS-initgroups.c): Likewise.
6755 (CFLAGS-getgrgid.c): Likewise.
6756 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
6757 (CFLAGS-getsgent.c): Likewise.
6758 (CFLAGS-fgetsgent.c): Likewise.
6759 (CFLAGS-fgetsgent_r.c): Likewise.
6760 (CFLAGS-putsgent.c): Likewise.
6761 (CFLAGS-getsgnam.c): Likewise.
6762 (CFLAGS-getsgnam_r.c): Likewise.
6763 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
6764 (CFLAGS-iconv_charmap.c): Likewise.
6765 (CFLAGS-dummy-repertoire.c): Likewise.
6766 (CFLAGS-charmap.c): Likewise.
6767 (CFLAGS-linereader.c): Likewise.
6768 (CFLAGS-simple-hash.c): Likewise.
6769 (CFLAGS-gconv_conf.c): Likewise.
6770 (CFLAGS-iconvconfig.c): Likewise.
6771 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6772 (CFLAGS-gethstbyad.c): Likewise.
6773 (CFLAGS-gethstbynm_r.c): Likewise.
6774 (CFLAGS-gethstbynm.c): Likewise.
6775 (CFLAGS-gethstbynm2_r.c): Likewise.
6776 (CFLAGS-gethstbynm2.c): Likewise.
6777 (CFLAGS-gethstent_r.c): Likewise.
6778 (CFLAGS-gethstent.c): Likewise.
6779 (CFLAGS-rcmd.c): Likewise.
6780 (CFLAGS-getnetbynm_r.c): Likewise.
6781 (CFLAGS-getnetbynm.c): Likewise.
6782 (CFLAGS-getnetbyad_r.c): Likewise.
6783 (CFLAGS-getnetbyad.c): Likewise.
6784 (CFLAGS-getnetent_r.c): Likewise.
6785 (CFLAGS-getnetent.c): Likewise.
6786 (CFLAGS-getaliasent_r.c): Likewise.
6787 (CFLAGS-getaliasent.c): Likewise.
6788 (CFLAGS-getrpcent_r.c): Likewise.
6789 (CFLAGS-getrpcent.c): Likewise.
6790 (CFLAGS-getservent_r.c): Likewise.
6791 (CFLAGS-getservent.c): Likewise.
6792 (CFLAGS-getprtent_r.c): Likewise.
6793 (CFLAGS-getprtent.c): Likewise.
6794 (CFLAGS-either_ntoh.c): Likewise.
6795 (CFLAGS-either_hton.c): Likewise.
6796 (CFLAGS-getnetgrent.c): Likewise.
6797 (CFLAGS-getnetgrent_r.c): Likewise.
6798 (CFLAGS-tst-checks-posix.c): Likewise.
6799 (CFLAGS-tst-sockaddr.c): Likewise.
6800 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
6801 (CFLAGS-tst-translit.c): Likewise.
6802 (CFLAGS-tst-gettext2.c): Likewise.
6803 (CFLAGS-tst-codeset.c): Likewise.
6804 (CFLAGS-tst-gettext3.c): Likewise.
6805 (CFLAGS-tst-gettext4.c): Likewise.
6806 (CFLAGS-tst-gettext5.c): Likewise.
6807 (CFLAGS-tst-gettext6.c): Likewise.
6808 * io/Makefile (CFLAGS-open.c): Likewise.
6809 (CFLAGS-open64.c): Likewise.
6810 (CFLAGS-creat.c): Likewise.
6811 (CFLAGS-creat64.c): Likewise.
6812 (CFLAGS-fcntl.c): Likewise.
6813 (CFLAGS-poll.c): Likewise.
6814 (CFLAGS-ppoll.c): Likewise.
6815 (CFLAGS-lockf.c): Likewise.
6816 (CFLAGS-statfs.c): Likewise.
6817 (CFLAGS-fstatfs.c): Likewise.
6818 (CFLAGS-statvfs.c): Likewise.
6819 (CFLAGS-fstatvfs.c): Likewise.
6820 (CFLAGS-fts.c): Likewise.
6821 (CFLAGS-fts64.c): Likewise.
6822 (CFLAGS-ftw.c): Likewise.
6823 (CFLAGS-ftw64.c): Likewise.
6824 (CFLAGS-lockf.c): Likewise.
6825 (CFLAGS-posix_fallocate.c): Likewise.
6826 (CFLAGS-posix_fallocate64.c): Likewise.
6827 (CFLAGS-fallocate.c): Likewise.
6828 (CFLAGS-fallocate64.c): Likewise.
6829 (CFLAGS-read.c): Likewise.
6830 (CFLAGS-write.c): Likewise.
6831 (CFLAGS-test-stat.c): Likewise.
6832 (CFLAGS-test-lfs.c): Likewise.
6833 * libio/Makefile (CFLAGS-fileops.c): Likewise.
6834 (CFLAGS-fputc.c): Likewise.
6835 (CFLAGS-fputwc.c): Likewise.
6836 (CFLAGS-freopen64.c): Likewise.
6837 (CFLAGS-freopen.c): Likewise.
6838 (CFLAGS-fseek.c): Likewise.
6839 (CFLAGS-fseeko64.c): Likewise.
6840 (CFLAGS-fseeko.c): Likewise.
6841 (CFLAGS-ftello64.c): Likewise.
6842 (CFLAGS-ftello.c): Likewise.
6843 (CFLAGS-fwide.c): Likewise.
6844 (CFLAGS-genops.c): Likewise.
6845 (CFLAGS-getc.c): Likewise.
6846 (CFLAGS-getchar.c): Likewise.
6847 (CFLAGS-getwc.c): Likewise.
6848 (CFLAGS-getwchar.c): Likewise.
6849 (CFLAGS-iofclose.c): Likewise.
6850 (CFLAGS-iofflush.c): Likewise.
6851 (CFLAGS-iofgetpos64.c): Likewise.
6852 (CFLAGS-iofgetpos.c): Likewise.
6853 (CFLAGS-iofgets.c): Likewise.
6854 (CFLAGS-iofgetws.c): Likewise.
6855 (CFLAGS-iofputs.c): Likewise.
6856 (CFLAGS-iofputws.c): Likewise.
6857 (CFLAGS-iofread.c): Likewise.
6858 (CFLAGS-iofsetpos64.c): Likewise.
6859 (CFLAGS-iofsetpos.c): Likewise.
6860 (CFLAGS-ioftell.c): Likewise.
6861 (CFLAGS-iofwrite.c): Likewise.
6862 (CFLAGS-iogetdelim.c): Likewise.
6863 (CFLAGS-iogetline.c): Likewise.
6864 (CFLAGS-iogets.c): Likewise.
6865 (CFLAGS-iogetwline.c): Likewise.
6866 (CFLAGS-ioputs.c): Likewise.
6867 (CFLAGS-ioseekoff.c): Likewise.
6868 (CFLAGS-ioseekpos.c): Likewise.
6869 (CFLAGS-iosetbuffer.c): Likewise.
6870 (CFLAGS-iosetvbuf.c): Likewise.
6871 (CFLAGS-ioungetc.c): Likewise.
6872 (CFLAGS-ioungetwc.c): Likewise.
6873 (CFLAGS-oldfileops.c): Likewise.
6874 (CFLAGS-oldiofclose.c): Likewise.
6875 (CFLAGS-oldiofgetpos64.c): Likewise.
6876 (CFLAGS-oldiofgetpos.c): Likewise.
6877 (CFLAGS-oldiofsetpos64.c): Likewise.
6878 (CFLAGS-oldiofsetpos.c): Likewise.
6879 (CFLAGS-peekc.c): Likewise.
6880 (CFLAGS-putc.c): Likewise.
6881 (CFLAGS-putchar.c): Likewise.
6882 (CFLAGS-putwc.c): Likewise.
6883 (CFLAGS-putwchar.c): Likewise.
6884 (CFLAGS-rewind.c): Likewise.
6885 (CFLAGS-wfileops.c): Likewise.
6886 (CFLAGS-wgenops.c): Likewise.
6887 (CFLAGS-oldiofopen.c): Likewise.
6888 (CFLAGS-iofopen.c): Likewise.
6889 (CFLAGS-iofopen64.c): Likewise.
6890 (CFLAGS-oldtmpfile.c): Likewise.
6891 (CFLAGS-tst_putwc.c): Likewise.
6892 * locale/Makefile (CFLAGS-md5.c): Likewise.
6893 (CFLAGS-charmap.c): Likewise.
6894 (CFLAGS-locfile.c): Likewise.
6895 (CFLAGS-charmap-dir.c): Likewise.
6896 * login/Makefile (CFLAGS-grantpt.c): Likewise.
6897 (CFLAGS-getpt.c): Likewise.
6898 (CFLAGS-pt_chown.c): Likewise.
6899 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
6900 (CFLAGS-obstack.c): Likewise.
6901 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
6902 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
6903 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
6904 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
6905 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
6906 (CFLAGS-test-tgmath.c): Likewise.
6907 (CFLAGS-test-tgmath2.c): Likewise.
6908 (CFLAGS-test-tgmath-ret.c): Likewise.
6909 (CFLAGS-test-powl.c): Likewise.
6910 (CFLAGS-test-snan.c): Likewise.
6911 (CFLAGS-test-signgam-finite.c): Likewise.
6912 (CFLAGS-test-signgam-finite-c99.c): Likewise.
6913 (CFLAGS-test-signgam-finite-c11.c): Likewise.
6914 (CFLAGS-test-signgam-uchar.c): Likewise.
6915 (CFLAGS-test-signgam-uchar-init.c): Likewise.
6916 (CFLAGS-test-signgam-uchar-static.c): Likewise.
6917 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6918 (CFLAGS-test-signgam-uint.c): Likewise.
6919 (CFLAGS-test-signgam-uint-init.c): Likewise.
6920 (CFLAGS-test-signgam-uint-static.c): Likewise.
6921 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6922 (CFLAGS-test-signgam-ullong.c): Likewise.
6923 (CFLAGS-test-signgam-ullong-init.c): Likewise.
6924 (CFLAGS-test-signgam-ullong-static.c): Likewise.
6925 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6926 (CFLAGS-test-math-cxx11.cc): Likewise.
6927 (CFLAGS-test-math-isinff.cc): Likewise.
6928 (CFLAGS-test-math-iszero.cc): Likewise.
6929 (CFLAGS-test-math-issignaling.cc): Likewise.
6930 (CFLAGS-test-math-iscanonical.cc): Likewise.
6931 (CFLAGS-test-iszero-excess-precision.c): Likewise.
6932 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
6933 (CFLAGS-test-flt-eval-method.c): Likewise.
6934 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
6935 (CFLAGS-test-finite-macros.c): Likewise.
6936 * misc/Makefile (CFLAGS-select.c): Likewise.
6937 (CFLAGS-tsearch.c): Likewise.
6938 (CFLAGS-lsearch.c): Likewise.
6939 (CFLAGS-pselect.c): Likewise.
6940 (CFLAGS-readv.c): Likewise.
6941 (CFLAGS-writev.c): Likewise.
6942 (CFLAGS-preadv.c): Likewise.
6943 (CFLAGS-preadv64.c): Likewise.
6944 (CFLAGS-pwritev.c): Likewise.
6945 (CFLAGS-pwritev64.c): Likewise.
6946 (CFLAGS-preadv2.c): Likewise.
6947 (CFLAGS-preadv64v2.c): Likewise.
6948 (CFLAGS-pwritev2.c): Likewise.
6949 (CFLAGS-pwritev64v2.c): Likewise.
6950 (CFLAGS-usleep.c): Likewise.
6951 (CFLAGS-syslog.c): Likewise.
6952 (CFLAGS-error.c): Likewise.
6953 (CFLAGS-getpass.c): Likewise.
6954 (CFLAGS-mkstemp.c): Likewise.
6955 (CFLAGS-mkstemp64.c): Likewise.
6956 (CFLAGS-getsysstats.c): Likewise.
6957 (CFLAGS-getusershell.c): Likewise.
6958 (CFLAGS-err.c): Likewise.
6959 (CFLAGS-tst-tsearch.c): Likewise.
6960 (CFLAGS-msync.c): Likewise.
6961 (CFLAGS-fdatasync.c): Likewise.
6962 (CFLAGS-fsync.c): Likewise.
6963 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
6964 (CFLAGS-unwind.c): Likewise.
6965 (CFLAGS-unwind-forcedunwind.c): Likewise.
6966 (CFLAGS-pthread_cancel.c): Likewise.
6967 (CFLAGS-pthread_setcancelstate.c): Likewise.
6968 (CFLAGS-pthread_setcanceltype.c): Likewise.
6969 (CFLAGS-cancellation.c): Likewise.
6970 (CFLAGS-libc-cancellation.c): Likewise.
6971 (CFLAGS-pthread_exit.c): Likewise.
6972 (CFLAGS-forward.c): Likewise.
6973 (CFLAGS-pthread_testcancel.c): Likewise.
6974 (CFLAGS-pthread_join.c): Likewise.
6975 (CFLAGS-pthread_timedjoin.c): Likewise.
6976 (CFLAGS-pthread_once.c): Likewise.
6977 (CFLAGS-pthread_cond_wait.c): Likewise.
6978 (CFLAGS-sem_wait.c): Likewise.
6979 (CFLAGS-sem_timedwait.c): Likewise.
6980 (CFLAGS-fcntl.c): Likewise.
6981 (CFLAGS-lockf.c): Likewise.
6982 (CFLAGS-pread.c): Likewise.
6983 (CFLAGS-pread64.c): Likewise.
6984 (CFLAGS-pwrite.c): Likewise.
6985 (CFLAGS-pwrite64.c): Likewise.
6986 (CFLAGS-wait.c): Likewise.
6987 (CFLAGS-waitpid.c): Likewise.
6988 (CFLAGS-sigwait.c): Likewise.
6989 (CFLAGS-msgrcv.c): Likewise.
6990 (CFLAGS-msgsnd.c): Likewise.
6991 (CFLAGS-tcdrain.c): Likewise.
6992 (CFLAGS-open.c): Likewise.
6993 (CFLAGS-open64.c): Likewise.
6994 (CFLAGS-pause.c): Likewise.
6995 (CFLAGS-recv.c): Likewise.
6996 (CFLAGS-send.c): Likewise.
6997 (CFLAGS-accept.c): Likewise.
6998 (CFLAGS-sendto.c): Likewise.
6999 (CFLAGS-connect.c): Likewise.
7000 (CFLAGS-recvfrom.c): Likewise.
7001 (CFLAGS-recvmsg.c): Likewise.
7002 (CFLAGS-sendmsg.c): Likewise.
7003 (CFLAGS-close.c): Likewise.
7004 (CFLAGS-read.c): Likewise.
7005 (CFLAGS-write.c): Likewise.
7006 (CFLAGS-nanosleep.c): Likewise.
7007 (CFLAGS-sigsuspend.c): Likewise.
7008 (CFLAGS-msync.c): Likewise.
7009 (CFLAGS-fdatasync.c): Likewise.
7010 (CFLAGS-fsync.c): Likewise.
7011 (CFLAGS-pt-system.c): Likewise.
7012 (CFLAGS-tst-cleanup2.c): Likewise.
7013 (CFLAGS-tst-cleanupx2.c): Likewise.
7014 (CFLAGS-flockfile.c): Likewise.
7015 (CFLAGS-ftrylockfile.c): Likewise.
7016 (CFLAGS-funlockfile.c): Likewise.
7017 (CFLAGS-tst-initializers1.c): Likewise.
7018 (CFLAGS-tst-initializers1-c89.c): Likewise.
7019 (CFLAGS-tst-initializers1-c99.c): Likewise.
7020 (CFLAGS-tst-initializers1-c11.c): Likewise.
7021 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
7022 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
7023 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7024 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
7025 (CFLAGS-nscd_getgr_r.c): Likewise.
7026 (CFLAGS-nscd_gethst_r.c): Likewise.
7027 (CFLAGS-nscd_getai.c): Likewise.
7028 (CFLAGS-nscd_initgroups.c): Likewise.
7029 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
7030 (CFLAGS-pause.c): Likewise.
7031 (CFLAGS-pread.c): Likewise.
7032 (CFLAGS-pread64.c): Likewise.
7033 (CFLAGS-pwrite.c): Likewise.
7034 (CFLAGS-pwrite64.c): Likewise.
7035 (CFLAGS-sleep.c): Likewise.
7036 (CFLAGS-wait.c): Likewise.
7037 (CFLAGS-waitid.c): Likewise.
7038 (CFLAGS-waitpid.c): Likewise.
7039 (CFLAGS-getopt.c): Likewise.
7040 (CFLAGS-wordexp.c): Likewise.
7041 (CFLAGS-sysconf.c): Likewise.
7042 (CFLAGS-pathconf.c): Likewise.
7043 (CFLAGS-fpathconf.c): Likewise.
7044 (CFLAGS-spawn.c): Likewise.
7045 (CFLAGS-spawnp.c): Likewise.
7046 (CFLAGS-spawni.c): Likewise.
7047 (CFLAGS-glob.c): Likewise.
7048 (CFLAGS-glob64.c): Likewise.
7049 (CFLAGS-getconf.c): Likewise.
7050 (CFLAGS-nanosleep.c): Likewise.
7051 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
7052 (CFLAGS-getpwent.c): Likewise.
7053 (CFLAGS-getpw.c): Likewise.
7054 (CFLAGS-fgetpwent_r.c): Likewise.
7055 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
7056 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
7057 (CFLAGS-mq_timedreceive.c): Likewise.
7058 (CFLAGS-mq_timedsend.c): Likewise.
7059 (CFLAGS-clock_nanosleep.c): Likewise.
7060 (CFLAGS-librt-cancellation.c): Likewise.
7061 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
7062 (CFLAGS-getspent.c): Likewise.
7063 (CFLAGS-fgetspent.c): Likewise.
7064 (CFLAGS-fgetspent_r.c): Likewise.
7065 (CFLAGS-putspent.c): Likewise.
7066 (CFLAGS-getspnam.c): Likewise.
7067 (CFLAGS-getspnam_r.c): Likewise.
7068 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
7069 (CFLAGS-sigsuspend.c): Likewise.
7070 (CFLAGS-sigtimedwait.c): Likewise.
7071 (CFLAGS-sigwait.c): Likewise.
7072 (CFLAGS-sigwaitinfo.c): Likewise.
7073 (CFLAGS-sigreturn.c): Likewise.
7074 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
7075 (CFLAGS-vfwprintf.c): Likewise.
7076 (CFLAGS-tmpfile.c): Likewise.
7077 (CFLAGS-tmpfile64.c): Likewise.
7078 (CFLAGS-tempname.c): Likewise.
7079 (CFLAGS-psignal.c): Likewise.
7080 (CFLAGS-vprintf.c): Likewise.
7081 (CFLAGS-cuserid.c): Likewise.
7082 (CFLAGS-errlist.c): Likewise.
7083 (CFLAGS-siglist.c): Likewise.
7084 (CFLAGS-scanf15.c): Likewise.
7085 (CFLAGS-scanf17.c): Likewise.
7086 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
7087 (CFLAGS-msort.c): Likewise.
7088 (CFLAGS-qsort.c): Likewise.
7089 (CFLAGS-system.c): Likewise.
7090 (CFLAGS-fmtmsg.c): Likewise.
7091 (CFLAGS-strfmon.c): Likewise.
7092 (CFLAGS-strfmon_l.c): Likewise.
7093 (CFLAGS-strfromd.c): Likewise.
7094 (CFLAGS-strfromf.c): Likewise.
7095 (CFLAGS-strfroml.c): Likewise.
7096 (CFLAGS-tst-bsearch.c): Likewise.
7097 (CFLAGS-tst-qsort.c): Likewise.
7098 (CFLAGS-tst-makecontext2.c): Likewise.
7099 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
7100 (CFLAGS-xnlm_prot.c): Likewise.
7101 (CFLAGS-xrstat.c): Likewise.
7102 (CFLAGS-xyppasswd.c): Likewise.
7103 (CFLAGS-xklm_prot.c): Likewise.
7104 (CFLAGS-xrex.c): Likewise.
7105 (CFLAGS-xsm_inter.c): Likewise.
7106 (CFLAGS-xmount.c): Likewise.
7107 (CFLAGS-xrusers.c): Likewise.
7108 (CFLAGS-xspray.c): Likewise.
7109 (CFLAGS-xnfs_prot.c): Likewise.
7110 (CFLAGS-xrquota.c): Likewise.
7111 (CFLAGS-xkey_prot.c): Likewise.
7112 (CFLAGS-auth_unix.c): Likewise.
7113 (CFLAGS-key_call.c): Likewise.
7114 (CFLAGS-pmap_rmt.c): Likewise.
7115 (CFLAGS-clnt_perr.c): Likewise.
7116 (CFLAGS-openchild.c): Likewise.
7117 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
7118 (CFLAGS-msgsnd.c): Likewise.
7119 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
7120 * time/Makefile (CFLAGS-tzfile.c): Likewise.
7121 (CFLAGS-tzset.c): Likewise.
7122 (CFLAGS-getdate.c): Likewise.
7123 (CFLAGS-test_time.c): Likewise.
7124 (CPPFLAGS-tst-tzname.c): Likewise.
7125 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
7126 (CFLAGS-zic.c): Likewise.
7127 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
7128 (CFLAGS-wcswidth.c): Likewise.
7129 (CFLAGS-wcstol.c): Likewise.
7130 (CFLAGS-wcstoul.c): Likewise.
7131 (CFLAGS-wcstoll.c): Likewise.
7132 (CFLAGS-wcstoull.c): Likewise.
7133 (CFLAGS-wcstod.c): Likewise.
7134 (CFLAGS-wcstold.c): Likewise.
7135 (CFLAGS-wcstof128.c): Likewise.
7136 (CFLAGS-wcstof.c): Likewise.
7137 (CFLAGS-wcstol_l.c): Likewise.
7138 (CFLAGS-wcstoul_l.c): Likewise.
7139 (CFLAGS-wcstoll_l.c): Likewise.
7140 (CFLAGS-wcstoull_l.c): Likewise.
7141 (CFLAGS-wcstod_l.c): Likewise.
7142 (CFLAGS-wcstold_l.c): Likewise.
7143 (CFLAGS-wcstof128_l.c): Likewise.
7144 (CFLAGS-wcstof_l.c): Likewise.
7145 (CPPFLAGS-tst-wchar-h.c): Likewise.
7146 (CPPFLAGS-wcstold_l.c): Likewise.
7147 ---
7148 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
7149
7150 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
7151
7152 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7153 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7154
7155 * manual/tunables.texi (Hardware Capability Tunables): Document
7156 glibc.tune.cached_memopt.
7157 * sysdeps/powerpc/cpu-features.c: New file.
7158 * sysdeps/powerpc/cpu-features.h: New file.
7159 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
7160 _dl_powerpc_cpu_features.
7161 * sysdeps/powerpc/dl-tunables.list: New file.
7162 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7164 (INIT_ARCH): Initialize use_aligned_memopt.
7165 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
7166 IS_IN(rtld))]: Restrict dl_platform_init availability and
7167 initialize CPU features used by tunables.
7168 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
7169 Add memcpy-power8-cached.
7170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
7171 __memcpy_power8_cached.
7172 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7173 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
7174 New file.
7175
7176 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
7177
7178 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
7179 (CFLAGS-noinl-tester.c): Likewise.
7180 (CFLAGS-tst-strlen.c): Likewise.
7181 (CFLAGS-stratcliff.c): Likewise.
7182 (CFLAGS-test-ffs.c): Likewise.
7183 (CFLAGS-tst-inlcall.c): Likewise.
7184 (CFLAGS-tst-xbzero-opt.c): Likewise.
7185 (CFLAGS-memcpy.c): Likewise.
7186 (CFLAGS-wordcopy.c): Likewise.
7187
7188 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7189
7190 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7191 Store r15 on stack and add cfi rule.
7192 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7193 Likewise.
7194
7195 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
7196
7197 [BZ #22577]
7198 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
7199 call.
7200
7201 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
7202
7203 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7204 Add s_sinf-sse2 and s_sinf-fma.
7205 (CFLAGS-s_sinf-fma.c): New.
7206 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
7207 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
7208 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
7209
7210 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
7211
7212 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
7213
7214 2017-12-07 Joseph Myers <joseph@codesourcery.com>
7215
7216 [BZ #22568]
7217 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
7218 part of result to imaginary part of argument if it is zero and the
7219 real part of the argument is not finite.
7220 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
7221 of result to real part of argument if it is zero and the imaginary
7222 part of the argument is not finite.
7223
7224 2017-12-07 Mike FABIAN <mfabian@redhat.com>
7225
7226 [BZ #22524]
7227 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
7228 and to the list of locales to be built for testing.
7229 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
7230 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
7231 and build the collation rules upon that.
7232
7233 2017-12-07 Joseph Myers <joseph@codesourcery.com>
7234
7235 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
7236 * manual/math.texi (Mathematics): Document support for _Float32.
7237 * math/Makefile (test-types): Add float32.
7238 * math/Versions (GLIBC_2.27): Add _Float32 functions.
7239 * stdlib/Versions (GLIBC_2.27): Likewise.
7240 * wcsmbs/Versions (GLIBC_2.27): Likewise.
7241 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
7242 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7243 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7244 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7245 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7246 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7247 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7248 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7249 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7250 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7251 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7252 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7253 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7254 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7255 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7256 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7257 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7258 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7259 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7260 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7261 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7262 Likewise.
7263 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7264 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7265 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7266 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7267 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7269 Likewise.
7270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7271 Likewise.
7272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7273 Likewise.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7275 Likewise.
7276
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7278 Likewise.
7279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7280 Likewise.
7281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7282 Likewise.
7283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7284 Likewise.
7285 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7286 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7287 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7288 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7289 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7290 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7291 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7292 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7293 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7294 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7296 Likewise.
7297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7298 Likewise.
7299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7300 Likewise.
7301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7302 Likewise.
7303 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7304 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7305 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7306 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7307 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7308 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7309 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7310 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7311
7312 2017-12-06 Joseph Myers <joseph@codesourcery.com>
7313
7314 * stdlib/strtof.c: Include <bits/floatn.h>
7315 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
7316 and later undefine as macro. Define as weak alias if
7317 [!USE_WIDE_CHAR].
7318 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
7319 and later undefine as macro. Define as weak alias if
7320 [USE_WIDE_CHAR].
7321 * stdlib/strtof_l.c: Include <bits/floatn.h>
7322 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
7323 and later undefine as macro. Define as weak alias if
7324 [!USE_WIDE_CHAR].
7325 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
7326 and later undefine as macro. Define as weak alias if
7327 [USE_WIDE_CHAR].
7328
7329 * stdlib/strfromf.c: Include <bits/floatn.h>.
7330 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
7331 and later undefine as macro and define as weak alias.
7332
7333 * math/test-float32.h: New file.
7334
7335 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
7336 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
7337 (libm_alias_float_other_r): Create f32 alias.
7338 (libm_alias_float_r): Use semicolon before call to
7339 libm_alias_float_other_r.
7340
7341 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
7342 second argument to libm_alias_float_other.
7343 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
7344 second argument to libm_alias_float_other.
7345 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
7346 argument to libm_alias_float_other.
7347
7348 [BZ #22561]
7349 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
7350 real part of result for argument 0 + i * NaN.
7351 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
7352 results for tests of 0 + i * NaN.
7353
7354 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7355
7356 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7357
7358 2017-12-06 David S. Miller <davem@davemloft.net>
7359
7360 * sysdeps/sparc/fpu/libm-test-ulps: Update
7361 exp_{downward,towardzero,upward} ulps.
7362
7363 2017-12-06 Joseph Myers <joseph@codesourcery.com>
7364
7365 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
7366 variables static.
7367
7368 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
7369 (Y0_2D): Likewise.
7370 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
7371 (Y0_2D): Likewise.
7372 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
7373 (Y0_2D): Likewise.
7374 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
7375 (Y0_2D): Likewise.
7376
7377 2017-12-06 Mike FABIAN <mfabian@redhat.com>
7378
7379 [BZ #22515]
7380 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
7381 and to the list of locales to be built for testing.
7382 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
7383 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
7384 and build the collation rules upon that.
7385
7386 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7387
7388 * NEWS: Add sinf to list of optimized functions.
7389
7390 2017-12-06 Joseph Myers <joseph@codesourcery.com>
7391
7392 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
7393 (__HAVE_FLOAT32X): Likewise.
7394 * manual/math.texi (Mathematics): Document support for _Float64
7395 and _Float32x.
7396 * math/Makefile (test-types): Add float64 and float32x.
7397 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
7398 functions.
7399 * stdlib/Versions (GLIBC_2.27): Likewise.
7400 * wcsmbs/Versions (GLIBC_2.27): Likewise.
7401 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
7402 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7403 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7404 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7405 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7406 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7407 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7408 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7409 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7410 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7411 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7412 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7413 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7414 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7415 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7416 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7417 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7418 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7419 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7420 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7421 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
7422 Likewise.
7423 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7424 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7425 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7426 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7427 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7429 Likewise.
7430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7431 Likewise.
7432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7433 Likewise.
7434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7435 Likewise.
7436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7437 Likewise.
7438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
7439 Likewise.
7440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7441 Likewise.
7442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7443 Likewise.
7444 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7445 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7446 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7447 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7448 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7449 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7450 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7451 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7452 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7453 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7455 Likewise.
7456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7457 Likewise.
7458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7459 Likewise.
7460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7461 Likewise.
7462 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7463 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7464 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7465 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7466 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7467 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7468 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7469 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7470
7471 2017-12-05 Joseph Myers <joseph@codesourcery.com>
7472
7473 * bits/floatn-common.h: Include <bits/long-double.h>.
7474 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
7475 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
7476 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
7477 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
7478 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
7479 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
7480 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
7481 (__builtin_huge_valf64): Use __builtin_huge_vall.
7482 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
7483 (__builtin_inff64): Use __builtin_infl.
7484 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
7485 (__builtin_nanf64): Use __builtin_nanl.
7486 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
7487 (__builtin_nansf64): Use __builtin_nansl.
7488
7489 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
7490 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7491 Carlos O'Donnell <carlos@redhat.com>
7492
7493 * elf/dl-tunables.list: Add elision parameters.
7494 * manual/tunables.texi: Add entries about elision tunable.
7495 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
7496 Add callback functions to dynamically enable/disable elision.
7497 Add multiple callbacks functions to set elision parameters.
7498 Deleted __libc_enable_secure check.
7499 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
7500 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
7501 * configure: Regenerated.
7502 * configure.ac: Option enable_lock_elision was deleted.
7503 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
7504 * config.make.in: Remove references to enable_lock_elision.
7505 * manual/install.texi: Elision configure option was removed.
7506 * INSTALL: Regenerated to remove enable_lock_elision.
7507 * nptl/Makefile:
7508 Disable elision so it can verify error case for destroying a mutex.
7509 * sysdeps/powerpc/nptl/elide.h:
7510 Cleanup ENABLE_LOCK_ELISION check.
7511 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
7512 * sysdeps/s390/configure: Regenerated.
7513 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
7514 * nptl/tst-mutex8.c:
7515 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
7516 * sysdeps/powerpc/powerpc32/sysdep.h:
7517 Deleted all ENABLE_LOCK_ELISION checks.
7518 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7519 * sysdeps/powerpc/sysdep.h: Likewise.
7520 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
7521 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
7522 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7523 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7524 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7525 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
7526 enable-lock-elision.
7527
7528 2017-12-05 Joseph Myers <joseph@codesourcery.com>
7529
7530 * stdlib/strtod.c: Include <bits/floatn.h>.
7531 (BUILD_DOUBLE): New macro.
7532 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
7533 (strtof64): Define and later undefine as macro. Define as weak
7534 alias if [!USE_WIDE_CHAR].
7535 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
7536 (wcstof64): Define and later undefine as macro. Define as weak
7537 alias if [USE_WIDE_CHAR].
7538 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
7539 (strtof32x): Define and later undefine as macro. Define as weak
7540 alias if [!USE_WIDE_CHAR].
7541 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
7542 (wcstof32x): Define and later undefine as macro. Define as weak
7543 alias if [USE_WIDE_CHAR].
7544 * stdlib/strtod_l.c: Include <bits/floatn.h>.
7545 (BUILD_DOUBLE): New macro.
7546 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
7547 (strtof64_l): Define and later undefine as macro. Define as weak
7548 alias if [!USE_WIDE_CHAR].
7549 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
7550 (wcstof64_l): Define and later undefine as macro. Define as weak
7551 alias if [USE_WIDE_CHAR].
7552 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
7553 (strtof32x_l): Define and later undefine as macro. Define as weak
7554 alias if [!USE_WIDE_CHAR].
7555 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
7556 (wcstof32x_l): Define and later undefine as macro. Define as weak
7557 alias if [USE_WIDE_CHAR].
7558
7559 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7560
7561 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
7562 (reduced): Use ones as double instead of integer.
7563
7564 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
7565
7566 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
7567
7568 2017-12-05 Joseph Myers <joseph@codesourcery.com>
7569
7570 * stdlib/strfromd.c: Include <bits/floatn.h>.
7571 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
7572 and later undefine as macro and define as weak alias.
7573 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
7574 Likewise.
7575
7576 * math/test-float32x.h: New file.
7577 * math/test-float64.h: Likewise.
7578
7579 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
7580 (libm_alias_double_other_r_f64): New macro.
7581 (libm_alias_double_other_r_f32x): Likewise.
7582 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
7583 libm_alias_double_other_r_f32x.
7584 (libm_alias_double_r): Use semicolon before call to
7585 libm_alias_double_other_r.
7586 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
7587 <bits/floatn.h>.
7588 (libm_alias_double_other_r_f64): New macro.
7589 (libm_alias_double_other_r_f32x): Likewise.
7590 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
7591 libm_alias_double_other_r_f32x.
7592
7593 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
7594
7595 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
7596 int.
7597 (SINF_FUNC): Likewise. Replace floor with simple casts.
7598
7599 2017-12-05 Mike FABIAN <mfabian@redhat.com>
7600
7601 [BZ #22517]
7602 * localedata/Makefile: Add et_EE.UTF-8 to test-input
7603 and to the list of locales to be built for testing.
7604 * localedata/et_EE.UTF-8.in: New file for testing the collation.
7605 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
7606 and build the collation rules upon that.
7607
7608 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
7609
7610 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
7611 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
7612 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
7613 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
7614 instead of __insn__xxx.
7615 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
7616 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
7617 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
7618 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
7619 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
7620 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
7621
7622 2017-12-05 Florian Weimer <fweimer@redhat.com>
7623
7624 Linux: Implement interfaces for memory protection keys
7625 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
7626 xsignal, xsysconf.
7627 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
7628 * support/xunistd.h (xsysconf): Declare.
7629 * support/xraise.c: New file.
7630 * support/xsigaction.c: Likewise.
7631 * support/xsignal.c: Likewise.
7632 * support/xsysconf.c: Likewise.
7633 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
7634 pkey_set, pkey_get, pkey_mprotect.
7635 [misc] (tests): Add tst-pkey.
7636 (tst-pkey): Link with -lpthread.
7637 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
7638 pkey_free, pkey_set, pkey_get, pkey_mprotect.
7639 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
7640 (PKEY_DISABLE_WRITE): Define.
7641 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
7642 Declare.
7643 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
7644 (SEGV_PKUERR): Add.
7645 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
7646 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
7647 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
7648 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
7649 Add.
7650 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
7651 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
7652 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
7653 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
7654 * sysdeps/unix/sysv/linux/**.abilist: Update.
7655
7656 2017-12-05 Florian Weimer <fweimer@redhat.com>
7657
7658 * support/tst-test_compare.c (subprocess): Use long long instead
7659 of long argument for consistent type width across 32-bit and
7660 64-bit architectures.
7661 (do_test): Adjust expected output.
7662
7663 2017-12-05 Joseph Myers <joseph@codesourcery.com>
7664
7665 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
7666 (cosf): Define using libm_alias_float.
7667 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
7668 (fabsf): Define using libm_alias_float.
7669 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
7670 (fmaf): Define using libm_alias_float.
7671 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
7672 (rintf): Define using libm_alias_float.
7673 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
7674 (sinf): Define using libm_alias_float.
7675 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
7676 <libm-alias-float.h>.
7677 (modff): Define using libm_alias_float.
7678 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
7679 <libm-alias-float.h>.
7680 (logbf): Define using libm_alias_float.
7681 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
7682 <libm-alias-float.h>.
7683 (ceilf): Define using libm_alias_float.
7684 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
7685 <libm-alias-float.h>.
7686 (copysignf): Define using libm_alias_float.
7687 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
7688 <libm-alias-float.h>.
7689 (floorf): Define using libm_alias_float.
7690 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
7691 <libm-alias-float.h>.
7692 (llrintf): Define using libm_alias_float.
7693 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
7694 <libm-alias-float.h>.
7695 (llroundf): Define using libm_alias_float.
7696 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
7697 <libm-alias-float.h>.
7698 (lrintf): Define using libm_alias_float.
7699 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
7700 <libm-alias-float.h>.
7701 (lroundf): Define using libm_alias_float.
7702 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
7703 <libm-alias-float.h>.
7704 (nearbyintf): Define using libm_alias_float.
7705 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
7706 <libm-alias-float.h>.
7707 (rintf): Define using libm_alias_float.
7708 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
7709 <libm-alias-float.h>.
7710 (roundf): Define using libm_alias_float.
7711 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
7712 <libm-alias-float.h>.
7713 (truncf): Define using libm_alias_float.
7714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
7715 Include <libm-alias-float.h>.
7716 (ceilf): Define using libm_alias_float.
7717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
7718 Include <libm-alias-float.h>.
7719 (copysignf): Define using libm_alias_float.
7720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
7721 Include <libm-alias-float.h>.
7722 (floorf): Define using libm_alias_float.
7723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
7724 Include <libm-alias-float.h>.
7725 (llrintf): Define using libm_alias_float.
7726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
7727 Include <libm-alias-float.h>.
7728 (llroundf): Define using libm_alias_float.
7729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
7730 Include <libm-alias-float.h>.
7731 (logbf): Define using libm_alias_float.
7732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
7733 Include <libm-alias-float.h>.
7734 (lrintf): Define using libm_alias_float.
7735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
7736 Include <libm-alias-float.h>.
7737 (lroundf): Define using libm_alias_float.
7738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
7739 Include <libm-alias-float.h>.
7740 (modff): Define using libm_alias_float.
7741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
7742 Include <libm-alias-float.h>.
7743 (roundf): Define using libm_alias_float.
7744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
7745 Include <libm-alias-float.h>.
7746 (truncf): Define using libm_alias_float.
7747 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
7748 <libm-alias-float.h>.
7749 (llrintf): Define using libm_alias_float.
7750 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
7751 <libm-alias-float.h>.
7752 (llroundf): Define using libm_alias_float.
7753 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
7754 <libm-alias-float.h>.
7755 (ceilf): Define using libm_alias_float.
7756 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
7757 <libm-alias-float.h>.
7758 (floorf): Define using libm_alias_float.
7759 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
7760 <libm-alias-float.h>.
7761 (llroundf): Define using libm_alias_float.
7762 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
7763 <libm-alias-float.h>.
7764 (lroundf): Define using libm_alias_float.
7765 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
7766 <libm-alias-float.h>.
7767 (roundf): Define using libm_alias_float.
7768 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
7769 <libm-alias-float.h>.
7770 (truncf): Define using libm_alias_float.
7771 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
7772 <libm-alias-float.h>.
7773 (copysignf): Define using libm_alias_float.
7774 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
7775 <libm-alias-float.h>.
7776 (llrintf): Define using libm_alias_float.
7777 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
7778 <libm-alias-float.h>.
7779 (llroundf): Define using libm_alias_float.
7780 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
7781 <libm-alias-float.h>.
7782 (lrintf): Define using libm_alias_float.
7783 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
7784 <libm-alias-float.h>.
7785 (lroundf): Define using libm_alias_float.
7786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
7787 <libm-alias-float.h>.
7788 (ceilf): Define using libm_alias_float.
7789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
7790 <libm-alias-float.h>.
7791 (copysignf): Define using libm_alias_float.
7792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
7793 <libm-alias-float.h>.
7794 (cosf): Define using libm_alias_float.
7795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
7796 <libm-alias-float.h>.
7797 (floorf): Define using libm_alias_float.
7798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
7799 <libm-alias-float.h>.
7800 (llrintf): Define using libm_alias_float.
7801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
7802 <libm-alias-float.h>.
7803 (llroundf): Define using libm_alias_float.
7804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
7805 <libm-alias-float.h>.
7806 (logbf): Define using libm_alias_float.
7807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
7808 <libm-alias-float.h>.
7809 (modff): Define using libm_alias_float.
7810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
7811 <libm-alias-float.h>.
7812 (roundf): Define using libm_alias_float.
7813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
7814 <libm-alias-float.h>.
7815 (sinf): Define using libm_alias_float.
7816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
7817 <libm-alias-float.h>.
7818 (truncf): Define using libm_alias_float.
7819 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
7820 <libm-alias-float.h>.
7821 (ceilf): Define using libm_alias_float.
7822 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
7823 <libm-alias-float.h>.
7824 (copysignf): Define using libm_alias_float.
7825 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
7826 <libm-alias-float.h>.
7827 (floorf): Define using libm_alias_float.
7828 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
7829 <libm-alias-float.h>.
7830 (llrintf): Define using libm_alias_float.
7831 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
7832 <libm-alias-float.h>.
7833 (llroundf): Define using libm_alias_float.
7834 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
7835 <libm-alias-float.h>.
7836 (nearbyintf): Define using libm_alias_float.
7837 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
7838 <libm-alias-float.h>.
7839 (rintf): Define using libm_alias_float.
7840 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
7841 <libm-alias-float.h>.
7842 (roundf): Define using libm_alias_float.
7843 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
7844 <libm-alias-float.h>.
7845 (truncf): Define using libm_alias_float.
7846 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
7847 <libm-alias-float.h>.
7848 (ceilf): Define using libm_alias_float.
7849 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
7850 <libm-alias-float.h>.
7851 (floorf): Define using libm_alias_float.
7852 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
7853 <libm-alias-float.h>.
7854 (llroundf): Define using libm_alias_float.
7855 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
7856 <libm-alias-float.h>.
7857 (roundf): Define using libm_alias_float.
7858 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
7859 <libm-alias-float.h>.
7860 (truncf): Define using libm_alias_float.
7861 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
7862 <libm-alias-float.h>.
7863 (copysignf): Define using libm_alias_float.
7864 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
7865 <libm-alias-float.h>.
7866 (llrintf): Define using libm_alias_float.
7867 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
7868 <libm-alias-float.h>.
7869 (llroundf): Define using libm_alias_float.
7870 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
7871 <libm-alias-float.h>.
7872 (cosf): Define using libm_alias_float.
7873 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
7874 <libm-alias-float.h>.
7875 (llrintf): Define using libm_alias_float.
7876 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
7877 <libm-alias-float.h>.
7878 (llroundf): Define using libm_alias_float.
7879 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
7880 <libm-alias-float.h>.
7881 (sinf): Define using libm_alias_float.
7882
7883 2017-12-04 Florian Weimer <fweimer@redhat.com>
7884
7885 * support/check.h (TEST_COMPARE): Define.
7886 (support_test_compare_failure): Declare.
7887 * support/Makefile (libsupport-routines): Add
7888 support_test_compare_failure.
7889 (tests): Add tst-test_compare.
7890 * support /support_test_compare_failure.c: New file.
7891 * support/tst-test_compare.c: Likewise.
7892
7893 2017-12-04 Mike FABIAN <mfabian@redhat.com>
7894
7895 [BZ #22527]
7896 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
7897 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
7898 available, this rewrite of the collation rules does reproduce
7899 the test file in the same order.
7900
7901 2017-12-04 Mike FABIAN <mfabian@redhat.com>
7902
7903 [BZ #10580]
7904 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
7905 digraphs in the month and day names. Using single code points for
7906 digraphs is deprecated. While there are dedicated Unicode
7907 codepoints, for the digraphs, these are included for backwards
7908 compatibility and modern texts use a sequence of Basic Latin
7909 characters. See: https://www.unicode.org/faq/ligature_digraph.html
7910 This makes the month and day names agree exactly with CLDR now,
7911 CLDR does not use the single code points for the digraphs either.
7912
7913 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
7914
7915 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
7916
7917 2017-12-04 Joseph Myers <joseph@codesourcery.com>
7918
7919 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
7920 of floor.
7921
7922 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
7923
7924 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
7925 Define only for libc.so.
7926
7927 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
7928
7929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7930 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
7931 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
7932 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
7933 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7934
7935 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7936
7937 [BZ #5997]
7938 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
7939
7940 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
7941
7942 [BZ libc/19170]
7943 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
7944 PREINIT_FUNCTION_WEAK is nonzero.
7945 (gmon_initializer): New function. Put procedure label for it in
7946 .init_array section.
7947 (_init): Don't call PREINIT_FUNCTION.
7948 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
7949 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
7950 value when map argument is null.
7951
7952 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
7953 depi instruction from PIC pc-relative sequence.
7954 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
7955 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
7956 (elf_machine_load_address): Likewise.
7957 (elf_machine_runtime_setup): Likewise.
7958
7959 2017-12-02 Joseph Myers <joseph@codesourcery.com>
7960
7961 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
7962 <libm-alias-double.h>.
7963 (logb): Define using libm_alias_double.
7964 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
7965 <libm-alias-double.h>.
7966 (copysign): Define using libm_alias_double.
7967 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
7968 <libm-alias-double.h>.
7969 (llrint): Define using libm_alias_double.
7970 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
7971 <libm-alias-double.h>.
7972 (llround): Define using libm_alias_double.
7973 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
7974 <libm-alias-double.h>.
7975 (lrint): Define using libm_alias_double.
7976 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
7977 <libm-alias-double.h>.
7978 (lround): Define using libm_alias_double.
7979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7980 Include <libm-alias-double.h>.
7981 (copysign): Define using libm_alias_double.
7982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
7983 Include <libm-alias-double.h>.
7984 (llrint): Define using libm_alias_double.
7985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
7986 Include <libm-alias-double.h>.
7987 (llround): Define using libm_alias_double.
7988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
7989 <libm-alias-double.h>.
7990 (logb): Define using libm_alias_double.
7991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
7992 Include <libm-alias-double.h>.
7993 (lrint): Define using libm_alias_double.
7994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
7995 Include <libm-alias-double.h>.
7996 (lround): Define using libm_alias_double.
7997 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
7998 <libm-alias-double.h>.
7999 (llrint): Define using libm_alias_double.
8000 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
8001 <libm-alias-double.h>.
8002 (llround): Define using libm_alias_double.
8003 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
8004 <libm-alias-double.h>.
8005 (llround): Define using libm_alias_double.
8006 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
8007 <libm-alias-double.h>.
8008 (lround): Define using libm_alias_double.
8009 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
8010 <libm-alias-double.h>.
8011 (copysign): Define using libm_alias_double.
8012 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
8013 <libm-alias-double.h>.
8014 (llrint): Define using libm_alias_double.
8015 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
8016 <libm-alias-double.h>.
8017 (llround): Define using libm_alias_double.
8018 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
8019 <libm-alias-double.h>.
8020 (lrint): Define using libm_alias_double.
8021 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
8022 <libm-alias-double.h>.
8023 (lround): Define using libm_alias_double.
8024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
8025 <libm-alias-double.h>.
8026 (copysign): Define using libm_alias_double.
8027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
8028 <libm-alias-double.h>.
8029 (llrint): Define using libm_alias_double.
8030 (lrint): Likewise.
8031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
8032 <libm-alias-double.h>.
8033 (llround): Define using libm_alias_double.
8034 (lround): Likewise.
8035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
8036 <libm-alias-double.h>.
8037 (logb): Define using libm_alias_double.
8038 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
8039 <libm-alias-double.h>.
8040 (copysign): Define using libm_alias_double.
8041 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
8042 <libm-alias-double.h>.
8043 (llrint): Define using libm_alias_double.
8044 (lrint): Likewise.
8045 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
8046 <libm-alias-double.h>.
8047 (llround): Define using libm_alias_double.
8048 (lround): Likewise.
8049 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
8050 <libm-alias-double.h>.
8051 (llround): Define using libm_alias_double.
8052 (lround): Likewise.
8053 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
8054 <libm-alias-double.h>.
8055 (copysign): Define using libm_alias_double.
8056 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
8057 <libm-alias-double.h>.
8058 (llrint): Define using libm_alias_double.
8059 (lrint): Likewise.
8060 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
8061 <libm-alias-double.h>.
8062 (llround): Define using libm_alias_double.
8063 (lround): Likewise.
8064 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
8065 <libm-alias-double.h>.
8066 (llrint): Define using libm_alias_double.
8067 (lrint): Likewise.
8068 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
8069 <libm-alias-double.h>.
8070 (llround): Define using libm_alias_double.
8071 (lround): Likewise.
8072
8073 2017-12-01 Joseph Myers <joseph@codesourcery.com>
8074
8075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8076 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
8077 compat symbol based on llround.
8078
8079 * sysdeps/powerpc/power7/fpu/s_logb.c
8080 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
8081 symbol based on __logb, not on logb.
8082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
8083 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
8084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
8085 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
8086
8087 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
8088 (rint): Define using libm_alias_double.
8089 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
8090 <libm-alias-double.h>.
8091 (modf): Define using libm_alias_double.
8092 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
8093 <libm-alias-double.h>.
8094 (ceil): Define using libm_alias_double.
8095 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
8096 <libm-alias-double.h>.
8097 (floor): Define using libm_alias_double.
8098 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
8099 <libm-alias-double.h>.
8100 (nearbyint): Define using libm_alias_double.
8101 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
8102 <libm-alias-double.h>.
8103 (rint): Define using libm_alias_double.
8104 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
8105 <libm-alias-double.h>.
8106 (round): Define using libm_alias_double.
8107 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
8108 <libm-alias-double.h>.
8109 (trunc): Define using libm_alias_double.
8110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
8111 <libm-alias-double.h>.
8112 (ceil): Define using libm_alias_double.
8113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
8114 Include <libm-alias-double.h>.
8115 (floor): Define using libm_alias_double.
8116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
8117 <libm-alias-double.h>.
8118 (modf): Define using libm_alias_double.
8119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
8120 Include <libm-alias-double.h>.
8121 (round): Define using libm_alias_double.
8122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
8123 Include <libm-alias-double.h>.
8124 (trunc): Define using libm_alias_double.
8125 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
8126 <libm-alias-double.h>.
8127 (ceil): Define using libm_alias_double.
8128 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
8129 <libm-alias-double.h>.
8130 (floor): Define using libm_alias_double.
8131 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
8132 <libm-alias-double.h>.
8133 (round): Define using libm_alias_double.
8134 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
8135 <libm-alias-double.h>.
8136 (trunc): Define using libm_alias_double.
8137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
8138 <libm-alias-double.h>.
8139 (ceil): Define using libm_alias_double.
8140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
8141 <libm-alias-double.h>.
8142 (floor): Define using libm_alias_double.
8143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
8144 <libm-alias-double.h>.
8145 (modf): Define using libm_alias_double.
8146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
8147 <libm-alias-double.h>.
8148 (round): Define using libm_alias_double.
8149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
8150 <libm-alias-double.h>.
8151 (trunc): Define using libm_alias_double.
8152 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
8153 <libm-alias-double.h>.
8154 (ceil): Define using libm_alias_double.
8155 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
8156 <libm-alias-double.h>.
8157 (floor): Define using libm_alias_double.
8158 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
8159 <libm-alias-double.h>.
8160 (nearbyint): Define using libm_alias_double.
8161 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
8162 <libm-alias-double.h>.
8163 (rint): Define using libm_alias_double.
8164 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
8165 <libm-alias-double.h>.
8166 (round): Define using libm_alias_double.
8167 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
8168 <libm-alias-double.h>.
8169 (trunc): Define using libm_alias_double.
8170 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
8171 <libm-alias-double.h>.
8172 (ceil): Define using libm_alias_double.
8173 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
8174 <libm-alias-double.h>.
8175 (floor): Define using libm_alias_double.
8176 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
8177 <libm-alias-double.h>.
8178 (round): Define using libm_alias_double.
8179 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
8180 <libm-alias-double.h>.
8181 (trunc): Define using libm_alias_double.
8182
8183 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
8184 (fabs): Define using libm_alias_double.
8185 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
8186 (fma): Define using libm_alias_double.
8187 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
8188 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
8189 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
8190 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
8191
8192 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8193
8194 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
8195
8196 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
8197 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
8198 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
8199
8200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
8201 due redirect macro.
8202
8203 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
8204
8205 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
8206
8207 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8208
8209 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
8210 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
8211 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
8212 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
8213
8214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8215 (libm-sysdep_routines): Add s_nearbyintf-generic and
8216 s_nearbyint-generic.
8217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
8218 New file.
8219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
8220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
8221 Likewise.
8222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
8223 Likewise.
8224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
8225 file.
8226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
8227 Likewise.
8228
8229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8230 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
8231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
8232 file.
8233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
8234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
8235 Likewise.
8236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
8237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
8238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8239
8240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8241 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
8242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
8243 file.
8244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
8245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
8246 Likewise.
8247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
8248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
8249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
8250
8251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8252 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
8253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
8254 file.
8255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
8256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
8257 Likewise.
8258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
8259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
8260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8261
8262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8263 (sysdep_calls): New rule.
8264 (sysdep_routines): Use sysdep_calls as base.
8265 (libm-sysdep_routines): Add generic rule for symbols shared with
8266 libc. Add s_copysign-generic and s_copysign-generic objects.
8267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
8268 New file.
8269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
8270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
8271 Likewise.
8272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
8273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
8274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
8275
8276 2017-12-01 Mike FABIAN <mfabian@redhat.com>
8277
8278 [BZ #22519]
8279 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
8280 the list of locales to be built for testing.
8281 * localedata/is_IS.UTF-8.in: New file.
8282 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
8283 on iso14651_t1.
8284
8285 2017-12-01 Joseph Myers <joseph@codesourcery.com>
8286
8287 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
8288 <libm-alias-float.h>.
8289 (fabsf): Define using libm_alias_float.
8290
8291 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
8292
8293 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
8294
8295 2017-11-30 Joseph Myers <joseph@codesourcery.com>
8296
8297 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
8298 <libm-alias-float.h>.
8299 (fabsf): Define using libm_alias_float.
8300 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
8301 <libm-alias-float.h>.
8302 (lrintf): Define using libm_alias_float.
8303 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
8304 <libm-alias-float.h>.
8305 (rintf): Define using libm_alias_float.
8306
8307 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
8308 <libm-alias-double.h>.
8309 (fabs): Define using libm_alias_double.
8310 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
8311 <libm-alias-double.h>.
8312 (lrint): Define using libm_alias_double.
8313 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
8314 <libm-alias-double.h>.
8315 (rint): Define using libm_alias_double.
8316
8317 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
8318 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
8319 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
8320 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
8321 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
8322 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
8323 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
8324 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
8325 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
8326 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
8327 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
8328 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
8329 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
8330 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
8331 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
8332 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
8333 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
8334 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
8335 s_atan_template.c.
8336 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
8337 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
8338 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
8339 s_ceil_template.c.
8340 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
8341 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
8342 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
8343 s_cos_template.c.
8344 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
8345 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
8346 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
8347 s_expm1_template.c.
8348 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
8349 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
8350 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
8351 s_fabs_template.c.
8352 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
8353 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
8354 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
8355 s_floor_template.c.
8356 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
8357 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
8358 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
8359 s_frexp_template.c.
8360 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
8361 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
8362 s_lrint_template.c.
8363 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
8364 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
8365 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
8366 s_modf_template.c.
8367 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
8368 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
8369 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
8370 s_nearbyint_template.c.
8371 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
8372 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
8373 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
8374 s_remquo_template.c.
8375 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
8376 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
8377 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
8378 s_rint_template.c.
8379 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
8380 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
8381 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
8382 s_sin_template.c.
8383 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
8384 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
8385 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
8386 s_sincos_template.c.
8387 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
8388 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
8389 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
8390 s_tan_template.c.
8391 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
8392 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
8393 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
8394 s_tanh_template.c.
8395 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
8396 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
8397 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
8398 s_trunc_template.c.
8399 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
8400 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
8401 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
8402 s_atan.c instead of including s_atan.c.
8403 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
8404 s_atanf.c instead of including s_atanf.c.
8405 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
8406 s_atanl.c instead of including s_atanl.c.
8407 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
8408 instead of s_atan.c.
8409 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
8410 instead of s_atanf.c.
8411 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
8412 instead of s_atanl.c.
8413
8414 * scripts/update-copyrights: Do not handle intl/plural.c
8415 specially.
8416
8417 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
8418
8419 [BZ #22432]
8420 * configure.ac (BISON): Require to be present.
8421 * configure: Regenerated.
8422 * intl/Makefile (generated): Add plural.c.
8423 [$(BISON) != no]: Make code unconditional.
8424 (plural.c): Change rule to $(objpfx)plural.c.
8425 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
8426 * intl/plural.c: Remove.
8427 * manual/install.texi (Tools for Compilation): Document bison as
8428 required.
8429 * INSTALL: Regenerated.
8430
8431 2017-11-30 Joseph Myers <joseph@codesourcery.com>
8432
8433 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
8434 <libm-alias-double.h>.
8435 (llrint): Define using libm_alias_double.
8436 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
8437 <libm-alias-float.h>.
8438 (llrintf): Define using libm_alias_float.
8439 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
8440 <libm-alias-ldouble.h>.
8441 (llrintl): Define using libm_alias_ldouble.
8442
8443 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
8444 declare_mgen_alias instead of weak_alias.
8445 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
8446 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
8447 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
8448
8449 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8450
8451 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
8452 Add add_n-generic.
8453 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
8454 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
8455 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
8456
8457 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
8458 Add submul_1-generic.
8459 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
8460 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
8461 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
8462
8463 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
8464 Add addmul_1-generic.
8465 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
8466 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
8467 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
8468
8469 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
8470 Add sub_n-generic.
8471 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
8472 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
8473 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
8474
8475 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
8476 Add mul_1-generic.
8477 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
8478 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
8479 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
8480
8481 2017-11-30 Mike FABIAN <mfabian@redhat.com>
8482
8483 According to CLDR, collation rules for Serbian and Bosnian
8484 should be the same as for Croatian.
8485
8486 [BZ #22534]
8487 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
8488 and to the list of locales to be built for testing.
8489 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
8490 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
8491 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
8492 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
8493
8494 2017-11-30 Mike FABIAN <mfabian@redhat.com>
8495
8496 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
8497 to make test case pass.
8498 * localedata/hr_HR.UTF-8.in: Add more test strings.
8499
8500 2017-11-30 Mike FABIAN <mfabian@redhat.com>
8501
8502 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
8503
8504 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
8505
8506 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
8507 the list of locales to built for testing.
8508 * localedata/hr_HR.UTF-8.in: New file.
8509
8510 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
8511
8512 [BZ #10580]
8513 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
8514 iso14651_t1.
8515 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
8516 CLDR (except use ligatures for the digraphs, CLDR does not use
8517 the ligatures), add first_workday, some fixes in the date and time
8518 formats.
8519 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
8520 for Đ and đ.
8521 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
8522 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
8523 Add int_p_cs_precedes and int_n_cs_precedes.
8524 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
8525 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
8526 LC_MONETARY now).
8527 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
8528 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
8529 name_miss.
8530 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
8531 and lang_lib. Change postal_fmt.
8532
8533 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
8534
8535 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
8536 <setjmp.h>.
8537 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
8538 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
8539 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
8540 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
8541 * sysdeps/generic/setjmpP.h: New file.
8542 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
8543 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
8544 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
8545 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8546 Add jmp_buf-ssp.sym.
8547 (tests): Add tst-saved_mask-1.
8548
8549 2017-11-30 Arjun Shankar <arjun@redhat.com>
8550
8551 [BZ #22375]
8552 CVE-2017-17426
8553 * malloc/malloc.c (__libc_malloc): Use checked_request2size
8554 instead of request2size.
8555
8556 2017-11-30 Joseph Myers <joseph@codesourcery.com>
8557
8558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
8559 (__lllrint): Remove alias.
8560 (lllrint): Likewise.
8561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
8562 (__lllrintf): Likewise.
8563 (lllrintf): Likewise.
8564
8565 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
8566 <libm-alias-float.h>.
8567 (copysignf): Define using libm_alias_float.
8568 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
8569 <libm-alias-float.h>.
8570 (fabsf): Define using libm_alias_float.
8571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8572 Include <libm-alias-float.h>.
8573 (copysignf): Define using libm_alias_float.
8574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
8575 <libm-alias-float.h>.
8576 (fabsf): Define using libm_alias_float.
8577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
8578 <libm-alias-float.h>.
8579 (fdimf): Define using libm_alias_float.
8580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
8581 <libm-alias-float.h>.
8582 (fmaf): Define using libm_alias_float.
8583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
8584 <libm-alias-float.h>.
8585 (llrintf): Define using libm_alias_float.
8586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
8587 Include <libm-alias-float.h>.
8588 (nearbyintf): Define using libm_alias_float.
8589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
8590 <libm-alias-float.h>.
8591 (rintf): Define using libm_alias_float.
8592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
8593 <libm-alias-float.h>.
8594 (llrintf): Define using libm_alias_float.
8595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
8596 <libm-alias-float.h>.
8597 (lrintf): Define using libm_alias_float.
8598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
8599 <libm-alias-float.h>.
8600 (nearbyintf): Define using libm_alias_float.
8601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
8602 <libm-alias-float.h>.
8603 (rintf): Define using libm_alias_float.
8604 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
8605 <libm-alias-float.h>.
8606 (ceilf): Define using libm_alias_float.
8607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
8608 <libm-alias-float.h>.
8609 (floorf): Define using libm_alias_float.
8610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
8611 <libm-alias-float.h>.
8612 (fmaf): Define using libm_alias_float.
8613 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
8614 <libm-alias-float.h>.
8615 (lrintf): Define using libm_alias_float.
8616 (llrintf): Likewise.
8617 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
8618 <libm-alias-float.h>.
8619 (nearbyintf): Define using libm_alias_float.
8620 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
8621 <libm-alias-float.h>.
8622 (rintf): Define using libm_alias_float.
8623 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
8624 <libm-alias-float.h>.
8625 (truncf): Define using libm_alias_float.
8626 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
8627 <libm-alias-float.h>.
8628 (copysignf): Define using libm_alias_float.
8629 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
8630 <libm-alias-float.h>.
8631 (fabsf): Define using libm_alias_float.
8632 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
8633 <libm-alias-float.h>.
8634 (lrintf): Define using libm_alias_float.
8635 (llrintf): Likewise.
8636 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
8637 <libm-alias-float.h>.
8638 (nearbyintf): Define using libm_alias_float.
8639 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
8640 <libm-alias-float.h>.
8641 (rintf): Define using libm_alias_float.
8642
8643 2017-11-29 Joseph Myers <joseph@codesourcery.com>
8644
8645 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
8646 <libm-alias-double.h>.
8647 (copysign): Define using libm_alias_double.
8648 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
8649 <libm-alias-double.h>.
8650 (fabs): Define using libm_alias_double.
8651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8652 Include <libm-alias-double.h>.
8653 (copysign): Define using libm_alias_double.
8654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
8655 <libm-alias-double.h>.
8656 (fabs): Define using libm_alias_double.
8657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
8658 <libm-alias-double.h>.
8659 (fdim): Define using libm_alias_double.
8660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
8661 <libm-alias-double.h>.
8662 (fma): Define using libm_alias_double.
8663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
8664 <libm-alias-double.h>.
8665 (llrint): Define using libm_alias_double.
8666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
8667 Include <libm-alias-double.h>.
8668 (nearbyint): Define using libm_alias_double.
8669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
8670 <libm-alias-double.h>.
8671 (rint): Define using libm_alias_double.
8672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
8673 <libm-alias-double.h>.
8674 (fabs): Define using libm_alias_double.
8675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
8676 <libm-alias-double.h>.
8677 (llrint): Define using libm_alias_double.
8678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
8679 <libm-alias-double.h>.
8680 (nearbyint): Define using libm_alias_double.
8681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
8682 <libm-alias-double.h>.
8683 (rint): Define using libm_alias_double.
8684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
8685 <libm-alias-double.h>.
8686 (ceil): Define using libm_alias_double.
8687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
8688 <libm-alias-double.h>.
8689 (floor): Define using libm_alias_double.
8690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
8691 <libm-alias-double.h>.
8692 (fma): Define using libm_alias_double.
8693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
8694 <libm-alias-double.h>.
8695 (lrint): Define using libm_alias_double.
8696 (llrint): Likewise.
8697 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
8698 <libm-alias-double.h>.
8699 (nearbyint): Define using libm_alias_double.
8700 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
8701 <libm-alias-double.h>.
8702 (rint): Define using libm_alias_double.
8703 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
8704 <libm-alias-double.h>.
8705 (trunc): Define using libm_alias_double.
8706 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
8707 <libm-alias-double.h>.
8708 (copysign): Define using libm_alias_double.
8709 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
8710 <libm-alias-double.h>.
8711 (fabs): Define using libm_alias_double.
8712 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
8713 <libm-alias-double.h>.
8714 (lrint): Define using libm_alias_double.
8715 (llrint): Likewise.
8716 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
8717 <libm-alias-double.h>.
8718 (nearbyint): Define using libm_alias_double.
8719 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
8720 <libm-alias-double.h>.
8721 (rint): Define using libm_alias_double.
8722
8723 [BZ #22229]
8724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
8725 <math_ldbl_opt.h>.
8726 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
8727
8728 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8729 SPARC --disable-multi-arch glibc variants.
8730
8731 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
8732 <libm-alias-float.h>.
8733 (exp2f): Define using libm_alias_float, or libm_alias_float_other
8734 if [SHARED].
8735 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
8736 <libm-alias-float.h>.
8737 (exp2f): Define using libm_alias_float, or libm_alias_float_other
8738 if [SHARED].
8739 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
8740 <libm-alias-float.h>.
8741 (exp2f): Define using libm_alias_float, or libm_alias_float_other
8742 if [SHARED].
8743 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
8744 <libm-alias-float.h>.
8745 (exp2f): Define using libm_alias_float, or libm_alias_float_other
8746 if [SHARED].
8747 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
8748 <libm-alias-float.h>.
8749 (exp2f): Define using libm_alias_float, or libm_alias_float_other
8750 if [SHARED].
8751 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
8752 <libm-alias-float.h>.
8753 (ceilf): Define using libm_alias_float.
8754 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
8755 <libm-alias-float.h>.
8756 (floorf): Define using libm_alias_float.
8757 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
8758 <libm-alias-float.h>.
8759 (fmaf): Define using libm_alias_float.
8760 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
8761 <libm-alias-float.h>.
8762 (nearbyintf): Define using libm_alias_float.
8763 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
8764 <libm-alias-float.h>.
8765 (rintf): Define using libm_alias_float.
8766 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
8767 <libm-alias-float.h>.
8768 (truncf): Define using libm_alias_float.
8769 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
8770 (copysignf): Define using libm_alias_float.
8771 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
8772 (cosf): Define using libm_alias_float.
8773 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
8774 (fabsf): Define using libm_alias_float.
8775 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
8776 (fmaxf): Define using libm_alias_float.
8777 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
8778 (fminf): Define using libm_alias_float.
8779 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
8780 (llrintf): Define using libm_alias_float.
8781 [!__ILP32__] (lrintf): Likewise.
8782 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
8783 (sincosf): Define using libm_alias_float.
8784 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
8785 (sinf): Define using libm_alias_float.
8786 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
8787 (lrintf): Define using libm_alias_float.
8788
8789 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
8790 <libm-alias-double.h>.
8791 (atan): Define using libm_alias_double.
8792 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
8793 <libm-alias-double.h>.
8794 (ceil): Define using libm_alias_double.
8795 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
8796 <libm-alias-double.h>.
8797 (floor): Define using libm_alias_double.
8798 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
8799 <libm-alias-double.h>.
8800 (fma): Define using libm_alias_double.
8801 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
8802 <libm-alias-double.h>.
8803 (nearbyint): Define using libm_alias_double.
8804 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
8805 <libm-alias-double.h>.
8806 (rint): Define using libm_alias_double.
8807 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
8808 <libm-alias-double.h>.
8809 (sin): Define using libm_alias_double.
8810 (cos): Likewise.
8811 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
8812 <libm-alias-double.h>.
8813 (tan): Define using libm_alias_double.
8814 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
8815 <libm-alias-double.h>.
8816 (trunc): Define using libm_alias_double.
8817 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
8818 (copysign): Define using libm_alias_double.
8819 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
8820 (fabs): Define using libm_alias_double.
8821 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
8822 (fmax): Define using libm_alias_double.
8823 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
8824 (fmin): Define using libm_alias_double.
8825 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
8826 (llrint): Define using libm_alias_double.
8827 [!__ILP32__] (lrint): Likewise.
8828 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
8829 (lrint): Define using libm_alias_double.
8830
8831 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8832
8833 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8834 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
8835 objects.
8836 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
8837 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
8838 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
8839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
8840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
8841 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8842
8843 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8844 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
8845 objects.
8846 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
8847 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
8848 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
8849 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
8850 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
8851 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8852
8853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8854 (libm-sysdep_routines): Add s_nearbyint-generic and
8855 s_nearbyintf-generic objects.
8856 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
8857 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
8858 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
8859 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
8860 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
8861 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
8862
8863 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
8864 Add s_finitef-generic and s_finite-generic objects.
8865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
8866 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
8867 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
8868 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
8869 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
8870 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
8871
8872 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
8873 Add s_isinff-generic and s_isinf-generic objects.
8874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
8875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
8876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
8877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
8878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
8879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8880
8881 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
8882 Add s_isnanf-generic and s_isnan-generic objects.
8883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
8884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
8885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
8886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
8887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
8888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8889
8890 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
8891 macro.
8892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
8893 rule.
8894 (sysdep_routines): Use sysdep_calls as base.
8895 (libm-sysdep_routines): Add generic rule for symbols shared with
8896 libc. Add s_signbit-generic and s_signbitf-generic objects.
8897 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
8898 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
8899 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
8900 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
8901 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
8902 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8903
8904 2017-11-29 Joseph Myers <joseph@codesourcery.com>
8905
8906 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
8907 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
8908 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
8909 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
8910 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
8911 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
8912 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
8913 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
8914 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
8915 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
8916 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
8917 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
8918 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
8919 libm_alias_float_r.
8920 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
8921 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
8922 (logf): Likewise.
8923 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
8924 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
8925 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
8926 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
8927 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
8928 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
8929 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
8930 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
8931 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
8932 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
8933 libm_alias_float.
8934 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
8935 (cosf): Likewise.
8936 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
8937 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
8938 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
8939 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
8940 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
8941 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
8942 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
8943 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
8944 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
8945 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
8946 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
8947 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
8948 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
8949 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
8950 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
8951 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
8952 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
8953 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
8954 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
8955 libm_alias_float.
8956 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
8957 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
8958 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
8959 * sysdeps/ia64/fpu/w_lgammaf_main.c
8960 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
8961 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
8962
8963 2017-11-28 Mike FABIAN <mfabian@redhat.com>
8964 Alexandre Oliva <aoliva@redhat.com>
8965
8966 [BZ #17750]
8967 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
8968 * localedata/fr_CA.UTF-8.in: New file with test data for backward
8969 accents sorting.
8970 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
8971 sorting.
8972 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
8973 * localedata/locales/de_DE (LC_COLLATE): Likewise.
8974 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
8975 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
8976 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
8977 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
8978 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
8979 instead of “ifdef DIACRIT_BACKWARD”.
8980
8981 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8982
8983 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
8984 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
8985 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
8986 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
8987 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
8988 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
8989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
8994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
8995 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8996 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8997 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
8998 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
8999 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
9000 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
9001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9002 ($(have-as-vis3) == yes): Remove conditional.
9003 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
9004 Likewise.
9005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
9006 file.
9007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
9008 file.
9009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
9010 file.
9011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
9012 file.
9013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
9014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
9015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
9016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
9017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
9018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
9019 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
9020 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
9021
9022 2017-11-29 Joseph Myers <joseph@codesourcery.com>
9023
9024 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
9025 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
9026 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
9027 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
9028 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
9029 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
9030 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
9031 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
9032 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
9033 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
9034 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
9035 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
9036 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
9037 libm_alias_double_r.
9038 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
9039 (log): Likewise.
9040 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
9041 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
9042 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
9043 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
9044 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
9045 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
9046 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
9047 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
9048 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
9049 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
9050 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
9051 libm_alias_double.
9052 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
9053 (cos): Likewise.
9054 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
9055 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
9056 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
9057 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
9058 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
9059 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
9060 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
9061 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
9062 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
9063 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
9064 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
9065 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
9066 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
9067 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
9068 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
9069 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
9070 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
9071 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
9072 libm_alias_double.
9073 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
9074 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
9075 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
9076 * sysdeps/ia64/fpu/w_lgamma_main.c
9077 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
9078 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
9079
9080 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
9081
9082 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
9083 address of $global$ into %dp register earlier. Use pc-relative
9084 instruction sequence for PIC case.
9085
9086 2017-11-28 Joseph Myers <joseph@codesourcery.com>
9087
9088 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
9089 (asinhf): Define using libm_alias_float.
9090 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
9091 (atanf): Define using libm_alias_float.
9092 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
9093 (cbrtf): Define using libm_alias_float.
9094 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
9095 (ceilf): Define using libm_alias_float.
9096 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
9097 (copysignf): Define using libm_alias_float.
9098 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
9099 (expm1f): Define using libm_alias_float.
9100 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
9101 (fabsf): Define using libm_alias_float.
9102 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
9103 (floorf): Define using libm_alias_float.
9104 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
9105 (fmaxf): Define using libm_alias_float.
9106 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
9107 (fminf): Define using libm_alias_float.
9108 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
9109 (frexpf): Define using libm_alias_float.
9110 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
9111 (llrintf): Define using libm_alias_float.
9112 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
9113 (logbf): Define using libm_alias_float.
9114 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
9115 (lrintf): Define using libm_alias_float.
9116 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
9117 (nearbyintf): Define using libm_alias_float.
9118 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
9119 (remquof): Define using libm_alias_float.
9120 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
9121 (rintf): Define using libm_alias_float.
9122 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
9123 (truncf): Define using libm_alias_float.
9124 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
9125 <libm-alias-float.h>.
9126 (exp2f): Define using libm_alias_float, or libm_alias_float_other
9127 if [SHARED].
9128 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
9129 <libm-alias-float.h>.
9130 (expf): Define using libm_alias_float, or libm_alias_float_other
9131 if [SHARED].
9132 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
9133 <libm-alias-float.h>.
9134 (log2f): Define using libm_alias_float, or libm_alias_float_other
9135 if [SHARED].
9136 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
9137 <libm-alias-float.h>.
9138 (logf): Define using libm_alias_float, or libm_alias_float_other
9139 if [SHARED].
9140 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
9141 <libm-alias-float.h>.
9142 (powf): Define using libm_alias_float, or libm_alias_float_other
9143 if [SHARED].
9144 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
9145 <libm-alias-float.h>.
9146 (cosf): Define using libm_alias_float.
9147 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
9148 <libm-alias-float.h>.
9149 (sincosf): Define using libm_alias_float.
9150 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
9151 <libm-alias-float.h>.
9152 (sinf): Define using libm_alias_float.
9153 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
9154 (fmaxf): Define using libm_alias_float.
9155 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
9156 (fminf): Define using libm_alias_float.
9157 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9158 <libm-alias-float.h>.
9159 (fmaf): Define using libm_alias_float.
9160
9161 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
9162 (asinh): Define using libm_alias_double.
9163 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
9164 (atan): Define using libm_alias_double.
9165 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
9166 (cbrt): Define using libm_alias_double.
9167 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
9168 (ceil): Define using libm_alias_double.
9169 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
9170 (copysign): Define using libm_alias_double.
9171 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
9172 (expm1): Define using libm_alias_double.
9173 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
9174 (fabs): Define using libm_alias_double.
9175 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
9176 (fdim): Define using libm_alias_double.
9177 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
9178 (floor): Define using libm_alias_double.
9179 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
9180 (fmax): Define using libm_alias_double.
9181 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
9182 (fmin): Define using libm_alias_double.
9183 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
9184 (frexp): Define using libm_alias_double.
9185 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
9186 (llrint): Define using libm_alias_double.
9187 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
9188 (logb): Define using libm_alias_double.
9189 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
9190 (lrint): Define using libm_alias_double.
9191 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
9192 (nearbyint): Define using libm_alias_double.
9193 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
9194 (remquo): Define using libm_alias_double.
9195 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
9196 (rint): Define using libm_alias_double.
9197 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
9198 (trunc): Define using libm_alias_double.
9199 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
9200 (fmax): Define using libm_alias_double.
9201 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
9202 (fmin): Define using libm_alias_double.
9203 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
9204 (fma): Define using libm_alias_double.
9205
9206 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
9207
9208 [BZ #22370]
9209 * elf/dl-hwcaps.c (ROUND): Removed.
9210 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
9211 and ELF_NOTE_NEXT_OFFSET.
9212 * elf/dl-load.c (ROUND): Removed.
9213 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
9214 * elf/readelflib.c (ROUND): Removed.
9215 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
9216 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
9217 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
9218 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
9219
9220 2017-11-28 Joseph Myers <joseph@codesourcery.com>
9221
9222 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
9223 [!__fmaf] (fmaf): Define using libm_alias_float.
9224
9225 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
9226 [!__fma] (fma): Define using libm_alias_double.
9227 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
9228
9229 2017-11-28 Mike FABIAN <mfabian@redhat.com>
9230
9231 [BZ #22336]
9232 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
9233 and implement the collation rules for cs from CLDR on top of that.
9234 * Makefile: Add cs_CZ.UTF-8 to test-input.
9235 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
9236
9237 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
9238
9239 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
9240
9241 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
9242 Icarus Sparry <icarus.w.sparry@intel.com>
9243
9244 * benchtests/Makefile:Add BENCHSET to allow subsets of
9245 benchmarks to be run.
9246 * benchtests/README: Add documentation for: Running subsets of
9247 benchmarks.
9248
9249 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
9250
9251 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
9252 range of tests names.
9253
9254 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
9255 result from property and remove "max", min" and "mean" from
9256 required properties based on benchtests/bench-skeleton.c.
9257
9258 2017-11-28 Florian Weimer <fweimer@redhat.com>
9259
9260 [BZ #20826]
9261 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
9262 due to Internet requirement.
9263 * posix/Makefile (tests): Remove tst-getaddrinfo4,
9264 tst-getaddrinfo5.
9265 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
9266
9267 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9268
9269 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
9270 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
9271 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
9272 (sysdep_routines): Add memset-ultra1.
9273 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
9274 file.
9275 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
9276 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
9277 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
9278 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
9279 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
9280 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
9281 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
9282 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9283
9284 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
9285 file.
9286 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
9287 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
9288 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
9289 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
9290 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
9291 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
9292 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
9293 macro.
9294 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
9295 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
9296 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
9297 (sysdep_routines): Add memcpy-ultra1.
9298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
9299 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
9300
9301 2017-11-28 Joseph Myers <joseph@codesourcery.com>
9302
9303 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
9304 (cfloat_versions): Take function argument without trailing 'f'.
9305 Call libm_alias_float_other.
9306 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
9307 * sysdeps/alpha/fpu/cargf.c: Likewise.
9308 * sysdeps/alpha/fpu/cimagf.c: Likewise.
9309 * sysdeps/alpha/fpu/conjf.c: Likewise.
9310 * sysdeps/alpha/fpu/crealf.c: Likewise.
9311 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
9312 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
9313 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
9314 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
9315 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
9316 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
9317 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
9318 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
9319 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
9320 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
9321 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
9322 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
9323 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
9324 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
9325 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
9326 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
9327 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
9328 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
9329 (clog10f): Use libm_alias_float_other.
9330 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
9331 (ceilf): Define using libm_alias_float.
9332 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
9333 (copysignf): Define using libm_alias_float.
9334 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
9335 (fabsf): Define using libm_alias_float.
9336 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
9337 (floorf): Define using libm_alias_float.
9338 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
9339 (fmaxf): Define using libm_alias_float.
9340 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
9341 (fminf): Define using libm_alias_float.
9342 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
9343 (lrintf): Define using libm_alias_float.
9344 (llrintf): Likewise.
9345 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
9346 (lroundf): Define using libm_alias_float.
9347 (llroundf): Likewise.
9348 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
9349 (rintf): Define using libm_alias_float.
9350 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
9351 (truncf): Define using libm_alias_float.
9352
9353 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
9354 (ceilf): Define using libm_alias_float.
9355 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
9356 (floorf): Define using libm_alias_float.
9357 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
9358 (fmaf): Define using libm_alias_float.
9359 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
9360 (fmaxf): Define using libm_alias_float.
9361 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
9362 (fminf): Define using libm_alias_float.
9363 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
9364 (llrintf): Define using libm_alias_float.
9365 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
9366 (llroundf): Define using libm_alias_float.
9367 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
9368 (lrintf): Define using libm_alias_float.
9369 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
9370 (lroundf): Define using libm_alias_float.
9371 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
9372 <libm-alias-float.h>.
9373 (nearbyintf): Define using libm_alias_float.
9374 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
9375 (rintf): Define using libm_alias_float.
9376 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
9377 (roundf): Define using libm_alias_float.
9378 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
9379 (truncf): Define using libm_alias_float.
9380
9381 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
9382 (ceil): Define using libm_alias_double.
9383 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
9384 (copysign): Define using libm_alias_double.
9385 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
9386 (fabs): Define using libm_alias_double.
9387 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
9388 (floor): Define using libm_alias_double.
9389 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
9390 (fmax): Define using libm_alias_double.
9391 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
9392 (fmin): Define using libm_alias_double.
9393 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
9394 (lrint): Define using libm_alias_double.
9395 (llrint): Likewise.
9396 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
9397 (lround): Define using libm_alias_double.
9398 (llround): Likewise.
9399 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
9400 (rint): Define using libm_alias_double.
9401 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
9402 (trunc): Define using libm_alias_double.
9403
9404 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
9405 (libm_alias_double_r): Add semicolon after weak_alias call.
9406
9407 2017-11-27 Joseph Myers <joseph@codesourcery.com>
9408
9409 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
9410 (ceil): Define using libm_alias_double.
9411 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
9412 (floor): Define using libm_alias_double.
9413 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
9414 (fma): Define using libm_alias_double.
9415 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
9416 (fmax): Define using libm_alias_double.
9417 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
9418 (fmin): Define using libm_alias_double.
9419 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
9420 (llrint): Define using libm_alias_double.
9421 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
9422 (llround): Define using libm_alias_double.
9423 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
9424 (lrint): Define using libm_alias_double.
9425 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
9426 (lround): Define using libm_alias_double.
9427 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
9428 (nearbyint): Define using libm_alias_double.
9429 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
9430 (rint): Define using libm_alias_double.
9431 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
9432 (round): Define using libm_alias_double.
9433 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
9434 (trunc): Define using libm_alias_double.
9435
9436 2017-11-27 Florian Weimer <fweimer@redhat.com>
9437
9438 * sysdeps/unix/sysv/linux/mlock2.c: New file.
9439 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
9440 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
9441 (tests): Add tst-mlock2.
9442 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
9443 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
9444 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
9445 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
9446 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
9447 for mlock. Document mlock2.
9448
9449 2017-11-27 Joseph Myers <joseph@codesourcery.com>
9450
9451 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
9452 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
9453 Likewise.
9454 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
9455 Likewise.
9456 * sysdeps/x86/Makeconfig: New file.
9457 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
9458 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
9459 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
9460 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
9461 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
9462 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
9463 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
9464 Likewise.
9465 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
9466 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
9467 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
9468 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
9469 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
9470 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
9471 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
9472 * manual/math.texi (Mathematics): Document support for _Float64x.
9473 * math/Versions (GLIBC_2.27): Add _Float64x functions.
9474 * stdlib/Versions (GLIBC_2.27): Likewise.
9475 * wcsmbs/Versions (GLIBC_2.27): Likewise.
9476 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
9477 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9478 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9479 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9480 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9481 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9482 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9483 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9484 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9485 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9486 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9488 Likewise.
9489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9490 Likewise.
9491 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9492 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9493 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9494 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9495 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9496 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9497 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9498 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9499 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9500 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9501 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9502 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9503 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9504 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9505
9506 2017-11-27 Andreas Schwab <schwab@suse.de>
9507
9508 * elf/Makefile (dl-routines): Add dl-sort-maps.
9509 * elf/dl-sort-maps.c: New file.
9510 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
9511 (_dl_sort_maps): Declare.
9512 * elf/dl-fini.c (_dl_sort_fini): Remove.
9513 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
9514 * elf/dl-close.c (_dl_close_worker): Likewise.
9515 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
9516 open-coding it.
9517 * elf/dl-open.c (dl_open_worker): Likewise.
9518
9519 2017-11-24 Joseph Myers <joseph@codesourcery.com>
9520
9521 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
9522 using libm_alias_float128.
9523 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
9524 Likewise.
9525 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
9526 Likewise.
9527 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
9528 (setpayloadsigf128): Likewise.
9529 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
9530 Likewise.
9531 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
9532 Likewise.
9533
9534 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
9535 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
9536 -mfloat128 to CFLAGS.
9537 ($(foreach
9538 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
9539 Likewise.
9540 (CFLAGS-libm-test-support-float64x.c): New variable.
9541 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
9542 $(f128-loader-link) to gnulib-tests.
9543
9544 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
9545 (libm_alias_float128_other_r): If
9546 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
9547 alias.
9548 (libm_alias_float128_r): Add semicolon after weak_alias call.
9549 * sysdeps/generic/libm-alias-ldouble.h
9550 (libm_alias_ldouble_other_r_f128): New macro.
9551 (libm_alias_ldouble_other_r_f64x): Likewise.
9552 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
9553 and libm_alias_ldouble_other_r_f64x.
9554 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
9555 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
9556 (libm_alias_ldouble_other_r_f128): New macro.
9557 (libm_alias_ldouble_other_r_f64x): Likewise.
9558 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
9559 and libm_alias_ldouble_other_r_f64x.
9560
9561 * stdlib/strfroml.c: Always include <stdlib.h>.
9562 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
9563 undefine as macro and define as weak alias.
9564 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
9565 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
9566 <stdlib.h>.
9567 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
9568 Define and later undefine as macro and define as weak alias.
9569
9570 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
9571 Define and later undefine as macro. Define as weak alias if
9572 [!USE_WIDE_CHAR].
9573 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
9574 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
9575 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
9576 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
9577 Define and later undefine as macro. Define as weak alias if
9578 [!USE_WIDE_CHAR].
9579 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
9580 Define and later undefine as macro. Define as weak alias if
9581 [USE_WIDE_CHAR].
9582 * sysdeps/ieee754/float128/strtof128_l.c
9583 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
9584 Define and later undefine as macro. Define as weak alias if
9585 [!USE_WIDE_CHAR].
9586 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
9587 Define and later undefine as macro. Define as weak alias if
9588 [USE_WIDE_CHAR].
9589 * sysdeps/ieee754/ldbl-128/strtold_l.c
9590 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
9591 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
9592 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
9593 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
9594 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
9595 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
9596 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
9597 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
9598 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
9599 * sysdeps/ieee754/ldbl-96/strtold_l.c
9600 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
9601 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
9602 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
9603 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
9604
9605 * math/test-float64x.h: New file.
9606 * math/Makefile (type-float64x-yes): New variable.
9607 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
9608
9609 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
9610 function-like macro.
9611 (min_of_type_): Likewise.
9612 (min_of_type_l): Likewise.
9613 (min_of_type_f128): Likewise.
9614 (min_of_type): Pass () as last argument of __MATH_TG.
9615
9616 * stdlib/tst-strtod-round-skeleton.c
9617 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
9618 headers.
9619
9620 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
9621 for combinations of long double with _Float64 and _Float64x.
9622
9623 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
9624 (__DECL_SIMD_cosf32): Likewise.
9625 (__DECL_SIMD_cosf64): Likewise.
9626 (__DECL_SIMD_cosf32x): Likewise.
9627 (__DECL_SIMD_cosf64x): Likewise.
9628 (__DECL_SIMD_cosf128x): Likewise.
9629 (__DECL_SIMD_sinf16): Likewise.
9630 (__DECL_SIMD_sinf32): Likewise.
9631 (__DECL_SIMD_sinf64): Likewise.
9632 (__DECL_SIMD_sinf32x): Likewise.
9633 (__DECL_SIMD_sinf64x): Likewise.
9634 (__DECL_SIMD_sinf128x): Likewise.
9635 (__DECL_SIMD_sincosf16): Likewise.
9636 (__DECL_SIMD_sincosf32): Likewise.
9637 (__DECL_SIMD_sincosf64): Likewise.
9638 (__DECL_SIMD_sincosf32x): Likewise.
9639 (__DECL_SIMD_sincosf64x): Likewise.
9640 (__DECL_SIMD_sincosf128x): Likewise.
9641 (__DECL_SIMD_logf16): Likewise.
9642 (__DECL_SIMD_logf32): Likewise.
9643 (__DECL_SIMD_logf64): Likewise.
9644 (__DECL_SIMD_logf32x): Likewise.
9645 (__DECL_SIMD_logf64x): Likewise.
9646 (__DECL_SIMD_logf128x): Likewise.
9647 (__DECL_SIMD_expf16): Likewise.
9648 (__DECL_SIMD_expf32): Likewise.
9649 (__DECL_SIMD_expf64): Likewise.
9650 (__DECL_SIMD_expf32x): Likewise.
9651 (__DECL_SIMD_expf64x): Likewise.
9652 (__DECL_SIMD_expf128x): Likewise.
9653 (__DECL_SIMD_powf16): Likewise.
9654 (__DECL_SIMD_powf32): Likewise.
9655 (__DECL_SIMD_powf64): Likewise.
9656 (__DECL_SIMD_powf32x): Likewise.
9657 (__DECL_SIMD_powf64x): Likewise.
9658 (__DECL_SIMD_powf128x): Likewise.
9659
9660 * stdlib/Versions (libc): Move entries for wcstof128 and
9661 wcstof128_l to ....
9662 * wcsmbs/Versions (libc): ... here.
9663 Include <float128-abi.h>.
9664
9665 2017-11-24 Florian Weimer <fweimer@redhat.com>
9666
9667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9668 bits/mman-shared.h.
9669 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
9670 <bits/mman-shared.h>.
9671 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
9672 to ...
9673 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
9674 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
9675 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
9676 <bits/mman-shared.h>.
9677
9678 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9679
9680 [BZ #22457]
9681 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
9682 posix_memalign/free.
9683 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
9684
9685 2017-11-22 Mike FABIAN <mfabian@redhat.com>
9686
9687 [BZ #22469]
9688 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
9689 and implement the collation rules for pl from CLDR on top of that.
9690 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
9691 of locales to be built for testing.
9692 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
9693
9694 2017-11-23 Joseph Myers <joseph@codesourcery.com>
9695
9696 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
9697 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
9698 libm_alias_ldouble_other.
9699 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
9700 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
9701 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
9702 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
9703 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
9704 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
9705 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
9706 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
9707 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
9708 libm_alias_ldouble_r.
9709 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
9710 libm_alias_ldouble_other.
9711 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
9712 (log10l): Likewise.
9713 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
9714 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
9715 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
9716 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
9717 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
9718 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
9719 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
9720 (atan2l): Likewise.
9721 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
9722 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
9723 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
9724 libm_alias_ldouble.
9725 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
9726 (cosl): Likewise.
9727 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
9728 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
9729 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
9730 (expl): Likewise.
9731 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
9732 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
9733 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
9734 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
9735 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
9736 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
9737 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
9738 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
9739 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
9740 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
9741 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
9742 libm_alias_ldouble.
9743 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
9744 libm_alias_ldouble_other.
9745 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
9746 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
9747 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
9748 libm_alias_ldouble.
9749 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
9750 libm_alias_ldouble_other.
9751 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
9752 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
9753 * sysdeps/ia64/fpu/w_lgammal_main.c
9754 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
9755 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
9756
9757 2017-11-23 Florian Weimer <fweimer@redhat.com>
9758
9759 * malloc/malloc.c (tcache_thread_shutdown): Rename from
9760 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
9761 alike. Remove freeres marker.
9762 * malloc/arena.c (arena_thread_freeres): Call
9763 tcache_thread_shutdown.
9764
9765 2017-11-23 Florian Weimer <fweimer@redhat.com>
9766
9767 [BZ #22459]
9768 Export nscd hash function as __nss_hash.
9769 * include/nss.h (__nss_hash): Declare.
9770 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
9771 symbol.
9772 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
9773 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
9774 of __nscd_hash.
9775 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
9776 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
9777 * nss/Makefiles (routines): Add nss_hash.
9778 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
9779 * nss/nss_hash.c: Rename from nis/nis_hash.c.
9780 (__nss_hash): Rename from __nis_hash. Define hidden alias.
9781 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
9782
9783 2017-11-23 Florian Weimer <fweimer@redhat.com>
9784
9785 [BZ #22478]
9786 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
9787 Return error code, not -1.
9788 * signal/tst-sigwait-eintr.c: New file.
9789 * signal/Makefile (tests): Add tst-sigwait-eintr.
9790
9791 2017-11-23 Florian Weimer <fweimer@redhat.com>
9792
9793 Linux: Add memfd_create system call wrapper
9794 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
9795 tst-memfd_create.
9796 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9797 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
9798 [__USE_GNU] (memfd_create): Declare.
9799 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
9800 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
9801 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
9802 * sysdeps/unix/sysv/linux/**.abilist: Update.
9803 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
9804
9805 2017-11-22 Joseph Myers <joseph@codesourcery.com>
9806
9807 * localedata/gen-locale.sh: Fix typo in variable name.
9808
9809 * resolv/res_debug.c (p_secstodate): Condition definition on
9810 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
9811 directly as __p_secstodate, and as a compat symbol. Do not use
9812 libresolv_hidden_def.
9813 * resolv/resolv.h (p_secstodate): Remove macro and function
9814 declaration.
9815 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
9816 using p_secstodate.
9817 * include/resolv.h (__p_secstodate): Do not use
9818 libresolv_hidden_proto.
9819 * resolv/Makefile (tests): Move tst-p_secstodate to ....
9820 (tests-internal): ... here.
9821 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
9822 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
9823 and declare and use __p_secstodate and use compat_symbol_reference
9824 in that case.
9825 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
9826 implementation returning 77.
9827
9828 [BZ #22463]
9829 * resolv/res_debug.c: Include <libc-diag.h>.
9830 (p_secstodate): Assert time_t at least as wide as u_long. On
9831 overflow, use integer seconds since the epoch as output, or use
9832 "<overflow>" as output and set errno to EOVERFLOW if integer
9833 seconds since the epoch would be 14 or more characters.
9834 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
9835 for sprintf call.
9836 * resolv/tst-p_secstodate.c: New file.
9837 * resolv/Makefile (tests): Add tst-p_secstodate.
9838 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
9839
9840 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
9841 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9842 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
9843
9844 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
9845
9846 * posix/regcomp.c (init_word_char): Add comments.
9847
9848 2017-11-22 Joseph Myers <joseph@codesourcery.com>
9849
9850 [BZ #22447]
9851 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
9852 strlen to compute length of ut_user and set trailing NUL byte of
9853 result explicitly.
9854
9855 2017-11-21 Mike FABIAN <mfabian@redhat.com>
9856
9857 [BZ #15537]
9858 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
9859 using “copy "iso14651_t1"” and then implementing the
9860 collation rules for lv from CLDR on top of that.
9861 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
9862 of locales to be built for testing.
9863 * lv_LV.UTF-8.in: New file with test data to test the Latvian
9864 sorting.
9865
9866 2017-11-21 Joseph Myers <joseph@codesourcery.com>
9867
9868 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
9869 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
9870 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
9871 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
9872 [__USE_MISC] (MADV_HWPOISON): New macro.
9873 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
9874
9875 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9876
9877 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
9878 -Wmissing-braces on GCC 4.9.
9879
9880 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
9881
9882 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
9883 * sysdeps/s390/s390-32/start.S (_start): Likewise
9884 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
9885 (thread_start): Likewise.
9886 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
9887 (thread_start): Likewise.
9888 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
9889 (__makecontext_ret): Likewise.
9890 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
9891 (__makecontext_ret): Likewise.
9892
9893 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
9894
9895 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
9896 __wcschrnul): Remove attribute_hidden.
9897
9898 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
9899
9900 regex: don't assume uint64_t or uint32_t
9901 This avoids -Werror=overflow errors for 32-bit systems in
9902 the 64-bit case. Problem reported by Joseph Myers in:
9903 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
9904 Also, when this code is used in Gnulib it ports to platforms
9905 that lack uint64_t and uint32_t. The C standard doesn't guarantee
9906 them, and on some 32-bit compilers there is no uint64_t.
9907 Problem reported by Gianluigi Tiesi in:
9908 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
9909 * posix/regcomp.c (init_word_char): Don't assume that the types
9910 uint64_t and uint32_t exist. Adapted from Gnulib patch
9911 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
9912 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
9913
9914 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
9915
9916 * sysdeps/aarch64/memset-reg.h: New file.
9917 * sysdeps/aarch64/memset.S: Use it.
9918 (__memset): Rename to MEMSET macro.
9919 [ZVA_MACRO]: Use zva_macro.
9920 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
9921 Add memset_generic and memset_falkor.
9922 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9923 (__libc_ifunc_impl_list): Add memset ifuncs.
9924 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
9925 local variable zva_size.
9926 * sysdeps/aarch64/multiarch/memset.c: New file.
9927 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
9928 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
9929 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
9930 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
9931 (DCZID_DZP_MASK): New macro.
9932 (DCZID_BS_MASK): Likewise.
9933 (init_cpu_features): Read and set zva_size.
9934 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
9935 (struct cpu_features): New member zva_size.
9936
9937 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
9938 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
9939 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
9940
9941 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
9942 backwards. Fix timing computation.
9943 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
9944 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
9945 on memset by N at a time. Fix timing computation.
9946
9947 2017-11-20 Florian Weimer <fweimer@redhat.com>
9948
9949 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
9950 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
9951
9952 2017-11-19 Florian Weimer <fweimer@redhat.com>
9953
9954 manual: Document mprotect
9955 * manual/memory.texi (Memory Protection): New section.
9956 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
9957 documentation of PROT_* flags and reference the Memory Protection
9958 section instead.
9959
9960 2017-11-19 Florian Weimer <fweimer@redhat.com>
9961
9962 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
9963 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
9964 (Scatter-Gather): ... to here. Remove misleading comment.
9965
9966 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
9967
9968 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
9969 style.
9970
9971 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
9972 when /proc/<pid>/setgroups does not exist.
9973
9974 2017-11-18 Florian Weimer <fweimer@redhat.com>
9975
9976 * sysdeps/unix/sysv/linux/tst-ttyname.c
9977 (become_root_in_mount_ns): Remove.
9978 (do_in_chroot_1): Call support_enter_mount_namespace.
9979 (do_in_chroot_2): Likewise.
9980 (do_test): Call support_become_root early.
9981
9982 2017-11-18 Florian Weimer <fweimer@redhat.com>
9983
9984 * support/namespace.h (support_enter_mount_namespace): Declare.
9985 * support/support_enter_mount_namespace.c: New file.
9986 * support/Makefile (libsupport-routines): Add
9987 support_enter_mount_namespace.
9988
9989 2017-11-18 Florian Weimer <fweimer@redhat.com>
9990
9991 * support/temp_file.c (support_create_temp_directory): Use
9992 test_dir and do not rely on the presence of the XXXXXX suffix.
9993 * support/temp_file.h (support_create_temp_directory): Update
9994 comment.
9995 * support/tst-xreadlink.c (do_test): Adjust.
9996 * support/support_chroot.c (support_chroot_create): Likewise.
9997
9998 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9999
10000 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
10001 macro.
10002 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
10003 htm-no-suspend.
10004
10005 2017-11-17 Joseph Myers <joseph@codesourcery.com>
10006
10007 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
10008 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
10009 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
10010 (ceill): Define using libm_alias_ldouble.
10011 * sysdeps/x86_64/fpu/s_copysignl.S: Include
10012 <libm-alias-ldouble.h>.
10013 (copysignl): Define using libm_alias_ldouble.
10014 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
10015 (fabsl): Define using libm_alias_ldouble.
10016 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
10017 (floorl): Define using libm_alias_ldouble.
10018 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
10019 (fmaxl): Define using libm_alias_ldouble.
10020 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
10021 (fminl): Define using libm_alias_ldouble.
10022 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
10023 (llrintl): Define using libm_alias_ldouble.
10024 (lrintl): Likewise.
10025 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
10026 <libm-alias-ldouble.h>.
10027 (nearbyintl): Define using libm_alias_ldouble.
10028 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
10029 (truncl): Define using libm_alias_ldouble.
10030 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
10031 <libm-alias-ldouble.h>.
10032 (lrintl): Define using libm_alias_ldouble.
10033
10034 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
10035 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
10036 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
10037 (asinhl): Define using libm_alias_ldouble.
10038 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
10039 (atanl): Define using libm_alias_ldouble.
10040 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
10041 (cbrtl): Define using libm_alias_ldouble.
10042 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
10043 (ceill): Define using libm_alias_ldouble.
10044 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
10045 (copysignl): Define using libm_alias_ldouble.
10046 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
10047 (fabsl): Define using libm_alias_ldouble.
10048 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
10049 (floorl): Define using libm_alias_ldouble.
10050 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
10051 (fmaxl): Define using libm_alias_ldouble.
10052 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
10053 (fminl): Define using libm_alias_ldouble.
10054 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
10055 (frexpl): Define using libm_alias_ldouble.
10056 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
10057 (llrintl): Define using libm_alias_ldouble.
10058 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
10059 (logbl): Define using libm_alias_ldouble.
10060 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
10061 (lrintl): Define using libm_alias_ldouble.
10062 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
10063 (nearbyintl): Define using libm_alias_ldouble.
10064 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
10065 (nextafterl): Define using libm_alias_ldouble.
10066 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
10067 (remquol): Define using libm_alias_ldouble.
10068 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
10069 (rintl): Define using libm_alias_ldouble.
10070 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
10071 (truncl): Define using libm_alias_ldouble.
10072 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
10073 (fmaxl): Define using libm_alias_ldouble.
10074 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
10075 (fminl): Define using libm_alias_ldouble.
10076
10077 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
10078 to C syntax instead of availability and properties of types.
10079 * bits/floatn.h [!__ASSEMBLER]: Likewise.
10080 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
10081 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
10082 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
10083 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
10084 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
10085
10086 2017-11-17 Florian Weimer <fweimer@redhat.com>
10087
10088 support_become_root: Enable file creation in namespaces.
10089 * support/support_become_root.c (setup_mapping): New function.
10090 (support_become_root): Call it.
10091
10092 2017-11-17 Joseph Myers <joseph@codesourcery.com>
10093
10094 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
10095 macro.
10096
10097 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10098
10099 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
10100 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
10101
10102 2017-11-16 Joseph Myers <joseph@codesourcery.com>
10103
10104 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
10105
10106 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10107 version to 4.14.
10108
10109 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10110
10111 * INSTALL: Fix botched up regeneration.
10112
10113 * NEWS: Update sourceare link to https.
10114 * configure.ac: Likewise.
10115 * crypt/md5test-giant.c: Likewise.
10116 * dlfcn/bug-atexit1.c: Likewise.
10117 * dlfcn/bug-atexit2.c: Likewise.
10118 * localedata/README: Likewise.
10119 * malloc/tst-mallocfork.c: Likewise.
10120 * manual/install.texi: Likewise.
10121 * nptl/tst-pthread-getattr.c: Likewise.
10122 * stdio-common/tst-fgets.c: Likewise.
10123 * stdio-common/tst-fwrite.c: Likewise.
10124 * sunrpc/Makefile: Likewise.
10125 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
10126 * wcsmbs/tst-mbrtowc2.c: Likewise.
10127 * configure: Regenerate.
10128 * INSTALL: Regenerate.
10129
10130 2017-11-15 Martin Sebor <msebor@redhat.com>
10131
10132 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
10133 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
10134 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
10135
10136 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
10137
10138 [BZ #22145]
10139 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
10140 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
10141
10142 [BZ #22145]
10143 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
10144 Defer is_pty check until end of the function.
10145 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10146
10147 [BZ #22145]
10148 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
10149 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
10150 (ttyname): Likewise.
10151 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
10152 (__ttyname_r): Likewise.
10153
10154 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
10155 int to bool.
10156
10157 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
10158
10159 * manual/terminal.texi (Is It a Terminal):
10160 Mention ENODEV for ttyname and ttyname_r.
10161
10162 2017-11-15 Joseph Myers <joseph@codesourcery.com>
10163
10164 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
10165 constant and macro.
10166
10167 * sysdeps/unix/sysv/linux/bits/mman-linux.h
10168 [__USE_MISC] (MADV_WIPEONFORK): New macro.
10169 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
10170 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
10171 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
10172 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
10173
10174 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10175
10176 * signal/sigrelse.c (sigrelse): Optimize implementation.
10177
10178 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
10179 (__sigpause): Rely on __sigsuspend to implement single thread
10180 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
10181
10182 2017-11-15 Joseph Myers <joseph@codesourcery.com>
10183
10184 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10185 kernel version to 4.14.
10186
10187 2017-11-15 Steve Ellcey <sellcey@cavium.com>
10188
10189 [BZ #22442]
10190 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
10191 Check if ifname is too long.
10192
10193 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
10194
10195 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
10196
10197 2017-11-15 Mike FABIAN <mfabian@redhat.com>
10198
10199 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
10200 was accidentally lost.
10201
10202 2017-11-15 Mike FABIAN <mfabian@redhat.com>
10203
10204 * localedata/locales/az_IR: Add standard copyright header.
10205
10206 2017-11-15 Florian Weimer <fweimer@redhat.com>
10207
10208 [BZ #22439]
10209 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
10210 not just the top one. Output a new "subheaps" statistic.
10211
10212 2017-11-15 Florian Weimer <fweimer@redhat.com>
10213
10214 [BZ #22408]
10215 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
10216 under the per-arena lock.
10217 * malloc/Makefile (tests): Add tst-malloc_info.
10218 (tst-malloc_info): Link with libpthread.
10219 * malloc/tst-malloc_info.c: New file.
10220
10221 2017-11-15 Joseph Myers <joseph@codesourcery.com>
10222
10223 [BZ #21660]
10224 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
10225 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
10226 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
10227 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
10228 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
10229 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
10230 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
10231 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
10232 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
10233 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
10234 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
10235 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
10236 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
10237 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
10238 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
10239 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
10240 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
10241 (__floating_type): Likewise.
10242 (__real_integer_type): Likewise.
10243 (__complex_integer_type): Likewise.
10244 (__expr_is_real): Likewise.
10245 (__tgmath_real_type_sub): Likewise.
10246 (__tgmath_real_type): Likewise.
10247 (__tgmath_complex_type_sub): Likewise.
10248 (__tgmath_complex_type): Likewise.
10249 (__TGMATH_F128): Likewise.
10250 (__TGMATH_CF128): Likewise.
10251 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
10252 new macros.
10253 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
10254 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
10255 Likewise.
10256 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
10257 Likewise.
10258 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
10259 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
10260 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
10261 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
10262 Likewise.
10263 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
10264 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
10265 Likewise.
10266 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
10267 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
10268 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
10269 Likewise.
10270 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
10271 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
10272 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
10273 (cimag): Likewise.
10274 (creal): Likewise.
10275
10276 2017-11-14 Joseph Myers <joseph@codesourcery.com>
10277
10278 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
10279 for stpncpy calls for GCC 8.
10280 (test_strncat): Disable -Wstringop-truncation warning for strncat
10281 calls for GCC 8. Disable -Wstringop-overflow= warning for one
10282 strncat call for GCC 7.
10283 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
10284 calls for GCC 8.
10285 (test_memcmp): Use memcpy instead of strncpy for calls not copying
10286 trailing NUL.
10287
10288 * string/bug-strncat1.c: Include <libc-diag.h>.
10289 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
10290
10291 2017-11-13 Claude Paroz <claude@2xlibre.net>
10292
10293 [BZ #22387]
10294 * localedata/locales/aa_DJ: Improved readibility by replacing
10295 <Uxxxx> sequences in the ASCII printable range by their ASCII
10296 character equivalents.
10297 * localedata/locales/aa_ER: Likewise.
10298 * localedata/locales/aa_ER@saaho: Likewise.
10299 * localedata/locales/aa_ET: Likewise.
10300 * localedata/locales/af_ZA: Likewise.
10301 * localedata/locales/agr_PE: Likewise.
10302 * localedata/locales/ak_GH: Likewise.
10303 * localedata/locales/am_ET: Likewise.
10304 * localedata/locales/anp_IN: Likewise.
10305 * localedata/locales/ar_AE: Likewise.
10306 * localedata/locales/ar_BH: Likewise.
10307 * localedata/locales/ar_DZ: Likewise.
10308 * localedata/locales/ar_EG: Likewise.
10309 * localedata/locales/ar_IN: Likewise.
10310 * localedata/locales/ar_IQ: Likewise.
10311 * localedata/locales/ar_JO: Likewise.
10312 * localedata/locales/ar_KW: Likewise.
10313 * localedata/locales/ar_LB: Likewise.
10314 * localedata/locales/ar_LY: Likewise.
10315 * localedata/locales/ar_MA: Likewise.
10316 * localedata/locales/ar_OM: Likewise.
10317 * localedata/locales/ar_QA: Likewise.
10318 * localedata/locales/ar_SA: Likewise.
10319 * localedata/locales/ar_SD: Likewise.
10320 * localedata/locales/ar_SS: Likewise.
10321 * localedata/locales/ar_SY: Likewise.
10322 * localedata/locales/ar_TN: Likewise.
10323 * localedata/locales/ar_YE: Likewise.
10324 * localedata/locales/as_IN: Likewise.
10325 * localedata/locales/ast_ES: Likewise.
10326 * localedata/locales/ayc_PE: Likewise.
10327 * localedata/locales/az_AZ: Likewise.
10328 * localedata/locales/az_IR: Likewise.
10329 * localedata/locales/be_BY: Likewise.
10330 * localedata/locales/be_BY@latin: Likewise.
10331 * localedata/locales/bem_ZM: Likewise.
10332 * localedata/locales/ber_DZ: Likewise.
10333 * localedata/locales/ber_MA: Likewise.
10334 * localedata/locales/bg_BG: Likewise.
10335 * localedata/locales/bhb_IN: Likewise.
10336 * localedata/locales/bho_IN: Likewise.
10337 * localedata/locales/bi_VU: Likewise.
10338 * localedata/locales/bn_BD: Likewise.
10339 * localedata/locales/bn_IN: Likewise.
10340 * localedata/locales/bo_CN: Likewise.
10341 * localedata/locales/bo_IN: Likewise.
10342 * localedata/locales/br_FR: Likewise.
10343 * localedata/locales/brx_IN: Likewise.
10344 * localedata/locales/bs_BA: Likewise.
10345 * localedata/locales/byn_ER: Likewise.
10346 * localedata/locales/ca_AD: Likewise.
10347 * localedata/locales/ca_ES: Likewise.
10348 * localedata/locales/ca_FR: Likewise.
10349 * localedata/locales/ca_IT: Likewise.
10350 * localedata/locales/ce_RU: Likewise.
10351 * localedata/locales/chr_US: Likewise.
10352 * localedata/locales/cmn_TW: Likewise.
10353 * localedata/locales/crh_UA: Likewise.
10354 * localedata/locales/cs_CZ: Likewise.
10355 * localedata/locales/csb_PL: Likewise.
10356 * localedata/locales/cv_RU: Likewise.
10357 * localedata/locales/cy_GB: Likewise.
10358 * localedata/locales/da_DK: Likewise.
10359 * localedata/locales/de_AT: Likewise.
10360 * localedata/locales/de_BE: Likewise.
10361 * localedata/locales/de_CH: Likewise.
10362 * localedata/locales/de_DE: Likewise.
10363 * localedata/locales/de_IT: Likewise.
10364 * localedata/locales/de_LI: Likewise.
10365 * localedata/locales/de_LU: Likewise.
10366 * localedata/locales/doi_IN: Likewise.
10367 * localedata/locales/dv_MV: Likewise.
10368 * localedata/locales/dz_BT: Likewise.
10369 * localedata/locales/el_CY: Likewise.
10370 * localedata/locales/el_GR: Likewise.
10371 * localedata/locales/en_AG: Likewise.
10372 * localedata/locales/en_AU: Likewise.
10373 * localedata/locales/en_BW: Likewise.
10374 * localedata/locales/en_CA: Likewise.
10375 * localedata/locales/en_DK: Likewise.
10376 * localedata/locales/en_GB: Likewise.
10377 * localedata/locales/en_HK: Likewise.
10378 * localedata/locales/en_IE: Likewise.
10379 * localedata/locales/en_IL: Likewise.
10380 * localedata/locales/en_IN: Likewise.
10381 * localedata/locales/en_NG: Likewise.
10382 * localedata/locales/en_NZ: Likewise.
10383 * localedata/locales/en_PH: Likewise.
10384 * localedata/locales/en_SG: Likewise.
10385 * localedata/locales/en_US: Likewise.
10386 * localedata/locales/en_ZA: Likewise.
10387 * localedata/locales/en_ZM: Likewise.
10388 * localedata/locales/en_ZW: Likewise.
10389 * localedata/locales/eo: Likewise.
10390 * localedata/locales/es_AR: Likewise.
10391 * localedata/locales/es_BO: Likewise.
10392 * localedata/locales/es_CL: Likewise.
10393 * localedata/locales/es_CO: Likewise.
10394 * localedata/locales/es_CR: Likewise.
10395 * localedata/locales/es_CU: Likewise.
10396 * localedata/locales/es_DO: Likewise.
10397 * localedata/locales/es_EC: Likewise.
10398 * localedata/locales/es_ES: Likewise.
10399 * localedata/locales/es_GT: Likewise.
10400 * localedata/locales/es_HN: Likewise.
10401 * localedata/locales/es_MX: Likewise.
10402 * localedata/locales/es_NI: Likewise.
10403 * localedata/locales/es_PA: Likewise.
10404 * localedata/locales/es_PE: Likewise.
10405 * localedata/locales/es_PR: Likewise.
10406 * localedata/locales/es_PY: Likewise.
10407 * localedata/locales/es_SV: Likewise.
10408 * localedata/locales/es_US: Likewise.
10409 * localedata/locales/es_UY: Likewise.
10410 * localedata/locales/es_VE: Likewise.
10411 * localedata/locales/et_EE: Likewise.
10412 * localedata/locales/eu_ES: Likewise.
10413 * localedata/locales/eu_ES@euro: Likewise.
10414 * localedata/locales/fa_IR: Likewise.
10415 * localedata/locales/ff_SN: Likewise.
10416 * localedata/locales/fi_FI: Likewise.
10417 * localedata/locales/fil_PH: Likewise.
10418 * localedata/locales/fo_FO: Likewise.
10419 * localedata/locales/fr_BE: Likewise.
10420 * localedata/locales/fr_CA: Likewise.
10421 * localedata/locales/fr_CH: Likewise.
10422 * localedata/locales/fr_FR: Likewise.
10423 * localedata/locales/fr_LU: Likewise.
10424 * localedata/locales/fur_IT: Likewise.
10425 * localedata/locales/fy_DE: Likewise.
10426 * localedata/locales/fy_NL: Likewise.
10427 * localedata/locales/ga_IE: Likewise.
10428 * localedata/locales/gd_GB: Likewise.
10429 * localedata/locales/gez_ER: Likewise.
10430 * localedata/locales/gez_ET: Likewise.
10431 * localedata/locales/gl_ES: Likewise.
10432 * localedata/locales/gu_IN: Likewise.
10433 * localedata/locales/gv_GB: Likewise.
10434 * localedata/locales/ha_NG: Likewise.
10435 * localedata/locales/hak_TW: Likewise.
10436 * localedata/locales/he_IL: Likewise.
10437 * localedata/locales/hi_IN: Likewise.
10438 * localedata/locales/hif_FJ: Likewise.
10439 * localedata/locales/hne_IN: Likewise.
10440 * localedata/locales/hr_HR: Likewise.
10441 * localedata/locales/hsb_DE: Likewise.
10442 * localedata/locales/ht_HT: Likewise.
10443 * localedata/locales/hu_HU: Likewise.
10444 * localedata/locales/hy_AM: Likewise.
10445 * localedata/locales/i18n: Likewise.
10446 * localedata/locales/ia_FR: Likewise.
10447 * localedata/locales/id_ID: Likewise.
10448 * localedata/locales/ig_NG: Likewise.
10449 * localedata/locales/ik_CA: Likewise.
10450 * localedata/locales/is_IS: Likewise.
10451 * localedata/locales/it_CH: Likewise.
10452 * localedata/locales/it_IT: Likewise.
10453 * localedata/locales/iu_CA: Likewise.
10454 * localedata/locales/ja_JP: Likewise.
10455 * localedata/locales/ka_GE: Likewise.
10456 * localedata/locales/kk_KZ: Likewise.
10457 * localedata/locales/kl_GL: Likewise.
10458 * localedata/locales/kn_IN: Likewise.
10459 * localedata/locales/ko_KR: Likewise.
10460 * localedata/locales/kok_IN: Likewise.
10461 * localedata/locales/ks_IN: Likewise.
10462 * localedata/locales/ks_IN@devanagari: Likewise.
10463 * localedata/locales/ku_TR: Likewise.
10464 * localedata/locales/kw_GB: Likewise.
10465 * localedata/locales/ky_KG: Likewise.
10466 * localedata/locales/lb_LU: Likewise.
10467 * localedata/locales/lg_UG: Likewise.
10468 * localedata/locales/li_BE: Likewise.
10469 * localedata/locales/li_NL: Likewise.
10470 * localedata/locales/lij_IT: Likewise.
10471 * localedata/locales/ln_CD: Likewise.
10472 * localedata/locales/lo_LA: Likewise.
10473 * localedata/locales/lt_LT: Likewise.
10474 * localedata/locales/lv_LV: Likewise.
10475 * localedata/locales/lzh_TW: Likewise.
10476 * localedata/locales/mag_IN: Likewise.
10477 * localedata/locales/mai_IN: Likewise.
10478 * localedata/locales/mg_MG: Likewise.
10479 * localedata/locales/mhr_RU: Likewise.
10480 * localedata/locales/mi_NZ: Likewise.
10481 * localedata/locales/mk_MK: Likewise.
10482 * localedata/locales/ml_IN: Likewise.
10483 * localedata/locales/mn_MN: Likewise.
10484 * localedata/locales/mni_IN: Likewise.
10485 * localedata/locales/mr_IN: Likewise.
10486 * localedata/locales/ms_MY: Likewise.
10487 * localedata/locales/mt_MT: Likewise.
10488 * localedata/locales/my_MM: Likewise.
10489 * localedata/locales/nan_TW: Likewise.
10490 * localedata/locales/nan_TW@latin: Likewise.
10491 * localedata/locales/nb_NO: Likewise.
10492 * localedata/locales/nds_DE: Likewise.
10493 * localedata/locales/nds_NL: Likewise.
10494 * localedata/locales/ne_NP: Likewise.
10495 * localedata/locales/nhn_MX: Likewise.
10496 * localedata/locales/niu_NU: Likewise.
10497 * localedata/locales/niu_NZ: Likewise.
10498 * localedata/locales/nl_AW: Likewise.
10499 * localedata/locales/nl_BE: Likewise.
10500 * localedata/locales/nl_NL: Likewise.
10501 * localedata/locales/nn_NO: Likewise.
10502 * localedata/locales/nr_ZA: Likewise.
10503 * localedata/locales/nso_ZA: Likewise.
10504 * localedata/locales/oc_FR: Likewise.
10505 * localedata/locales/om_ET: Likewise.
10506 * localedata/locales/om_KE: Likewise.
10507 * localedata/locales/or_IN: Likewise.
10508 * localedata/locales/os_RU: Likewise.
10509 * localedata/locales/pa_IN: Likewise.
10510 * localedata/locales/pa_PK: Likewise.
10511 * localedata/locales/pap_AW: Likewise.
10512 * localedata/locales/pap_CW: Likewise.
10513 * localedata/locales/pl_PL: Likewise.
10514 * localedata/locales/ps_AF: Likewise.
10515 * localedata/locales/pt_BR: Likewise.
10516 * localedata/locales/pt_PT: Likewise.
10517 * localedata/locales/quz_PE: Likewise.
10518 * localedata/locales/raj_IN: Likewise.
10519 * localedata/locales/ro_RO: Likewise.
10520 * localedata/locales/ru_RU: Likewise.
10521 * localedata/locales/ru_UA: Likewise.
10522 * localedata/locales/rw_RW: Likewise.
10523 * localedata/locales/sa_IN: Likewise.
10524 * localedata/locales/sat_IN: Likewise.
10525 * localedata/locales/sc_IT: Likewise.
10526 * localedata/locales/sd_IN: Likewise.
10527 * localedata/locales/sd_IN@devanagari: Likewise.
10528 * localedata/locales/se_NO: Likewise.
10529 * localedata/locales/sgs_LT: Likewise.
10530 * localedata/locales/shs_CA: Likewise.
10531 * localedata/locales/si_LK: Likewise.
10532 * localedata/locales/sid_ET: Likewise.
10533 * localedata/locales/sk_SK: Likewise.
10534 * localedata/locales/sl_SI: Likewise.
10535 * localedata/locales/sm_WS: Likewise.
10536 * localedata/locales/so_DJ: Likewise.
10537 * localedata/locales/so_ET: Likewise.
10538 * localedata/locales/so_KE: Likewise.
10539 * localedata/locales/so_SO: Likewise.
10540 * localedata/locales/sq_AL: Likewise.
10541 * localedata/locales/sq_MK: Likewise.
10542 * localedata/locales/sr_ME: Likewise.
10543 * localedata/locales/sr_RS: Likewise.
10544 * localedata/locales/sr_RS@latin: Likewise.
10545 * localedata/locales/ss_ZA: Likewise.
10546 * localedata/locales/st_ZA: Likewise.
10547 * localedata/locales/sv_FI: Likewise.
10548 * localedata/locales/sv_SE: Likewise.
10549 * localedata/locales/sw_KE: Likewise.
10550 * localedata/locales/sw_TZ: Likewise.
10551 * localedata/locales/szl_PL: Likewise.
10552 * localedata/locales/ta_IN: Likewise.
10553 * localedata/locales/ta_LK: Likewise.
10554 * localedata/locales/tcy_IN: Likewise.
10555 * localedata/locales/te_IN: Likewise.
10556 * localedata/locales/tg_TJ: Likewise.
10557 * localedata/locales/th_TH: Likewise.
10558 * localedata/locales/the_NP: Likewise.
10559 * localedata/locales/ti_ER: Likewise.
10560 * localedata/locales/ti_ET: Likewise.
10561 * localedata/locales/tig_ER: Likewise.
10562 * localedata/locales/tk_TM: Likewise.
10563 * localedata/locales/tl_PH: Likewise.
10564 * localedata/locales/tn_ZA: Likewise.
10565 * localedata/locales/to_TO: Likewise.
10566 * localedata/locales/tpi_PG: Likewise.
10567 * localedata/locales/tr_CY: Likewise.
10568 * localedata/locales/tr_TR: Likewise.
10569 * localedata/locales/ts_ZA: Likewise.
10570 * localedata/locales/tt_RU: Likewise.
10571 * localedata/locales/tt_RU@iqtelif: Likewise.
10572 * localedata/locales/ug_CN: Likewise.
10573 * localedata/locales/uk_UA: Likewise.
10574 * localedata/locales/unm_US: Likewise.
10575 * localedata/locales/ur_IN: Likewise.
10576 * localedata/locales/ur_PK: Likewise.
10577 * localedata/locales/uz_UZ: Likewise.
10578 * localedata/locales/uz_UZ@cyrillic: Likewise.
10579 * localedata/locales/ve_ZA: Likewise.
10580 * localedata/locales/vi_VN: Likewise.
10581 * localedata/locales/wa_BE: Likewise.
10582 * localedata/locales/wae_CH: Likewise.
10583 * localedata/locales/wal_ET: Likewise.
10584 * localedata/locales/wo_SN: Likewise.
10585 * localedata/locales/xh_ZA: Likewise.
10586 * localedata/locales/yi_US: Likewise.
10587 * localedata/locales/yo_NG: Likewise.
10588 * localedata/locales/yue_HK: Likewise.
10589 * localedata/locales/yuw_PG: Likewise.
10590 * localedata/locales/zh_CN: Likewise.
10591 * localedata/locales/zh_HK: Likewise.
10592 * localedata/locales/zh_SG: Likewise.
10593 * localedata/locales/zh_TW: Likewise.
10594 * localedata/locales/zu_ZA: Likewise.
10595
10596 2017-11-13 Florian Weimer <fweimer@redhat.com>
10597
10598 * support/next_to_fault.h, support/next_to_fault.c: New files.
10599 * support/Makefile (libsupport-routines): Add next_to_fault.
10600 * resolv/tst-inet_pton.c (struct next_to_fault)
10601 (next_to_fault_allocate, next_to_fault_free): Remove.
10602 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
10603
10604 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
10605
10606 * elf/dl-support.c: Include <dl-procruntime.c>.
10607 * include/link.h: Include <link_map.h>.
10608 * sysdeps/generic/dl-procruntime.c: New file.
10609 * sysdeps/generic/link_map.h: Likewise.
10610 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
10611 the writable ld.so namespace.
10612
10613 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
10614
10615 timezone: pacify GCC -Wstringop-truncation
10616 Problem reported by Martin Sebor in:
10617 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
10618 * timezone/zic.c (writezone): Use memcpy, not strncpy.
10619
10620 2017-11-12 Florian Weimer <fweimer@redhat.com>
10621
10622 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
10623 tst-xreadlink.
10624 (tests): Add tst-xreadlink.
10625 * support/support.h (xstrndup): Declare.
10626 * support/xunistd.h (xunlink, xreadlink): Declare.
10627 * support/temp_file.h (support_create_temp_directory): Declare.
10628 * support/temp_file.c (support_create_temp_directory): New function.
10629 * support/support_chroot.c (support_chroot_create): Use it.
10630 * support/xreadlink.c: New file.
10631 * support/xstrndup.c: Likewise.
10632 * support/xunlink.c: Likewise.
10633 * support/tst-xreadlink.c: Likewise.
10634
10635 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
10636
10637 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
10638
10639 2017-11-11 Florian Weimer <fweimer@redhat.com>
10640
10641 [BZ #22409]
10642 [BZ #22412]
10643 * resolv/res_comp.c (printable_string, binary_hnok)
10644 (binary_leading_dash): New functions.
10645 (res_hnok): Reimplement using these functions and ns_name_pton.
10646 (res_ownok): Likewise.
10647 (res_mailok): Reimplement using printable_string, ns_name_pton and
10648 binary_hnok.
10649 (res_dnok): Reimplement using printable_string and ns_name_pton.
10650 * resolv/tst-res_hnok.c (tests): Add additional tests.
10651 (LETTERDIGITS, PRINTABLE): Define.
10652 (do_test): Adjust one_char results.
10653
10654 2017-11-11 Florian Weimer <fweimer@redhat.com>
10655
10656 [BZ #22413]
10657 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
10658 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
10659
10660 2017-11-11 Florian Weimer <fweimer@redhat.com>
10661
10662 * resolv/tst-ns_name_pton.c: New file.
10663 * resolv/Makefile (tests): Add tst-ns_name_pton.
10664 (tst-ns_name_pton): Link against libresolv.
10665
10666 2017-11-11 Florian Weimer <fweimer@redhat.com>
10667
10668 * resolv/tst-res_hnok.c: New file.
10669 * resolv/Makefile (tests): Add tst-res_hnok.
10670 (tst-res_hnok): Link against libresolv.
10671
10672 2017-11-11 Florian Weimer <fweimer@redhat.com>
10673
10674 * resolv/tst-resolv-network.c: Use test framework instead explicit
10675 main function.
10676
10677 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
10678
10679 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
10680 <jmp_buf-macros.h>.
10681 [!_ISOMAC] (STR_HELPER): New.
10682 [!_ISOMAC] (STR): Likewise.
10683 [!_ISOMAC] (TEST_SIZE): Likewise.
10684 [!_ISOMAC] (TEST_ALIGN): Likewise.
10685 [!_ISOMAC] (TEST_OFFSET): Likewise.
10686 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
10687 field offsets of jmp_buf as well as sigjmp_buf.
10688 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
10689 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
10690 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
10691 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
10692 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
10693 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
10694 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
10695 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
10696 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
10697 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
10698 Likewise.
10699 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
10700 Likewise.
10701 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
10703 Likewise.
10704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
10705 Likewise.
10706 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
10707 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
10708 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
10709 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
10710 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
10711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
10712 Likewise.
10713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
10714 Likewise.
10715 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
10716 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
10717 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
10718
10719 2017-11-07 Joseph Myers <joseph@codesourcery.com>
10720
10721 * include/float.h
10722 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10723 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
10724 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10725 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
10726 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10727 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
10728 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10729 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
10730 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10731 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
10732 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10733 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
10734 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10735 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
10736 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10737 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
10738 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10739 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
10740 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10741 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
10742 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10743 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
10744 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10745 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
10746 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10747 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
10748 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10749 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
10750 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10751 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
10752 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10753 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
10754 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10755 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
10756 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10757 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
10758 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10759 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
10760 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10761 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
10762 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10763 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
10764 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10765 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
10766 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10767 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
10768 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10769 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
10770 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10771 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
10772 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10773 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
10774 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10775 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
10776 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10777 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
10778 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10779 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
10780 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10781 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
10782 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10783 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
10784 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10785 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
10786 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10787 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
10788 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10789 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
10790 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10791 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
10792 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10793 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
10794 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10795 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
10796 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10797 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
10798 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10799 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
10800 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10801 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
10802 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10803 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
10804 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10805 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
10806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10807 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
10808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
10809 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
10810
10811 * stdlib/tst-strtod.h (F16): New macro.
10812 (F32): Likewise.
10813 (F64): Likewise.
10814 (F32X): Likewise.
10815 (F64X): Likewise.
10816 (F128X): Likewise.
10817 (IF_FLOAT16): Likewise.
10818 (IF_FLOAT32): Likewise.
10819 (IF_FLOAT64): Likewise.
10820 (IF_FLOAT32X): Likewise.
10821 (IF_FLOAT64X): Likewise.
10822 (IF_FLOAT128X): Likewise.
10823 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
10824 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
10825 (STRTOD_TEST_FOREACH): Likewise.
10826 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
10827 (CHOOSE_f64): Likewise.
10828 (CHOOSE_f32x): Likewise.
10829 (CHOOSE_f64x): Likewise.
10830
10831 2017-11-07 Andreas Schwab <schwab@suse.de>
10832
10833 * nptl/Makefile (tests-internal): Remove tst-typesizes.
10834
10835 2017-11-07 Mike FABIAN <mfabian@redhat.com>
10836
10837 [BZ #22403]
10838 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
10839 to be escaped.
10840 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
10841 to be escaped.
10842
10843 2017-11-07 Claude Paroz <claude@2xlibre.net>
10844
10845 [BZ #22403]
10846 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
10847 to be escaped.
10848 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
10849 to be escaped.
10850 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
10851 to be escaped.
10852
10853 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10854
10855 [BZ #22298]
10856 * nptl/allocatestack.c (allocate_stack): Check if
10857 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
10858 __PTHREAD_MUTEX_HAVE_PREV is defined.
10859 * nptl/descr.h (pthread): Likewise.
10860 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10861 Likewise.
10862 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
10863 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10864 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
10865 * sysdeps/nptl/bits/thread-shared-types.h
10866 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
10867 defines.
10868 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
10869 of __WORDSIZE for internal layout.
10870 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
10871 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
10872 instead of __WORDSIZE whether to use an union for __spins and __list
10873 fields.
10874 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
10875 case.
10876 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
10877 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
10878 defines.
10879 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
10880 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10881 Likewise.
10882 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
10883 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10884 Likewise.
10885 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
10886 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10887 Likewise.
10888 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
10889 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10890 Likewise.
10891 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
10892 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10893 Likewise.
10894 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
10895 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10896 Likewise.
10897 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
10898 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10899 Likewise.
10900 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
10901 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10902 Likewise.
10903 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
10904 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10905 Likewise.
10906 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
10907 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10908 Likewise.
10909 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
10910 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10911 Likewise.
10912 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
10913 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10914 Likewise.
10915 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
10916 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10917 Likewise.
10918 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
10919 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
10920 Likewise.
10921
10922 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
10923 New macros.
10924 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
10925 checks for expected input type size.
10926 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10927 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10928 Likewise.
10929 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10930 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
10931 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10932 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
10933 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10934 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
10935 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
10936 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
10937 superflous runtime assert check.
10938 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
10939 Likewise.
10940 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
10941 Likewise.
10942 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10943 Likewise.
10944 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
10945 Likewise.
10946 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
10947 Likewise.
10948 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
10949 Likewise.
10950 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
10951 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
10952 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10953 Likewise.
10954 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10955 Likewise.
10956 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10957 Likewise.
10958 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
10959 Likewise.
10960 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10961 Likewise.
10962 * nptl/pthread_attr_setinheritsched.c
10963 (__pthread_attr_setinheritsched): Likewise.
10964 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
10965 Likewise.
10966 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
10967 Likewise.
10968 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
10969 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
10970 __old_pthread_attr_setstack): Likewise.
10971 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10972 Likewise.
10973 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10974 Likewise.
10975 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
10976 Likewise.
10977 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10978 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10979 Likewise.
10980 * nptl/tst-typesizes.c: Remove file.
10981
10982 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
10983 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
10984 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
10985 checks for internal pthread_mutex_t offsets.
10986 * sysdeps/aarch64/nptl/pthread-offsets.h
10987 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
10988 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
10989 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
10990 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
10991 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
10992 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
10993 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
10994 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
10995 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
10996 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
10997 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
10998 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
10999 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
11000 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
11001 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
11002 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
11003 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
11004 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
11005
11006 2017-11-07 Florian Weimer <fweimer@redhat.com>
11007
11008 * bits/mman-linux.h: Move ...
11009 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
11010 comment.
11011 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
11012 outdated comment.
11013
11014 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11015
11016 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
11017 Redefine STRNLEN as __strnlen_power8.
11018
11019 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11020
11021 * signal/sighold.c (sighold): Optimize implementation.
11022
11023 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
11024 __NR_rt_sigqueueinfo.
11025
11026 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
11027 __sigtimedwait.
11028 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
11029 assume __NR_rt_sigtimedwait.
11030 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
11031 and add LIBC_CANCEL_HANDLED for cancellation marking.
11032 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11033
11034 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
11035 (sysdeps_routines): Add memchr_noneon.
11036 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
11037 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
11038 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
11039 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
11040 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
11041 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
11042 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
11043
11044 * sysdeps/arm/arm-ifunc.h: New file.
11045 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
11046 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
11047 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
11048 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
11049 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
11050 (__memcpy_neon): Avoid create hidden alias.
11051 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
11052 (__memcpy_vfp): Likewise.
11053 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
11054 (sysdep_routines): Add memcpy_arm.
11055 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
11056
11057 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
11058
11059 [BZ #22362]
11060 * Makerules (make-link-multidir): New.
11061 * config.make.in (multidir): New.
11062 * configure.ac (libc_cv_multidir): New. AC_SUBST.
11063 * configure: Regenerated.
11064 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
11065 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
11066 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
11067 New target.
11068
11069 2017-11-06 Joseph Myers <joseph@codesourcery.com>
11070
11071 [BZ #22402]
11072 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
11073 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
11074
11075 2017-11-04 Mike FABIAN <mfabian@redhat.com>
11076
11077 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
11078 to be escaped.
11079
11080 2017-11-04 Florian Weimer <fweimer@redhat.com>
11081
11082 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
11083
11084 2017-11-03 Joseph Myers <joseph@codesourcery.com>
11085
11086 * math/math.h [__HAVE_DISTINCT_FLOAT16
11087 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
11088 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
11089 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
11090 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
11091 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
11092 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
11093 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
11094 (__MATH_TG_F32): New macro.
11095 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
11096 (__MATH_TG_F64X): Likewise.
11097 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
11098 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
11099
11100 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
11101
11102 * po/de.po: Update translations.
11103 * po/ru.po: Likewise.
11104
11105 2017-11-03 Florian Weimer <fweimer@redhat.com>
11106
11107 * manual/filesys.texi (Hard Links): Document linkat.
11108
11109 2017-11-03 Joseph Myers <joseph@codesourcery.com>
11110
11111 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
11112 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
11113 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
11114 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
11115 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
11116 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
11117 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
11118 the same as _Float128.
11119 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
11120 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
11121 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
11122
11123 * stdlib/stdlib.h
11124 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
11125 Declare.
11126 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
11127 Likewise.
11128 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
11129 Likewise.
11130 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11131 (strtof32x): Likewise.
11132 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11133 (strtof64x): Likewise.
11134 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11135 (strtof128x): Likewise.
11136 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11137 (strfromf16): Likewise.
11138 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11139 (strfromf32): Likewise.
11140 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11141 (strfromf64): Likewise.
11142 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11143 (strfromf32x): Likewise.
11144 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11145 (strfromf64x): Likewise.
11146 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11147 (strfromf128x): Likewise.
11148 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
11149 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
11150 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
11151 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
11152 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
11153 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
11154
11155 2017-11-03 Richard Henderson <rth@twiddle.net>
11156
11157 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
11158
11159 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
11160
11161 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
11162
11163 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
11164
11165 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
11166 DT_TLSDESC_GOT initialization.
11167 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
11168 (_dl_tlsdesc_resolve_hold): Likewise.
11169 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
11170 (_dl_tlsdesc_resolve_hold): Likewise.
11171 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
11172 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
11173
11174 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
11175
11176 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
11177
11178 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
11179
11180 [BZ #18572]
11181 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
11182 non-lazily for R_ARM_TLS_DESC.
11183
11184 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
11185
11186 [BZ #17078]
11187 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
11188 R_ARM_TLS_DESC case.
11189 (elf_machine_lazy_rel): Remove the prelink check.
11190
11191 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
11192
11193 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
11194 DT_TLSDESC_GOT initialization.
11195 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
11196 (_dl_tlsdesc_resolve_rela): Likewise.
11197 (_dl_tlsdesc_resolve_hold): Likewise.
11198 (_dl_tlsdesc_undefweak): Remove ldar.
11199 (_dl_tlsdesc_dynamic): Likewise.
11200 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
11201 (_dl_tlsdesc_resolve_rela): Likewise.
11202 (_dl_tlsdesc_resolve_hold): Likewise.
11203 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
11204 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
11205 (_dl_tlsdesc_resolve_rela): Likewise.
11206 (_dl_tlsdesc_resolve_hold): Likewise.
11207
11208 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
11209
11210 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
11211 binding and initialization non-lazily for R_AARCH64_TLSDESC.
11212
11213 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
11214
11215 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
11216 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11217
11218 2017-11-02 Joseph Myers <joseph@codesourcery.com>
11219
11220 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
11221 Declare.
11222 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
11223 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
11224 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
11225 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
11226 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
11227 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
11228 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
11229 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
11230 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
11231 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
11232 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
11233
11234 2017-11-02 Mike FABIAN <mfabian@redhat.com>
11235
11236 [BZ #22382]
11237 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
11238 * localedata/locales/tpi_PG: Add standard header.
11239
11240 2017-11-02 Florian Weimer <fweimer@redhat.com>
11241
11242 test-errno-linux: quotactl can fail with EPERM in containers.
11243 * sysdeps/unix/sysv/linux/test-errno-linux.c
11244 (LIST, LIST_FORWARD): New macros.
11245 (check_error_in_list): New function.
11246 (test_wrp_rv): Accept list of permitted error codes.
11247 (test_wrp_rv2): Remove.
11248 (test_wrp): Call test_wrp_rv with list of error codes.
11249 (test_wrp2): Accept list of error codes.
11250 (do_test): Adjust. Allow EPERM for quotactl.
11251
11252 2017-11-02 Florian Weimer <fweimer@redhat.com>
11253
11254 * stdio-common/bug16.c (do_test): Use array_length.
11255 * stdio-common/errlist.c (_sys_nerr): Likewise.
11256 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
11257 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
11258 * stdio-common/psiginfo.c (psiginfo): Use array_length.
11259 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
11260 (do_test): Use array_length.
11261 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
11262 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
11263 * stdio-common/tst-printf-round.c (do_test): Likewise.
11264 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
11265 (CHECK): Use array_length.
11266 * stdio-common/tstdiomisc.c (t3, F): Likewise.
11267 * stdio-common/tstscanf.c (main): Likewise.
11268 * stdio-common/vfprintf.c (process_string_arg): Likewise.
11269
11270 2017-11-02 Florian Weimer <fweimer@redhat.com>
11271
11272 Add array_length and array_end macros.
11273 * include/array_length.h: New file.
11274
11275 2017-11-02 Florian Weimer <fweimer@redhat.com>
11276
11277 [BZ #22332]
11278 * posix/tst-glob-tilde.c (do_noescape): New variable.
11279 (one_test): Process it.
11280 (do_test): Set do_noescape. Add unescaping test case.
11281
11282 2017-11-01 Joseph Myers <joseph@codesourcery.com>
11283
11284 * math/complex.h
11285 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
11286 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
11287 with appropriate macros defined and undefined.
11288 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
11289 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
11290 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
11291 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
11292 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
11293 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
11294 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
11295 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
11296 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
11297 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
11298
11299 * math/complex.h
11300 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
11301 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
11302 that for long double. Do not condition define and undefine of
11303 _Mdouble_complex_ on [__CFLOAT128].
11304
11305 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
11306
11307 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
11308 of <sysdeps/generic/sysdep.h>.
11309 (ALIGNARG): Removed.
11310 (ASM_SIZE_DIRECTIVE): Likewise.
11311 (ENTRY): Likewise.
11312 (END): Likewise.
11313 (ENTRY_CHK): Likewise.
11314 (END_CHK): Likewise.
11315 (syscall_error): Likewise.
11316 (mcount): Likewise.
11317 (PSEUDO_END): Likewise.
11318 (L): Likewise.
11319 (atom_text_section): Likewise.
11320 * sysdeps/x86/sysdep.h: New file.
11321 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
11322 of <sysdeps/generic/sysdep.h>.
11323 (ALIGNARG): Removed.
11324 (ASM_SIZE_DIRECTIVE): Likewise.
11325 (ENTRY): Likewise.
11326 (END): Likewise.
11327 (ENTRY_CHK): Likewise.
11328 (END_CHK): Likewise.
11329 (syscall_error): Likewise.
11330 (mcount): Likewise.
11331 (PSEUDO_END): Likewise.
11332 (L): Likewise.
11333 (atom_text_section): Likewise.
11334
11335 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
11336
11337 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
11338 category of LC_CTYPE set to "i18n:2012".
11339 * localedata/locales/i18n_ctype: Regenerate.
11340
11341 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
11342
11343 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
11344 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
11345 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11346 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11347
11348 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
11349 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
11350 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
11351 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
11352
11353 2017-10-31 Joseph Myers <joseph@codesourcery.com>
11354
11355 * math/complex.h
11356 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
11357 New macro.
11358 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
11359 Likewise.
11360 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
11361 Likewise.
11362 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11363 (CMPLXF32X): Likewise.
11364 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11365 (CMPLXF64X): Likewise.
11366 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11367 (CMPLXF128X): Likewise.
11368
11369 * math/math.h
11370 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
11371 (__MATH_EVAL_FMT2): Define to add 0.0f.
11372
11373 2017-10-31 Alan Modra <amodra@gmail.com>
11374
11375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
11376 include sysdep.h.
11377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
11378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
11379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
11380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
11381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
11382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
11383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
11384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
11385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
11386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
11387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
11388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
11390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
11391 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
11392 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
11393 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
11394 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
11395 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
11396 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
11397 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
11398 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
11399 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
11400 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
11401 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11402 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
11403 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
11404 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
11405 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
11406 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
11407 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11408 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11409 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
11410 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
11411 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
11412 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
11413 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
11414 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
11415 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
11416 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11417 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
11418 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
11419 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
11420 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
11421 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
11422 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
11423 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
11424 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
11425 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
11426 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11427 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
11428 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
11429 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
11430 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
11431 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11432 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
11433 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
11434 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
11435 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
11436 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
11437 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11438 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
11439 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
11440 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11441 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
11442 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
11443 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
11444 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
11445 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
11446
11447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
11448 include sysdep.h and math_ldbl_opt.h.
11449
11450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
11451 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
11452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
11453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
11454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
11455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
11456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
11457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
11458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
11459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
11460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
11461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
11462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
11463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
11464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
11465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
11466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
11467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
11468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
11469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
11470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
11471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
11472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
11473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
11474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
11475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
11476
11477 2017-10-31 Alan Modra <amodra@gmail.com>
11478
11479 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
11480 string/strncase_l.c, not string/strncase.c.
11481 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
11482 (libc_hidden_def): Redefine.
11483
11484 2017-10-31 Alan Modra <amodra@gmail.com>
11485
11486 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
11487 (__STRCMP, STRCMP, __strcasecmp_l): Define.
11488 (__strcasecmp): Don't define.
11489
11490 2017-10-31 Alan Modra <amodra@gmail.com>
11491
11492 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
11493 IS_IN (libc).
11494 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
11495 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
11496 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
11497
11498 2017-10-31 Alan Modra <amodra@gmail.com>
11499
11500 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
11501 USE_AS_STPNCPY.
11502
11503 2017-10-31 Alan Modra <amodra@gmail.com>
11504
11505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
11506 Redefine only when SHARED.
11507
11508 2017-10-30 Joseph Myers <joseph@codesourcery.com>
11509
11510 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
11511 Include <bits/math-finite.h> with appropriate macros defined and
11512 undefined.
11513 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
11514 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
11515 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
11516 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
11517 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
11518
11519 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
11520 [!_Mlong_double_] (_Mlong_double_): Likewise.
11521 [!_Mfloat16_] (_Mfloat16_): Likewise.
11522 [!_Mfloat32_] (_Mfloat32_): Likewise.
11523 [!_Mfloat64_] (_Mfloat64_): Likewise.
11524 [!_Mfloat128_] (_Mfloat128_): Likewise.
11525 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
11526 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
11527 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
11528 (_Mdouble_): Define without indirection through those macros.
11529 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
11530 [!_Mfloat128_] (_Mfloat128_): Likewise.
11531 [_Mlong_double_] (_Mlong_double_): Likewise.
11532 (_Mdouble_): Define without indirection through those macros.
11533 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
11534 not add -D_Mlong_double_=double.
11535 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
11536 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
11537
11538 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
11539
11540 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
11541
11542 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
11543
11544 * sysdeps/x86/libc-start.c: Reformat.
11545
11546 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
11547
11548 [BZ #22353]
11549 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
11550 (1): Renamed to ...
11551 (L(Src0)): This.
11552 (L(Src1)): New.
11553 (L(Src2)): Likewise.
11554 (L(1)): Renamed to ...
11555 (L(Src3)): This.
11556
11557 2017-10-30 Joseph Myers <joseph@codesourcery.com>
11558
11559 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
11560 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
11561 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
11562 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
11563 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
11564 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
11565 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
11566 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
11567 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
11568 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
11569 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
11570 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
11571 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
11572 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
11573 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
11574 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
11575 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
11576 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
11577 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
11578 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
11579 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
11580 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
11581 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
11582 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
11583 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
11584 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
11585 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
11586 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
11587 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
11588 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
11589 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
11590 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
11591 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
11592 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
11593 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
11594 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
11595 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
11596 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
11597 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
11598 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
11599 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
11600 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
11601 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
11602 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
11603 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
11604 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
11605 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
11606 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
11607 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
11608 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
11609 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
11610 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
11611 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
11612 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
11613 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
11614 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
11615 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
11616 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
11617 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
11618 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
11619 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
11620 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
11621 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
11622 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
11623 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
11624 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
11625
11626 2017-10-30 Florian Weimer <fweimer@redhat.com>
11627
11628 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
11629 always defined.
11630 * io/tst-mkdirat.c (do_test): Likewise.
11631 * io/tst-mkfifoat.c (do_test): Likewise.
11632 * io/tst-mknodat.c (do_test): Likewise.
11633 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
11634 * locale/programs/locale.c (select_dirs): Likewise.
11635 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
11636 * posix/bug-glob2.c (my_readdir): Likewise.
11637 * posix/tst-dir.c (main): Likewise.
11638 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
11639 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
11640
11641 2017-10-30 Florian Weimer <fweimer@redhat.com>
11642
11643 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
11644 just __USE_GNU.
11645
11646 2017-10-30 Florian Weimer <fweimer@redhat.com>
11647
11648 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
11649 Convert to support/test-driver.c.
11650 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
11651 New macro parameters.
11652 (PRINTF): Remove macro. Use test_verbose conditionals instead.
11653 * posix/tst-gnuglob.c: New file.
11654 * posix/tst-gnuglob64.c: Likewise.
11655 * posix/Makefile (tests): Add tst-gnuglob64.
11656
11657 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
11658
11659 [BZ #19485]
11660 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
11661 and use a better translation for March in “mon”.
11662 * localedata/locales/csb_PL: Use more ASCII to improve the
11663 readability of the source.
11664
11665 2017-10-30 Mike FABIAN <mfabian@redhat.com>
11666
11667 [BZ #13953]
11668 * localedata/locales/km_KH: Use ASCII as much
11669 as possible for better readability of the source and
11670 remove useless comments.
11671 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
11672 was commented out and apparently wrong anyway because it was
11673 using Lao characters. If Buddhist era should be used
11674 for km_KH, a native speaker should write the correct formaat
11675 for Khmer.
11676 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
11677 (According to CLDR, the first weekday for Cambodia is Sunday).
11678 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
11679 (These were using Lao characters which must be wrong. If we get
11680 the correct data from a native speaker, we could add it back, until
11681 then it is better not to have name_mr and name_mrs at all than
11682 having it wrong).
11683
11684 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
11685
11686 * locale/loadlocale.c: Correct size of
11687 _nl_value_type_LC_<category> arrays.
11688
11689 2017-10-27 Joseph Myers <joseph@codesourcery.com>
11690
11691 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
11692 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
11693 with appropriate macros defined and undefined.
11694 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
11695 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
11696 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
11697 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
11698 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
11699
11700 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
11701
11702 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
11703 "-O2 -march=i586".
11704
11705 2017-10-27 Mike FABIAN <mfabian@redhat.com>
11706
11707 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
11708 with lowercase letters to make it agree with CLDR.
11709
11710 2017-10-27 Mike FABIAN <mfabian@redhat.com>
11711
11712 [BZ #15260]
11713 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
11714 first letters of yesstr and nostr in yesexpr and noexpr,
11715 not for the full words.
11716 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
11717 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
11718 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
11719 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
11720 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
11721 first letters of yesstr and nostr in yesexpr and noexpr,
11722 until now only English was matched in yesexpr and noexpr.
11723 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
11724 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
11725 fil but not for tl. As tl and fil are very similar, using fil
11726 is probably better than using English.
11727
11728 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
11729
11730 [BZ #21706]
11731 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
11732 in yesstr and nostr.
11733
11734 2017-10-26 Joseph Myers <joseph@codesourcery.com>
11735
11736 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
11737 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
11738 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
11739 Likewise.
11740 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
11741 Likewise.
11742 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
11743 Likewise.
11744 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
11745 Likewise.
11746 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11747 (SNANF128X): Likewise.
11748
11749 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
11750 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
11751 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11752 (HUGE_VAL_F32): Likewise.
11753 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11754 (HUGE_VAL_F64): Likewise.
11755 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11756 (HUGE_VAL_F32X): Likewise.
11757 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11758 (HUGE_VAL_F64X): Likewise.
11759 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
11760 (HUGE_VAL_F128X): Likewise.
11761
11762 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
11763
11764 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
11765 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
11766 for the br_FR locale.
11767
11768 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
11769
11770 [BZ #21706]
11771 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
11772
11773 2017-10-25 Carlos O'Donell <carlos@redhat.com>
11774
11775 * locale/programs/record-status.h: Define globals, and function
11776 prototypes. Move function bodies...
11777 * locale/programs/record-status.c: ... to here. New file.
11778 * iconv/Makefile (iconv_prog-modules): Add record-status.
11779 * locale/Makefile (lib-modules): Likewise.
11780 * iconv/iconv_prog.c: Remove verbose.
11781 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
11782 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
11783 record a warning about ASCII compatibility.
11784 * locale/programs/ld-monetary.c (monetary_finish): If
11785 warn_int_curr_symbol is true then record a warning about the symbol
11786 not being in our ISO 4217 list.
11787 * locale/programs/locale.c: Include record-status.h. Remove verbose.
11788 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
11789 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
11790 (OPT_NO_WARN): Define.
11791 (OPT_WARN): Define.
11792 (options): Add entry for --no-warnings, and --warnings.
11793 (set_warnings): New function to enable/disable warnings.
11794 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
11795 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
11796 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
11797 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
11798 Pass flags to generate_locale.
11799 (generate_locale): Accept new flag argument and pass it to localedef
11800 invocation.
11801 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
11802 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
11803
11804 * localedata/Makefile (test-input-data): Use full file name.
11805 * localedata/da_DK.in: Rename to...
11806 * localedata/da_DK.ISO-8859-1.in: ...this.
11807 * localedata/de_DE.in: Rename to...
11808 * localedata/de_DE.ISO-8859-1.in: ...this.
11809 * localedata/en_US.in: Rename to...
11810 * localedata/en_US.ISO-8859-1.in: ...this.
11811 * localedata/fr_FR.in: Rename to...
11812 * localedata/fr_FR.UTF-8.in: ... this.
11813 * localedata/hr_HR.in: Rename to...
11814 * localedata/hr_HR.ISO-8859-2.in: ...this.
11815 * localedata/hu_HU.in: Rename to...
11816 * localedata/hu_HU.UTF-8.in: ...this.
11817 * localedata/si_LK.in: Rename to...
11818 * localedata/si_LK.UTF-8.in: ...this.
11819 * localedata/sv_SE.in: Rename to...
11820 * localedata/sv_SE.ISO-8859-1.in: ...this.
11821 * localedata/tr_TR.in: Rename to...
11822 * localedata/tr_TR.UTF-8.in: ...this.
11823 * localedata/uk_UA.in: Rename to...
11824 * localedata/uk_UA.UTF-8.in: ...this.
11825 * localedata/sort-test.sh: Test file is locale name with the
11826 suffix.
11827
11828 * localedata/unicode-gen/Makefile (check_i18n): Rename to
11829 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
11830 file.
11831 * localedata/locales/i18n_ctype: Regenerate.
11832 * localedata/locales/tr_TR: Likewise.
11833 * localedata/locales/translit_circle: Likewise.
11834 * localedata/locales/translit_cjk_compat: Likewise.
11835 * localedata/locales/translit_combining: Likewise.
11836 * localedata/locales/translit_compat: Likewise.
11837 * localedata/locales/translit_font: Likewise.
11838 * localedata/locales/translit_fraction: Likewise.
11839
11840 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11841
11842 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
11843 lxvd2x/stxvd2x with lvx/stvx.
11844 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
11845
11846 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
11847
11848 * include/alloc_buffer.h: Replace "if if " with "if " in
11849 comments.
11850 * sysdeps/mips/memcpy.S: Likkewise.
11851 * sysdeps/mips/memset.S: Likewise.
11852 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11853 Likewise.
11854 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
11855 Likewise.
11856 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
11857 Likewise.
11858
11859 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11860
11861 [BZ #15261]
11862 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
11863 yesexpr and noexpr.
11864 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
11865 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
11866 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
11867 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
11868 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
11869 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
11870 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
11871
11872 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11873
11874 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
11875 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
11876 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
11877 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
11878 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
11879 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
11880 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
11881 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
11882 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
11883 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
11884 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
11885 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
11886
11887 2017-10-25 Mike FABIAN <mfabian@redhat.com>
11888
11889 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
11890 as possible for better readability of the source.
11891 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
11892 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
11893 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
11894 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
11895 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
11896 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
11897 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
11898 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
11899 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
11900 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
11901 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
11902 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
11903 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
11904 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
11905 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
11906 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
11907 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
11908 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
11909 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
11910 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
11911 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
11912 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
11913 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
11914 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
11915 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
11916 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
11917 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
11918 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
11919 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
11920 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
11921 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
11922 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
11923 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
11924 * localedata/locales/en_US (LC_MESSAGES): Likewise.
11925 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
11926 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
11927 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
11928 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
11929 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
11930 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
11931 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
11932 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
11933 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
11934 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
11935 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
11936 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
11937 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
11938 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
11939 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
11940 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
11941 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
11942 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
11943 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
11944 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
11945 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
11946 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
11947 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
11948 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
11949 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
11950 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
11951 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
11952 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
11953 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
11954 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
11955 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
11956 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
11957 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
11958 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
11959 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
11960 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
11961 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
11962 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
11963 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
11964 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
11965 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
11966 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
11967 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
11968 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
11969 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
11970 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
11971 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
11972 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
11973 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
11974 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
11975 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
11976 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
11977 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
11978 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
11979 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
11980 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
11981 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
11982 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
11983 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
11984 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
11985 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
11986 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
11987 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
11988 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
11989 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
11990 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
11991 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
11992 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
11993 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
11994 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
11995 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
11996 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
11997 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
11998 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
11999 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
12000 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
12001 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
12002 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
12003 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
12004 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
12005 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
12006 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
12007 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
12008 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
12009 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
12010 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
12011 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
12012 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
12013 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
12014 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
12015 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
12016 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
12017 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
12018 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
12019 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
12020 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
12021 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
12022 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
12023 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
12024 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
12025 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
12026 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
12027 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
12028 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
12029 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
12030 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
12031 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
12032 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
12033 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
12034 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
12035 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
12036 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
12037 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
12038 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
12039 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
12040 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
12041 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
12042 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
12043 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
12044 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
12045 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
12046 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
12047 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
12048 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
12049 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
12050 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
12051 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
12052 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
12053 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
12054 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
12055 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
12056 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
12057 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
12058 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
12059 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
12060 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
12061 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
12062 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
12063 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
12064 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
12065
12066 2017-10-25 Mike FABIAN <mfabian@redhat.com>
12067
12068 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
12069 (Use first letters of yesstr and nostr correctly instead of using
12070 full words).
12071
12072 2017-10-25 Mike FABIAN <mfabian@redhat.com>
12073
12074 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
12075 (Use first letters of yesstr and nostr correctly).
12076
12077 2017-10-25 Mike FABIAN <mfabian@redhat.com>
12078
12079 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
12080 also check for the first characters of yesstr and nostr.
12081 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
12082 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
12083
12084 2017-10-25 Mike FABIAN <mfabian@redhat.com>
12085
12086 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
12087 also check for Chinese characters.
12088
12089 2017-10-25 Mike FABIAN <mfabian@redhat.com>
12090
12091 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
12092 match also for the contents of yesstr and nostr. As the first letter
12093 of yesstr and nostr is equal, checking only for the first letter
12094 is not enough.
12095
12096 2017-10-25 Mike FABIAN <mfabian@redhat.com>
12097
12098 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
12099 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
12100
12101 2017-10-25 Mike FABIAN <mfabian@redhat.com>
12102
12103 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
12104 of main contributor.
12105
12106 2017-10-25 Mike FABIAN <mfabian@redhat.com>
12107
12108 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
12109 instead of using English.
12110
12111 2017-10-25 Mike FABIAN <mfabian@redhat.com>
12112
12113 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
12114 by including the first letters of nostr and yesexpr in the regexp.
12115 Also make it more readable by using ASCII where possible.
12116
12117 2017-10-25 Mike FABIAN <mfabian@redhat.com>
12118
12119 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
12120 the first letter of nostr in the regexp. It agrees with CLDR now.
12121 Also make it more readable by using ASCII where possible.
12122
12123 2017-10-24 Mike FABIAN <mfabian@redhat.com>
12124
12125 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
12126 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
12127 these strings contain a U+17D6 (which somewhat looks like a colon)
12128 instead of a real colon to separate the full words for “yes”
12129 and “no” from the single letter responses.
12130
12131 2017-10-24 Mike FABIAN <mfabian@redhat.com>
12132
12133 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
12134 it agree with CLDR (include the first letter of yesstr).
12135 Also make it more readable by using ASCII where possible.
12136
12137 2017-10-24 Mike FABIAN <mfabian@redhat.com>
12138
12139 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
12140 and improve yesexpr and noexpr. The yesstr and nostr apparently
12141 came from CLDR. And CLDR has a bug there: these strings contain
12142 a U+0903 (which looks like a colon) instead of a real colon
12143 to separate the full words for “yes” and “no” from the single
12144 letter responses.
12145
12146 2017-10-24 Mike FABIAN <mfabian@redhat.com>
12147
12148 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
12149 letters of the full yesstr and nostr in yesexpr and noexpr.
12150
12151 2017-10-24 Mike FABIAN <mfabian@redhat.com>
12152
12153 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
12154 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
12155 * localedata/locales/an_ES: Make source more readable by using ASCII
12156 where possible.
12157
12158 2017-10-24 Mike FABIAN <mfabian@redhat.com>
12159
12160 [BZ #20952]
12161 * localedata/locales/yuw_PG: New file.
12162 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
12163 * locale/iso-639.def: Add Yau (Uruwa).
12164
12165 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
12166
12167 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
12168
12169 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
12170
12171 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
12172 (__libc_realloc): Likewise.
12173 (_mid_memalign): Likewise.
12174 (__libc_calloc): Likewise.
12175
12176 2017-10-23 Mike FABIAN <mfabian@redhat.com>
12177
12178 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
12179 by adding the generic +1 and -0 as in all other locales.
12180 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
12181 day names and make it more readable by using ASCII where possible.
12182
12183 2017-10-24 Joseph Myers <joseph@codesourcery.com>
12184
12185 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
12186 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
12187
12188 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12189
12190 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
12191 WNOHANG in waitpid call.
12192
12193 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
12194
12195 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
12196 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
12197
12198 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
12199 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
12200 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
12201 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
12202 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
12203 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
12204 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
12205 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
12206 variables.
12207
12208 2017-10-23 Michael Collison <michael.collison@arm.com>
12209
12210 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
12211 with __builtin_sqrt.
12212 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
12213 with __builtin_sqrtf.
12214 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
12215 with __builtin_ceil.
12216 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
12217 with __builtin_ceilf.
12218 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
12219 with __builtin_floor.
12220 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
12221 with __builtin_floorf.
12222 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
12223 with __builtin_fma.
12224 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
12225 with __builtin_fmaf.
12226 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
12227 with __builtin_fmax.
12228 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
12229 with __builtin_fmaxf.
12230 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
12231 with __builtin_fmin.
12232 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
12233 with __builtin_fminf.
12234 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
12235 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
12236 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
12237 with builtin_rint and conversion to int.
12238 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
12239 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
12240 with builtin_llround.
12241 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
12242 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
12243 with builtin_rint and conversion to long int.
12244 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
12245 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
12246 with builtin_lround.
12247 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
12248 with builtin_lroundf.
12249 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
12250 statements with __builtin_nearbyint.
12251 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
12252 statements with __builtin_nearbyintf.
12253 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
12254 with __builtin_rint.
12255 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
12256 with __builtin_rintf.
12257 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
12258 with __builtin_round.
12259 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
12260 with __builtin_roundf.
12261 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
12262 with __builtin_trunc.
12263 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
12264 with __builtin_truncf.
12265 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
12266 and s_l[l]round[f].c too.
12267
12268 2017-10-23 Alan Modra <amodra@gmail.com>
12269
12270 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
12271 Adjust stack after restoring regs. Add missing LR cfi_restore.
12272
12273 2017-10-23 Alan Modra <amodra@gmail.com>
12274
12275 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
12276 Move LR save and frame setup/teardown and LR restore to
12277 immediately around memset call. Provide cfi.
12278
12279 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
12280
12281 * sysdeps/i386/fpu/e_powf.S: Removed.
12282 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
12283 * sysdeps/i386/fpu/w_powf.c: Likewise.
12284 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
12285 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12286 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
12287 Add e_powf-sse2.
12288 (CFLAGS-e_powf-sse2.c): New.
12289 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
12290 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
12291
12292 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
12293
12294 * sysdeps/i386/fpu/e_log2f.S: Removed.
12295 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
12296 * sysdeps/i386/fpu/w_log2f.c: Likewise.
12297 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
12298 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12299 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
12300 Add e_log2f-sse2.
12301 (CFLAGS-e_log2f-sse2.c): New.
12302 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
12303 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
12304
12305 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
12306
12307 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12308 Add e_powf-fma.
12309 (CFLAGS-e_powf-fma.c): New.
12310 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
12311 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
12312
12313 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
12314
12315 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12316 Add e_log2f-fma.
12317 (CFLAGS-e_log2f-fma.c): New.
12318 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
12319 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
12320
12321 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
12322
12323 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12324 Add e_logf-fma.
12325 (CFLAGS-e_logf-fma.c): New.
12326 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
12327 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
12328
12329 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
12330
12331 * sysdeps/i386/fpu/e_logf.S: Removed.
12332 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
12333 * sysdeps/i386/fpu/w_logf.c: Likewise.
12334 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
12335 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
12336 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12337 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
12338 Add e_logf-sse2.
12339 (CFLAGS-e_logf-sse2.c): New.
12340 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
12341 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
12342
12343 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
12344
12345 * sysdeps/i386/fpu/e_exp2f.S: Removed.
12346 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
12347 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
12348 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12349 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
12350 Add e_exp2f-sse2.
12351 (CFLAGS-e_exp2f-sse2.c): New.
12352 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
12353 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
12354
12355 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
12356
12357 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12358 Add e_exp2f-fma.
12359 (CFLAGS-e_exp2f-fma.c): New.
12360 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
12361 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
12362
12363 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
12364
12365 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
12366 * sysdeps/i386/fpu/e_expf.S: Likewise.
12367 * sysdeps/i386/fpu/math_errf.c: Likewise.
12368 * sysdeps/i386/fpu/w_expf.c: Likewise.
12369 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
12370 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
12371 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
12372 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
12373 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12374 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
12375 Remove e_expf-ia32.
12376 (CFLAGS-e_expf-sse2.c): New.
12377 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
12378 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
12379
12380 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
12381
12382 * sysdeps/x86_64/fpu/e_expf.S: Removed.
12383 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
12384 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
12385 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
12386 e_expf.c.
12387 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
12388 New.
12389 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
12390 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
12391 Renamed to ...
12392 (__redirect_expf): This.
12393 (SYMBOL_NAME): Changed to expf.
12394 (__ieee754_expf): Renamed to ...
12395 (__expf): This.
12396 (__GI___expf): This.
12397 (__ieee754_expf): Add strong_alias.
12398 (__expf_finite): Likewise.
12399 (__expf): New.
12400 Include <sysdeps/ieee754/flt-32/e_expf.c>.
12401
12402 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
12403
12404 [BZ #22332]
12405 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
12406 unescaping.
12407
12408 2017-10-21 Florian Weimer <fweimer@redhat.com>
12409
12410 * posix/Makefile (tests): Add tst-glob-tilde.
12411 (tests-special): Add tst-glob-tilde-mem.out
12412 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
12413 (tst-glob-tilde-mem.out): Add mtrace check.
12414 * posix/tst-glob-tilde.c: New file.
12415
12416 2017-10-20 Joseph Myers <joseph@codesourcery.com>
12417
12418 * bits/floatn-common.h: New file.
12419 * math/Makefile (headers): Add bits/floatn-common.h.
12420 * bits/floatn.h: Include <bits/floatn-common.h>.
12421 * sysdeps/ia64/bits/floatn.h: Likewise.
12422 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
12423 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
12424 * sysdeps/powerpc/bits/floatn.h: Likewise.
12425 * sysdeps/x86/bits/floatn.h: Likewise.
12426
12427 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12428
12429 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
12430 indicates whether compiler emits an warning for alias for
12431 functions with incompatible types.
12432
12433 [BZ #22273]
12434 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
12435 the auxiliary process is terminated by a signal before calling _exit
12436 or execve.
12437
12438 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
12439
12440 [BZ #21265]
12441 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
12442 New.
12443 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
12444 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
12445 and bit_arch_XSAVEC_Usable if needed.
12446 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
12447 and bit_arch_Use_dl_runtime_resolve_opt.
12448 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
12449 Removed.
12450 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
12451 (bit_arch_Prefer_No_AVX512): Updated.
12452 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
12453 (bit_arch_XSAVEC_Usable): New.
12454 (STATE_SAVE_OFFSET): Likewise.
12455 (STATE_SAVE_MASK): Likewise.
12456 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
12457 (cpu_features): Add xsave_state_size and xsave_state_full_size.
12458 (index_arch_Use_dl_runtime_resolve_opt): Removed.
12459 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
12460 (index_arch_XSAVEC_Usable): New.
12461 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
12462 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
12463 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
12464 is enabled.
12465 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
12466 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
12467 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
12468 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
12469 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
12470 _dl_runtime_resolve_xsavec.
12471 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
12472 Removed.
12473 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
12474 instead of VEC_SIZE.
12475 (REGISTER_SAVE_BND0): Removed.
12476 (REGISTER_SAVE_BND1): Likewise.
12477 (REGISTER_SAVE_BND3): Likewise.
12478 (REGISTER_SAVE_RAX): Always defined to 0.
12479 (VMOV): Removed.
12480 (_dl_runtime_resolve_avx): Likewise.
12481 (_dl_runtime_resolve_avx_slow): Likewise.
12482 (_dl_runtime_resolve_avx_opt): Likewise.
12483 (_dl_runtime_resolve_avx512): Likewise.
12484 (_dl_runtime_resolve_avx512_opt): Likewise.
12485 (_dl_runtime_resolve_sse): Likewise.
12486 (_dl_runtime_resolve_sse_vex): Likewise.
12487 (USE_FXSAVE): New.
12488 (_dl_runtime_resolve_fxsave): Likewise.
12489 (USE_XSAVE): Likewise.
12490 (_dl_runtime_resolve_xsave): Likewise.
12491 (USE_XSAVEC): Likewise.
12492 (_dl_runtime_resolve_xsavec): Likewise.
12493 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
12494 Removed.
12495 (_dl_runtime_resolve_avx512_opt): Likewise.
12496 (_dl_runtime_resolve_avx): Likewise.
12497 (_dl_runtime_resolve_avx_opt): Likewise.
12498 (_dl_runtime_resolve_sse): Likewise.
12499 (_dl_runtime_resolve_sse_vex): Likewise.
12500 (_dl_runtime_resolve_fxsave): New.
12501 (_dl_runtime_resolve_xsave): Likewise.
12502 (_dl_runtime_resolve_xsavec): Likewise.
12503
12504 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
12505
12506 [BZ #22320]
12507 CVE-2017-15670
12508 * posix/glob.c (__glob): Fix one-byte overflow.
12509
12510 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
12511
12512 * malloc/malloc.c (sysdep-cancel.h): Add include.
12513
12514 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
12515
12516 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
12517
12518 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
12519
12520 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
12521 (tests): Remove $(objpfx)ga_test depdendency.
12522 * resolv/ga_test.c: Remove file.
12523
12524 2017-10-20 Mike FABIAN <mfabian@redhat.com>
12525
12526 [BZ #18812]
12527 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
12528 * localedata/locales/kab_DZ: New file.
12529
12530 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
12531
12532 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
12533 _dl_relocate_static_pie instead of _dl_start to compute load
12534 address in static PIE.
12535
12536 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
12537
12538 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
12539
12540 2017-10-20 Mike FABIAN <mfabian@redhat.com>
12541
12542 [BZ #13605]
12543 * localedata/SUPPORTED: Add shn_MM/UTF-8.
12544 * localedata/locales/shn_MM: New file.
12545
12546 2017-10-20 Florian Weimer <fweimer@redhat.com>
12547
12548 [BZ #22321]
12549 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
12550 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
12551 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
12552 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
12553 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
12554 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
12555
12556 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
12557
12558 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12559
12560 2017-10-19 Joseph Myers <joseph@codesourcery.com>
12561
12562 * sysdeps/mips/ieee754/bits/floatn.h: New file.
12563
12564 [BZ #22322]
12565 * sysdeps/mips/bits/long-double.h: Move to ....
12566 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
12567
12568 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
12569
12570 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
12571
12572 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
12573 H.J. Lu <hongjiu.lu@intel.com>
12574
12575 [BZ #22299]
12576 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12577 GLRO(dl_platform) to NULL.
12578 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
12579 (modules-names): Add tst-platformmod-1 and
12580 x86_64/tst-platformmod-2.
12581 (CFLAGS-tst-platform-1.c): New.
12582 (CFLAGS-tst-platformmod-1.c): Likewise.
12583 (CFLAGS-tst-platformmod-2.c): Likewise.
12584 (LDFLAGS-tst-platformmod-2.so): Likewise.
12585 ($(objpfx)tst-platform-1): Likewise.
12586 ($(objpfx)tst-platform-1.out): Likewise.
12587 (tst-platform-1-ENV): Likewise.
12588 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
12589 * sysdeps/x86_64/tst-platform-1.c: New file.
12590 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
12591 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
12592
12593 2017-10-19 Mike FABIAN <mfabian@redhat.com>
12594
12595 [BZ #13994]
12596 * locale/iso-639.def: Add Karbi.
12597 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
12598 * localedata/locales/mjw_IN: New file.
12599
12600 2017-10-18 Joseph Myers <joseph@codesourcery.com>
12601
12602 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
12603 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
12604 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
12605 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
12606 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
12607 (libm_alias_ldouble_other_r): Also create _Float128 alias.
12608 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
12609 <bits/floatn.h>.
12610 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
12611 (libm_alias_ldouble_other_r): Also create _Float128 alias.
12612 * manual/math.texi (Mathematics): Document additional architecture
12613 support for _Float128.
12614 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
12615 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12616 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12617 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12618 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12619 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12620 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12621 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12622 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12623 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12624 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12625 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12626 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12627 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12628 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12629
12630 2017-10-18 Renlin Li <renlin.li@arm.com>
12631
12632 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
12633 _DYNAMIC symbol to calculate load address.
12634
12635 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
12636
12637 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
12638 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
12639 summary bits.
12640 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
12641 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
12642
12643 2017-10-18 Mike FABIAN <mfabian@redhat.com>
12644
12645 [BZ #16777]
12646 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
12647 and improve readability by using more ASCII.
12648 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
12649 and improve readability by using more ASCII.
12650
12651 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
12652
12653 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
12654 not all targets support atomics on bool.
12655
12656 2017-10-17 Joseph Myers <joseph@codesourcery.com>
12657
12658 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
12659 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
12660 __f128.
12661 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
12662 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
12663 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
12664 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
12665 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
12666 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
12667
12668 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12669
12670 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
12671 defines.
12672
12673 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
12674
12675 [BZ #22159]
12676 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
12677 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
12678 (do_check_remalloced_chunk): Fix build bug.
12679 (do_check_malloc_state): Add assert that checks arena->top.
12680 (malloc_consolidate): Remove initialization.
12681 (int_mallinfo): Remove call to malloc_consolidate.
12682 (__libc_mallopt): Clarify why malloc_consolidate is needed.
12683
12684 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
12685
12686 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
12687 (have_fastchunks): Remove.
12688 (clear_fastchunks): Remove.
12689 (set_fastchunks): Remove.
12690 (malloc_state): Add have_fastchunks.
12691 (malloc_init_state): Use have_fastchunks.
12692 (do_check_malloc_state): Remove incorrect invariant checks.
12693 (_int_malloc): Use have_fastchunks.
12694 (_int_free): Likewise.
12695 (malloc_consolidate): Likewise.
12696
12697 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
12698
12699 * malloc/malloc.c (tcache_put): Inline.
12700 (tcache_get): Inline.
12701
12702 2017-10-17 Jordi Mallach <jordi@gnu.org>
12703
12704 Aurelien Jarno <aurelien@aurel32.net>
12705 [BZ #2522]
12706 * localedata/locales/ca_ES@valencia: New file.
12707 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
12708
12709 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
12710
12711 [BZ #22296]
12712 * math/math.h: Let signbit use the builtin in C++ mode with gcc
12713 < 6.x
12714
12715 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12716
12717 * scripts/build-many-glibcs.py (Context.add_all_configs):
12718 Add arm-linux-gnueabihf multiarch extra_glibcs.
12719
12720 * sysdeps/generic/ifunc-init.h: New file.
12721 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
12722
12723 2017-10-17 Mike FABIAN <mfabian@redhat.com>
12724
12725 [BZ #22019]
12726 * localedata/locales/el_GR: Set n_cs_precedes to 0.
12727 * localedata/locales/el_CY: copy "el_GR" because it is identical.
12728 * stdlib/tst-strfmon_l.c: adapt test case.
12729
12730 2017-10-16 Joseph Myers <joseph@codesourcery.com>
12731
12732 * sysdeps/generic/float128-abi.h: New file.
12733 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
12734 non-__prefixed symbols to ....
12735 * math/Versions: ... here. Include <float128-abi.h>.
12736 * stdlib/Versions ... and here. Include <float128-abi.h>
12737
12738 2017-10-16 Florian Weimer <fweimer@redhat.com>
12739
12740 * version.h (VERSION): Switch to ".9000" as the development
12741 version suffix.
12742
12743 2017-10-16 Florian Weimer <fweimer@redhat.com>
12744
12745 [BZ #22050]
12746 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
12747 compat_symbol_reference to access non-default version.
12748
12749 2017-10-16 Florian Weimer <fweimer@redhat.com>
12750
12751 * malloc/Makefile (others-extras): Set to mcheck-init.o.
12752
12753 2017-10-16 Carlos O'Donell <carlos@redhat.com>
12754
12755 * include/shlib-compat.h (compat_symbol_reference): Update
12756 comment.
12757
12758 2017-10-16 Joseph Myers <joseph@codesourcery.com>
12759
12760 * math/Makefile (test-types): Add
12761 $(type-float128-$(float128-alias-fcts)).
12762 * math/test-float128.h (TYPE_STR): Define conditional on
12763 [FLT128_MANT_DIG == LDBL_MANT_DIG].
12764 (ULP_IDX): Likewise.
12765 (ULP_I_IDX): Likewise.
12766
12767 * stdlib/strtold.c: Include <bits/floatn.h>
12768 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
12769 and later undefine as macro. Define as weak alias if
12770 [!USE_WIDE_CHAR].
12771 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
12772 and later undefine as macro. Define as weak alias if
12773 [USE_WIDE_CHAR].
12774 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
12775 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
12776 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
12777 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
12778 Define and later undefine as macro. Define as weak alias if
12779 [USE_WIDE_CHAR].
12780 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
12781 <bits/floatn.h>.
12782 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
12783 Define and later undefine as macro. Define as weak alias if
12784 [!USE_WIDE_CHAR].
12785 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
12786 Define and later undefine as macro. Define as weak alias if
12787 [USE_WIDE_CHAR].
12788
12789 2017-10-15 Carlos O'Donell <carlos@redhat.com>
12790
12791 * localedata/collate-test.c (allocate_arrays): Don't use \n in
12792 record_verbose messages.
12793
12794 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
12795
12796 [BZ #22052]
12797 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
12798 to silence -O3 -Wall warning with GCC 7.
12799
12800 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
12801
12802 * Makeconfig (+link-static-before-libc): Use the first of
12803 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
12804 * gmon/Makefile (tests): Add tst-gmon-static.
12805 (tests-static): Likewise.
12806 (CFLAGS-tst-gmon-static.c): New.
12807 (CRT-tst-gmon-static): Likewise.
12808 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
12809 (tst-gmon-static-ENV): Likewise.
12810 (tests-special): Likewise.
12811 ($(objpfx)tst-gmon-static.out): Likewise.
12812 (clean-tst-gmon-static-data): Likewise.
12813 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
12814 * gmon/tst-gmon-static-gprof.sh: New file.
12815 * gmon/tst-gmon-static.c: Likewise.
12816
12817 2017-10-13 Carlos O'Donell <carlos@redhat.com>
12818
12819 [BZ #22295]
12820 * locale/programs/linereader.c (get_string): Don't warn on
12821 non-symbolic character.
12822
12823 [BZ #22294]
12824 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
12825 int_curr_symbol.
12826
12827 [BZ #22292]
12828 * locale/programs/record-status.h: New file
12829 * locale/programs/locale.c: Add comment.
12830 * locale/programs/charmap-dir.c: Don't include error.h.
12831 (charmap_opendir): Use record_error.
12832 * locale/programs/charmap.c: Don't include error.h.
12833 (charmap_read): Use record_error, and record_warning.
12834 (parse_charmap): Likewise.
12835 * locale/programs/ld-address.c: Don't include error.h.
12836 (address_finish): Use record_error, and record_warning.
12837 * locale/programs/ld-collate.c: Don't include error.h.
12838 (collate_finish): Use record_error, and record_error_at_line.
12839 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
12840 (ctype_class_new): Likewise.
12841 (ctype_map_new): Likewise.
12842 (set_one_default): Likewise.
12843 (set_class_defaults): Likewise.
12844 (translit_flatten): Likewise.
12845 (allocate_arrays): Use record_error, and record_verbose.
12846 * locale/programs/ld-identification.c: Don't include error.h.
12847 (indentation_finish): Use record_error and record_warning.
12848 * locale/programs/ld-measurement.c: Don't include error.h.
12849 (measurement_finish): Use record_error.
12850 * locale/programs/ld-messages.c
12851 (message_finish): Likewise.
12852 * locale/programs/ld-monetary.c
12853 (monetary_finish): Likewise.
12854 * locale/programs/ld-name.c (name_finish): Use record_error
12855 and record_warning.
12856 * locale/programs/ld-numeric.c
12857 (numeric_finish): Use record_error.
12858 * locale/programs/ld-paper.c: Don't include error.h.
12859 (paper_finish): Use record_error.
12860 * locale/programs/ld-telephone.c: Don't include error.h.
12861 (telephone_finish): Use record_error.
12862 * locale/programs/ld-time.c (time_finish): Likewise.
12863 * locale/programs/linereader.h (lr_error): Make inline func.
12864 * locale/programs/localedef.c: Define recorded_warning_count,
12865 and recorded_error_count.
12866 (main): Use record_error. Use recorded_error_count and
12867 recorded_warning_count to issue correct error returns.
12868 (add_to_readlist): Use record_error.
12869 (find_locale): Likewise.
12870 (load_locale): Likewise.
12871 * locale/programs/localedef.h: Remove be_quiet
12872 and WITH_CUR_LOCALE.
12873 * locale/programs/locarchive.c (compare_from_file): Use
12874 record_error.
12875 * locale/programs/locfile.c (write_locale_data): Use
12876 record_error.
12877 * locale/programs/repertoire.c: Dont include error.h.
12878 (repertoire_complain): Use record_error.
12879 * localedata/tst-fmon.sh: Expect failures from localedef.
12880 * localedata/tst-locale.sh: Likewise.
12881 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
12882
12883 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
12884 (REPORTS): Likewise.
12885 (check): Likewise.
12886 (i18n): Rename to...
12887 (i18n_ctype): ...this.
12888 (i18n-report): Rename to...
12889 (i18n_ctype-report): ...this.
12890 * localedata/locales/i18n_ctype: Regenerate.
12891 * localedata/locales/i18n: copy i18n_ctype.
12892
12893 2017-10-13 Joseph Myers <joseph@codesourcery.com>
12894
12895 * stdlib/strfroml.c: Include <bits/floatn.h>.
12896 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
12897 Define before include of <stdlib.h> and undefine afterwards, then
12898 define as weak alias.
12899
12900 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
12901 Undefine and restore default definition. Use
12902 libm_alias_ldouble_other.
12903
12904 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
12905
12906 [BZ #22153]
12907 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
12908 in coredumps.
12909
12910 2017-10-13 James Clarke <jrtc27@jrtc27.com>
12911
12912 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12913 Assign sym_map to be map for local symbols, as TLS relocations
12914 use sym_map to determine whether the symbol is defined and to
12915 extract the TLS information.
12916 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12917 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12918
12919 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12920
12921 [BZ #22189]
12922 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
12923 (math_force_eval): Add powerpc version.
12924
12925 [BZ #22142]
12926 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
12927 -DBL_MAX.
12928 (do_test): Likewise.
12929 * stdio-common/tst-printf.sh: Likewise.
12930 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
12931 ifdef clause in order to set the carry bit right. Replace r0 by
12932 0 without changing the behavior.
12933
12934 2017-10-13 Joseph Myers <joseph@codesourcery.com>
12935
12936 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
12937 <libm-alias-ldouble.h>.
12938 (fabsl): Define using libm_alias_ldouble.
12939 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
12940 <libm-alias-ldouble.h>.
12941 (fabsl): Define using libm_alias_ldouble.
12942
12943 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
12944 Remove conditional code.
12945
12946 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
12947 Rename to __clog10_internal_l.
12948 (__clog10_internal_l): Define aliases using
12949 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
12950 with __clog10.
12951
12952 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12953
12954 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
12955 * benchtests/sincosf-inputs: New file.
12956 * benchtests/cosf-inputs: New file.
12957 * benchtests/sinf-inputs: New file.
12958
12959 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12960
12961 * posix/tst-spawn.c (do_test): Wait for both children.
12962
12963 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
12964
12965 [BZ #22284]
12966 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
12967 tests-pie): Add tst-gmon-pie.
12968 (CFLAGS-tst-gmon-pie.c): New.
12969 (CRT-tst-gmon-pie): Likewise.
12970 (tst-gmon-pie-ENV): Likewise.
12971 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
12972 ($(objpfx)tst-gmon-pie.out): Likewise.
12973 (clean-tst-gmon-pie-data): Likewise.
12974 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
12975 * gmon/gmon.c [PIC]: Include <link.h>.
12976 [PIC] (callback): New function.
12977 (write_hist): Add an argument for load address. Subtract load
12978 address from PCs.
12979 (write_call_graph): Likewise.
12980 (write_gmon): Call __dl_iterate_phdr to get load address, pass
12981 it to write_hist and write_call_graph.
12982 * gmon/tst-gmon-pie.c: New file.
12983
12984 2017-10-11 Joseph Myers <joseph@codesourcery.com>
12985
12986 * math/Makefile (test-types-basic): New variable.
12987 (test-types): Likewise.
12988 (libm-test-support): Use $(test-types) instead of $(types).
12989 (libm-tests-base-normal): Likewise.
12990 (libm-tests-base-finite): Likewise.
12991 (libm-tests-base-inline): Likewise.
12992 (generated): Likewise.
12993 ($(objpfx)libm-test-support-$(t).c): Likewise.
12994 (libm-tests-for-type iterator): Likewise.
12995 (libm-test-support iterator): Likewise.
12996 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
12997 (ulp_idx): Use ULP_IDX.
12998 * math/test-ldouble.h: Include <float.h>.
12999 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
13000 (ULP_IDX): New macro.
13001 (ULP_I_IDX): Likewise.
13002 * math/test-double.h (ULP_IDX): Likewise.
13003 (ULP_I_IDX): Likewise.
13004 * math/test-float.h (ULP_IDX): Likewise.
13005 (ULP_I_IDX): Likewise.
13006 * math/test-float128.h (ULP_IDX): Likewise.
13007 (ULP_I_IDX): Likewise.
13008
13009 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13010
13011 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
13012 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13013 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13014 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
13015 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13016 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
13017 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
13018 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13019 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13020 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13021 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
13022 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13023 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13024 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13025 (SINGLE_THREAD_BY_GLOBAL): Define.
13026 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
13027 Likewise.
13028 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
13029 Likewise.
13030 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
13031 Likewise.
13032 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
13033 Likewise.
13034 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
13035 (SINGLE_THREAD_BY_GLOBAL): Likewise.
13036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
13037 Likewise.
13038
13039 2017-10-11 Andreas Schwab <schwab@suse.de>
13040
13041 * nis/Makefile (aux): Remove.
13042 * nscd/Makefile (aux): Add nscd_hash.
13043 (nscd-modules): Likewise.
13044 ($(objpfx)nscd): Don't depend on libnsl.
13045 * nscd/nscd_hash.c: New file.
13046 * nscd/nscd_hash.h: Likewise.
13047 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
13048 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
13049 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
13050 instead of <nis/rpcsvc/nis.h>.
13051 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
13052
13053 2017-10-11 Florian Weimer <fweimer@redhat.com>
13054
13055 [BZ #22078]
13056 Avoid large NSS buffers with many addresses, aliases.
13057 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
13058 using dynarrays and struct alloc_buffer.
13059 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
13060 (tst-nss-files-hosts-multi): Link with -ldl.
13061 * nss/tst-nss-files-hosts-multi.c: New file.
13062
13063 2017-10-11 Florian Weimer <fweimer@redhat.com>
13064
13065 [BZ #18023]
13066 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
13067 scratch_buffer. Eliminate gotos.
13068
13069 2017-10-11 Joseph Myers <joseph@codesourcery.com>
13070
13071 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
13072 libm_alias_ldouble_other.
13073 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
13074 undefine and redefine.
13075 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
13076 (exp10l): Do not define here.
13077 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
13078 (weak_alias): Undefine and redefine.
13079 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
13080 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
13081 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
13082 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
13083
13084 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
13085 [!__fma] (fma): Define using libm_alias_double.
13086 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
13087 [!__fmaf] (fmaf): Define using libm_alias_float.
13088 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
13089 (fmal): Define using libm_alias_ldouble.
13090
13091 2017-10-10 Joseph Myers <joseph@codesourcery.com>
13092
13093 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
13094 New macro.
13095 (libm_alias_double_other): Likewise.
13096 (libm_alias_double_r): Use libm_alias_double_other_r.
13097 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
13098 New macro.
13099 (libm_alias_float_other): Likewise.
13100 (libm_alias_float_r): Use libm_alias_float_other_r.
13101 * sysdeps/generic/libm-alias-float128.h
13102 (libm_alias_float128_other_r): New macro.
13103 (libm_alias_float128_other): Likewise.
13104 (libm_alias_float128_r): Use libm_alias_float128_other_r.
13105 * sysdeps/generic/libm-alias-ldouble.h
13106 (libm_alias_ldouble_other_r): New macro.
13107 (libm_alias_ldouble_other): Likewise.
13108 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
13109 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
13110 (libm_alias_double_other_r): New macro.
13111 (libm_alias_double_other): Likewise.
13112 (libm_alias_double_r): Use libm_alias_double_other_r.
13113 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
13114 (libm_alias_ldouble_other_r): New macro.
13115 (libm_alias_ldouble_other): Likewise.
13116 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
13117 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
13118 [!USE_AS_COMPAT]: Use libm_alias_double_other.
13119 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
13120 [!USE_AS_COMPAT]: Use libm_alias_float_other.
13121 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
13122 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
13123 * math/w_exp2f.c: Use libm_alias_float_other.
13124 * math/w_expf.c: Likewise.
13125 * math/w_log2f.c: Likewise.
13126 * math/w_logf.c: Likewise.
13127 * math/w_powf.c: Likewise.
13128 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
13129 [!__exp2f]: Use libm_alias_float_other.
13130 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
13131 [!__expf]: Use libm_alias_float_other.
13132 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
13133 [!__log2f]: Use libm_alias_float_other.
13134 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
13135 [!__logf]: Use libm_alias_float_other.
13136 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
13137 [!__powf]: Use libm_alias_float_other.
13138
13139 2017-10-10 Florian Weimer <fweimer@redhat.com>
13140
13141 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
13142 function.
13143 (_nss_files_gethostbyname3_r): Call it.
13144
13145 2017-10-09 Joseph Myers <joseph@codesourcery.com>
13146
13147 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
13148 error. Remove default definition of declare_mgen_alias.
13149 [!declare_mgen_alias_r]: Likewise.
13150 * sysdeps/generic/math-type-macros-double.h
13151 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
13152 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
13153 (declare_mgen_alias_r): Likewise.
13154 * sysdeps/generic/math-type-macros-float128.h
13155 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
13156 * sysdeps/generic/math-type-macros-ldouble.h
13157 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
13158 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
13159 macro.
13160 (declare_mgen_alias_r_s): Likewise.
13161 (declare_mgen_alias_r): Likewise.
13162 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
13163 (lgamma_r): Define using libm_alias_double_r.
13164 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
13165 (lgammaf_r): Define using libm_alias_float_r.
13166 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
13167 (lgammal_r): Define using libm_alias_ldouble_r.
13168 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
13169 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
13170
13171 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13172
13173 * lib/glob.c (__glob_pattern_type): Remove now-spurious
13174 extern declaration.
13175
13176 2017-10-09 Joseph Myers <joseph@codesourcery.com>
13177
13178 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
13179
13180 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
13181
13182 [BZ #21326]
13183 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
13184 [__cplusplus >= 201103] (__USE_ISOC99): Define.
13185 * math/Makefile (test-math-cxx11): New test.
13186 * math/test-math-cxx11.cc: New file.
13187
13188 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
13189
13190 * login/openpty.c (openpty): Close slave pty file descriptor on error.
13191
13192 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
13193 call to allocate the slave pty file descriptor.
13194
13195 2017-10-06 Joseph Myers <joseph@codesourcery.com>
13196
13197 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
13198 [!__fma] (fma): Define using libm_alias_double.
13199 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
13200 [!__fma] (fma): Define using libm_alias_double.
13201
13202 * sysdeps/ieee754/float128/float128_private.h: Include
13203 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
13204 (libm_alias_ldouble_r): Undefine and redefine.
13205 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
13206 <libm-alias-ldouble.h>.
13207 (asinhl): Define using libm_alias_ldouble.
13208 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
13209 <libm-alias-ldouble.h>.
13210 (atanl): Define using libm_alias_ldouble.
13211 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
13212 <libm-alias-ldouble.h>.
13213 (cbrtl): Define using libm_alias_ldouble.
13214 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
13215 <libm-alias-ldouble.h>.
13216 (ceill): Define using libm_alias_ldouble.
13217 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
13218 <libm-alias-ldouble.h>.
13219 (copysignl): Define using libm_alias_ldouble.
13220 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
13221 <libm-alias-ldouble.h>.
13222 (cosl): Define using libm_alias_ldouble.
13223 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
13224 <libm-alias-ldouble.h>.
13225 (erfl): Define using libm_alias_ldouble.
13226 (erfcl): Likewise.
13227 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
13228 <libm-alias-ldouble.h>.
13229 (expm1l): Define using libm_alias_ldouble.
13230 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
13231 <libm-alias-ldouble.h>.
13232 (fabsl): Define using libm_alias_ldouble.
13233 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
13234 <libm-alias-ldouble.h>.
13235 (floorl): Define using libm_alias_ldouble.
13236 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
13237 <libm-alias-ldouble.h>.
13238 (fmal): Define using libm_alias_ldouble.
13239 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
13240 <libm-alias-ldouble.h>.
13241 (frexpl): Define using libm_alias_ldouble.
13242 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
13243 libm_alias_ldouble.
13244 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
13245 <libm-alias-ldouble.h>.
13246 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
13247 libm_alias_ldouble.
13248 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
13249 <libm-alias-ldouble.h>.
13250 (getpayloadl): Define using libm_alias_ldouble.
13251 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
13252 <libm-alias-ldouble.h>.
13253 (llrintl): Define using libm_alias_ldouble.
13254 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
13255 <libm-alias-ldouble.h>.
13256 (llroundl): Define using libm_alias_ldouble.
13257 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
13258 <libm-alias-ldouble.h>.
13259 (logbl): Define using libm_alias_ldouble.
13260 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
13261 <libm-alias-ldouble.h>.
13262 (lrintl): Define using libm_alias_ldouble.
13263 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
13264 <libm-alias-ldouble.h>.
13265 (lroundl): Define using libm_alias_ldouble.
13266 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
13267 <libm-alias-ldouble.h>.
13268 (modfl): Define using libm_alias_ldouble.
13269 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
13270 <libm-alias-ldouble.h>.
13271 (nearbyintl): Define using libm_alias_ldouble.
13272 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
13273 <libm-alias-ldouble.h>.
13274 (nextafterl): Define using libm_alias_ldouble.
13275 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
13276 <libm-alias-ldouble.h>.
13277 (nextupl): Define using libm_alias_ldouble.
13278 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
13279 <libm-alias-ldouble.h>.
13280 (remquol): Define using libm_alias_ldouble.
13281 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
13282 <libm-alias-ldouble.h>.
13283 (rintl): Define using libm_alias_ldouble.
13284 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
13285 <libm-alias-ldouble.h>.
13286 (roundevenl): Define using libm_alias_ldouble.
13287 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
13288 <libm-alias-ldouble.h>.
13289 (roundl): Define using libm_alias_ldouble.
13290 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
13291 using libm_alias_ldouble.
13292 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
13293 <libm-alias-ldouble.h>.
13294 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
13295 Define using libm_alias_ldouble.
13296 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
13297 <libm-alias-ldouble.h>.
13298 (sincosl): Define using libm_alias_ldouble.
13299 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
13300 <libm-alias-ldouble.h>.
13301 (sinl): Define using libm_alias_ldouble.
13302 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
13303 <libm-alias-ldouble.h>.
13304 (tanhl): Define using libm_alias_ldouble.
13305 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
13306 <libm-alias-ldouble.h>.
13307 (tanl): Define using libm_alias_ldouble.
13308 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
13309 <libm-alias-ldouble.h>.
13310 (totalorderl): Define using libm_alias_ldouble.
13311 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
13312 <libm-alias-ldouble.h>.
13313 (totalordermagl): Define using libm_alias_ldouble.
13314 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
13315 <libm-alias-ldouble.h>.
13316 (truncl): Define using libm_alias_ldouble.
13317 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
13318 libm_alias_ldouble.
13319 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
13320 libm_alias_ldouble.
13321 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
13322 <libm-alias-ldouble.h>.
13323 (weak_alias): Do not undefine and redefine.
13324 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
13325 (copysignl): Define with long_double_symbol only if [IS_IN
13326 (libc)].
13327 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
13328 <libm-alias-ldouble.h>.
13329 (weak_alias): Do not undefine and redefine.
13330 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
13331 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
13332 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
13333 <libm-alias-ldouble.h>.
13334 (weak_alias): Do not undefine and redefine.
13335 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
13336 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
13337 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
13338 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
13341 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
13343 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
13344 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
13345 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
13347 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
13354 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
13358 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
13360 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
13361
13362 2017-10-06 Carlos O'Donell <carlos@redhat.com>
13363
13364 [BZ #22111]
13365 * malloc/malloc.c (tcache_shutting_down): Use bool type.
13366 (tcache_thread_freeres): Set tcache_shutting_down before
13367 freeing the tcache.
13368 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
13369 * malloc/tst-malloc-tcache-leak.c: New file.
13370
13371 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13372
13373 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
13374 back to powerpc32 file.
13375 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
13376 (memrchr): Add __memrchr_power8 to ifunc list.
13377 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
13378 extra bytes for unaligned inputs.
13379
13380 2017-10-06 Joseph Myers <joseph@codesourcery.com>
13381
13382 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
13383 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
13384 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
13387
13388 2017-10-05 Joseph Myers <joseph@codesourcery.com>
13389
13390 * sysdeps/arm/libm-test-ulps: Update.
13391
13392 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
13393 <libm-alias-ldouble.h>.
13394 (asinhl): Define using libm_alias_ldouble.
13395 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
13396 <libm-alias-ldouble.h>.
13397 (cbrtl): Define using libm_alias_ldouble.
13398 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
13399 <libm-alias-ldouble.h>.
13400 (copysignl): Define using libm_alias_ldouble.
13401 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
13402 <libm-alias-ldouble.h>.
13403 (cosl): Define using libm_alias_ldouble.
13404 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
13405 <libm-alias-ldouble.h>.
13406 (erfl): Define using libm_alias_ldouble.
13407 (erfcl): Likewise.
13408 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
13409 <libm-alias-ldouble.h>.
13410 (fmal): Define using libm_alias_ldouble.
13411 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
13412 <libm-alias-ldouble.h>.
13413 (frexpl): Define using libm_alias_ldouble.
13414 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
13415 libm_alias_ldouble.
13416 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
13417 <libm-alias-ldouble.h>.
13418 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
13419 libm_alias_ldouble.
13420 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
13421 <libm-alias-ldouble.h>.
13422 (getpayloadl): Define using libm_alias_ldouble.
13423 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
13424 <libm-alias-ldouble.h>.
13425 (llrintl): Define using libm_alias_ldouble.
13426 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
13427 <libm-alias-ldouble.h>.
13428 (llroundl): Define using libm_alias_ldouble.
13429 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
13430 <libm-alias-ldouble.h>.
13431 (lrintl): Define using libm_alias_ldouble.
13432 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
13433 <libm-alias-ldouble.h>.
13434 (lroundl): Define using libm_alias_ldouble.
13435 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
13436 <libm-alias-ldouble.h>.
13437 (modfl): Define using libm_alias_ldouble.
13438 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
13439 <libm-alias-ldouble.h>.
13440 (nextupl): Define using libm_alias_ldouble.
13441 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
13442 <libm-alias-ldouble.h>.
13443 (remquol): Define using libm_alias_ldouble.
13444 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
13445 <libm-alias-ldouble.h>.
13446 (roundevenl): Define using libm_alias_ldouble.
13447 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
13448 <libm-alias-ldouble.h>.
13449 (roundl): Define using libm_alias_ldouble.
13450 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
13451 using libm_alias_ldouble.
13452 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
13453 <libm-alias-ldouble.h>.
13454 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
13455 <libm-alias-ldouble.h>.
13456 (setpayloadsigl): Define using libm_alias_ldouble.
13457 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
13458 <libm-alias-ldouble.h>.
13459 (sincosl): Define using libm_alias_ldouble.
13460 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
13461 <libm-alias-ldouble.h>.
13462 (sinl): Define using libm_alias_ldouble.
13463 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
13464 <libm-alias-ldouble.h>.
13465 (tanhl): Define using libm_alias_ldouble.
13466 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
13467 <libm-alias-ldouble.h>.
13468 (tanl): Define using libm_alias_ldouble.
13469 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
13470 <libm-alias-ldouble.h>.
13471 (totalorderl): Define using libm_alias_ldouble.
13472 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
13473 <libm-alias-ldouble.h>.
13474 (totalordermagl): Define using libm_alias_ldouble.
13475 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
13476 libm_alias_ldouble.
13477 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
13478 libm_alias_ldouble.
13479
13480 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
13481
13482 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13483 memmove_falkor.
13484 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13485 (__libc_ifunc_impl_list): Likewise.
13486 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
13487 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
13488
13489 * benchtests/bench-memmove-walk.c: New file.
13490 * benchtests/Makefile (string-benchset): Add it.
13491
13492 * benchtests/bench-memset-walk.c: New file.
13493 * benchtests/Makefile (string-benchset): Add it.
13494
13495 * benchtests/bench-memcpy-walk.c: New file.
13496 * benchtests/Makefile (string-benchset): Add it.
13497
13498 2017-10-05 Florian Weimer <fweimer@redhat.com>
13499
13500 nscd: Eliminate compilation time dependency in the build output.
13501 * nscd/nscd_stat.c (STATDATA_VERSION)
13502 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
13503 (STATDATA_VERSION_FULL): New macro definitions.
13504 (compilation): Remove.
13505 (struct statdata): Adjust version member.
13506 (send_stats): Set version from STATDATA_VERSION_FULL.
13507 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
13508
13509 2017-10-05 Joseph Myers <joseph@codesourcery.com>
13510
13511 * configure.ac (--enable-add-ons): Remove option.
13512 (machine): Do not mention add-ons in comment.
13513 (LIBC_PRECONFIGURE): Likewise.
13514 (add_ons): Remove variable and sanity checks and logic to locate
13515 add-ons.
13516 (add_ons_automatic): Remove variable.
13517 (configured_add_ons): Likewise.
13518 (add_ons_sfx): Likewise.
13519 (add_ons_pfx): Likewise.
13520 (add_on_subdirs): Likewise.
13521 (sysnames_add_ons): Likewise. Remove loop over add-ons and
13522 consideration of add-ons in Implies handling.
13523 (sysdeps_add_ons): Likewise.
13524 * configure: Regenerated.
13525 * libidn/configure.ac: Remove.
13526 * libidn/configure: Likewise.
13527 * sysdeps/unix/inet/configure.ac: New file.
13528 * sysdeps/unix/inet/configure: New generated file.
13529 * sysdeps/unix/inet/Subdirs: Add libidn.
13530 * Makeconfig (sysdeps-srcdirs): Remove variable.
13531 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
13532 ($(common-objpfx)config.status): Do not depend on add-on files.
13533 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
13534 comment.
13535 (all-subdirs): Do not include $(add-on-subdirs).
13536 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
13537 * config.make.in (add-ons): Remove variable.
13538 (add-on-subdirs): Likewise.
13539 (sysdeps-add-ons): Likewise.
13540 * manual/Makefile (add-chapters): Remove.
13541 ($(objpfx)texis): Do not depend on $(add-chapters).
13542 (nonexamples): Do not handle $(add-chapters).
13543 (examples): Do not handle $(add-ons).
13544 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
13545 libc-texinfo.sh.
13546 * manual/install.texi (Installation): Do not mention add-ons.
13547 (--enable-add-ons): Do not document configure option.
13548 * INSTALL: Regenerated.
13549 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
13550 * manual/maint.texi (Hierarchy Conventions): Do not mention
13551 add-ons.
13552 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
13553 --enable-add-ons.
13554 * scripts/gen-sorted.awk: Do not handle Subdirs files from
13555 add-ons.
13556 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
13557 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
13558
13559 2017-10-05 Andreas Schwab <schwab@suse.de>
13560
13561 [BZ #15142]
13562 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
13563 (_IO_flush_all_lockp): Always lock list_all_lock.
13564 (_IO_flush_all_linebuffered): Likewise.
13565 (_IO_unbuffer_all): Likewise.
13566
13567 2017-10-05 Florian Weimer <fweimer@redhat.com>
13568
13569 [BZ #15436]
13570 Do not flush stdio streams on abort.
13571 * stdlib/abort.c (fflush): Remove macro definition.
13572 (abort): Remove stages related to stdio flushing.
13573
13574 2017-10-05 Florian Weimer <fweimer@redhat.com>
13575
13576 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
13577
13578 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
13579
13580 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13581
13582 2017-10-05 Florian Weimer <fweimer@redhat.com>
13583
13584 * support/support_format_hostent.c (support_format_hostent): Add
13585 more error information for NETDB_INTERNAL.
13586
13587 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
13588
13589 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
13590 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
13591 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
13592 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
13593 AC_DEFINE if multi-arch is enabled.
13594 * sysdeps/i386/configure: Regenerated.
13595
13596 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
13597
13598 * Makeconfig (+link-static-before-libc): Use
13599 $(DEFAULT-LDFLAGS-$(@F)).
13600 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
13601 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
13602 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
13603
13604 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
13605
13606 * elf/Makefile (tests): Add tst-main1.
13607 (modules-names): Add tst-main1mod.
13608 ($(objpfx)tst-main1): New.
13609 (CRT-tst-main1): Likewise.
13610 (LDFLAGS-tst-main1): Likewise.
13611 (LDLIBS-tst-main1): Likewise.
13612 (tst-main1mod.so-no-z-defs): Likewise.
13613 * elf/tst-main1.c: New file.
13614 * elf/tst-main1mod.c: Likewise.
13615
13616 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
13617
13618 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
13619
13620 2017-10-04 Joseph Myers <joseph@codesourcery.com>
13621
13622 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
13623 (fma): Define using libm_alias_double.
13624 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
13625 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
13626 <math_ldbl_opt.h>.
13627 (fmal): Do not define as compat symbol here.
13628 * sysdeps/alpha/fpu/s_fma.c: New file.
13629
13630 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
13631
13632 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
13633
13634 2017-10-04 Joseph Myers <joseph@codesourcery.com>
13635
13636 [BZ #22229]
13637 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
13638 <math_ldbl_opt.h>
13639 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
13640 and libc.
13641 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
13642 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
13643 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
13644 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
13645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13646 Include <math_ldbl_opt.h>
13647 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
13648 and libc.
13649 (compat_symbol): Undefine and redefine.
13650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
13651 <math_ldbl_opt.h>
13652 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
13653 (compat_symbol): Undefine and redefine.
13654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
13655 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
13656 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
13657 GLIBC_2_1 for libm.
13658 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
13659 GLIBC_2.0 copysignl symbol.
13660 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13661 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
13662
13663 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
13664
13665 2017-10-04 Florian Weimer <fweimer@redhat.com>
13666
13667 * scripts/check-local-headers.sh: Ignore nspr4 header file
13668 directory in addition to nspr.
13669
13670 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
13671
13672 [BZ #17956]
13673 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
13674 * configure: Regenerate.
13675 * crypt/Makefile (nss-cpp-flags): New variable.
13676 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
13677 (CPPFLAGS-md5-crypt.c): Use it.
13678 * scripts/check-local-headers.sh: Ignore nspr header file
13679 directory.
13680
13681 2017-10-04 Andreas Schwab <schwab@suse.de>
13682
13683 * nis/Makefile (services): Remove compat.
13684 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
13685 ($(objpfx)libnss_compat.so): Remove rule.
13686 * nis/Versions (libnss_compat): Remove.
13687 * nss/Makefile (services): Add compat.
13688 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
13689 * nss/Versions (libnss_compat): Define.
13690 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
13691 Don't include <rpc/types.h>. Replace bool_t by bool.
13692 * nss/nss_compat/compat-initgroups.c: Likewise.
13693 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
13694 instead of <rpcsrv/ypclnt.h>.
13695 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
13696 yp_get_default_domain.
13697 * nss/nss_compat/compat-pwd.c: Likewise.
13698 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
13699 yp_get_default_domain.
13700 * nss/nss_compat/nisdomain.c: New file.
13701 * nss/nss_compat/nisdomain.h: Likewise.
13702
13703 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
13704
13705 [BZ #22244]
13706 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
13707 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13708
13709 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
13710
13711 [BZ #22243]
13712 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
13713 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
13714
13715 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
13716
13717 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
13718 "movl main@GOTOFF(%ebx), %eax".
13719
13720 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
13721
13722 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
13723 allow undefined _DYNAMIC in PIE libc.a.
13724 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
13725 Likewse.
13726
13727 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
13728
13729 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
13730 check _DYNAMIC.
13731
13732 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
13733
13734 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
13735 check _DYNAMIC.
13736
13737 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
13738
13739 * math/test-math-iscanonical.cc (error): Replace bool with int.
13740
13741 2017-10-03 Joseph Myers <joseph@codesourcery.com>
13742
13743 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
13744 (modf): Define using libm_alias_double, only if [!__modf].
13745 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
13746 <libm-alias-double.h>.
13747 (modf): Define using libm_alias_double, only if [!__modf].
13748 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
13749 compat symbol here.
13750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
13751 (weak_alias): Do not undefine and redefine.
13752 (strong_alias): Likewise.
13753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
13754 (weak_alias): Likewise.
13755 (strong_alias): Likewise.
13756
13757 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
13758 (logb): Define using libm_alias_double, only if [!__logb].
13759 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
13760 <libm-alias-double.h>.
13761 (logb): Define using libm_alias_double, only if [!__logb].
13762 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
13763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
13764 (weak_alias): Do not undefine and redefine.
13765 (strong_alias): Likewise.
13766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
13767 (weak_alias): Likewise.
13768 (strong_alias): Likewise.
13769
13770 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
13771
13772 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
13773 Check SHARED instead PIC.
13774
13775 2017-10-03 Joseph Myers <joseph@codesourcery.com>
13776
13777 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
13778 [!__fmaf] (fmaf): Define using libm_alias_float.
13779
13780 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
13781 (frexp): Define using libm_alias_double.
13782 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
13783 <libm-alias-double.h>.
13784 (frexp): Define using libm_alias_double.
13785 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
13786 compat symbol here.
13787
13788 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13789
13790 [BZ #22235]
13791 * math/math.h: Trivial fix for unbalanced parentheses in comment.
13792 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
13793 (CFLAGS-test-math-iscanonical.cc): New variable.
13794 * math/test-math-iscanonical.cc: New file.
13795 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
13796 Provide a C++ implementation based on function overloading,
13797 rather than using __MATH_TG, which uses C-only builtins.
13798 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
13799 Likewise.
13800 * sysdeps/powerpc/powerpc64le/Makefile
13801 (CFLAGS-test-math-iscanonical.cc): New variable.
13802
13803 2017-10-03 Joseph Myers <joseph@codesourcery.com>
13804
13805 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
13806 (ceil): Define using libm_alias_double.
13807 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
13808 (floor): Define using libm_alias_double.
13809 * sysdeps/ieee754/dbl-64/s_llround.c: Include
13810 <libm-alias-double.h>.
13811 (llround): Define using libm_alias_double.
13812 * sysdeps/ieee754/dbl-64/s_lround.c: Include
13813 <libm-alias-double.h>.
13814 (lround): Define using libm_alias_double.
13815 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
13816 <libm-alias-double.h>.
13817 (nearbyint): Define using libm_alias_double.
13818 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
13819 <libm-alias-double.h>.
13820 (remquo): Define using libm_alias_double.
13821 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
13822 (rint): Define using libm_alias_double.
13823 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
13824 (round): Define using libm_alias_double.
13825 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
13826 (trunc): Define using libm_alias_double.
13827 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
13828 <libm-alias-double.h>.
13829 (ceil): Define using libm_alias_double.
13830 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
13831 <libm-alias-double.h>.
13832 (floor): Define using libm_alias_double.
13833 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
13834 <libm-alias-double.h>.
13835 (llround): Define using libm_alias_double.
13836 [_LP64] (lround): Likewise.
13837 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
13838 <libm-alias-double.h>.
13839 [!_LP64] (lround): Define using libm_alias_double.
13840 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
13841 <libm-alias-double.h>.
13842 (nearbyint): Define using libm_alias_double.
13843 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
13844 <libm-alias-double.h>.
13845 (remquo): Define using libm_alias_double.
13846 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
13847 <libm-alias-double.h>.
13848 (rint): Define using libm_alias_double.
13849 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
13850 <libm-alias-double.h>.
13851 (round): Define using libm_alias_double.
13852 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
13853 <libm-alias-double.h>.
13854 (trunc): Define using libm_alias_double.
13855 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
13856 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
13857 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
13858 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
13859 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
13860 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
13861 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
13862 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
13863 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
13864
13865 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
13866
13867 * math/w_remainder.c: New file.
13868 * math/w_remainderf.c: New file.
13869 * math/w_remainderl.c: New file.
13870
13871 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
13872
13873 * elf/rtld.c (BOOTSTRAP_MAP): New.
13874 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
13875 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13876 Likewise.
13877 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13878 Likewise.
13879 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
13880 Likewise.
13881
13882 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13883
13884 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
13885 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
13886 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
13887 rtld_hidden_data_ver): Define to empty.
13888 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
13889 __assert_perror_fail): Likewise.
13890 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
13891 (__rewinddir): Likewise.
13892 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
13893 (__profile_frequency): Likewise.
13894 * include/setjmp.h (__sigsetjmp): Likewise.
13895 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
13896 __libc_sigaction): Likewise.
13897 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
13898 not set hidden attribute.
13899 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
13900 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
13901 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
13902 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
13903 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
13904 __fxstatat64): Likewise.
13905 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
13906 (__uname): Likewise.
13907 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
13908 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
13909 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
13910 (NO_RTLD_HIDDEN): Set.
13911 * sysdeps/mach/hurd/configure: Refresh.
13912 * config.h.in: Refresh.
13913
13914 2017-10-02 Joseph Myers <joseph@codesourcery.com>
13915
13916 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
13917 (atan): Define using libm_alias_double.
13918 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
13919 (tan): Define using libm_alias_double.
13920 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
13921 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
13922
13923 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
13924 define as weak alias of __atan. Do not define any aliases if
13925 [__atan].
13926 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
13927 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
13928 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
13929 as weak alias of __tan. Do not define any aliases if [__tan].
13930 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
13931 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
13932 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
13933 __atan.
13934 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
13935 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
13936 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
13937 and define as weak alias of __atan.
13938 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
13939 __atan.
13940 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
13941 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
13942 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
13943 define as weak alias of __tan.
13944
13945 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13946
13947 * math/w_lgamma.c: New file.
13948 * math/w_lgammaf.c: New file.
13949 * math/w_lgammal.c: New file.
13950
13951 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13952
13953 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
13954 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
13955 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
13956 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
13957 * sysdeps/ieee754/flt-32/w_logf.c: New file.
13958 * sysdeps/ieee754/flt-32/w_powf.c: New file.
13959 * sysdeps/i386/fpu/w_log2f.c: New file.
13960 * sysdeps/i386/fpu/w_logf.c: New file.
13961 * sysdeps/i386/fpu/w_powf.c: New file.
13962 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
13963 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
13964 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
13965
13966 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13967 H.J. Lu <hongjiu.lu@intel.com>
13968
13969 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
13970 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
13971 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
13972 * sysdeps/ieee754/flt-32/w_expf.c: New file.
13973 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
13974 the new expf code.
13975 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
13976 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
13977 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
13978 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
13979 * sysdeps/i386/fpu/w_exp2f.c: New file.
13980 * sysdeps/i386/fpu/w_expf.c: New file.
13981 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
13982 * sysdeps/x86_64/fpu/w_expf.c: New file.
13983
13984 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
13985
13986 * math/Versions (logf): New libm symbol at GLIBC_2.27.
13987 (log2f): Likewise.
13988 (powf): Likewise.
13989 * math/w_log2f.c: New file.
13990 * math/w_logf.c: New file.
13991 * math/w_powf.c: New file.
13992 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
13993 * math/w_logf_compat.c (__logf_compat): Likewise.
13994 * math/w_powf_compat.c (__powf_compat): Likewise.
13995 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
13996 * sysdeps/ia64/fpu/e_logf.S: Likewise.
13997 * sysdeps/ia64/fpu/e_powf.S: Likewise.
13998 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
13999 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14000 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14001 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14002 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14003 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14004 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14005 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14006 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14007 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14008 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14009 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14011 Likewise.
14012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14013 Likewise.
14014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14015 Likewise.
14016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14017 Likewise.
14018 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14019 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14020 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14021 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14022 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14024 Likewise.
14025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14026 Likewise.
14027 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14028 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14029 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14030
14031 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14032
14033 * sysdeps/powerpc/powerpc64/multiarch/Makefile
14034 (sysdep_routines): Add memrchr_power8.
14035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14036 (memrchr): Add __memrchr_power8 to list of memrchr functions.
14037 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
14038 New file.
14039 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
14040 (memrchr): Add __memrchr_power8 to ifunc list.
14041 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
14042
14043 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14044
14045 [BZ #18822]
14046 * sysdeps/unix/sysv/linux/posix_fadvise64.c
14047 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
14048 libc_hidden_def.
14049 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14050 (__posix_fallocate64_l64): Likewise.
14051
14052 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14053
14054 [BZ #18822]
14055 * sysdeps/unix/sysv/linux/sched_setaffinity.c
14056 (__sched_setaffinity_new): Add libc_hidden_proto and
14057 libc_hidden_def.
14058
14059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14060
14061 [BZ #18822]
14062 * include/glob.h (__glob64): Add libc_hidden_proto.
14063 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
14064 libc_hidden_def.
14065
14066 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14067
14068 [BZ #18822]
14069 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
14070 attribute_hidden.
14071
14072 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14073
14074 [BZ #18822]
14075 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
14076
14077 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14078
14079 [BZ #18822]
14080 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
14081 libc_hidden_def.
14082
14083 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14084
14085 [BZ #18822]
14086 * csu/version.c (__libc_print_version): Add attribute_hidden.
14087
14088 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14089
14090 [BZ #18822]
14091 * include/libc-internal.h (__init_misc): Add attribute_hidden.
14092
14093 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14094
14095 [BZ #18822]
14096 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
14097
14098 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14099
14100 [BZ #18822]
14101 * nscd/nscd_helper.c (__nis_hash): New prototype.
14102
14103 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14104
14105 [BZ #18822]
14106 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
14107 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
14108 libc_hidden_def.
14109 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14110 * termios/tcgetattr.c (__tcgetattr): Likewise.
14111
14112 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14113
14114 [BZ #18822]
14115 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
14116 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
14117 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
14118 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
14119 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
14120
14121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14122
14123 [BZ #18822]
14124 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
14125
14126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14127
14128 [BZ #18822]
14129 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
14130 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
14131
14132 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14133
14134 [BZ #18822]
14135 * intl/hash-string.h (__hash_string): Add attribute_hidden.
14136
14137 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14138
14139 [BZ #18822]
14140 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
14141 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
14142
14143 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14144
14145 [BZ #18822]
14146 * include/ifreq.h: New file.
14147 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
14148 (__ifreq): Likewise.
14149 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
14150 (__ifreq): Likewise.
14151
14152 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14153
14154 [BZ #18822]
14155 * include/idna.h: New file.
14156 * inet/getnameinfo.c: Include <idna.h> instead of
14157 <libidn/idna.h>.
14158 (__idna_to_unicode_lzlz): Removed.
14159 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
14160 <libidn/idna.h>.
14161 (__idna_to_ascii_lz): Removed.
14162 (__idna_to_unicode_lzlz): Likewise.
14163
14164 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14165
14166 [BZ #18822]
14167 * include/plural-exp.h: New file.
14168 * intl/plural-exp.c: Include <plural-exp.h> instead of
14169 "plural-exp.h".
14170
14171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14172
14173 [BZ #18822]
14174 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
14175 "getsourcefilter.h".
14176 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
14177 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
14178 "getsourcefilter.h".
14179 (__get_sol): Removed.
14180
14181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14182
14183 [BZ #18822]
14184 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
14185 to ...
14186 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
14187
14188 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14189
14190 [BZ #18822]
14191 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
14192 attribute_hidden.
14193
14194 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14195
14196 [BZ #18822]
14197 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
14198
14199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14200
14201 [BZ #18822]
14202 * include/search.h (__tdestroy): Add libc_hidden_proto.
14203 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
14204
14205 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14206
14207 [BZ #18822]
14208 * include/assert.h (__assert_fail_base): Add attribute_hidden.
14209
14210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14211
14212 [BZ #18822]
14213 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
14214 attribute_hidden.
14215
14216 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14217
14218 [BZ #18822]
14219 * include/signal.h (__kill): Add libc_hidden_proto.
14220 (__sigblock): Likewise.
14221 (__sigprocmask): Likewise.
14222 (__sigaltstack): Likewise.
14223 * signal/kill.c (__kill): Add libc_hidden_def.
14224 * signal/sigblock.c (__sigblock): Likewise.
14225 * signal/sigprocmask.c (__sigprocmask): Likewise.
14226 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
14227 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
14228 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
14229 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
14230 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
14231 Likewise.
14232 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
14233 Likewise.
14234 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
14235 (__sigprocmask): Likewise.
14236 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
14237 Likewise.
14238 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
14239 (__sigprocmask): Likewise.
14240 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
14241 Likewise.
14242
14243 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14244
14245 [BZ #18822]
14246 * include/string.h (__strsep): Add libc_hidden_proto.
14247 * string/strsep.c (__strsep): Add libc_hidden_def.
14248
14249 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14250
14251 [BZ #18822]
14252 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
14253 attribute_hidden.
14254 (__spawni): Likewise.
14255
14256 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14257
14258 [BZ #18822]
14259 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
14260 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
14261 libc_hidden_def.
14262
14263 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14264
14265 [BZ #18822]
14266 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
14267
14268 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14269
14270 [BZ #18822]
14271 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
14272 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
14273 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
14274 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
14275 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
14276 Likewise.
14277 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
14278 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
14279
14280 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14281
14282 [BZ #18822]
14283 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
14284 (__dcigettext): Likewise.
14285
14286 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14287
14288 [BZ #18822]
14289 * include/sys/sysinfo.h (__get_nprocs_conf): Add
14290 libc_hidden_proto.
14291 (__get_nprocs): Likewise.
14292 (__get_phys_pages): Likewise.
14293 (__get_avphys_pages): Likewise.
14294 (__get_child_max): Add attribute_hidden.
14295 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
14296 (__get_nprocs): Likewise.
14297 (__get_phys_pages): Likewise.
14298 (__get_avphys_pages): Likewise.
14299 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
14300 libc_hidden_def.
14301 (__get_nprocs): Likewise.
14302 (__get_phys_pages): Likewise.
14303 (__get_avphys_pages): Likewise.
14304 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
14305 libc_hidden_def.
14306 (__get_nprocs_conf): Likewise.
14307 (__get_phys_pages): Likewise.
14308 (__get_avphys_pages): Likewise.
14309
14310 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14311
14312 [BZ #18822]
14313 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
14314 attribute_hidden.
14315 (__netlink_close): Likewise.
14316 (__netlink_free_handle): Likewise.
14317 (__netlink_request): Likewise.
14318
14319 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14320
14321 [BZ #18822]
14322 * include/rpc/rpc.h (__rpc_thread_variables): Add
14323 attribute_hidden.
14324 (__rpc_thread_svc_cleanup): Likewise.
14325 (__rpc_thread_clnt_cleanup): Likewise.
14326 (__rpc_thread_key_cleanup): Likewise.
14327
14328 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14329
14330 [BZ #18822]
14331 * include/sys/uio.h (__readv): Add libc_hidden_proto.
14332 (__writev): Likewise.
14333 * misc/readv.c (__readv): Add libc_hidden_def.
14334 * misc/writev.c (__writev): Likewise.
14335 * sysdeps/posix/readv.c (__readv): Likewise.
14336 * sysdeps/posix/writev.c (__writev): Likewise.
14337 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
14338 (__readv): Likewise.
14339 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
14340 (__writev): Likewise.
14341
14342 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14343
14344 [BZ #18822]
14345 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
14346 (__regcomp): Add libc_hidden_proto.
14347 (__regexec): Likewise.
14348 (__regfree): Likewise.
14349 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
14350 (__regfree): Likewise.
14351 * posix/regexec.c (__regexec): Likewise.
14352
14353 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14354
14355 [BZ #18822]
14356 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
14357 (__getutent): Likewise.
14358 (__getutid): Likewise.
14359 (__getutline): Likewise.
14360 (__pututline): Likewise.
14361 (__getutent_r): Likewise.
14362 (__getutid_r): Likewise.
14363 (__getutline_r): Likewise.
14364 (__utmpname): Add attribute_hidden.
14365 (__setutent): Likewise.
14366 (__endutent): Likewise.
14367 * login/getutent.c (__getutent): Add libc_hidden_def.
14368 * login/getutent_r.c (__getutent_r): Likewise.
14369 (__pututline): Likewise.
14370 * login/getutid.c (__getutid): Likewise.
14371 * login/getutid_r.c (__getutid_r): Likewise.
14372 * login/getutline.c (__getutline): Likewise.
14373 * login/getutline_r.c (__getutline_r): Likewise.
14374 * login/updwtmp.c (__updwtmp): Likewise.
14375
14376 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14377
14378 [BZ #18822]
14379 * include/dirent.h (__opendir): Always add attribute_hidden.
14380 (__fdopendir): Likewise.
14381 (__closedir): Likewise.
14382 (__readdir): Likewise.
14383 (__readdir64): Add libc_hidden_proto.
14384 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
14385 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
14386 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
14387 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
14388 New alias.
14389
14390 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14391
14392 [BZ #18822]
14393 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
14394 * include/netdb.h (__gethostbyaddr_r): Likewise.
14395 (__gethostbyname_r): Likewise.
14396 (__gethostbyname2_r): Likewise.
14397 (__getnetbyaddr_r): Likewise.
14398 (__getnetbyname_r): Likewise.
14399 (__getservbyname_r): Likewise.
14400 (__getservbyport_r): Likewise.
14401 (__getprotobyname_r): Likewise.
14402 (__getprotobynumber_r): Likewise.
14403 (__getnetgrent_r): Likewise.
14404 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
14405 (__getrpcbynumber_r): Likewise.
14406 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
14407
14408 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14409
14410 [BZ #18822]
14411 * include/stdio.h (__fcloseall): Add attribute_hidden.
14412 (__getline): Likewise.
14413 (__path_search): Likewise.
14414 (__gen_tempname): Likewise.
14415 (__libc_message): Likewise.
14416 (__flockfile): Likewise.
14417 (__funlockfile): Likewise.
14418 (__fxprintf): Likewise.
14419 (__fxprintf_nocancel): Likewise.
14420
14421 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14422
14423 [BZ #18822]
14424 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
14425 (__sgetsgent_r): Likewise.
14426
14427 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14428
14429 [BZ #18822]
14430 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
14431 (__statfs64): Likewise.
14432 (__fstatfs64): Likewise.
14433 * include/sys/statvfs.h (__statvfs64): Likewise.
14434 (__fstatvfs64): Likewise.
14435 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
14436 (__statfs_filesize_max): Likewise.
14437 (__statfs_symlinks): Likewise.
14438 (__statfs_chown_restricted): Likewise.
14439
14440 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14441
14442 [BZ #18822]
14443 * include/time.h (__tzstring): Add attribute_hidden.
14444 (__tzfile_read): Likewise.
14445 (__tzfile_compute): Likewise.
14446 (__tzfile_default): Likewise.
14447 (__tzset_parse_tz): Likewise.
14448 (__offtime): Likewise.
14449 (__asctime_r): Likewise.
14450 (__tzset): Likewise.
14451 (__tz_convert): Likewise.
14452 (__getdate_r): Likewise.
14453 (__getclktck): Likewise.
14454
14455 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14456
14457 [BZ #18822]
14458 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
14459 (__nscd_unmap): Likewise.
14460 (__nscd_cache_search): Likewise.
14461 (__nscd_get_nl_timestamp): Likewise.
14462 (__nscd_getpwnam_r): Likewise.
14463 (__nscd_getpwuid_r): Likewise.
14464 (__nscd_getgrnam_r): Likewise.
14465 (__nscd_getgrgid_r): Likewise.
14466 (__nscd_gethostbyname_r): Likewise.
14467 (__nscd_gethostbyname2_r): Likewise.
14468 (__nscd_gethostbyaddr_r): Likewise.
14469 (__nscd_getai): Likewise.
14470 (__nscd_getgrouplist): Likewise.
14471 (__nscd_getservbyname_r): Likewise.
14472 (__nscd_getservbyport_r): Likewise.
14473 (__nscd_innetgr): Likewise.
14474 (__nscd_setnetgrent): Likewise.
14475
14476 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14477
14478 [BZ #18822]
14479 * include/gmp.h: Declare internal functions only if _ISOMAC is
14480 undefined.
14481 (__mpn_extract_double): Add attribute_hidden.
14482 (__mpn_extract_long_double): Likewise.
14483 (__mpn_extract_float128): Likewise.
14484 (__mpn_construct_float): Likewise.
14485 (__mpn_construct_double): Likewise.
14486 (__mpn_construct_long_double): Likewise.
14487 (__mpn_construct_float128): Likewise.
14488 (mpn_add_1): Likewise.
14489 (mpn_addmul_1): Likewise.
14490 (mpn_add_n): Likewise.
14491 (mpn_cmp): Likewise.
14492 (mpn_divrem): Likewise.
14493 (mpn_lshift): Likewise.
14494 (mpn_mul): Likewise.
14495 (mpn_mul_1): Likewise.
14496 (mpn_rshift): Likewise.
14497 (mpn_sub_1): Likewise.
14498 (mpn_submul_1): Likewise.
14499 (mpn_sub_n): Likewise.
14500
14501 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14502
14503 [BZ #18822]
14504 * include/wchar.h (__wcsnlen): Add attribute_hidden.
14505 (__wcscat): Likewise.
14506 (__btowc): Likewise.
14507 (__wcrtomb): Likewise.
14508 (__mbsrtowcs): Likewise.
14509 (__wcsrtombs): Likewise.
14510 (__mbsnrtowcs): Likewise.
14511 (__wcsnrtombs): Likewise.
14512 (__wcsncpy): Likewise.
14513 (__wcpncpy): Likewise.
14514 (__wmemcpy): Likewise.
14515 (__wmempcpy): Likewise.
14516 (__wmemmove): Likewise.
14517 (__wcschrnul): Likewise.
14518 (__vfwscanf): Likewise.
14519 (__vswprintf): Likewise.
14520 (__fwprintf): Likewise.
14521 (__vfwprintf): Likewise.
14522
14523 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14524
14525 [BZ #18822]
14526 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
14527 (__getgrgid_r): Likewise.
14528 (__getgrnam_r): Likewise.
14529 * include/pwd.h (__getpwuid_r): Likewise.
14530 (__getpwnam_r): Likewise.
14531 (__fgetpwent_r): Likewise.
14532 * include/shadow.h (__getspnam_r): Likewise.
14533 (__sgetspent_r): Likewise.
14534 (__fgetspent_r): Likewise.
14535
14536 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14537
14538 [BZ #18822]
14539 * include/unistd.h (__access): Add attribute_hidden.
14540 (__lseek64): Likewise.
14541 (__libc_pread64): Likewise.
14542 (__pipe2): Likewise.
14543 (__sleep): Likewise.
14544 (__chdir): Likewise.
14545 (__fchdir): Likewise.
14546 (__getcwd): Likewise.
14547 (__rmdir): Likewise.
14548 (__execvpe): Likewise.
14549 (__execve): Likewise.
14550 (__setsid): Likewise.
14551 (__getuid): Likewise.
14552 (__geteuid): Likewise.
14553 (__getgid): Likewise.
14554 (__getegid): Likewise.
14555 (__getgroups): Likewise.
14556 (__group_member): Likewise.
14557 (__ttyname_r): Likewise.
14558 (__isatty): Likewise.
14559 (__readlink): Likewise.
14560 (__unlink): Likewise.
14561 (__gethostname): Likewise.
14562 (__profil): Likewise.
14563 (__getdtablesize): Likewise.
14564 (__brk): Likewise.
14565 (__ftruncate): Likewise.
14566 (__ftruncate64): Likewise.
14567
14568 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14569
14570 [BZ #18822]
14571 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
14572 * argp/argp-fs-xinl.c: Likewise.
14573 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
14574 * argp/argp-parse.c: Include <argp.h>.
14575 * argp/argp-xinl.c: Likewise.
14576 * include/argp-fmtstream.h: New file.
14577 * include/argp.h (__argp_error): Add attribute_hidden.
14578 (__argp_failure): Likewise.
14579 (__argp_input): Likewise.
14580 (__argp_state_help): Likewise.
14581
14582 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14583
14584 [BZ #18822]
14585 * include/wchar.h (____wcstof_l_internal): New prototype.
14586 (____wcstod_l_internal): Likewise.
14587 (____wcstold_l_internal): Likewise.
14588 (____wcstol_l_internal): Likewise.
14589 (____wcstoul_l_internal): Likewise.
14590 (____wcstoll_l_internal): Likewise.
14591 (____wcstoull_l_internal): Likewise.
14592 (____wcstof128_l_internal): Likewise.
14593 * sysdeps/ieee754/float128/wcstof128.c
14594 (____wcstof128_l_internal): Removed.
14595 * sysdeps/ieee754/float128/wcstof128_l.c
14596 (____wcstof128_l_internal): Likewise.
14597 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
14598 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
14599 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
14600 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
14601 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
14602 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
14603 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
14604 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
14605 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
14606 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
14607
14608 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14609
14610 [BZ #18822]
14611 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
14612 instead of <sys/statvfs.h>.
14613 (__internal_statvfs): Removed.
14614 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
14615 instead of <sys/statvfs.h>.
14616 (__internal_statvfs64): Removed.
14617 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
14618 "internal_statvfs.h" instead of <sys/statvfs.h>.
14619 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
14620 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
14621 instead of <sys/statvfs.h>.
14622 (__internal_statvfs): Removed.
14623 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
14624 instead of <sys/statvfs.h>.
14625 (__internal_statvfs64): Removed.
14626
14627 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14628
14629 [BZ #18822]
14630 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
14631 (__gconv_close): Likewise.
14632 (__gconv): Likewise.
14633 (__gconv_find_transform): Likewise.
14634 (__gconv_lookup_cache): Likewise.
14635 (__gconv_compare_alias_cache): Likewise.
14636 (__gconv_load_cache): Likewise.
14637 (__gconv_get_path): Likewise.
14638 (__gconv_close_transform): Likewise.
14639 (__gconv_release_cache): Likewise.
14640 (__gconv_find_shlib): Likewise.
14641 (__gconv_release_shlib): Likewise.
14642 (__gconv_get_builtin_trans): Likewise.
14643 (__gconv_compare_alias): Likewise.
14644 * include/dlfcn.h (_dlerror_run): Likewise.
14645 * include/stdio.h (__fortify_fail_abort): Likewise.
14646 * include/time.h (__tz_compute): Likewise.
14647 (__strptime_internal): Likewise.
14648 * intl/gettextP.h (_nl_find_domain): Likewise.
14649 (_nl_load_domain): Likewise.
14650 (_nl_find_msg): Likewise.
14651 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
14652 (EXTRACT_PLURAL_EXPRESSION): Likewise.
14653 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
14654 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
14655 (__gai_find_request): Likewise.
14656 (__gai_remove_request): Likewise.
14657 (__gai_notify): Likewise.
14658 (__gai_notify_only): Likewise.
14659 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
14660 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
14661 (_dl_non_dynamic_init): Likewise.
14662 (_dl_aux_init): Likewise.
14663 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
14664 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
14665 Likewise.
14666 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
14667 (__wcsmbs_clone_conv): Likewise.
14668 (__wcsmbs_named_conv): Likewise.
14669
14670 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14671
14672 [BZ #18822]
14673 * include/stdlib.h (__random): Add attribute_hidden.
14674 (__random_r): Likewise.
14675 (__srandom_r): Likewise.
14676 (__initstate_r): Likewise.
14677 (__setstate_r): Likewise.
14678 (__erand48_r): Likewise.
14679 (__nrand48_r): Likewise.
14680 (__jrand48_r): Likewise.
14681 (__srand48_r): Likewise.
14682 (__seed48_r): Likewise.
14683 (__lcong48_r): Likewise.
14684 (__drand48_iterate): Likewise.
14685 (__setenv): Likewise.
14686 (__unsetenv): Likewise.
14687 (__clearenv): Likewise.
14688 (__ptsname_r): Likewise.
14689 (__posix_openpt): Likewise.
14690 (__add_to_environ): Likewise.
14691 (__realpath): Add libc_hidden_proto.
14692 (__ecvt_r): Likewise.
14693 (__fcvt_r): Likewise.
14694 (__qecvt_r): Likewise.
14695 (__qfcvt_r): Likewise.
14696 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
14697 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
14698
14699 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
14700
14701 [BZ #18822]
14702 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
14703 * include/time.h (__mktime_internal): Likewise.
14704 * libio/iolibio.h (__fopen_internal): Likewise.
14705
14706 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
14707
14708 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
14709 pointer in frame.
14710 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
14711 Correct offset used to restore PIC register.
14712
14713 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
14714
14715 [BZ libc/22165]
14716 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
14717 code to load address of __getcontext_ret when generating PIC code.
14718
14719 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
14720
14721 * elf/Makefile (tests-static-internal): Add
14722 tst-tls1-static-non-pie.
14723 (LDFLAGS-tst-tls1-static-non-pie): New.
14724 * elf/tst-tls1-static-non-pie.c: New file.
14725
14726 2017-09-29 Joseph Myers <joseph@codesourcery.com>
14727
14728 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
14729 (asinh): Define using libm_alias_double.
14730 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
14731 (cbrt): Define using libm_alias_double.
14732 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
14733 <libm-alias-double.h>.
14734 (copysign): Define using libm_alias_double.
14735 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
14736 (erf): Define using libm_alias_double.
14737 (erfc): Likewise.
14738 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
14739 (expm1): Define using libm_alias_double.
14740 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
14741 (fabs): Define using libm_alias_double.
14742 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
14743 libm_alias_double.
14744 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
14745 <libm-alias-double.h>.
14746 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
14747 libm_alias_double.
14748 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
14749 <libm-alias-double.h>.
14750 (getpayload): Define using libm_alias_double.
14751 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
14752 <libm-alias-double.h>.
14753 (llrint): Define using libm_alias_double.
14754 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
14755 (lrint): Define using libm_alias_double.
14756 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
14757 <libm-alias-double.h>.
14758 (nextup): Define using libm_alias_double.
14759 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
14760 <libm-alias-double.h>.
14761 (roundeven): Define using libm_alias_double.
14762 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
14763 libm_alias_double.
14764 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
14765 <libm-alias-double.h>.
14766 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
14767 using libm_alias_double.
14768 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
14769 (cos): Define using libm_alias_double.
14770 (sin): Likewise.
14771 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
14772 <libm-alias-double.h>.
14773 (sincos): Define using libm_alias_double.
14774 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
14775 (tanh): Define using libm_alias_double.
14776 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
14777 <libm-alias-double.h>.
14778 (totalorder): Define using libm_alias_double.
14779 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
14780 <libm-alias-double.h>.
14781 (totalordermag): Define using libm_alias_double.
14782 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
14783 libm_alias_double.
14784 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
14785 libm_alias_double.
14786 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
14787 <libm-alias-double.h>.
14788 (getpayload): Define using libm_alias_double.
14789 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
14790 <libm-alias-double.h>.
14791 (roundeven): Define using libm_alias_double.
14792 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
14793 <libm-alias-double.h>.
14794 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
14795 <libm-alias-double.h>.
14796 (totalorder): Define using libm_alias_double.
14797 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
14798 <libm-alias-double.h>.
14799 (totalordermag): Define using libm_alias_double.
14800 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
14801 libc compat symbol here.
14802 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
14803 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
14804 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
14805 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
14806 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
14807 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
14808 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
14809 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
14810 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
14811 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
14812
14813 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
14814
14815 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
14816 _dl_relocate_static_pie instead of _dl_start to compute load
14817 address in static PIE. Return 0 if _DYNAMIC is undefined for
14818 static executable.
14819
14820 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
14821
14822 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
14823 _DYNAMIC is undefined for static executable.
14824
14825 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
14826
14827 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
14828
14829 2017-09-29 Joseph Myers <joseph@codesourcery.com>
14830
14831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14832
14833 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
14834
14835 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14836 (__ieee754_lgamma_r): Use fabs rather than __fabs.
14837 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14838 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14839 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14840 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
14841 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
14842 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
14843 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
14844 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
14845 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
14846 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14847 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
14848 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
14849 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14850 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14851 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
14852
14853 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
14854
14855 * math/bits/cmathcalls.h (cimag): Remove inline.
14856 (creal): Remove inline.
14857 (conj): Remove inline.
14858
14859 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
14860
14861 * math/Makefile (type-float-routines): Add e_powf_log2_data.
14862 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
14863 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
14864 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
14865 (issignalingf_inline): Likewise.
14866 (POWF_LOG2_TABLE_BITS): Likewise.
14867 (POWF_LOG2_POLY_ORDER): Likewise.
14868 (POWF_SCALE_BITS): Likewise.
14869 (POWF_SCALE): Likewise.
14870 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
14871 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
14872 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
14873
14874 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
14875
14876 * math/Makefile (type-float-routines): Add e_log2f_data.
14877 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
14878 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
14879 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
14880 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
14881 * sysdeps/i386/fpu/e_log2f_data.c: New file.
14882 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
14883 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
14884
14885 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
14886
14887 * math/Makefile (type-float-routines): Add e_logf_data.
14888 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
14889 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
14890 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
14891 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
14892 * sysdeps/i386/fpu/e_logf_data.c: New file.
14893 * sysdeps/ia64/fpu/e_logf_data.c: New file.
14894 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
14895
14896 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
14897
14898 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
14899 undefined _DYNAMIC in PIE libc.a.
14900 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
14901 Likewse.
14902
14903 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
14904
14905 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
14906 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
14907 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
14908 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
14909 (__signbit): Remove.
14910 (__signbitl): Remove.
14911 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
14912 (__signbit): Remove.
14913 (__signbitl): Remove.
14914 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
14915 (__signbit): Remove.
14916 (__signbitl): Remove.
14917 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
14918 (__signbit): Remove.
14919 (__signbitl): Remove.
14920 * sysdeps/tile/bits/mathinline.h: Delete file.
14921 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
14922 (__signbit): Remove.
14923 (__signbitl): Remove.
14924
14925 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
14926
14927 * math/math.h: Improve handling of C99 isgreater macros.
14928 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
14929 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
14930 * sysdeps/powerpc/bits/mathinline.h: Likewise.
14931 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14932 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
14933
14934 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
14935
14936 * sysdeps/aarch64/libm-test-ulps: Update.
14937
14938 2017-09-28 Joseph Myers <joseph@codesourcery.com>
14939
14940 [BZ #22225]
14941 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14942 math_opt_barrier on argument when doing arithmetic on it.
14943 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14944 Likewise. Use math_force_eval not math_opt_barrier after
14945 arithmetic.
14946 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
14947 math_opt_barrier on argument when doing arithmetic on it.
14948 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14949 Likewise.
14950
14951 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
14952
14953 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
14954 libc_hidden_def.
14955 (__freeifaddrs): Likewise.
14956
14957 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14958
14959 * include/dirent.h (__dirfd): New declaration.
14960 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
14961 alias.
14962 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
14963 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
14964 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
14965 * include/unistd.h (__revoke): New declaration.
14966 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
14967 alias.
14968 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14969 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
14970 revoke.
14971 * include/dirent.h (__seekdir): New declaration.
14972 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
14973 redefine as weak alias.
14974 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
14975 of seekdir.
14976 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
14977 and use libc_hidden_def on them.
14978 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
14979 them.
14980 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
14981 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
14982 instead of getifaddrs and freeifaddrs.
14983
14984 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
14985
14986 [BZ #18822]
14987 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
14988 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
14989 (__dso_handle): Remove declaration.
14990 * dlfcn/tstatexit.c (__dso_handle): Removed.
14991 (main): Don't check __dso_handle.
14992 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
14993 (main): Don't check __dso_handle.
14994 * include/dso_handle.h: New file.
14995 * malloc/mtrace.c: Include <dso_handle.h>.
14996 (mtrace): Pass __dso_handle directly.
14997 * nptl/pthread_atfork.c: Include <dso_handle.h>.
14998 (__dso_handle): Remove declaration.
14999 (__pthread_atfork): Pass __dso_handle directly.
15000 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
15001 (__dso_handle): Removed.
15002 * posix/wordexp-test.c: Include <dso_handle.h>.
15003 (__dso_handle): Remove declaration.
15004 (__app_register_atfork): Pass __dso_handle directly.
15005 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
15006 (__dso_handle): Remove declaration.
15007 (at_quick_exit): Pass __dso_handle directly.
15008 * stdlib/atexit.c: Include <dso_handle.h>.
15009 (__dso_handle): Remove declaration.
15010 (atexit): Pass __dso_handle directly.
15011 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
15012 (__dso_handle): Removed.
15013
15014 2017-09-26 Joseph Myers <joseph@codesourcery.com>
15015
15016 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
15017 using VDSO.
15018
15019 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
15020
15021 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
15022 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
15023 values to correct default value for given type.
15024
15025 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
15026
15027 [BZ #22101]
15028 * elf/Makefile (tests): Add tst-debug1.
15029 ($(objpfx)tst-debug1): New.
15030 ($(objpfx)tst-debug1.out): Likewise.
15031 ($(objpfx)tst-debug1mod1.so): Likewise.
15032 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
15033 with p_filesz == 0.
15034 * elf/tst-debug1.c: New file.
15035
15036 2017-09-26 Joseph Myers <joseph@codesourcery.com>
15037
15038 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
15039 Define using __ifunc.
15040
15041 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15042
15043 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
15044 exp2f() values.
15045
15046 2017-09-26 Joseph Myers <joseph@codesourcery.com>
15047
15048 [BZ #22156]
15049 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
15050
15051 2017-09-26 Florian Weimer <fweimer@redhat.com>
15052
15053 * resolv/Makefile (tests-internal): Fix typo in comment.
15054
15055 2017-09-26 Florian Weimer <fweimer@redhat.com>
15056
15057 * resolv/nss_dns/dns-host.c: Fix typo in comment.
15058
15059 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15060
15061 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
15062 Use an union instead of a max_align_t array for __space,
15063 so that __space is the same size on all platforms.
15064 * malloc/scratch_buffer_grow_preserve.c
15065 (__libc_scratch_buffer_grow_preserve): Likewise.
15066
15067 [BZ #22183]
15068 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
15069 version to 2.
15070 * posix/Makefile (routines): Add glob-lstat-compat and
15071 glob64-lstat-compat.
15072 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
15073 * posix/glob-lstat-compat.c: New file.
15074 * posix/glob64-lstat-compat.c: Likewise.
15075 * posix/tst-glob_lstat_compat.c: Likewise.
15076 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
15077 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
15078 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
15079 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
15080 Likewise.
15081 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
15082 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
15083 * posix/glob.c (glob_lstat): New function.
15084 (glob): Rename to __glob and add versioned symbol to 2.27.
15085 (glob_in_dir): Use glob_lstat.
15086 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
15087 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
15089 2.27.
15090 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
15091 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
15092 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
15093 gl_lstat on glob call.
15094 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
15095 and glob64 symbols.
15096 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15098 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15099 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15100 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15102 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15103 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15104 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15105 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15109 Likewise.
15110 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15112 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15119 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15120 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15121 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15122
15123 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
15124
15125 * configure.ac (AS): Require binutils 2.25 or later.
15126 * configure: Regenerated.
15127
15128 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15129
15130 [BZ #22207]
15131 * stdlib/test-atexit-race-common.c (do_test): Minimize required
15132 VM size.
15133
15134 2017-09-25 DJ Delorie <dj@redhat.com>
15135
15136 [BZ #22161]
15137 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
15138 resetting timeout.
15139
15140 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15141
15142 * sysdeps/ieee754/dbl-64/sincos32.h
15143 [SINCCOS32_H]: Remove define.
15144 [SINCOS32_H]: Define.
15145
15146 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
15147
15148 * math/Versions (expf): New libm symbol at GLIBC_2.27.
15149 (exp2f): Likewise.
15150 * math/w_exp2f.c: New file.
15151 * math/w_expf.c: New file.
15152 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
15153 * math/w_expf_compat.c (__expf_compat): Likewise.
15154 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
15155 * sysdeps/ia64/fpu/e_expf.S: Likewise.
15156 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
15157 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15169 Likewise.
15170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15171 Likewise.
15172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15173 Likewise.
15174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15175 Likewise.
15176 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15182 Likewise.
15183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15184 Likewise.
15185 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15186 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15188
15189 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
15190
15191 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
15192 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
15193 (roundtoint, converttoint): Likewise.
15194 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
15195 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
15196 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
15197 * sysdeps/ieee754/flt-32/math_config.h: New file.
15198 * sysdeps/ieee754/flt-32/math_errf.c: New file.
15199 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
15200 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
15201 * sysdeps/i386/fpu/math_errf.c: New file.
15202 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
15203 * sysdeps/ia64/fpu/math_errf.c: New file.
15204 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
15205 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
15206
15207 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
15208
15209 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
15210 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
15211 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
15212 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
15213 to make sure that these symbols are defined.
15214 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
15215 of <limits.h>
15216 (__need_NULL): Do not define.
15217 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
15218 alignment.
15219 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
15220 CMGROUP_MAX, cmsgcred): Do not define.
15221 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
15222 NULL.
15223 * bits/socket.h: Likewise.
15224 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
15225 __gettimeofday instead of gettimeofday.
15226 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
15227 instead of settimeofday.
15228
15229 2017-09-22 Joseph Myers <joseph@codesourcery.com>
15230
15231 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
15232 (asinhf): Define using libm_alias_float.
15233 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
15234 (atanf): Define using libm_alias_float.
15235 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
15236 (cbrtf): Define using libm_alias_float.
15237 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
15238 (ceilf): Define using libm_alias_float.
15239 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
15240 <libm-alias-float.h>.
15241 (copysignf): Define using libm_alias_float.
15242 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
15243 (cosf): Define using libm_alias_float.
15244 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
15245 (erff): Define using libm_alias_float.
15246 (erfcf): Likewise.
15247 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
15248 (expm1f): Define using libm_alias_float.
15249 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
15250 (fabsf): Define using libm_alias_float.
15251 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
15252 (floorf): Define using libm_alias_float.
15253 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
15254 (frexpf): Define using libm_alias_float.
15255 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
15256 libm_alias_float.
15257 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
15258 <libm-alias-float.h>.
15259 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
15260 libm_alias_float.
15261 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
15262 <libm-alias-float.h>.
15263 (getpayloadf): Define using libm_alias_float.
15264 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
15265 <libm-alias-float.h>.
15266 (llrintf): Define using libm_alias_float.
15267 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
15268 <libm-alias-float.h>.
15269 (llroundf): Define using libm_alias_float.
15270 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
15271 (logbf): Define using libm_alias_float.
15272 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
15273 (lrintf): Define using libm_alias_float.
15274 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
15275 (lroundf): Define using libm_alias_float.
15276 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
15277 (modff): Define using libm_alias_float.
15278 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
15279 <libm-alias-float.h>.
15280 (nearbyintf): Define using libm_alias_float.
15281 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
15282 <libm-alias-float.h>.
15283 (nextafterf): Define using libm_alias_float.
15284 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
15285 <libm-alias-float.h>.
15286 (nextupf): Define using libm_alias_float.
15287 * sysdeps/ieee754/flt-32/s_remquof.c: Include
15288 <libm-alias-float.h>.
15289 (remquof): Define using libm_alias_float.
15290 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
15291 (rintf): Define using libm_alias_float.
15292 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
15293 <libm-alias-float.h>.
15294 (roundevenf): Define using libm_alias_float.
15295 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
15296 (roundf): Define using libm_alias_float.
15297 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
15298 using libm_alias_float.
15299 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
15300 <libm-alias-float.h>.
15301 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
15302 Define using libm_alias_float.
15303 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
15304 <libm-alias-float.h>.
15305 (sincosf): Define using libm_alias_float.
15306 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
15307 (sinf): Define using libm_alias_float.
15308 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
15309 (tanf): Define using libm_alias_float.
15310 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
15311 (tanhf): Define using libm_alias_float.
15312 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15313 <libm-alias-float.h>.
15314 (totalorderf): Define using libm_alias_float.
15315 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15316 <libm-alias-float.h>.
15317 (totalordermagf): Define using libm_alias_float.
15318 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
15319 (truncf): Define using libm_alias_float.
15320 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
15321 libm_alias_float.
15322 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
15323 libm_alias_float.
15324
15325 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15326
15327 [BZ #22146]
15328 math/math.h: Let fpclassify use the builtin in C++ mode, even
15329 when optimazing for size.
15330
15331 2017-09-22 Joseph Myers <joseph@codesourcery.com>
15332
15333 * csu/Makefile (generated): Do not add version-info.h.
15334 (before-compile): Likewise.
15335 (all-Banner-files): Remove variable.
15336 ($(objpfx)version-info.h): Remove rule.
15337 * csu/version.c (banner): Do not include "version-info.h".
15338 * libidn/Banner: Remove.
15339 * manual/contrib.texi (Simon Josefsson): New entry.
15340
15341 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15342
15343 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15344 Remove conditionals on LDBL_MANT_DIG.
15345 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
15346 (__ieee754_lgammal_r): Likewise.
15347
15348 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15349
15350 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
15351 _Float128 and L().
15352 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
15353 _Float128 and L(). Replace _Float128 with long double and L(x)
15354 with xL, throughout the file.
15355 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
15357 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
15358 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
15359
15360 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15361
15362 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
15363 sysdeps/ieee754/ldbl-128ibm.
15364 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
15365 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
15366 of including it. Keep _Float128 and L() intact. These will be
15367 reviewed by a separate patch.
15368 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15369 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
15370 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
15371 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
15372
15373 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15374
15375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
15376 (__finitef128): Define to __redirect___finitef128.
15377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
15378 (__isinff128): Define to __redirect___isinff128.
15379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
15380 (__isnanf128): Define to __redirect___isnanf128.
15381
15382 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15383
15384 * sysdeps/powerpc/powerpc64le/Makefile
15385 (CFLAGS-tst-strtod-nan-locale.c): New variable.
15386 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
15387
15388 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
15389 Carlos O'Donell <carlos@redhat.com>
15390
15391 [BZ #22180]
15392 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
15393 * stdlib/test-dlclose-exit-race.c: New file.
15394 * stdlib/test-dlclose-exit-race-helper.c: New file.
15395 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
15396
15397 2017-09-21 Joseph Myers <joseph@codesourcery.com>
15398
15399 * crypt/Banner: Remove file.
15400 * nptl/Banner: Likewise.
15401 * resolv/Banner: Likewise.
15402 * soft-fp/Banner: Likewise.
15403 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
15404 ($(objpfx)version.d): Remove dependency on banner.h.
15405 ($(objpfx)version.os): Likewise.
15406 * nptl/version.c (banner): Do not include banner.h.
15407 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
15408 Jelinek and BIND code.
15409
15410 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
15411 Carlos O'Donell <carlos@redhat.com>
15412
15413 * support/xdlfcn.h: New file.
15414 * support/xdlfcn.c: New file.
15415 * support/Makefile (libsupport-routines): Add xdlfcn.
15416 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
15417
15418 2017-09-20 Joseph Myers <joseph@codesourcery.com>
15419
15420 [BZ #20142]
15421 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15422 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
15423 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
15424 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
15425 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
15426 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
15427 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
15428 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
15429
15430 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
15431 Ricky Zhou <rickyz@google.com>
15432 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
15433
15434 [BZ #14333]
15435 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
15436 Remove atomics.
15437 (__new_exitfn): Fail registration when we finished at_exit processing.
15438 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15439 * stdlib/on_exit.c (__on_exit): Likewise.
15440 * stdlib/exit.c (__exit_funcs_done): New variable.
15441 (__run_exit_handlers): Use __exit_funcs_lock.
15442 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
15443 declarations.
15444 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
15445 (test-cxa_atexit-race, test-on_exit-race): New tests.
15446 * stdlib/test-atexit-race-common.c: New file.
15447 * stdlib/test-atexit-race.c: New file.
15448 * stdlib/test-at_quick_exit-race.c: New file.
15449 * stdlib/test-cxa_atexit-race.c: New file.
15450 * stdlib/test-on_exit-race.c: New file.
15451
15452 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
15453
15454 * benchtests/Makefile: Add exp2f and log2f benchmarks.
15455 * benchtests/exp2f-inputs: Copy of expf-inputs.
15456 * benchtests/log2f-inputs: Copy of logf-inputs.
15457
15458 2017-09-19 Joseph Myers <joseph@codesourcery.com>
15459
15460 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
15461 Explicitly take address of first element of array arguments in
15462 call to INLINE_SYSCALL.
15463
15464 2017-09-19 Andreas Schwab <schwab@suse.de>
15465
15466 [BZ #22134]
15467 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
15468 execveat first.
15469 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
15470 unimplemented.
15471 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
15472 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
15473 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15474 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
15475 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15476 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
15477 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15478 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
15479 * posix/Makefile (tests): Add tst-fexecve.
15480 * posix/tst-fexecve.c: New file.
15481
15482 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
15483
15484 * benchtests/Makefile: Add logf benchmark.
15485 * benchtests/logf-inputs: Add reduced trace from wrf_r.
15486
15487 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
15488
15489 * benchtests/Makefile: Add expf benchmark.
15490 * benchtests/expf-inputs: Add reduced trace from wrf_r.
15491
15492 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
15493
15494 * csu/Makefile: Add -funwind-tables to libc-start.c.
15495 * debug/Makefile: Add -funwind-tables to backtrace.c.
15496 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
15497 * sysdeps/arm/Makefile: Likewise.
15498 * sysdeps/i386/Makefile: Likewise.
15499 * sysdeps/m68k/Makefile: Likewise.
15500 * sysdeps/mips/Makefile: Likewise.
15501 * sysdeps/nios2/Makefile: Likewise.
15502 * sysdeps/sh/Makefile: Likewise.
15503 * sysdeps/sparc/Makefile: Likewise.
15504
15505 2017-09-19 Joseph Myers <joseph@codesourcery.com>
15506
15507 * benchtests/Makefile (bench-math): Add trunc and truncf.
15508 (CFLAGS-bench-trunc.c): New variable.
15509 (CFLAGS-bench-truncf.c): Likewise.
15510 * benchtests/trunc-inputs: New file.
15511 * benchtests/truncf-inputs: Likewise.
15512
15513 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15514
15515 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
15516
15517 2017-09-18 Joseph Myers <joseph@codesourcery.com>
15518
15519 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
15520 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
15521 redefine.
15522 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
15523 (exp10l): Define as weak alias.
15524 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
15525 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
15526 and redefine.
15527 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
15528 (remainderl): Define as weak alias.
15529
15530 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
15531 (fmal): Define using libm_alias_ldouble.
15532 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
15533 (acoshl): Define using libm_alias_ldouble.
15534 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
15535 (acosl): Define using libm_alias_ldouble.
15536 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
15537 (asinl): Define using libm_alias_ldouble.
15538 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
15539 (atan2l): Define using libm_alias_ldouble.
15540 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
15541 (atanhl): Define using libm_alias_ldouble.
15542 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
15543 (coshl): Define using libm_alias_ldouble.
15544 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
15545 (exp10l): Define using libm_alias_ldouble.
15546 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
15547 (exp2l): Define using libm_alias_ldouble.
15548 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
15549 (expl): Define using libm_alias_ldouble.
15550 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
15551 (fmodl): Define using libm_alias_ldouble.
15552 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
15553 (hypotl): Define using libm_alias_ldouble.
15554 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
15555 (j0l): Define using libm_alias_ldouble.
15556 (y0l): Likewise.
15557 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
15558 (j1l): Define using libm_alias_ldouble.
15559 (y1l): Likewise.
15560 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
15561 (jnl): Define using libm_alias_ldouble.
15562 (ynl): Likewise.
15563 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
15564 (log10l): Define using libm_alias_ldouble.
15565 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
15566 (log2l): Define using libm_alias_ldouble.
15567 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
15568 (logl): Define using libm_alias_ldouble.
15569 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
15570 (powl): Define using libm_alias_ldouble.
15571 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
15572 (remainderl): Define using libm_alias_ldouble.
15573 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
15574 (sinhl): Define using libm_alias_ldouble.
15575 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
15576 (sqrtl): Define using libm_alias_ldouble.
15577 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
15578 (tgammal): Define using libm_alias_ldouble.
15579 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
15580 (exp10l): Do not use long_double_symbol here.
15581 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
15582 [LIBM_SVID_COMPAT] (remainderl): Likewise.
15583 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
15584 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
15585 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
15586 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
15587 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
15588 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
15589 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
15590 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
15591 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
15592 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
15593 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
15594 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
15595 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
15596 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
15597 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
15598 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
15599 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
15600 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
15601 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
15602 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
15603
15604 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
15605
15606 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
15607 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
15608
15609 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
15610
15611 * io/read.c (read): Add libc_hidden_weak.
15612 * sysdeps/mach/hurd/read.c (read): Likewise.
15613 * io/write.c (write): Likewise.
15614 * sysdeps/mach/hurd/write.c (write): Likewise.
15615 * io/pread64.c (__pread64): Likewise.
15616 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
15617 * posix/pread64.c (__pread64): Add libc_hidden_def.
15618
15619 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
15620
15621 * benchtests/scripts/compare_strings.py: New option -g.
15622 (draw_graph): Print a message that a graph is being generated.
15623 (process_results): Generate graph only if -g is passed.
15624 (main): Process option -g.
15625
15626 * benchtests/scripts/compare_strings.py (process_results):
15627 Better spacing for output.
15628
15629 * benchtests/scripts/compare_strings.py: Use argparse.
15630 * benchtests/README: Document existence of compare_strings.py.
15631
15632 2017-09-15 Joseph Myers <joseph@codesourcery.com>
15633
15634 * math/s_fma.c: Include <libm-alias-double.h>.
15635 (fma): Define using libm_alias_double.
15636 * math/s_nextafter.c: Include <libm-alias-double.h>.
15637 (nextafter): Define using libm_alias_double.
15638 * math/w_acos_compat.c: Include <libm-alias-double.h>.
15639 (acos): Define using libm_alias_double.
15640 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
15641 (aocsh): Define using libm_alias_double.
15642 * math/w_asin_compat.c: Include <libm-alias-double.h>.
15643 (asin): Define using libm_alias_double.
15644 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
15645 (atan2): Define using libm_alias_double.
15646 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
15647 (atanh): Define using libm_alias_double.
15648 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
15649 (cosh): Define using libm_alias_double.
15650 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
15651 (exp10): Define using libm_alias_double.
15652 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
15653 (exp2): Define using libm_alias_double.
15654 * math/w_exp_compat.c: Include <libm-alias-double.h>.
15655 (exp): Define using libm_alias_double.
15656 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
15657 (fmod): Define using libm_alias_double.
15658 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
15659 (hypot): Define using libm_alias_double.
15660 * math/w_j0_compat.c: Include <libm-alias-double.h>.
15661 (j0): Define using libm_alias_double.
15662 (y0): Likewise.
15663 * math/w_j1_compat.c: Include <libm-alias-double.h>.
15664 (j1): Define using libm_alias_double.
15665 (y1): Likewise.
15666 * math/w_jn_compat.c: Include <libm-alias-double.h>.
15667 (jn): Define using libm_alias_double.
15668 (yn): Likewise.
15669 * math/w_log10_compat.c: Include <libm-alias-double.h>.
15670 (log10): Define using libm_alias_double.
15671 * math/w_log2_compat.c: Include <libm-alias-double.h>.
15672 (log2): Define using libm_alias_double.
15673 * math/w_log_compat.c: Include <libm-alias-double.h>.
15674 (log): Define using libm_alias_double.
15675 * math/w_pow_compat.c: Include <libm-alias-double.h>.
15676 (pow): Define using libm_alias_double.
15677 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
15678 (remainder): Define using libm_alias_double.
15679 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
15680 (sinh): Define using libm_alias_double.
15681 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
15682 (sqrt): Define using libm_alias_double.
15683 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
15684 (tgamma): Define using libm_alias_double.
15685 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
15686 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
15687 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
15688 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
15689 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
15690 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
15691 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
15692 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
15693 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
15694 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
15695 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
15696 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
15697 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
15698 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
15699 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
15700 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
15701 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
15702 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
15703 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
15704 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
15705 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
15706 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
15707 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
15708 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
15709 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
15710
15711 * math/e_acoshl.c: Remove.
15712 * math/e_acosl.c: Likewise.
15713 * math/e_asinl.c: Likewise.
15714 * math/e_atan2l.c: Likewise.
15715 * math/e_atanhl.c: Likewise.
15716 * math/e_coshl.c: Likewise.
15717 * math/e_expl.c: Likewise.
15718 * math/e_fmodl.c: Likewise.
15719 * math/e_gammal_r.c: Likewise.
15720 * math/e_hypotl.c: Likewise.
15721 * math/e_j0l.c: Likewise.
15722 * math/e_j1l.c: Likewise.
15723 * math/e_jnl.c: Likewise.
15724 * math/e_lgammal_r.c: Likewise.
15725 * math/e_log10l.c: Likewise.
15726 * math/e_log2l.c: Likewise.
15727 * math/e_logl.c: Likewise.
15728 * math/e_powl.c: Likewise.
15729 * math/e_rem_pio2l.c: Likewise.
15730 * math/e_sinhl.c: Likewise.
15731 * math/e_sqrtf128.c: Likewise.
15732 * math/e_sqrtl.c: Likewise.
15733 * math/k_cosl.c: Likewise.
15734 * math/k_sinl.c: Likewise.
15735 * math/k_tanl.c: Likewise.
15736 * math/s_asinhl.c: Likewise.
15737 * math/s_atanl.c: Likewise.
15738 * math/s_cbrtl.c: Likewise.
15739 * math/s_erfl.c: Likewise.
15740 * math/s_expm1l.c: Likewise.
15741 * math/s_log1pl.c: Likewise.
15742 * math/s_tanhl.c: Likewise.
15743
15744 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15745
15746 [BZ #21745]
15747 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
15748 [$(subdir) = math] (sysdep_calls): New variable. Has the
15749 previous contents of sysdep_routines, but re-sorted..
15750 [$(subdir) = math] (sysdep_routines): Re-use the contents from
15751 sysdep_calls.
15752 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
15753 defined in sysdep_calls and replace by the respective m_* names.
15754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
15755 (compat_symbol): Undefine to avoid duplicated compat symbols in
15756 libc.
15757
15758 2017-09-15 Joseph Myers <joseph@codesourcery.com>
15759
15760 * math/s_fmaf.c: Include <libm-alias-float.h>.
15761 (fmaf): Define using libm_alias_float.
15762 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
15763 (acosf): Define using libm_alias_float.
15764 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
15765 (acoshf): Define using libm_alias_float.
15766 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
15767 (asinf): Define using libm_alias_float.
15768 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
15769 (atan2f): Define using libm_alias_float.
15770 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
15771 (atanhf): Define using libm_alias_float.
15772 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
15773 (coshf): Define using libm_alias_float.
15774 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
15775 (exp10f): Define using libm_alias_float.
15776 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
15777 (fmodf): Define using libm_alias_float.
15778 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
15779 (hypotf): Define using libm_alias_float.
15780 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
15781 (j0f): Define using libm_alias_float.
15782 (y0f): Likewise.
15783 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
15784 (j1f): Define using libm_alias_float.
15785 (y1f): Likewise.
15786 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
15787 (jnf): Define using libm_alias_float.
15788 (ynf): Likewise.
15789 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
15790 (log10f): Define using libm_alias_float.
15791 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
15792 (log2f): Define using libm_alias_float.
15793 * math/w_logf_compat.c: Include <libm-alias-float.h>.
15794 (logf): Define using libm_alias_float.
15795 * math/w_powf_compat.c: Include <libm-alias-float.h>.
15796 (powf): Define using libm_alias_float.
15797 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
15798 (remainderf): Define using libm_alias_float.
15799 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
15800 (sinhf): Define using libm_alias_float.
15801 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
15802 (sqrtf): Define using libm_alias_float.
15803 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
15804 (tgammaf): Define using libm_alias_float.
15805
15806 2017-09-14 Joseph Myers <joseph@codesourcery.com>
15807
15808 * include/math.h (roundeven): Change hidden_proto call to
15809 __roundeven.
15810 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
15811 alias.
15812 [NO_LONG_DOUBLE] (__j0l): New strong alias.
15813 (y0): Rename to __y0 and define as weak alias.
15814 [NO_LONG_DOUBLE] (__y0l): New strong alias.
15815 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
15816 alias.
15817 (y0f): Rename to __y0f and define as weak alias.
15818 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
15819 alias.
15820 [NO_LONG_DOUBLE] (__j1l): New strong alias.
15821 (y1): Rename to __y1 and define as weak alias.
15822 [NO_LONG_DOUBLE] (__y1l): New strong alias.
15823 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
15824 alias.
15825 (y1f): Rename to __y1f and define as weak alias.
15826 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
15827 alias.
15828 [NO_LONG_DOUBLE] (__jnl): New strong alias.
15829 (yn): Rename to __yn and define as weak alias.
15830 [NO_LONG_DOUBLE] (__ynl): New strong alias.
15831 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
15832 alias.
15833 (ynf): Rename to __ynf and define as weak alias.
15834 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
15835 (fromfp): Define as weak alias.
15836 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
15837 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
15838 (fromfpx): Define as weak alias.
15839 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
15840 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
15841 __getpayload and define as weak alias.
15842 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
15843 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
15844 __roundeven and define as weak alias.
15845 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
15846 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
15847 __setpayload.
15848 (setpayload): Define as weak alias.
15849 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
15850 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
15851 __setpayloadsig.
15852 (setpayloadsig): Define as weak alias.
15853 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
15854 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
15855 __totalorder and define as weak alias.
15856 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
15857 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
15858 to __totalordermag and define as weak alias.
15859 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
15860 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
15861 (ufromfp): Define as weak alias.
15862 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
15863 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
15864 __ufromfpx.
15865 (ufromfpx): Define as weak alias.
15866 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
15867 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
15868 Rename to __getpayload and define as weak alias.
15869 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
15870 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
15871 Rename to __roundeven and define as weak alias.
15872 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
15873 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
15874 Rename to __totalorder and define as weak alias.
15875 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
15876 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
15877 (totalordermag): Rename to __totalordermag and define as weak
15878 alias.
15879 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
15880 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
15881 macro.
15882 (__roundevenl): Likewise.
15883 (__totalorderl): Likewise.
15884 (__totalordermagl): Likewise
15885 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
15886 __fromfpf128.
15887 (fromfpf128): Define as weak alias.
15888 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
15889 __fromfpxf128.
15890 (fromfpxf128): Define as weak alias.
15891 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
15892 __setpayloadf128.
15893 (setpayloadf128): Define as weak alias.
15894 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
15895 __setpayloadsigf128.
15896 (setpayloadsigf128): Define as weak alias.
15897 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
15898 __ufromfpf128.
15899 (ufromfpf128): Define as weak alias.
15900 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
15901 __ufromfpxf128.
15902 (ufromfpxf128): Define as weak alias.
15903 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
15904 (fromfpf): Define as weak alias.
15905 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
15906 __fromfpxf.
15907 (fromfpxf): Define as weak alias.
15908 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
15909 __getpayloadf and define as weak alias.
15910 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
15911 __roundevenf and define as weak alias.
15912 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
15913 __setpayloadf.
15914 (setpayloadf): Define as weak alias.
15915 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
15916 __setpayloadsigf.
15917 (setpayloadsigf): Define as weak alias.
15918 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
15919 __totalorderf and define as weak alias.
15920 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
15921 Rename to __totalordermagf and define as weak alias.
15922 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
15923 __ufromfpf.
15924 (ufromfpf): Define as weak alias.
15925 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
15926 __ufromfpxf.
15927 (ufromfpxf): Define as weak alias.
15928 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
15929 __fromfpl.
15930 (fromfpl): Define as weak alias.
15931 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
15932 __fromfpxl.
15933 (fromfpxl): Define as weak alias.
15934 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
15935 to __getpayloadl and define as weak alias.
15936 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
15937 __roundevenl and define as weak alias.
15938 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
15939 __setpayloadl.
15940 (setpayloadl): Define as weak alias.
15941 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
15942 __setpayloadsigl.
15943 (setpayloadsigl): Define as weak alias.
15944 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
15945 to __totalorderl and define as weak alias.
15946 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
15947 Rename to __totalordermagl and define as weak alias.
15948 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
15949 __ufromfpl.
15950 (ufromfpl): Define as weak alias.
15951 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
15952 __ufromfpxl.
15953 (ufromfpxl): Define as weak alias.
15954 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
15955 __fromfpl.
15956 (fromfpl): Define as weak alias.
15957 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
15958 __fromfpxl.
15959 (fromfpxl): Define as weak alias.
15960 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
15961 Rename to __getpayloadl and define as weak alias.
15962 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
15963 to __roundevenl and define as weak alias. Call __roundeven
15964 instead of roundeven.
15965 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
15966 __setpayloadl.
15967 (setpayloadl): Define as weak alias.
15968 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
15969 __setpayloadsigl.
15970 (setpayloadsigl): Define as weak alias.
15971 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
15972 Rename to __totalorderl and define as weak alias.
15973 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
15974 Rename to __totalordermagl and define as weak alias.
15975 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
15976 __ufromfpl.
15977 (ufromfpl): Define as weak alias.
15978 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
15979 __ufromfpxl.
15980 (ufromfpxl): Define as weak alias.
15981 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
15982 __fromfpl.
15983 (fromfpl): Define as weak alias.
15984 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
15985 __fromfpxl.
15986 (fromfpxl): Define as weak alias.
15987 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
15988 __getpayloadl and define as weak alias.
15989 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
15990 __roundevenl and define as weak alias.
15991 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
15992 __setpayloadl.
15993 (setpayloadl): Define as weak alias.
15994 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
15995 __setpayloadsigl.
15996 (setpayloadsigl): Define as weak alias.
15997 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
15998 __totalorderl and define as weak alias.
15999 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
16000 Rename to __totalordermagl and define as weak alias.
16001 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
16002 __ufromfpl.
16003 (ufromfpl): Define as weak alias.
16004 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
16005 __ufromfpxl.
16006 (ufromfpxl): Define as weak alias.
16007
16008 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16009
16010 * benchtests/bench-string.h (realloc_bufs): New function.
16011 (test_init): Call it.
16012 * benchtests/bench-memset-large.c (do_test): Likewise.
16013 * benchtests/bench-memset.c (do_test): Likewise.
16014
16015 * benchtests/bench-memset-large.c: Print output in JSON
16016 format.
16017 * benchtests/bench-memset.c: Likewise.
16018
16019 2017-09-14 Mike FABIAN <mfabian@redhat.com>
16020
16021 [BZ #21084]
16022 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
16023 * iconvdata/Makefile: Add IBM858.
16024 * iconvdata/gconv-modules: Likewise.
16025 * iconvdata/tst-tables.sh: Likewise.
16026 * iconvdata/ibm858.c: New file.
16027 * localedata/charmaps/IBM858: Likewise.
16028
16029 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
16030
16031 [BZ #22023]
16032 * locales/niu_NZ (LC_TIME): copy "niu_NU".
16033 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
16034
16035 2017-09-14 Mike FABIAN <mfabian@redhat.com>
16036
16037 [BZ #22112]
16038 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
16039 and add tel_int_fmt.
16040
16041 2017-09-14 Joseph Myers <joseph@codesourcery.com>
16042
16043 * sysdeps/generic/libm-alias-float128.h: New file.
16044 * sysdeps/generic/math-type-macros-float128.h: Include
16045 <libm-alias-float128.h>.
16046 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
16047
16048 2017-09-13 Joseph Myers <joseph@codesourcery.com>
16049
16050 * sysdeps/generic/libm-alias-ldouble.h: New file.
16051 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
16052 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
16053 * sysdeps/generic/math-type-macros-ldouble.h: Include
16054 <libm-alias-ldouble.h>.
16055 [!declare_mgen_alias] (declare_mgen_alias): Define to use
16056 libm_alias_ldouble.
16057
16058 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
16059
16060 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
16061 * math/w_exp_compat.c: ... here.
16062 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
16063 * math/w_expf_compat.c: ... here.
16064 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
16065 * math/w_expl_compat.c: ... here.
16066 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
16067 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
16068 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
16069 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
16070
16071 2017-09-13 Joseph Myers <joseph@codesourcery.com>
16072
16073 * math/w_scalbln_template.c (strong_alias): Do not undefine and
16074 redefine.
16075 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
16076 macro.
16077 (ldexpl): Only define as compat symbol for libc, not libm.
16078 (scalbnl): Define as compat symbol for libc here.
16079 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
16080 define for [IS_IN (libc)].
16081 (__ldexpl_2): Remove alias.
16082 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
16083 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
16084 name in long_double_symbol call.
16085 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
16086 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
16087 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
16088 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
16089 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
16090 Remove macro.
16091 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
16092 Define as compat symbol.
16093
16094 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16095
16096 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
16097 * sysdeps/unix/sysv/linux/alpha/Makefile
16098 [$(subdir) = csu] (sysdep_routines): Remove rule.
16099
16100 2017-09-13 Joseph Myers <joseph@codesourcery.com>
16101
16102 * sysdeps/generic/libm-alias-double.h: New file.
16103 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
16104 * sysdeps/generic/math-type-macros-double.h: Include
16105 <libm-alias-double.h>.
16106 [declare_mgen_alias] (declare_mgen_alias): Define to use
16107 libm_alias_double.
16108 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
16109 (M_LIBM_NEED_COMPAT): Remove macro.
16110 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
16111 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
16112 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
16113 code.
16114 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16115 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16116 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16117 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16118 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16119 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16120 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16121 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16122 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16123 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16124 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16125 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16126 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16127 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16128 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16129 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16130 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16131 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16132 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16133 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16134 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16135 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16136 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16137 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16138 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16139 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16140 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
16141 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
16142 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
16143 macro.
16144 (declare_mgen_alias): New macro.
16145 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
16146 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
16147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
16148 (M_LIBM_NEED_COMPAT): Remove macro.
16149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
16150 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
16151 <first-versions.h>.
16152 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
16153 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
16154
16155 2017-09-12 Joseph Myers <joseph@codesourcery.com>
16156
16157 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
16158 (declare_mgen_alias_2): Remove.
16159 * sysdeps/generic/math-type-macros-double.h
16160 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
16161 Likewise.
16162 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
16163 alias.
16164 (ldexp): Define with declare_mgen_alias.
16165 (scalbn): Likewise.
16166
16167 2017-09-12 Steve Ellcey <sellcey@cavium.com>
16168
16169 * grp/initgroups.c: Include config.h.
16170 (DEFAULT_CONFIG): New macro.
16171 (internal_getgrouplist): Use DEFAULT_CONFIG.
16172 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16173 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
16174 (DEFAULT_DEFCONFIG): New macro.
16175 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
16176 * nss/grp-lookup.c: Include config.h
16177 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
16178 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
16179 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
16180 * manual/nss.texi: Update default values section.
16181
16182 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
16183
16184 [BZ #21967]
16185 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
16186 New.
16187 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
16188 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16189 Handle MathVec_Prefer_No_AVX512.
16190 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
16191 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
16192 is set.
16193
16194 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
16195
16196 * posix/sched_primax.c (__sched_get_priority_max): Add
16197 libc_hidden_def.
16198 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
16199 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
16200 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
16201 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
16202 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
16203 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
16204 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
16205 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
16206 Add aliases.
16207
16208 2017-09-11 Joseph Myers <joseph@codesourcery.com>
16209
16210 * sysdeps/generic/libm-alias-float.h: New file.
16211 * sysdeps/generic/math-type-macros-float.h: Include
16212 <libm-alias-float.h>.
16213 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
16214
16215 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
16216
16217 [BZ #22093]
16218 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
16219 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
16220 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
16221 (HWCAP_IMPORTANT): Likewise.
16222 (HWCAP_X86_64): New enum.
16223 (HWCAP_X86_AVX512_1): Updated.
16224 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
16225 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
16226 (modules-names): Add x86_64/tst-x86_64mod-1.
16227 (LDFLAGS-tst-x86_64mod-1.so): New.
16228 ($(objpfx)tst-x86_64-1): Likewise.
16229 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
16230 (tst-x86_64-1-clean): Likewise.
16231 * sysdeps/x86_64/tst-x86_64-1.c: New file.
16232 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
16233
16234 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
16235
16236 * po/sv.po: Update translations.
16237 * po/fr.po: Likewise.
16238
16239 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16240
16241 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
16242 seconds.
16243 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
16244 seconds.
16245 * elf/rtld-Rules: Fix $(error) use.
16246
16247 2017-09-09 Mike FABIAN <mfabian@redhat.com>
16248
16249 [BZ #14925]
16250 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
16251 * locale/iso-639.def: Change “Bengali” to “Bangla”.
16252 * localedata/locales/bn_BD: “Bengali” was still used in some
16253 comments. Change it to “Bangla”.
16254
16255 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
16256
16257 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
16258
16259 2017-09-08 Steve Ellcey <sellcey@cavium.com>
16260
16261 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
16262 thunderx2t99p1 to list of cpu names.
16263 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
16264 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
16265
16266 2017-09-08 Steve Ellcey <sellcey@cavium.com>
16267
16268 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
16269 Use strcmp instead of tunable_is_name.
16270
16271 2017-09-08 Joseph Myers <joseph@codesourcery.com>
16272
16273 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16274 (F_GET_RW_HINT): New macro.
16275 [__USE_GNU] (F_SET_RW_HINT): Likewise.
16276 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
16277 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
16278 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
16279 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
16280 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
16281 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
16282 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
16283 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
16284
16285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16286 (F_ADD_SEALS): New macro.
16287 [__USE_GNU] (F_GET_SEALS): Likewise.
16288 [__USE_GNU] (F_SEAL_SEAL): Likewise.
16289 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
16290 [__USE_GNU] (F_SEAL_GROW): Likewise.
16291 [__USE_GNU] (F_SEAL_WRITE): Likewise.
16292
16293 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16294
16295 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
16296 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
16297 * posix/glob_internal.h (__glob_pattern_type):
16298 * posix/glob.c (glob):
16299 * posix/glob_pattern_p.c (__glob_pattern_p):
16300 Use them.
16301
16302 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
16303 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16304 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
16305 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
16306 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
16307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
16308 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
16309 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
16310 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
16311 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16312 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
16313 * sysdeps/wordsize-64/glob.c: Likewise.
16314 * sysdeps/wordsize-64/glob64.c: Likewise.
16315 * sysdeps/wordsize-64/globfree.c: Likewise.
16316 * sysdeps/wordsize-64/globfree64.c: Likewise.
16317 * sysdeps/unix/sysv/linux/glob.c: New file.
16318 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
16319 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
16320 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
16321 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
16322 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
16323 adds !GLOB_NO_OLD_VERSION as an extra condition.
16324 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
16325 using relative path instead of absolute one.
16326 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
16327 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16328 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16329 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
16330 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
16331 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
16332
16333 [BZ #1062]
16334 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
16335 (glob): Use the same scratch buffer for both getlogin_r and
16336 getpwnam_r. Don’t require preallocation of the login name. This
16337 simplifies storage allocation, and corrects the handling of
16338 long login names.
16339
16340 [BZ #1062]
16341 * posix/glob.c (glob): Port recent patches to platforms
16342 lacking getpwnam_r.
16343 (glob): Fix longstanding misuse of errno after getpwnam_r, which
16344 returns an error number rather than setting errno.
16345
16346 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
16347 instead of GCC extension.
16348 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
16349 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
16350 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
16351
16352 [BZ #866]
16353 [BZ #1062]
16354 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
16355 * posix/bug-glob1.c: Remove file.
16356 * posix/tst-glob_symlinks.c: New file.
16357 * posix/glob.c (__lstat64): New macro.
16358 (is_dir): New function.
16359 (glob, glob_in_dir): Match symlinks even if they are dangling.
16360 (link_stat, link_exists_p): Remove. All uses removed.
16361
16362 [BZ #1062]
16363 [BZ #19971]
16364 * posix/glob.c (struct readdir_result): Remove skip_entry member.
16365 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
16366 All uses removed.
16367
16368 [BZ #1062]
16369 CVE-2017-15671
16370 * posix/Makefile (routines): Add globfree, globfree64, and
16371 glob_pattern_p.
16372 * posix/flexmember.h: New file.
16373 * posix/glob_internal.h: Likewise.
16374 * posix/glob_pattern_p.c: Likewise.
16375 * posix/globfree.c: Likewise.
16376 * posix/globfree64.c: Likewise.
16377 * sysdeps/gnu/globfree64.c: Likewise.
16378 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
16379 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
16380 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
16381 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
16382 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
16383 * sysdeps/wordsize-64/globfree.c: Likewise.
16384 * sysdeps/wordsize-64/globfree64.c: Likewise.
16385 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
16386 [NDEBUG): Remove comments.
16387 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
16388 (dirent_type): New type. Use uint_fast8_t not
16389 uint8_t, as C99 does not require uint8_t.
16390 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
16391 (struct readdir_result): Use dirent_type. Do not define skip_entry
16392 unless it is needed; this saves a byte on platforms lacking d_ino.
16393 (readdir_result_type, readdir_result_skip_entry):
16394 New functions, replacing ...
16395 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
16396 these functions, which were removed. This makes the callers
16397 easier to read. All callers changed.
16398 (D_INO_TO_RESULT): Now empty if there is no d_ino.
16399 (size_add_wrapv, glob_use_alloca): New static functions.
16400 (glob, glob_in_dir): Check for size_t overflow in several places,
16401 and fix some size_t checks that were not quite right.
16402 Remove old code using SHELL since Bash no longer
16403 uses this.
16404 (glob, prefix_array): Separate MS code better.
16405 (glob_in_dir): Remove old Amiga and VMS code.
16406 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
16407 separate files.
16408 (glob_in_dir): Do not rely on undefined behavior in accessing
16409 struct members beyond their bounds. Use a flexible array member
16410 instead
16411 (link_stat): Rename from link_exists2_p and return -1/0 instead of
16412 0/1. Caller changed.
16413 (glob): Fix memory leaks.
16414 * posix/glob64 (globfree64): Move to separate file.
16415 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
16416 (globfree64): Remove hidden alias.
16417 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
16418 oldglob.
16419 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
16420 separate file.
16421 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
16422 define.
16423 Move compat code to separate file.
16424 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
16425 separate file.
16426
16427 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
16428
16429 * resolv/tst-resolv-qtypes.c (domain): Changed to
16430 "const char domain[] =".
16431
16432 2017-09-07 Joseph Myers <joseph@codesourcery.com>
16433
16434 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
16435 version to 3.1.6.
16436
16437 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
16438 (TCP_MD5SIG_EXT): Likewise.
16439 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
16440 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
16441 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
16442
16443 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
16444
16445 2017-09-07 Mike FABIAN <mfabian@redhat.com>
16446
16447 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
16448
16449 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
16450
16451 [BZ #22100]
16452 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
16453
16454 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
16455
16456 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
16457 before assuming that the file is empty. Avoid testing buffer content
16458 when nread == 0.
16459
16460 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16461
16462 [BZ #18858]
16463 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
16464 Remove define.
16465 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
16466 Likewise.
16467 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
16468 Likewise.
16469 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
16470 Likewise.
16471 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
16472 Likewise.
16473 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
16474 Likewise.
16475 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
16476 Likewise.
16477
16478 2017-09-06 Florian Weimer <fweimer@redhat.com>
16479
16480 * malloc/dynarray_emplace_enlarge.c
16481 (__libc_dynarray_emplace_enlarge): Add missing else.
16482
16483 2017-09-06 Florian Weimer <fweimer@redhat.com>
16484
16485 [BZ #22096]
16486 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
16487 case of failure to obtain the global conf object.
16488
16489 2017-09-06 Florian Weimer <fweimer@redhat.com>
16490
16491 [BZ #22095]
16492 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
16493 dynarray allocation failure.
16494
16495 2017-09-06 Florian Weimer <fweimer@redhat.com>
16496
16497 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
16498 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
16499 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
16500 New functions.
16501 (response): Call them. Add 'p', '6' flag processing.
16502 (test_reverse): New function.
16503 (test_get2_any): Call it.
16504 (test_no_inet6): Add 'p' test.
16505 (test_inet6): Likewise.
16506
16507 2017-09-06 Florian Weimer <fweimer@redhat.com>
16508
16509 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
16510 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
16511 the QNAME.
16512 (test_gai): Adjust query names. Add additional tests.
16513 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
16514 test_get2. Adjust query names. Add additional tests.
16515 (test_no_inet6): New function, extracted from threadfunc.
16516 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
16517 Add additional tests.
16518
16519 2017-09-06 Mike FABIAN <mfabian@redhat.com>
16520
16521 [BZ #22070]
16522 * localedata/unicode-gen/utf8_gen.py: Set the width for
16523 characters with Prepended_Concatenation_Mark property to 1
16524 * localedata/charmaps/UTF-8: Updated using the improved script.
16525
16526 2017-09-06 Mike FABIAN <mfabian@redhat.com>
16527
16528 [BZ #21750]
16529 * localedata/unicode-gen/utf8_gen.py: Improve the script to
16530 use the range notation for all ranges of neighbouring characters
16531 with the same width.
16532
16533 2017-09-05 Joseph Myers <joseph@codesourcery.com>
16534
16535 * sysdeps/generic/math-type-macros-double.h: Include
16536 <math-svid-compat.h>.
16537 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
16538 * sysdeps/generic/math-type-macros-float.h: Include
16539 <math-svid-compat.h>.
16540 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
16541 * sysdeps/generic/math-type-macros-ldouble.h: Include
16542 <math-svid-compat.h>.
16543 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
16544 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
16545 condition.
16546 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
16547 * math/w_acosf_compat.c: Likewise.
16548 * math/w_acosh_compat.c: Likewise.
16549 * math/w_acoshf_compat.c: Likewise.
16550 * math/w_acoshl_compat.c: Likewise.
16551 * math/w_acosl_compat.c: Likewise.
16552 * math/w_asin_compat.c: Likewise.
16553 * math/w_asinf_compat.c: Likewise.
16554 * math/w_asinl_compat.c: Likewise.
16555 * math/w_atan2_compat.c: Likewise.
16556 * math/w_atan2f_compat.c: Likewise.
16557 * math/w_atan2l_compat.c: Likewise.
16558 * math/w_atanh_compat.c: Likewise.
16559 * math/w_atanhf_compat.c: Likewise.
16560 * math/w_atanhl_compat.c: Likewise.
16561 * math/w_cosh_compat.c: Likewise.
16562 * math/w_coshf_compat.c: Likewise.
16563 * math/w_coshl_compat.c: Likewise.
16564 * math/w_exp10_compat.c: Likewise.
16565 * math/w_exp10f_compat.c: Likewise.
16566 * math/w_exp10l_compat.c: Likewise.
16567 * math/w_exp2_compat.c: Likewise.
16568 * math/w_exp2f_compat.c: Likewise.
16569 * math/w_exp2l_compat.c: Likewise.
16570 * math/w_fmod_compat.c: Likewise.
16571 * math/w_fmodf_compat.c: Likewise.
16572 * math/w_fmodl_compat.c: Likewise.
16573 * math/w_hypot_compat.c: Likewise.
16574 * math/w_hypotf_compat.c: Likewise.
16575 * math/w_hypotl_compat.c: Likewise.
16576 * math/w_j0_compat.c: Likewise.
16577 * math/w_j0f_compat.c: Likewise.
16578 * math/w_j0l_compat.c: Likewise.
16579 * math/w_j1_compat.c: Likewise.
16580 * math/w_j1f_compat.c: Likewise.
16581 * math/w_j1l_compat.c: Likewise.
16582 * math/w_jn_compat.c: Likewise.
16583 * math/w_jnf_compat.c: Likewise.
16584 * math/w_jnl_compat.c: Likewise.
16585 * math/w_lgamma_r_compat.c: Likewise.
16586 * math/w_lgammaf_r_compat.c: Likewise.
16587 * math/w_lgammal_r_compat.c: Likewise.
16588 * math/w_log10_compat.c: Likewise.
16589 * math/w_log10f_compat.c: Likewise.
16590 * math/w_log10l_compat.c: Likewise.
16591 * math/w_log2_compat.c: Likewise.
16592 * math/w_log2f_compat.c: Likewise.
16593 * math/w_log2l_compat.c: Likewise.
16594 * math/w_log_compat.c: Likewise.
16595 * math/w_logf_compat.c: Likewise.
16596 * math/w_logl_compat.c: Likewise.
16597 * math/w_pow_compat.c: Likewise.
16598 * math/w_powf_compat.c: Likewise.
16599 * math/w_powl_compat.c: Likewise.
16600 * math/w_remainder_compat.c: Likewise.
16601 * math/w_remainderf_compat.c: Likewise.
16602 * math/w_remainderl_compat.c: Likewise.
16603 * math/w_sinh_compat.c: Likewise.
16604 * math/w_sinhf_compat.c: Likewise.
16605 * math/w_sinhl_compat.c: Likewise.
16606 * math/w_sqrt_compat.c: Likewise.
16607 * math/w_sqrtf_compat.c: Likewise.
16608 * math/w_sqrtl_compat.c: Likewise.
16609 * math/w_tgamma_compat.c: Likewise.
16610 * math/w_tgammaf_compat.c: Likewise.
16611 * math/w_tgammal_compat.c: Likewise.
16612 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
16613 [LIBM_SVID_COMPAT].
16614 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
16615 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
16616 [LIBM_SVID_COMPAT].
16617 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
16618 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
16619 [LIBM_SVID_COMPAT].
16620 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
16621 * sysdeps/i386/fpu/w_sqrt.c: New file.
16622 * sysdeps/ia64/fpu/w_acos.c: Likewise.
16623 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
16624 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
16625 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
16626 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
16627 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
16628 * sysdeps/ia64/fpu/w_asin.c: Likewise.
16629 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
16630 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
16631 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
16632 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
16633 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
16634 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
16635 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
16636 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
16637 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
16638 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
16639 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
16640 * sysdeps/ia64/fpu/w_exp.c: Likewise.
16641 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
16642 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
16643 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
16644 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
16645 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
16646 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
16647 * sysdeps/ia64/fpu/w_expf.c: Likewise.
16648 * sysdeps/ia64/fpu/w_expl.c: Likewise.
16649 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
16650 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
16651 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
16652 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
16653 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
16654 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
16655 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
16656 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
16657 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
16658 * sysdeps/ia64/fpu/w_log.c: Likewise.
16659 * sysdeps/ia64/fpu/w_log10.c: Likewise.
16660 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
16661 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
16662 * sysdeps/ia64/fpu/w_log2.c: Likewise.
16663 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
16664 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
16665 * sysdeps/ia64/fpu/w_logf.c: Likewise.
16666 * sysdeps/ia64/fpu/w_logl.c: Likewise.
16667 * sysdeps/ia64/fpu/w_pow.c: Likewise.
16668 * sysdeps/ia64/fpu/w_powf.c: Likewise.
16669 * sysdeps/ia64/fpu/w_powl.c: Likewise.
16670 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
16671 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
16672 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
16673 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
16674 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
16675 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
16676 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
16677 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
16678 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
16679 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
16680 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
16681 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
16682 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
16683 [LIBM_SVID_COMPAT].
16684 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
16685 * sysdeps/ieee754/k_standard.c: Likewise.
16686 * sysdeps/ieee754/k_standardf.c: Likewise.
16687 * sysdeps/ieee754/k_standardl.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
16690 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
16691 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
16692 long_double_symbol call on [LIBM_SVID_COMPAT].
16693 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
16694 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
16695 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
16696 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
16697 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
16698 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
16699 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
16700 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
16701 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
16702 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
16703 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
16704 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
16705 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
16706 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
16707 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
16708 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
16709 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
16710 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
16711 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
16712 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
16713 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
16714 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
16715
16716 2017-09-05 Steve Ellcey <sellcey@cavium.com>
16717
16718 * include/shlib-compat.h (TEST_COMPAT): New Macro.
16719 * malloc/tst-mallocstate.c: Convert from test-skeleton
16720 to test-driver. Ifdef code using TEST_COMPAT macro.
16721 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
16722 * math/test-matherr.c: Likewise.
16723
16724 2017-09-05 Joseph Myers <joseph@codesourcery.com>
16725
16726 [BZ #22086]
16727 * debug/pcprofiledump.c (main): Use byte-swapped mask when
16728 comparing word with byte-swapped constant.
16729
16730 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
16731
16732 [BZ #20498]
16733 * locale/iso-639.def: add Miskito.
16734 * localedata/SUPPORTED: Add miq_NI/UTF-8.
16735 * localedata/locales/miq_NI: New file.
16736
16737 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
16738
16739 [BZ #18822]
16740 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
16741 (__mkdir): Likewise.
16742 * io/chmod.c (__chmod): Add libc_hidden_def.
16743 * io/mkdir.c (__mkdir): Likewise.
16744 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
16745 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16746 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
16747 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
16748
16749 2017-09-04 Joseph Myers <joseph@codesourcery.com>
16750
16751 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16752 version to 4.13.
16753
16754 [BZ #22082]
16755 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
16756 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
16757
16758 2017-09-04 Florian Weimer <fweimer@redhat.com>
16759
16760 * math/math.h: Issue warning if log is defined.
16761
16762 2017-09-04 Joseph Myers <joseph@codesourcery.com>
16763
16764 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16765 kernel version to 4.13.
16766
16767 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16768
16769 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
16770 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
16771 parameter.
16772 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
16773 just <bits/types.h>.
16774 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
16775 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
16776 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
16777 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
16778 * misc/preadv2.c: Include <errno.h>.
16779 * misc/preadv64v2.c: Include <errno.h>.
16780 * misc/pwritev2.c: Include <errno.h>.
16781 * misc/pwritev64v2.c: Include <errno.h>.
16782 * sysdeps/posix/preadv2.c: Include <errno.h>.
16783 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
16784 Fix <unistd.h> inclusion.
16785 * sysdeps/posix/pwritev2.c: Include <errno.h>.
16786 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
16787 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
16788 __strtoul_internal): New functions.
16789 * sysdeps/posix/pause.c: Include <sigsetops.h>.
16790 * sysdeps/posix/system.c: Include <sigsetops.h>.
16791 * sysdeps/mach/hurd/i386/Makefile
16792 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
16793 [$(subdir) = csu] (sysdep-only-routines): Likewise.
16794 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
16795 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
16796 __feraiseexcept_renamed to feraiseexcept instead of
16797 __GI_feraiseexcept.
16798 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
16799 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
16800 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
16801 RWF_NOWAIT): Define to 0 if undefined already.
16802 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
16803 boils down to 0.
16804 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
16805 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
16806
16807 2017-09-01 Joseph Myers <joseph@codesourcery.com>
16808
16809 * manual/math.texi (pow10): Do not document.
16810 (pow10f): Likewise.
16811 (pow10l): Likewise.
16812 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
16813 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
16814 * math/libm-test-exp10.inc (pow10_test): Remove.
16815 (do_test): Do not call pow10.
16816 * math/w_exp10_compat.c (pow10): Make into compat symbol.
16817 [NO_LONG_DOUBLE] (pow10l): Likewise.
16818 * math/w_exp10f_compat.c (pow10f): Likewise.
16819 * math/w_exp10l_compat.c (pow10l): Likewise.
16820 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
16821 (pow10): Make into compat symbol.
16822 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
16823 (pow10f): Make into compat symbol.
16824 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
16825 (pow10l): Make into compat symbol.
16826 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
16827 pow10.
16828 (CFLAGS-nldbl-pow10.c): Remove variable..
16829 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
16830 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
16831 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
16832 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
16833 Undefine and redefine.
16834 (pow10l): Make into compat symbol.
16835 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
16836 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16837 * sysdeps/arm/libm-test-ulps: Likewise.
16838 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
16839 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16840 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16841 * sysdeps/microblaze/libm-test-ulps: Likewise.
16842 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16843 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16844 * sysdeps/nios2/libm-test-ulps: Likewise.
16845 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16846 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16847 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16848 * sysdeps/sh/libm-test-ulps: Likewise.
16849 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16850 * sysdeps/tile/libm-test-ulps: Likewise.
16851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16852
16853 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
16854
16855 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
16856
16857 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
16858
16859 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
16860 "../ChangeLog.old/ChangeLog.8".
16861 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
16862 "../ChangeLog.old/ChangeLog.14".
16863
16864 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
16865
16866 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
16867 Threads Library.
16868
16869 2017-09-01 Joseph Myers <joseph@codesourcery.com>
16870
16871 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
16872
16873 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
16874
16875 * csu/version.c (banner): Remove "by Roland McGrath et al.".
16876 * nptl/Banner: Remove "by Ulrich Drepper et al.".
16877
16878 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
16879
16880 * stdlib/tst-atexit-common.c (do_test): Test support for at least
16881 32 atexit handlers.
16882
16883 2017-09-01 Zack Weinberg <zackw@panix.com>
16884
16885 * math/math.h (HUGE_VAL): Improve commentary.
16886
16887 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16888 Andreas Schwab <schwab@suse.de>
16889
16890 [BZ #21530]
16891 * include/stdio.h (__gen_tempfd): New function.
16892 * stdio-common/Makefile (routines): Add gentempfd.
16893 * stdio-common/gentempfd.c: New file.
16894 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
16895 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
16896 unnamed file first.
16897
16898 2017-09-01 Florian Weimer <fweimer@redhat.com>
16899
16900 [BZ #21915]
16901 [BZ #21922]
16902 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
16903 result to determine success or failure, not the errno value.
16904 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
16905 (tst-nss-files-hosts-erange): Link with -ldl.
16906 * nss/tst-nss-files-hosts-erange.c: New file.
16907 * nss/tst-resolv-basic.c (response): Handle nodata.example.
16908 (do_test): Add NO_DATA tests.
16909 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
16910 (do_test): Call it.
16911
16912 2017-09-01 Florian Weimer <fweimer@redhat.com>
16913
16914 [BZ #21922]
16915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
16916 coming from gethostbyname2_r.
16917
16918 2017-09-01 Florian Weimer <fweimer@redhat.com>
16919
16920 * support/namespace.h (struct support_chroot_configuration): Add
16921 hosts, host_conf.
16922 (struct support_chroot): Add path_hosts, path_host_conf.
16923 * support/support_chroot.c (write_file): New function.
16924 (support_chroot_create): Call it to process /etc/resolv.conf,
16925 /etc/hosts, /etc/host.conf.
16926 (support_chroot_free): Update.
16927
16928 2017-09-01 Florian Weimer <fweimer@redhat.com>
16929
16930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
16931 status indicates it is set.
16932
16933 2017-09-01 Florian Weimer <fweimer@redhat.com>
16934
16935 [BZ #20532]
16936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
16937 function lookup failures more reliable.
16938
16939 2017-09-01 Florian Weimer <fweimer@redhat.com>
16940
16941 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
16942 (getcanonname): Likewise.
16943 (gaih_inet): Likewise.
16944
16945 2017-09-01 Florian Weimer <fweimer@redhat.com>
16946
16947 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
16948 (getcanonname): Likewise.
16949 (gaih_inet): Likewise.
16950
16951 2017-08-31 Steve Ellcey <sellcey@cavium.com>
16952 Richard Henderson <rth@twiddle.net>
16953
16954 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
16955 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
16956 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
16957 (IREG_SIZE, OREG_SIZE): New macros.
16958 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
16959 (IREG_SIZE, OREG_SIZE): New macros.
16960 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
16961 (IREG_SIZE): New macro.
16962 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
16963 (IREG_SIZE): New macro.
16964 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
16965 New includes.
16966 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
16967 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
16968 (__CONCATX): Handle exceptions correctly on large values that may
16969 set FE_INVALID.
16970 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
16971 Initialize if not already set.
16972 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
16973
16974 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16975
16976 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
16977 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
16978 Likewise.
16979 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
16980 Likewise.
16981 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
16982 Likewise.
16983 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
16984 Likewise.
16985 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
16986 Likewise.
16987 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
16988 Likewise.
16989 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
16990 Likewise.
16991 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
16992 (NO_CANCELLATION): Likewise.
16993 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
16994 Likewise.
16995 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
16996 Likewise.
16997 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
16998 Likewise.
16999 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
17000 (NO_CANCELLATION): Likewise.
17001 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
17002 (NO_CANCELLATION): Likewise.
17003 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
17004 Likewise
17005 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
17006 Likewise.
17007 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
17008 Likewise.
17009 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
17010 Likewise.
17011 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
17012 hidden prototype.
17013 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
17014 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
17015
17016 2017-08-31 Steve Ellcey <sellcey@cavium.com>
17017
17018 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
17019 in resolver call.
17020
17021 2017-08-31 Florian Weimer <fweimer@redhat.com>
17022
17023 * include/libc-symbols.h (internal_function): Remove.
17024
17025 2017-08-31 Florian Weimer <fweimer@redhat.com>
17026
17027 * stdlib/fmtmsg.c (internal_addseverity): Remove
17028 internal_function.
17029
17030 2017-08-31 Florian Weimer <fweimer@redhat.com>
17031
17032 * stdio-common/printf_fp.c (group_number): Remove
17033 internal_function.
17034 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
17035
17036 2017-08-31 Florian Weimer <fweimer@redhat.com>
17037
17038 * posix/fnmatch.c (internal_function): Remove definition.
17039 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
17040 * posix/regcomp.c (peek_token, init_word_char)
17041 (duplicate_node_closure, fetch_token, peek_token)
17042 (peek_token_bracket, build_range_exp, build_collating_symbol):
17043 Likewise.
17044 * posix/regex_internal.c (re_string_construct_common)
17045 (create_ci_newstate, create_cd_newstate, re_string_allocate)
17046 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
17047 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
17048 (re_string_translate_buffer, re_string_reconstruct)
17049 (re_string_peek_byte_case, re_string_fetch_byte_case)
17050 (re_string_destruct, re_string_context_at, re_node_set_alloc)
17051 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
17052 (re_node_set_add_intersect, re_node_set_init_union)
17053 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
17054 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
17055 (re_dfa_add_node, calc_state_hash, re_acquire_state)
17056 (re_acquire_state_context): Likewise.
17057 * posix/regex_internal.h (internal_function): Remove definition.
17058 (re_string_realloc_buffers, build_wcs_buffer)
17059 (build_wcs_upper_buffer, build_upper_buffer)
17060 (re_string_translate_buffer, re_string_context_at)
17061 (re_string_char_size_at, re_string_wchar_at)
17062 (re_string_elem_size_at): Likewise.
17063 * posix/regexec.c (match_ctx_init, match_ctx_clean)
17064 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
17065 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
17066 (re_search_internal, re_search_2_stub, re_search_stub)
17067 (re_copy_regs, prune_impossible_nodes, check_matching)
17068 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
17069 (free_fail_stack_return, sift_states_iter_mb)
17070 (sift_states_backward, build_sifted_states)
17071 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
17072 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
17073 (check_subexp_limits, sift_states_bkref, merge_state_array)
17074 (find_recover_state, transit_state, merge_state_with_log)
17075 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
17076 (transit_state_mb, transit_state_bkref, get_subexp)
17077 (get_subexp_sub, find_subexp_node, check_arrival)
17078 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
17079 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
17080 (check_node_accept_bytes, find_collation_sequence_value)
17081 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
17082 (acquire_init_state_context, check_halt_node_context)
17083 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
17084 (sub_epsilon_src_nodes): Likewise.
17085 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
17086 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
17087 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
17088 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
17089 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
17090 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
17091 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
17092 * sysdeps/posix/ttyname.c (getttyname): Likewise.
17093 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17094 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
17095 (PREADV): Likewise.
17096 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
17097 (PREADV): Likewise.
17098 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
17099 (PWRITEV): Likewise.
17100 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
17101 (PWRITEV): Likewise.
17102 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
17103 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
17104
17105 2017-08-31 Florian Weimer <fweimer@redhat.com>
17106
17107 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
17108 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
17109 Remove internal_function.
17110 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17111 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
17112 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
17113 (__deallocate_stack, __libc_pthread_init)
17114 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
17115 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
17116 (__libc_disable_asynccancel, __librt_disable_asynccancel):
17117 Likewise.
17118 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
17119 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
17120 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
17121 Likewise.
17122 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
17123 (__pthread_mutex_unlock_usercnt): Likewise.
17124
17125 2017-08-31 Florian Weimer <fweimer@redhat.com>
17126
17127 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
17128 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
17129 (fts_safe_changedir): Remove internal_function.
17130 * io/ftw.c (internal_function): Remove definition.
17131 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
17132
17133 2017-08-31 Florian Weimer <fweimer@redhat.com>
17134
17135 * inet/deadline.c (__deadline_current_time)
17136 (__deadline_from_timeval, __deadline_to_ms): Remove
17137 internal_function.
17138 * inet/getnameinfo.c (nrl_domainname): Likewise.
17139 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
17140 * inet/inet6_option.c (add_pad): Likewise.
17141 * inet/net-internal.h (__deadline_current_time)
17142 (__deadline_from_timeval, __deadline_to_ms): Likewise.
17143 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
17144 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
17145 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
17146
17147 2017-08-31 Joseph Myers <joseph@codesourcery.com>
17148
17149 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
17150 include <bits/nan.h>.
17151 * math/Makefile (headers): Remove bits/nan.h.
17152 * bits/nan.h: Remove.
17153 * sysdeps/ieee754/bits/nan.h: Likewise.
17154 * sysdeps/mips/bits/nan.h: Likewise.
17155
17156 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
17157 not include <bits/inf.h>.
17158 * math/Makefile (headers): Remove bits/inf.h.
17159 * bits/inf.h: Remove.
17160 * sysdeps/ieee754/bits/inf.h: Likewise.
17161
17162 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
17163 bits/huge_vall.h or bits/huge_val_flt128.h.
17164 (HUGE_VAL): Define directly here.
17165 [__USE_ISOC99] (HUGE_VALF): Likewise.
17166 [__USE_ISOC99] (HUGE_VALL): Likewise.
17167 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
17168 (HUGE_VAL_F128): Likewise.
17169 * math/Makefile (headers): Remove bits/huge_val.h,
17170 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
17171 * bits/huge_val.h: Remove.
17172 * bits/huge_val_flt128.h: Likewise.
17173 * bits/huge_valf.h: Likewise.
17174 * bits/huge_vall.h: Likewise.
17175 * sysdeps/ia64/bits/huge_vall.h: Likewise.
17176 * sysdeps/ieee754/bits/huge_val.h: Likewise.
17177 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
17178 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
17179 * sysdeps/sh/bits/huge_val.h: Likewise.
17180 * sysdeps/sparc/bits/huge_vall.h: Likewise.
17181 * sysdeps/x86/bits/huge_vall.h: Likewise.
17182
17183 2017-08-31 Florian Weimer <fweimer@redhat.com>
17184
17185 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
17186 internal_function.
17187 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
17188 Likewise.
17189 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
17190 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17191 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
17192 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
17193 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17194 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17195 * elf/dl-libc.c (dlerror_run): Likewise.
17196 * elf/dl-load.c (add_name_to_object, decompose_rpath)
17197 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
17198 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
17199 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
17200 Likewise.
17201 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
17202 (_dl_higher_prime_number, _dl_strtoul): Likewise.
17203 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
17204 * elf/dl-profile.c (_dl_start_profile): Likewise.
17205 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
17206 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
17207 Likewise.
17208 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
17209 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
17210 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
17211 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
17212 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
17213 (_dl_allocate_tls_storage): Likewise.
17214 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
17215 (_dl_check_all_versions): Likewise.
17216 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
17217 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
17218 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
17219 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
17220 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
17221 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
17222 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
17223 internal_function from __dl_start.
17224 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
17225 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
17226 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
17227 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
17228 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
17229 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
17230 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
17231 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
17232 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
17233 (_dl_next_ld_env_entry, _dl_important_hwcaps)
17234 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
17235 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
17236 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
17237 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
17238 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
17239 Likewise.
17240 (struct rtld_global_ro): Remove internal_function from the
17241 _dl_lookup_symbol_x member.
17242 (_dl_symbol_value): Remove. No longer defined anywhere.
17243 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
17244 internal_function.
17245 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
17246 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17247 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
17248 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
17249 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
17250 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
17251 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
17252 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
17253 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
17254 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
17255 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
17256 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17257
17258 2017-08-31 Florian Weimer <fweimer@redhat.com>
17259
17260 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
17261 Remove internal_function.
17262 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
17263 Likewise.
17264 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
17265 Likewise.
17266
17267 2017-08-31 Florian Weimer <fweimer@redhat.com>
17268
17269 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
17270 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
17271 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
17272
17273 2017-08-31 Florian Weimer <fweimer@redhat.com>
17274
17275 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
17276 (__gai_enqueue_request): Remove internal_function.
17277 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
17278 (__gai_remove_request, __gai_notify, __gai_notify_only)
17279 (__gai_sigqueue): Likewise.
17280 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
17281 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
17282 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
17283 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17284 Likewise.
17285
17286 2017-08-31 Florian Weimer <fweimer@redhat.com>
17287
17288 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
17289 * include/dirent.h (__opendirat, __getdents, __getdents64)
17290 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
17291 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
17292 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
17293 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
17294 Likewise.
17295 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
17296
17297 2017-08-31 Florian Weimer <fweimer@redhat.com>
17298
17299 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
17300 internal_function.
17301 (GETCWD_RETURN_TYPE): Likewise.
17302
17303 2017-08-31 Florian Weimer <fweimer@redhat.com>
17304
17305 * include/time.h (__tz_compute, __strptime_internal): Remove
17306 internal_function.
17307 * time/strptime_l.c (__strptime_internal): Likewise.
17308 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
17309
17310 2017-08-31 Florian Weimer <fweimer@redhat.com>
17311
17312 * iconv/gconv.c (__gconv): Remove internal_function.
17313 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
17314 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
17315 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
17316 (__gconv_release_cache): Likewise.
17317 * iconv/gconv_close.c (__gconv_close): Likewise.
17318 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
17319 (read_conf_file, __gconv_get_path): Likewise.
17320 * iconv/gconv_db.c (derivation_lookup, add_derivation)
17321 (__gconv_release_step, gen_steps, increment_counter)
17322 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
17323 (__gconv_close_transform, free_modules_db): Likewise.
17324 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
17325 Likewise.
17326 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
17327 (__gconv_find_transform, __gconv_lookup_cache)
17328 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
17329 (__gconv_close_transform, __gconv_release_cache)
17330 (__gconv_loaded_object, __gconv_release_shlib)
17331 (__gconv_compare_alias): Likewise.
17332 * iconv/gconv_open.c (__gconv_open): Likewise.
17333 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
17334 * iconv/iconvconfig.c (add_module): Likewise.
17335 * intl/dcigettext.c (plural_lookup, guess_category_value)
17336 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
17337 * intl/eval-plural.h (plural_eval): Likewise.
17338 * intl/finddomain.c (_nl_find_domain): Likewise.
17339 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
17340 (_nl_load_domain, _nl_find_msg): Likewise.
17341 (internal_function): Remove definition.
17342 * intl/loadinfo.h (internal_function): Likewise.
17343 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
17344 internal_function.
17345 * intl/localealias.c (internal_function): Remove definition.
17346 (read_alias_file): Remove internal_function.
17347 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
17348 * intl/plural-exp.h (internal_function): Remove definition.
17349 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
17350 internal_function.
17351 * intl/plural.c: Regenerate.
17352 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
17353 * locale/coll-lookup.c (__collidx_table_lookup)
17354 (__collseq_table_lookup): Likewise.
17355 * locale/coll-lookup.h (__collidx_table_lookup)
17356 (__collseq_table_lookup): Likewise.
17357 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
17358 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17359 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
17360 (_nl_unload_locale): Likewise.
17361 * locale/localeinfo.h (struct __locale_data): Remove
17362 internal_function from cleanup member.
17363 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
17364 (_nl_remove_locale, _nl_load_locale_from_archive)
17365 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
17366 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
17367 (_nl_cleanup_time): Remove internal_function.
17368 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
17369 (_nl_parse_alt_digit): Likewise.
17370 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
17371 (_nl_select_era_entry): Likewise.
17372 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
17373 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
17374 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
17375 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
17376 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
17377
17378 2017-08-31 Florian Weimer <fweimer@redhat.com>
17379
17380 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
17381 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
17382 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
17383 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
17384 Likewise.
17385 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
17386 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
17387 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
17388 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
17389 Likewise.
17390 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
17391
17392 2017-08-31 Florian Weimer <fweimer@redhat.com>
17393
17394 * misc/getttyent.c (skip, value): Remove internal_function.
17395 * misc/syslog.c (openlog_internal): Likewise.
17396 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
17397
17398 2017-08-31 Florian Weimer <fweimer@redhat.com>
17399
17400 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
17401 (__nss_rewrite_field): Remove internal_function.
17402 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17403 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
17404 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17405 * nss/nsswitch.c (nss_parse_file, nss_getline)
17406 (nss_parse_service_list, nss_new_service): Likewise.
17407 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
17408 * nss/valid_field.c (__nss_valid_field): Likewise.
17409 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17410
17411 2017-08-31 Florian Weimer <fweimer@redhat.com>
17412
17413 * malloc/arena.c (__malloc_fork_lock_parent)
17414 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
17415 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
17416 internal_function from defintions.
17417 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
17418 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
17419 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
17420 internal_function from declarations.
17421 * malloc/malloc.c (internal_function): Do not define.
17422 (mem2mem_check): Remove internal_function from declaration.
17423 (munmap_chunk, mremap_chunk): Remove internal_function.
17424 * malloc/mtrace.c (tr_where): Likewise.
17425
17426 2017-08-31 Florian Weimer <fweimer@redhat.com>
17427
17428 * include/rpc/pmap_clnt.h (__get_socket): Remove
17429 internal_function.
17430 * sunrpc/auth_des.c (synchronize): Likewise.
17431 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
17432 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
17433 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
17434 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
17435 (key_call): Likewise.
17436 * sunrpc/pm_getport.c (__get_socket): Likewise.
17437 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
17438 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
17439 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
17440 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
17441 (invalidate): Likewise.
17442 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
17443 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
17444 (set_input_fragment, get_input_bytes): Likewise.
17445
17446 2017-08-31 Florian Weimer <fweimer@redhat.com>
17447
17448 * malloc/malloc.c (_int_free): Remove locked variable and related
17449 asserts.
17450
17451 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
17452
17453 [BZ #22051]
17454 * Makerules (build-module-helper-objlist): Filter out
17455 $(elf-objpfx)sofini.os.
17456 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
17457 needed.
17458
17459 2017-08-31 Florian Weimer <fweimer@redhat.com>
17460
17461 * libio/fcloseall.c: Assume weak_alias is defined.
17462 * libio/feof.c: Likewise.
17463 * libio/fileno.c: Likewise.
17464 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
17465 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
17466 definitions.
17467 (_IO_file_open): Call __open directly.
17468 (_IO_new_file_sync): Assume ESPIPE is defined.
17469 (_IO_file_seekoff_maybe_mmap): Call __read directly.
17470 (_IO_new_file_write): Call __write directly.
17471 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
17472 * libio/ftello64.c (__ftello64): Assume EIO is defined.
17473 * libio/genops.c: Assume _LIBC is defined.
17474 (save_for_backup): Remove internal_function.
17475 * libio/getc.c: Assume weak_alias is defined.
17476 * libio/getwc.c: Likewise.
17477 * libio/iofclose.c: Assume _LIBC is defined.
17478 * libio/iofdopen.c: Likewise.
17479 (_IO_fcntl): Remove macro definition.
17480 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
17481 Call __fcntl directly.
17482 * libio/iofflush.c: Assume weak_alias is defined.
17483 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
17484 defined.
17485 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
17486 * libio/iofgets.c: Likewise.
17487 * libio/iofopen.c: Assume _LIBC is defined.
17488 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
17489 * libio/iofputs.c: Assume weak_alias is defined.
17490 * libio/iofread.c: Likewise.
17491 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
17492 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17493 * libio/ioftell.c: Assume weak_alias is defined.
17494 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
17495 * libio/iofwide.c: Assume _LIBC is defined.
17496 (_IO_fwide): Drop SHARED conditional because it is implied by
17497 SHLIB_COMPAT.
17498 * libio/iofwrite.c: Assume weak_alias is defined.
17499 * libio/iogetdelim.c: Likewise.
17500 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
17501 * libio/iogetwline.c (wmemcpy): Remove macro definition.
17502 (_IO_getwline): Call __wmemcpy directly.
17503 * libio/iopopen.c: Assume _LIBC is defined.
17504 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
17505 (_IO_close): Remove macro definitions.
17506 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
17507 _exit directly.
17508 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
17509 directly.
17510 * libio/ioputs.c: Assume weak_alias is defined.
17511 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
17512 * libio/iosetbuffer.c: Assume weak_alias is defined.
17513 * libio/iosetvbuf.c: Likewise.
17514 * libio/ioungetc.c: Likewise.
17515 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
17516 libc_hidden_def, libc_hidden_weak, NULL are defined.
17517 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
17518 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
17519 defined.
17520 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
17521 definitions.
17522 (_IO_old_file_init_internal): Drop SHARED conditional because it
17523 is implied by SHLIB_COMPAT.
17524 (_IO_old_file_fopen): Call __open directly.
17525 (_IO_old_file_sync): Assume ESPIPE is defined.
17526 (_IO_old_file_write): Call __write directly.
17527 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
17528 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
17529 Call __fcntl directly.
17530 * libio/oldiofgetpos.c: Assume weak_alias is defined.
17531 (_IO_old_fgetpos): Assume EIO is defined.
17532 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
17533 (_IO_old_fgetpos64): Assume EIO is defined.
17534 * libio/oldiofsetpos.c: Assume weak_alias is defined.
17535 (_IO_old_fsetpos): Assume EIO is defined.
17536 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
17537 (_IO_old_fsetpos64): Assume EIO is defined.
17538 * libio/oldiopopen.c: Assume _LIBC is defined.
17539 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
17540 (_IO_close): Remove macro definitions.
17541 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
17542 directly.
17543 (_IO_old_proc_close): Call __close, __waitpid directly.
17544 * libio/put.c: Assume weak_alias is defined.
17545 * libio/stdfiles.c: Assume _LIBC is defined.
17546 * libio/stdio.c: Likewise.
17547 * libio/wfileops.c: Likewise.
17548 (_IO_wfile_sync): Assume ESPIPE is defined.
17549 * libio/wgenops.c: Assume _LIBC is defined.
17550 (save_for_wbackup): Remove internal_function.
17551
17552 2017-08-31 Florian Weimer <fweimer@redhat.com>
17553
17554 * malloc/malloc.c (top_check): Change return type to void. Remove
17555 internal_function.
17556 * malloc/hooks.c (top_check): Likewise.
17557 (malloc_check, realloc_check, memalign_check): Adjust.
17558
17559 2017-08-30 Joseph Myers <joseph@codesourcery.com>
17560
17561 [BZ #21457]
17562 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
17563 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
17564 sigcontext and namespace requirements.
17565 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
17566 * sysdeps/m68k/sys/ucontext.h: Likewise.
17567 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
17568 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
17569 <bits/sigcontext.h>.
17570 (__ctx): Define earlier.
17571 (mcontext_t): Define structure contents rather than using struct
17572 sigcontext.
17573 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
17574 __glibc_reserved1 instead of __reserved.
17575 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
17576 <bits/sigcontext.h>.
17577 (__ctx): Define earlier.
17578 (mcontext_t): Define structure contents rather than using struct
17579 sigcontext.
17580 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
17581 mcontext_t instead of struct sigcontext.
17582 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
17583 <bits/sigcontext.h>.
17584 (__ctx): Define earlier.
17585 (mcontext_t): Define structure contents rather than using struct
17586 sigcontext.
17587 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
17588 <bits/sigcontext.h>.
17589 (__ctx): Define earlier.
17590 (mcontext_t): Define structure contents rather than using struct
17591 sigcontext.
17592 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
17593 mcontext_t instead of struct sigcontext.
17594 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
17595 mcontext_t instead of struct sigcontext.
17596 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
17597 <bits/sigcontext.h>.
17598 (__ctx): New macro.
17599 (struct __ia64_fpreg_mcontext): New type.
17600 (mcontext_t): Define structure contents rather than using struct
17601 sigcontext.
17602 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
17603 (uc_sigmask): Define using __ctx.
17604 (uc_stack): Likewise.
17605 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
17606 <bits/sigcontext.h>.
17607 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17608 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
17609 <bits/sigcontext.h>.
17610 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
17611 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
17612 <bits/sigcontext.h>.
17613 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
17614 <bits/sigcontext.h>.
17615 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
17616 <bits/sigcontext.h>.
17617 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
17618 <bits/sigcontext.h>.
17619 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
17620 <bits/sigcontext.h>.
17621 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
17622 <bits/sigcontext.h>.
17623 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
17624 <bits/sigcontext.h>.
17625 (__ctx): Define earlier.
17626 (mcontext_t): Define structure contents rather than using struct
17627 sigcontext.
17628 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
17629 <bits/sigcontext.h>. Include <bits/types.h>.
17630 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
17631 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
17632 (test-xfail-XPG42/ucontext.h/conform): Likewise.
17633 (test-xfail-UNIX98/signal.h/conform): Likewise.
17634 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17635 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17636 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17637 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17638 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17639 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17640 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17641 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17642 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17643
17644 2017-08-30 Florian Weimer <fweimer@redhat.com>
17645
17646 * malloc/dynarray_emplace_enlarge.c
17647 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
17648 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
17649 * malloc/tst-dynarray.c (test_long_overflow): New function.
17650 (do_test): Call it.
17651
17652 2017-08-30 Florian Weimer <fweimer@redhat.com>
17653
17654 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
17655 (set_arena_corrupt): Remove definitions.
17656 (mtrim): Do not check for corrupt arena.
17657 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
17658 Likewise.
17659
17660 2017-08-30 Florian Weimer <fweimer@redhat.com>
17661
17662 [BZ #21754]
17663 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
17664 check_action.
17665 (ptmalloc_init): Do not set or use check_action.
17666 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
17667 call to malloc_printerr. Remove return statement.
17668 (free_check): Likewise. Remove arena unlock.
17669 (top_check): Update comment. Adjust call to malloc_printerr.
17670 Remove heap repair code.
17671 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
17672 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
17673 (sysmalloc): Adjust call to malloc_printerr.
17674 (munmap_chunk, __libc_realloc): Likewise. Remove return
17675 statement.
17676 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
17677 Remove errout label and corresponding gotos.
17678 (_int_free): Likewise. Remove arena unlock.
17679 (do_set_mallopt_check): Do not set check_action.
17680 (malloc_printerr): Adjust parameter list. Do not mark arena as
17681 corrupt.
17682 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
17683 comment.
17684 * manual/probes.texi (Memory Allocation Probes): Remove
17685 memory_mallopt_check_action.
17686
17687 2017-08-30 Steve Ellcey <sellcey@cavium.com>
17688
17689 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
17690 Use pointer to uint64_t instead of long int for sp.
17691
17692 2017-08-30 Florian Weimer <fweimer@redhat.com>
17693
17694 [BZ #21754]
17695 * malloc/malloc.c (malloc_printerr): Always terminate the process,
17696 without printing a backtrace. Do not leak any information in the
17697 error message.
17698 * manual/memory.texi (Heap Consistency Checking): Update.
17699 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
17700
17701 2017-08-30 Florian Weimer <fweimer@redhat.com>
17702
17703 Do not scale NPTL tests with available number of CPUs.
17704 * nptl/tst-cond16.c (count): Set to constant value of 8.
17705 * nptl/tst-cond18.c (count): Likewise.
17706
17707 2017-08-29 Joseph Myers <joseph@codesourcery.com>
17708
17709 [BZ #22035]
17710 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
17711 Define to take a second argument that is a macro that
17712 concatentates a suffix, not the suffix itself.
17713 (__CONCAT_d): New macro.
17714 (__CONCAT_f): Likewise.
17715 (__CONCAT_l): Likewise.
17716
17717 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
17718
17719 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
17720 by child.
17721
17722 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17723 Aurelien Jarno <aurelien@aurel32.net>
17724 Maciej W. Rozycki <macro@imgtec.com>
17725
17726 [BZ #21956]
17727 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
17728 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
17729 `mips16-syscall6' and `mips16-syscall7'.
17730 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
17731 (CFLAGS-mips16-syscall7.c): Remove.
17732 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
17733 Remove `__mips16_syscall5', `__mips16_syscall6' and
17734 `__mips16_syscall7'.
17735 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
17736 (__mips16_syscall0): Rename `__mips16_syscall_return' to
17737 `__mips_syscall_return'.
17738 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
17739 (__mips16_syscall1): Likewise.
17740 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
17741 (__mips16_syscall2): Likewise.
17742 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
17743 (__mips16_syscall3): Likewise.
17744 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
17745 (__mips16_syscall4): Likewise.
17746 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
17747 Remove.
17748 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
17749 Remove.
17750 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
17751 Remove.
17752 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
17753 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
17754 `__mips16_syscall5'. Remove prototype.
17755 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
17756 `__mips16_syscall6'. Remove prototype.
17757 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
17758 `__mips16_syscall7'. Remove prototype.
17759 (__nomips16, __mips16_syscall_return): Move to...
17760 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
17761 (__nomips16, __mips_syscall_return): ... here.
17762 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
17763 `__mips16_syscall_return' to `__mips_syscall_return'.
17764 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
17765 `internal_syscall##nr'.
17766 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
17767 `internal_syscall##nr'.
17768 (FORCE_FRAME_POINTER): Remove.
17769 (__mips_syscall5): New prototype.
17770 (internal_syscall5): Rewrite to call `__mips_syscall5'.
17771 (__mips_syscall6): New prototype.
17772 (internal_syscall6): Rewrite to call `__mips_syscall6'.
17773 (__mips_syscall7): New prototype.
17774 (internal_syscall7): Rewrite to call `__mips_syscall7'.
17775 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
17776 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
17777 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
17778 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
17779 (sysdep_routines): Add libc-do-syscall.
17780 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
17781 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
17782
17783 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17784
17785 [BZ #21672]
17786 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
17787 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
17788 (advise_stack_range): New function.
17789 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
17790 stack non required to advise_stack_range at allocatestack.c
17791
17792 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
17793
17794 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
17795
17796 2017-08-29 Florian Weimer <fweimer@redhat.com>
17797
17798 [BZ #22026]
17799 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
17800 __end_fct. Mangle __end_fct after setting it to NULL.
17801 * iconv/Makefile (tests): Add tst-gconv-init-failure.
17802 (modules-names, modules-names-tests): Add
17803 tst-gconv-init-failure-mod.
17804 (gconv-modules): New target.
17805 (tst-gconv-init-failure-mod.so): Link against libsupport.
17806 (tst-gconv-init-failure): Depend on gconv-modules,
17807 tst-gconv-init-failure-mod.so.
17808 * iconv/tst-gconv-init-failure-mod.c: New file.
17809 * iconv/tst-gconv-init-failure.c: Likewise.
17810 * iconv/test-gconv-modules: Likewise.
17811
17812 2017-08-29 Florian Weimer <fweimer@redhat.com>
17813
17814 [BZ #22025]
17815 * iconv/gconv_db.c (free_derivation): Remove redundant
17816 parentheses.
17817 (gen_steps): Unconditionally mangle __btowc_fct after
17818 initialization.
17819 (increment_counter): Likewise. Do not call init_fct for internal
17820 modules.
17821
17822 2017-08-29 Joseph Myers <joseph@codesourcery.com>
17823
17824 [BZ #22028]
17825 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
17826 (_MSUF_): Remove macro.
17827 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
17828 Likewise.
17829 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
17830 (__REDIRFROM_X): New macro.
17831 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
17832 Likewise.
17833 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
17834 (__REDIRTO_X): Likewise.
17835 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
17836 arguments.
17837 (__MATH_REDIRCALL_2): Likewise.
17838 (__MATH_REDIRCALL_INTERNAL): Likewise.
17839 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
17840 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
17841 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
17842 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
17843 * math/test-finite-macros.c: New file.
17844 * math/Makefile (tests): Add test-finite-macros.
17845 (CFLAGS-test-finite-macros.c): New variable.
17846
17847 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
17848 Jeff Law <law@redhat.com>
17849
17850 [BZ #22025]
17851 Mangle NULL pointers in iconv/gconv.
17852 * iconv/gconv_cache.c (find_module): Demangle init_fct before
17853 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
17854 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
17855 is non-NULL before demangling the end_fct. Check for NULL
17856 end_fct after demangling.
17857 (__gconv_release_step): Demangle the end_fct before checking
17858 it for NULL. Remove assert on __shlibc_handle != NULL.
17859 (gen_steps): Don't check btowc_fct for NULL before mangling.
17860 Demangle init_fct before checking for NULL.
17861 (increment_counter): Likewise.
17862 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
17863 end_fct for NULL before mangling.
17864 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
17865 for NULL.
17866
17867 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
17868
17869 [BZ #21971]
17870 * locale/iso-639.def: add Morisyen.
17871
17872 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17873
17874 [BZ #21930]
17875 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
17876 (iszero): New C++ implementation that does not use
17877 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
17878 signaling nans are enabled, since __builtin_types_compatible_p
17879 is a C-only feature.
17880 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
17881 defined, include ieee754_float128.h for access to the union and
17882 member ieee854_float128.ieee.
17883 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
17884 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
17885 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
17886 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
17887 options of test-math-zero on powerpc64le.
17888
17889 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
17890
17891 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
17892 Change double to float.
17893
17894 2017-08-28 Joseph Myers <joseph@codesourcery.com>
17895
17896 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
17897 unconditional.
17898 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
17899 conditional code; define contents only for [LIBM_SVID_COMPAT].
17900
17901 2017-08-28 Florian Weimer <fweimer@redhat.com>
17902
17903 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
17904 (abi-lp64_be-options): Remove.
17905 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
17906 (abi-hard-options): Likewise.
17907 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
17908 (abi-o32_hard-options, abi-o32_soft_2008-options)
17909 (abi-o32_hard_2008-options, abi-n32_soft-options)
17910 (abi-n32_hard-options, abi-n32_soft_2008-options)
17911 (abi-n32_hard_2008-options, abi-n64_soft-options)
17912 (abi-n64_hard-options, abi-n64_soft_2008-options)
17913 (abi-n64_hard_2008-options): Likewise.
17914 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
17915 (abi-64-v1-options, abi-64-v2-options): Likewise.
17916 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
17917 (abi-64-options): Likewise.
17918 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
17919 (abi-64-options): Likewise.
17920 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
17921 (abi-64-options): Likewise.
17922 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
17923 (abi-64-options, abi-x32-options): Likewise.
17924
17925 2017-08-28 Florian Weimer <fweimer@redhat.com>
17926
17927 Store supported list of SYS_* system calls in the source tree.
17928 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
17929 (bits/syscall.h): Generate from list file.
17930 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
17931 [$(subdir) = misc] (tests): Add tst-syscall-list.
17932 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
17933 [$(subdir) = misc] (tst-syscall-list-macros.list)
17934 [$(subdir) = misc] (tst-syscall-list-nr.list)
17935 (tst-syscall-list-sys.list): Helper targets for new
17936 tst-syscall-list test.
17937 [$(subdir) = misc] (tst-syscall-list.out): Run test script
17938 tst-syscall-list.sh.
17939 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
17940 target. Do not include bits/syscall.d.
17941 [$(subdir) = misc] (generated): Do not update.
17942 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
17943 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
17944 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
17945 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
17946
17947 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17948
17949 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
17950 (tst-cxa_atexit, tst-on_exit): Likewise.
17951 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
17952 tst-cxa_atexit, and tst-on_exit.
17953 * stdlib/tst-atexit-common.c: New file.
17954 * stdlib/tst-atexit.c: New file.
17955 * stdlib/tst-at_quick_exit.c: New file.
17956 * stdlib/tst-cxa_atexit.c: New file.
17957 * stdlib/tst-on_exit.c: New file.
17958
17959 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17960
17961 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
17962 * mach/stack_chk_fail_local.c: New file.
17963 * hurd/stack_chk_fail_local.c: New file.
17964 * mach/Machrules ($(interface-library)-routines): Add
17965 stack_chk_fail_local.
17966 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
17967 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
17968 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
17969 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
17970 * hurd/Makefile (CFLAGS-hurdstartup.o,
17971 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
17972
17973 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
17974
17975 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
17976 (index_cpu_*, index_arch_*): Removed.
17977
17978 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
17979
17980 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
17981 Use uint64_t instead of unsigned long.
17982
17983 2017-08-25 Joseph Myers <joseph@codesourcery.com>
17984
17985 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
17986 [__HAVE_DISTINCT_FLOAT128].
17987
17988 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
17989 of <bits/math-finite.h>.
17990 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
17991 inclusion of <bits/math-finite.h>.
17992 * math/bits/math-finite.h (__REDIRTO_X): Do not define
17993 conditionally on [__MATH_DECLARING_LDOUBLE && defined
17994 __NO_LONG_DOUBLE_MATH].
17995 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
17996 (__MATH_REDIRCALL_2): Likewise.
17997 (__MATH_REDIRCALL_INTERNAL): Likewise.
17998 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
17999 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
18000 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
18001
18002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
18003 Remove file.
18004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
18005 Likewise.
18006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
18007 Likewise.
18008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
18009 Likewise.
18010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
18011 Likewise.
18012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
18013 Likewise.
18014 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
18015 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
18016 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
18017 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
18018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
18019 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
18020 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
18021 w_sqrtf_compat-ppc32.
18022
18023 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18024
18025 * math/math.h [defined __cplusplus] (issignaling): In the long
18026 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
18027 is not defined. Call __issignaling, otherwise.
18028
18029 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18030
18031 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
18032 syscall definitions and replace __builtin_expect with __glibc_likely.
18033 * sysdeps/unix/syscall-template.S: Update comment about cancellable
18034 syscall.
18035 (SYSCALL_CANCELLABLE): Removedefinition
18036 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
18037 definition.
18038 (PSEUDO_END): Likewise.
18039 [IS_IN (libpthread)] (CENABLE): Likewise.
18040 [IS_IN (libpthread)] (CDISABLE): Likewise.
18041 [IS_IN (libc)] (CENABLE): Likewise.
18042 [IS_IN (libc)] (CENABLE): Likewise.
18043 [IS_IN (librt)] (CDISABLE): Likewise.
18044 [IS_IN (librt)] (CDISABLE): Likewise.
18045 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18046 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
18047 definition.
18048 (PSEUDO_END): Likewise.
18049 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
18050 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
18051 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
18052 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
18053 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
18054 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
18055 (CENABLE): Likewise.
18056 (CDISABLE): Likewise.
18057 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18058 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
18059 defintion.
18060 (PSEUDO_END): Likewise.
18061 [IS_IN (libpthread)] (CENABLE): Likewise.
18062 [IS_IN (libpthread)] (CDISABLE): Likewise.
18063 [IS_IN (libc)] (CENABLE): Likewise.
18064 [IS_IN (libc)] (CENABLE): Likewise.
18065 [IS_IN (librt)] (CDISABLE): Likewise.
18066 [IS_IN (librt)] (CDISABLE): Likewise.
18067 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18068 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
18069 definition.
18070 (PSEUDO_END): Likewise.
18071 [IS_IN (libpthread)] (CENABLE): Likewise.
18072 [IS_IN (libpthread)] (CDISABLE): Likewise.
18073 [IS_IN (libc)] (CENABLE): Likewise.
18074 [IS_IN (libc)] (CENABLE): Likewise.
18075 [IS_IN (librt)] (CDISABLE): Likewise.
18076 [IS_IN (librt)] (CDISABLE): Likewise.
18077 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18078 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
18079 definition.
18080 (PSEUDO_END): Likewise.
18081 [IS_IN (libpthread)] (CENABLE): Likewise.
18082 [IS_IN (libpthread)] (CDISABLE): Likewise.
18083 [IS_IN (libc)] (CENABLE): Likewise.
18084 [IS_IN (libc)] (CENABLE): Likewise.
18085 [IS_IN (librt)] (CDISABLE): Likewise.
18086 [IS_IN (librt)] (CDISABLE): Likewise.
18087 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18088 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
18089 definition.
18090 (PSEUDO_END): Likewise.
18091 [IS_IN (libpthread)] (CENABLE): Likewise.
18092 [IS_IN (libpthread)] (CDISABLE): Likewise.
18093 [IS_IN (libc)] (CENABLE): Likewise.
18094 [IS_IN (libc)] (CENABLE): Likewise.
18095 [IS_IN (librt)] (CDISABLE): Likewise.
18096 [IS_IN (librt)] (CDISABLE): Likewise.
18097 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18098 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
18099 definition.
18100 (PSEUDO_END): Likewise.
18101 [IS_IN (libpthread)] (CENABLE): Likewise.
18102 [IS_IN (libpthread)] (CDISABLE): Likewise.
18103 [IS_IN (libc)] (CENABLE): Likewise.
18104 [IS_IN (libc)] (CENABLE): Likewise.
18105 [IS_IN (librt)] (CDISABLE): Likewise.
18106 [IS_IN (librt)] (CDISABLE): Likewise.
18107 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18108 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
18109 definition.
18110 (PSEUDO_END): Likewise.
18111 [IS_IN (libpthread)] (CENABLE): Likewise.
18112 [IS_IN (libpthread)] (CDISABLE): Likewise.
18113 [IS_IN (libc)] (CENABLE): Likewise.
18114 [IS_IN (libc)] (CENABLE): Likewise.
18115 [IS_IN (librt)] (CDISABLE): Likewise.
18116 [IS_IN (librt)] (CDISABLE): Likewise.
18117 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18118 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
18119 Remove definition.
18120 (PSEUDO_END): Likewise.
18121 [IS_IN (libpthread)] (CENABLE): Likewise.
18122 [IS_IN (libpthread)] (CDISABLE): Likewise.
18123 [IS_IN (libc)] (CENABLE): Likewise.
18124 [IS_IN (libc)] (CENABLE): Likewise.
18125 [IS_IN (librt)] (CDISABLE): Likewise.
18126 [IS_IN (librt)] (CDISABLE): Likewise.
18127 (SINGLE_THREAD_P): Likewise.
18128 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
18129 definition.
18130 (PSEUDO_END): Likewise.
18131 [IS_IN (libpthread)] (CENABLE): Likewise.
18132 [IS_IN (libpthread)] (CDISABLE): Likewise.
18133 [IS_IN (libc)] (CENABLE): Likewise.
18134 [IS_IN (libc)] (CENABLE): Likewise.
18135 [IS_IN (librt)] (CDISABLE): Likewise.
18136 [IS_IN (librt)] (CDISABLE): Likewise.
18137 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18138 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
18139 definition.
18140 (PSEUDO_END): Likewise.
18141 [IS_IN (libpthread)] (CENABLE): Likewise.
18142 [IS_IN (libpthread)] (CDISABLE): Likewise.
18143 [IS_IN (libc)] (CENABLE): Likewise.
18144 [IS_IN (libc)] (CENABLE): Likewise.
18145 [IS_IN (librt)] (CDISABLE): Likewise.
18146 [IS_IN (librt)] (CDISABLE): Likewise.
18147 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18148 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
18149 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18150 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
18151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
18152 definition.
18153 (PSEUDO_END): Likewise.
18154 [IS_IN (libpthread)] (CENABLE): Likewise.
18155 [IS_IN (libpthread)] (CDISABLE): Likewise.
18156 [IS_IN (libc)] (CENABLE): Likewise.
18157 [IS_IN (libc)] (CENABLE): Likewise.
18158 [IS_IN (librt)] (CDISABLE): Likewise.
18159 [IS_IN (librt)] (CDISABLE): Likewise.
18160 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18161 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
18162 definition.
18163 (PSEUDO_END): Likewise.
18164 [IS_IN (libpthread)] (CENABLE): Likewise.
18165 [IS_IN (libpthread)] (CDISABLE): Likewise.
18166 [IS_IN (libc)] (CENABLE): Likewise.
18167 [IS_IN (libc)] (CENABLE): Likewise.
18168 [IS_IN (librt)] (CDISABLE): Likewise.
18169 [IS_IN (librt)] (CDISABLE): Likewise.
18170 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18171 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
18172 definition.
18173 (PSEUDO_END): Likewise.
18174 [IS_IN (libpthread)] (CENABLE): Likewise.
18175 [IS_IN (libpthread)] (CDISABLE): Likewise.
18176 [IS_IN (libc)] (CENABLE): Likewise.
18177 [IS_IN (libc)] (CENABLE): Likewise.
18178 [IS_IN (librt)] (CDISABLE): Likewise.
18179 [IS_IN (librt)] (CDISABLE): Likewise.
18180 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18181 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
18182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18183 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
18184 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
18185 definition.
18186 (PSEUDO_END): Likewise.
18187 [IS_IN (libpthread)] (CENABLE): Likewise.
18188 [IS_IN (libpthread)] (CDISABLE): Likewise.
18189 [IS_IN (libc)] (CENABLE): Likewise.
18190 [IS_IN (libc)] (CENABLE): Likewise.
18191 [IS_IN (librt)] (CDISABLE): Likewise.
18192 [IS_IN (librt)] (CDISABLE): Likewise.
18193 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18194 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
18195 definition.
18196 (PSEUDO_END): Likewise.
18197 [IS_IN (libpthread)] (CENABLE): Likewise.
18198 [IS_IN (libpthread)] (CDISABLE): Likewise.
18199 [IS_IN (libc)] (CENABLE): Likewise.
18200 [IS_IN (libc)] (CENABLE): Likewise.
18201 [IS_IN (librt)] (CDISABLE): Likewise.
18202 [IS_IN (librt)] (CDISABLE): Likewise.
18203 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
18204
18205 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18206
18207 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
18208
18209 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
18210
18211 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18212
18213 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
18214
18215 [BZ #21982]
18216 * string/stratcliff.c (do_test): Declare size, nchars, inner,
18217 middle and outer with size_t instead of int. Repleace %d and
18218 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
18219 "MAX (outer, nchars - 64)" to support unsigned outer and
18220 nchars. Also exit loop when outer == 0.
18221
18222 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18223
18224 * include/fcntl.h (__fcntl_nocancel): Remove definition.
18225 * include/signal.h (__sigsuspend_nocancel): Likewise.
18226 * include/time.h (__nanosleep_nocancel): Likewise.
18227 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
18228 * login/utmp_file.c: Include non cancellable syscall header.
18229 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
18230 prototype.
18231
18232 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
18233
18234 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
18235 .byte sequences with AVX512F instructions.
18236 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
18237 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
18238 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18239 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
18240 Likewise.
18241 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
18242 Likewise.
18243
18244 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
18245 Steve Ellcey <sellcey@cavium.com>
18246
18247 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
18248 Use PTR_REG macro in cmp instruction.
18249
18250 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18251
18252 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
18253 Change the return type of the ifunc resolver to match the return
18254 type of the target function.
18255
18256 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18257
18258 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
18259 (preadv64): Likewise.
18260 (pwrite64(: Likewise.
18261 (pwritev64): Likewise.
18262
18263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18264 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
18265 (LOAD_ARGS_0): Likewise.
18266 (LOAD_ARGS_1): Likewise.
18267 (LOAD_ARGS_2): Likewise.
18268 (LOAD_ARGS_3): Likewise.
18269 (LOAD_ARGS_4): Likewise.
18270 (LOAD_ARGS_5): Likewise.
18271 (LOAD_ARGS_6): Likewise.
18272 (LOAD_REGS_0): Likewise.
18273 (LOAD_REGS_1): Likewise.
18274 (LOAD_REGS_2): Likewise.
18275 (LOAD_REGS_3): Likewise.
18276 (LOAD_REGS_4): Likewise.
18277 (LOAD_REGS_5): Likewise.
18278 (LOAD_REGS_6): Likewise.
18279 (ASM_ARGS_0): Likewise.
18280 (ASM_ARGS_1): Likewise.
18281 (ASM_ARGS_2): Likewise.
18282 (ASM_ARGS_3): Likewise.
18283 (ASM_ARGS_4): Likewise.
18284 (ASM_ARGS_5): Likewise.
18285 (ASM_ARGS_6): Likewise.
18286 (LOAD_ARGS_TYPES_1): Likewise.
18287 (LOAD_ARGS_TYPES_2): Likewise.
18288 (LOAD_ARGS_TYPES_3): Likewise.
18289 (LOAD_ARGS_TYPES_4): Likewise.
18290 (LOAD_ARGS_TYPES_5): Likewise.
18291 (LOAD_ARGS_TYPES_6): Likewise.
18292 (LOAD_REGS_TYPES_1): Likewise.
18293 (LOAD_REGS_TYPES_2): Likewise.
18294 (LOAD_REGS_TYPES_3): Likewise.
18295 (LOAD_REGS_TYPES_4): Likewise.
18296 (LOAD_REGS_TYPES_5): Likewise.
18297 (LOAD_REGS_TYPES_6): Likewise.
18298 (TYPEFY): New define.
18299 (ARGIFY): Likewise.
18300 (internal_syscall0): Likewise.
18301 (internal_syscall1): Likewise.
18302 (internal_syscall2): Likewise.
18303 (internal_syscall3): Likewise.
18304 (internal_syscall4): Likewise.
18305 (internal_syscall5): Likewise.
18306 (internal_syscall6): Likewise.
18307 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
18308 (INTERNAL_SYSCALL_NCS): Remove define.
18309 (internal_syscall1): Add define.
18310
18311 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18312
18313 * math/w_remainder_compat.c: Remove duplicate inclusion of
18314 math-svid-compat.h.
18315 * math/w_remainderf_compat.c: Likewise.
18316 * math/w_remainderl_compat.c: Likewise.
18317
18318 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18319
18320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18321
18322 2017-08-22 Joseph Myers <joseph@codesourcery.com>
18323
18324 [BZ #21684]
18325 * math/tgmath.h (__floating_type): Simplify definitions.
18326 (__real_integer_type): New macro.
18327 (__complex_integer_type): Likewise.
18328 (__expr_is_real): Likewise.
18329 (__tgmath_real_type_sub): Update comment to describe handling of
18330 complex types.
18331 (__tgmath_complex_type_sub): New macro.
18332 (__tgmath_complex_type): Likewise.
18333 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
18334 (__TGMATH_CF128): Use __expr_is_real.
18335 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
18336 __expr_is_real.
18337 (__TGMATH_BINARY_REAL_IMAG): Likewise.
18338 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
18339 * math/gen-tgmath-tests.py (Type.create_type): Create complex
18340 integer types.
18341
18342 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18343
18344 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
18345 macro.
18346 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
18347 alias.
18348 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
18349 Likewise.
18350
18351 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
18352 nanosleep_not_cancel with __nanosleep_nocancel.
18353 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
18354 (__nanosleep_nocancel): New macro.
18355 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
18356 function.
18357 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
18358 macro.
18359 (__nanosleep_nocancel): New prototype.
18360
18361 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
18362 pause_not_cancel with __pause_nocancel.
18363 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
18364 (__pause_nocancel): New macro.
18365 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
18366 macro.
18367 (__pause_nocancel): New prototype.
18368 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
18369
18370 2017-08-22 Martin Sebor <msebor@redhat.com>
18371
18372 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
18373 to return a pointer to the same type as the target function.
18374
18375 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
18376
18377 [BZ #18822]
18378 [BZ #21986]
18379 * include/printf.h (__printf_fphex): Add attribute_hidden.
18380 (__guess_grouping): New prototype.
18381 * stdio-common/printf_fp.c (__guess_grouping): Removed.
18382 * stdio-common/reg-printf.c (__register_printf_specifier): Add
18383 libc_hidden_proto and libc_hidden_def.
18384 * stdlib/strfmon_l.c (__guess_grouping): Removed.
18385 (__vstrfmon_l): Remove the third argument passed to
18386 __guess_grouping.
18387
18388 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18389
18390 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
18391 definition for issignaling that does not rely on __MATH_TG,
18392 since __MATH_TG uses __builtin_types_compatible_p, which is only
18393 available in C mode.
18394 (CFLAGS-test-math-issignaling.cc): New variable.
18395 * math/Makefile [CXX] (tests): Add test-math-issignaling.
18396 * math/test-math-issignaling.cc: New test for C++ implementation
18397 of type-generic issignaling.
18398 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
18399 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
18400 options of test-math-issignaling on powerpc64le.
18401
18402 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
18403
18404 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
18405 building libc.a.
18406 (hidden_proto): Likewise.
18407 (hidden_tls_proto): Likewise.
18408 (__hidden_proto): Likewise.
18409
18410 2017-08-22 Florian Weimer <fweimer@redhat.com>
18411
18412 math: Statically link tests of internal functionality.
18413 * math/Makefile (tests): Remove atest-exp, atest-sincos,
18414 atest-exp2.
18415 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
18416 (gmp-objs): Remove assignment.
18417 (atest-exp, atest-sincos, atest-exp2): Remove targets.
18418
18419 2017-08-22 Joseph Myers <joseph@codesourcery.com>
18420
18421 [BZ #21987]
18422 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
18423 and copy to ...
18424 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
18425 ... here.
18426 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
18427 ... and here.
18428
18429 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
18430 variable definitions above inclusion of ../Rules.
18431
18432 2017-08-21 Joseph Myers <joseph@codesourcery.com>
18433
18434 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
18435 case calling __builtin_unreachable.
18436
18437 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18438
18439 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
18440 __waitpid_nocancel.
18441 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
18442 (__waitpid_nocancel): New macro.
18443 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
18444 macro.
18445 (__waitpid_nocancel): Replace macro with a function.
18446 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
18447 function.
18448
18449 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
18450 __fcntl_nocancel.
18451 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
18452 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
18453
18454 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
18455 __writev_nocancel_nostatus.
18456 (write_call_graph): Likewise.
18457 (write_bb_counts): Likewise.
18458 * resolv/herror.c (herror): Likewise.
18459 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
18460 macro.
18461 (__writev_nocancel_nostatus): New macro.
18462 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
18463 Remove macro.
18464 (__writev_nocancel_nostatus): New function.
18465
18466 2017-08-21 Joseph Myers <joseph@codesourcery.com>
18467
18468 Revert:
18469 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
18470
18471 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
18472 building libc.a.
18473 (hidden_proto): Likewise.
18474 (hidden_tls_proto): Likewise.
18475 (__hidden_proto): Likewise.
18476
18477 [BZ #21973]
18478 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
18479 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
18480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
18481 Likewise.
18482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
18483 Likewise.
18484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
18485 Likewise.
18486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
18487 Likewise.
18488 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
18489 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
18490 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
18491 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
18492 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18493 GLIBC_2.0 sqrtl symbol.
18494
18495 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
18496 [__USE_MISC] (_LIB_VERSION): Likewise.
18497 [__USE_MISC] (struct exception): Likewise.
18498 [__USE_MISC] (matherr): Likewise.
18499 [__USE_MISC] (DOMAIN): Likewise.
18500 [__USE_MISC] (SING): Likewise.
18501 [__USE_MISC] (OVERFLOW): Likewise.
18502 [__USE_MISC] (UNDERFLOW): Likewise.
18503 [__USE_MISC] (TLOSS): Likewise.
18504 [__USE_MISC] (PLOSS): Likewise.
18505 [__USE_MISC] (HUGE): Likewise.
18506 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
18507 * math/math-svid-compat.h: New file.
18508 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
18509 and matherrl.
18510 * include/math.h [!_ISOMAC] (__matherr): Remove.
18511 * manual/arith.texi (FP Exceptions): Do not document matherr.
18512 * math/Makefile (tests): Change test-matherr to test-matherr-3.
18513 (tests-internal): New variable.
18514 (install-lib): Do not add libieee.a.
18515 (non-lib.a): Likewise.
18516 (extra-objs): Do not add libieee.a and ieee-math.o.
18517 (CPPFLAGS-s_lib_version.c): Remove variable.
18518 ($(objpfx)libieee.a): Remove rule.
18519 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
18520 * math/ieee-math.c: Remove.
18521 * math/libm-test-support.c (matherr): Remove.
18522 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
18523 and license notices. Include <math-svid-compat.h> and
18524 <shlib-compat.h>.
18525 (matherr): Undefine as macro. Use compat_symbol_reference.
18526 (_LIB_VERSION): Likewise.
18527 * math/test-matherr-2.c: New file.
18528 * math/test-matherr-3.c: Likewise.
18529 * sysdeps/generic/math_private.h (__kernel_standard): Remove
18530 declaration.
18531 (__kernel_standard_f): Likewise.
18532 (__kernel_standard_l): Likewise.
18533 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
18534 <math_private.h>. Include <math-svid-compat.h>.
18535 (_LIB_VERSION): Undefine as macro.
18536 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
18537 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
18538 [LIBM_SVID_COMPAT], use compat_symbol.
18539 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
18540 <math_private.h>. Include <math-svid-compat.h>.
18541 (matherr): Undefine as macro.
18542 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
18543 compat_symbol.
18544 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
18545 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
18546 compat_symbol_reference.
18547 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
18548 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
18549 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
18550 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
18551 (MATHERR_D): Remove declaration.
18552 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
18553 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
18554 [LIBM_BUILD] (pmatherrf): Likewise.
18555 [LIBM_BUILD] (pmatherr): Likewise.
18556 [LIBM_BUILD] (pmatherrl): Likewise.
18557 (DOMAIN): Likewise.
18558 (SING): Likewise.
18559 (OVERFLOW): Likewise.
18560 (UNDERFLOW): Likewise.
18561 (TLOSS): Likewise.
18562 (PLOSS): Likewise.
18563 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
18564 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
18565 compat_symbol.
18566 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
18567 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
18568 compat_symbol.
18569 * math/lgamma-compat.h: Include <math-svid-compat.h>.
18570 * math/w_acos_compat.c: Likewise.
18571 * math/w_acosf_compat.c: Likewise.
18572 * math/w_acosh_compat.c: Likewise.
18573 * math/w_acoshf_compat.c: Likewise.
18574 * math/w_acoshl_compat.c: Likewise.
18575 * math/w_acosl_compat.c: Likewise.
18576 * math/w_asin_compat.c: Likewise.
18577 * math/w_asinf_compat.c: Likewise.
18578 * math/w_asinl_compat.c: Likewise.
18579 * math/w_atan2_compat.c: Likewise.
18580 * math/w_atan2f_compat.c: Likewise.
18581 * math/w_atan2l_compat.c: Likewise.
18582 * math/w_atanh_compat.c: Likewise.
18583 * math/w_atanhf_compat.c: Likewise.
18584 * math/w_atanhl_compat.c: Likewise.
18585 * math/w_cosh_compat.c: Likewise.
18586 * math/w_coshf_compat.c: Likewise.
18587 * math/w_coshl_compat.c: Likewise.
18588 * math/w_exp10_compat.c: Likewise.
18589 * math/w_exp10f_compat.c: Likewise.
18590 * math/w_exp10l_compat.c: Likewise.
18591 * math/w_exp2_compat.c: Likewise.
18592 * math/w_exp2f_compat.c: Likewise.
18593 * math/w_exp2l_compat.c: Likewise.
18594 * math/w_fmod_compat.c: Likewise.
18595 * math/w_fmodf_compat.c: Likewise.
18596 * math/w_fmodl_compat.c: Likewise.
18597 * math/w_hypot_compat.c: Likewise.
18598 * math/w_hypotf_compat.c: Likewise.
18599 * math/w_hypotl_compat.c: Likewise.
18600 * math/w_j0_compat.c: Likewise.
18601 * math/w_j0f_compat.c: Likewise.
18602 * math/w_j0l_compat.c: Likewise.
18603 * math/w_j1_compat.c: Likewise.
18604 * math/w_j1f_compat.c: Likewise.
18605 * math/w_j1l_compat.c: Likewise.
18606 * math/w_jn_compat.c: Likewise.
18607 * math/w_jnf_compat.c: Likewise.
18608 * math/w_jnl_compat.c: Likewise.
18609 * math/w_lgamma_main.c: Likewise.
18610 * math/w_lgamma_r_compat.c: Likewise.
18611 * math/w_lgammaf_main.c: Likewise.
18612 * math/w_lgammaf_r_compat.c: Likewise.
18613 * math/w_lgammal_main.c: Likewise.
18614 * math/w_lgammal_r_compat.c: Likewise.
18615 * math/w_log10_compat.c: Likewise.
18616 * math/w_log10f_compat.c: Likewise.
18617 * math/w_log10l_compat.c: Likewise.
18618 * math/w_log2_compat.c: Likewise.
18619 * math/w_log2f_compat.c: Likewise.
18620 * math/w_log2l_compat.c: Likewise.
18621 * math/w_log_compat.c: Likewise.
18622 * math/w_logf_compat.c: Likewise.
18623 * math/w_logl_compat.c: Likewise.
18624 * math/w_pow_compat.c: Likewise.
18625 * math/w_powf_compat.c: Likewise.
18626 * math/w_powl_compat.c: Likewise.
18627 * math/w_remainder_compat.c: Likewise.
18628 * math/w_remainderf_compat.c: Likewise.
18629 * math/w_remainderl_compat.c: Likewise.
18630 * math/w_scalb_compat.c: Likewise.
18631 * math/w_scalbf_compat.c: Likewise.
18632 * math/w_scalbl_compat.c: Likewise.
18633 * math/w_sinh_compat.c: Likewise.
18634 * math/w_sinhf_compat.c: Likewise.
18635 * math/w_sinhl_compat.c: Likewise.
18636 * math/w_sqrt_compat.c: Likewise.
18637 * math/w_sqrtf_compat.c: Likewise.
18638 * math/w_sqrtl_compat.c: Likewise.
18639 * math/w_tgamma_compat.c: Likewise.
18640 * math/w_tgammaf_compat.c: Likewise.
18641 * math/w_tgammal_compat.c: Likewise.
18642 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
18643 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
18644 * sysdeps/ieee754/k_standard.c: Likewise.
18645 * sysdeps/ieee754/k_standardf.c: Likewise.
18646 * sysdeps/ieee754/k_standardl.c: Likewise.
18647 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
18648 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
18649 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
18650 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
18651 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
18652 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
18653 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
18654 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
18655 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
18656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
18657 Likewise.
18658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
18659 Likewise.
18660 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
18661 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
18662 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
18663 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
18664
18665 2017-08-21 Florian Weimer <fweimer@redhat.com>
18666
18667 [BZ #21864]
18668 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
18669 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
18670 Move before inclusion of ../Rules.
18671
18672 2017-08-21 Florian Weimer <fweimer@redhat.com>
18673
18674 [BZ #21972]
18675 * assert/assert.h (assert): Use static_cast (bool) for C++.
18676 Use the ternary operator in the warning branch for GNU C.
18677 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
18678 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
18679 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
18680 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
18681 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
18682
18683 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
18684
18685 [BZ #18822]
18686 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18687 (__syscall_clock_gettime): Add attribute_hidden.
18688 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
18689 (__start_context): Likewise.
18690
18691 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
18692
18693 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
18694 building libc.a.
18695 (hidden_proto): Likewise.
18696 (hidden_tls_proto): Likewise.
18697 (__hidden_proto): Likewise.
18698
18699 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
18700
18701 * include/libc-symbols.h (attribute_hidden): Enable hidden
18702 visibility in libc.a compiled with PIE.
18703
18704 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
18705
18706 [BZ #18822]
18707 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
18708 Add attribute_hidden.
18709
18710 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
18711
18712 [BZ #21864]
18713 * Makerules (all-nonlib): Add $(others-extras).
18714 * catgets/Makefile (others-extras): New.
18715 * elf/Makefile (others-extras): Likewise.
18716 * nss/Makefile (others-extras): Likewise.
18717
18718 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
18719
18720 [BZ #18822]
18721 * csu/libc-start.c (__libc_multiple_libcs): Removed.
18722 * elf/dl-open.c: Include <libc-internal.h>.
18723 (__libc_multiple_libcs): Removed.
18724 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
18725 <hp-timing.h>.
18726 * include/libc-internal.h (__libc_multiple_libcs): New.
18727 * misc/sbrk.c: Include <libc-internal.h>.
18728 (__libc_multiple_libcs): Removed.
18729
18730 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
18731
18732 [BZ #18822]
18733 * grp/initgroups.c (__nss_group_database): Removed.
18734 (__nss_initgroups_database): Likewise.
18735 * nscd/gai.c (__nss_hosts_database): Likewise.
18736 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
18737 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
18738 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
18739 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
18740 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
18741 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
18742 attribute_hidden.
18743 * nss/nsswitch.c (__nss_database_custom): Define only if
18744 USE_NSCD is defined.
18745 (__nss_configure_lookup): Use __nss_database_custom only if
18746 USE_NSCD is defined.
18747 * nss/nsswitch.h (__nss_database_custom): Declare only if
18748 USE_NSCD is defined. Add attribute_hidden.
18749 (__nss_setent): Add attribute_hidden.
18750 (__nss_endent): Likewise.
18751 (__nss_getent_r): Likewise.
18752 (__nss_getent): Likewise.
18753 (DEFINE_DATABASE): Declare __nss_##arg##_database.
18754
18755 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
18756
18757 [BZ #18822]
18758 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
18759 libc_hidden_proto and libc_hidden_def.
18760
18761 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
18762
18763 [BZ #18822]
18764 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
18765 Add libc_hidden_proto.
18766 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
18767 Add libc_hidden_def.
18768
18769 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
18770
18771 [BZ #21974]
18772 * gmon/Makefile (routines): Remove bb_init_func and
18773 bb_exit_func.
18774 (elide-routines.os): Removed.
18775 * gmon/bb_exit_func.c: Likewise.
18776 * gmon/bb_init_func.c: Likewise.
18777 * include/sys/gmon.h (__bb): Likewise.
18778 (__bb_init_func): Likewise.
18779 (__bb_exit_func): Likewise.
18780 * sysdeps/alpha/bb_init_func.S: Likewise.
18781
18782 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
18783
18784 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
18785 * include/setjmp.h (____longjmp_chk): Here. Add
18786 attribute_hidden.
18787
18788 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
18789
18790 [BZ #18822]
18791 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
18792 attribute_hidden.
18793 (__strspn_sse2): Likewise.
18794
18795 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18796
18797 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
18798 (close_not_cancel_no_status): Likewise.
18799 (__close_nocancel): New macro.
18800 (__close_nocancel_nostatus): Likewise.
18801 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
18802 macro.
18803 (close_not_cancel): Likewise.
18804 (close_not_cancel_no_status): Likewise.
18805 (__close_nocancel): New prototype.
18806 (__close_nocancel_nostatus): New function.
18807 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
18808 * catgets/open_catalog.c (__open_catalog): Replace
18809 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
18810 * gmon/gmon.c (write_gmon): Likewise.
18811 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18812 * intl/loadmsgcat.c (close): Likewise.
18813 * io/ftw.c (open_dir_stream): Likewise.
18814 (ftw_startup): Likewise.
18815 * libio/fileops.c (_IO_file_open): Likewise.
18816 (_IO_file_close_mmap): Likewise.
18817 (_IO_file_close): Likewise.
18818 * libio/iopopen.c (_IO_dup2): Likewise.
18819 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18820 * locale/loadlocale.c (_nl_load_locale): Likewise.
18821 * login/utmp_file.c (pututline_file): Likewise.
18822 (endutent_file): Likewise.
18823 * misc/daemon.c (daemon): Likewise.
18824 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18825 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18826 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
18827 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18828 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18829 * nscd/nscd_helper.c (open_socket): Likewise.
18830 (__nscd_open_socket): Likewise.
18831 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18832 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
18833 (__nscd_innetgr): Likewise.
18834 * nss/nss_db/db-open.c (internal_setent): Likewise.
18835 * resolv/res-close.c (__res_iclose): Likewise.
18836 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
18837 * sysdeps/posix/closedir.c (__closedir): Likewise.
18838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
18839 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
18840 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
18841 (opendir_tail): Likewise.
18842 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
18843 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
18844 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18845 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18846 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
18847 (gethostid): Likewise.
18848 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
18849 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18850 Likewise.
18851 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18852 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
18853 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
18854 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
18855 Likewise.
18856 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
18857 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
18858 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
18859 Likewise.
18860 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
18861 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
18862 Likewise.
18863 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
18864 Likewise.
18865 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
18866 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
18867 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
18868 __close_nocancel.
18869
18870 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
18871 (openat_not_cancel_3): Likewise.
18872 (openat64_not_cancel_3): Likewise).
18873 (openat_not_cancel_3): Likewise).
18874 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
18875 macro.
18876 (openat_not_cancel_3): Likewise.
18877 (openat64_not_cancel): Likewise.
18878 (openat64_not_cancel_3): Likewise.
18879 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
18880 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
18881 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
18882 __open{64}_nocancel.
18883 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
18884 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
18885 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18886
18887 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
18888
18889 [BZ #18822]
18890 * include/argz.h (__argz_create_sep): New function prototype.
18891 (__argz_append): Likewise.
18892 (__argz_add): Likewise.
18893 (__argz_add_sep): Likewise.
18894 (__argz_delete): Likewise.
18895 (__argz_insert): Likewise.
18896 (__argz_replace): Likewise.
18897 * string/argz.h (__argz_create_sep): Removed.
18898 (__argz_append): Likewise.
18899 (__argz_add): Likewise.
18900 (__argz_add_sep): Likewise.
18901 (__argz_delete): Likewise.
18902 (__argz_insert): Likewise.
18903 (__argz_replace): Likewise.
18904
18905 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
18906
18907 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
18908 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
18909 (GNU_PROPERTY_STACK_SIZE): Likewie.
18910 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
18911 (GNU_PROPERTY_LOPROC): Likewise.
18912 (GNU_PROPERTY_HIPROC): Likewise.
18913 (GNU_PROPERTY_LOUSER): Likewise.
18914 (GNU_PROPERTY_HIUSER): Likewise.
18915 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
18916 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
18917 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
18918 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
18919 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
18920 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
18921 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
18922 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
18923 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
18924 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
18925 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
18926 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
18927 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
18928 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
18929 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
18930 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
18931 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
18932 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
18933 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
18934 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
18935 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
18936 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
18937 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
18938
18939 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18940
18941 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
18942 in C++ mode.
18943
18944 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18945
18946 [BZ #21930]
18947 * math/math.h (isinf): Check if in C or C++ mode before using
18948 __builtin_types_compatible_p, since this is a C mode feature.
18949
18950 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18951
18952 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
18953 (__write_nocancel): New macro.
18954 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
18955 Rewrite as a function prototype.
18956 (write_not_cancel): Remove macro.
18957 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
18958 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
18959 (write_gmon): Likewise.
18960 * libio/fileops.c (_IO_new_file_write): Likewise.
18961 * login/utmp_file.c (pututline_file): Likewise.
18962 (updwtmp_file): Likewise.
18963 * stdio-common/psiginfo.c (psiginfo): Likewise.
18964 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
18965 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
18966 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
18967 Likewise.
18968 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
18969 Likewise.
18970
18971 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
18972 (__read_nocancel): New macro.
18973 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
18974 __read_nocancel.
18975 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
18976 macro.
18977 (__read_nocancel): New prototype.
18978 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
18979 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
18980 with __read_nocancel.
18981 * intl/loadmsgcat.c (read): Likewise.
18982 * libio/fileops.c (_IO_file_read): Likewise.
18983 * locale/loadlocale.c (_nl_load_locale): Likewise.
18984 * login/utmp_file.c (getutent_r_file): Likewise.
18985 (internal_getut_r): Likewise.
18986 (getutline_r_file): Likewise.
18987 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
18988 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18989 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
18990 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18991 Likewise.
18992 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
18993 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
18994 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
18995 Likewise.
18996 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
18997 Likewise.
18998 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
18999 Likewise.
19000 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
19001 Likewise.
19002 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
19003
19004 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
19005
19006 [BZ #21966]
19007 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
19008 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
19009 usable.
19010
19011 2017-08-17 DJ Delorie <dj@redhat.com>
19012
19013 * bug17079.c: Update to new test harness.
19014 * test-digits-dots.c: Likewise.
19015 * test-netdb.c: Likewise.
19016 * tst-field.c: Likewise.
19017 * tst-nss-getpwent.c: Likewise.
19018 * tst-nss-static.c: Likewise.
19019 * tst-nss-test1.c: Likewise.
19020 * tst-nss-test2.c: Likewise.
19021 * tst-nss-test3.c: Likewise.
19022 * tst-nss-test4.c: Likewise.
19023 * tst-nss-test5.c: Likewise.
19024
19025 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19026
19027 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
19028 (open_not_cancel_2): Likewise.
19029 (open_nocancel): New macro.
19030 (open64_nocancel): Likewise.
19031 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
19032 (open_not_cancel_2): Likewise.
19033 (__open_nocancel): New prototype.
19034 (__open64_nocancel): Likewise.
19035 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
19036 __open_nocancel.
19037 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
19038 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
19039 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
19040 with __open_nocancel.
19041 * csu/check_fds.c (check_one_fd): Likewise.
19042 * gmon/gmon.c (write_gmon): Likewise.
19043 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
19044 * intl/loadmsgcat.c (open): Likewise.
19045 * libio/fileops.c (_IO_file_open): Likewise.
19046 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19047 * locale/loadlocale.c (_nl_load_locale): Likewise.
19048 * login/utmp_file.c (setutent_file): Likewise.
19049 * misc/daemon.c (daemon): Likewise.
19050 * nss/nss_db/db-open.c (internal_setent): Likewise.
19051 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
19052 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
19053 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
19054 (__opendir): Likewise.
19055 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
19056 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
19057 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
19058 (gethostid): Likewise.
19059 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
19060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19061 Likewise.
19062 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19063 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
19064 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
19065 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
19066 Likewise.
19067 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
19068 Likewise.
19069 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
19070 Likewise.
19071 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19072 Likewise.
19073 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
19074 Likewise.
19075 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
19076 Likewise.
19077 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
19078 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
19079
19080 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
19081
19082 * benchtests/bench-skeleton.c (main): Add support for
19083 latency benchmarking.
19084 * benchtests/scripts/bench.py: Add support for latency benchmarking.
19085
19086 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
19087
19088 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
19089 the startup object.
19090
19091 2017-08-17 Florian Weimer <fweimer@redhat.com>
19092
19093 * include/sys/socket.h (__opensock): Remove internal_function.
19094 * socket/opensock.c (__opensock): Likewise.
19095 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
19096
19097 2017-08-16 Joseph Myers <joseph@codesourcery.com>
19098
19099 [BZ #21944]
19100 * signal/bits/types/__sigval_t.h: New file.
19101 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
19102 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
19103 and define sigval_t using __sigval_t.
19104 * include/bits/types/__sigval_t.h: New file.
19105 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
19106 instead of <bits/types/__sigval_t.h>.
19107 (struct sigevent): Use __sigval_t instead of sigval_t.
19108 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
19109 instead of <bits/types/__sigval_t.h>.
19110 (siginfo_t): Use __sigval_t instead of sigval_t.
19111 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
19112 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
19113 (struct sigevent): Use __sigval_t instead of sigval_t.
19114 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
19115 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
19116 (siginfo_t): Use __sigval_t instead of sigval_t.
19117 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
19118
19119 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
19120
19121 * NEWS: Remove "[Add new features here]" for 2.27.
19122
19123 2017-08-16 Joseph Myers <joseph@codesourcery.com>
19124
19125 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
19126 libc.so.
19127
19128 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
19129
19130 * NEWS: Mention x86-64 FMA optimization.
19131
19132 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
19133
19134 [BZ #21912]
19135 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19136 Add e_expf-fma.
19137 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
19138 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
19139 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
19140
19141 2017-08-16 Andreas Schwab <schwab@suse.de>
19142
19143 [BZ #16750]
19144 CVE-2009-5064
19145 * elf/ldd.bash.in: Never run file directly.
19146
19147 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
19148
19149 [BZ #21955]
19150 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
19151 (L(SP_INF_0)): Likewise.
19152
19153 2017-08-15 Florian Weimer <fweimer@redhat.com>
19154
19155 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
19156 run-built-tests.
19157
19158 2017-08-15 Florian Weimer <fweimer@redhat.com>
19159
19160 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
19161 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
19162 BROKEN_THREAD_SIGNALS code.
19163 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
19164 request_list): Remove caller_pid member used for
19165 BROKEN_THREAD_SIGNALS.
19166 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
19167 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
19168 Remove BROKEN_THREAD_SIGNALS support.
19169 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
19170 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
19171
19172 2017-08-15 Florian Weimer <fweimer@redhat.com>
19173
19174 * gmon/Makefile (tests): Add tst-gmon.
19175 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
19176 Set.
19177 (tests-special): Add tst-gmon-prof.out.
19178 (tst-gmon.out): Depend on clean-tst-gmon-data.
19179 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
19180 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
19181 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
19182 startup object.
19183 * aclocal.m4 (GPROF): Set and substitute.
19184 * config.amke.in (GPROF): Set.
19185 * configure: Regenerate.
19186
19187 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
19188
19189 * elf/elf.h A (NT_PPC_TAR): New macro.
19190 (NT_PPC_PPR): Likewise.
19191 (NT_PPC_DSCR): Likewise.
19192 (NT_PPC_EBB): Likewise.
19193 (NT_PPC_PMU): Likewise.
19194 (NT_PPC_TM_CGPR): Likewise.
19195 (NT_PPC_TM_CFPR): Likewise.
19196 (NT_PPC_TM_CVMX): Likewise.
19197 (NT_PPC_TM_CVSX): Likewise.
19198 (NT_PPC_TM_SPR): Likewise.
19199 (NT_PPC_TM_CTAR): Likewise.
19200 (NT_PPC_TM_CPPR): Likewise.
19201 (NT_PPC_TM_CDSCR): Likewise.
19202
19203 2017-08-15 Florian Weimer <fweimer@redhat.com>
19204
19205 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
19206 regparm (2) instead of internal_function.
19207 (_MCOUNT_DECL): Adjust.
19208
19209 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19210
19211 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
19212 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19213
19214 2017-08-14 Joseph Myers <joseph@codesourcery.com>
19215
19216 * conform/data/sys/wait.h-data (si_value): Do not expect for
19217 XPG42.
19218
19219 2017-08-14 Florian Weimer <fweimer@redhat.com>
19220
19221 [BZ #21962]
19222 NSS: Create stubs for accidentally exported lookup functions.
19223 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
19224 Remove declaration.
19225 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
19226 (ether_hostton): Call __nss_ethers_lookup2 instead.
19227 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
19228 (ether_ntohost): Call __nss_ethers_lookup2 instead.
19229 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
19230 (setup): Call __nss_netgroup_lookup2 instead.
19231 * nss/Makefile (routines): Add compat-lookup.
19232 * nss/Versions (GLIBC_2.27): Add symbol version.
19233 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
19234 (DB_COMPAT_FCT): Remove.
19235 * nss/compat-lookup.c: New file.
19236 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
19237 from databases.def.
19238 * nss/service-lookup.c (NO_COMPAT): Remove definition.
19239 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
19240 (netname2user): Call __nss_publickey_lookup2 instead.
19241 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
19242 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
19243 instead.
19244
19245 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19246 Sergei Trofimovich <slyfox@inbox.ru>
19247
19248 [BZ #21908]
19249 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
19250 Rename to MMAP2_PAGE_UNIT.
19251 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
19252 __OFF_T_MATCHES_OFF64_T is not defined.
19253 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
19254 uint64_t.
19255 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
19256 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
19257
19258 2017-08-14 Florian Weimer <fweimer@redhat.com>
19259
19260 i386: Do not set internal_function.
19261 * config.h.in (USE_REGPARMS, internal_function): Remove.
19262 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
19263 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
19264
19265 2017-08-14 Florian Weimer <fweimer@redhat.com>
19266
19267 * elf/dl-init.c (_dl_init): Remove internal_function.
19268 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
19269 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
19270
19271 2017-08-14 Florian Weimer <fweimer@redhat.com>
19272
19273 * elf/rtld.c (_dl_start): Remove internal_function.
19274 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
19275 _dl_start.
19276
19277 2017-08-14 Florian Weimer <fweimer@redhat.com>
19278
19279 * elf/dl-fini.c (_dl_fini): Remove internal_function
19280 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
19281
19282 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
19283
19284 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
19285 (bit_cpu_SHSTK): Likewise.
19286 (index_cpu_IBT): Likewise.
19287 (index_cpu_SHSTK): Likewise.
19288 (reg_IBT): Likewise.
19289 (reg_SHSTK): Likewise.
19290 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
19291 Handle index_cpu_IBT and index_cpu_SHSTK.
19292
19293 2017-08-14 Mike FABIAN <mfabian@redhat.com>
19294
19295 [BZ #19982]
19296 * po/fr.po: Fix spelling mistake.
19297
19298 2017-08-13 Florian Weimer <fweimer@redhat.com>
19299
19300 * elf/dl-addr.c (_dl_addr): Remove internal_function.
19301 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
19302 (_dl_catch_error, _dl_receive_error): Likewise.
19303 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
19304 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
19305 (_dl_deallocate_tls): Likewise.
19306 * include/dlfcn.h (_dl_addr): Likewise.
19307 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
19308 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
19309 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
19310 Likewise.
19311
19312 2017-08-13 Florian Weimer <fweimer@redhat.com>
19313
19314 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
19315 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
19316 internal_function.
19317 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
19318
19319 2017-08-13 Florian Weimer <fweimer@redhat.com>
19320
19321 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
19322 internal_function.
19323 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
19324 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
19325 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
19326 internal_function from _dl_make_stack_executable_hook member.
19327 (_dl_make_stack_executable): Remove internal_function.
19328 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
19329 Likewise.
19330 * sysdeps/unix/sysv/linux/dl-execstack.c
19331 (_dl_make_stack_executable): Likewise.
19332
19333 2017-08-13 Florian Weimer <fweimer@redhat.com>
19334
19335 * sysdeps/unix/sysv/linux/netlinkaccess.h
19336 (__netlink_assert_response): Remove internal_function.
19337 * sysdeps/unix/sysv/linux/netlink_assert_response.c
19338 (__netlink_assert_response): Likewise.
19339
19340 2017-08-13 Florian Weimer <fweimer@redhat.com>
19341
19342 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
19343 internal_function.
19344 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
19345
19346 2017-08-13 Florian Weimer <fweimer@redhat.com>
19347
19348 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
19349 internal_function.
19350 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
19351 * inet/netgroup.h (__internal_setnetgrent)
19352 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
19353 * inet/getnetgrent_r.c (__internal_setnetgrent)
19354 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
19355 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
19356 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
19357 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
19358 * nss/nsswitch.h (db_lookup_function): Likewise.
19359
19360 2017-08-13 Florian Weimer <fweimer@redhat.com>
19361
19362 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
19363 Remove internal_function.
19364 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
19365 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
19366 message argument on the stack.
19367 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
19368 Likeweise.
19369
19370 2017-08-12 Mike FABIAN <mfabian@redhat.com>
19371
19372 Adapt test case data to the changes in the thousands
19373 separators.
19374
19375 [BZ #20756]
19376 * localedata/tst-langinfo.sh: Adapt test case data.
19377 * stdlib/tst-strfmon_l.c: Likewise.
19378 * stdlib/tst-strtod4.c: Likewise.
19379 * stdlib/tst-strtod5i.c: Likewise.
19380
19381 2017-08-11 Florian Weimer <fweimer@redhat.com>
19382
19383 [BZ #21242]
19384 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
19385 Suppress pedantic warning resulting from statement expression.
19386 (__ASSERT_FUNCTION): Add missing __extension__.
19387
19388 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
19389
19390 * benchtests/bench-memmove-large.c: Print output in JSON
19391 format.
19392 * benchtests/bench-memmove.c: Likewise.
19393
19394 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
19395 * benchtests/bench-memchr.c (do_one_test): Likewise.
19396 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
19397 * benchtests/bench-memcpy.c (do_one_test): Likewise.
19398 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
19399 * benchtests/bench-memmove.c (do_one_test): Likewise.
19400 * benchtests/bench-memset-large.c (do_one_test): Likewise.
19401 * benchtests/bench-memset.c (do_one_test): Likewise.
19402 * benchtests/bench-string.h (test_init): Remove memsets.
19403
19404 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
19405
19406 * manual/lang.texi
19407 (Computing the Width of an Integer Data Type): Rename section to
19408 "Width of an Integer Type". Remove inaccurate statement regarding
19409 lack of C language facilities for determining width of integer
19410 types, and reorder content to improve flow and context of
19411 discussion.
19412
19413 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
19414
19415 * lang.texi (va_copy): Change standard from ISO to C99.
19416 (__va_copy): Add standard and header annotation.
19417 Update description for clarity of origins and current use.
19418
19419 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
19420
19421 [BZ #21941]
19422 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
19423 xssqrtqp requires operands to be in Vector Registers
19424 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
19425 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
19426 (__ieee754_sqrtf128): Likewise.
19427
19428 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
19429
19430 * sysdeps/aarch64/memcmp.S (memcmp):
19431 Rewrite of optimized memcmp.
19432
19433 2017-08-10 Florian Weimer <fweimer@redhat.com>
19434
19435 Introduce ld.so exceptions.
19436 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
19437 (_dl_exception_create, _dl_exception_create_format)
19438 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
19439 (_dl_catch_exception): Declare.
19440 (_dl_catch_error): Update comment.
19441 * elf/dl-error-skeleton.c (struct catch): Replace objname,
19442 errstring, malloced members with exception member.
19443 (_dl_out_of_memory): Remove.
19444 (fatal_error): New function, extracted from _dl_signal_error.
19445 (_dl_signal_exception, _dl_signal_cexception): New functions.
19446 (_dl_signal_error): Call _dl_exception_create to allocate an
19447 exception object.
19448 (_dl_catch_exception): New function, based on _dl_catch_error.
19449 (_dl_catch_error): Implement using _dl_catch_exception.
19450 * elf/dl-exception.c: New file.
19451 * elf/Makefile (dl-routines): Add dl-exception.
19452 (elide-routines.os): Likewise.
19453 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
19454 _dl_exception_create_format, _dl_exception_free.
19455 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
19456 _dl_signal_exception.
19457 * elf/dl-lookup.c (make_string): Remove.
19458 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
19459 _dl_signal_cexception, _dl_exception_free.
19460 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
19461 _dl_signal_exception.
19462 * elf/dl-sym.c (do_sym): Likewise.
19463 * elf/dl-version.c (make_string): Remove.
19464 (match_symbol): Use _dl_exception_create_format,
19465 _dl_signal_cexception, _dl_exception_free.
19466 (_dl_check_map_versions): Likewise.
19467 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
19468 _dl_catch_exception.
19469 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
19470 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
19471 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
19472 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
19473 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
19474 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
19475 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
19476 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
19477 Likewise.
19478 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
19479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
19480 (ld.so): Likewise.
19481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
19482 (ld.so): Likewise.
19483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
19484 Likewise.
19485 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
19486 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
19487 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
19488 Likewise.
19489 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
19490 Likewise.
19491 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
19492
19493 2017-08-10 Florian Weimer <fweimer@redhat.com>
19494
19495 * inet/net-internal.h (__inet6_scopeid_pton): Remove
19496 attribute_hidden, internal_function.
19497 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
19498 internal_function.
19499
19500 2017-08-10 Florian Weimer <fweimer@redhat.com>
19501
19502 * malloc/malloc.c (get_max_fast): Reimplement as an inline
19503 function which calls __builtin_unreachable.
19504
19505 2017-08-10 Mike FABIAN <mfabian@redhat.com>
19506
19507 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
19508 Indian monetary formatting
19509 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
19510 test cases.
19511
19512 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
19513
19514 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
19515 Fix typo in comment.
19516
19517 [BZ #21928]
19518 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
19519 PTRACE_SEIZE_DEVEL): Remove.
19520 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
19521 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19522 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19523 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19524 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19525
19526 2017-08-09 Joseph Myers <joseph@codesourcery.com>
19527
19528 * posix/bits/types.h (__qaddr_t): Remove.
19529
19530 [BZ #21457]
19531 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
19532 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
19533 __glibc_reserved1.
19534 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
19535 (ucontext_t): Use __ctx with uc_flags.
19536 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
19537 (__ctxt): Likewise.
19538 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
19539 __glibc_reserved1.
19540 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
19541 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
19542 __glibc_reserved1.
19543 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
19544 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
19545 __glibc_reserved1.
19546 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
19547 macro.
19548 (ucontext_t): Use __ctx with uc_flags.
19549 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
19550 (ucontext_t): Use __ctx with uc_flags.
19551 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
19552 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
19553 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
19554 (ucontext_t): Use __ctx with uc_flags.
19555 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
19556 undefine further down.
19557 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
19558 __glibc_reserved1.
19559 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
19560 undefine further down.
19561 (ucontext_t): Use __ctx with uc_flags.
19562 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
19563 undefine further down.
19564 (ucontext_t): Use __ctx with uc_flags.
19565 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
19566 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
19567 Rename uc_pad to __glibc_reserved1.
19568 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
19569 undefine further down.
19570 (ucontext_t): Use __ctx with uc_flags.
19571 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
19572 further down.
19573 (ucontext_t): Use __ctx with uc_flags.
19574 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
19575 __ctx with uc_flags.
19576 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
19577 (ucontext_t): Use __ctx with uc_flags.
19578 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
19579 __ctx with uc_flags.
19580
19581 2017-08-09 Florian Weimer <fweimer@redhat.com>
19582
19583 [BZ #21932]
19584 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
19585 before early return.
19586
19587 2017-08-09 Andreas Schwab <schwab@suse.de>
19588
19589 [BZ #21041]
19590 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
19591 renamed alias.
19592
19593 [BZ #21041]
19594 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
19595 tst-compat-forwarder.
19596 (modules-names): Add tst-compat-forwarder-mod.
19597 ($(objpfx)tst-compat-forwarder): Depend on
19598 $(objpfx)tst-compat-forwarder-mod.so.
19599 * nptl/tst-compat-forwarder.c: New file.
19600 * nptl/tst-compat-forwarder-mod.c: New file.
19601
19602 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
19603
19604 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
19605 comments.
19606
19607 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
19608 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
19609 memcpy_falkor.
19610 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
19611 Bump.
19612 (__libc_ifunc_impl_list): Add __memcpy_falkor.
19613 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
19614 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
19615 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
19616 Add falkor.
19617 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
19618 New macro.
19619
19620 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19621
19622 [BZ #759]
19623 * manual/setjmp.texi (getcontex): Document uc_stack value
19624 compatibility differences.
19625
19626 2017-08-08 Joseph Myers <joseph@codesourcery.com>
19627
19628 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
19629 (old_malloc_hook): Likewise.
19630 (old_memalign_hook): Likewise.
19631 (old_realloc_hook): Likewise.
19632 (struct hdr): Likewise.
19633 (flood): Likewise.
19634 (freehook): Likewise.
19635 (mallochook): Likewise.
19636 (memalignhook): Likewise.
19637 (reallochook): Likewise.
19638 (mprobe): Likewise.
19639 * malloc/mtrace.c (mallwatch): Likewise.
19640 (tr_old_free_hook): Likewise.
19641 (tr_old_malloc_hook): Likewise.
19642 (tr_old_realloc_hook): Likewise.
19643 (tr_old_memalign_hook): Likewise.
19644 (tr_where): Likewise.
19645 (lock_and_info): Likewise.
19646 (tr_freehook): Likewise.
19647 (tr_mallochook): Likewise.
19648 (tr_reallochook): Likewise.
19649 (tr_memalignhook): Likewise.
19650 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
19651 * misc/mmap.c (__mmap): Likewise.
19652 * misc/mmap64.c (__mmap64): Likewise.
19653 * misc/mprotect.c (__mprotect): Likewise.
19654 * misc/msync.c (msync): Likewise.
19655 * misc/munmap.c (__munmap): Likewise.
19656 * posix/posix_madvise.c (posix_madvise): Likewise.
19657 * socket/send.c (__send): Likewise.
19658 * socket/sendto.c (__sendto): Likewise.
19659 * socket/setsockopt.c (__setsockopt): Likewise.
19660 * string/memcmp.c (__ptr_t): Remove macro.
19661 (MEMCMP): Use void * instead of ptr_t.
19662 * string/memrchr.c (__ptr_t): Remove macro.
19663 (__memrchr): Use void * instead of ptr_t.
19664 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
19665 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
19666 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
19667 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
19668 * sysdeps/mach/msync.c (msync): Likewise.
19669 * sysdeps/mach/munmap.c (__munmap): Likewise.
19670 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
19671 Likewise.
19672 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
19673 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
19674 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
19675 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
19676 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
19677 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19678 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
19679 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
19680 Likewise.
19681 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19682 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
19683 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
19684 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
19685 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
19686 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
19687 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
19688 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
19689 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
19690 Likewise.
19691 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
19692 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
19693 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
19694 (MEMCMP): Use void * instead of ptr_t.
19695 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
19696 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
19697
19698 2017-08-08 Florian Weimer <fweimer@redhat.com>
19699
19700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
19701 return statement.
19702
19703 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
19704
19705 [BZ #21913]
19706 * csu/libc-tls.c: Include <startup.h> first.
19707 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
19708 * elf/dl-tunables.c: Include <startup.h> first.
19709 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
19710 * sysdeps/generic/startup.h: New file.
19711 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
19712 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
19713 (I386_USE_SYSENTER): New. Defined to 0.
19714
19715 2017-08-08 Andreas Schwab <schwab@suse.de>
19716
19717 [BZ #21041]
19718 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
19719 * nptl/pt-system.c (system): Likewise.
19720
19721 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19722
19723 [BZ #21780]
19724 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
19725 EOPNOTSUPP.
19726 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19727 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19728 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
19729 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19730 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19731 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19732 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
19733
19734 2017-08-07 Joseph Myers <joseph@codesourcery.com>
19735
19736 [BZ #21899]
19737 * bits/sigaction.h (struct sigaction): Define sa_handler and
19738 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
19739 (SA_ONSTACK): Change [__USE_UNIX98] condition to
19740 [__USE_XOPEN_EXTENDED].
19741 (SA_RESTART): Likewise.
19742 (SA_NODEFER): Likewise.
19743 (SA_RESETHAND): Likewise.
19744 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
19745 (struct sigaction): Define sa_handler and sa_sigaction using union
19746 also for [__USE_XOPEN_EXTENDED].
19747 (SA_ONSTACK): Change [__USE_UNIX98] condition to
19748 [__USE_XOPEN_EXTENDED].
19749 (SA_RESTART): Likewise.
19750 (SA_NODEFER): Likewise.
19751 (SA_RESETHAND): Likewise.
19752 * sysdeps/unix/sysv/linux/bits/sigaction.h
19753 (struct sigaction): Define sa_handler and sa_sigaction using union
19754 also for [__USE_XOPEN_EXTENDED].
19755 (SA_ONSTACK): Change [__USE_UNIX98] condition to
19756 [__USE_XOPEN_EXTENDED].
19757 (SA_RESTART): Likewise.
19758 (SA_NODEFER): Likewise.
19759 (SA_RESETHAND): Likewise.
19760 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
19761 (struct sigaction): Define sa_handler and sa_sigaction using union
19762 also for [__USE_XOPEN_EXTENDED].
19763 (SA_ONSTACK): Change [__USE_UNIX98] condition to
19764 [__USE_XOPEN_EXTENDED].
19765 (SA_RESTART): Likewise.
19766 (SA_NODEFER): Likewise.
19767 (SA_RESETHAND): Likewise.
19768 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
19769 (struct sigaction): Define sa_handler and sa_sigaction using union
19770 also for [__USE_XOPEN_EXTENDED].
19771 (SA_ONSTACK): Change [__USE_UNIX98] condition to
19772 [__USE_XOPEN_EXTENDED].
19773 (SA_RESTART): Likewise.
19774 (SA_NODEFER): Likewise.
19775 (SA_RESETHAND): Likewise.
19776 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
19777 (struct sigaction): Define sa_handler and sa_sigaction using union
19778 also for [__USE_XOPEN_EXTENDED].
19779 (SA_ONSTACK): Change [__USE_UNIX98] condition to
19780 [__USE_XOPEN_EXTENDED].
19781 (SA_RESTART): Likewise.
19782 (SA_NODEFER): Likewise.
19783 (SA_RESETHAND): Likewise.
19784 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19785 (struct sigaction): Define sa_handler and sa_sigaction using union
19786 also for [__USE_XOPEN_EXTENDED].
19787 (SA_ONSTACK): Change [__USE_UNIX98] condition to
19788 [__USE_XOPEN_EXTENDED].
19789 (SA_RESTART): Likewise.
19790 (SA_NODEFER): Likewise.
19791 (SA_RESETHAND): Likewise.
19792 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19793 (struct sigaction): Define sa_handler and sa_sigaction using union
19794 also for [__USE_XOPEN_EXTENDED].
19795 (SA_ONSTACK): Change [__USE_UNIX98] condition to
19796 [__USE_XOPEN_EXTENDED].
19797 (SA_RESTART): Likewise.
19798 (SA_NODEFER): Likewise. Define directly rather than as alias.
19799 (SA_RESETHAND): Likewise.
19800 (SA_INTERRUPT): Define only for [__USE_MISC].
19801 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
19802 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
19803 [__USE_MISC].
19804 (SA_STACK): Define only for [__USE_MISC].
19805 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
19806 (struct sigaction): Define sa_handler and sa_sigaction using union
19807 also for [__USE_XOPEN_EXTENDED].
19808 (SA_ONSTACK): Change [__USE_UNIX98] condition to
19809 [__USE_XOPEN_EXTENDED].
19810 (SA_RESTART): Likewise.
19811 (SA_NODEFER): Likewise.
19812 (SA_RESETHAND): Likewise.
19813 (SA_NOPTRACE): Define only for [__USE_MISC].
19814
19815 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
19816 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
19817 (struct catalog_info): Likewise.
19818 * inet/htontest.c (lo): Likewise.
19819 (foo): Likewise.
19820 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19821 * inet/inet_net.c (inet_network): Likewise.
19822 * inet/inet_netof.c (inet_netof): Likewise.
19823 * inet/rcmd.c (__ivaliduser): Likewise.
19824 (iruserok): Likewise.
19825 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
19826 * locale/programs/locale-spec.c (locale_special): Likewise.
19827 * nis/nis_findserv.c (struct findserv_req): Likewise.
19828 (__nis_findfastest_with_timeout): Likewise.
19829 * nss/test-netdb.c (test_network): Likewise.
19830 * resolv/inet_neta.c (inet_neta): Likewise.
19831 * resolv/ns_date.c (ns_datetosecs): Likewise.
19832 (SECS_PER_DAY): Likewise.
19833 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
19834 Likewise.
19835 * resolv/res_comp.c (__putlong): Likewise.
19836 (__putshort): Likewise.
19837 (_getlong): Likewise.
19838 (_getshort): Likewise.
19839 * resolv/res_debug.c (p_time): Likewise.
19840 (precsize_ntoa): Likewise.
19841 (precsize_aton): Likewise.
19842 (latlon2ul): Likewise.
19843 (loc_aton): Likewise.
19844 (loc_ntoa): Likewise.
19845 * resolv/res_hconf.c (struct netaddr): Likewise.
19846 (_res_hconf_reorder_addrs): Likewise.
19847 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
19848 (clnttcp_control): Likewise.
19849 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19850 (clntudp_control): Likewise.
19851 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
19852 (clntunix_control): Likewise.
19853 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
19854 * sunrpc/rpc/auth.h (union des_block): Likewise.
19855 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
19856 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
19857 (xdrrec_create): Likewise.
19858 (xdrrec_endofrecord): Likewise.
19859 (flush_out): Likewise.
19860 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
19861 (xdrstdio_putlong): Likewise.
19862 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
19863 Likewise.
19864
19865 * misc/sys/cdefs.h (__long_double_t): Remove.
19866 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
19867 instead of __long_double_t,
19868 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
19869
19870 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
19871
19872 * benchtests/scripts/compare_strings.py: Avoid display error when
19873 running on a text terminal.
19874
19875 * benchtests/scripts/compare_strings.py (main): Add an
19876 optional -base option.
19877 (process_results): New argument base_func.
19878
19879 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
19880 hardcoding memcpy.
19881 * benchtests/bench-memcpy-large.c (test_name): Likewise.
19882 * benchtests/bench-memcpy-random.c (test_name): Likewise.
19883
19884 2017-08-07 Andreas Schwab <schwab@suse.de>
19885
19886 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
19887 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
19888 * intl/Makefile ($(objpfx)tst-gettext.out)
19889 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
19890 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
19891 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19892 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19893 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
19894 * posix/Makefile ($(objpfx)globtest.out)
19895 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
19896 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
19897 ($(objpfx)tst-printf.out): Likewise.
19898 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
19899 ($(objpfx)tst-setcontext3.out): Likewise.
19900
19901 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
19902
19903 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19904 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
19905 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
19906 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
19907 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
19908 and mptan-fma.
19909 (CFLAGS-doasin-fma.c): New.
19910 (CFLAGS-dosincos-fma.c): Likewise.
19911 (CFLAGS-e_asin-fma.c): Likewise.
19912 (CFLAGS-e_atan2-fma.c): Likewise.
19913 (CFLAGS-e_exp-fma.c): Likewise.
19914 (CFLAGS-e_log-fma.c): Likewise.
19915 (CFLAGS-e_pow-fma.c): Likewise.
19916 (CFLAGS-halfulp-fma.c): Likewise.
19917 (CFLAGS-mpa-fma.c): Likewise.
19918 (CFLAGS-mpatan-fma.c): Likewise.
19919 (CFLAGS-mpatan2-fma.c): Likewise.
19920 (CFLAGS-mpexp-fma.c): Likewise.
19921 (CFLAGS-mplog-fma.c): Likewise.
19922 (CFLAGS-mpsqrt-fma.c): Likewise.
19923 (CFLAGS-mptan-fma.c): Likewise.
19924 (CFLAGS-s_atan-fma.c): Likewise.
19925 (CFLAGS-sincos32-fma.c): Likewise.
19926 (CFLAGS-slowexp-fma.c): Likewise.
19927 (CFLAGS-slowpow-fma.c): Likewise.
19928 (CFLAGS-s_sin-fma.c): Likewise.
19929 (CFLAGS-s_tan-fma.c): Likewise.
19930 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
19931 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
19932 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
19933 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
19934 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
19935 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
19936 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
19937 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
19938 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
19939 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
19940 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
19941 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
19942 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
19943 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
19944 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
19945 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
19946 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
19947 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
19948 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
19949 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
19950 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
19951 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
19952 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
19953 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
19954 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19955 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19956 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19957 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
19958 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19959 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19960 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19961
19962 2017-08-04 Joseph Myers <joseph@codesourcery.com>
19963
19964 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
19965 (min_of_type_f): New macro.
19966 (min_of_type_): Likewise.
19967 (min_of_type_l): Likewise.
19968 (min_of_type_f128): Likewise.
19969 (min_of_type): Define using __MATH_TG and taking an expression
19970 argument.
19971 (math_check_force_underflow): Pass expression instead of type to
19972 min_of_type.
19973 (math_check_force_underflow_nonneg): Likewise.
19974
19975 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19976
19977 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
19978 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
19979 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
19980
19981 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
19982
19983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19984 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
19985 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
19986 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
19987 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
19988 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
19989 memcpy_chk-nonshared, mempcpy_chk-nonshared,
19990 memmove_chk-nonshared and memset_chk-nonshared
19991 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
19992 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
19993 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
19994 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
19995 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
19996 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
19997 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
19998 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
19999 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
20000 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
20001 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
20002 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
20003 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
20004 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
20005 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
20006 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
20007 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
20008 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
20009 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
20010 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
20011 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
20012 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
20013 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
20014 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
20015 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
20016 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
20017 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
20018 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
20019 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
20020 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
20021 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
20022 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
20023 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
20024 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
20025 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
20026 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
20027 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
20028 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
20029 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
20030 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
20031 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
20032 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
20033 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
20034 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
20035 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
20036 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
20037 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
20038 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
20039 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
20040 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
20041 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
20042 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
20043 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
20044 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
20045 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
20046 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
20047 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
20048 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
20049 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
20050 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
20051 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
20052 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
20053 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
20054 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
20055 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
20056 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
20057 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
20058 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
20059 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
20060 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
20061 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
20062 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20063 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20064 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20065 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20066 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20067 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20068 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20069 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20070 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20071 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20072 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20073 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20074 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20075 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20076 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20077 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20078 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20079 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20080 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20081 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20082 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20083 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20084 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20085 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20086 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20087 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20088 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20089 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20090 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20091 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20092 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20093 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20094 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20095 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20096 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20097 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20098 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20099
20100 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
20101
20102 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
20103 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
20104 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
20105 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
20106 svml_d_log2_core-sse2, svml_d_log4_core-sse,
20107 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
20108 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
20109 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
20110 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
20111 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
20112 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
20113 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
20114 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
20115 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
20116 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
20117 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
20118 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
20119 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
20120 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
20121 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
20122 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
20123 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
20124 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
20125 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
20126 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
20127 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
20128 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
20129 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
20130 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
20131 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
20132 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
20133 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
20134 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
20135 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
20136 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
20137 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
20138 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
20139 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
20140 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
20141 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
20142 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
20143 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
20144 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
20145 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
20146 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
20147 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
20148 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
20149 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
20150 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
20151 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
20152 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
20153 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
20154 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
20155 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
20156 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
20157 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
20158 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
20159 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
20160 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
20161 ...
20162 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
20163 Don't include <sysdep.h> nor <init-arch.h>.
20164 (_ZGVbN2v_cos): Removed.
20165 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
20166 ...
20167 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
20168 Don't include <sysdep.h> nor <init-arch.h>.
20169 (_ZGVdN4v_cos): Removed.
20170 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
20171 ...
20172 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
20173 Don't include <sysdep.h> nor <init-arch.h>.
20174 (_ZGVeN8v_cos): Removed.
20175 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
20176 ...
20177 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
20178 Don't include <sysdep.h> nor <init-arch.h>.
20179 (_ZGVbN2v_exp): Removed.
20180 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
20181 ...
20182 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
20183 Don't include <sysdep.h> nor <init-arch.h>.
20184 (_ZGVdN4v_exp): Removed.
20185 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
20186 ...
20187 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
20188 Don't include <sysdep.h> nor <init-arch.h>.
20189 (_ZGVeN8v_exp): Removed.
20190 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
20191 ...
20192 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
20193 Don't include <sysdep.h> nor <init-arch.h>.
20194 (_ZGVbN2v_log): Removed.
20195 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
20196 ...
20197 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
20198 Don't include <sysdep.h> nor <init-arch.h>.
20199 (_ZGVdN4v_log): Removed.
20200 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
20201 ...
20202 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
20203 Don't include <sysdep.h> nor <init-arch.h>.
20204 (_ZGVeN8v_log): Removed.
20205 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
20206 ...
20207 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
20208 Don't include <sysdep.h> nor <init-arch.h>.
20209 (_ZGVbN2vv_pow): Removed.
20210 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
20211 ...
20212 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
20213 Don't include <sysdep.h> nor <init-arch.h>.
20214 (_ZGVdN4vv_pow): Removed.
20215 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
20216 ...
20217 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
20218 Don't include <sysdep.h> nor <init-arch.h>.
20219 (_ZGVeN8vv_pow): Removed.
20220 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
20221 ...
20222 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
20223 Don't include <sysdep.h> nor <init-arch.h>.
20224 (_ZGVbN2v_sin): Removed.
20225 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
20226 ...
20227 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
20228 Don't include <sysdep.h> nor <init-arch.h>.
20229 (_ZGVbN4v_sin): Removed.
20230 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
20231 ...
20232 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
20233 Don't include <sysdep.h> nor <init-arch.h>.
20234 (_ZGVbN8v_sin): Removed.
20235 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
20236 ...
20237 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
20238 Don't include <sysdep.h> nor <init-arch.h>.
20239 (_ZGVbN2vvv_sincos): Removed.
20240 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
20241 ...
20242 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
20243 Don't include <sysdep.h> nor <init-arch.h>.
20244 (_ZGVdN4vvv_sincos): Removed.
20245 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
20246 ...
20247 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
20248 Don't include <sysdep.h> nor <init-arch.h>.
20249 (_ZGVeN8vvv_sincos): Removed.
20250 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
20251 ...
20252 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
20253 Don't include <sysdep.h> nor <init-arch.h>.
20254 (_ZGVeN16v_cosf): Removed.
20255 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
20256 ...
20257 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
20258 Don't include <sysdep.h> nor <init-arch.h>.
20259 (_ZGVbN4v_cosf): Removed.
20260 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
20261 ...
20262 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
20263 Don't include <sysdep.h> nor <init-arch.h>.
20264 (_ZGVdN8v_cosf): Removed.
20265 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
20266 ...
20267 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
20268 Don't include <sysdep.h> nor <init-arch.h>.
20269 (_ZGVeN16v_expf): Removed.
20270 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
20271 ...
20272 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
20273 Don't include <sysdep.h> nor <init-arch.h>.
20274 (_ZGVbN4v_expf): Removed.
20275 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
20276 ...
20277 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
20278 Don't include <sysdep.h> nor <init-arch.h>.
20279 (_ZGVdN8v_expf): Removed.
20280 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
20281 ...
20282 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
20283 Don't include <sysdep.h> nor <init-arch.h>.
20284 (_ZGVeN16v_logf): Removed.
20285 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
20286 ...
20287 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
20288 Don't include <sysdep.h> nor <init-arch.h>.
20289 (_ZGVbN4v_logf): Removed.
20290 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
20291 ...
20292 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
20293 Don't include <sysdep.h> nor <init-arch.h>.
20294 (_ZGVdN8v_logf): Removed.
20295 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
20296 ...
20297 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
20298 Don't include <sysdep.h> nor <init-arch.h>.
20299 (_ZGVeN16vv_powf): Removed.
20300 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
20301 ...
20302 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
20303 Don't include <sysdep.h> nor <init-arch.h>.
20304 (_ZGVbN4vv_powf): Removed.
20305 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
20306 ...
20307 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
20308 Don't include <sysdep.h> nor <init-arch.h>.
20309 (_ZGVdN8vv_powf): Removed.
20310 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
20311 ...
20312 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
20313 Don't include <sysdep.h> nor <init-arch.h>.
20314 (_ZGVeN16vvv_sincosf): Removed.
20315 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
20316 ...
20317 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
20318 Don't include <sysdep.h> nor <init-arch.h>.
20319 (_ZGVbN4vvv_sincosf): Removed.
20320 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
20321 ...
20322 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
20323 Don't include <sysdep.h> nor <init-arch.h>.
20324 (_ZGVdN8vvv_sincosf): Removed.
20325 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
20326 ...
20327 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
20328 Don't include <sysdep.h> nor <init-arch.h>.
20329 (_ZGVeN16v_sinf): Removed.
20330 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
20331 ...
20332 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
20333 Don't include <sysdep.h> nor <init-arch.h>.
20334 (_ZGVbN4v_sinf): Removed.
20335 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
20336 ...
20337 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
20338 Don't include <sysdep.h> nor <init-arch.h>.
20339 (_ZGVdN8v_sinf): Removed.
20340
20341 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
20342
20343 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20344 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
20345 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
20346 s_rint-sse4_1 and s_rintf-sse4_1.
20347 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
20348 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
20349 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
20350 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
20351 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
20352 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
20353 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
20354 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
20355 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
20356 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
20357 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
20358 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
20359 (__ceil): Removed.
20360 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
20361 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
20362 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
20363 (__ceilf): Removed.
20364 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
20365 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
20366 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
20367 (__floor): Removed.
20368 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
20369 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
20370 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
20371 (__floorf): Removed.
20372 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
20373 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
20374 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
20375 (__nearbyint): Removed.
20376 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
20377 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
20378 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
20379 (__nearbyintf): Removed.
20380 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
20381 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
20382 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
20383 (__rint): Removed.
20384 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
20385 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
20386 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
20387 (__rintf): Removed.
20388
20389 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
20390
20391 * sysdeps/i386/start.S (_start): Check Check PIC instead of
20392 SHARED. Avoid dynamic relocation against main in static PIE.
20393
20394 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
20395
20396 [BZ #21815]
20397 * elf/Makefile (CFLAGS-tst-prelink.c): New.
20398 (LDFLAGS-tst-prelink): Likewise.
20399
20400 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
20401
20402 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
20403 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
20404 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
20405 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
20406 (INTERNAL_SYSCALL_NCS): Likewise.
20407 (LOADARGS_1): Likewise.
20408 (LOADARGS_5): Likewise.
20409 (RESTOREARGS_1): Likewise.
20410 (RESTOREARGS_5): Likewise.
20411
20412 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
20413
20414 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
20415 (MEMPCPY_SYMBOL): Likewise.
20416 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20417 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
20418 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
20419 in libc.a.
20420 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20421 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
20422 Likewise.
20423 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
20424 (__hidden_ver1): Don't use in libc.a.
20425 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
20426 (__mempcpy): Don't create a weak alias in libc.a.
20427 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
20428 libc.a.
20429 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
20430 (__hidden_ver1): Don't use in libc.a.
20431
20432 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
20433
20434 * config.make.in (have-insert): New.
20435 * configure.ac (libc_cv_insert): New. Set to yes if linker
20436 supports INSERT in linker script.
20437 (AC_SUBST(libc_cv_insert): New.
20438 * configure: Regenerated.
20439 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
20440 if $(have-insert) == yes.
20441
20442 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
20443
20444 * elf/Makefile (tests): Add vismain only if
20445 $(have-protected-data) == yes.
20446 (tests-pie): Likewise.
20447
20448 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
20449
20450 [BZ #21871]
20451 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20452 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
20453
20454 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
20455
20456 [BZ #21790]
20457 * sysdeps/i386/i586/memset.S
20458 (__memset_zero_constant_len_parameter): Removed.
20459 * sysdeps/i386/i686/memset.S
20460 (__memset_zero_constant_len_parameter): Likewise.
20461 * sysdeps/i386/i686/multiarch/memset_chk.S
20462 (__memset_zero_constant_len_parameter): Likewise.
20463 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
20464 Likewise.
20465
20466 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
20467
20468 * stdlib/getentropy.c (getentropy): Change return type to int.
20469
20470 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
20471
20472 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
20473
20474 2017-08-03 Joseph Myers <joseph@codesourcery.com>
20475
20476 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
20477 u_intN_t.
20478 * math/s_nexttowardf.c (__nexttowardf): Likewise.
20479 * sysdeps/generic/math_private.h (ieee_double_shape_type):
20480 Likewise.
20481 (ieee_float_shape_type): Likewise.
20482 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
20483 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
20484 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20485 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20486 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20487 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
20488 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
20489 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20490 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20491 Likewise.
20492 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20493 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20494 (__ieee754_yn): Likewise.
20495 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20496 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20497 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
20498 Likewise.
20499 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20500 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
20501 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
20502 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
20503 (__erfc): Likewise.
20504 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20505 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
20506 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
20507 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
20508 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
20509 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
20510 Likewise.
20511 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20512 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
20513 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20514 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
20515 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20516 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
20517 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
20518 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
20519 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
20520 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
20521 (__issignaling): Likewise.
20522 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
20523 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
20524 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20525 Likewise.
20526 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20527 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
20528 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
20529 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
20530 Likewise.
20531 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
20532 Likewise.
20533 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
20534 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
20535 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
20536 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20537 (__erfcf): Likewise.
20538 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20539 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20540 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
20541 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
20542 Likewise.
20543 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
20544 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
20545 Likewise.
20546 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20547 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
20548 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20549 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
20550 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
20551 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20552 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
20553 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
20554 Likewise.
20555 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
20556 Likewise.
20557 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20558 Likewise.
20559 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
20560 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20561 Likewise.
20562 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20563 Likewise.
20564 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20565 (__ieee754_ynl): Likewise.
20566 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20567 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
20568 Likewise.
20569 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
20570 Likewise.
20571 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20572 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
20573 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20574 Likewise.
20575 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20576 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
20577 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
20578 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
20579 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
20580 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20581 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
20582 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
20583 Likewise.
20584 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20585 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
20586 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
20587 Likewise.
20588 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
20589 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
20590 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20591 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
20592 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
20593 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20594 Likewise.
20595 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20596 Likewise.
20597 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20598 Likewise.
20599 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20600 Likewise.
20601 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
20602 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20603 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20604 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
20605 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20606 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
20607 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
20608 Likewise.
20609 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20610 Likewise.
20611 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20612 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20613 Likewise.
20614 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20615 (__ieee754_remainderl): Likewise.
20616 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20617 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20618 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20619 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20620 Likewise.
20621 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20622 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20623 Likewise.
20624 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20625 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
20626 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20627 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20628 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
20629 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20630 Likewise.
20631 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20632 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
20633 (__ieee754_y0l): Likewise.
20634 (pzero): Likewise.
20635 (qzero): Likewise.
20636 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20637 (__ieee754_y1l): Likewise.
20638 (pone): Likewise.
20639 (qone): Likewise.
20640 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20641 (__ieee754_ynl): Likewise.
20642 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
20643 (__ieee754_lgammal_r): Likewise.
20644 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
20645 Likewise.
20646 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20647 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
20648 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20649 (__erfcl): Likewise.
20650 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20651 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
20652 Likewise.
20653 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
20654 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
20655 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20656 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
20657 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
20658 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20659 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20660 Likewise.
20661 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
20662 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20663 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
20664 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
20665 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20666 Likewise.
20667 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
20668 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
20669 Likewise.
20670 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
20671 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
20672 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
20673 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20674 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
20675
20676 2017-08-03 Florian Weimer <fweimer@redhat.com>
20677
20678 [BZ #21885]
20679 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
20680 on memory allocation failure.
20681
20682 2017-08-03 Alan Modra <amodra@gmail.com>
20683
20684 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
20685 tst-tlsopt-powerpc.c with function name change and no test harness.
20686 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
20687 Call tls_get_addr_opt_test.
20688 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
20689 (modules-names): Add mod-tlsopt-powerpc.
20690 (mod-tlsopt-powerpc.so-no-z-defs): Define.
20691 (tst-tlsopt-powerpc): Depend on .so.
20692 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
20693 define. Expand use in TLS_GD and TLS_LD.
20694
20695 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20696
20697 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
20698 function.
20699 * sysdeps/posix/shm_open.c: Include <pthread.h>.
20700
20701 2017-08-02 Joseph Myers <joseph@codesourcery.com>
20702
20703 [BZ #21686]
20704 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
20705 comparing size with that of double.
20706 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
20707 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
20708 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
20709 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
20710 (__TGMATH_BINARY_REAL_IMAG): Likewise.
20711 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
20712 unsigned __int128 types.
20713
20714 2017-08-02 Steve Ellcey <sellcey@cavium.com>
20715
20716 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
20717 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
20718 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
20719 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
20720 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
20721
20722 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
20723
20724 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
20725
20726 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
20727
20728 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
20729 of SHARED.
20730 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20731 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20732 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20733 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20734 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20735 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20736 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20737
20738 2017-08-02 Joseph Myers <joseph@codesourcery.com>
20739
20740 [BZ #21685]
20741 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
20742 bit-field expressions passed to sizeof or typeof.
20743 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20744 (__TGMATH_F128): Likewise.
20745 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20746 (__TGMATH_CF128): Likewise.
20747 (__TGMATH_UNARY_REAL_ONLY): Likewise.
20748 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
20749 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
20750 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
20751 (__TGMATH_BINARY_REAL_ONLY): Likewise.
20752 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
20753 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
20754 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
20755 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
20756 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
20757 (__TGMATH_UNARY_REAL_IMAG): Likewise.
20758 (__TGMATH_UNARY_IMAG): Likewise.
20759 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
20760 (__TGMATH_BINARY_REAL_IMAG): Likewise.
20761 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
20762 type.
20763 (define_vars_for_type): Handle bit_field type specially.
20764 (Tests.__init__): Declare structure with bit-field element.
20765
20766 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
20767
20768 [BZ #21791]
20769 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
20770 (MEMCPY_CHK): Define only if SHARED is defined.
20771 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
20772 Likewise.
20773 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
20774 Likewise.
20775
20776 See ChangeLog.18 for earlier changes.