]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2021-09-13 Andrew Pinski <apinski@marvell.com>
2
3 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
4 * config/m32r/libgcc-glibc.ver: Removed.
5 * config/m32r/t-linux: Removed.
6
7 2021-09-08 liuhongt <hongtao.liu@intel.com>
8
9 * config/i386/t-softfp: Compile __{mul,div}hc3 into
10 libgcc_s.so.1.
11
12 2021-09-08 Jakub Jelinek <jakub@redhat.com>
13 Iain Sandoe <iain@sandoe.co.uk>
14
15 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
16 and export *hf* and *hc* functions at GCC_12.0.0.
17
18 2021-09-06 liuhongt <hongtao.liu@intel.com>
19
20 * Makefile.in: Adjust to support specific CFLAGS for each
21 libgcc source file.
22 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
23 related libgcc source files.
24 * config/i386/t-softfp: Ditto.
25 * config/i386/_divhc3.c: New file.
26 * config/i386/_mulhc3.c: New file.
27
28 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
29
30 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
31 alias_DFtype, alias_TFtype): New.
32 (ALIAS_SELECTOR): New.
33 (strong_alias): Use __typeof and a _Generic selector to
34 provide the type to the synthesized function.
35
36 2021-09-02 liuhongt <hongtao.liu@intel.com>
37
38 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
39 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
40 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
41 * config/i386/t-softfp: Add hf soft-fp.
42 * config.host: Add i386/64/t-softfp.
43 * config/i386/64/t-softfp: New file.
44
45 2021-09-02 liuhongt <hongtao.liu@intel.com>
46
47 * soft-fp/eqhf2.c: New file.
48 * soft-fp/extendhfdf2.c: New file.
49 * soft-fp/extendhfsf2.c: New file.
50 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
51 * soft-fp/truncdfhf2.c: New file
52 * soft-fp/truncsfhf2.c: New file
53
54 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
55
56 * unwind-arm-common.inc (abort): Remove.
57
58 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
59
60 * config/aarch64/value-unwind.h: Add missing runtime exception
61 paragraph.
62 * config/frv/frv-abi.h: Likewise.
63 * config/i386/value-unwind.h: Likewise.
64 * config/pa/pa64-hpux-lib.h: Likewise.
65
66 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
67
68 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
69 __gcc_qadd.
70 (__gcc_qadd): Call ldouble_qadd_internal.
71 (__gcc_qsub): Call ldouble_qadd_internal with second long double
72 argument negated.
73
74 2021-08-26 Jonathan Yong <10walls@gmail.com>
75
76 * config/i386/cygming-crtend.c: Fix register_frame_ctor
77 and register_frame_dtor warnings.
78
79 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
80
81 PR target/102035
82 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
83 Add vlldm erratum work-around.
84
85 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
86
87 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
88
89 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
90
91 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
92 (gcov_type_unsigned): Likewise.
93
94 2021-08-14 Stafford Horne <shorne@gmail.com>
95
96 PR target/99783
97 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
98 * config/or1k/t-crtstuff: New file.
99
100 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
101
102 * libgcov-driver.c (#include <stdint.h>): Remove.
103 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
104
105 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
106
107 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
108 * gcov.h (gcov_info): Declare.
109 (__gcov_info_to_gdca): Likewise.
110 * libgcov.h (gcov_write_counter): Remove.
111 (gcov_write_tag_length): Likewise.
112 * libgcov-driver.c (#include <stdint.h>): New.
113 (#include <string.h>): Remove.
114 (NEED_L_GCOV): Conditionally define.
115 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
116 (are_all_counters_zero): New.
117 (gcov_dump_handler): Likewise.
118 (gcov_allocate_handler): Likewise.
119 (dump_unsigned): Likewise.
120 (dump_counter): Likewise.
121 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
122 Use dump_unsigned() and dump_counter().
123 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
124 dump_unsigned(), dump_counter(), and are_all_counters_zero().
125 (__gcov_info_to_gcda): New.
126
127 2021-08-05 Jakub Jelinek <jakub@redhat.com>
128
129 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
130 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
131 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
132 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
133
134 2021-08-04 Jakub Jelinek <jakub@redhat.com>
135
136 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
137
138 2021-07-15 Alan Modra <amodra@gmail.com>
139
140 * config/rs6000/morestack.S (R2_SAVE): Define.
141 (__morestack): Save and restore r2. Set up r2 for called
142 functions.
143
144 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
145
146 * soft-fp/extendhfxf2.c: New file.
147 * soft-fp/truncxfhf2.c: Likewise.
148
149 2021-06-29 Julian Brown <julian@codesourcery.com>
150
151 * config/gcn/lib2-bswapti2.c: New file.
152 * config/gcn/lib2-divmod-di.c: New file.
153 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
154 typedefs.
155 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
156 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
157 lib2-bswapti2.c.
158
159 2021-06-29 Julian Brown <julian@codesourcery.com>
160
161 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
162 return types to USItype.
163 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
164
165 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
166
167 * configure: Regenerate.
168 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
169 typos among the name, CFLAGS and the test.
170 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
171 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
172 Remove.
173 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
174 macro FLOAT128_HW_INSNS_ISA3_1.
175 (FP128_3_1_CFLAGS_HW): Fix option typo.
176 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
177 FLOAT128_HW_INSNS_ISA3_1.
178 (__floattikf_resolve): Likewise.
179 (__floatuntikf_resolve): Likewise.
180 (__fixkfti_resolve): Likewise.
181 (__fixunskfti_resolve): Likewise.
182 (__floattikf): Likewise.
183 (__floatuntikf): Likewise.
184 (__fixkfti): Likewise.
185 (__fixunskfti): Likewise.
186
187 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
188
189 PR target/99939
190 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
191 macro.
192 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
193 on passing -mcmse option.
194
195 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
196
197 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
198 _ARCH_PPC64 .
199
200 2021-06-09 Carl Love <cel@us.ibm.com>
201
202 * config.host: Add if test and set for
203 libgcc_cv_powerpc_3_1_float128_hw.
204 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
205 Change calls of __fixkfti to __fixkfti_sw.
206 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
207 Change calls of __fixunskfti to __fixunskfti_sw.
208 * config/rs6000/float128-p10.c (__floattikf_hw,
209 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
210 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
211 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
212 __fixunskfti_resolve): Add resolve functions.
213 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
214 * config/rs6000/float128-sed (floattitf, __floatuntitf,
215 __fixtfti, __fixunstfti): Add editor commands to change names.
216 * config/rs6000/float128-sed-hw (__floattitf,
217 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
218 change names.
219 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
220 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
221 * config/rs6000/quad-float128.h (__floattikf_sw,
222 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
223 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
224 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
225 * config/rs6000/t-float128 (floattikf, floatuntikf,
226 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
227 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
228 file names to fp128_ppc_funcs.
229 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
230 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
231 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
232 * config/rs6000/t-float128-p10-hw: New file.
233 * configure: Update script for isa 3.1 128-bit float support.
234 * configure.ac: Add check for 128-bit float hardware support.
235 * config/rs6000/fixkfti-sw.c: New file.
236 * config/rs6000/fixunskfti-sw.c: New file.
237 * config/rs6000/floattikf-sw.c: New file.
238 * config/rs6000/floatuntikf-sw.c: New file.
239
240 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
241
242 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
243
244 2021-05-13 Martin Liska <mliska@suse.cz>
245
246 * libgcov-driver.c: Fix GNU coding style.
247
248 2021-05-10 Martin Liska <mliska@suse.cz>
249
250 * libgcov-driver.c (gcov_version): Use different name that does
251 not clash with newly introduced macro.
252
253 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
254
255 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
256 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
257 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
258
259 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
260
261 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
262 Define.
263 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
264 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
265 Define.
266 (__divkc3): Improve complex divide.
267
268 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
269
270 PR target/98952
271 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
272 trampoline size comparison in 32-bit by reversing test and
273 combining load immediate with compare.
274 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
275 in 32-bit by reversing test and combining load immediate with
276 compare.
277
278 2021-04-05 Florian Weimer <fweimer@redhat.com>
279 Michael Meissner <meissner@linux.ibm.com>
280
281 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
282 point functions for $(decimal_float) only.
283
284 2021-04-03 Jakub Jelinek <jakub@redhat.com>
285
286 PR target/97653
287 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
288 $(objext) instead of $(object). Use _floatunditf instead of
289 _floatunsditf. Add tf <-> ti conversion objects.
290 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
291
292 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
293
294 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
295 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
296 (fp128_decstr_objs): Delete.
297 * dfp-bit.h: Call __sprintfieee128 to do conversions from
298 _Float128 to a Decimal type. Call __strtoieee128 to do
299 conversions from a Decimal type to _Float128.
300 * config/rs6000/_sprintfkf.c: Delete file.
301 * config/rs6000/_sprintfkf.h: Delete file.
302 * config/rs6000/_strtokf.c: Delete file.
303 * config/rs6000/_strtokf.h: Delete file.
304
305 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
306
307 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
308 to __BYTE_ORDER__.
309
310 2021-03-06 Jakub Jelinek <jakub@redhat.com>
311
312 PR gcov-profile/99406
313 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
314 defined, define these macros if not defined already.
315
316 2021-03-04 Martin Liska <mliska@suse.cz>
317
318 PR gcov-profile/99105
319 * libgcov-driver.c (write_top_counters): Rename to ...
320 (write_topn_counters): ... this.
321 (write_one_data): Pre-allocate buffer for number of items
322 in the corresponding linked lists.
323 * libgcov.h (malloc_mmap): New function.
324 (allocate_gcov_kvp): Use it.
325
326 2021-03-04 Martin Liska <mliska@suse.cz>
327
328 PR gcov-profile/99385
329 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
330
331 2021-03-03 Martin Liska <mliska@suse.cz>
332
333 PR gcov-profile/97461
334 * config.in: Regenerate.
335 * configure: Likewise.
336 * configure.ac: Check sys/mman.h header file
337 * libgcov-driver.c (struct gcov_kvp): Remove static
338 pre-allocated pool and use a dynamic one.
339 * libgcov.h (MMAP_CHUNK_SIZE): New.
340 (gcov_counter_add): Use mmap to allocate pool for struct
341 gcov_kvp.
342
343 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
344
345 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
346 the function.
347 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
348
349 2021-02-24 Jakub Jelinek <jakub@redhat.com>
350
351 PR libgcc/99236
352 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
353 negation of m in unsigned type.
354
355 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
356 Hau Hsu <hsuhau617@gmail.com>
357
358 PR target/99157
359 * config/arm/t-arm: Fix cmse support detection.
360
361 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
362
363 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
364
365 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
366
367 * config/rs6000/_dd_to_kf.c: New file.
368 * config/rs6000/_kf_to_dd.c: New file.
369 * config/rs6000/_kf_to_sd.c: New file.
370 * config/rs6000/_kf_to_td.c: New file.
371 * config/rs6000/_sd_to_kf.c: New file.
372 * config/rs6000/_sprintfkf.c: New file.
373 * config/rs6000/_sprintfkf.h: New file.
374 * config/rs6000/_strtokf.h: New file.
375 * config/rs6000/_strtokf.c: New file.
376 * config/rs6000/_td_to_kf.c: New file.
377 * config/rs6000/quad-float128.h: Add new declarations.
378 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
379 (fp128_decstr_funcs): New macro.
380 (ibm128_dec_funcs): New macro.
381 (fp128_ppc_funcs): Add the new conversions.
382 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
383 compiled with -mabi=ieeelongdouble.
384 (fp128_decstr_objs): Force __float128 <-> string conversions to be
385 compiled with -mabi=ibmlongdouble.
386 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
387 compiled with -mabi=ieeelongdouble.
388 (FP128_CFLAGS_DECIMAL): New macro.
389 (IBM128_CFLAGS_DECIMAL): New macro.
390 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
391 (BFP_TO_DFP): Add PowerPC _Float128 support.
392 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
393 IEEE 128-bit floating point.
394 (DFP_TO_BFP): Add PowerPC _Float128 support.
395 (BFP_TO_DFP): Add PowerPC _Float128 support.
396 (BFP_SPRINTF): New macro.
397
398 2021-01-27 Jakub Jelinek <jakub@redhat.com>
399
400 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
401 * config/i386/savms64f.h: Likewise.
402 * config/i386/resms64.h: Likewise.
403 * config/i386/resms64f.h: Likewise.
404 * config/i386/resms64x.h: Likewise.
405 * config/i386/resms64fx.h: Likewise.
406
407 2021-01-26 Martin Liska <mliska@suse.cz>
408
409 PR gcov-profile/98739
410 * libgcov.h (gcov_topn_add_value): Do not train when
411 we have a merged profile with a negative number of total
412 value.
413
414 2021-01-25 Martin Liska <mliska@suse.cz>
415
416 PR gcov-profile/98739
417 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
418 ends with a dropped counter.
419 * libgcov.h (gcov_topn_add_value): Add return value.
420
421 2021-01-13 Stafford Horne <shorne@gmail.com>
422
423 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
424 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
425 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
426 FP_EX_ALL): New constant macros.
427 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
428 FP_HANDLE_EXCEPTIONS): New macros.
429 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
430
431 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
432
433 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
434 posix siginfo case to struct handler_args. Detect between legacy
435 and siginfo from the second parameter, which is a small sigcode in
436 the legacy case, and a pointer in the siginfo case.
437
438 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
439
440 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
441 functions.
442 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
443 _bswapdi2.
444
445 2020-12-08 Ian Lance Taylor <iant@golang.org>
446
447 * generic-morestack-thread.c (free_segments): Block signals during
448 thread exit.
449
450 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
451
452 PR libgcc/97543
453 PR libgcc/97643
454 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
455 (IBM128_SHARED_OBJS): New make variable.
456 (IBM128_OBJS): New make variable. Set all objects to use the
457 explicit IBM format, and disable gnu attributes.
458 (IBM128_CFLAGS): New make variable.
459 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
460 modules.
461
462 2020-12-03 Alexandre Oliva <oliva@adacore.com>
463
464 * config/t-vxworks (LIB2ADD): Drop.
465 * config/t-vxworks7 (LIB2ADD): Likewise.
466 * config/vxcache.c: Remove.
467
468 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
469
470 * libgcc2.c (bswapsi2): Make constants unsigned.
471
472 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
473
474 * libgcc2.c (absvSI2): Simplify/improve implementation by using
475 builtin_add_overflow.
476 (absvsi2, absvDI2): Likewise.
477
478 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
479
480 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
481 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
482
483 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
484
485 * config/msp430/lib2hw_mul.S (mult64_hw): New.
486 (if MUL_32): Use mult64_hw for __muldi3.
487 (if MUL_F5): Use mult64_hw for __muldi3.
488 * config/msp430/lib2mul.c (__muldi3): New.
489 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
490
491 2020-11-17 Alan Modra <amodra@gmail.com>
492
493 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
494 (LIB2_SIDITI_CONV_FUNCS): Define.
495 * config/rs6000/ppc64-fp.c: Delete file.
496
497 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
498
499 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
500 hwmult library functions.
501
502 2020-11-10 Jeff Law <law@redhat.com>
503
504 * libgcc2.c: Fix whitespace issues in most recent change.
505
506 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
507
508 * libgcc2.c (__addvSI3): Use overflow builtins.
509 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
510 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
511 (__negvsi2, __negvDI2): Likewise.
512 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
513 generated code.
514 * libgcc2.h (__ucmpdi2): Adjust prototype.
515
516 2020-11-03 Pat Bernardi <bernardi@adacore.com>
517 Olivier Hainque <hainque@adacore.com>
518
519 * config.host (aarch64-vxworks7*, tmake_file): Add
520 ${cpu_type}/t-lse and t-slibgcc-libgcc.
521
522 2020-11-03 Martin Storsjö <martin@martin.st>
523
524 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
525 before calling the callback.
526
527 2020-10-30 Olivier Hainque <hainque@adacore.com>
528 Douglas Rupp <rupp@adacore.com>
529 Pat Bernardi <bernardi@adacore.com>
530
531 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
532 to apply to VxWorks 7 as well.
533
534 2020-10-29 Olivier Hainque <hainque@adacore.com>
535
536 * config/gthr-vxworks-tls.c: Fix preprocessor logic
537 controlling the definition of VX_ENTER_TLS_DTOR and
538 VX_LEAVE_TLS_DTOR based on a version major check.
539
540 2020-10-29 Olivier Hainque <hainque@adacore.com>
541
542 * config/gthr-vxworks-thread.c: Fix name of macro used
543 to condition the inclusion of an actual implementation.
544
545 2020-10-27 Martin Liska <mliska@suse.cz>
546
547 PR gcov-profile/97461
548 * libgcov.h (gcov_counter_add): Use first static counters
549 as it should help to have malloc wrappers set up.
550
551 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
552
553 * config/gthr-vxworks-thread.c: #include gthr.h before
554 testing the guard defined there.
555 * config/gthr-vxworks-cond.c: Likewise.
556
557 2020-10-21 Douglas Rupp <rupp@adacore.com>
558 Olivier Hainque <hainque@adacore.com>
559
560 * config.host (powerpc*-wrs-vxworks7*): New case.
561 * configure.ac: Handle powerpc*-*-vxworks7* as
562 powerpc*-*-linux* for ppc-fp_type.
563 * configure: Regenerate.
564
565 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
566
567 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
568 section on VxWorks >= 6.
569 * config/gthr-vxworks-thread.c: Condition the entire
570 implementation on __GTHREAD_CXX0X.
571
572 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
573
574 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
575 section on VxWorks >= 6.
576 * config/gthr-vxworks-cond.c: Condition the entire
577 implementation on __GTHREAD_HAS_COND.
578
579 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
580
581 * config/gthr-vxworks.c: #include <taskLib.h>.
582
583 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
584
585 * config/gthr-vxworks.h: Rewrite remaining occurrence
586 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
587
588 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
589 Olivier Hainque <hainque@adacore.com>
590
591 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
592 except on VxWorks 6.
593
594 2020-10-16 Olivier Hainque <hainque@adacore.com>
595
596 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
597
598 2020-10-14 Alexandre Oliva <oliva@adacore.com>
599
600 * config/gthr-vxworks-thread.c: Include stdlib.h.
601 (tls_delete_hook): Prototype it.
602 (__gthread_cond_signal): Return early if no waiters. Consume
603 signal in case the semaphore got full. Use semInfoGet instead
604 of kernel-mode-only semInfo.
605 (__gthread_cond_timedwait): Use semExchange. Always take the
606 mutex again before returning.
607 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
608
609 2020-10-14 Olivier Hainque <hainque@adacore.com>
610
611 * config/t-vxworks (LIBGCC2_INCLUDES): Append
612 $(MULTISUBDIR) to the -I path for fixed headers, as we
613 arrange to have different sets of such headers for different
614 multilibs when they are activated.
615 * config/t-vxworks7: Likewise.
616
617 2020-10-14 Olivier Hainque <hainque@adacore.com>
618
619 * config/t-vxworks: Add include-fixed to include search
620 paths for libgcc on VxWorks.
621 * config/t-vxworks7: Likewise.
622
623 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
624
625 PR target/97148
626 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
627 instead of <cetintrin.h>.
628
629 2020-10-01 Alan Modra <amodra@gmail.com>
630
631 * config/rs6000/morestack.S,
632 * config/rs6000/tramp.S: Support __PCREL__ code.
633
634 2020-10-01 Alan Modra <amodra@gmail.com>
635
636 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
637
638 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
639
640 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
641 variable.
642
643 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
644
645 * config/aarch64/libgcc-softfp.ver: New file.
646 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
647
648 2020-09-27 Clement Chigot <clement.chigot@atos.net>
649
650 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
651
652 2020-09-22 Sergei Trofimovich <siarheit@google.com>
653
654 PR gcov-profile/96913
655 * libgcov-driver.c (write_one_data): Avoid function pointer
656 comparison in TOP streaming decision.
657
658 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
659 Christophe Lyon <christophe.lyon@linaro.org>
660
661 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
662 qualifier.
663 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
664 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
665 missing prototypes.
666
667 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
668
669 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
670 unused variable warning.
671
672 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
673
674 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
675
676 2020-09-09 Tom de Vries <tdevries@suse.de>
677
678 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
679 Wbuiltin-declaration-mismatch.
680
681 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
682
683 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
684 * config/msp430/srai.S (__gnu_mspabi_srap): New.
685 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
686
687 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
688
689 * config/nvptx/atomic.c: New.
690 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
691
692 2020-08-03 Ian Lance Taylor <iant@golang.org>
693
694 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
695
696 2020-08-03 Jakub Jelinek <jakub@redhat.com>
697
698 PR target/96402
699 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
700 of x(tmp0), x(tmp1) in STXP arguments.
701
702 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
703
704 * config/riscv/save-restore.S [__riscv_xlen == 64]
705 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
706 (__riscv_save_2): Replace negative immediates used for the final
707 stack pointer adjustment with positive ones, right-shifted by 4.
708
709 2020-07-31 Martin Liska <mliska@suse.cz>
710
711 * libgcov-driver.c: Add __gcov_kvp_pool
712 and __gcov_kvp_pool_index variables.
713 * libgcov.h (allocate_gcov_kvp): New.
714 (gcov_topn_add_value): Use it.
715
716 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
717
718 * config/aarch64/lse.S: Add PAC property note.
719
720 2020-07-23 Martin Liska <mliska@suse.cz>
721
722 PR gcov-profile/96035
723 * libgcov-driver-system.c: Create gcov folders with 0777
724 so that it respects a system umask.
725
726 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
727
728 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
729
730 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
731
732 PR target/94891
733 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
734 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
735 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
736 (MD_DEMANGLE_RETURN_ADDR): This.
737 (aarch64_post_extract_frame_addr): Rename to ...
738 (aarch64_demangle_return_addr): This.
739 (aarch64_post_frob_eh_handler_addr): Remove.
740 * unwind-dw2.c (uw_update_context): Demangle return address.
741 (uw_frob_return_addr): Remove.
742
743 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
744
745 PR target/96001
746 * config/aarch64/lse.S: Add BTI marking and related definitions,
747 and add BTI c to function entries.
748
749 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
750
751 * config/aarch64/lse.S: Add stack note.
752
753 2020-07-02 Martin Liska <mliska@suse.cz>
754
755 PR gcov-profile/95348
756 * libgcov-driver.c (merge_one_data): Merge only profiles
757 that are not of non-zero type.
758 (write_one_data): Write counters only if there's one non-zero
759 value.
760 * libgcov-util.c (tag_function): Change signature from unsigned
761 to int.
762 (tag_blocks): Likewise.
763 (tag_arcs): Likewise.
764 (tag_counters): Likewise.
765 (tag_summary): Likewise.
766 (tag_lines): Read only if COUNTERS is non-zero.
767 (read_gcda_file): Handle negative length for COUNTERS type.
768
769 2020-06-25 Martin Liska <mliska@suse.cz>
770
771 * libgcov-driver.c (merge_summary): Remove function as its name
772 is misleading and doing something different.
773 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
774 in gcov-tool.
775 * libgcov-util.c (curr_object_summary): Remove.
776 (read_gcda_file): Remove unused curr_object_summary.
777 (gcov_merge): Merge summaries.
778 * libgcov.h: Add summary argument for gcov_info struct.
779
780 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
781
782 PR target/95259
783 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
784 "common/config/i386/i386-cpuinfo.h" and
785 "common/config/i386/cpuinfo.h".
786 (__cpu_features2): Changed to array.
787 (get_amd_cpu): Removed.
788 (get_intel_cpu): Likewise.
789 (get_available_features): Likewise.
790 (__cpu_indicator_init): Call cpu_indicator_init.
791 * config/i386/cpuinfo.h: Removed.
792
793 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
794
795 * Makefile.in: Remove uses of empty.mk. Use -include.
796 * config/avr/t-avr: Use -include.
797 * empty.mk: Delete.
798
799 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
800
801 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
802 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
803 and 64 bit with -maix64.
804 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
805 Build and install AIX-style FAT libraries.
806
807 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
808
809 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
810 'i386/gnu-unwind.h'
811 * config/i386/gnu-unwind.h: New file.
812
813 2020-06-17 Martin Liska <mliska@suse.cz>
814
815 * libgcov-util.c (read_gcda_finalize): Remove const operator.
816 (merge_wrapper): Add both counts and use them properly.
817 (topn_to_memory_representation): New function.
818 (gcov_merge): Covert on disk representation to in memory
819 representation.
820 * libgcov.h: Remove const operator.
821
822 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
823
824 * configure: Regenerate.
825 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
826 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
827
828 2020-06-09 Martin Liska <mliska@suse.cz>
829
830 PR gcov-profile/95494
831 * libgcov-driver.c (write_top_counters): Cast first to
832 intptr_t as sizeof(*) != sizeof(gcov_type).
833 * libgcov.h (gcov_counter_set_if_null): Remove.
834 (gcov_topn_add_value): Cast first to intptr_t and update
835 linked list directly.
836
837 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
838
839 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
840 with uw_install_context_1.
841
842 2020-06-04 Andreas Schwab <schwab@suse.de>
843
844 PR target/59230
845 PR libfortran/59227
846 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
847 soft-fp/divtf3.c.
848 (LIB2ADD): Add config/ia64/divtf3.c.
849 * config/ia64/divtf3.c: New file.
850
851 2020-06-03 Martin Liska <mliska@suse.cz>
852
853 PR gcov-profile/95480
854 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
855 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
856 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
857 (gcov_counter_set_if_null): Likewise.
858
859 2020-06-02 Jim Wilson <jimw@sifive.com>
860
861 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
862 to bgtz.
863
864 2020-06-02 Martin Liska <mliska@suse.cz>
865
866 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
867 of xmalloc.
868
869 2020-06-02 Martin Liska <mliska@suse.cz>
870
871 * libgcov-driver.c (prune_topn_counter): Remove.
872 (prune_counters): Likewise.
873 (merge_one_data): Special case TOP N counters
874 as they have variable length.
875 (write_top_counters): New.
876 (write_one_data): Special case TOP N.
877 (dump_one_gcov): Do not prune TOP N counters.
878 * libgcov-merge.c (merge_topn_values_set): Remove.
879 (__gcov_merge_topn): Use gcov_topn_add_value.
880 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
881 Likewise here.
882 * libgcov.h (gcov_counter_add): New.
883 (gcov_counter_set_if_null): Likewise.
884 (gcov_topn_add_value): New.
885
886 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
887
888 * config/i386/sfp-exceptions.c (struct fenv):
889 Add __attribute__ ((gcc_struct)).
890
891 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
892
893 PR bootstrap/95413
894 * configure: Regenerated.
895
896 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
897
898 PR gcov-profile/95332
899 * libgcov-util.c (read_gcda_file): Call gcov_magic.
900 * libgcov.h (gcov_magic): Disable GCC poison.
901
902 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
903
904 PR target/95212
905 * config/i386/cpuinfo.h (processor_features): Move
906 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
907
908 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
909
910 PR target/91695
911 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
912 check.
913
914 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
915
916 PR target/95212
917 PR target/95220
918 * config/i386/cpuinfo.c (get_available_features): Fix
919 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
920 * config/i386/cpuinfo.h (processor_features): Add
921 FEATURE_AVX512VP2INTERSECT.
922
923 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
924
925 PR bootstrap/95147
926 * configure: Regenerated.
927
928 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
929
930 * configure: Regenerated.
931
932 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
933
934 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
935 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
936
937 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
938
939 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
940 (__math_force_eval_div): New define.
941 (__sfp_handle_exceptions): Use __math_force_eval_div to use
942 generic division to generate INVALID, DIVZERO and INEXACT
943 exceptions.
944
945 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
946
947 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
948 instead of getauxval.
949 (AT_HWCAP): Define.
950 (HWCAP_ATOMICS): Define.
951 Guard detection on __gnu_linux__.
952
953 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
954
955 * config.host: Delete changes meant for a private branch.
956 * config/rs6000/t-float128: Likewise.
957 * configure.ac: Likewise.
958 * configure: Likewise.
959
960 2020-05-05 Martin Liska <mliska@suse.cz>
961
962 PR gcov-profile/93623
963 * Makefile.in: Remove __gcov_flush.
964 * gcov.h (__gcov_flush): Remove.
965 * libgcov-interface.c (__gcov_flush): Remove.
966 (init_mx): Use renamed mutex.
967 (__gcov_lock): Likewise.
968 (__gcov_unlock): Likewise.
969 (__gcov_fork): Likewise.
970 (__gcov_flush): Remove.
971
972 2020-05-05 Martin Liska <mliska@suse.cz>
973
974 PR gcov-profile/93623
975 * libgcov-interface.c (__gcov_fork): Do not flush
976 and reset only in child process.
977 (__gcov_execl): Dump counters only and reset them
978 only if exec* fails.
979 (__gcov_execlp): Likewise.
980 (__gcov_execle): Likewise.
981 (__gcov_execv): Likewise.
982 (__gcov_execvp): Likewise.
983 (__gcov_execve): Likewise.
984
985 2020-05-05 Martin Liska <mliska@suse.cz>
986
987 PR gcov-profile/93623
988 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
989 * libgcov-interface.c (ALIAS_void_fn): Remove.
990 (__gcov_lock): New.
991 (__gcov_unlock): New.
992 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
993 (__gcov_reset): Likewise.
994 (__gcov_dump): Likewise.
995 * libgcov.h (__gcov_lock): New declaration.
996 (__gcov_unlock): Likewise.
997
998 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
999
1000 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1001 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1002 generic division to generate INVALID and DIVZERO exceptions.
1003
1004 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1005
1006 * config/rs6000/crtresfpr.S: Use .machine ppc.
1007 * config/rs6000/crtresxfpr.S: Likewise.
1008 * config/rs6000/crtsavfpr.S: Likewise.
1009
1010 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1011
1012 PR target/94514
1013 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1014 Update context->flags accroding to the frame state.
1015
1016 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1017
1018 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1019 Remove unneeded assignments to volatile memory.
1020
1021 2020-04-15 Jakub Jelinek <jakub@redhat.com>
1022
1023 PR target/93053
1024 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1025 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1026 is not defined, use just .arch armv8-a.
1027 (B, M, N, OPN): Define.
1028 (COMMENT): New .macro.
1029 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1030 defined. Otherwise, move the operands right after the glue? and
1031 comment out operands where the macros are used.
1032 * configure: Regenerated.
1033 * config.in: Regenerated.
1034
1035 2020-04-07 Ian Lance Taylor <iant@golang.org>
1036
1037 PR libgcc/94513
1038 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1039 syscall instead.
1040
1041 2020-04-04 Ian Lance Taylor <iant@golang.org>
1042
1043 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1044
1045 2020-04-03 Ian Lance Taylor <iant@golang.org>
1046
1047 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1048 than mmap/munmap, to avoid hooks.
1049
1050 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1051
1052 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1053 (TPFRA_OFFSET): Macros removed.
1054 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1055 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1056 (PG3_SKIPPING_OFFSET): New macros.
1057 (__isPATrange): Use cinfc_fast for the check.
1058 (__isSkipResetAddr): New function.
1059 (s390_fallback_frame_state): Check for skip trace addresses. Use
1060 either ICST_CRET or ICST_SRET to calculate return address
1061 location.
1062 (__tpf_eh_return): Handle skip trace addresses.
1063
1064 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
1065
1066 PR target/94220
1067 * config/arm/lib1funcs.asm (COND): Use a single definition for
1068 unified syntax.
1069 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1070 (aeabi_idivmod): Likewise.
1071 (divsi3_skip_div0_test): Likewise.
1072
1073 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1074
1075 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1076
1077 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1078
1079 * config.host: Include the new makefile fragment.
1080 * config/s390/t-tpf: New file.
1081
1082 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
1083
1084 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1085 syntax.
1086 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1087 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1088 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1089 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1090 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1091 syntax.
1092 (divsi3, modsi3): Likewise.
1093 (clzdi2, ctzsi2): Likewise.
1094 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1095 unified syntax.
1096 (UNWIND_WRAPPER): Likewise.
1097
1098 2020-03-02 Martin Liska <mliska@suse.cz>
1099
1100 * libgcov-interface.c: Remove duplicate
1101 declaration of __gcov_flush_mx.
1102
1103 2020-02-18 Martin Liska <mliska@suse.cz>
1104
1105 PR ipa/92924
1106 * libgcov-merge.c (merge_topn_values_set): Record
1107 when a TOP N counter becomes invalid. When merging
1108 remove a smallest value if the space is needed.
1109
1110 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1111
1112 PR libstdc++/79193
1113 PR libstdc++/88999
1114
1115 * configure: Regenerated.
1116
1117 2020-02-10 Jeff Law <law@redhat.com>
1118
1119 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1120 sections.
1121 * config/frv/frvend.c: Similarly.
1122
1123 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1124
1125 PR libgcc/85334
1126 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1127 New.
1128
1129 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1130
1131 PR target/93615
1132 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1133 _Unwind_gnu_Find_got.
1134 * unwind-pe.h: Likewise.
1135
1136 2020-02-07 Jakub Jelinek <jakub@redhat.com>
1137
1138 PR target/93615
1139 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1140 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1141 trailing :s in asm. Formatting fixes.
1142 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1143
1144 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1145
1146 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1147
1148 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1149 * config/nios2-elf-lib.h: New.
1150 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1151 code for finding GOT base for nios2.
1152
1153 2020-01-27 Martin Liska <mliska@suse.cz>
1154
1155 PR gcov-profile/93403
1156 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1157 Call __gcov_indirect_call_profiler_body.
1158 (__gcov_indirect_call_profiler_body): New.
1159 (__gcov_indirect_call_profiler_v4_atomic): New.
1160 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1161 New declaration.
1162
1163 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1164
1165 * config/arc/crti.S: Add RF16 object attribute.
1166 * config/arc/crtn.S: Likewise.
1167 * config/arc/crttls.S: Likewise.
1168 * config/arc/lib1funcs.S: Likewise.
1169 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1170 * config/arc/lib2funcs.c: New file.
1171 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1172
1173 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
1174
1175 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1176 * configure.ac: Handle `--with-toolexeclibdir='.
1177 * configure: Regenerate.
1178
1179 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1180
1181 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1182
1183 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1184
1185 * config/mips/gnustack.h: New file.
1186 * config/mips/crti.S: Include gnustack.h.
1187 * config/mips/crtn.S: Likewise.
1188 * config/mips/mips16.S: Likewise.
1189 * config/mips/vr4120-div.S: Likewise.
1190
1191 2020-01-23 Martin Liska <mliska@suse.cz>
1192
1193 * libgcov-driver.c (prune_topn_counter): Remove
1194 check for -1 as we only prune run-time counters
1195 that do not generate an invalid state.
1196
1197 2020-01-22 Martin Liska <mliska@suse.cz>
1198
1199 PR tree-optimization/92924
1200 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1201 try to find an existing value, then find an empty slot
1202 if not found.
1203
1204 2020-01-22 Martin Liska <mliska@suse.cz>
1205
1206 PR tree-optimization/92924
1207 * libgcov-driver.c (prune_topn_counter): New.
1208 (prune_counters): Likewise.
1209 (dump_one_gcov): Prune a run-time counter.
1210 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1211 For a known value, add GCOV_TOPN_VALUES to value.
1212 Otherwise, decrement all counters by one.
1213
1214 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
1215
1216 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1217
1218 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
1219
1220 PR libgcc/92988
1221 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1222 DEFAULT_USE_CXA_ATEXIT is true.
1223
1224 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
1225 Thomas Preud'homme <thomas.preudhomme@arm.com>
1226
1227 * config/arm/t-arm: Check return value of gcc rather than lack of
1228 output.
1229
1230 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
1231
1232 * config/avr/lib1funcs.S (skip): Simplify.
1233
1234 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1235
1236 * config/gcn/atomic.c: Remove include of stdint.h.
1237 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1238 __UINTPTR_TYPE__.
1239
1240 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1241
1242 * config/gcn/atomic.c: New.
1243 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1244
1245 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
1246
1247 Implement 64-bit double functions.
1248
1249 PR target/92055
1250 * config.host (tmake_file) [target=avr]: Add t-libf7,
1251 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1252 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1253 depending on sizeof (double) or sizeof (long double).
1254 * config/avr/libf7: New folder.
1255
1256 2020-01-05 Olivier Hainque <hainque@adacore.com>
1257
1258 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1259 by IN_LIBGCC2.
1260
1261 2020-01-01 Jakub Jelinek <jakub@redhat.com>
1262
1263 Update copyright years.
1264
1265 2019-12-30 Olivier Hainque <hainque@adacore.com>
1266
1267 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1268 * config/gthr-vxworks-tls.c: Likewise.
1269
1270 2019-12-30 Olivier Hainque <hainque@adacore.com>
1271
1272 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1273 standard zero-initializer syntax.
1274
1275 2019-12-30 Olivier Hainque <hainque@adacore.com>
1276
1277 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1278 reference to the internal VX_GET_TLS_DATA interface.
1279
1280 2019-12-30 Olivier Hainque <hainque@adacore.com>
1281
1282 * config/vxcrtstuff.c: Fix incorrect spelling of
1283 USE_INITFINI_ARRAY in guard.
1284
1285 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1286
1287 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1288 Override default "extra_parts" variable.
1289 * configure: Regenerate.
1290 * configure.ac: Disable TM clone registry by default for
1291 msp430-elfbare.
1292
1293 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1294
1295 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1296 "extra_parts".
1297 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1298
1299 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1300
1301 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1302 true.
1303
1304 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1305
1306 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1307 defined instead of its value.
1308
1309 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1310
1311 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1312 if it will have contents.
1313
1314 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
1315
1316 PR target/92055
1317 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1318
1319 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1320
1321 PR libgcc/91737
1322 * config.host: Add t-gthr-noweak on *-*-musl*.
1323 * config/t-gthr-noweak: New file.
1324
1325 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
1326
1327 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1328 volatile void *. Remove trap check.
1329 (__kernel_cmpxchg2): Likewise.
1330 (FETCH_AND_OP_2): Adjust operand types.
1331 (OP_AND_FETCH_2): Likewise.
1332 (FETCH_AND_OP_WORD): Likewise.
1333 (OP_AND_FETCH_WORD): Likewise.
1334 (COMPARE_AND_SWAP_2): Likewise.
1335 (__sync_val_compare_and_swap_4): Likewise.
1336 (__sync_bool_compare_and_swap_4): Likewise.
1337 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1338 (__sync_lock_test_and_set_4): Likewise.
1339 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1340 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1341 for release.
1342 (__sync_lock_release_8): Remove.
1343
1344 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1345
1346 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1347 of __sigset_t.
1348
1349 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
1350 Doug Rupp <rupp@adacore.com>
1351 Olivier Hainque <hainque@adacore.com>
1352
1353 * config.host: Collapse the arm-vxworks entries into
1354 a single arm-wrs-vxworks7* one.
1355 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1356 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1357 kernel modules, to be overriden by libstdc++ when we link with
1358 it. Rely on externally provided __exidx_start/end.
1359
1360 2019-11-14 Doug Rupp <rupp@adacore.com>
1361 Olivier Hainque <hainque@adacore.com>
1362
1363 * config.host: Handle aarch64*-wrs-vxworks7*.
1364
1365 2019-11-12 Olivier Hainque <hainque@adacore.com>
1366
1367 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1368 sources except the cxx0x support to LIB2ADDEH. We don't support
1369 cxx0x on AE/653.
1370 * config/t-vxworksae: New file.
1371 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1372 Makefile fragment files at their expected position in the tmake_file
1373 list, in accordance with what is done for other VxWorks variants.
1374
1375 2019-11-12 Corentin Gay <gay@adacore.com>
1376 Jerome Lambourg <lambourg@adacore.com>
1377 Olivier Hainque <hainque@adacore.com>
1378
1379 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1380 sources to LIB2ADDEH.
1381 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1382 * config/t-vxworks7: Likewise.
1383
1384 * config.host: Append a block at the end of the file to add the
1385 t-gthr files to the tmake_file list for VxWorks after everything
1386 else.
1387
1388 * config/vxlib.c: Rename as gthr-vxworks.c.
1389 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1390
1391 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1392 API and a basic error checking API, both internal. Simplify the
1393 __gthread_once_t type definition and initializers. Add sections
1394 for condition variables support and for the C++0x thread support,
1395 conditioned against Vx653 for the latter.
1396
1397 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1398 implementation, leveraging the TAS internal API.
1399 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1400 API, leveraging the general availability of TLS services in VxWorks7
1401 post SR6xxx.
1402 (__gthread_setspecific, __gthread_setspecific): Use it.
1403 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1404 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1405 support based on VxWorks primitives.
1406 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1407 based on VxWorks primitives.
1408
1409 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
1410 Olivier Hainque <hainque@adacore.com>
1411
1412 * config/vxcrtstuff.c: New file.
1413 * config/t-vxcrtstuff: New Makefile fragment.
1414 * config.host: Append t-vxcrtstuff to the tmake_file list
1415 on all VxWorks ports using dwarf for table based EH.
1416
1417 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
1418
1419 Support 64-bit double and 64-bit long double configurations.
1420
1421 PR target/92055
1422 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1423 long double is a 32-bit type.
1424 * config/avr/t-avrlibc: Copy double64 and long-double64
1425 multilib(s) from the vanilla one.
1426 * config/avr/t-copy-libgcc: New Makefile snip.
1427
1428 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1429
1430 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1431 the target output object format is not ELF.
1432 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1433
1434 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1435
1436 PR libgcc/78804
1437 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1438 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1439 FLOAT_BIT_ORDER_MISMATCH.
1440 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1441
1442 2019-11-01 Jim Wilson <jimw@sifive.com>
1443
1444 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1445
1446 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1447
1448 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1449 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1450 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1451 Define symbols for 32-bit and f5series hardware multiply
1452 register addresses.
1453 Replace hard-coded register addresses with symbols.
1454 Fix "_mspabi*" typo.
1455 Fix whitespace.
1456 * config/msp430/lib2mul.c: Add comment.
1457
1458 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
1459
1460 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1461 unsigned int. Adjust callers.
1462 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1463 unsigned int *. Load relocation offset before function pointer.
1464 Add barrier to ensure ordering.
1465
1466 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
1467
1468 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1469 Load PIC register after branch target. Fix white space.
1470 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1471 implementations. Load PIC register after branch target. Don't
1472 clobber function pointer when it points to function descriptor.
1473 Use nullification instead of branch in LINUX implementation.
1474
1475 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
1476
1477 * config/pa/fptr.c: Disable -Warray-bounds warning.
1478
1479 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
1480
1481 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1482 not the ubuntu modified 2.69.
1483
1484 PR target/91833
1485 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1486 initialization if !HAVE_SYS_AUXV_H.
1487 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1488 * config.in, configure: Rebuild.
1489
1490 PR target/91834
1491 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1492 overlap the inputs.
1493
1494 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1495
1496 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1497 CTR_EL0.IDC and CTR_EL0.DIC.
1498
1499 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1500
1501 Revert:
1502 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1503 Mickaël Guêné <mickael.guene@st.com>
1504
1505 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1506 architecture.
1507
1508 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1509
1510 * config/aarch64/lse-init.c: New file.
1511 * config/aarch64/lse.S: New file.
1512 * config/aarch64/t-lse: New file.
1513 * config.host: Add t-lse to all aarch64 tuples.
1514
1515 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1516 Mickaël Guêné <mickael.guene@st.com>
1517
1518 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1519 architecture.
1520
1521 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1522 Mickaël Guêné <mickael.guene@st.com>
1523
1524 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1525 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1526 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1527 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1528 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1529 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1530 (__gnu_personality_sigframe_fdpic): New.
1531 (get_eit_entry): Add FDPIC signal frame support.
1532
1533 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1534 Mickaël Guêné <mickael.guene@st.com>
1535
1536 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1537 (__kernel_dmb): Likewise.
1538 (__fdpic_cmpxchg): New function.
1539 (__fdpic_dmb): New function.
1540 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1541 (gnu_Unwind_Find_got): New function.
1542 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1543 * unwind-arm-common.inc (UCB_PR_GOT): New.
1544 (funcdesc_t): New struct.
1545 (get_eit_entry): Add FDPIC support.
1546 (unwind_phase2): Likewise.
1547 (unwind_phase2_forced): Likewise.
1548 (__gnu_Unwind_RaiseException): Likewise.
1549 (__gnu_Unwind_Resume): Likewise.
1550 (__gnu_Unwind_Backtrace): Likewise.
1551 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1552
1553 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1554 Mickaël Guêné <mickael.guene@st.com>
1555
1556 * libgcc/crtstuff.c: Add support for FDPIC.
1557
1558 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1559
1560 * config.host: Handle *-*-uclinuxfdpiceabi.
1561
1562 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1563
1564 * config.host: Set cpu_type for bpf-*-* targets.
1565 * config/bpf/t-bpf: Likewise.
1566 * config/bpf/crtn.S: Likewise.
1567 * config/bpf/crti.S: New file.
1568
1569 2019-09-06 Jim Wilson <jimw@sifive.com>
1570
1571 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1572 (riscv*-*-freebsd*): Likewise.
1573
1574 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1575
1576 * config.host: Remove references to spu.
1577 * config/spu/: Remove directory.
1578
1579 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1580
1581 PR target/91306
1582 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1583 element type, instead of "sizeof" the element type.
1584 (__DTOR_LIST__): Likewise.
1585 (__TMC_LIST__): Likewise.
1586 (__do_global_dtors_aux_fini_array_entry): Likewise.
1587 (__frame_dummy_init_array_entry): Likewise.
1588 (__CTOR_END__): Likewise.
1589 (__DTOR_END__): Likweise.
1590 (__FRAME_END__): Likewise.
1591 (__TMC_END__): Likewise.
1592
1593 2019-08-20 Lili Cui <lilicui@intel.com>
1594
1595 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1596 INTEL_COREI7_COOPERLAKE.
1597
1598 2019-07-31 Matt Thomas <matt@3am-software.com>
1599 Nick Hudson <nick@nthcliff.demon.co.uk>
1600 Matthew Green <mrg@eterna.com.au>
1601 Maya Rashish <coypu@sdf.org>
1602
1603 * config.host (hppa*-*-netbsd*): New case.
1604 * config/pa/t-netbsd: New file.
1605
1606 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1607
1608 * config/arm/cmse.c (cmse_check_address_range): Add
1609 warn_unused_result attribute.
1610
1611 2019-07-22 Martin Liska <mliska@suse.cz>
1612
1613 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1614 * config/pa/t-stublib: Likewise.
1615
1616 2019-07-22 Stafford Horne <shorne@gmail.com>
1617
1618 PR target/90362
1619 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1620 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1621 instructions are not available on every processor. Change a
1622 l.bnf to l.bf to fix logic issue.
1623
1624 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1625
1626 * config.host: Remove reference to t-darwin8.
1627
1628 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1629
1630 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1631 list.
1632 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1633 mmacosx-version-min for crts to run across all system versions.
1634 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1635 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1636 system versions >= 10.4.
1637
1638 2019-07-03 Martin Liska <mliska@suse.cz>
1639
1640 * Makefile.in: Use topn_values instead of one_value names.
1641 * libgcov-merge.c (__gcov_merge_single): Move to ...
1642 (__gcov_merge_topn): ... this.
1643 (merge_single_value_set): Move to ...
1644 (merge_topn_values_set): ... this.
1645 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1646 ...
1647 (__gcov_topn_values_profiler_body): ... this.
1648 (__gcov_one_value_profiler_v2): Move to ...
1649 (__gcov_topn_values_profiler): ... this.
1650 (__gcov_one_value_profiler_v2_atomic): Move to ...
1651 (__gcov_topn_values_profiler_atomic): ... this.
1652 (__gcov_indirect_call_profiler_v4): Remove.
1653 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1654 (__gcov_topn_counter_op): ... this.
1655 * libgcov.h (L_gcov_merge_single): Remove.
1656 (L_gcov_merge_topn): New.
1657 (__gcov_merge_single): Remove.
1658 (__gcov_merge_topn): New.
1659 (__gcov_one_value_profiler_v2): Move to ..
1660 (__gcov_topn_values_profiler): ... this.
1661 (__gcov_one_value_profiler_v2_atomic): Move to ...
1662 (__gcov_topn_values_profiler_atomic): ... this.
1663
1664 2019-07-03 Martin Liska <mliska@suse.cz>
1665
1666 * libgcov-merge.c (merge_single_value_set): Support N values.
1667 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1668
1669 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1670
1671 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1672 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1673 * configure.ac: Add --disable-tm-clone-registry option.
1674 * configure: Regenerate.
1675
1676 2019-06-27 Martin Liska <mliska@suse.cz>
1677
1678 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1679 dead assignments.
1680 * libgcov-util.c: Likewise.
1681
1682 2019-06-27 Martin Liska <mliska@suse.cz>
1683
1684 * libgcov-util.c (gcov_profile_merge): Release allocated
1685 memory.
1686 (calculate_overlap): Likewise.
1687
1688 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1689
1690 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1691 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1692 Build objects for the out of line save/restore register functions
1693 so that they can be used for any supported Darwin version.
1694 * config/t-darwin: Default the build Darwin version to Darwin8
1695 (MacOS 10.4).
1696
1697 2019-06-25 Martin Liska <mliska@suse.cz>
1698
1699 * libgcov-driver-system.c (replace_filename_variables): Do not
1700 call strlen with NULL argument.
1701
1702 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1703
1704 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1705 * config/gcn/unwind-gcn.c: New file.
1706
1707 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1708 Andrew Stubbs <ams@codesourcery.com>
1709
1710 * configure: Regenerate.
1711 * config/gcn/gthr-gcn.h: New.
1712
1713 2019-06-18 Tom de Vries <tdevries@suse.de>
1714
1715 * config/nvptx/crt0.c (__main): Declare.
1716
1717 2019-06-17 Matthew Green <mrg@eterna.com.au>
1718 Maya Rashish <coypu@sdf.org>
1719
1720 * config.host (aarch64*-*-netbsd*): New case.
1721
1722 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1723
1724 * config/msp430/slli.S (__mspabi_sllll): New library function for
1725 performing a logical left shift of a 64-bit value.
1726 * config/msp430/srai.S (__mspabi_srall): New library function for
1727 performing a arithmetic right shift of a 64-bit value.
1728 * config/msp430/srll.S (__mspabi_srlll): New library function for
1729 performing a logical right shift of a 64-bit value.
1730
1731 2019-06-14 Matt Thomas <matt@3am-software.com>
1732 Matthew Green <mrg@eterna.com.au>
1733 Nick Hudson <skrll@netbsd.org>
1734 Maya Rashish <coypu@sdf.org>
1735
1736 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1737 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1738 functions to build.
1739 * config/arm/t-netbsd-eabi: New file.
1740
1741 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1742
1743 * config.host: Add PRU target.
1744 * config/pru/asri.c: New file.
1745 * config/pru/eqd.c: New file.
1746 * config/pru/eqf.c: New file.
1747 * config/pru/ged.c: New file.
1748 * config/pru/gef.c: New file.
1749 * config/pru/gtd.c: New file.
1750 * config/pru/gtf.c: New file.
1751 * config/pru/led.c: New file.
1752 * config/pru/lef.c: New file.
1753 * config/pru/lib2bitcountHI.c: New file.
1754 * config/pru/lib2divHI.c: New file.
1755 * config/pru/lib2divQI.c: New file.
1756 * config/pru/lib2divSI.c: New file.
1757 * config/pru/libgcc-eabi.ver: New file.
1758 * config/pru/ltd.c: New file.
1759 * config/pru/ltf.c: New file.
1760 * config/pru/mpyll.S: New file.
1761 * config/pru/pru-abi.h: New file.
1762 * config/pru/pru-asm.h: New file.
1763 * config/pru/pru-divmod.h: New file.
1764 * config/pru/sfp-machine.h: New file.
1765 * config/pru/t-pru: New file.
1766
1767 2019-06-11 Jakub Jelinek <jakub@redhat.com>
1768
1769 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1770
1771 2019-06-10 Martin Liska <mliska@suse.cz>
1772
1773 PR bootstrap/90808
1774 * libgcov.h: Add ATTRIBUTE_UNUSED.
1775
1776 2019-06-10 Martin Liska <mliska@suse.cz>
1777
1778 * Makefile.in: Add __gcov_one_value_profiler_v2,
1779 __gcov_one_value_profiler_v2_atomic and
1780 __gcov_indirect_call_profiler_v4.
1781 * libgcov-merge.c (__gcov_merge_single): Change
1782 function signature.
1783 (merge_single_value_set): New.
1784 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1785 Update functionality.
1786 (__gcov_one_value_profiler): Remove.
1787 (__gcov_one_value_profiler_v2): ... this.
1788 (__gcov_one_value_profiler_atomic): Rename to ...
1789 (__gcov_one_value_profiler_v2_atomic): this.
1790 (__gcov_indirect_call_profiler_v3): Rename to ...
1791 (__gcov_indirect_call_profiler_v4): ... this.
1792 * libgcov.h (__gcov_one_value_profiler): Remove.
1793 (__gcov_one_value_profiler_atomic): Remove.
1794 (__gcov_one_value_profiler_v2_atomic): New.
1795 (__gcov_indirect_call_profiler_v3): Remove.
1796 (__gcov_one_value_profiler_v2): New.
1797 (__gcov_indirect_call_profiler_v4): New.
1798 (gcov_get_counter_ignore_scaling): New function.
1799
1800 2019-06-07 Martin Liska <mliska@suse.cz>
1801
1802 * Makefile.in: Remove usage of
1803 _gcov_merge_icall_topn.
1804 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1805 (gcov_sort_icall_topn_counter): Likewise.
1806 (gcov_sort_topn_counter_arrays): Likewise.
1807 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1808 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1809 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1810 Likewise.
1811 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1812 (struct indirect_call_tuple): Remove.
1813 (__gcov_indirect_call_topn_profiler): Remove.
1814 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1815 * libgcov.h (gcov_sort_n_vals): Remove.
1816 (L_gcov_merge_icall_topn): Likewise.
1817 (__gcov_merge_icall_topn): Likewise.
1818 (__gcov_indirect_call_topn_profiler): Likewise.
1819
1820 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1821
1822 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1823 altivec enabled.
1824
1825 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1826
1827 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1828 section.
1829 (__mspabi_slli): Likewise.
1830 (__mspabi_slll_n): Likewise.
1831 (__mspabi_slll): Likewise.
1832 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1833 (__mspabi_srai): Likewise.
1834 (__mspabi_sral_n): Likewise.
1835 (__mspabi_sral): Likewise.
1836 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1837 (__mspabi_srli): Likewise.
1838 (__mspabi_srll_n): Likewise.
1839 (__mspabi_srll): Likewise.
1840
1841 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1842
1843 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1844 Add appropriate tm_file clause as well.
1845 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1846
1847 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1848
1849 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1850 rather than .data/.bss so it can be accessed via gp-relative
1851 addressing.
1852
1853 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1854
1855 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1856 (CR2_REGNO): Rename to R_CR2.
1857 (XER_REGNO): Rename to R_XER.
1858 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1859 (VRSAVE_REGNO): Rename to R_VRSAVE.
1860 (VSCR_REGNO): R_VSCR.
1861
1862 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1863
1864 * config.host (rx-*-linux*): Add new case.
1865 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1866
1867 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1868
1869 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1870 function.
1871 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1872 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1873 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1874 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1875 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1876 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1877 string.
1878 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1879 string.
1880 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1881
1882 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1883
1884 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1885 Remove Solaris 9 and 10 support.
1886 (sparc_is_sighandler): Likewise.
1887
1888 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1889
1890 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1891
1892 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1893
1894 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1895 4_FP_W_TYPEs are used for IEEE quad precision.
1896 * soft-fp/extendhftf2.c: Likewise.
1897 * soft-fp/extendsftf2.c: Likewise.
1898 * soft-fp/extendxftf2.c: Likewise.
1899 * soft-fp/trunctfdf2.c: Likewise.
1900 * soft-fp/trunctfhf2.c: Likewise.
1901 * soft-fp/trunctfsf2.c: Likewise.
1902 * soft-fp/trunctfxf2.c: Likewise.
1903 * config/rs6000/ibm-ldouble.c: Likewise.
1904
1905 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1906
1907 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1908 *-*-solaris2*.
1909 * configure.ac: Likewise.
1910 * configure: Regenerate.
1911
1912 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1913 Solaris 10 and Solaris 11 < snv_125 handling.
1914
1915 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1916
1917 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1918
1919 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1920
1921 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1922 * config/i386/cpuinfo.h (enum processor_features): Add
1923 FEATURE_AVX512BF16.
1924
1925 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1926 Bernd Edlinger <bernd.edlinger@hotmail.de>
1927 Jakub Jelinek <jakub@redhat.com>
1928
1929 PR target/89093
1930 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1931 * config/arm/unwind-arm.c: Likewise.
1932 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1933 attribute for ARM.
1934
1935 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1936
1937 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1938 (RT_SIGRETURN): Update.
1939 (nds32_fallback_frame_state): Update.
1940
1941 2019-02-21 Martin Sebor <msebor@redhat.com>
1942
1943 * libgcc2.h (__clear_cache): Correct signature.
1944 * libgcc2.c (__clear_cache): Same.
1945
1946 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1947
1948 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1949 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1950
1951 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1952
1953 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1954 regno instead of index to DWARF_ZERO_REG.
1955
1956 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1957
1958 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1959 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1960
1961 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1962
1963 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1964 to HOST_LIBGCC2_CFLAGS.
1965
1966 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1967
1968 PR libgcc/88931
1969 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1970
1971 2019-01-18 Martin Liska <mliska@suse.cz>
1972
1973 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1974 to ...
1975 (__gcov_indirect_call_profiler_v3): ... this.
1976 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1977 (__gcov_indirect_call_profiler_v3): Likewise.
1978 * Makefile.in: Bump function name.
1979
1980 2019-01-18 Martin Liska <mliska@suse.cz>
1981
1982 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1983 (gcov_version): Use in gcov_error.
1984 (merge_one_data): Likewise.
1985 (dump_one_gcov): Likewise.
1986
1987 2019-01-18 Martin Liska <mliska@suse.cz>
1988
1989 * libgcov-driver.c (gcov_version_string): New function.
1990 (gcov_version): Convert version integer into string.
1991
1992 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
1993 Kwok Cheung Yeung <kcy@codesourcery.com>
1994 Julian Brown <julian@codesourcery.com>
1995 Tom de Vries <tom@codesourcery.com>
1996
1997 * config.host: Recognize amdgcn*-*-amdhsa.
1998 * config/gcn/crt0.c: New file.
1999 * config/gcn/lib2-divmod-hi.c: New file.
2000 * config/gcn/lib2-divmod.c: New file.
2001 * config/gcn/lib2-gcn.h: New file.
2002 * config/gcn/sfp-machine.h: New file.
2003 * config/gcn/t-amdgcn: New file.
2004
2005 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2006
2007 PR other/16615
2008
2009 * config/c6x/libunwind.S: Mechanically replace "can not" with
2010 "cannot".
2011 * config/tilepro/atomic.h: Likewise.
2012 * config/vxlib-tls.c: Likewise.
2013 * generic-morestack-thread.c: Likewise.
2014 * generic-morestack.c: Likewise.
2015 * mkmap-symver.awk: Likewise.
2016
2017 2019-01-01 Jakub Jelinek <jakub@redhat.com>
2018
2019 Update copyright years.
2020
2021 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2022
2023 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2024 to ignore -Waddress-of-packed-member.
2025
2026 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2027
2028 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2029 parameter and corresponding code.
2030 (ARM_FUNC_START): Likewise in both definitions.
2031 Also update footer comment about condition that need to match with
2032 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2033 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2034 defined. Weakly define it in this case.
2035 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2036 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2037 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2038 comment to keep condition in sync with the one in
2039 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2040
2041 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
2042
2043 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2044 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2045
2046 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2047
2048 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2049 and .cfi_endproc directives for VxWorks targets.
2050
2051 2018-12-05 Paul Koning <ni1d@arrl.net>
2052
2053 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2054
2055 2018-11-27 Alan Modra <amodra@gmail.com>
2056
2057 * config/rs6000/morestack.S (__stack_split_initialize),
2058 (__morestack_get_guard, __morestack_set_guard),
2059 (__morestack_make_guard): Provide CFI covering these functions.
2060 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2061
2062 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2063
2064 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2065 (sc_pt_regs_lr): Update for kernel.
2066 (sc_pt_regs_tls): Update for kernel.
2067
2068 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2069
2070 * config/csky/linux-unwind.h: Fix coding style.
2071
2072 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2073
2074 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2075 (csky_fallback_frame_state): Modify the check of the
2076 instructions to adapt to changes in the kernel
2077
2078 2018-11-09 Stafford Horne <shorne@gmail.com>
2079 Richard Henderson <rth@twiddle.net>
2080
2081 * config.host: Add OpenRISC support.
2082 * config/or1k/*: New.
2083
2084 2018-11-08 Kito Cheng <kito@andestech.com>
2085
2086 * soft-fp/adddf3.c: Update from glibc.
2087 * soft-fp/addsf3.c: Likewise.
2088 * soft-fp/addtf3.c: Likewise.
2089 * soft-fp/divdf3.c: Likewise.
2090 * soft-fp/divsf3.c: Likewise.
2091 * soft-fp/divtf3.c: Likewise.
2092 * soft-fp/double.h: Likewise.
2093 * soft-fp/eqdf2.c: Likewise.
2094 * soft-fp/eqsf2.c: Likewise.
2095 * soft-fp/eqtf2.c: Likewise.
2096 * soft-fp/extenddftf2.c: Likewise.
2097 * soft-fp/extended.h: Likewise.
2098 * soft-fp/extendhftf2.c: Likewise.
2099 * soft-fp/extendsfdf2.c: Likewise.
2100 * soft-fp/extendsftf2.c: Likewise.
2101 * soft-fp/extendxftf2.c: Likewise.
2102 * soft-fp/fixdfdi.c: Likewise.
2103 * soft-fp/fixdfsi.c: Likewise.
2104 * soft-fp/fixdfti.c: Likewise.
2105 * soft-fp/fixhfti.c: Likewise.
2106 * soft-fp/fixsfdi.c: Likewise.
2107 * soft-fp/fixsfsi.c: Likewise.
2108 * soft-fp/fixsfti.c: Likewise.
2109 * soft-fp/fixtfdi.c: Likewise.
2110 * soft-fp/fixtfsi.c: Likewise.
2111 * soft-fp/fixtfti.c: Likewise.
2112 * soft-fp/fixunsdfdi.c: Likewise.
2113 * soft-fp/fixunsdfsi.c: Likewise.
2114 * soft-fp/fixunsdfti.c: Likewise.
2115 * soft-fp/fixunshfti.c: Likewise.
2116 * soft-fp/fixunssfdi.c: Likewise.
2117 * soft-fp/fixunssfsi.c: Likewise.
2118 * soft-fp/fixunssfti.c: Likewise.
2119 * soft-fp/fixunstfdi.c: Likewise.
2120 * soft-fp/fixunstfsi.c: Likewise.
2121 * soft-fp/fixunstfti.c: Likewise.
2122 * soft-fp/floatdidf.c: Likewise.
2123 * soft-fp/floatdisf.c: Likewise.
2124 * soft-fp/floatditf.c: Likewise.
2125 * soft-fp/floatsidf.c: Likewise.
2126 * soft-fp/floatsisf.c: Likewise.
2127 * soft-fp/floatsitf.c: Likewise.
2128 * soft-fp/floattidf.c: Likewise.
2129 * soft-fp/floattihf.c: Likewise.
2130 * soft-fp/floattisf.c: Likewise.
2131 * soft-fp/floattitf.c: Likewise.
2132 * soft-fp/floatundidf.c: Likewise.
2133 * soft-fp/floatundisf.c: Likewise.
2134 * soft-fp/floatunditf.c: Likewise.
2135 * soft-fp/floatunsidf.c: Likewise.
2136 * soft-fp/floatunsisf.c: Likewise.
2137 * soft-fp/floatunsitf.c: Likewise.
2138 * soft-fp/floatuntidf.c: Likewise.
2139 * soft-fp/floatuntihf.c: Likewise.
2140 * soft-fp/floatuntisf.c: Likewise.
2141 * soft-fp/floatuntitf.c: Likewise.
2142 * soft-fp/gedf2.c: Likewise.
2143 * soft-fp/gesf2.c: Likewise.
2144 * soft-fp/getf2.c: Likewise.
2145 * soft-fp/half.h: Likewise.
2146 * soft-fp/ledf2.c: Likewise.
2147 * soft-fp/lesf2.c: Likewise.
2148 * soft-fp/letf2.c: Likewise.
2149 * soft-fp/muldf3.c: Likewise.
2150 * soft-fp/mulsf3.c: Likewise.
2151 * soft-fp/multf3.c: Likewise.
2152 * soft-fp/negdf2.c: Likewise.
2153 * soft-fp/negsf2.c: Likewise.
2154 * soft-fp/negtf2.c: Likewise.
2155 * soft-fp/op-1.h: Likewise.
2156 * soft-fp/op-2.h: Likewise.
2157 * soft-fp/op-4.h: Likewise.
2158 * soft-fp/op-8.h: Likewise.
2159 * soft-fp/op-common.h: Likewise.
2160 * soft-fp/quad.h: Likewise.
2161 * soft-fp/single.h: Likewise.
2162 * soft-fp/soft-fp.h: Likewise.
2163 * soft-fp/subdf3.c: Likewise.
2164 * soft-fp/subsf3.c: Likewise.
2165 * soft-fp/subtf3.c: Likewise.
2166 * soft-fp/truncdfsf2.c: Likewise.
2167 * soft-fp/trunctfdf2.c: Likewise.
2168 * soft-fp/trunctfhf2.c: Likewise.
2169 * soft-fp/trunctfsf2.c: Likewise.
2170 * soft-fp/trunctfxf2.c: Likewise.
2171 * soft-fp/unorddf2.c: Likewise.
2172 * soft-fp/unordsf2.c: Likewise.
2173 * soft-fp/unordtf2.c: Likewise.
2174
2175 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2176
2177 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2178 * config/i386/cpuinfo.h (processor_types): Add znver2.
2179
2180 2018-11-01 Paul Koning <ni1d@arrl.net>
2181
2182 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2183 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2184
2185 2018-10-31 Joseph Myers <joseph@codesourcery.com>
2186
2187 PR bootstrap/82856
2188 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2189 * configure: Regenerate.
2190
2191 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2192
2193 * config/arc/lib1funcs.S (_muldi3): New function.
2194 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2195
2196 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2197
2198 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2199
2200 2018-10-25 Martin Liska <mliska@suse.cz>
2201
2202 PR other/87735
2203 * libgcov-profiler.c: Revert.
2204
2205 2018-10-24 Martin Liska <mliska@suse.cz>
2206
2207 * libgcov-profiler.c: Start from 1 in order to distinguish
2208 functions which were seen and these that were not.
2209
2210 2018-10-18 Paul Koning <ni1d@arrl.net>
2211
2212 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2213 standard.
2214 * divmod.c: Update references to __udivmodsi4.
2215 * udivmod.c: Ditto.
2216 * udivhi3.c: New file.
2217 * udivmodhi4.c: New file.
2218 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2219
2220 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2221
2222 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2223
2224 2018-10-12 Olivier Hainque <hainque@adacore.com>
2225
2226 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2227 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2228
2229 2018-10-08 Paul Koning <ni1d@arrl.net>
2230
2231 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2232
2233 2018-10-04 Martin Liska <mliska@suse.cz>
2234
2235 PR gcov-profile/84107
2236 * libgcov-profiler.c (__gcov_indirect_call):
2237 Change type to indirect_call_tuple.
2238 (struct indirect_call_tuple): New struct.
2239 (__gcov_indirect_call_topn_profiler): Change type.
2240 (__gcov_indirect_call_profiler_v2): Use the new
2241 variables.
2242 * libgcov.h (struct indirect_call_tuple): New struct
2243 definition.
2244
2245 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
2246
2247 * libgcc2.c (isnan): Use __builtin_isnan.
2248 (isfinite): Use __builtin_isfinite.
2249 (isinf): Use __builtin_isinf.
2250
2251 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
2252
2253 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2254
2255 2018-09-21 Alexandre Oliva <oliva@adacore.com>
2256
2257 * config/vxcache.c: New file. Provide __clear_cache, based on
2258 the cacheTextUpdate VxWorks service.
2259 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2260 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2261 * config/t-vxwoks7: Likewise.
2262
2263 2018-09-21 Martin Liska <mliska@suse.cz>
2264
2265 * libgcov-driver.c (crc32_unsigned): Remove.
2266 (gcov_histogram_insert): Likewise.
2267 (gcov_compute_histogram): Likewise.
2268 (compute_summary): Simplify rapidly.
2269 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2270 (merge_summary): Rapidly simplify.
2271 (dump_one_gcov): Ignore gcov_summary.
2272 (gcov_do_dump): Do not handle program summary, it's not
2273 used.
2274 * libgcov-util.c (tag_summary): Remove.
2275 (read_gcda_finalize): Fix coding style.
2276 (read_gcda_file): Initialize curr_object_summary.
2277 (compute_summary): Remove.
2278 (calculate_overlap): Remove settings of run_max.
2279
2280 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2281
2282 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2283 ucontext_t type instead.
2284 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2285
2286 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
2287
2288 * config/nds32/t-nds32-glibc: New file.
2289
2290 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2291
2292 * configure.ac (solaris_ld_v2_maps): New test.
2293 * configure: Regenerate.
2294 * Makefile.in (solaris_ld_v2_maps): New variable.
2295 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2296 if supported.
2297
2298 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
2299
2300 PR target/86951
2301 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2302 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2303 to build.
2304
2305 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2306
2307 * config/unwind-dw2-fde-darwin.c
2308 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2309 * config/darwin10-unwind-find-enc-func.c: … to here.
2310 * config/t-darwin: Build Darwin10 unwinder shim crt.
2311 * libgcc/config.host: Add the Darwin10 unwinder shim.
2312
2313 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2314
2315 * config.host: Add crtbegin.o and crtend.o for
2316 powerpc-wrs-vxworks target.
2317
2318 2018-08-17 Jojo <jijie_rong@c-sky.com>
2319 Huibin Wang <huibin_wang@c-sky.com>
2320 Sandra Loosemore <sandra@codesourcery.com>
2321 Chung-Lin Tang <cltang@codesourcery.com>
2322
2323 C-SKY port: libgcc
2324
2325 * config.host: Add C-SKY support.
2326 * config/csky/*: New.
2327
2328 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2329
2330 * config/nds32/t-nds32-isr: Rearrange object dependency.
2331 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2332 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2333 and registers usage.
2334 * config/nds32/isr-library/excp_isr.S: Ditto.
2335 * config/nds32/isr-library/intr_isr.S: Ditto.
2336 * config/nds32/isr-library/reset.S: Ditto.
2337 * config/nds32/isr-library/restore_all.inc: Ditto.
2338 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2339 * config/nds32/isr-library/restore_partial.inc: Ditto.
2340 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2341 * config/nds32/isr-library/save_all.inc: Ditto.
2342 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2343 * config/nds32/isr-library/save_partial.inc: Ditto.
2344 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2345 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2346
2347 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
2348
2349 * config/pa/linux-atomic.c: Update comment.
2350 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2351 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2352 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2353 __ATOMIC_RELAXED for atomic loads.
2354 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2355 unordered store to release lock.
2356 (__sync_lock_release_8): Likewise.
2357 (SYNC_LOCK_RELEASE_2): Remove define.
2358
2359 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
2360
2361 PR libgcc/86512
2362 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2363 exponent goes negative. Update my email address.
2364 * config/arm/ieee754-sf.S: Likewise.
2365
2366 2018-08-01 Martin Liska <mliska@suse.cz>
2367
2368 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2369 check that __gcov_indirect_call_callee is non-null.
2370
2371 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2372
2373 * config/arm/ieee754-df.S: Fix comment for code working on
2374 architectures >= 4.
2375 * config/arm/ieee754-sf.S: Likewise.
2376
2377 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2378
2379 PR libgcc/85334
2380 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2381 Removed.
2382
2383 2018-07-05 James Clarke <jrtc27@jrtc27.com>
2384
2385 * configure: Regenerated.
2386
2387 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2388
2389 * Makefile.in (install_leaf): Use enable_gcov instead of
2390 enable_libgcov.
2391
2392 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2393
2394 * configure.ac: Add --disable-gcov option.
2395 * configure: Regenerate.
2396 * Makefile.in: Honour @enable_gcov@.
2397
2398 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2399
2400 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2401 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2402 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2403 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2404 __ARM_ARCH__.
2405 * config/arm/ieee754-sf.S: Likewise.
2406 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2407
2408 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2409
2410 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2411 longer supported.
2412 * config/arm/ieee754-sf.S: Likewise.
2413
2414 2018-06-20 Than McIntosh <thanm@google.com>
2415
2416 PR libgcc/86213
2417 * generic-morestack.c (allocate_segment): Move calls to getenv and
2418 getpagesize to __morestack_load_mmap.
2419 (__morestack_load_mmap) Initialize static_pagesize and
2420 use_guard_page here so as to avoid clobbering SSE regs during a
2421 __morestack call.
2422
2423 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
2424
2425 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2426 support modules with -mno-gnu-attribute.
2427 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2428
2429 2018-06-07 Olivier Hainque <hainque@adacore.com>
2430
2431 * config/t-vxworks (LIBGCC_INCLUDES): Add
2432 -I$(MULTIBUILDTOP)../../gcc/include.
2433 * config/t-vxworks7: Likewise. Reformat a bit to match
2434 the t-vxworks layout.
2435
2436 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2437
2438 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2439
2440 2018-06-07 Martin Liska <mliska@suse.cz>
2441
2442 * libgcov-driver.c: Rename cs_all to all and assign it from
2443 all_prg.
2444
2445 2018-06-07 Martin Liska <mliska@suse.cz>
2446
2447 PR bootstrap/86057
2448 * libgcov-driver-system.c (replace_filename_variables): Use
2449 memcpy instead of mempcpy.
2450 (allocate_filename_struct): Do not allocate filename, allocate
2451 prefix and set it.
2452 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2453 here and properly copy content into it.
2454 * libgcov-driver.c (struct gcov_filename): Remove max_length
2455 field, change prefix from size_t into char *.
2456 (compute_summary): Do not calculate longest filename.
2457 (gcov_do_dump): Release memory of gf.filename after each file.
2458 * libgcov-util.c (compute_summary): Use new signature of
2459 compute_summary.
2460 (calculate_overlap): Likewise.
2461
2462 2018-06-05 Martin Liska <mliska@suse.cz>
2463
2464 PR gcov-profile/47618
2465 * libgcov-driver-system.c (replace_filename_variables): New
2466 function.
2467 (gcov_exit_open_gcda_file): Use it.
2468
2469 2018-06-05 Martin Liska <mliska@suse.cz>
2470
2471 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2472 of gcov_ctr_summary.
2473 (compute_summary): Do it just for a single summary.
2474 (merge_one_data): Likewise.
2475 (merge_summary): Simplify as we read just single summary.
2476 (dump_one_gcov): Pass proper argument.
2477 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2478 single summary.
2479 (gcov_info_count_all_cold): Likewise.
2480 (calculate_overlap): Likewise.
2481
2482 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2483 Monk Chiang <sh.chiang04@gmail.com>
2484
2485 * config.host (nds32*-linux*): New.
2486 * config/nds32/linux-atomic.c: New file.
2487 * config/nds32/linux-unwind.h: New file.
2488
2489 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2490
2491 PR target/85591
2492 * config/i386/cpuinfo.c (get_amd_cpu): Return
2493 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2494
2495 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2496
2497 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2498
2499 2018-05-29 Martin Liska <mliska@suse.cz>
2500
2501 PR gcov-profile/85759
2502 * libgcov-driver-system.c (gcov_error): Introduce usage of
2503 GCOV_EXIT_AT_ERROR env. variable.
2504 * libgcov-driver.c (merge_one_data): Print error that we
2505 overwrite a gcov file with a different timestamp.
2506
2507 2018-05-23 Kalamatee <kalamatee@gmail.com>
2508
2509 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2510 path to Lf$finfty.
2511
2512 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2513 Monk Chiang <sh.chiang04@gmail.com>
2514 Jim Wilson <jimw@sifive.com>
2515
2516 * config/riscv/save-restore.S: Add support for rv32e.
2517
2518 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2519
2520 * config/arm/libunwind.S: Update comment relating to armv5.
2521
2522 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2523
2524 * config/arm/cmse.c (cmse_check_address_range): Replace
2525 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2526
2527 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2528
2529 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2530 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2531
2532 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2533
2534 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2535 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2536
2537 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2538
2539 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2540
2541 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2542 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2543
2544 PR libgcc/84292
2545 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2546 op_and_fetch to return the right result.
2547
2548 2018-04-27 Alan Modra <amodra@gmail.com>
2549
2550 PR libgcc/85532
2551 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2552 -fno-asynchronous-unwind-tables.
2553
2554 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2555
2556 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2557 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2558
2559 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2560
2561 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2562 when including "config/i386/shadow-stack-unwind.h".
2563
2564 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2565
2566 * configure: Regenerated.
2567
2568 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2569
2570 PR target/85456
2571 * config/rs6000/_powikf2.c: New file. Add support for the
2572 __builtin_powil function when long double is IEEE 128-bit floating
2573 point.
2574 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2575 __powikf2 support.
2576 (__powikf2): Likewise.
2577 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2578 (__powikf2_hw): Likewise.
2579 (__powikf2): Likewise.
2580 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2581 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2582 (_powikf2-hw.c): Likewise.
2583
2584 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2585
2586 PR libgcc/85334
2587 * unwind-generic.h (_Unwind_Frames_Increment): New.
2588 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2589 Likewise.
2590 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2591 count with _Unwind_Frames_Increment.
2592 (_Unwind_ForcedUnwind_Phase2): Likewise.
2593
2594 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2595
2596 PR libgcc/85379
2597 * config/i386/morestack.S (__stack_split_initialize): Add
2598 _CET_ENDBR.
2599
2600 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2601
2602 * configure: Regenerated.
2603
2604 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2605
2606 PR jit/85384
2607 * configure: Regenerate.
2608
2609 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2610
2611 PR target/84945
2612 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2613 -Wdangling-else warnings. Mask shift counts to avoid
2614 -Wshift-count-negative and -Wshift-count-overflow false positives.
2615
2616 2018-04-06 Ruslan Bukin <br@bsdpad.com>
2617
2618 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2619
2620 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2621
2622 PR target/85100
2623 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2624 (XSTATE_FP): Likewise.
2625 (XSTATE_SSE): Likewise.
2626 (XSTATE_YMM): Likewise.
2627 (XSTATE_OPMASK): Likewise.
2628 (XSTATE_ZMM): Likewise.
2629 (XSTATE_HI_ZMM): Likewise.
2630 (XCR_AVX_ENABLED_MASK): Likewise.
2631 (XCR_AVX512F_ENABLED_MASK): Likewise.
2632 (get_available_features): Enable AVX and AVX512 features only
2633 if their states are supported by OSXSAVE.
2634
2635 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2636
2637 PR target/85025
2638 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2639 Fix a typo, tmp => 255.
2640
2641 2018-03-20 Jakub Jelinek <jakub@redhat.com>
2642
2643 PR target/84945
2644 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2645 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2646 ifndef SHARED only.
2647 (set_feature): Define.
2648 (get_available_features): Use set_feature macro. Set __cpu_features2
2649 to the second word of features ifndef SHARED.
2650
2651 2018-03-15 Julia Koval <julia.koval@intel.com>
2652
2653 * config/i386/cpuinfo.c (get_available_features): Add
2654 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2655 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2656 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2657 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2658 FEATURE_AVX512BITALG.
2659
2660 2018-03-14 Julia Koval <julia.koval@intel.com>
2661
2662 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2663 icelake client and icelake server.
2664
2665 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
2666
2667 * config/pa/fptr.c (_dl_read_access_allowed): New.
2668 (__canonicalize_funcptr_for_compare): Use it.
2669
2670 2018-02-28 Jakub Jelinek <jakub@redhat.com>
2671
2672 PR debug/83917
2673 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2674 $asm_hidden_op if visibility ("hidden") attribute works.
2675 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2676 * config/i386/i386-asm.h: Don't include auto-host.h.
2677 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2678 PACKAGE_URL): Don't undefine.
2679 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2680 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2681 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2682 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2683 definition instead of hardcoded .hidden.
2684 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2685 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2686 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2687 (USE_GAS_CFI_DIRECTIVES): Don't define.
2688 * configure: Regenerated.
2689 * config.in: Likewise.
2690
2691 2018-02-26 Jakub Jelinek <jakub@redhat.com>
2692
2693 PR debug/83917
2694 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2695 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2696 inclusion of auto-target.h and auto-host.h.
2697 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2698 __GCC_HAVE_DWARF2_CFI_ASM.
2699 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2700 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2701 cfi_pop): Define.
2702 * config/i386/cygwin.S: Don't include auto-host.h here, just
2703 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2704 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2705 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2706 * config/i386/resms64fx.h: Add cfi_* directives.
2707 * config/i386/resms64x.h: Likewise.
2708
2709 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2710
2711 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2712 .literal_position directive.
2713 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2714
2715 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2716
2717 PR target/84148
2718 * configure: Regenerate.
2719
2720 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2721
2722 PR target/84239
2723 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2724 Include cetintrin.h not x86intrin.h.
2725
2726 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2727
2728 PR target/84239
2729 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2730 Use new _get_ssp and _inc_ssp intrinsics.
2731
2732 2018-02-02 Julia Koval <julia.koval@intel.com>
2733
2734 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2735
2736 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2737
2738 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2739 option.
2740 (__divsi3): Use RF16 safe registers.
2741 (__modsi3): Likewise.
2742
2743 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2744
2745 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2746 (__divsf3): Make NaN return value quiet.
2747 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2748 (__divdf3): Make NaN return value quiet.
2749
2750 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2751
2752 * config/rl78/anddi3.S: New assembly file.
2753 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2754
2755 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2756
2757 * config/rl78/umindi3.S: New assembly file.
2758 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2759
2760 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2761
2762 * config/rl78/smindi3.S: New assembly file.
2763 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2764
2765 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2766
2767 * config/rl78/smaxdi3.S: New assembly file.
2768 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2769
2770 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2771
2772 * config/rl78/umaxdi3.S: New assembly file.
2773 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2774
2775 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
2776
2777 PR lto/83452
2778 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2779 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2780
2781 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2782
2783 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2784 (DWARF_LAZY_REGISTER_VALUE): Define.
2785 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2786 to provide a fallback register value.
2787
2788 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2789
2790 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2791 __ibm128, instead of trying to use long double.
2792 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2793 accomidate -mabi=ieeelongdouble multilibs.
2794 (CVT_IBM128_TO_FLOAT128): Likewise.
2795 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2796 the appropriate IBM extended double type.
2797 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2798 (__gcc_qsub): Likewise.
2799 (__gcc_qmul): Likewise.
2800 (__gcc_qdiv): Likewise.
2801 (pack_ldouble): Likewise.
2802 (__gcc_qneg): Likewise.
2803 (__gcc_qeq): Likewise.
2804 (__gcc_qne): Likewise.
2805 (__gcc_qge): Likewise.
2806 (__gcc_qle): Likewise.
2807 (__gcc_stoq): Likewise.
2808 (__gcc_dtoq): Likewise.
2809 (__gcc_itoq): Likewise.
2810 (__gcc_utoq): Likewise.
2811 (__gcc_qunord): Likewise.
2812 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2813 quad-float128.h for the definitions.
2814 (COPYSIGN): Use the f128 version instead of the q version.
2815 (INFINITY): Likewise.
2816 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2817 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2818 quad-float128.h for the definitions.
2819 (COPYSIGN): Use the f128 version instead of the q version.
2820 (INFINITY): Likewise.
2821 (FABS): Likewise.
2822 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2823 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2824 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2825
2826 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2827
2828 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2829 configuration.
2830
2831 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2832
2833 Update copyright years.
2834
2835 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2836
2837 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2838 * config/riscv/multi3.c: New file.
2839 * config/riscv/multi3.S: Remove.
2840
2841 2017-12-08 Jim Wilson <jimw@sifive.com>
2842
2843 * config/riscv/div.S: Use FUNC_* macros.
2844 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2845 * config/riscv/save-restore.S: Likewise.
2846 * config/riscv/riscv-asm.h: New.
2847
2848 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2849
2850 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2851 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2852
2853 PR libgcc/83112
2854 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2855 correct type for all ifunc resolvers to silence -Wattribute-alias
2856 warnings. Eliminate the forward declaration of the resolver
2857 functions which is no longer needed.
2858 (__subkf3_resolve): Likewise.
2859 (__mulkf3_resolve): Likewise.
2860 (__divkf3_resolve): Likewise.
2861 (__negkf2_resolve): Likewise.
2862 (__eqkf2_resolve): Likewise.
2863 (__nekf2_resolve): Likewise.
2864 (__gekf2_resolve): Likewise.
2865 (__gtkf2_resolve): Likewise.
2866 (__lekf2_resolve): Likewise.
2867 (__ltkf2_resolve): Likewise.
2868 (__unordkf2_resolve): Likewise.
2869 (__extendsfkf2_resolve): Likewise.
2870 (__extenddfkf2_resolve): Likewise.
2871 (__trunckfsf2_resolve): Likewise.
2872 (__trunckfdf2_resolve): Likewise.
2873 (__fixkfsi_resolve): Likewise.
2874 (__fixkfdi_resolve): Likewise.
2875 (__fixunskfsi_resolve): Likewise.
2876 (__fixunskfdi_resolve): Likewise.
2877 (__floatsikf_resolve): Likewise.
2878 (__floatdikf_resolve): Likewise.
2879 (__floatunsikf_resolve): Likewise.
2880 (__floatundikf_resolve): Likewise.
2881 (__extendkftf2_resolve): Likewise.
2882 (__trunctfkf2_resolve): Likewise.
2883
2884 PR libgcc/83103
2885 * config/rs6000/quad-float128.h (TF): Don't define if long double
2886 is IEEE 128-bit floating point.
2887 (TCtype): Define as either TCmode or KCmode, depending on whether
2888 long double is IEEE 128-bit floating point.
2889 (__mulkc3_sw): Add declarations for software/hardware versions of
2890 complex multiply/divide.
2891 (__divkc3_sw): Likewise.
2892 (__mulkc3_hw): Likewise.
2893 (__divkc3_hw): Likewise.
2894 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2895 handlers to switch between using software emulation and hardware
2896 float128 instructions, build the complex multiply/divide functions
2897 for both software and hardware support.
2898 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2899 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2900 (__divkc3_resolve): Likewise.
2901 (__mulkc3): Likewise.
2902 (__divkc3): Likewise.
2903 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2904 (fp128_hw_src): Likewise.
2905 (fp128_hw_static_obj): Likewise.
2906 (fp128_hw_shared_obj): Likewise.
2907 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2908 _mulkc3.c and _divkc3.c, changing the function name.
2909 (_divkc3-hw.c): Likewise.
2910 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2911 and _divkc3-hw.c.
2912
2913 2017-11-26 Julia Koval <julia.koval@intel.com>
2914
2915 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2916 * config/i386/cpuinfo.h (processor_subtypes): Add
2917 INTEL_COREI7_CANNONLAKE.
2918
2919 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2920
2921 PR bootstrap/83015
2922 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2923 parameter.
2924 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2925 * config/ia64/unwind-ia64.c: Add frames parameter.
2926 * unwind-sjlj.c: Likewise.
2927
2928 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2929
2930 * config/i386/linux-unwind.h: Include
2931 config/i386/shadow-stack-unwind.h.
2932 * config/i386/shadow-stack-unwind.h: New file.
2933 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2934 pass it to _Unwind_Frames_Extra.
2935 * unwind-generic.h (_Unwind_Frames_Extra): New.
2936 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2937 parameter. Add local variable frames to count number of frames.
2938 (_Unwind_ForcedUnwind_Phase2): Likewise.
2939 (_Unwind_RaiseException): Add local variable frames to count
2940 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2941 uw_install_context.
2942 (_Unwind_ForcedUnwind): Likewise.
2943 (_Unwind_Resume): Likewise.
2944 (_Unwind_Resume_or_Rethrow): Likewise.
2945
2946 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2947
2948 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2949 (CET_FLAGS): New.
2950 * config/i386/morestack.S: Include <cet.h>.
2951 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2952 * config/i386/resms64.h: Include <cet.h>.
2953 * config/i386/resms64f.h: Likewise.
2954 * config/i386/resms64fx.h: Likewise.
2955 * config/i386/resms64x.h: Likewise.
2956 * config/i386/savms64.h: Likewise.
2957 * config/i386/savms64f.h: Likewise.
2958 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2959 (CRTSTUFF_T_CFLAGS): Likewise.
2960 * configure.ac: Include ../config/cet.m4.
2961 Set and substitute CET_FLAGS.
2962 * configure: Regenerated.
2963
2964 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2965
2966 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2967 renaming.
2968 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2969 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2970 * configure: Regenerate.
2971
2972 2017-11-07 Tom de Vries <tom@codesourcery.com>
2973
2974 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2975 after "do {} while (0)".
2976
2977 2017-11-07 Tom de Vries <tom@codesourcery.com>
2978
2979 PR other/82784
2980 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2981 semicolon after "do {} while (0)".
2982 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2983 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2984 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2985 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2986
2987 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2988
2989 PR libgcc/82635
2990 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2991 sysctl to determine whether we're in a trampoline.
2992 Keep the pattern matching method for systems without
2993 KERN_PROC_SIGTRAMP sysctl.
2994
2995 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2996 Vineet Gupta <vgupta@synopsys.com>
2997
2998 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2999 * config/arc/linux-unwind-reg.def: New file.
3000 * config/arc/linux-unwind-reg.h: Likewise.
3001
3002 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3003
3004 * config/rl78/subdi3.S: New assembly file.
3005 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3006
3007 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3008
3009 * config/rl78/adddi3.S: New assembly file.
3010 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3011
3012 2017-10-13 Jakub Jelinek <jakub@redhat.com>
3013
3014 PR target/82274
3015 * libgcc2.c (__mulvDI3): If both operands have
3016 the same highpart of -1 and the topmost bit of lowpart is 0,
3017 multiplication overflows even if both lowparts are 0.
3018
3019 2017-09-28 James Bowman <james.bowman@ftdichip.com>
3020
3021 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3022
3023 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3024
3025 * config/microblaze/crti.S, config/microblaze/crtn.S,
3026 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3027 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3028 config/microblaze/mulsi3.S,
3029 config/microblaze/stack_overflow_exit.S,
3030 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3031 config/pa/milli64.S: Add .note.GNU-stack section.
3032
3033 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
3034
3035 * configure.ac: Add Check for HAVE_AS_AVX.
3036 * config.in: Regenerate.
3037 * configure: Likewise.
3038 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3039 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3040 Correct out-of-date comments.
3041
3042 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3043
3044 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3045 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3046
3047 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
3048
3049 * config/i386/i386-asm.h (PASTE2): New macro.
3050 (ASMNAME): Modify to use PASTE2.
3051 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3052 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3053 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3054 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3055 * config/i386/resms64f.S: Likewise.
3056 * config/i386/resms64fx.S: Likewise.
3057 * config/i386/resms64x.S: Likewise.
3058 * config/i386/savms64.S: Likewise.
3059 * config/i386/savms64f.S: Likewise.
3060 * config/i386/avx_resms64.S: New file that only defines a macro and
3061 includes it's corresponding header file.
3062 * config/i386/avx_resms64f.S: Likewise.
3063 * config/i386/avx_resms64fx.S: Likewise.
3064 * config/i386/avx_resms64x.S: Likewise.
3065 * config/i386/avx_savms64.S: Likewise.
3066 * config/i386/avx_savms64f.S: Likewise.
3067 * config/i386/sse_resms64.S: Likewise.
3068 * config/i386/sse_resms64f.S: Likewise.
3069 * config/i386/sse_resms64fx.S: Likewise.
3070 * config/i386/sse_resms64x.S: Likewise.
3071 * config/i386/sse_savms64.S: Likewise.
3072 * config/i386/sse_savms64f.S: Likewise.
3073 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3074
3075 2017-09-01 Olivier Hainque <hainque@adacore.com>
3076 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3077
3078 2017-08-31 Olivier Hainque <hainque@adacore.com>
3079
3080 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3081 match as powerpc-wrs-vxworks*.
3082
3083 2017-08-07 Jonathan Yong <10walls@gmail.com>
3084
3085 * config.host (*-cygwin): Include file from mingw
3086 config/i386/enable-execute-stack-mingw32.c
3087
3088 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
3089 Doug Rupp <rupp@adacore.com>
3090 Olivier Hainque <hainque@adacore.com>
3091
3092 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3093 as well as arm-wrs-vxworks.
3094 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3095 LIB2ADDEH.
3096 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3097 __exidx_start and __exidx_end for downloadable modules.
3098
3099 2017-08-01 Olivier Hainque <hainque@adacore.com>
3100
3101 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3102 * config/t-vxworks7: Likewise.
3103
3104 2017-08-01 Olivier Hainque <hainque@adacore.com>
3105
3106 * config/t-vxworks: Instead of redefining LIB2ADD,
3107 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3108
3109 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3110
3111 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3112
3113 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
3114
3115 PR testsuite/80759
3116 * config.host: include i386/t-msabi for darwin and solaris.
3117 * config/i386/i386-asm.h
3118 (ELFFN): Rename to FN_TYPE.
3119 (FN_SIZE): New macro.
3120 (FN_HIDDEN): Likewise.
3121 (ASMNAME): Likewise.
3122 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3123 .globl.
3124 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3125 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3126 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3127 .macro.
3128 * config/i386/resms64f.S: Likewise.
3129 * config/i386/resms64fx.S: Likewise.
3130 * config/i386/resms64x.S: Likewise.
3131 * config/i386/savms64.S: Likewise.
3132 * config/i386/savms64f.S: Likewise.
3133
3134 2017-07-19 John Marino <gnugcc@marino.st>
3135
3136 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3137
3138 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3139
3140 PR target/81193
3141 * configure.ac (PowerPC float128 hardware support): Test whether
3142 we can use __builtin_cpu_supports before enabling the ifunc
3143 handler.
3144 * configure: Regenerate.
3145
3146 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
3147
3148 * config.host: Remove uclibc from arc target spec.
3149
3150 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3151
3152 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3153
3154 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3155
3156 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3157 (have_ieee_hw_p): Delete function.
3158 (SW_OR_HW) Use __builtin_cpu_supports().
3159
3160 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3161
3162 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3163
3164 2017-07-03 Olivier Hainque <hainque@adacore.com>
3165
3166 * config/t-vxworks7: New file, really.
3167
3168 2017-06-28 Joseph Myers <joseph@codesourcery.com>
3169
3170 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3171 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3172 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3173 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3174 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3175 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3176 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3177 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3178 config/sh/linux-unwind.h (sh_fallback_frame_state),
3179 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3180 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3181 ucontext_t instead of struct ucontext.
3182
3183 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
3184
3185 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3186 (x86_64-wrs-vxworks7): Likewise.
3187
3188 2017-06-27 Olivier Hainque <hainque@adacore.com>
3189
3190 * config/t-vxworks7: New file.
3191 * config.host (*-*-vxworks7): Use it.
3192
3193 2017-06-22 Matt Turner <mattst88@gmail.com>
3194
3195 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3196 skylake case.
3197
3198 2017-06-21 Richard Biener <rguenther@suse.de>
3199
3200 PR gcov-profile/81080
3201 * configure.ac: Add AC_SYS_LARGEFILE.
3202 * libgcov.h: Include auto-target.h before tsystem.h to pick
3203 up _FILE_OFFSET_BITS which might differ for multilibs.
3204 * config.in: Regenerate.
3205 * configure: Likewise.
3206
3207 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
3208
3209 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3210
3211 2017-06-09 Martin Liska <mliska@suse.cz>
3212
3213 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3214 Reset __gcov_indirect_call_callee to NULL.
3215
3216 2017-06-08 Olivier Hainque <hainque@adacore.com>
3217
3218 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3219 the set of -I options, support for direct inclusions of net/uio.h
3220 by VxWorks header files via ioLib.h.
3221
3222 2017-06-07 Tony Reix <tony.reix@atos.net>
3223 Matthieu Sarter <matthieu.sarter.external@atos.net>
3224 David Edelsohn <dje.gcc@gmail.com>
3225
3226 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3227 unconditionally.
3228 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3229 AIX 7.2 support.
3230
3231 2017-06-02 Olivier Hainque <hainque@adacore.com>
3232
3233 * config/vxlib.c (__gthread_once): Add missing value to
3234 return statement.
3235
3236 2017-05-30 Olivier Hainque <hainque@adacore.com>
3237
3238 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3239 dollar sign before $(MULTIDIR).
3240
3241 2017-05-26 Richard Henderson <rth@redhat.com>
3242
3243 PR libgcc/80037
3244 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3245
3246 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3247
3248 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3249 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3250 * config/arm/unwind-arm.c: Implement the above.
3251
3252 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3253
3254 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3255 section for a non-executable stack.
3256
3257 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3258
3259 PR target/80600
3260 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3261
3262 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
3263
3264 * config.host: Add i386/t-msabi to i386/t-linux file list.
3265 * config/i386/i386-asm.h: New file.
3266 * config/i386/resms64.S: New file.
3267 * config/i386/resms64f.S: New file.
3268 * config/i386/resms64fx.S: New file.
3269 * config/i386/resms64x.S: New file.
3270 * config/i386/savms64.S: New file.
3271 * config/i386/savms64f.S: New file.
3272 * config/i386/t-msabi: New file.
3273
3274 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3275
3276 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3277 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3278
3279 2017-05-05 Joshua Conner <joshconner@google.com>
3280
3281 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3282 pc-relative indirect handling for fuchsia.
3283 * config/t-slibgcc-fuchsia: New file.
3284 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3285 x86_64-*-fuchsia*): Add definitions.
3286
3287 2017-04-19 Martin Liska <mliska@suse.cz>
3288
3289 PR gcov-profile/80435
3290 * Makefile.in: Install gcov.h.
3291 * gcov.h: New file.
3292 * libgcov.h: Use the header and make __gcov_flush publicly
3293 visible.
3294
3295 2017-04-18 Martin Liska <mliska@suse.cz>
3296
3297 PR gcov-profile/78783
3298 * libgcov-driver.c (gcov_get_filename): New function.
3299
3300 2017-04-07 Jeff Law <law@redhat.com>
3301
3302 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3303 target makefile fragment.
3304 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3305
3306 2017-04-07 Alan Modra <amodra@gmail.com>
3307
3308 PR target/45053
3309 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3310
3311 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
3312
3313 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3314
3315 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3316
3317 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3318
3319 2017-03-10 John Marino <gnugcc@marino.st>
3320
3321 * config/aarch64/freebsd-unwind.h: New file.
3322 * config.host: Add aarch64-*-freebsd unwinder.
3323
3324 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3325
3326 * config/rs6000/crtrestvr.s: Use .machine altivec.
3327 * config/rs6000/crtsavevr.s: Ditto.
3328
3329 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3330
3331 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3332 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3333 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3334 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3335 * configure: Regenerate.
3336 * config.in: Regenerate.
3337
3338 2017-03-02 Jonathan Yong <10walls@gmail.com>
3339
3340 * config/i386/gthr-win32.h: Define NOGDI before
3341 windows.h include to prevent w32api CC_NONE macro
3342 clash with libgfortran.
3343
3344 2017-03-02 Jonathan Yong <10walls@gmail.com>
3345
3346 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3347
3348 2017-02-16 Andrew Pinski <apinski@cavium.com>
3349
3350 * config/aarch64/value-unwind.h: New file.
3351 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3352 to tm_file.
3353
3354 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3355
3356 * config.host: Add RISC-V tuples.
3357 * config/riscv/atomic.c: New file.
3358 * config/riscv/crti.S: Likewise.
3359 * config/riscv/crtn.S: Likewise.
3360 * config/riscv/div.S: Likewise.
3361 * config/riscv/linux-unwind.h: Likewise.
3362 * config/riscv/muldi3.S: Likewise.
3363 * config/riscv/multi3.S: Likewise.
3364 * config/riscv/save-restore.S: Likewise.
3365 * config/riscv/sfp-machine.h: Likewise.
3366 * config/riscv/t-elf: Likewise.
3367 * config/riscv/t-elf32: Likewise.
3368 * config/riscv/t-elf64: Likewise.
3369 * config/riscv/t-softfp32: Likewise.
3370 * config/riscv/t-softfp64: Likewise.
3371
3372 2017-01-24 Jakub Jelinek <jakub@redhat.com>
3373
3374 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3375 /* FALLTHRU */ comments.
3376
3377 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3378
3379 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3380
3381 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3382
3383 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3384 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3385 DW_CFA_GNU_window_save for AArch64 and LP64.
3386
3387 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3388
3389 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3390
3391 2017-01-19 Jiong Wang <jiong.wang@arm.com>
3392
3393 * config/aarch64/aarch64-unwind.h: New file.
3394 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3395 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3396 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3397 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3398 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3399 (aarch64_post_extract_frame_addr): New function.
3400 (aarch64_post_frob_eh_handler_addr): New function.
3401 (aarch64_frob_update_context): New function.
3402 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3403 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3404 aarch64*-*-freebsd*):
3405 Initialize md_unwind_header to include aarch64-unwind.h.
3406 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3407 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3408 __aarch64__.
3409 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3410 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3411 (uw_frob_return_addr): New function.
3412 (uw_install_context): Use uw_frob_return_addr.
3413
3414 2017-01-17 Jakub Jelinek <jakub@redhat.com>
3415
3416 PR other/79046
3417 * configure.ac: Add GCC_BASE_VER.
3418 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3419 version from BASE-VER file.
3420 * configure: Regenerated.
3421
3422 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
3423
3424 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3425 libmul_f5.a): Filter archived prerequisites.
3426
3427 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3428
3429 * config/i386/cpuinfo.h (processor_features): Add
3430 FEATURE_AVX512VPOPCNTDQ.
3431 * config/i386/cpuinfo.c (get_available_features): Habdle new
3432 feature.
3433
3434 2017-01-04 Joseph Myers <joseph@codesourcery.com>
3435
3436 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3437 payload if [__mips_nan2008].
3438
3439 2017-01-04 Alan Modra <amodra@gmail.com>
3440
3441 * Makefile.in (configure_deps): Update.
3442 * configure: Regenerate.
3443
3444 2017-01-01 Jakub Jelinek <jakub@redhat.com>
3445
3446 Update copyright years.
3447
3448 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3449
3450 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3451 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3452 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3453
3454 2016-12-17 Matthias Klose <doko@ubuntu.com>
3455
3456 * config/arc/gmon: Remove empty directory.
3457
3458 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3459
3460 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3461 crtgend.
3462 (arc*-*-elf*): Likewise.
3463 * config/arc/t-arc: Remove old gmon lib targets.
3464 * config/arc/crtg.S: Remove.
3465 * config/arc/crtgend.S: Likewise.
3466 * config/arc/gmon/atomic.h: Likewise.
3467 * config/arc/gmon/auxreg.h: Likewise.
3468 * config/arc/gmon/dcache_linesz.S: Likewise.
3469 * config/arc/gmon/gmon.c: Likewise.
3470 * config/arc/gmon/machine-gmon.h: Likewise.
3471 * config/arc/gmon/mcount.c: Likewise.
3472 * config/arc/gmon/prof-freq-stub.S: Likewise.
3473 * config/arc/gmon/prof-freq.c: Likewise.
3474 * config/arc/gmon/profil.S: Likewise.
3475 * config/arc/gmon/sys/gmon.h: Likewise.
3476 * config/arc/gmon/sys/gmon_out.h: Likewise.
3477 * config/arc/t-arc-newlib: Likewise.
3478 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3479
3480 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3481
3482 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3483
3484 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3485
3486 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3487 R16 instead of push + pop.
3488 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3489
3490 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3491
3492 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3493 tmake_file.
3494
3495 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3496
3497 * config.host (arc*-*-linux-uclibc*): Use default extra
3498 objects. Include linux-android header.
3499 * config/arc/crti.S (_init): Declare symbol as function.
3500 (_fini): Likewise.
3501
3502 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3503
3504 PR fortran/78379
3505 * config/i386/cpuinfo.c: Move denums for processor vendors,
3506 processor type, processor subtypes and declaration of
3507 struct __processor_model into
3508 * config/i386/cpuinfo.h: New header file.
3509
3510 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3511 Thomas Preud'homme <thomas.preudhomme@arm.com>
3512
3513 * config/arm/cmse_nonsecure_call.S: New.
3514 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3515
3516 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3517 Thomas Preud'homme <thomas.preudhomme@arm.com>
3518
3519 * config/arm/t-arm (HAVE_CMSE): New.
3520 * config/arm/cmse.c: New.
3521
3522 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3523
3524 PR gcc/74748
3525 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3526 use generic linker version information on Blackfin.
3527
3528 PR gcc/74748
3529 * libgcc/mkmap-symver.awk: add support for skip_underscore
3530
3531 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3532 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3533
3534 PR target/67710
3535 * config/t-darwin: Default builds to 10.5 codegen.
3536
3537 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3538
3539 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3540 (_FP_NANSIGN_H): Likewise.
3541 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3542 (softfp_truncations): Add tfhf.
3543 (softfp_extras): Add required conversion functions.
3544
3545 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3546 Matthew Wahab <matthew.wahab@arm.com>
3547
3548 * config/arm/fp16.c (binary64): New.
3549 (__gnu_d2h_internal): New.
3550 (__gnu_d2h_ieee): New.
3551 (__gnu_d2h_alternative): New.
3552
3553 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3554 Matthew Wahab <matthew.wahab@arm.com>
3555
3556 * config/arm/fp16.c (struct format): New.
3557 (binary32): New.
3558 (__gnu_float2h_internal): New. Body moved from
3559 __gnu_f2h_internal and generalize.
3560 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3561 Call it with binary32.
3562
3563 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3564
3565 * soft-fp/extendhftf2.c: Update from glibc.
3566 * soft-fp/fixhfti.c: Likewise.
3567 * soft-fp/fixunshfti.c: Likewise.
3568 * soft-fp/floattihf.c: Likewise.
3569 * soft-fp/floatuntihf.c: Likewise.
3570 * soft-fp/half.h: Likewise.
3571 * soft-fp/trunctfhf2.c: Likewise.
3572
3573 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3574
3575 PR libgcc/77813
3576 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3577 __TMC_END__ behind a passthrough asm.
3578
3579 2016-11-18 Walter Lee <walt@tilera.com>
3580
3581 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3582
3583 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3584
3585 * config/i386/cpuinfo.c (processor_features): Add
3586 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3587
3588 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3589
3590 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3591 (__ARC_NORM__): Use instead ARC_OPTFPE.
3592 * config/arc/fp-hack.h: Likewise.
3593 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3594 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3595
3596 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3597
3598 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3599 * config/nvptx/mgomp.c: New file.
3600 * config/nvptx/t-nvptx: Add mgomp.c
3601
3602 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3603
3604 PR libgcc/68468
3605 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3606
3607 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3608
3609 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3610 of checking for cpus.
3611 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3612 (__modsi3, __clzsi2): Likewise.
3613
3614 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3615
3616 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3617 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3618 * config/i386/t-cpuinfo-static: New.
3619
3620 2016-11-03 Martin Liska <mliska@suse.cz>
3621
3622 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3623 (__gcov_time_profiler_atomic): Likewise.
3624
3625 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3626
3627 PR libgcc/78067
3628 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3629 count_leading_zeros.
3630
3631 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
3632
3633 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3634 * libgcc2.c (__divmoddi4): New function.
3635 * libgcc2.h (__divmoddi4): Declare.
3636 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3637 and __PFX_divmodti4.
3638
3639 2016-10-24 Florian Weimer <fweimer@redhat.com>
3640
3641 PR libgcc/78064
3642 * unwind-c.c: Include auto-target.h.
3643
3644 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
3645
3646 * config/pa/pa64-hpux-lib.h: New file.
3647 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3648 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3649 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3650 hppa*64*-*-hpux11*.
3651
3652 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3653
3654 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3655 definition.
3656 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3657 definition.
3658 * config/xtensa/t-windowed (LIB2ADDEH): Use
3659 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3660 or xtensa/t-linux.
3661
3662 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3663
3664 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3665 __ieee754_sqrt): New functions.
3666 (__divdf3): Add implementation with new FPU instructions under
3667 #if XCHAL_HAVE_DFP_DIV.
3668 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3669 __ieee754_sqrtf): New functions.
3670 (__divsf3): Add implementation with new FPU instructions under
3671 #if XCHAL_HAVE_FP_DIV.
3672 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3673 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3674
3675 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3676
3677 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3678 equivalent.
3679 * config/tilepro/atomic.c: Likewise and stop casting model to
3680 enum memmodel.
3681
3682 2016-10-10 Joseph Myers <joseph@codesourcery.com>
3683
3684 PR target/77586
3685 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3686 soft-fp.
3687
3688 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3689
3690 * config.host: Add support for aarch64-*-freebsd*.
3691
3692 2016-10-05 Andreas Schwab <schwab@suse.de>
3693
3694 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3695 (.section .init_array): Don't call __do_jv_register_classes.
3696 (.section .init): Likewise.
3697
3698 2016-10-04 Jakub Jelinek <jakub@redhat.com>
3699
3700 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3701 (__JCR_LIST__): Remove.
3702 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3703 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3704 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3705 * config/ia64/crtend.S (__JCR_END__): Remove.
3706 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3707 conditionals.
3708 (__JCR_LIST__, __JCR_END__): Remove.
3709 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3710 (__do_global_ctors_1): Likewise.
3711
3712 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3713
3714 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3715 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3716
3717 2016-09-27 Martin Liska <mliska@suse.cz>
3718
3719 PR gcov-profile/7970
3720 PR gcov-profile/16855
3721 PR gcov-profile/44779
3722 * libgcov-driver.c (__gcov_init): Do not register a atexit
3723 handler.
3724 (__gcov_exit): Rename from gcov_exit.
3725 * libgcov.h (__gcov_exit): Declare.
3726
3727 2016-09-27 Martin Liska <mliska@suse.cz>
3728
3729 PR bootstrap/77749
3730 * Makefile.in: Remove _gcov_merge_delta.
3731 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3732 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3733 * libgcov.h: Remove declaration of __gcov_merge_delta.
3734
3735 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3736
3737 * configure.ac: Do not create links, only substitute the filenames.
3738 * configure: Regenerate.
3739 * Makefile.in: Assign the substitution results to variables.
3740 (LIBGCC_LINKS): Define.
3741 (enable-execute-stack.c): New rule.
3742 (unwind.h): Likewise.
3743 (md-unwind-support.h): Likewise.
3744 (sfp-machine.h): Likewise.
3745 (gthr-default.h): Likewise.
3746 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3747 unwind.h as prerequisite of install-unwind_h-forbuild.
3748
3749 2016-09-16 Jakub Jelinek <jakub@redhat.com>
3750
3751 PR libgcc/71744
3752 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3753 is not the primary registry and atomics are available.
3754 (any_objects_registered): New variable.
3755 (__register_frame_info_bases, __register_frame_info_table_bases):
3756 Atomically store 1 to any_objects_registered after registering first
3757 unwind info.
3758 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3759
3760 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3761
3762 PR target/63250
3763 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3764 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3765 (HFtype): Likewise.
3766 (HCtype): Likewise.
3767 (__divhc3): Likewise.
3768 (__mulhc3): Likewise.
3769 * libgcc2.c: Support _mulhc3 and _divhc3.
3770
3771 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3772
3773 PR libgcc/77519
3774 * libgcc2.c (NOTRUNC): Invert settings.
3775
3776 2016-09-06 Martin Liska <mliska@suse.cz>
3777
3778 PR gcov-profile/77378
3779 PR gcov-profile/77466
3780 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3781 conditionaly enable/disable *_atomic functions.
3782
3783 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3784
3785 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3786 where not already enabled.
3787
3788 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3789
3790 * config/mips/linux-unwind.h: Use sys/syscall.h.
3791
3792 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3793
3794 PR libgcc/77265
3795 * soft-fp/adddf3.c: Update from glibc.
3796 * soft-fp/addsf3.c: Likewise.
3797 * soft-fp/addtf3.c: Likewise.
3798 * soft-fp/divdf3.c: Likewise.
3799 * soft-fp/divsf3.c: Likewise.
3800 * soft-fp/divtf3.c: Likewise.
3801 * soft-fp/double.h: Likewise.
3802 * soft-fp/eqdf2.c: Likewise.
3803 * soft-fp/eqsf2.c: Likewise.
3804 * soft-fp/eqtf2.c: Likewise.
3805 * soft-fp/extenddftf2.c: Likewise.
3806 * soft-fp/extended.h: Likewise.
3807 * soft-fp/extendsfdf2.c: Likewise.
3808 * soft-fp/extendsftf2.c: Likewise.
3809 * soft-fp/extendxftf2.c: Likewise.
3810 * soft-fp/fixdfdi.c: Likewise.
3811 * soft-fp/fixdfsi.c: Likewise.
3812 * soft-fp/fixdfti.c: Likewise.
3813 * soft-fp/fixsfdi.c: Likewise.
3814 * soft-fp/fixsfsi.c: Likewise.
3815 * soft-fp/fixsfti.c: Likewise.
3816 * soft-fp/fixtfdi.c: Likewise.
3817 * soft-fp/fixtfsi.c: Likewise.
3818 * soft-fp/fixtfti.c: Likewise.
3819 * soft-fp/fixunsdfdi.c: Likewise.
3820 * soft-fp/fixunsdfsi.c: Likewise.
3821 * soft-fp/fixunsdfti.c: Likewise.
3822 * soft-fp/fixunssfdi.c: Likewise.
3823 * soft-fp/fixunssfsi.c: Likewise.
3824 * soft-fp/fixunssfti.c: Likewise.
3825 * soft-fp/fixunstfdi.c: Likewise.
3826 * soft-fp/fixunstfsi.c: Likewise.
3827 * soft-fp/fixunstfti.c: Likewise.
3828 * soft-fp/floatdidf.c: Likewise.
3829 * soft-fp/floatdisf.c: Likewise.
3830 * soft-fp/floatditf.c: Likewise.
3831 * soft-fp/floatsidf.c: Likewise.
3832 * soft-fp/floatsisf.c: Likewise.
3833 * soft-fp/floatsitf.c: Likewise.
3834 * soft-fp/floattidf.c: Likewise.
3835 * soft-fp/floattisf.c: Likewise.
3836 * soft-fp/floattitf.c: Likewise.
3837 * soft-fp/floatundidf.c: Likewise.
3838 * soft-fp/floatundisf.c: Likewise.
3839 * soft-fp/floatunditf.c: Likewise.
3840 * soft-fp/floatunsidf.c: Likewise.
3841 * soft-fp/floatunsisf.c: Likewise.
3842 * soft-fp/floatunsitf.c: Likewise.
3843 * soft-fp/floatuntidf.c: Likewise.
3844 * soft-fp/floatuntisf.c: Likewise.
3845 * soft-fp/floatuntitf.c: Likewise.
3846 * soft-fp/gedf2.c: Likewise.
3847 * soft-fp/gesf2.c: Likewise.
3848 * soft-fp/getf2.c: Likewise.
3849 * soft-fp/ledf2.c: Likewise.
3850 * soft-fp/lesf2.c: Likewise.
3851 * soft-fp/letf2.c: Likewise.
3852 * soft-fp/muldf3.c: Likewise.
3853 * soft-fp/mulsf3.c: Likewise.
3854 * soft-fp/multf3.c: Likewise.
3855 * soft-fp/negdf2.c: Likewise.
3856 * soft-fp/negsf2.c: Likewise.
3857 * soft-fp/negtf2.c: Likewise.
3858 * soft-fp/op-1.h: Likewise.
3859 * soft-fp/op-2.h: Likewise.
3860 * soft-fp/op-4.h: Likewise.
3861 * soft-fp/op-8.h: Likewise.
3862 * soft-fp/op-common.h: Likewise.
3863 * soft-fp/quad.h: Likewise.
3864 * soft-fp/single.h: Likewise.
3865 * soft-fp/soft-fp.h: Likewise.
3866 * soft-fp/subdf3.c: Likewise.
3867 * soft-fp/subsf3.c: Likewise.
3868 * soft-fp/subtf3.c: Likewise.
3869 * soft-fp/truncdfsf2.c: Likewise.
3870 * soft-fp/trunctfdf2.c: Likewise.
3871 * soft-fp/trunctfsf2.c: Likewise.
3872 * soft-fp/trunctfxf2.c: Likewise.
3873 * soft-fp/unorddf2.c: Likewise.
3874 * soft-fp/unordsf2.c: Likewise.
3875 * soft-fp/unordtf2.c: Likewise.
3876
3877 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3878
3879 PR gcov-profile/67097
3880 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3881
3882 2016-08-10 Martin Liska <mliska@suse.cz>
3883
3884 PR gcov-profile/58306
3885 * Makefile.in: New functions (modules) are added.
3886 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3887 function.
3888 (__gcov_pow2_profiler_atomic): New function.
3889 (__gcov_one_value_profiler_body): New argument is instroduced.
3890 (__gcov_one_value_profiler): Call with the new argument.
3891 (__gcov_one_value_profiler_atomic): Likewise.
3892 (__gcov_indirect_call_profiler_v2): Likewise.
3893 (__gcov_time_profiler_atomic): New function.
3894 (__gcov_average_profiler_atomic): Likewise.
3895 (__gcov_ior_profiler_atomic): Likewise.
3896 * libgcov.h: Declare the aforementioned functions.
3897
3898 2016-08-09 Martin Liska <mliska@suse.cz>
3899
3900 * libgcov-util.c: Fix typo and GNU coding style.
3901
3902 2016-08-09 Martin Liska <mliska@suse.cz>
3903
3904 * Makefile.in: Remove __gcov_indirect_call_profiler.
3905 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3906 function.
3907 * libgcov.h: And the declaration of the function.
3908
3909 2016-08-09 Martin Liska <mliska@suse.cz>
3910
3911 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3912 power of two.
3913
3914 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3915
3916 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3917 * config/rs6000/_mulkc3.c: Likewise.
3918
3919 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3920
3921 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3922 zero_reg as previous call to __umulhisi3 already cleared it.
3923
3924 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3925
3926 PR target/59833
3927 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3928
3929 2016-07-19 Nick Clifton <nickc@redhat.com>
3930
3931 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3932 Add crtinit.o and crtfini.o to extra_parts.
3933
3934 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3935
3936 * config/rs6000/_divkc3.c: New.
3937 * config/rs6000/_mulkc3.c: New.
3938 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3939 and _divkc3.
3940 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3941 fp128_ppc_funcs.
3942
3943 2016-07-11 Hale Wang <hale.wang@arm.com>
3944 Andre Vieira <andre.simoesdiasvieira@arm.com>
3945
3946 * config/arm/lib1funcs.S: Add new wrapper.
3947
3948 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3949
3950 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3951
3952 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3953
3954 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3955 and ARMv5t* rather than for a fixed list of architectures.
3956
3957 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3958
3959 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3960 implementation suitable for.
3961 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3962 for all Thumb-1 only targets.
3963 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3964 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3965 __ARM_ARCH_6M__.
3966 (EQUIV): Likewise.
3967 (ARM_FUNC_ALIAS): Likewise.
3968 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3969 version.
3970 (modsi3): Likewise.
3971 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3972 (clzdi2): Likewise.
3973 (ctzsi2): Likewise.
3974 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3975 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3976 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3977 __ARM_ARCH_6M__ and add comment to indicate the connection between
3978 this condition and the one in gcc/config/arm/elf.h.
3979 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3980 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3981 * config/arm/t-softfp: Likewise.
3982
3983 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3984
3985 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3986 CTOR_LISTS_DEFINED_EXTERNALLY.
3987
3988 2016-06-28 Walter Lee <walt@tilera.com>
3989
3990 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3991 asm/unistd.h.
3992 (SPR_CMPEXCH_VALUE): Define for tilegx.
3993 (__NR_FAST_cmpxchg): Define for tilepro.
3994 (__NR_FAST_atomic_update): Define for tilepro.
3995 (__NR_FAST_cmpxchg64): Define for tilepro.
3996
3997 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3998
3999 * config.host: Add suport for arm*-*-phoenix* targets.
4000
4001 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4002
4003 * config.host: Remove support for mep-*.
4004 * config/mep/lib1funcs.S: Remove.
4005 * config/mep/lib2funcs.c: Remove.
4006 * config/mep/t-mep: Remove.
4007 * config/mep/tramp.c: Remove.
4008
4009 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4010
4011 * config.host: Remove support for avr-rtems.
4012 * config/avr/t-rtems: Remove.
4013
4014 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4015
4016 * config.host: Remove m32r-rtems support.
4017
4018 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4019
4020 * config.host: Remove h8300-rtems support.
4021
4022 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4023
4024 * config.host: Remove support for knetbsd.
4025
4026 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4027
4028 * config.host: Remove support for openbsd 2 and 3.
4029
4030 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4031
4032 * config.host: Remove interix support.
4033 * config/i386/t-interix: Remove.
4034
4035 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
4036
4037 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4038 least-significant bit in function pointer for fixup.
4039
4040 2016-06-05 Aaron Conole <aconole@redhat.com>
4041 Nathan Sidwell <nathan@acm.org>
4042
4043 PR libgcc/71400
4044 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4045 (get_gcov_error_file): Check __gcov_error_file before trying to
4046 initialize it.
4047 (gcov_error): Always use get_gcov_error_file.
4048
4049 2016-06-02 Aaron Conole <aconole@redhat.com>
4050
4051 * libgcov-driver-system.c (__gcov_error_file): New.
4052 (get_gcov_error_file): New.
4053 (gcov_error): Use and set __gcov_error_file.
4054 (gcov_error_exit): New.
4055 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4056
4057 2016-05-26 Nathan Sidwell <nathan@acm.org>
4058
4059 * config/nvptx/free.asm: Delete.
4060 * config/nvptx/malloc.asm: Delete.
4061 * config/nvptx/realloc.c: Delete.
4062 * t-nvptx: Update.
4063
4064 2016-05-25 Nathan Sidwell <nathan@acm.org>
4065
4066 * config/nvptx/crt0.s: Delete.
4067 * config/nvptx/crt0.c: New.
4068 * t-nvptx: Update.
4069
4070 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4071
4072 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4073 dw2/seh configuration.
4074 [x86_64-*-mingw*]: Likewise.
4075
4076 2016-05-10 Joel Sherrill <joel@rtems.org>
4077
4078 PR libgcc/70720
4079 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4080 targets so the same extra_parts are built. Also have tmake_file add
4081 on to its value rather than override.
4082
4083 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4084
4085 * config.host: Remove SH5 support.
4086 * configure: Likewise.
4087
4088 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4089
4090 * config/sh/crt1.S: Remove SH5 support.
4091 * config/sh/crti.S: Likewise.
4092 * config/sh/crtn.S: Likewise.
4093 * config/sh/lib1funcs-4-300.S: Likewise.
4094 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4095 * config/sh/lib1funcs.S: Likewise.
4096 * config/sh/linux-unwind.h: Likewise.
4097 * config/sh/t-sh64: Delete.
4098
4099 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4100
4101 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4102
4103 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4104 Joern Rennecke <joern.rennecke@embecosm.com>
4105
4106 * config/arc/crttls.S: New file.
4107 * config/arc/t-arc: New rule.
4108 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4109
4110 2016-04-25 Nick Clifton <nickc@redhat.com>
4111
4112 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4113 (__mspabi_cmpd): Likewise.
4114 * config/msp430/floathidf.c (__floathidf): Likewise.
4115 * config/msp430/floathisf.c (__floathisf): Likewise
4116 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4117 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4118 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4119 second parameter.
4120 (__ashrsi3): Likewise.
4121
4122 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4123
4124 * config/m68k/linux-atomic.c: Do not include unistd.h
4125
4126 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4127
4128 * config/arm/ieee754-df.S: Fix typos in comments.
4129
4130 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4131
4132 PR target/70381
4133 * configure.ac (powerpc*-*-linux*): Rework tests to build
4134 __float128 emulation routines to not depend on using #pragma GCC
4135 target to enable -mfloat128.
4136 * configure: Regnerate.
4137
4138 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4139
4140 PR target/67172
4141 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4142 __MINGW32__ is defined.
4143
4144 2016-03-28 James Bowman <james.bowman@ftdichip.com>
4145
4146 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4147
4148 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4149
4150 PR libgcc/70363
4151 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4152 built with an assembler that does not support ISA 3.0
4153 instructions, rename __extendkftf2_sw to __extendkftf2.
4154
4155 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4156
4157 PR target/38239
4158 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4159 call-clobbered registers.
4160 (internal_mcount): Remove __i386__ handling.
4161
4162 2016-02-26 Joel Sherrill <joel@rtems.org>
4163
4164 * config.host: Add x86_64-*-rtems*.
4165
4166 2016-02-26 Joel Sherrill <joel@rtems.org>
4167
4168 * libgcc/config.host: Add aarch64-*-rtems*.
4169
4170 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4171 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4172
4173 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4174 union of u64 and double.
4175 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4176 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4177 value.
4178 (FP_ROUNDMODE): Update the usage of _fpscr.
4179
4180 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4181
4182 PR driver/68463
4183 * Makefile.in (crtoffloadtable$(objext)): New rule.
4184 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4185 enable_offload_targets is not empty.
4186 * configure: Regenerate.
4187 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4188 crtoffloadtable.
4189
4190 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4191
4192 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4193 .literal_position before the function.
4194 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4195 Likewise.
4196
4197 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4198
4199 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4200 * config/s390/morestack.S: New file.
4201 * config/s390/t-stack-s390: New file.
4202 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4203
4204 2016-02-12 Walter Lee <walt@tilera.com>
4205
4206 * config.host (tilegx*-*-linux*): remove ti from
4207 softfp_int_modes for 32-bit configs.
4208
4209 2016-02-10 Ian Lance Taylor <iant@google.com>
4210
4211 PR go/68562
4212 * config/i386/morestack.S (__stack_split_initialize): Align
4213 stack.
4214
4215 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4216
4217 PR bootstrap/69611
4218 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4219 __FLOAT128__ to compile only for __float128 capable targets.
4220
4221 2016-01-25 Jakub Jelinek <jakub@redhat.com>
4222
4223 PR target/69444
4224 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4225 instead of ___NO_FPRS__.
4226
4227 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
4228 Steven Munroe <munroesj@linux.vnet.ibm.com>
4229 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4230
4231 * config/rs6000/float128-sed: New files to convert TF names to KF
4232 names for PowerPC IEEE 128-bit floating point support.
4233 * config/rs6000/float128-sed-hw: Likewise.
4234
4235 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4236 floating point hardware support.
4237
4238 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4239 128-bit floating point software emulation or use ISA 3.0 hardware
4240 support if it is available.
4241
4242 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4243 floating point.
4244
4245 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4246 floating point to IBM extended double.
4247
4248 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4249 double to IEEE 128-bit floating point.
4250
4251 * config/rs6000/t-float128: New Makefile fragments to enable
4252 building __float128 emulation support.
4253 * config/rs6000/t-float128-hw: Likewise.
4254
4255 * config/rs6000/sfp-exceptions.c: New file to provide exception
4256 support for IEEE 128-bit floating point.
4257
4258 * config/rs6000/floattikf.c: New files for converting between IEEE
4259 128-bit floating point and signed/unsigned 128-bit integers.
4260 * config/rs6000/fixunskfti.c: Likewise.
4261 * config/rs6000/fixkfti.c: Likewise.
4262 * config/rs6000/floatuntikf.c: Likewise.
4263
4264 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4265 when building on 64-bit systems, or when VSX is enabled.
4266 (_FP_W_TYPE): Likewise.
4267 (_FP_WS_TYPE): Likewise.
4268 (_FP_I_TYPE): Likewise.
4269 (TItype): Define on 64-bit systems.
4270 (UTItype): Likewise.
4271 (TI_BITS): Likewise.
4272 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4273 (_FP_MUL_MEAT_Q): Likewise.
4274 (_FP_DIV_MEAT_D): Likewise.
4275 (_FP_DIV_MEAT_Q): Likewise.
4276 (_FP_NANFRAC_D): Likewise.
4277 (_FP_NANFRAC_Q): Likewise.
4278 (ISA_BIT): Add exception support if we are being compiled on a
4279 machine with hardware floating point support to build the IEEE
4280 128-bit emulation functions.
4281 (FP_EX_INVALID): Likewise.
4282 (FP_EX_OVERFLOW): Likewise.
4283 (FP_EX_UNDERFLOW): Likewise.
4284 (FP_EX_DIVZERO): Likewise.
4285 (FP_EX_INEXACT): Likewise.
4286 (FP_EX_ALL): Likewise.
4287 (__sfp_handle_exceptions): Likewise.
4288 (FP_HANDLE_EXCEPTIONS): Likewise.
4289 (FP_RND_NEAREST): Likewise.
4290 (FP_RND_ZERO): Likewise.
4291 (FP_RND_PINF): Likewise.
4292 (FP_RND_MINF): Likewise.
4293 (FP_RND_MASK): Likewise.
4294 (_FP_DECL_EX): Likewise.
4295 (FP_INIT_ROUNDMODE): Likewise.
4296 (FP_ROUNDMODE): Likewise.
4297
4298 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4299 VSX code, enable IEEE 128-bit floating point. If the compiler can
4300 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4301 floating point hardware instructions and it supports declaring
4302 functions with the ifunc attribute, enable ifunc functions to
4303 switch between software and hardware support.
4304 * configure.ac (powerpc*-*-linux*): Likewise.
4305 * configure: Regenerate.
4306
4307 2016-01-15 Nick Clifton <nickc@redhat.com>
4308
4309 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4310 dependency as the source file to be compiled.
4311 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4312 (lib2hw_mul_f5.o): Likewise.
4313
4314 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4315
4316 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4317 * libgcc/config/rs6000/fixkfti.c: Likewise.
4318 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4319 * libgcc/config/rs6000/float128-hw.c: Likewise.
4320 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4321 * libgcc/config/rs6000/float128-sed: Likewise.
4322 * libgcc/config/rs6000/floattikf.c: Likewise.
4323 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4324 * libgcc/config/rs6000/quad-float128.h: Likewise.
4325 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4326 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4327 * libgcc/config/rs6000/t-float128: Likewise.
4328 * libgcc/config/rs6000/t-float128-hw: Likewise.
4329 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4330 * libgcc/config.host: Likewise.
4331 * libgcc/configure: Likewise.
4332 * libgcc/configure.ac: Likewise.
4333
4334 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4335 Steven Munroe <munroesj@linux.vnet.ibm.com>
4336 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4337
4338 * config/rs6000/sfp-exceptions.c: New file to provide exception
4339 support for IEEE 128-bit floating point.
4340
4341 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4342 floating point hardware support.
4343
4344 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4345 point conversions.
4346 * config/rs6000/fixunskfti.c: Likewise.
4347 * config/rs6000/fixkfti.c: Likewise.
4348 * config/rs6000/floatuntikf.c: Likewise.
4349 * config/rs6000/extendkftf2-sw.c: Likewise.
4350 * config/rs6000/trunctfkf2-sw.c: Likewise.
4351
4352 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4353 128-bit floating point software emulation or use ISA 3.0 hardware
4354 support if it is available.
4355
4356 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4357 floating point.
4358
4359 * config/rs6000/t-float128: New Makefile fragments to enable
4360 building __float128 emulation support.
4361 * config/rs6000/t-float128-hw: Likewise.
4362
4363 * config/rs6000/float128-sed: New file to convert TF names to KF
4364 names for PowerPC IEEE 128-bit floating point support.
4365
4366 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4367 when building on 64-bit systems, or when VSX is enabled.
4368 (_FP_W_TYPE): Likewise.
4369 (_FP_WS_TYPE): Likewise.
4370 (_FP_I_TYPE): Likewise.
4371 (TItype): Define on 64-bit systems.
4372 (UTItype): Likewise.
4373 (TI_BITS): Likewise.
4374 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4375 (_FP_MUL_MEAT_Q): Likewise.
4376 (_FP_DIV_MEAT_D): Likewise.
4377 (_FP_DIV_MEAT_Q): Likewise.
4378 (_FP_NANFRAC_D): Likewise.
4379 (_FP_NANFRAC_Q): Likewise.
4380 (ISA_BIT): Add exception support if we are being compiled on a
4381 machine with hardware floating point support to build the IEEE
4382 128-bit emulation functions.
4383 (FP_EX_INVALID): Likewise.
4384 (FP_EX_OVERFLOW): Likewise.
4385 (FP_EX_UNDERFLOW): Likewise.
4386 (FP_EX_DIVZERO): Likewise.
4387 (FP_EX_INEXACT): Likewise.
4388 (FP_EX_ALL): Likewise.
4389 (__sfp_handle_exceptions): Likewise.
4390 (FP_HANDLE_EXCEPTIONS): Likewise.
4391 (FP_RND_NEAREST): Likewise.
4392 (FP_RND_ZERO): Likewise.
4393 (FP_RND_PINF): Likewise.
4394 (FP_RND_MINF): Likewise.
4395 (FP_RND_MASK): Likewise.
4396 (_FP_DECL_EX): Likewise.
4397 (FP_INIT_ROUNDMODE): Likewise.
4398 (FP_ROUNDMODE): Likewise.
4399
4400 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4401 compiler can do __float128.
4402 * configure: Regenerate.
4403
4404 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4405 VSX code, enable IEEE 128-bit floating point.
4406
4407 2016-01-05 Olivier Hainque <hainque@adacore.com>
4408
4409 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4410 specificities.
4411
4412 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4413
4414 Update copyright years.
4415
4416 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4417
4418 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4419 soft-fp targets.
4420
4421 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4422
4423 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4424 instead of abort to avoid dependency on stdlib.h.
4425
4426 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
4427
4428 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4429 to initialize call to __dl_fixup once.
4430
4431 2015-12-04 Nick Clifton <nickc@redhat.com>
4432
4433 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4434 Allow for the second argument being negative.
4435 * config.host (extra_parts): Define for MSP430. Create separate
4436 libraries for each of the hardware multiply formats.
4437 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4438 that are needed.
4439 * config/msp430/lib2mul.c: Likewise.
4440 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4441 Add rules to build hardware multiply libraries.
4442 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4443 __mspabi_divul function.
4444 (__mspabi_divllu): New stub function.
4445
4446 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
4447
4448 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4449 fixup values if saved GOT address doesn't match runtime address.
4450 (fixup_branch_offset): Reorder list.
4451
4452 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4453
4454 * Makefile.in (VTV_CFLAGS): New variable.
4455 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4456 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4457 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4458 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4459 to extra_parts if $enable_vtable_verify = yes.
4460
4461 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4462
4463 PR target/68059
4464 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4465 (write): ...this and fix the return type.
4466
4467 2015-11-19 DJ Delorie <dj@redhat.com>
4468
4469 * config/msp430/lib2hw_mul.S: Fix alignment.
4470
4471 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4472
4473 * config/nvptx/reduction.c: New.
4474 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4475
4476 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
4477
4478 * config/rs6000/on_exit.c: New file.
4479 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4480 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4481
4482 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4483
4484 * config/arc/dp-hack.h: Add support for ARCHS.
4485 * config/arc/ieee-754/divdf3.S: Likewise.
4486 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4487 * config/arc/ieee-754/muldf3.S: Likewise.
4488 * config/arc/ieee-754/mulsf3.S: Likewise
4489 * config/arc/lib1funcs.S: Likewise
4490 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4491 for ARCv2 cores.
4492 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4493 for ARCv2 cores.
4494 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4495 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4496 cores.
4497
4498 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4499
4500 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4501 value.
4502 * config/ia64/crtend.S: Likewise.
4503
4504 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4505
4506 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4507 __CHAR_BIT__ instead of BITS_PER_UNIT.
4508 * fixed-bit.h: Likewise.
4509 * fp-bit.h: Likewise.
4510 * libgcc2.c (__popcountSI2): Likewise.
4511 (__popcountDI2): Likewise.
4512 * libgcc2.h: Likewise.
4513 * libgcov.h: Likewise.
4514
4515 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4516
4517 * config/rs6000/atexit.c: New file.
4518 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4519 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4520 * config/rs6000/cxa_finalize.c
4521 (catomic_compare_and_exchange_bool_acq): Negate return value.
4522
4523 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4524
4525 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4526 (processor_subtypes): Add znver1.
4527 (get_amd_cpu): Detect znver1.
4528
4529 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4530
4531 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4532 Include crtfastmath.o.
4533
4534 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4535
4536 PR libgcc/66883
4537 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4538
4539 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4540
4541 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4542 * config/rl78/divmodsi.S: Update return register to r8.
4543 * config/rl78/divmodhi.S: Update return register to r8,r9.
4544 Branch to main_loop_done_himode to pop registers before return.
4545
4546 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4547
4548 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4549 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4550
4551 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4552
4553 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4554
4555 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4556
4557 * config.host (xtensa*-*-uclinux*): New configuration.
4558
4559 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4560
4561 * config/i386/cpuinfo.c (processor_features): Add
4562 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4563
4564 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4565
4566 * soft-fp/adddf3.c: Update from glibc.
4567 * soft-fp/addsf3.c: Likewise.
4568 * soft-fp/addtf3.c: Likewise.
4569 * soft-fp/divdf3.c: Likewise.
4570 * soft-fp/divsf3.c: Likewise.
4571 * soft-fp/divtf3.c: Likewise.
4572 * soft-fp/double.h: Likewise.
4573 * soft-fp/eqdf2.c: Likewise.
4574 * soft-fp/eqsf2.c: Likewise.
4575 * soft-fp/eqtf2.c: Likewise.
4576 * soft-fp/extenddftf2.c: Likewise.
4577 * soft-fp/extended.h: Likewise.
4578 * soft-fp/extendsfdf2.c: Likewise.
4579 * soft-fp/extendsftf2.c: Likewise.
4580 * soft-fp/extendxftf2.c: Likewise.
4581 * soft-fp/fixdfdi.c: Likewise.
4582 * soft-fp/fixdfsi.c: Likewise.
4583 * soft-fp/fixdfti.c: Likewise.
4584 * soft-fp/fixsfdi.c: Likewise.
4585 * soft-fp/fixsfsi.c: Likewise.
4586 * soft-fp/fixsfti.c: Likewise.
4587 * soft-fp/fixtfdi.c: Likewise.
4588 * soft-fp/fixtfsi.c: Likewise.
4589 * soft-fp/fixtfti.c: Likewise.
4590 * soft-fp/fixunsdfdi.c: Likewise.
4591 * soft-fp/fixunsdfsi.c: Likewise.
4592 * soft-fp/fixunsdfti.c: Likewise.
4593 * soft-fp/fixunssfdi.c: Likewise.
4594 * soft-fp/fixunssfsi.c: Likewise.
4595 * soft-fp/fixunssfti.c: Likewise.
4596 * soft-fp/fixunstfdi.c: Likewise.
4597 * soft-fp/fixunstfsi.c: Likewise.
4598 * soft-fp/fixunstfti.c: Likewise.
4599 * soft-fp/floatdidf.c: Likewise.
4600 * soft-fp/floatdisf.c: Likewise.
4601 * soft-fp/floatditf.c: Likewise.
4602 * soft-fp/floatsidf.c: Likewise.
4603 * soft-fp/floatsisf.c: Likewise.
4604 * soft-fp/floatsitf.c: Likewise.
4605 * soft-fp/floattidf.c: Likewise.
4606 * soft-fp/floattisf.c: Likewise.
4607 * soft-fp/floattitf.c: Likewise.
4608 * soft-fp/floatundidf.c: Likewise.
4609 * soft-fp/floatundisf.c: Likewise.
4610 * soft-fp/floatunditf.c: Likewise.
4611 * soft-fp/floatunsidf.c: Likewise.
4612 * soft-fp/floatunsisf.c: Likewise.
4613 * soft-fp/floatunsitf.c: Likewise.
4614 * soft-fp/floatuntidf.c: Likewise.
4615 * soft-fp/floatuntisf.c: Likewise.
4616 * soft-fp/floatuntitf.c: Likewise.
4617 * soft-fp/gedf2.c: Likewise.
4618 * soft-fp/gesf2.c: Likewise.
4619 * soft-fp/getf2.c: Likewise.
4620 * soft-fp/ledf2.c: Likewise.
4621 * soft-fp/lesf2.c: Likewise.
4622 * soft-fp/letf2.c: Likewise.
4623 * soft-fp/muldf3.c: Likewise.
4624 * soft-fp/mulsf3.c: Likewise.
4625 * soft-fp/multf3.c: Likewise.
4626 * soft-fp/negdf2.c: Likewise.
4627 * soft-fp/negsf2.c: Likewise.
4628 * soft-fp/negtf2.c: Likewise.
4629 * soft-fp/op-1.h: Likewise.
4630 * soft-fp/op-2.h: Likewise.
4631 * soft-fp/op-4.h: Likewise.
4632 * soft-fp/op-8.h: Likewise.
4633 * soft-fp/op-common.h: Likewise.
4634 * soft-fp/quad.h: Likewise.
4635 * soft-fp/single.h: Likewise.
4636 * soft-fp/soft-fp.h: Likewise.
4637 * soft-fp/subdf3.c: Likewise.
4638 * soft-fp/subsf3.c: Likewise.
4639 * soft-fp/subtf3.c: Likewise.
4640 * soft-fp/truncdfsf2.c: Likewise.
4641 * soft-fp/trunctfdf2.c: Likewise.
4642 * soft-fp/trunctfsf2.c: Likewise.
4643 * soft-fp/trunctfxf2.c: Likewise.
4644 * soft-fp/unorddf2.c: Likewise.
4645 * soft-fp/unordsf2.c: Likewise.
4646 * soft-fp/unordtf2.c: Likewise.
4647
4648 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
4649
4650 PR libgcc/67624
4651 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4652
4653 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4654
4655 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4656 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4657 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4658 messages.
4659 (internal_mcount): Likewise.
4660 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4661 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4662
4663 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4664
4665 * configure.ac (libgcc_cv_solaris_crts): New test.
4666 * configure: Regenerate.
4667 * config.in: Regenerate.
4668 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4669 * config/gmon-sol2.c: Rename to ...
4670 * config/sol2/gmon.c: ... this.
4671 Include auto-target.h.
4672 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4673 * config/t-sol2: Rename to ...
4674 * config/sol2/t-sol2: ... this.
4675 (gmon.o): Reflect renaming.
4676 (crtp.o, crtpg.o): New rules.
4677 * config.host (*-*-solaris2*): Reflect renaming.
4678 Use system CRTs if present.
4679 Remove default CRT case.
4680
4681 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
4682
4683 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4684 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4685 __kernel_cmpxchg2.
4686 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4687 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4688 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4689 (__sync_lock_test_and_set_##WIDTH): Likewise.
4690 (__sync_lock_release_##WIDTH): Likewise.
4691 (__sync_fetch_and_##OP##_4): Change result to match type of
4692 __kernel_cmpxchg.
4693 (__sync_##OP##_and_fetch_4): Likewise.
4694 (__sync_val_compare_and_swap_4): Likewise.
4695 (__sync_bool_compare_and_swap_4): likewise.
4696 (__sync_lock_test_and_set_4): Likewise.
4697 (__sync_lock_release_4): Likewise.
4698 (FETCH_AND_OP_2): Add long long variants.
4699 (OP_AND_FETCH_2): Likewise.
4700 (COMPARE_AND_SWAP_2 ): Likewise.
4701 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4702 (SYNC_LOCK_RELEASE_2): Likewise.
4703 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4704
4705 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4706
4707 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4708 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4709 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4710 (get_available_features): Habdle new features.
4711
4712 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4713
4714 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4715 memory layout. Deal correctly with BSS region larger than 32K.
4716 Handle a watchdog reset like a power-on reset. Clean up unused
4717 code.
4718
4719 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4720 David Edelsohn <dje.gcc@gmail.com>
4721
4722 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4723 * config/rs6000/crtdbase.S: New file.
4724 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4725
4726 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4727
4728 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4729 Add support for call0 ABI.
4730
4731 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
4732
4733 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4734
4735 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4736
4737 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4738 (__GTHREAD_HAS_COND): Likewise.
4739 (__gthread_t): Likewise.
4740 (__gthread_cond_t): Likewise.
4741 (__gthread_time_t): Likewise.
4742 (__GTHREAD_MUTEX_INIT): Likewise.
4743 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4744 (__GTHREAD_COND_INIT): Likewise.
4745 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4746 (__GTHREAD_TIME_INIT): Likewise.
4747 (__gthread_create): Likewise.
4748 (__gthread_join): Likewise.
4749 (__gthread_detach): Likewise.
4750 (__gthread_equal): Likewise.
4751 (__gthread_self): Likewise.
4752 (__gthread_yield): Likewise.
4753 (__gthread_cond_broadcast): Likewise.
4754 (__gthread_cond_signal): Likewise.
4755 (__gthread_cond_wait): Likewise.
4756 (__gthread_cond_timedwait): Likewise.
4757 (__gthread_cond_wait_recursive): Likewise.
4758 (__gthread_cond_destroy): Likewise.
4759 (rtems_gxx_once): Delete.
4760 (rtems_gxx_key_create): Likewise.
4761 (rtems_gxx_key_delete): Likewise.
4762 (rtems_gxx_getspecific): Likewise.
4763 (rtems_gxx_setspecific): Likewise.
4764 (rtems_gxx_mutex_init): Likewise.
4765 (rtems_gxx_mutex_destroy): Likewise.
4766 (rtems_gxx_mutex_lock): Likewise.
4767 (rtems_gxx_mutex_trylock): Likewise.
4768 (rtems_gxx_mutex_unlock): Likewise.
4769 (rtems_gxx_recursive_mutex_init): Likewise.
4770 (rtems_gxx_recursive_mutex_lock): Likewise.
4771 (rtems_gxx_recursive_mutex_trylock): Likewise.
4772 (rtems_gxx_recursive_mutex_unlock): Likewise.
4773 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4774 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4775 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4776 (__gthread_once): Likewise.
4777 (__gthread_key_create): Likewise.
4778 (__gthread_key_delete): Likewise.
4779 (__gthread_getspecific): Likewise.
4780 (__gthread_setspecific): Likewise.
4781 (__gthread_key_t): Use <pthread.h> type.
4782 (__gthread_once_t): Likewise
4783 (__gthread_mutex_t): Use <sys/lock.h> type.
4784 (__gthread_recursive_mutex_t): Likewise
4785 (__gthread_mutex_lock): Use <sys/lock.h> function.
4786 (__gthread_mutex_trylock): Likewise.
4787 (__gthread_mutex_timedlock): Likewise.
4788 (__gthread_mutex_unlock): Likewise.
4789 (__gthread_mutex_destroy): Likewise.
4790 (__gthread_recursive_mutex_lock): Likewise.
4791 (__gthread_recursive_mutex_trylock): Likewise.
4792 (__gthread_recursive_mutex_timedlock): Likewise.
4793 (__gthread_recursive_mutex_unlock): Likewise.
4794 (__gthread_recursive_mutex_destroy): Likewise.
4795
4796 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4797
4798 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4799 context->sp instead of context->cfa.
4800
4801 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4802
4803 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4804 with unwind-dw2-fde-dip.
4805
4806 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4807
4808 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4809 CALL12 followed by series of ENTRY to spill windowed registers.
4810 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4811 instead of making linux spill syscall.
4812
4813 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4814
4815 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4816 (get_intel_cpu): Likewise.
4817
4818 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4819
4820 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4821 (get_intel_cpu): Add Knights Landing support.
4822
4823 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4824
4825 PR target/66954
4826 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4827 (get_available_features): Handle FEATURE_PCLMUL.
4828
4829 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4830
4831 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4832 Broadwell.
4833
4834 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4835
4836 PR target/66954
4837 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4838 (get_available_features): Handle FEATURE_AES.
4839
4840 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4841
4842 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4843 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4844
4845 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4846
4847 * offloadstuff.c: Constify host data.
4848
4849 2015-07-17 Jan Beulich <jbeulich@suse.com>
4850
4851 * config/t-softfp: Split up "else ifneq".
4852
4853 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4854 Cesar Philippidis <cesar@codesourcery.com>
4855 Chung-Lin Tang <cltang@codesourcery.com>
4856
4857 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4858 for __nios2_arch__ level.
4859
4860 2015-07-13 John Marino <gnugcc@marino.st>
4861
4862 * config/i386/t-dragonfly: New.
4863
4864 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4865
4866 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4867 better match light-weight syscall argument order.
4868 (__kernel_cmpxchg2): Likewise.
4869 Adjust callers.
4870
4871 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4872
4873 * config.host: Support i[34567]86-*-elfiamcu target.
4874 * config/t-softfp-sfdftf: New file.
4875 * config/i386/32/t-iamcu: Likewise.
4876 * configure: Regenerated.
4877
4878 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4879
4880 libgcc/config/arm/
4881 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4882
4883 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4884
4885 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4886
4887 2015-05-27 John Marino <gnugcc@marino.st>
4888
4889 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4890 md_unwind_header
4891 * config/i386/freebsd-unwind.h: New.
4892
4893 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4894
4895 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4896 i386/t-crtfm to tmake_file.
4897 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4898 (set_fast_math): Use set_fast_math_sse for SSE targets.
4899 * config/i386/t-crtfm: Remove.
4900
4901 2015-05-21 Alan Modra <amodra@gmail.com>
4902
4903 PR libgcc/66225
4904 * config/rs6000/morestack.S: Remove ".abiversion 1".
4905
4906 2015-05-20 Alan Modra <amodra@gmail.com>
4907
4908 * config/rs6000/morestack.S: New.
4909 * config/rs6000/t-stack-rs6000: New.
4910 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4911 to tmake_file.
4912 * generic-morestack.c: Don't build for powerpc 32-bit.
4913
4914 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4915
4916 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4917 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4918
4919 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4920
4921 * config.host: FT32 target added.
4922 * config/ft32/*: New files for FT32 target.
4923
4924 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4925
4926 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4927 New macros.
4928 * config/arm/ieee754-df.S: Add CFI directives.
4929 * config/arm/ieee754-sf.S: Add CFI directives.
4930
4931 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4932
4933 * configure.ac: Include config/sjlj.m4.
4934 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4935 * config.in: Regenerate.
4936 * configure: Likewise.
4937 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4938
4939 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4940
4941 * libgcov-util.c: Add space between string literal and macro name.
4942
4943 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4944 Chris Jones <chrisj@nvidia.com>
4945 Joshua Conner <jconner@nvidia.com>
4946
4947 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4948 (arm*-*-uclinux*): Likewise.
4949 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4950 * config/arm/crtfastmath.c: New file.
4951
4952 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4953
4954 * Makefile.in (real_host_noncanonical): New variable.
4955 (libsubdir): Use it.
4956 * configure.ac (real_host_noncanonical): Compute. Remove special
4957 case for intelmicemul.
4958 * configure: Regenerate.
4959
4960 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4961
4962 * config/frv/elf-lib.h: New file.
4963 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4964 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4965 to tm_file.
4966
4967 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4968
4969 * config/frv/frvbengin.c: Do not include defaults.h
4970 * config/frv/frvend.c: Ditto.
4971
4972 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4973
4974 * config.host: Add h8300-*-linux
4975 * config/h8300/t-linux: New file.
4976 * config/h8300/lib1funs.s: Change symbol prefix.
4977 * config/h8300/sfp-machine.h: 64bit double support.
4978
4979 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4980 Szabolcs Nagy <szabolcs.nagy@arm.com>
4981
4982 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4983 Linux if target provides dl_iterate_phdr.
4984
4985 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4986
4987 PR target/65612
4988 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4989 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4990 (__cpu_indicator_init@GCC_4.8.0): New.
4991 (__cpu_model@GCC_4.8.0): Likewise.
4992 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4993 -DUSE_ELF_SYMVER.
4994
4995 2015-04-16 Nick Clifton <nickc@redhat.com>
4996
4997 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4998 and __modhi3 functions.
4999 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5000 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5001
5002 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5003
5004 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5005 do-while loop as macro body to avoid warnings.
5006
5007 2015-04-10 Jakub Jelinek <jakub@redhat.com>
5008 Iain Sandoe <iain@codesourcery.com>
5009
5010 PR target/65351
5011 * configure: Regenerate.
5012
5013 2015-04-07 Jakub Jelinek <jakub@redhat.com>
5014 Iain Sandoe <iain@codesourcery.com>
5015
5016 PR target/65351
5017 * configure: Regenerate.
5018
5019 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5020
5021 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5022
5023 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
5024
5025 Implement call0 ABI for xtensa
5026 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5027 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5028 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5029 use ret in call0 ABI.
5030 * config/xtensa/t-windowed: New file.
5031 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5032 * libgcc/configure: Regenerated.
5033 * libgcc/configure.ac: Check if xtensa target is configured for
5034 windowed ABI and thus needs to use custom unwind code.
5035
5036 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
5037
5038 PR libgcc/64885
5039 * gthr-single.h: Use __unused__ attribute instead of unused.
5040 * config/gthr-vxworks.h: Likewise.
5041 * config/i386/gthr-win32.h: Likewise.
5042
5043 2015-02-27 Kai Tietz <ktietz@redhat.com>
5044
5045 PR target/65038
5046 * config.in: Regenerated.
5047 * configure: Likewise.
5048 * configure.ac (AC_HEADER_STDC): Added explicit.
5049 (AC_CHECK_HEADERS): Check for default headers plus
5050 for ftw.h header.
5051 * libgcov-util.c (gcov_read_profile_dir): Disable use
5052 of ftw-function, if header is not found.
5053 (ftw_read_file): Likewise.
5054
5055 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5056
5057 PR target/65181
5058 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5059 -Dinhibit_libc.
5060
5061 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5062
5063 * config/arm/bpabi.S (test_div_by_zero): Make label names
5064 consistent between thumb2 and arm mode cases. Separate the
5065 signed comparison on the high word of the numerator from the
5066 unsigned comparison on the low word.
5067 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5068 signed comparison.
5069
5070 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5071
5072 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5073 and <string.h>.
5074 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5075
5076 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5077
5078 PR gcov-profile/61889
5079 * libgcov-driver-system.c: undefine clashing macro for mkdir.
5080
5081 2015-02-02 Nick Clifton <nickc@redhat.com>
5082
5083 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5084 rounding up the fraction.
5085
5086 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
5087
5088 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5089 oldval and newval to const void *. Fix typo.
5090 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5091 (FETCH_AND_OP_WORD): Likewise.
5092 (OP_AND_FETCH_WORD): Likewise.
5093 (COMPARE_AND_SWAP_2): Likewise.
5094 (__sync_val_compare_and_swap_4): Likewise.
5095 (__sync_lock_test_and_set_4): Likewise.
5096 (SYNC_LOCK_RELEASE_2): Likewise.
5097 Remove support for long long atomic operations.
5098
5099 2015-01-27 Caroline Tice <cmtice@google.com>
5100
5101 Committing VTV Cywin/Ming patch for Patrick Wollgast
5102 * Makefile.in: Move rules to build vtv_*.o out of the check
5103 for CUSTOM_CRTSTUFF.
5104 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5105 i[34567]86-*-mingw*)
5106 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5107 enable_vtable_verify.
5108
5109 2015-01-27 Nick Clifton <nickc@redhat.com>
5110
5111 * config/rl78/cmpsi2.S: Use function start and end macros.
5112 (__gcc_bcmp): New function.
5113 * config/rl78/lshrsi3.S: Use function start and end macros.
5114 * config/rl78/mulsi3.S: Add support for G10.
5115 (__mulqi3): New function for G10.
5116 * config/rl78/signbit.S: Use function start and end macros.
5117 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5118 fpmath-sf.S.
5119 (LIB2FUNCS_EXCLUDE): Define.
5120 (LIB2FUNCS_ST): Define.
5121 * config/rl78/trampoline.S: Use function start and end macros.
5122 * config/rl78/vregs.h (START_FUNC): New macro.
5123 (START_ANOTHER_FUNC): New macro.
5124 (END_FUNC): New macro.
5125 (END_ANOTHER_FUNC): New macro.
5126 * config/rl78/bit-count.S: New file. Contains assembler
5127 implementations of the bit counting functions: ___clzhi2,
5128 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5129 __paritysi2, __popcounthi2 and __popcountsi2.
5130 * config/rl78/fpbit-sf.S: New file. Contains assembler
5131 implementationas of the math functions: __negsf2, __cmpsf2,
5132 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5133 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5134 * config/rl78/fpmath-sf.S: New file. Contains assembler
5135 implementations of the math functions: __subsf3, __addsf3,
5136 __mulsf3 and __divsf3
5137
5138 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5139
5140 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5141 Add i386/elf-lib.h to tm_file.
5142 * config/i386/elf-lib.h: Fix comment.
5143 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5144 && __sun__ && __svr4__]: Remove workaround.
5145
5146 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5147
5148 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5149 FEATURE_BMI2.
5150 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5151
5152 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5153
5154 * config/i386/cpuinfo.c (processor_subtypes): Add
5155 INTEL_COREI7_BROADWELL.
5156 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5157 model numbers.
5158
5159 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
5160
5161 * config/i386/elf-lib.h: New file.
5162 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5163 Wrap definition in #ifdef __i386__.
5164 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5165 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5166 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5167 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5168 to tm_file.
5169
5170 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5171
5172 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5173 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5174
5175 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5176
5177 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5178 Update rt_sigframe format and address for current Nios II
5179 Linux conventions.
5180
5181 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5182
5183 * config.host (arm*-*-freebsd*): Add new configuration for
5184 arm*-*-freebsd*.
5185 * config/arm/freebsd-atomic.c: New file.
5186 * config/arm/t-freebsd: Likewise.
5187 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5188 'PC-relative indirect' OS's.
5189
5190 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5191
5192 * config.host: Add Visium support.
5193 * config/visium: New directory.
5194
5195 2015-01-05 Jakub Jelinek <jakub@redhat.com>
5196
5197 Update copyright years.
5198
5199 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5200
5201 * config.host: Support mipsisa32r6 and mipsisa64r6.
5202 * config/mips/mips16.S: Do not build for R6.
5203
5204 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5205
5206 * config/sh/crt.h: New.
5207 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5208 symbols.
5209 * config/sh/crt1.S: Likewise.
5210
5211 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
5212
5213 PR libgcc/63832
5214 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5215 func_ptr *dtor_list temporary variable to avoid "array subscript
5216 is above array bounds" warnings.
5217
5218 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
5219
5220 * Makefile.in (with_aix_soname): Define.
5221 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5222 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5223 * configure: Recreate.
5224
5225 2014-12-05 Olivier Hainque <hainque@adacore.com>
5226
5227 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5228 now provided by defaults.h.
5229
5230 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5231
5232 PR target/55351
5233 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5234 whether it's defined.
5235
5236 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5237
5238 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5239 * config/i386/cpuinfo.c (get_available_features): Detect it.
5240
5241 2014-11-27 Tony Wang <tony.wang@arm.com>
5242
5243 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5244 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5245 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5246
5247 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5248
5249 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5250
5251 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
5252
5253 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5254 instead.
5255
5256 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5257 John David Anglin <danglin@gcc.gnu.org>
5258
5259 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5260 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5261 (OP_AND_FETCH_2): Likewise.
5262 (COMPARE_AND_SWAP_2): Likewise.
5263 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5264 (SYNC_LOCK_RELEASE_2): Likewise.
5265 (SUBWORD_SYNC_OP): Remove.
5266 (SUBWORD_VAL_CAS): Likewise.
5267 (SUBWORD_BOOL_CAS): Likewise.
5268 (FETCH_AND_OP_WORD): Update.
5269 Consistently use signed types.
5270
5271 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5272 Thomas Schwinge <thomas@codesourcery.com>
5273 Ilya Verbin <ilya.verbin@intel.com>
5274 Andrey Turetskiy <andrey.turetskiy@intel.com>
5275
5276 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5277 (crtoffloadend$(objext)): Likewise.
5278 * configure: Regenerate.
5279 * configure.ac (accel_dir_suffix): Compute new variable.
5280 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5281 if enable_offload_targets is not empty.
5282 * offloadstuff.c: New file.
5283
5284 2014-11-13 Nick Clifton <nickc@redhat.com>
5285
5286 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5287 Use START_FUNC and END_FUNC macros to enable linker garbage
5288 collection.
5289 * config/rl78/divmodqi.S: Likewise.
5290 * config/rl78/divmodsi.S: Likewise.
5291 * config/rl78/mulsi3.S: Likewise.
5292 * config/rl78/lib2div.c: Remove G10 functions.
5293 * config/rl78/lib2muls.c: Likewise.
5294 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5295 * config/rl78/vregs.h (START_FUNC): New macro.
5296 (END_FUNC): New macro.
5297
5298 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5299
5300 * config/mips/mips16.S: Set .module when supported. Update O32
5301 FP64 calling convention and use for FPXX when possible. Add FPXX
5302 calling convention fallback case.
5303
5304 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5305
5306 * config.host: Handle nvptx-*-*.
5307 * shared-object.mk (as-flags-$o): Define.
5308 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5309 -xassembler-with-cpp.
5310 * static-object.mk: Identical changes.
5311 * config/nvptx/t-nvptx: New file.
5312 * config/nvptx/crt0.s: New file.
5313 * config/nvptx/free.asm: New file.
5314 * config/nvptx/malloc.asm: New file.
5315 * config/nvptx/realloc.c: New file.
5316
5317 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5318
5319 * Makefile.in (libgcc.map.in): New target.
5320 (libgcc.map): Use libgcc.map.in.
5321 * config/t-softfp (softfp_compat): New variable to be set by
5322 users.
5323 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5324 variables.
5325 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5326 directory.
5327 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5328 that use compat symbols and disable all code unless [SHARED].
5329 * config/t-softfp-compat: New file.
5330 * find-symver.awk: New file.
5331 * configure.ac (--with-glibc-version): New configure option.
5332 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5333 * configure: Regenerate.
5334 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5335 soft-float and e500.
5336
5337 2014-10-29 Joseph Myers <joseph@codesourcery.com>
5338
5339 * config/t-hardfp (hardfp_exclusions): Document new variable for
5340 user to define.
5341 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5342 * config/t-softfp (softfp_extras): Document new variable for user
5343 to define.
5344 (softfp_func_list): Add functions from $(softfp_extras).
5345 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5346 * config.host (powerpc*-*-linux*): For e500v1, use
5347 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5348 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5349 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5350
5351 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
5352
5353 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5354 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5355 memory read accesses are ok.
5356
5357 2014-10-25 Joseph Myers <joseph@codesourcery.com>
5358
5359 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5360 * configure: Regenerate.
5361 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5362 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5363 of soft-fp for 32-bit classic hard float. Do not use
5364 t-softfp-excl for soft float.
5365
5366 2014-10-22 Joseph Myers <joseph@codesourcery.com>
5367
5368 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5369 configurations.
5370 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5371 Remove variables.
5372
5373 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
5374
5375 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5376 introduced with 2014-10-21 trunk r216525.
5377
5378 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
5379 Vidya Praveen <vidya.praveen@atmel.com>
5380 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5381 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5382 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
5383
5384 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5385 order.
5386
5387 Updated library functions for AVRTINY arch.
5388 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5389 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5390 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5391 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5392 wsubi/wadi macors.
5393 (__mulsi3_helper): Update stack, preserve callee saved regs and
5394 argument from stack. Restore callee save registers.
5395 (__mulpsi3): Likewise.
5396 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5397 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5398 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5399 AVRTINY.
5400 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5401 (__do_copy_data): Added new definition for AVRTINY.
5402 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5403 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5404 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5405 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5406 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5407 macors.
5408 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5409 AVRTINY.
5410
5411 Fix broken long multiplication on tiny arch.
5412
5413 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5414
5415 * soft-fp/double.h: Update from glibc.
5416 * soft-fp/eqdf2.c: Likewise.
5417 * soft-fp/eqsf2.c: Likewise.
5418 * soft-fp/eqtf2.c: Likewise.
5419 * soft-fp/extenddftf2.c: Likewise.
5420 * soft-fp/extended.h: Likewise.
5421 * soft-fp/extendsfdf2.c: Likewise.
5422 * soft-fp/extendsftf2.c: Likewise.
5423 * soft-fp/extendxftf2.c: Likewise.
5424 * soft-fp/gedf2.c: Likewise.
5425 * soft-fp/gesf2.c: Likewise.
5426 * soft-fp/getf2.c: Likewise.
5427 * soft-fp/ledf2.c: Likewise.
5428 * soft-fp/lesf2.c: Likewise.
5429 * soft-fp/letf2.c: Likewise.
5430 * soft-fp/op-1.h: Likewise.
5431 * soft-fp/op-2.h: Likewise.
5432 * soft-fp/op-4.h: Likewise.
5433 * soft-fp/op-8.h: Likewise.
5434 * soft-fp/op-common.h: Likewise.
5435 * soft-fp/quad.h: Likewise.
5436 * soft-fp/single.h: Likewise.
5437 * soft-fp/soft-fp.h: Likewise.
5438 * soft-fp/unorddf2.c: Likewise.
5439 * soft-fp/unordsf2.c: Likewise.
5440 * soft-fp/unordtf2.c: Likewise.
5441 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5442 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5443 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5444 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5445 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5446 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5447 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5448 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5449 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5450 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5451
5452 2014-10-08 Rong Xu <xur@google.com>
5453
5454 * libgcov-util.c (read_gcda_file): Fix format.
5455 (find_match_gcov_info): Ditto.
5456 (calculate_2_entries): New.
5457 (compute_one_gcov): Ditto.
5458 (gcov_info_count_all_cold): Ditto.
5459 (gcov_info_count_all_zero): Ditto.
5460 (extract_file_basename): Ditto.
5461 (get_file_basename): Ditto.
5462 (set_flag): Ditto.
5463 (matched_gcov_info): Ditto.
5464 (calculate_overlap): Ditto.
5465 (gcov_profile_overlap): Ditto.
5466 * libgcov-driver.c (compute_summary): Make
5467 it avavilable for external calls.
5468
5469 2014-10-06 Rong Xu <xur@google.com>
5470
5471 * Makefile.in: Ditto.
5472 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5473 (gcov_sort_icall_topn_counter): Ditto.
5474 (gcov_sort_topn_counter_arrays): Ditto.
5475 (dump_one_gcov): Sort indirect_call topn counters.
5476 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5477 function.
5478 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5479 utility function.
5480 (__gcov_indirect_call_topn_profiler): New profiler function.
5481 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5482 * libgcov.h: New decls.
5483
5484 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5485
5486 * config.host: Remove support for score-*.
5487
5488 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5489
5490 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5491 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5492 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5493 __LIBGCC_XF_MANT_DIG__.
5494 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5495 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5496 __LIBGCC_TF_MANT_DIG__.
5497 * libgcc2.c (NOTRUNC): Define in terms of
5498 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5499 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5500
5501 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5502
5503 PR target/63312
5504 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5505 New macros.
5506
5507 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5508
5509 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5510 override USE_PT_GNU_EH_FRAME.
5511 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5512 check USE_EH_FRAME_REGISTRY_ALWAYS against
5513 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5514 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5515 variable for substituted force_explicit_eh_registry.
5516 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5517 * configure.ac (explicit-exception-frame-registration):
5518 New AC_ARG_ENABLE.
5519 * configure: Regenerate.
5520
5521 2014-09-19 Olivier Hainque <hainque@adacore.com>
5522
5523 * config.host (powerpc-wrs-vxworksmils): New configuration,
5524 same as vxworksae.
5525
5526 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5527
5528 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5529
5530 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5531
5532 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5533 bits not set bits as indicating trapping exceptions.
5534
5535 2014-09-17 Nathan sidwell <nathan@acm.org>
5536
5537 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5538 (LIBGCOV_DRIVER): ... here.
5539 * libgcov-driver.c (gcov_master): New.
5540 (gcov_exit): Remove from master chain.
5541 (__gcov_init): Add to master chain if version compatible. Don't
5542 clear the version.
5543 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5544 (gcov_reset_int): Clear master chain, if compatible.
5545 (gcov_dump_int): New internal interface. Dump master chain, if
5546 compatible.
5547 (gcov_dump): Alias for gcov_dump_int.
5548 * libgcov.h (struct gcov_root): Add next and prev fields.
5549 (struct gcov_master): New struct.
5550 (__gcov_master): New.
5551 (gcov_dump_int): Declare.
5552
5553 2014-09-17 Olivier Hainque <hainque@adacore.com>
5554
5555 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5556 and crtbegin.o + crtend.o to extra_parts.
5557
5558 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5559
5560 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5561 __LIBGCC_HAS_SF_MODE__.
5562 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5563 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5564 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5565 * config/libbid/bid_gcc_intrinsics.h
5566 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5567 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5568 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5569 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5570 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5571 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5572
5573 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5574
5575 PR target/63223
5576 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5577 and R24 as needed. Make work for all devices and .text locations.
5578 (__do_global_ctors, __do_global_dtors): Use word addresses.
5579 (__tablejump__, __tablejump_elpm__): Remove functions.
5580 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5581 Add _tablejump2.
5582 (XICALL, XIJMP): New macros.
5583
5584 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5585 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5586
5587 * config.host (aarch64*): Include crtfastmath.o and
5588 t-crtfm.
5589 * config/aarch64/crtfastmath.c: New file.
5590
5591 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5592
5593 * config.host: Remove picochip support.
5594 * config/picochip/adddi3.S: Remove.
5595 * config/picochip/ashlsi3.S: Remove.
5596 * config/picochip/ashlsi3.c: Remove.
5597 * config/picochip/ashrsi3.S: Remove.
5598 * config/picochip/ashrsi3.c: Remove.
5599 * config/picochip/clzsi2.S: Remove.
5600 * config/picochip/cmpsi2.S: Remove.
5601 * config/picochip/divmod15.S: Remove.
5602 * config/picochip/divmodhi4.S: Remove.
5603 * config/picochip/divmodsi4.S: Remove.
5604 * config/picochip/lib1funcs.S: Remove.
5605 * config/picochip/longjmp.S: Remove.
5606 * config/picochip/lshrsi3.S: Remove.
5607 * config/picochip/lshrsi3.c: Remove.
5608 * config/picochip/parityhi2.S: Remove.
5609 * config/picochip/popcounthi2.S: Remove.
5610 * config/picochip/setjmp.S: Remove.
5611 * config/picochip/subdi3.S: Remove.
5612 * config/picochip/t-picochip: Remove.
5613 * config/picochip/ucmpsi2.S: Remove.
5614 * config/picochip/udivmodhi4.S: Remove.
5615 * config/picochip/udivmodsi4.S: Remove.
5616
5617 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5618
5619 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5620 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5621 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5622 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5623 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5624 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5625 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5626 defined and LIBGCC2_HAS_DF_MODE is defined.
5627 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5628 defined and LIBGCC2_HAS_XF_MODE is defined.
5629 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5630 defined and LIBGCC2_HAS_TF_MODE is defined.
5631
5632 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5633
5634 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5635 and ROUND_TOWARDS_ZERO conditionals.
5636
5637 2014-09-07 Nathan sidwell <nathan@acm.org>
5638
5639 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5640 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5641
5642 2014-09-05 Joseph Myers <joseph@codesourcery.com>
5643
5644 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5645 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5646 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5647 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5648 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5649 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5650 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5651 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5652 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5653 (DWARF_FRAME_REGISTERS): Change all uses to
5654 __LIBGCC_DWARF_FRAME_REGISTERS__.
5655 (EH_RETURN_STACKADJ_RTX): Change all uses to
5656 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5657 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5658 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5659 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5660 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5661 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5662 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5663 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5664 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5665 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5666 __LIBGCC_STACK_POINTER_REGNUM__.
5667 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5668 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5669 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5670 to __LIBGCC_STACK_POINTER_REGNUM__.
5671 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5672 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5673 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5674 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5675 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5676 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5677 (STACK_POINTER_REGNUM): Change all uses to
5678 __LIBGCC_STACK_POINTER_REGNUM__.
5679 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5680 use to __LIBGCC_STACK_POINTER_REGNUM__.
5681 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5682 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5683 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5684 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5685 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5686 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5687 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5688 to __LIBGCC_STACK_POINTER_REGNUM__.
5689 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5690 Remove conditional definition.
5691 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5692 __LIBGCC_TEXT_SECTION_ASM_OP__.
5693 (EH_FRAME_SECTION_NAME): Change all uses to
5694 __LIBGCC_EH_FRAME_SECTION_NAME__.
5695 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5696 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5697 (CTORS_SECTION_ASM_OP): Change all uses to
5698 __LIBGCC_CTORS_SECTION_ASM_OP__.
5699 (DTORS_SECTION_ASM_OP): Change all uses to
5700 __LIBGCC_DTORS_SECTION_ASM_OP__.
5701 (JCR_SECTION_NAME): Change all uses to
5702 __LIBGCC_JCR_SECTION_NAME__.
5703 (INIT_SECTION_ASM_OP): Change all uses to
5704 __LIBGCC_INIT_SECTION_ASM_OP__.
5705 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5706 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5707 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5708 __LIBGCC_STACK_GROWS_DOWNWARD__.
5709 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5710 __LIBGCC_INIT_SECTION_ASM_OP__.
5711 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5712 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5713 (EH_FRAME_SECTION_NAME): Change all uses to
5714 __LIBGCC_EH_FRAME_SECTION_NAME__.
5715 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5716 definitions. Change all uses to
5717 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5718 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5719 __LIBGCC_STACK_GROWS_DOWNWARD__.
5720 (DWARF_FRAME_REGISTERS): Change all uses to
5721 __LIBGCC_DWARF_FRAME_REGISTERS__.
5722 (EH_RETURN_STACKADJ_RTX): Change all uses to
5723 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5724 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5725 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5726 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5727 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5728 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5729
5730 2014-09-02 Nathan sidwell <nathan@acm.org>
5731
5732 * libgcov-interface.c (STRONG_ALIAS): New.
5733 (__gcov_flush): Call __gcov_reset_int.
5734 (__gcov_reset): Strong alias for ...
5735 (__gcov_reset_ing): ... this renamed hidden version.
5736 * libgcov.h (__gcov_reset_int): New declaration.
5737
5738 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5739
5740 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5741 call from here...
5742 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5743 (__dso_handle): Define on Cygwin.
5744 * config/i386/t-cygming (crtbeginS.o): New rule.
5745 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5746
5747 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5748 declaration syntax.
5749
5750 2014-08-13 Steve Ellcey <sellcey@mips.com>
5751
5752 * crtstuff.c: Undef caddr_t.
5753
5754 2014-08-12 Steve Ellcey <sellcey@mips.com>
5755
5756 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5757
5758 2014-08-07 Nathan Sidwell <nathan@acm.org>
5759
5760 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5761 (LIBGCOV_DRIVER): ... to here.
5762 * libgcov.h (gcov_do_dump): New #define.
5763 (struct gcov_root): New.
5764 (__gcov_root): New declaration.
5765 (__gcov_dump_one): Declare.
5766 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5767 run_accounted): Delete.
5768 (gcov_compute_histogram): Add LIST argument, adjust.
5769 (compute_summary): Adjust gcov_compute_histogram call.
5770 (gcov_do_dump): Not hidden, static in libgcov.
5771 (gcov_clear): Move to interface.c.
5772 (__gcov_dump_one): New, broken out of ...
5773 (gcov_exit): ... here. Make static.
5774 (__gcov_root): New.
5775 (__gcov_init): Adjust.
5776 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5777 declarations.
5778 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5779 (gcov_clear): Moved from driver.c. Add LIST argument.
5780 (__gcov_reset): Adjust for changed interfaces.
5781 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5782
5783 2014-08-04 Rohit <rohitarulraj@freescale.com>
5784
5785 PR target/60102
5786 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5787 based on change in SPE high register numbers and 3 HTM registers.
5788
5789 2014-08-01 Nathan Sidwell <nathan@acm.org>
5790
5791 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5792 LIBGCOV_INTERFACE): Reformat.
5793 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5794 IN_GCOV_TOOL.
5795 * libgcov-interface.c: Reformat some comments.
5796 (__gcov_flush_mx): Add declaration. Tidy up definition.
5797
5798 2014-07-31 Alan Modra <amodra@gmail.com>
5799 Peter Bergner <bergner@vnet.ibm.com>
5800
5801 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5802 (pack_ldouble): New function.
5803 (__gcc_qadd): Use it.
5804 (__gcc_qmul): Likewise.
5805 (__gcc_qdiv): Likewise.
5806 (__gcc_qneg): Likewise.
5807 (__gcc_stoq): Likewise.
5808 (__gcc_dtoq): Likewise.
5809
5810 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5811
5812 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5813 (__tpf_eh_return): Add original return address as second parameter.
5814 Handle cases where unwinder routines were called directly, instead
5815 of from within the C++ library.
5816
5817 2014-07-29 Nathan Sidwell <nathan@acm.org>
5818
5819 * libgcov.h: Move renaming of entry points to lib gcov specific
5820 portion.
5821 (gcov_do_dump): New rename.
5822 (gcov_rewrite): Remove inline, make HIDDEN.
5823 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5824 (gcov_exit_compute_summary): Rename to ...
5825 (compute_summary): ... here. Add LIST argument.
5826 (gcov_exit_merge_gcda): Rename to ...
5827 (merge_one_data): ... here.
5828 (gcov_exit_write_gcda): Rename to ...
5829 (write_one_data): ... here.
5830 (gcov_exit_merge_summary): Rename to ...
5831 (merge_summary): Add RUN_COUNTED argument.
5832 (gcov_exit_dump_gcov): Rename to ...
5833 (dump_one_gcov): Add RUN_COUNTED argument.
5834 (gcov_do_dump): New function, broken out of ...
5835 (gcov_exit): ... here. Call it.
5836
5837 2014-07-27 Anthony Green <green@moxielogic.com>
5838
5839 * config.host: Add moxiebox configuration suppport.
5840
5841 2014-07-27 Nathan Sidwell <nathan@acm.org>
5842
5843 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5844 (struct gcov_filename): ... here. Include buffer and max length
5845 fields.
5846 (gcov_max_filename): Remove.
5847 (gi_filename): Remove.
5848 (gcov_exit_compute_summary): Compute max filename here.
5849 (gcov_exit_merge_gcda): Add filename parm, adjust.
5850 (gcov_exit_merge_summary): Likewise.
5851 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5852 (gcov_exit): Likewise.
5853 (__gcov_init): Don't calculate max length here.
5854 * libgcov_util.c (max_filename_len): Remove.
5855 (read_gcda_file): Don't calculate max length here.
5856 (gcov_read_profile_dir): Don't propagate here.
5857 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5858 struct gcov_filename changes.
5859 (gcov_exit_open_gcda_file): Likewise.
5860
5861 2014-07-25 Nathan Sidwell <nathan@acm.org>
5862
5863 * libgcov-driver.c (set_gcov_dump_complete,
5864 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5865 functions polluting user's namespace.
5866 (gcov_exit): Set variable directly.
5867 (gcov_clear): Reset variable directly.
5868 * libgcov-interface.c (get_gcov_dymp_complete,
5869 reset_gov_dump_complete): Remove declarations.
5870 (__gcov_reset, __gcov_dump): Don't call them.
5871
5872 2014-07-24 DJ Delorie <dj@redhat.com>
5873
5874 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5875 (__gcc_deregister_frame): Move logic to detect deregister function
5876 to ...
5877 (__gcc_register_frame): here, so it's consistent with the register
5878 logic.
5879
5880 2014-07-23 Nathan Sidwell <nathan@acm.org>
5881
5882 * libgcov-driver.c (set_gcov_list): Remove.
5883 (gcov_list): Make non-static in GCOV_TOOL.
5884 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5885
5886 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5887
5888 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5889 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5890 Don't use SYNC_LOCK_RELEASE for int type.
5891
5892 2014-07-14 Richard Biener <rguenther@suse.de>
5893
5894 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5895
5896 2014-07-11 Rong Xu <xur@google.com>
5897
5898 * libgcov-util.c (gcov_max_filename): Fix declartion.
5899
5900 2014-07-10 Rong Xu <xur@google.com>
5901
5902 Add gcov-tool: an offline gcda profile processing tool
5903 Support.
5904 * libgcov-driver.c (gcov_max_filename): Make available
5905 to gcov-tool.
5906 * libgcov-merge.c (__gcov_merge_add): Replace
5907 gcov_read_counter() with a Macro.
5908 (__gcov_merge_ior): Ditto.
5909 (__gcov_merge_time_profile): Ditto.
5910 (__gcov_merge_single): Ditto.
5911 (__gcov_merge_delta): Ditto.
5912 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5913 in the utility functions.
5914 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5915 gcov_list object link lists.
5916 (tag_function): Ditto.
5917 (tag_blocks): Ditto.
5918 (tag_arcs): Ditto.
5919 (tag_lines): Ditto.
5920 (tag_counters): Ditto.
5921 (tag_summary): Ditto.
5922 (read_gcda_finalize): Ditto.
5923 (read_gcda_file): Ditto.
5924 (ftw_read_file): Ditto.
5925 (read_profile_dir_init): Ditto.
5926 (gcov_read_profile_dir): Ditto.
5927 (gcov_read_counter_mem): Ditto.
5928 (gcov_get_merge_weight): Ditto.
5929 (merge_wrapper): A wrapper function that calls merging handler.
5930 (gcov_merge): Merge two gcov_info objects with weights.
5931 (find_match_gcov_info): Find the matched gcov_info in the list.
5932 (gcov_profile_merge): Merge two gcov_info object lists.
5933 (__gcov_add_counter_op): Process edge profile counter values.
5934 (__gcov_ior_counter_op): Process IOR profile counter values.
5935 (__gcov_delta_counter_op): Process delta profile counter values.
5936 (__gcov_single_counter_op): Process single profile counter values.
5937 (fp_scale): Callback function for float-point scaling.
5938 (int_scale): Callback function for integer fraction scaling.
5939 (gcov_profile_scale): Scaling profile counters.
5940 (gcov_profile_normalize): Normalize profile counters.
5941 * libgcov.h: Add headers and functions for gcov-tool use.
5942 (gcov_get_counter): New.
5943 (gcov_get_counter_target): Ditto.
5944 (struct gcov_info): Make the functions field mutable in gcov-tool
5945 compilation.
5946
5947 2014-06-23 Kai Tietz <ktietz@redhat.com>
5948
5949 PR libgcc/61585
5950 * unwind-seh.c (_Unwind_GetGR): Check for proper
5951 index range.
5952 (_Unwind_SetGR): Likewise.
5953
5954 2014-05-22 Nick Clifton <nickc@redhat.com>
5955
5956 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5957 -mhwmult=none.
5958
5959 2014-05-22 Teresa Johnson <tejohnson@google.com>
5960
5961 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5962 include.
5963
5964 2014-05-20 John Marino <gnugcc@marino.st>
5965
5966 * config.host (*-*-dragonfly*): New target.
5967 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5968 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5969 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5970 * config/i386/dragonfly-unwind.h: New.
5971
5972 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5973
5974 PR libgcc/60166
5975 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5976 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5977
5978 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5979
5980 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5981 implementation.
5982
5983 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
5984
5985 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5986
5987 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5988
5989 PR libgcc/61097
5990 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5991 if --enable-shared.
5992
5993 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5994
5995 Work around for current cygwin32 build problems.
5996 * config/i386/cygming-crtbegin.c (__register_frame_info,
5997 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5998 functions only for 64-bit systems.
5999
6000 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6001
6002 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6003 (sigill_caught, sigill_hdlr): Remove.
6004
6005 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6006
6007 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6008 check.
6009 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6010 Solaris 9 single-threaded support.
6011 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6012 Solaris 9 single-threaded support. Add call_user_handler code
6013 sequences.
6014 (sparc_is_sighandler): Likewise.
6015
6016 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6017
6018 * config.host: Append t-floattodi to tmake_file depending on
6019 host_address.
6020
6021 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6022
6023 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6024
6025 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
6026
6027 PR libgcc/60472
6028 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6029 variable to avoid "array subscript is above array bounds" warnings.
6030 Use __builtin_expect when checking *jcr_list for NULL.
6031
6032 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6033
6034 PR libgcc/59339
6035 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6036 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6037 vtv_*.o to extra_parts if enable_vtable_verify.
6038
6039 2014-03-06 Nick Clifton <nickc@redhat.com>
6040
6041 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6042 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6043
6044 2014-02-28 Joey Ye <joey.ye@arm.com>
6045
6046 PR libgcc/60166
6047 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6048 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6049 Set to zero.
6050
6051 2014-02-24 Walter Lee <walt@tilera.com>
6052
6053 * config.host: Support "tilegx*" and "tilepro*" triplets.
6054 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6055 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6056
6057 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6058 Chung-Lin Tang <cltang@codesourcery.com>
6059
6060 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6061 * config/nios2/crti.S: Remove .file directive.
6062 * config/nios2/crtn.S: Likewise.
6063
6064 2014-02-18 Kai Tietz <ktietz@redhat.com>
6065 Jonathan Schleifer <js@webkeks.org>
6066
6067 PR objc/56870
6068 * unwind-seh.c (_GCC_specific_handler): Pass proper
6069 value to unwind-handler.
6070
6071 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6072
6073 * soft-fp/adddf3.c: Update from glibc.
6074 * soft-fp/addsf3.c: Likewise.
6075 * soft-fp/addtf3.c: Likewise.
6076 * soft-fp/divdf3.c: Likewise.
6077 * soft-fp/divsf3.c: Likewise.
6078 * soft-fp/divtf3.c: Likewise.
6079 * soft-fp/double.h: Likewise.
6080 * soft-fp/eqdf2.c: Likewise.
6081 * soft-fp/eqsf2.c: Likewise.
6082 * soft-fp/eqtf2.c: Likewise.
6083 * soft-fp/extenddftf2.c: Likewise.
6084 * soft-fp/extended.h: Likewise.
6085 * soft-fp/extendsfdf2.c: Likewise.
6086 * soft-fp/extendsftf2.c: Likewise.
6087 * soft-fp/extendxftf2.c: Likewise.
6088 * soft-fp/fixdfdi.c: Likewise.
6089 * soft-fp/fixdfsi.c: Likewise.
6090 * soft-fp/fixdfti.c: Likewise.
6091 * soft-fp/fixsfdi.c: Likewise.
6092 * soft-fp/fixsfsi.c: Likewise.
6093 * soft-fp/fixsfti.c: Likewise.
6094 * soft-fp/fixtfdi.c: Likewise.
6095 * soft-fp/fixtfsi.c: Likewise.
6096 * soft-fp/fixtfti.c: Likewise.
6097 * soft-fp/fixunsdfdi.c: Likewise.
6098 * soft-fp/fixunsdfsi.c: Likewise.
6099 * soft-fp/fixunsdfti.c: Likewise.
6100 * soft-fp/fixunssfdi.c: Likewise.
6101 * soft-fp/fixunssfsi.c: Likewise.
6102 * soft-fp/fixunssfti.c: Likewise.
6103 * soft-fp/fixunstfdi.c: Likewise.
6104 * soft-fp/fixunstfsi.c: Likewise.
6105 * soft-fp/fixunstfti.c: Likewise.
6106 * soft-fp/floatdidf.c: Likewise.
6107 * soft-fp/floatdisf.c: Likewise.
6108 * soft-fp/floatditf.c: Likewise.
6109 * soft-fp/floatsidf.c: Likewise.
6110 * soft-fp/floatsisf.c: Likewise.
6111 * soft-fp/floatsitf.c: Likewise.
6112 * soft-fp/floattidf.c: Likewise.
6113 * soft-fp/floattisf.c: Likewise.
6114 * soft-fp/floattitf.c: Likewise.
6115 * soft-fp/floatundidf.c: Likewise.
6116 * soft-fp/floatundisf.c: Likewise.
6117 * soft-fp/floatunditf.c: Likewise.
6118 * soft-fp/floatunsidf.c: Likewise.
6119 * soft-fp/floatunsisf.c: Likewise.
6120 * soft-fp/floatunsitf.c: Likewise.
6121 * soft-fp/floatuntidf.c: Likewise.
6122 * soft-fp/floatuntisf.c: Likewise.
6123 * soft-fp/floatuntitf.c: Likewise.
6124 * soft-fp/gedf2.c: Likewise.
6125 * soft-fp/gesf2.c: Likewise.
6126 * soft-fp/getf2.c: Likewise.
6127 * soft-fp/ledf2.c: Likewise.
6128 * soft-fp/lesf2.c: Likewise.
6129 * soft-fp/letf2.c: Likewise.
6130 * soft-fp/muldf3.c: Likewise.
6131 * soft-fp/mulsf3.c: Likewise.
6132 * soft-fp/multf3.c: Likewise.
6133 * soft-fp/negdf2.c: Likewise.
6134 * soft-fp/negsf2.c: Likewise.
6135 * soft-fp/negtf2.c: Likewise.
6136 * soft-fp/op-1.h: Likewise.
6137 * soft-fp/op-2.h: Likewise.
6138 * soft-fp/op-4.h: Likewise.
6139 * soft-fp/op-8.h: Likewise.
6140 * soft-fp/op-common.h: Likewise.
6141 * soft-fp/quad.h: Likewise.
6142 * soft-fp/single.h: Likewise.
6143 * soft-fp/soft-fp.h: Likewise.
6144 * soft-fp/subdf3.c: Likewise.
6145 * soft-fp/subsf3.c: Likewise.
6146 * soft-fp/subtf3.c: Likewise.
6147 * soft-fp/truncdfsf2.c: Likewise.
6148 * soft-fp/trunctfdf2.c: Likewise.
6149 * soft-fp/trunctfsf2.c: Likewise.
6150 * soft-fp/trunctfxf2.c: Likewise.
6151 * soft-fp/unorddf2.c: Likewise.
6152 * soft-fp/unordsf2.c: Likewise.
6153 * soft-fp/unordtf2.c: Likewise.
6154 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6155 macro.
6156 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6157 Likewise.
6158 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6159 Likewise.
6160 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6161 Likewise.
6162 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6163 Likewise.
6164 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6165 Likewise.
6166 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6167 Likewise.
6168 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6169 Likewise.
6170 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6171 Likewise.
6172 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6173 Likewise.
6174 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6175 Likewise.
6176 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6177 Likewise.
6178 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6179 Likewise.
6180 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6181 Likewise.
6182 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6183 Likewise.
6184 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6185 Likewise.
6186
6187 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6188
6189 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6190 cannot be represented.
6191 * config/s390/32/_fixsfdi.c: Likewise.
6192 * config/s390/32/_fixtfdi.c: Likewise.
6193 * config/s390/32/_fixunsdfdi.c: Likewise.
6194 * config/s390/32/_fixunssfdi.c: Likewise.
6195 * config/s390/32/_fixunstfdi.c: Likewise.
6196
6197 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6198
6199 * configure.ac (libgcc_cv_mips_hard_float): New.
6200 * configure: Regenerate.
6201 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6202 t-softfp-sfdf for hard-float targets.
6203 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6204 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6205 (softfp_truncations, softfp_exclude_libgcc2): New.
6206 * config/t-hardfp: New file.
6207 * config/t-hardfp-sfdf: Likewise.
6208 * config/hardfp.c: Likewise.
6209
6210 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6211
6212 * config.host: Include t-floattodi also for s390x.
6213 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6214 * config/s390/32/_fixsfdi.c: Likewise.
6215 * config/s390/32/_fixtfdi.c: Likewise.
6216 * config/s390/32/_fixunsdfdi.c: Likewise.
6217 * config/s390/32/_fixunssfdi.c: Likewise.
6218 * config/s390/32/_fixunstfdi.c: Likewise.
6219
6220 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6221
6222 PR target/59788
6223 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6224 (install-libgcc-unwind-map-forbuild): New target.
6225 (all): Depend on install-libgcc-unwind-map-forbuild.
6226 (install-libgcc-unwind-map): New target.
6227 (install): Depend on install-libgcc-unwind-map.
6228
6229 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6230
6231 * config/nios2/crti.S (_init): Initialize GOT pointer from
6232 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6233
6234 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6235
6236 * configure.ac: Check __mips64 when setting host_address.
6237 * configure: Regenerate.
6238 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6239 mips/t-mips64 and t-softfp.
6240 (mips*-*-linux*): Don't add mips/t-tpbit.
6241 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6242 (DPBIT, DPBIT_CFLAGS): Delete.
6243 * config/mips/sfp-machine.h: New file.
6244 * config/mips/t-mips64: Likewise.
6245 * config/mips/t-softfp-tf: Likewise.
6246 * config/mips/t-tpbit: Delete.
6247
6248 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6249
6250 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6251 as long long.
6252
6253 2014-01-25 Walter Lee <walt@tilera.com>
6254
6255 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6256 config.h or system.h.
6257 (bool) Define.
6258
6259 2014-01-25 Walter Lee <walt@tilera.com>
6260
6261 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6262 (post_atomic_barrier): Ditto.
6263 (__fetch_and_do): New macro.
6264 (__atomic_fetch_and_do): Use __fetch_and_do.
6265 (__sync_fetch_and_do): New macro.
6266 (__sync_fetch_and_add_4): New function.
6267 (__sync_fetch_and_sub_4): New function.
6268 (__sync_fetch_and_or_4): New function.
6269 (__sync_fetch_and_and_4): New function.
6270 (__sync_fetch_and_xor_4): New function.
6271 (__sync_fetch_and_nand_4): New function.
6272 (__sync_fetch_and_add_8): New function.
6273 (__sync_fetch_and_sub_8): New function.
6274 (__sync_fetch_and_or_8): New function.
6275 (__sync_fetch_and_and_8): New function.
6276 (__sync_fetch_and_xor_8): New function.
6277 (__sync_fetch_and_nand_8): New function.
6278 (__do_and_fetch): New macro.
6279 (__atomic_do_and_fetch): Use __do_and_fetch.
6280 (__sync_do_and_fetch): New macro.
6281 (__sync_add_and_fetch_4): New function.
6282 (__sync_sub_and_fetch_4): New function.
6283 (__sync_or_and_fetch_4): New function.
6284 (__sync_and_and_fetch_4): New function.
6285 (__sync_xor_and_fetch_4): New function.
6286 (__sync_nand_and_fetch_4): New function.
6287 (__sync_add_and_fetch_8): New function.
6288 (__sync_sub_and_fetch_8): New function.
6289 (__sync_or_and_fetch_8): New function.
6290 (__sync_and_and_fetch_8): New function.
6291 (__sync_xor_and_fetch_8): New function.
6292 (__sync_nand_and_fetch_8): New function.
6293 (__sync_exchange_methods): New macro.
6294 (__sync_val_compare_and_swap_4): New function.
6295 (__sync_bool_compare_and_swap_4): New function.
6296 (__sync_lock_test_and_test_4): New function.
6297 (__sync_val_compare_and_swap_8): New function.
6298 (__sync_bool_compare_and_swap_8): New function.
6299 (__sync_lock_test_and_test_8): New function.
6300 (__subword_cmpxchg_body): New macro.
6301 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6302 (__atomic_compare_exchange_2): Ditto.
6303 (__sync_subword_cmpxchg): New macro.
6304 (__sync_val_compare_and_swap_1): New function.
6305 (__sync_bool_compare_and_swap_1): New function.
6306 (__sync_val_compare_and_swap_2): New function.
6307 (__sync_bool_compare_and_swap_2): New function.
6308 (__atomic_subword): Rename to ...
6309 (__subword): ... New name.
6310 (__atomic_subword_fetch): Use __subword.
6311 (__sync_subword_fetch): New macro.
6312 (__sync_fetch_and_add_1): New function.
6313 (__sync_fetch_and_sub_1): New function.
6314 (__sync_fetch_and_or_1): New function.
6315 (__sync_fetch_and_and_1): New function.
6316 (__sync_fetch_and_xor_1): New function.
6317 (__sync_fetch_and_nand_1): New function.
6318 (__sync_fetch_and_add_2): New function.
6319 (__sync_fetch_and_sub_2): New function.
6320 (__sync_fetch_and_or_2): New function.
6321 (__sync_fetch_and_and_2): New function.
6322 (__sync_fetch_and_xor_2): New function.
6323 (__sync_fetch_and_nand_2): New function.
6324 (__sync_add_and_fetch_1): New function.
6325 (__sync_sub_and_fetch_1): New function.
6326 (__sync_or_and_fetch_1): New function.
6327 (__sync_and_and_fetch_1): New function.
6328 (__sync_xor_and_fetch_1): New function.
6329 (__sync_nand_and_fetch_1): New function.
6330 (__sync_add_and_fetch_2): New function.
6331 (__sync_sub_and_fetch_2): New function.
6332 (__sync_or_and_fetch_2): New function.
6333 (__sync_and_and_fetch_2): New function.
6334 (__sync_xor_and_fetch_2): New function.
6335 (__sync_nand_and_fetch_2): New function.
6336 (__atomic_subword_lock): Use __subword.
6337 (__sync_subword_lock): New macro.
6338 (__sync_lock_test_and_set_1): New function.
6339 (__sync_lock_test_and_set_2): New function.
6340
6341 2014-01-25 Walter Lee <walt@tilera.com>
6342
6343 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6344 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6345 (__atomic_subword): Ditto.
6346
6347 2014-01-25 Walter Lee <walt@tilera.com>
6348
6349 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6350 a prefix op argument.
6351 (__atomic_nand_fetch_4): Add prefix op.
6352 (__atomic_nand_fetch_8): Ditto.
6353
6354 2014-01-21 Baruch Siach <barch@tkos.co.il>
6355
6356 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6357
6358 2014-01-09 Rong Xu <xur@google.com>
6359
6360 * libgcov-driver.c (this_prg): make it local to save
6361 bss space.
6362 (gcov_exit_compute_summary): Ditto.
6363 (gcov_exit_merge_gcda): Ditto.
6364 (gcov_exit_merge_summary): Ditto.
6365 (gcov_exit_dump_gcov): Ditto.
6366
6367 2014-01-08 Rong Xu <xur@google.com>
6368
6369 * libgcov-driver.c: Use libgcov.h.
6370 (buffer_fn_data): Use xmalloc instead of malloc.
6371 (gcov_exit_merge_gcda): Ditto.
6372 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6373 * libgcov.h: New common header files for libgcov-*.h.
6374 * libgcov-interface.c: Use libgcov.h
6375 * libgcov-merge.c: Ditto.
6376 * libgcov-profiler.c: Ditto.
6377 * Makefile.in: Add dependence to libgcov.h
6378
6379 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6380
6381 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6382 case of small numerator and finite nonzero result.
6383
6384 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6385
6386 Update copyright years
6387
6388 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6389
6390 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6391 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6392 config/arc/dp-hack.h, config/arc/fp-hack.h,
6393 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6394 config/arc/ieee-754/arc600-dsp/divdf3.S,
6395 config/arc/ieee-754/arc600-dsp/divsf3.S,
6396 config/arc/ieee-754/arc600-dsp/muldf3.S,
6397 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6398 config/arc/ieee-754/arc600-mul64/divdf3.S,
6399 config/arc/ieee-754/arc600-mul64/divsf3.S,
6400 config/arc/ieee-754/arc600-mul64/muldf3.S,
6401 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6402 config/arc/ieee-754/arc600/divsf3.S,
6403 config/arc/ieee-754/arc600/mulsf3.S,
6404 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6405 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6406 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6407 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6408 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6409 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6410 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6411 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6412 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6413 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6414 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6415 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6416 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6417 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6418 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6419 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6420 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6421 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6422 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6423 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6424 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6425 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6426 vtv_start_preinit.c: Use the standard form for the copyright notice.
6427
6428 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6429 Chung-Lin Tang <cltang@codesourcery.com>
6430 Based on patches from Altera Corporation
6431
6432 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6433 * config/nios2/lib2-nios2.h: New file.
6434 * config/nios2/lib2-divmod-hi.c: New file.
6435 * config/nios2/linux-unwind.h: New file.
6436 * config/nios2/lib2-divmod.c: New file.
6437 * config/nios2/linux-atomic.c: New file.
6438 * config/nios2/t-nios2: New file.
6439 * config/nios2/crti.asm: New file.
6440 * config/nios2/t-linux: New file.
6441 * config/nios2/lib2-divtable.c: New file.
6442 * config/nios2/lib2-mul.c: New file.
6443 * config/nios2/tramp.c: New file.
6444 * config/nios2/crtn.asm: New file.
6445
6446 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
6447
6448 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6449 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6450 from cpuid.h to check vendor signatures.
6451
6452 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6453
6454 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6455 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6456 (get_amd_cpu): Likewise.
6457
6458 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6459
6460 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6461 Haswell.
6462
6463 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6464 H.J. Lu <hongjiu.lu@intel.com>
6465
6466 PR target/59422
6467 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
6468 and AMD_JAGUAR.
6469 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6470 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6471 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6472 FEATURE_XOP and FEATURE_FMA.
6473 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6474 AMDFAM15H_BDVER3.
6475 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6476 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6477 FEATURE_FMA4 and FEATURE_XOP.
6478
6479 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6480
6481 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6482 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6483 (get_intel_cpu): Updated.
6484
6485 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6486
6487 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6488
6489 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6490
6491 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6492 instructions when __SSE_MATH__ is defined.
6493
6494 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6495
6496 * config.host (microblaze-*-rtems*): New.
6497
6498 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6499
6500 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6501 architectures that do not have hardware divide instruction.
6502 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6503
6504 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6505
6506 * longlong.h: Delete (moved to include/).
6507
6508 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6509
6510 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6511 of normal number and qNaN to not raise an inexact exception.
6512
6513 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6514
6515 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6516
6517 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6518
6519 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6520 for correct opcodes on BE.
6521
6522 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6523
6524 * soft-fp/op-4.h: Update from glibc.
6525
6526 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6527
6528 * libgcc2.c (__udivmoddi4): Define new implementation when
6529 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6530 divide instructions.
6531
6532 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6533
6534 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6535
6536 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6537
6538 * config/t-softfp (soft-fp-objects-base): New variable.
6539 (soft-fp-objects): Use it.
6540
6541 2013-11-23 David Edelson <dje.gcc@gmail.com>
6542 Andrew Dixie <andrewd@gentrack.com>
6543
6544 PR target/33704
6545 * config/rs6000/aixinitfini.c: New file.
6546 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6547 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6548 symbols.
6549
6550 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6551
6552 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6553
6554 2013-11-18 Jan Hubicka <jh@suse.cz>
6555
6556 * libgcov-driver.c (run_accounted): Make global level static.
6557 (gcov_exit_merge_summary): Silence warning; do not clear
6558 run_accounted here.
6559 (gcov_exit): Clear it here.
6560
6561 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6562 run_accounted.
6563
6564 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6565 (all_prg, crc32): Remove static vars.
6566 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6567 all_prg.
6568 (gcov_exit_merge_gcda): Add crc32 parameter.
6569 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6570 do not account run if it was already accounted.
6571 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6572 (gcov_exit): Initialize all_prg; update.
6573
6574 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6575
6576 * configure: Regenerate.
6577
6578 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6579 Alan Modra <amodra@gmail.com>
6580
6581 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6582 (frob_update_context): Use it.
6583
6584 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6585 Alan Modra <amodra@gmail.com>
6586
6587 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6588 (trampoline_initial): Provide ELFv2 variant.
6589 (__trampoline_setup): Likewise.
6590
6591 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6592 check for AIX indirect function call sequence if _CALL_ELF == 2.
6593
6594 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6595 Alan Modra <amodra@gmail.com>
6596
6597 * config/rs6000/linux-unwind.h (get_regs): Do not support
6598 old kernel versions if _CALL_ELF == 2.
6599 (frob_update_context): Do not support PLT stub variants only
6600 generated by old linkers if _CALL_ELF == 2.
6601
6602 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6603 Alan Modra <amodra@gmail.com>
6604
6605 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6606 location of CR save area for 64-bit little-endian systems.
6607
6608 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6609
6610 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6611 in tmake_file.
6612 * config/arm/t-vxworks: Delete.
6613
6614 2013-11-10 Kai Tietz <ktietz@redhat.com>
6615
6616 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6617 Increment load-count on use of LIBGCC_SONAME DLL.
6618 (hmod_libgcc): New static variable to hold handle of
6619 LIBGCC_SONAME DLL.
6620 (__gcc_deregister_frame): Decrement load-count of
6621 LIBGCC_SONAME DLL.
6622
6623 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6624
6625 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6626 availability.
6627 * configure: Regenerate
6628
6629 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
6630
6631 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6632 FP_EX_DENORM. Store result to volatile location after SSE division
6633 to close interrupt window. Remove unneeded fwait after x87
6634 division since interrupt window will be closed by emitted fstp.
6635 Rewrite FP_EX_INEXACT handling.
6636
6637 2013-11-06 Joseph Myers <joseph@codesourcery.com>
6638
6639 * soft-fp/README: Update.
6640 * soft-fp/adddf3.c: Update from glibc.
6641 * soft-fp/addsf3.c: Likewise.
6642 * soft-fp/addtf3.c: Likewise.
6643 * soft-fp/divdf3.c: Likewise.
6644 * soft-fp/divsf3.c: Likewise.
6645 * soft-fp/divtf3.c: Likewise.
6646 * soft-fp/double.h: Likewise.
6647 * soft-fp/eqdf2.c: Likewise.
6648 * soft-fp/eqsf2.c: Likewise.
6649 * soft-fp/eqtf2.c: Likewise.
6650 * soft-fp/extenddftf2.c: Likewise.
6651 * soft-fp/extended.h: Likewise.
6652 * soft-fp/extendsfdf2.c: Likewise.
6653 * soft-fp/extendsftf2.c: Likewise.
6654 * soft-fp/extendxftf2.c: Likewise.
6655 * soft-fp/fixdfdi.c: Likewise.
6656 * soft-fp/fixdfsi.c: Likewise.
6657 * soft-fp/fixdfti.c: Likewise.
6658 * soft-fp/fixsfdi.c: Likewise.
6659 * soft-fp/fixsfsi.c: Likewise.
6660 * soft-fp/fixsfti.c: Likewise.
6661 * soft-fp/fixtfdi.c: Likewise.
6662 * soft-fp/fixtfsi.c: Likewise.
6663 * soft-fp/fixtfti.c: Likewise.
6664 * soft-fp/fixunsdfdi.c: Likewise.
6665 * soft-fp/fixunsdfsi.c: Likewise.
6666 * soft-fp/fixunsdfti.c: Likewise.
6667 * soft-fp/fixunssfdi.c: Likewise.
6668 * soft-fp/fixunssfsi.c: Likewise.
6669 * soft-fp/fixunssfti.c: Likewise.
6670 * soft-fp/fixunstfdi.c: Likewise.
6671 * soft-fp/fixunstfsi.c: Likewise.
6672 * soft-fp/fixunstfti.c: Likewise.
6673 * soft-fp/floatdidf.c: Likewise.
6674 * soft-fp/floatdisf.c: Likewise.
6675 * soft-fp/floatditf.c: Likewise.
6676 * soft-fp/floatsidf.c: Likewise.
6677 * soft-fp/floatsisf.c: Likewise.
6678 * soft-fp/floatsitf.c: Likewise.
6679 * soft-fp/floattidf.c: Likewise.
6680 * soft-fp/floattisf.c: Likewise.
6681 * soft-fp/floattitf.c: Likewise.
6682 * soft-fp/floatundidf.c: Likewise.
6683 * soft-fp/floatundisf.c: Likewise.
6684 * soft-fp/floatunditf.c: Likewise.
6685 * soft-fp/floatunsidf.c: Likewise.
6686 * soft-fp/floatunsisf.c: Likewise.
6687 * soft-fp/floatunsitf.c: Likewise.
6688 * soft-fp/floatuntidf.c: Likewise.
6689 * soft-fp/floatuntisf.c: Likewise.
6690 * soft-fp/floatuntitf.c: Likewise.
6691 * soft-fp/gedf2.c: Likewise.
6692 * soft-fp/gesf2.c: Likewise.
6693 * soft-fp/getf2.c: Likewise.
6694 * soft-fp/ledf2.c: Likewise.
6695 * soft-fp/lesf2.c: Likewise.
6696 * soft-fp/letf2.c: Likewise.
6697 * soft-fp/muldf3.c: Likewise.
6698 * soft-fp/mulsf3.c: Likewise.
6699 * soft-fp/multf3.c: Likewise.
6700 * soft-fp/negdf2.c: Likewise.
6701 * soft-fp/negsf2.c: Likewise.
6702 * soft-fp/negtf2.c: Likewise.
6703 * soft-fp/op-1.h: Likewise.
6704 * soft-fp/op-2.h: Likewise.
6705 * soft-fp/op-4.h: Likewise.
6706 * soft-fp/op-8.h: Likewise.
6707 * soft-fp/op-common.h: Likewise.
6708 * soft-fp/quad.h: Likewise.
6709 * soft-fp/single.h: Likewise.
6710 * soft-fp/soft-fp.h: Likewise.
6711 * soft-fp/subdf3.c: Likewise.
6712 * soft-fp/subsf3.c: Likewise.
6713 * soft-fp/subtf3.c: Likewise.
6714 * soft-fp/truncdfsf2.c: Likewise.
6715 * soft-fp/trunctfdf2.c: Likewise.
6716 * soft-fp/trunctfsf2.c: Likewise.
6717 * soft-fp/trunctfxf2.c: Likewise.
6718 * soft-fp/unorddf2.c: Likewise.
6719 * soft-fp/unordsf2.c: Likewise.
6720 * soft-fp/unordtf2.c: Likewise.
6721
6722 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
6723
6724 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6725 (_FP_MUL_MEAT_D): Ditto.
6726 (_FP_DIV_MEAT_S): Ditto.
6727 (_FP_DIV_MEAT_D): Ditto.
6728 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6729 t-softfp-sfdf and t-softfp to tmake_file.
6730
6731 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
6732
6733 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6734 * config/i386/crtprec.c: Ditto.
6735
6736 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6737 Shiva Chen <shiva0217@gmail.com>
6738
6739 * config.host (nds32*-elf*): Add nds32 target.
6740 * config/nds32 : New directory and files.
6741
6742 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
6743
6744 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6745 * config.host (cpu_type) <Setting default>: Add entry for
6746 crisv32-*-*.
6747 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6748 <crisv32-*-linux*>: Adjust.
6749 * longlong.h: Wrap the whole CRIS section in a single
6750 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6751 and sub_ddmmss.
6752 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6753 defined.
6754 [__CRIS__] (__umulsidi3): Define.
6755 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6756 * config/cris/sfp-machine.h: New file.
6757 * config/cris/umulsidi3.S: New file.
6758 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6759 * config/cris/arit.c (SIGNMULT): New macro.
6760 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6761 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6762 saving 3 out of originally 33 cycles from the fastest
6763 path, 3 out of 54 from the medium path and one from the longest
6764 path. Improve comments.
6765
6766 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6767
6768 * sync.c: Remove static aliases and define each function directly
6769 under its real name.
6770
6771 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
6772
6773 * config.host (hppa*64*-*-linux*): Define extra_parts.
6774 (hppa*-*-linux*): Likewise.
6775
6776 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6777
6778 * config/arc/crtgend.S: Add 2013 to Copyright years.
6779 * config/arc/gmon/atomic.h: Likewise.
6780 * config/arc/gmon/auxreg.h: Likewise.
6781 * config/arc/gmon/sys/gmon_out.h: Likewise.
6782 * config/arc/gmon/sys/gmon.h: Likewise.
6783 * config/arc/gmon/prof-freq.c: Likewise.
6784 * config/arc/gmon/mcount.c: Likewise.
6785 * config/arc/gmon/prof-freq-stub.S: Likewise.
6786 * config/arc/gmon/gmon.c: Likewise.
6787 * config/arc/gmon/machine-gmon.h: Likewise.
6788 * config/arc/gmon/profil.S: Likewise.
6789 * config/arc/gmon/dcache_linesz.S: Likewise.
6790 * config/arc/crtg.S: Likewise.
6791 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6792 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6793 * config/arc/ieee-754/adddf3.S: Likewise.
6794 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6795 * config/arc/ieee-754/fixsfsi.S: Likewise.
6796 * config/arc/ieee-754/gtsf2.S: Likewise.
6797 * config/arc/ieee-754/floatsisf.S: Likewise.
6798 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6799 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6800 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6801 * config/arc/ieee-754/fixdfsi.S: Likewise.
6802 * config/arc/ieee-754/addsf3.S: Likewise.
6803 * config/arc/ieee-754/gesf2.S: Likewise.
6804 * config/arc/ieee-754/floatsidf.S: Likewise.
6805 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6806 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6807 * config/arc/ieee-754/gtdf2.S: Likewise.
6808 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6809 * config/arc/ieee-754/uneqdf2.S: Likewise.
6810 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6811 * config/arc/ieee-754/uneqsf2.S: Likewise.
6812 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6813 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6814 * config/arc/ieee-754/eqdf2.S: Likewise.
6815 * config/arc/ieee-754/ordsf2.S: Likewise.
6816 * config/arc/ieee-754/divsf3.S: Likewise.
6817 * config/arc/ieee-754/divdf3.S: Likewise.
6818 * config/arc/ieee-754/floatunsidf.S: Likewise.
6819 * config/arc/ieee-754/orddf2.S: Likewise.
6820 * config/arc/ieee-754/eqsf2.S: Likewise.
6821 * config/arc/ieee-754/gedf2.S: Likewise.
6822 * config/arc/crtn.S: Likewise.
6823 * config/arc/crti.S: Likewise.
6824 * config/arc/t-arc700-uClibc: Likewise.
6825 * config/arc/asm.h: Likewise.
6826 * config/arc/libgcc-excl.ver: Likewise.
6827 * config/arc/t-arc-newlib: Likewise.
6828 * config/arc/divtab-arc700.c: Likewise.
6829 * config/arc/initfini.c: Likewise.
6830 * config/arc/fp-hack.h: Likewise.
6831
6832 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6833 Diego Novillo <dnovillo@google.com>
6834
6835 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6836 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6837 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6838 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6839
6840 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6841 Brendan Kehoe <brendan@zen.org>
6842 Simon Cook <simon.cook@embecosm.com>
6843
6844 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6845 * config/arc: New directory.
6846 * longlong.h [__arc__] (umul_ppmm): Remove.
6847 [__arc__] (__umulsidi3): Define.
6848 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6849 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6850
6851 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6852
6853 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6854 CreateSemaphoreA.
6855 * config/i386/gthr-win32.h: Likewise.
6856
6857 2013-09-16 DJ Delorie <dj@redhat.com>
6858
6859 * config/rl78/vregs.h: Add G10 register definitions.
6860 * config/rl78/lib2mul.c: Enable for RL78/G10.
6861 * config/rl78/lib2div.c: Likewise.
6862 * config/rl78/lshrsi3.S: Use vregs.h.
6863 * config/rl78/cmpsi2.S: Likewise.
6864 * config/rl78/trampoline.S: Likewise.
6865 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6866
6867 2013-09-14 DJ Delorie <dj@redhat.com>
6868 Nick Clifton <nickc@redhat.com>
6869
6870 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6871 * config/rl78/vregs.h: New.
6872 * config/rl78/signbit.S: New file. Implements signbit function.
6873 * config/rl78/divmodsi.S: New.
6874 * config/rl78/divmodhi.S: New.
6875 * config/rl78/divmodqi.S: New.
6876 * config/rl78/t-rl78: Build them here...
6877 * config/rl78/lib2div.c: ...but not here.
6878
6879 2013-09-12 DJ Delorie <dj@redhat.com>
6880
6881 * config.host (msp*-*-elf): New.
6882 * config/msp430/: New port.
6883
6884 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6885
6886 PR gcov-profile/58127
6887 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6888 __thread var for emulated TLS.
6889 (__gcov_indirect_call_counters): Likewise.
6890
6891 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6892 Catherine Moore <clm@codesourcery.com>
6893 Richard Sandiford <rdsandiford@googlemail.com>
6894
6895 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6896 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6897 (CALL_STUB_NO_RET): Likewise.
6898 (CALL_STUB_RET): Likewise.
6899 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6900 __mips16_ret call/return stub symbols.
6901 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6902 to tmake_file.
6903
6904 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6905
6906 * config.host <mips*-*-linux*>: Remove a stray comment.
6907
6908 2013-08-10 Jan Hubicka <jh@suse.cz>
6909
6910 Work around binutils PR14342
6911 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6912 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6913 (L_gcov_indirect_call_profiler_v2): New.
6914
6915 2013-08-06 Jan Hubicka <jh@suse.cz>
6916
6917 * libgcov.c (__gcov_indirect_call_callee,
6918 __gcov_indirect_call_counters): New global vars.
6919 (__gcov_indirect_call_profiler): replace by ...
6920 (__gcov_indirect_call_profiler_v2) ... this one.
6921
6922 2013-08-06 Caroline Tice <cmtice@google.com>
6923
6924 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6925 vtv_start_preinit.o and vtv_end_preinit.o.
6926 * configure.ac: Add code to check/set enable_vtable_verify.
6927 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6928 true.
6929 * vtv_start_preinit.c: New file.
6930 * vtv_end_preinit.c: New file.
6931 * vtv_start.c: New file.
6932 * vtv_end.c: New file.
6933 * configure: Regenerated.
6934
6935 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6936
6937 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6938 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6939 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6940 GPL-3.0-with-GCC-exception.
6941
6942 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6943
6944 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6945 ISA and up.
6946
6947 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6948
6949 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6950 mapping for FPRs when creating the fallback framestate.
6951
6952 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6953
6954 PR target/57516
6955 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6956 (__round_s2_const, __round_u2_const)
6957 (__round_s4_const, __round_u4_const, __round_x8):
6958 Saturate result if addition result cannot be represented.
6959
6960 2013-07-15 Matthias Klose <doko@ubuntu.com>
6961
6962 * libgcc2.c: Don't include <limits.h>.
6963
6964 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6965
6966 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6967
6968 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6969
6970 PR target/29776
6971 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6972
6973 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6974
6975 PR middle-end/36041
6976 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6977 Define.
6978 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6979 instead of table lookups.
6980 (__popcountDI2): Likewise.
6981
6982 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6983
6984 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6985 correctly.
6986
6987 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6988
6989 PR other/53317
6990 * soft-fp/adddf3.c: Update from glibc.
6991 * soft-fp/addsf3.c: Likewise.
6992 * soft-fp/addtf3.c: Likewise.
6993 * soft-fp/divdf3.c: Likewise.
6994 * soft-fp/divsf3.c: Likewise.
6995 * soft-fp/divtf3.c: Likewise.
6996 * soft-fp/double.h: Likewise.
6997 * soft-fp/eqdf2.c: Likewise.
6998 * soft-fp/eqsf2.c: Likewise.
6999 * soft-fp/eqtf2.c: Likewise.
7000 * soft-fp/extenddftf2.c: Likewise.
7001 * soft-fp/extended.h: Likewise.
7002 * soft-fp/extendsfdf2.c: Likewise.
7003 * soft-fp/extendsftf2.c: Likewise.
7004 * soft-fp/fixdfdi.c: Likewise.
7005 * soft-fp/fixdfsi.c: Likewise.
7006 * soft-fp/fixsfdi.c: Likewise.
7007 * soft-fp/fixsfsi.c: Likewise.
7008 * soft-fp/fixtfdi.c: Likewise.
7009 * soft-fp/fixtfsi.c: Likewise.
7010 * soft-fp/fixunsdfdi.c: Likewise.
7011 * soft-fp/fixunsdfsi.c: Likewise.
7012 * soft-fp/fixunssfdi.c: Likewise.
7013 * soft-fp/fixunssfsi.c: Likewise.
7014 * soft-fp/fixunstfdi.c: Likewise.
7015 * soft-fp/fixunstfsi.c: Likewise.
7016 * soft-fp/floatdidf.c: Likewise.
7017 * soft-fp/floatdisf.c: Likewise.
7018 * soft-fp/floatditf.c: Likewise.
7019 * soft-fp/floatsidf.c: Likewise.
7020 * soft-fp/floatsisf.c: Likewise.
7021 * soft-fp/floatsitf.c: Likewise.
7022 * soft-fp/floatundidf.c: Likewise.
7023 * soft-fp/floatundisf.c: Likewise.
7024 * soft-fp/floatunditf.c: Likewise.
7025 * soft-fp/floatunsidf.c: Likewise.
7026 * soft-fp/floatunsisf.c: Likewise.
7027 * soft-fp/floatunsitf.c: Likewise.
7028 * soft-fp/gedf2.c: Likewise.
7029 * soft-fp/gesf2.c: Likewise.
7030 * soft-fp/getf2.c: Likewise.
7031 * soft-fp/ledf2.c: Likewise.
7032 * soft-fp/lesf2.c: Likewise.
7033 * soft-fp/letf2.c: Likewise.
7034 * soft-fp/muldf3.c: Likewise.
7035 * soft-fp/mulsf3.c: Likewise.
7036 * soft-fp/multf3.c: Likewise.
7037 * soft-fp/negdf2.c: Likewise.
7038 * soft-fp/negsf2.c: Likewise.
7039 * soft-fp/negtf2.c: Likewise.
7040 * soft-fp/op-1.h: Likewise.
7041 * soft-fp/op-2.h: Likewise.
7042 * soft-fp/op-4.h: Likewise.
7043 * soft-fp/op-8.h: Likewise.
7044 * soft-fp/op-common.h: Likewise.
7045 * soft-fp/quad.h: Likewise.
7046 * soft-fp/single.h: Likewise.
7047 * soft-fp/soft-fp.h: Likewise.
7048 * soft-fp/subdf3.c: Likewise.
7049 * soft-fp/subsf3.c: Likewise.
7050 * soft-fp/subtf3.c: Likewise.
7051 * soft-fp/truncdfsf2.c: Likewise.
7052 * soft-fp/trunctfdf2.c: Likewise.
7053 * soft-fp/trunctfsf2.c: Likewise.
7054 * soft-fp/unorddf2.c: Likewise.
7055 * soft-fp/unordsf2.c: Likewise.
7056 * soft-fp/unordtf2.c: Likewise.
7057 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7058 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7059 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7060 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7061 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7062 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7063 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7064 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7065 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7066 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7067 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7068 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7069
7070 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7071
7072 * config/mips/lib2funcs.c: New file.
7073 * config/mips/t-mips (LIB2ADD_ST): Add it.
7074
7075 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7076
7077 PR target/6526
7078 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7079 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7080
7081 2013-06-08 Walter Lee <walt@tilera.com>
7082
7083 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7084 Replace int64_t with long long. Add __extension__ where
7085 appropriate.
7086 * config/tilepro/atomic.c: Include config.h.
7087
7088 2013-06-06 Douglas B Rupp <rupp@adacore.com>
7089
7090 * config.host (arm-wrs-vxworks): Configure with other soft float.
7091
7092 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7093
7094 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7095 (mips64r5900el-*-elf*): New configurations.
7096
7097 2013-06-04 Alan Modra <amodra@gmail.com>
7098
7099 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7100
7101 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7102
7103 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7104
7105 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7106
7107 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7108 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7109 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7110
7111 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7112
7113 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7114 (powerpc-wrs-vxworks): Likewise.
7115
7116 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7117
7118 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7119 signal frames as well.
7120 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7121 STACK_BIAS to the CFA offset.
7122
7123 2013-05-17 Richard Henderson <rth@redhat.com>
7124
7125 PR target/49146
7126 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7127 (execute_cfa_program): Use it when storing to fs->regs.
7128
7129 2013-05-08 Kai Tietz <ktietz@redhat.com>
7130
7131 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7132 (__deregister_frame_info): Likewise.
7133
7134 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7135
7136 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7137 NaN's payload.
7138
7139 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7140
7141 2013-04-25 Alan Modra <amodra@gmail.com>
7142
7143 * config.host: Match little-endian powerpc-linux.
7144
7145 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7146
7147 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7148 as 'unsigned long long' instead of 'unsigned long'.
7149 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7150 'signed long'.
7151
7152 2013-04-10 Julian Brown <julian@codesourcery.com>
7153
7154 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7155 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7156 unsigned char/unsigned short.
7157 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7158
7159 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7160
7161 PR other/55274
7162 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7163
7164 2013-04-04 Meador Inge <meadori@codesourcery.com>
7165
7166 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7167 computing the location of the link register.
7168 (aeabi_uldivmod): Ditto.
7169
7170 2013-03-27 Kai Tietz <ktietz@redhat.com>
7171
7172 * config.host: Add support for cygwin x64 target.
7173 * configure: Regenerated.
7174
7175 2013-03-26 Walter Lee <walt@tilera.com>
7176
7177 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7178 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7179
7180 2013-03-25 Kai Tietz <ktietz@redhat.com>
7181
7182 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7183
7184 2013-03-20 Robert Mason <rbmj@verizon.net>
7185
7186 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7187 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7188 (__gthread_leave_tsd_dtor_context): Add prototypes.
7189 (tls_delete_hook): Update.
7190
7191 2013-03-20 Catherine Moore <clm@codesourcery.com>
7192 Joseph Myers <joseph@codesourcery.com>
7193 Chao-ying Fu <fu@mips.com>
7194
7195 * config/mips/mips16.S: Don't build for microMIPS.
7196 * config/mips/linux-unwind.h: Handle microMIPS frame.
7197 * config/mips/crtn.S (fini, init): New labels.
7198
7199 2013-03-14 Jakub Jelinek <jakub@redhat.com>
7200
7201 PR tree-optimization/53265
7202 * unwind-dw2.c (execute_cfa_program): Avoid
7203 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7204 on targets with DWARF_FRAME_REGISTERS < 32.
7205
7206 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7207
7208 PR target/49880
7209 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7210 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7211
7212 2013-03-07 Sriraman Tallam <tmsriram@google.com>
7213
7214 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7215 sandybridge processors.
7216
7217 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7218
7219 PR target/56529
7220 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7221 inclusion list.
7222
7223 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7224
7225 * config/microblaze/crti.S: Setup stack protection at entry
7226
7227 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
7228
7229 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7230 (__rotldi3): Shift bytewise if applicable.
7231
7232 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7233
7234 * config/aarch64/sync-cache.c
7235 (__aarch64_sync_cache_range): Silence warnings.
7236
7237 2013-02-25 Catherine Moore <clm@codesourcery.com>
7238
7239 Revert:
7240 2013-02-24 Catherine Moore <clm@codesourcery.com>
7241 Joseph Myers <joseph@codesourcery.com>
7242 Chao-ying Fu <fu@mips.com>
7243
7244 * config/mips/mips16.S: Don't build for microMIPS.
7245 * config/mips/linux-unwind.h: Handle microMIPS frame.
7246 * config/mips/crtn.S (fini, init): New labels.
7247
7248 2013-02-24 Catherine Moore <clm@codesourcery.com>
7249 Joseph Myers <joseph@codesourcery.com>
7250 Chao-ying Fu <fu@mips.com>
7251
7252 * config/mips/mips16.S: Don't build for microMIPS.
7253 * config/mips/linux-unwind.h: Handle microMIPS frame.
7254 * config/mips/crtn.S (fini, init): New labels.
7255
7256 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7257 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7258 as dividend.
7259
7260 2013-02-16 Alan Modra <amodra@gmail.com>
7261
7262 PR target/55431
7263 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7264 (ppc_fallback_frame_state): Always set up save locations for fp
7265 and altivec. Don't bother with non-callee-saved regs, r0-r13
7266 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7267
7268 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
7269
7270 PR target/54222
7271 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7272 _ssmulHA, _ssmulSA.
7273 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7274 _ssmulha3, _usmulusa3, _ssmulsa3.
7275 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7276 (__muldi3): XCALL __muldi3_6 instead of rcall.
7277 (__umulsidi3, __mulsidi3): New functions.
7278 (do_prologue_saves, do_epilogue_restores): New .macros.
7279 (__divdi3_moddi3): Use them.
7280 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7281 (__usmulusa3, __ssmulsa3): New functions.
7282
7283 2013-02-11 Iain Sandoe <iain@codesourcery.com>
7284 Jack Howarth <howarth@bromo.med.uc.edu>
7285 Patrick Marlier <patrick.marlier@gmail.com>
7286
7287 PR libitm/55693
7288 * config/darwin-crt-tm.c: Remove dummy functions hack.
7289
7290 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
7291
7292 PR target/54222
7293 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7294 * config/avr/lib2-object.mk: New iterator to build objects from it.
7295 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7296 lib2funcs.c.
7297 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7298 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7299 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7300 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7301 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7302 * config/avr/lib1funcs-fixed.S: Implement them.
7303
7304 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7305
7306 Update copyright years.
7307
7308 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
7309
7310 PR target/54601
7311 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7312 Add crtcxa to extra_parts.
7313 * config/rs6000/exit.h: New file.
7314 * config/rs6000/cxa_atexit.c: New file.
7315 * config/rs6000/cxa_finalize.c: New file.
7316 * config/rs6000/crtcxa.c: New file.
7317 * config/rs6000/t-aix-cxa: New file.
7318 * config/rs6000/libgcc-aix-cxa.ver: New file.
7319
7320 2013-01-31 Nick Clifton <nickc@redhat.com>
7321
7322 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7323 variant.
7324
7325 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
7326
7327 PR target/54222
7328 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7329 _mulQQ, _mulHQ, _mulHA, _mulSA,
7330 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7331 _divQQ, _divHQ, _divHA, _divSA,
7332 _divUQQ, _divUHQ, _divUHA, _divUSA.
7333
7334 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
7335
7336 * config.host(microblaze*-linux*): tmake_file: Remove
7337 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7338 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7339 to exclude functions from being built with libgcc.c and use
7340 the microblaze assembly.
7341
7342 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7343
7344 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7345 extra_parts.
7346
7347 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7348
7349 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7350 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7351 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7352 alignment operation.
7353
7354 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7355
7356 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7357 loop start address for cache clearing.
7358
7359 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7360
7361 * config/avr/lib1funcs.S: Remove trailing blanks.
7362 * config/avr/lib1funcs-fixed.S: Ditto.
7363
7364 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7365
7366 * config/avr/avr-lib.h: Add GPL copyright notice.
7367
7368 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7369
7370 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7371 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7372 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7373 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7374
7375 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
7376
7377 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7378 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7379
7380 2013-01-04 Nick Clifton <nickc@redhat.com>
7381
7382 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7383 the CALLT instruction is supported.
7384
7385 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7386
7387 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7388 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7389
7390 2012-12-13 John Tytgat <John@bass-software.com>
7391
7392 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7393 is 25.
7394
7395 2012-12-12 Jakub Jelinek <jakub@redhat.com>
7396
7397 PR libgcc/55451
7398 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7399 undefined signed overflows.
7400
7401 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
7402
7403 PR target/55344
7404 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7405
7406 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
7407
7408 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7409 (FP_TRAPPING_EXCEPTIONS): Define.
7410 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7411 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7412
7413 2012-12-04 Richard Henderson <rth@redhat.com>
7414
7415 PR bootstrap/55571
7416 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7417
7418 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7419
7420 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7421 (FP_EX_SHIFT): Define.
7422 (FP_TRAPPING_EXCEPTIONS): Define.
7423
7424 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7425
7426 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7427 (FP_ROUNDMODE): Use FP_RND_MASK.
7428 * config/aarch64/sfp-exceptions.c: New.
7429 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7430 Use __sfp_handle_exceptions.
7431
7432 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
7433
7434 * config.host: (arm*-*-freebsd*): Remove.
7435 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7436 (arm*-*-elf*): Remove.
7437 (arm*-*-wince-pe*): Remove.
7438 * arm/unwind-arm.c (struct fpa_reg): Delete.
7439 (struct fpa_regs): Delete.
7440 (phase1_vrs): Remove fpa element.
7441 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7442 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7443 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7444 * ieee754-sf.S (floatundisf): Remove FPA support.
7445 (floatdisf): Likewise.
7446 * ieee75f-df.S (floatundidf): Likewise.
7447 (floatdidf): Likewise.
7448
7449 2012-11-29 Kai Tietz <ktietz@redhat.com>
7450
7451 PR target/55445
7452 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7453 * unwind-generic.h: Likewise.
7454 * unwind-seh.c: Likewise.
7455
7456 2012-11-28 Richard Henderson <rth@redhat.com>
7457
7458 PR libgcc/48076
7459 * emutls.c (__emutls_get_address): Avoid race condition between
7460 obj->loc.offset read and emutls_key initialization.
7461
7462 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
7463
7464 Adjust decimal point of signed accum mode to GCC default.
7465
7466 PR target/54222
7467 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7468 _divqq_helper.
7469 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7470 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7471 (__mulha3, __mulsa3)
7472 (__divqq3, __divha3, __divsa3): Adjust to new position of
7473 decimal point of signed accum types.
7474
7475 (__mulusa3_round): New function.
7476 (__mulusa3): Use it.
7477 (__divqq_helper): New function.
7478 (__udivuqq3): Use it.
7479
7480 2012-11-20 Jakub Jelinek <jakub@redhat.com>
7481
7482 PR bootstrap/55370
7483 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7484
7485 2012-11-18 Teresa Johnson <tejohnson@google.com>
7486
7487 PR bootstrap/55051
7488 * libgcov.c (gcov_exit): Remove merged program summary
7489 comparison unless !GCOV_LOCKED.
7490
7491 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7492
7493 * soft-fp: Updated from glibc upstream.
7494
7495 2012-11-06 Ian Lance Taylor <iant@google.com>
7496
7497 * generic-morestack.c (__generic_morestack): Align the returned
7498 stack pointer to a 32 byte boundary.
7499 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7500 increment the return address until we have decided that we don't
7501 have a varargs function.
7502 (__morestack) [32-bit]: Align stack correctly when calling C
7503 functions.
7504 (__morestack) [64-bit]: Likewise.
7505
7506 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7507
7508 * configure: Regenerate.
7509
7510 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7511
7512 PR target/55175
7513 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7514 * config/i386/sfp-machine.h: Guard exception handling
7515 code with _SOFT_FLOAT.
7516 * config/i386/32/sfp-machine.h: Guard rounding handling
7517 code with _SOFT_FLOAT.
7518 * config/i386/64/sfp-machine.h: Ditto.
7519
7520 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7521
7522 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7523 as extra_parts.
7524
7525 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7526
7527 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7528 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7529 when appropriate. Correct structure element types.
7530 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7531 -minline-all-stringops from compile flags.
7532
7533 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7534
7535 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7536
7537 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7538
7539 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7540
7541 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7542
7543 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7544 tmake_file.
7545
7546 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7547 Jim MacArthur <jim.macarthur@arm.com>
7548 Marcus Shawcroft <marcus.shawcroft@arm.com>
7549 Nigel Stephens <nigel.stephens@arm.com>
7550 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7551 Richard Earnshaw <rearnsha@arm.com>
7552 Sofiane Naci <sofiane.naci@arm.com>
7553 Stephen Thomas <stephen.thomas@arm.com>
7554 Tejas Belagod <tejas.belagod@arm.com>
7555 Yufeng Zhang <yufeng.zhang@arm.com>
7556
7557 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7558 * config/aarch64/crti.S: New file.
7559 * config/aarch64/crtn.S: New file.
7560 * config/aarch64/linux-unwind.h: New file.
7561 * config/aarch64/sfp-machine.h: New file.
7562 * config/aarch64/sync-cache.c: New file.
7563 * config/aarch64/t-aarch64: New file.
7564 * config/aarch64/t-softfp: New file.
7565
7566 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7567
7568 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7569 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7570 no-longer-needed LDBU insns.
7571
7572 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7573
7574 * config.host
7575 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7576 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7577
7578 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7579
7580 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7581
7582 2012-10-15 Matthias Klose <doko@ubuntu.com>
7583
7584 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7585
7586 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7587
7588 * configure: Regenerate.
7589 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7590
7591 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7592
7593 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7594 instructions for 64bit targets only.
7595
7596 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7597
7598 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7599 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7600 * config/i386/32/sfp-machine.h: ... here.
7601 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7602 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7603 New defines.
7604
7605 2012-10-07 Matthias Klose <doko@ubuntu.com>
7606
7607 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7608 as unused.
7609 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7610
7611 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7612
7613 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7614 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7615 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7616 (ElfW): Likewise.
7617
7618 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7619
7620 PR other/53889
7621 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7622 Fix parameter names.
7623
7624 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7625
7626 PR target/33135
7627 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7628 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7629 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7630
7631 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7632
7633 PR target/50457
7634 * config/sh/linux-atomic.S: Delete.
7635 * config/sh/linux-atomic.c: New.
7636 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7637 linux-atomic.c. Add cflags to disable warnings.
7638
7639 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7640
7641 PR other/53889
7642 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7643 function.
7644 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7645 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7646 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7647 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7648 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7649 Likewise.
7650 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7651 Likewise.
7652 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7653 Likewise.
7654 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7655 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7656
7657 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
7658
7659 * config.host (hppa-*-openbsd*): New target.
7660 * config/pa/t-openbsd: New file.
7661
7662 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
7663
7664 PR target/54222
7665 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7666 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7667 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7668 (__divsa3): Use __negsi2 to negate r_quoL.
7669 * config/avr/lib1funcs.S (FALIAS): New macro.
7670 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7671 (__negsi2): ...this new function.
7672 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7673 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7674 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7675 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7676 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7677 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7678
7679 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7680
7681 PR target/54089
7682 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7683 (lshrsi3): Reimplement as lshrsi3_r0.
7684
7685 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7686
7687 PR target/46191
7688 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7689 of libgcc.a.
7690
7691 2012-09-07 Teresa Johnson <tejohnson@google.com>
7692
7693 PR gcov-profile/54487
7694 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7695 differences.
7696
7697 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
7698
7699 PR target/54461
7700 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7701 not configured --with-avrlibc=no.
7702 * config/avr/t-avrlibc: New file.
7703 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7704 (DPBIT_FUNCS): Ditto.
7705 (TPBIT_FUNCS): Ditto.
7706
7707 2012-09-04 Teresa Johnson <tejohnson@google.com>
7708
7709 * libgcov.c (struct gcov_summary_buffer): New structure.
7710 (gcov_histogram_insert): New function.
7711 (gcov_compute_histogram): Ditto.
7712 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7713 histograms during summary merging.
7714
7715 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7716
7717 * config.host (x86_64-*-openbsd*): New target.
7718
7719 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7720
7721 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7722 attribute.
7723
7724 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7725
7726 PR target/54222
7727 * config/avr/t-avr (conv_X): Rename to func_X.
7728
7729 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7730
7731 PR target/54222
7732 * config/avr/lib1funcs-fixed.S: New file.
7733 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7734 after they are used.
7735 (neg2, neg4): New macros.
7736 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7737 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7738 (__umulhisi3): Speed up MUL variant if there is enough flash.
7739 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7740 avr-modes.def.
7741 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7742 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7743 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7744 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7745 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7746 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7747 (LIB2FUNCS_EXCLUDE): Add supported functions.
7748
7749 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
7750
7751 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7752 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7753 libgcc-s-objects.
7754 * fixed-obj.mk: Only expand dependency if $o is not in
7755 LIB2FUNCS_EXCLUDE.
7756
7757 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7758
7759 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7760
7761 2012-08-22 Joseph Myers <joseph@codesourcery.com>
7762
7763 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7764 depend on --enable-shared.
7765 ($(lib1asmfuncs-o)): Use %.vis files independent of
7766 --enable-shared.
7767 * static-object.mk ($(base)$(objext), $(base).vis)
7768 ($(base)_s$(objext)): Use same rules for visibility handling as in
7769 shared-object.mk.
7770
7771 2012-08-21 Ian Lance Taylor <iant@google.com>
7772
7773 * config/i386/morestack.S (__morestack_non_split): Increase amount
7774 of space allocated for non-split code stack.
7775
7776 2012-08-19 Joseph Myers <joseph@codesourcery.com>
7777
7778 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7779 even if inhibit_libc.
7780
7781 2012-08-17 Julian Brown <julian@codesourcery.com>
7782
7783 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7784 -fexceptions -fnon-call-exceptions if not defined.
7785 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7786 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7787
7788 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7789
7790 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7791 type.
7792
7793 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7794
7795 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7796 rs6000/t-slibgcc-aix.
7797
7798 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7799
7800 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7801
7802 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7803
7804 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7805
7806 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7807
7808 PR driver/54171
7809 * Makefile.in (version): Replace top_srcdir with srcdir.
7810
7811 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7812
7813 * Makefile.in (version): set to BASE-VER file from gcc directory.
7814
7815 2012-08-01 Nick Clifton <nickc@redhat.com>
7816
7817 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7818 Implements __clrsb for an HImode argument.
7819
7820 2012-07-31 Nick Clifton <nickc@redhat.com>
7821
7822 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7823 Implements __clrsb for an HImode argument.
7824 * config/stormy16/clrsbhi2.c: New file:
7825 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7826
7827 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7828
7829 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7830
7831 2012-07-19 Tristan Gingold <gingold@adacore.com>
7832 Richard Henderson <rth@redhat.com>
7833
7834 * unwind-seh.c: New file.
7835 * unwind-generic.h: Include windows.h for SEH.
7836 (_Unwind_Exception): Use 6 private fields for SEH.
7837 (_GCC_specific_handler): Declare.
7838 * unwind-c.c (__gcc_personality_seh0): New function.
7839 Adjust for SEH.
7840 * config/i386/libgcc-cygming.ver: New file.
7841 * config/i386/t-seh-eh: New file.
7842 * config.host (x86_64-*-mingw*): Default to seh.
7843
7844 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7845
7846 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7847
7848 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7849
7850 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7851 __builtin_expect when checking for exceptions.
7852 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7853
7854 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7855
7856 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7857 function declaration.
7858 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7859 (FP_RND_MASK): New.
7860 * config/ia64/sfp-exceptions.c: New.
7861 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7862
7863 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7864
7865 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7866 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7867 * config/i386/64/sfp-machine: ... (delete here) ...
7868 * config/i386/sfp-machine.h: ... to here.
7869 (FP_EX_MASK): Remove.
7870 (FP_RND_MASK): New.
7871 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7872
7873 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7874
7875 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7876 * config/i386/libgcc-sol2.ver: Ditto.
7877 * config/i386/libgcc-glibc.ver: Ditto.
7878
7879 2012-06-11 Roland McGrath <mcgrathr@google.com>
7880
7881 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7882 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7883 pthread_cancel.
7884
7885 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7886
7887 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7888 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7889 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7890 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7891 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7892 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7893 * config/i386/64/sfp-machine: ... (delete here) ...
7894 * config/i386/sfp-machine.h: ... to here.
7895 (FP_EX_MASK): New.
7896 (__sfp_handle_exceptions): New function declaration.
7897 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7898 * config/i386/sfp-exceptions.c: New.
7899 * config/i386/t-softfp: New.
7900 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7901 i386/t-softfp to tmake_file.
7902
7903 2012-06-03 David S. Miller <davem@davemloft.net>
7904
7905 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7906 change.
7907
7908 2012-05-31 David S. Miller <davem@davemloft.net>
7909
7910 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7911 multiply and divide instructions on 32-bit when V9.
7912 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7913
7914 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7915
7916 * config/arm/ieee754-df.S: Fix typos.
7917 * config/arm/ieee754-sf.S: Fix typos.
7918 * config/c6x/libunwind.S: Fix typos.
7919 * config/epiphany/udivsi3-float.c: Fix typos.
7920 * config/microblaze/muldi3_hard.S: Fix typos.
7921 * config/picochip/adddi3.S: Fix typos.
7922 * config/picochip/ashlsi3.S: Fix typos.
7923 * config/picochip/ashrsi3.S: Fix typos.
7924 * config/picochip/clzsi2.S: Fix typos.
7925 * config/picochip/cmpsi2.S: Fix typos.
7926 * config/picochip/divmod15.S: Fix typos.
7927 * config/picochip/divmodhi4.S: Fix typos.
7928 * config/picochip/divmodsi4.S: Fix typos.
7929 * config/picochip/longjmp.S: Fix typos.
7930 * config/picochip/lshrsi3.S: Fix typos.
7931 * config/picochip/parityhi2.S: Fix typos.
7932 * config/picochip/popcounthi2.S: Fix typos.
7933 * config/picochip/setjmp.S: Fix typos.
7934 * config/picochip/subdi3.S: Fix typos.
7935 * config/picochip/ucmpsi2.S: Fix typos.
7936 * config/picochip/udivmodhi4.S: Fix typos.
7937 * config/picochip/udivmodsi4.S: Fix typos.
7938 * config/spu/divv2df3.c: Fix typos.
7939 * config/spu/mfc_multi_tag_release.c: Fix typos.
7940 * config/spu/mfc_tag_release.c: Fix typos.
7941 * configure.ac: Fix typos.
7942 * configure: Regenerate.
7943
7944 2012-05-25 Ian Lance Taylor <iant@google.com>
7945
7946 * config/i386/morestack.S (__morestack_non_split): Check whether
7947 caller is varargs and needs %bp to hold the stack frame on return.
7948
7949 2012-05-25 Olivier Hainque <hainque@adacore.com>
7950
7951 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7952 sequence in the non pic case on VxWorks.
7953
7954 2012-05-24 Olivier Hainque <hainque@adacore.com>
7955
7956 * Makefile.in: Move dependency on install-unwind_h from
7957 "install-leaf" to "install".
7958
7959 2012-05-24 Olivier Hainque <hainque@adacore.com>
7960
7961 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7962 Use a separate command for stamp removals.
7963
7964 2012-05-21 Andrew Pinski <apinski@cavium.com>
7965
7966 PR bootstrap/53183
7967 * configure.ac: Define the default includes to being none.
7968 * configure: Regenerate.
7969
7970 2012-05-16 Olivier Hainque <hainque@adacore.com>
7971
7972 * Makefile.in (install-unwind_h): Rename into ...
7973 (install-unwind_h-forbuild): New target.
7974 (all): Use it instead of the former install-unwind_h.
7975 (install-unwind_h): Reinstate, copy to user install destination
7976 for include files, not to the internal gcc object directory one.
7977 (install-leaf): Depend on it.
7978
7979 2012-05-15 Olivier Hainque <hainque@adacore.com>
7980
7981 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7982 register numbers. LR_REGNO replaces R_LR.
7983 (ucontext_for): New, helper for ...
7984 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7985 and 5.3 of ...
7986 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7987
7988 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7989
7990 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7991 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7992 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7993 i386/t-cpuinfo ...
7994 (i[34567]86-*-*, x86_64-*-*): ... here.
7995
7996 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7997 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7998
7999 * config/i386/i386-cpuinfo.c: Rename to ...
8000 * config/i386/cpuinfo.c: ... this.
8001 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8002
8003 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8004 (libgcc_cv_init_priority): New test.
8005 * configure: Regenerate.
8006 * config.in: New file.
8007 * Makefile.in (clean): Rename config.h to auto-target.h.
8008 (config.h): Likewise.
8009 (stamp-h): Likewise.
8010
8011 * config/i386/cpuinfo.c (auto-target.h): Include.
8012 (CONSTRUCTOR_PRIORITY): Define.
8013 (__cpu_indicator_init): Use it.
8014
8015 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8016
8017 * longlong.h: Use a URL instead of an FSF postal address.
8018 Replace spaces with tab.
8019
8020 2012-05-08 Teresa Johnson <tejohnson@google.com>
8021
8022 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8023 (__gcov_dump): Ditto.
8024 (gcov_dump_complete): New global variable.
8025 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8026 (__gcov_flush): Outline functionality now in gcov_clear.
8027 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8028
8029 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8030
8031 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8032 (mips*-*-linux*): Include mips/t-tpbit when long double is
8033 16 bytes long.
8034
8035 2012-04-25 Sriraman Tallam <tmsriram@google.com>
8036
8037 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8038 (get_available_features): New argument. Check for AVX2.
8039 (__cpu_indicator_init): Modify call to get_available_features.
8040
8041 2012-04-25 Alan Modra <amodra@gmail.com>
8042
8043 * config/rs6000/crtsavevr.S: New file.
8044 * config/rs6000/crtrestvr.S: New file.
8045 * config/rs6000/t-savresfgpr: Build the above.
8046 * config/rs6000/t-netbsd: Likewise.
8047
8048 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8049
8050 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8051
8052 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8053
8054 * libgcc/config/i386/i386-cpuinfo.c: New file.
8055 * libgcc/config/i386/t-cpuinfo: New file.
8056 * libgcc/config.host: Include t-cpuinfo.
8057 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8058
8059 2012-04-24 Chao-ying Fu <fu@mips.com>
8060
8061 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8062
8063 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8064
8065 struct siginfo vs. siginfo_t
8066
8067 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8068 siginfo_t instead of struct siginfo.
8069 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8070 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8071 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8072 (ia64_handle_unwabi): Likewise.
8073 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8074 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8075 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8076 (sh_fallback_frame_state): Likewise.
8077 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8078 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8079
8080 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8081
8082 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8083 system call number.
8084
8085 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8086
8087 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8088 if it hasn't been previously saved.
8089
8090 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8091
8092 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8093 only for glibc.
8094
8095 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
8096
8097 PR target/52737
8098 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8099 instead of __AVR_HAVE_8BIT_SP__.
8100
8101 2012-03-26 Tristan Gingold <gingold@adacore.com>
8102
8103 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8104 (unw_table_entry): Use unw_word instead of unsigned long.
8105 (_Unwind_FindTableEntry): Likewise.
8106 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8107 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8108 (_Unwind_FindTableEntry): Likewise.
8109 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8110 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8111 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8112 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8113 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8114 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8115 (uw_init_context_1, uw_install_context): Likewise.
8116 (unw_word): Move to unwind-ia64.h
8117
8118 2012-03-26 Tristan Gingold <gingold@adacore.com>
8119
8120 * config/vms/vms-ucrt0.c: Update copyright years.
8121 Add a sanity check.
8122 (___gcc_main_flags): Declare.
8123 (__main): Check flags to remap argv and exit code.
8124 * config.host (*-*-*vms*): Adjust extra_parts.
8125 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8126 (crt0.o): Add.
8127
8128 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
8129
8130 * arm/lib1funcs.asm (ctzsi2): New function.
8131 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8132 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8133 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8134 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8135 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8136 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8137
8138 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
8139
8140 * config.host: Add bits to support powerpc64-*-freebsd*.
8141 * config/rs6000/freebsd-unwind.h: New file.
8142 * config/rs6000/t-freebsd64: New file.
8143
8144 2012-03-20 Richard Guenther <rguenther@suse.de>
8145
8146 PR gcov-profile/52627
8147 * libgcov.c (init_mx): Fix mutex name.
8148
8149 2012-03-16 Tristan Gingold <gingold@adacore.com>
8150
8151 * config/ia64/vms-unwind.h: Remove ulong (and replace
8152 it by unw_reg where used). Define unw_reg with __int64.
8153
8154 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8155
8156 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8157 Solaris 8 handling.
8158 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8159 Solaris 8 handling.
8160 (sparc_is_sighandler): Likewise.
8161
8162 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8163
8164 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8165 <= saved reg size.
8166
8167 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8168
8169 * config/arm/crtn.S: Fix typo.
8170
8171 2012-03-13 Richard Guenther <rguenther@suse.de>
8172
8173 * libgcov.c: Remove stdio.h include and NULL un-define.
8174
8175 2012-03-13 Richard Guenther <rguenther@suse.de>
8176
8177 PR target/52569
8178 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8179
8180 2012-03-13 Richard Guenther <rguenther@suse.de>
8181
8182 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8183
8184 2012-03-13 Richard Guenther <rguenther@suse.de>
8185
8186 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8187 and __gthread_mutex_init_function definitions.
8188
8189 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8190
8191 * config.host (mips*-*-openbsd*): Remove.
8192
8193 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8194
8195 * config.host: Remove alpha*-dec-osf5.1* handling.
8196 * config/alpha/gthr-posix.c: Remove.
8197 * config/alpha/libgcc-osf5.ver: Remove.
8198 * config/alpha/osf5-unwind.h: Remove.
8199 * config/alpha/t-osf-pthread: Remove.
8200 * config/alpha/t-slibgcc-osf: Remove.
8201 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8202 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8203 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8204 * mkmap-flat.awk: Remove osf_export handling.
8205
8206 2012-03-12 Richard Guenther <rguenther@suse.de>
8207
8208 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8209 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8210 (__gthread_mutex_init_function): New function.
8211 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8212
8213 PR gcov/49484
8214 * libgcov.c: Include gthr.h.
8215 (__gcov_flush_mx): New global variable.
8216 (init_mx, init_mx_once): New functions.
8217 (__gcov_flush): Protect self with a mutex.
8218 (__gcov_fork): Re-initialize mutex after forking.
8219 * unwind-dw2-fde.c: Change condition under which to use
8220 __GTHREAD_MUTEX_INIT_FUNCTION.
8221
8222 2012-03-12 Tristan Gingold <gingold@adacore.com>
8223
8224 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8225 * config/ia64/t-vms: Likewise.
8226
8227 2012-03-11 Michael Hope <michael.hope@linaro.org>
8228
8229 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8230 for Thumb-2.
8231
8232 2012-03-07 Walter Lee <walt@tilera.com>
8233
8234 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8235 "arch_atomic_".
8236 (atomic_xor): Rename and move definition to
8237 config/tilepro/atomic.h.
8238 (atomic_nand): Ditto.
8239 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8240 "arch_atomic_".
8241 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8242 (arch_atomic_nand): Ditto.
8243
8244 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8245
8246 PR target/52507
8247 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8248
8249 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8250
8251 PR target/52505
8252 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8253 from RAM.
8254
8255 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8256
8257 PR target/52461
8258 PR target/52508
8259 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8260 if RAMPZ affects reading from RAM.
8261 (__tablejump_elpm__): Ditto.
8262 (.xload): Ditto.
8263 (__movmemx_hi): Ditto.
8264 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8265 (__do_global_dtors): Ditto.
8266 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8267 (__movmemx_hi): Ditto.
8268
8269 2012-03-05 Richard Henderson <rth@redhat.com>
8270
8271 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8272 [ARM] (count_trailing_zeros): Use the builtin.
8273
8274 2012-03-01 Kai Tietz <ktietz@redhat.com>
8275
8276 * soft-fp: Imported from glibc upstream.
8277
8278 2012-02-28 Kai Tietz <ktietz@redhat.com>
8279
8280 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8281 for mingw-targets as attribute gcc_struct.
8282
8283 2012-02-28 Ian Lance Taylor <iant@google.com>
8284
8285 * generic-morestack.c (__splitstack_releasecontext): Correct call
8286 to __morestack_release_segments.
8287
8288 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8289
8290 PR target/52390
8291 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8292 for __linux__ when removing signals from __morestack_fullmask.
8293
8294 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
8295
8296 PR target/52261
8297 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8298
8299 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8300
8301 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8302 instead of HAVE_INITFINI_ARRAY.
8303 * config/ia64/crtend.S: Likewise.
8304
8305 2012-02-20 Kai Tietz <ktietz@redhat.com>
8306
8307 PR libstdc++/52300
8308 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8309
8310 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8311 to w32-unwind.h header.
8312
8313 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8314
8315 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8316 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8317 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8318 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8319
8320 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8321
8322 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8323
8324 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8325
8326 PR libitm/52220
8327 * config/darwin-crt-tm.c: Correct typo.
8328
8329 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8330 Patrick Marlier <patrick.marlier@gmail.com>
8331
8332 PR libitm/52220
8333 * config/darwin-crt-tm.c: Generate dummy functions.
8334
8335 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8336 Patrick Marlier <patrick.marlier@gmail.com>
8337
8338 PR libitm/52042
8339 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8340 (__doTMRegistrations): Call it.
8341 (__doTMdeRegistrations): Likewise.
8342
8343 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
8344 Anatoly Sokolov <aesok@post.ru>
8345 Eric Weddington <eric.weddington@atmel.com>
8346
8347 PR target/52261
8348 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8349 (__epilogue_restores__): Ditto.
8350
8351 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8352
8353 PR target/51921
8354 PR target/52205
8355 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8356 Solaris 11 and slightly reformat.
8357 (sparc_is_sighandler): Likewise.
8358
8359 2012-02-14 Walter Lee <walt@tilera.com>
8360
8361 * config.host: Handle tilegx and tilepro.
8362 * config/tilegx/sfp-machine.h: New file.
8363 * config/tilegx/sfp-machine32.h: New file.
8364 * config/tilegx/sfp-machine64.h: New file.
8365 * config/tilegx/t-crtstuff: New file.
8366 * config/tilegx/t-softfp: New file.
8367 * config/tilegx/t-tilegx: New file.
8368 * config/tilepro/atomic.c: New file.
8369 * config/tilepro/atomic.h: New file.
8370 * config/tilepro/linux-unwind.h: New file.
8371 * config/tilepro/sfp-machine.h: New file.
8372 * config/tilepro/softdivide.c: New file.
8373 * config/tilepro/softmpy.S: New file.
8374 * config/tilepro/t-crtstuff: New file.
8375 * config/tilepro/t-tilepro: New file.
8376
8377 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8378
8379 PR libstdc++/51296
8380 PR libstdc++/51906
8381 * gthr-posix.h: Allow static initializer macros to be disabled.
8382 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8383
8384 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8385
8386 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8387 Add t-slibgcc-libgcc to tmake_file.
8388 * config/mips/libgcc-mips16.ver: Revert previous patch.
8389 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8390
8391 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8392 Jayant R Sonar <jayant.sonar@kpitcummins.com>
8393
8394 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8395 * config/cr16/crti.S: New file.
8396 * config/cr16/crtlibid.S: New file.
8397 * config/cr16/crtn.S: New file.
8398 * config/cr16/lib1funcs.S: New file.
8399 * config/cr16/t-cr16: New file.
8400 * config/cr16/t-crtlibid: New file.
8401 * config/cr16/unwind-dw2.h: New file.
8402 * config/cr16/unwind-cr16.c: New file.
8403 * config/cr16/divmodhi3.c: New file.
8404
8405 2012-01-25 Alan Modra <amodra@gmail.com>
8406
8407 * config/rs6000/t-linux64: Delete. Move..
8408 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8409 * config/rs6000/t-linux: ..and libgcc flags to here.
8410
8411 2012-01-22 Douglas B Rupp <rupp@gnat.com>
8412
8413 * config.host (i[34567]86-*-interix3*):
8414 Change triplet to i[34567]86-*-interix[3-9]*.
8415 * configure: Regenerate.
8416
8417 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8418 Richard Sandiford <rdsandiford@googlemail.com>
8419
8420 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8421 * config/mips/mips16.S (__mips16_rdhwr): New function.
8422 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8423
8424 2012-01-11 Nathan Sidwell <nathan@acm.org>
8425
8426 * libgcov.c (__gcov_init): Ignore objects with no functions.
8427
8428 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
8429
8430 PR target/49868
8431 Extend __pgmx semantics to linearize memory.
8432 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8433 * config/avr/lib1funcs.S (__xload_1): New function.
8434 (__movmemx_qi, __movmemx_hi): New functions.
8435 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8436 semantics.
8437
8438 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8439
8440 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8441 purported sigacthandler address isn't null before dereferencing it.
8442 (sparc_is_sighandler): Likewise.
8443
8444 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8445
8446 PR ada/41929
8447 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8448 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8449 (sparc_is_sighandler): Likewise.
8450 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8451
8452 2012-01-06 Tristan Gingold <gingold@adacore.com>
8453
8454 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8455 compatibility thunks...
8456 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8457 (crtbeginS.o, crtendS.o): ... and these to ...
8458 * config/ia64/t-ia64-elf: ... this new file.
8459 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8460 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8461
8462 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8463
8464 * configure: Regenerate.
8465 * config/s390/t-crtstuff: Remove -fPIC.
8466
8467 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8468
8469 PR bootstrap/51006
8470 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8471 for NetBSD.
8472
8473 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8474
8475 PR target/51345
8476 * config/avr/lib1funcs.S: Remove FIXME comments.
8477 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8478
8479 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8480
8481 Implement light-weight DImode support.
8482 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8483 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8484 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8485 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8486
8487 2011-12-30 Nathan Sidwell <nathan@acm.org>
8488
8489 * libgcov.c (gcov_crc32): Remove global var.
8490 (free_fn_data): New function.
8491 (buffer_fn_data): Pass in filename, more robust error recovery.
8492 (crc32_unsigned): New function.
8493 (gcov_exit): More robust detection of new program. More robust
8494 error recovery.
8495 (__gcov_init): Do not update program's crc here.
8496
8497 2011-12-21 Tristan Gingold <gingold@adacore.com>
8498
8499 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8500
8501 2011-12-21 Ian Lance Taylor <iant@google.com>
8502
8503 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8504
8505 2011-12-20 Ian Lance Taylor <iant@google.com>
8506
8507 * config/i386/morestack.S (__morestack_non_split): If there is
8508 enough stack space already, don't split. Ask for more stack space
8509 than we required.
8510
8511 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8512
8513 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8514 `sys/sdt.h'.
8515 (_Unwind_DebugHook): New function.
8516 (uw_restore_core_regs): New define.
8517 (unwind_phase2): Use uw_restore_core_regs instead of
8518 restore_core_regs.
8519 (unwind_phase2_forced): Likewise.
8520 (__gnu_Unwind_Resume): Likewise.
8521
8522 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8523
8524 * config/alpha/linux-unwind.h: Update copyright years.
8525 (MD_FROB_UPDATE_CONTEXT): New define.
8526 (alpha_frob_update_context): New function.
8527
8528 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8529
8530 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8531 tmake_file rather replacing it.
8532
8533 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8534
8535 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8536 function is not used for PPC64.
8537 (save_world): Amend comments. Update the VRsave mask to reflect the
8538 saved regs.
8539 (rest_world): Update comments, do not clobber r10, do not use r8.
8540 (eh_rest_world_r10): Amend comments, do not use r8.
8541 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8542 no longer used, move restore of CR and target address to the end of
8543 the routine.
8544
8545 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8546
8547 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8548 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8549
8550 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8551
8552 PR target/49313
8553 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8554 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8555
8556 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8557
8558 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8559
8560 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8561
8562 PR target/49313
8563 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8564 * config/avr/lib1funcs.S (__muldi3): New function.
8565
8566 2011-12-06 Andrew Pinski <apinski@cavium.com>
8567
8568 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8569 size of func_ptr.
8570 (__frame_dummy_init_array_entry): Likewise.
8571
8572 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8573
8574 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8575
8576 PR target/51345
8577 PR target/51002
8578 * config/avr/lib1funcs.S (__prologue_saves__,
8579 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8580 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8581
8582 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8583
8584 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8585
8586 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8587
8588 PR other/51272
8589 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8590 (_ITM_deregisterTMCloneTable): Likewise.
8591 (__register_frame_info): Fix unused warning.
8592 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8593 pthread_default_stacksize_np): Likewise.
8594 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8595
8596 2011-11-29 DJ Delorie <dj@redhat.com>
8597
8598 * config.host (rl78-*-elf): New case.
8599 * config/rl78: New directory for the Renesas RL78.
8600
8601 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8602
8603 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8604 formatting.
8605
8606 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8607
8608 PR other/51022
8609 * config/rs6000/t-savresfgpr: New file.
8610 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8611 $(srcdir)/config/rs6000/eabi.S.
8612 * config/rs6000/t-ppccomm-ldbl: Remove.
8613 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8614 tmake_file.
8615 (powerpc-*-eabispe*): Likewise.
8616 (powerpc-*-eabi*): Likewise.
8617 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8618 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8619 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8620 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8621 tmake_file.
8622 (powerpc-*-eabisim*): Likewise.
8623 (powerpc-*-elf*): Likewise.
8624 (powerpc-*-eabialtivec*): Likewise.
8625 (powerpc-xilinx-eabi*): Likewise.
8626 (powerpc-*-rtems*): Likewise.
8627 (powerpcle-*-elf*): Likewise.
8628 (powerpcle-*-eabisim*): Likewise.
8629 (powerpcle-*-eabi*): Likewise.
8630
8631 2011-11-27 Ian Lance Taylor <iant@google.com>
8632
8633 * generic-morestack.c (__splitstack_find): Check for NULL old
8634 stack value.
8635 (__splitstack_resetcontext): New function.
8636 (__splitstack_releasecontext): New function.
8637 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8638
8639 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8640
8641 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8642
8643 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8644
8645 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8646
8647 2011-11-26 Richard Henderson <rth@redhat.com>
8648
8649 * config/m68k/linux-atomic.c: New file.
8650 * config/m68k/t-linux: New file.
8651 * config.host (m68k-uclinux, m68k-linux): Use it.
8652
8653 2011-11-26 Richard Henderson <rth@redhat.com>
8654
8655 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8656 (__TMC_END__): Only declare if hidden is available; in the definition,
8657 if hidden is unavailable add a null record.
8658 (deregister_tm_clones, register_tm_clones): New.
8659 (__do_global_dtors_aux, frame_dummy): Use them.
8660 (__do_global_dtors, __do_global_ctors_1): Likewise.
8661
8662 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8663
8664 * config/darwin-crt-tm.c: New file.
8665 * config.host (darwin): Build crttms.o crttme.o to provide
8666 startup and shutdown for tm clones.
8667 * config/t-darwin (crttms.o): New build rule.
8668 (crttme.o): Likewise.
8669
8670 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
8671
8672 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8673 et al.
8674
8675 2011-11-21 Richard Henderson <rth@redhat.com>
8676
8677 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8678 (__TMC_LIST__, __TMC_END__): New.
8679 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8680 (__do_global_dtors): Likewise.
8681 (frame_dummy): Call _ITM_registerTMCloneTable.
8682 (__do_global_ctors_1): Likewise.
8683
8684 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8685
8686 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8687 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8688 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8689 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8690 * config/i386/t-darwin64: Remove.
8691 * config/sh/t-netbsd (LIB2ADD): Remove.
8692
8693 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
8694
8695 PR target/49313
8696 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8697 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8698 * config/avr/lib1funcs.S (wmov): New assembler macro.
8699 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8700 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8701 (__udivmod64): New function.
8702 (__negdi2): New function.
8703
8704 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8705
8706 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8707 *-*-freebsd*aout*): Remove.
8708
8709 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8710
8711 * static-object.mk (c_flags-$o): Save c_flags.
8712 ($(base)$(objext)): Use it.
8713
8714 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8715
8716 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8717
8718 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8719
8720 PR target/49868
8721 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8722 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8723 New functions.
8724
8725 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8726
8727 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8728 functions.
8729 (aeabi_uidivmod): Likewise.
8730 (umodsi3): Likewise.
8731 (divsi3): Likewise.
8732 (aeabi_idivmod): Likewise.
8733 (modsi3): Likewise.
8734
8735 2011-11-16 Tristan Gingold <gingold@adacore.com>
8736
8737 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8738
8739 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
8740
8741 PR target/49868
8742 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8743 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8744
8745 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8746
8747 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8748 tmake_file list.
8749 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8750 * config/pa/t-stublib64: Delete.
8751
8752 2011-11-12 Richard Henderson <rth@redhat.com>
8753
8754 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8755 cast the pointer argument to _Unwind_SetGRPtr.
8756
8757 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8758
8759 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8760
8761 2011-11-09 Ian Lance Taylor <iant@google.com>
8762
8763 * generic-morestack.c: Include <string.h>.
8764 (uintptr_type): Define.
8765 (struct initial_sp): Add dont_block_signals field. Reduce size of
8766 extra array by 1.
8767 (allocate_segment): Set prev field to NULL. Don't set
8768 __morestack_current_segment or __morestack_segments.
8769 (__generic_morestack): Update current->prev and *pp after calling
8770 allocate_segment.
8771 (__morestack_block_signals): Don't do anything if
8772 dont_block_signals is set.
8773 (__morestack_unblock_signals): Likewise.
8774 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8775 uintptr_type.
8776 (__splitstack_block_signals): New function.
8777 (enum __splitstack_content_offsets): Define.
8778 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8779 (__splitstack_makecontext): New function.
8780 (__splitstack_block_signals_context): New function.
8781 (__splitstack_find_context): New function.
8782 * config/i386/morestack.S (__morestack_get_guard): New function.
8783 (__morestack_set_guard, __morestack_make_guard): New functions.
8784 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8785
8786 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8787
8788 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8789 (i[34567]86-*-mingw*): ... here.
8790 (x86_64-*-mingw*): ... here.
8791
8792 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8793
8794 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8795
8796 2011-11-07 Nathan Sidwell <nathan@acm.org>
8797
8798 * libgcov.c (struct gcov_fn_buffer): New struct.
8799 (buffer_fn_data): New helper.
8800 (gcov_exit): Rework for new gcov data structures.
8801
8802 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8803
8804 PR target/49313
8805 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8806
8807 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8808
8809 * config.host (tmake_file): Correct comment.
8810 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8811 t-libgcc-pic.
8812 (bfin*-uclinux*): Likewise.
8813 (bfin*-linux-uclibc*): Likewise.
8814 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8815
8816 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8817 assigning.
8818 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8819 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8820 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8821 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8822 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8823 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8824 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8825 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8826 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8827 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8828 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8829 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8830 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8831
8832 * config/bfin/t-elf: Remove.
8833 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8834
8835 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8836
8837 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8838 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8839 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8840 (lm32-*-elf*): ... this.
8841 (lm32-*-rtems*): ... and this.
8842 Add to tmake_file.
8843 (m32r-*-rtems*): Add to tmake_file.
8844 (moxie-*-rtems*): Likewise.
8845 (sparc-*-rtems*): Likewise.
8846 Remove t-rtems from tmake_file.
8847 (sparc64-*-rtems*): Likewise.
8848 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8849 instead.
8850
8851 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8852
8853 PR bootstrap/50982
8854 * config/gthr-posix.h: Move ...
8855 * gthr-posix.h: ... here.
8856 * config/gthr-lynx.h: Reflect this.
8857 * config/gthr-vxworks.h: Likewise.
8858 * config/rs6000/gthr-aix.h: Likewise.
8859 * configure.ac (target_thread_file): Likewise.
8860 * configure: Regenerate.
8861
8862 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8863
8864 * config.host (arm*-*-rtemseabi*): New target.
8865
8866 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8867
8868 PR other/50991
8869 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8870 extra-parts.
8871
8872 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8873
8874 * config.host (epiphany-*-elf*): New configuration.
8875 * config/epiphany: New Directory.
8876
8877 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8878
8879 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8880 * config/avr/t-rtems: New.
8881 Filter out _exit from LIB1ASMFUNCS.
8882
8883 2011-11-04 David S. Miller <davem@davemloft.net>
8884
8885 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8886 * configure: Rebuild.
8887
8888 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8889
8890 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8891 variable.
8892
8893 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8894
8895 PR target/50931
8896 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8897 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8898
8899 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8900
8901 PR target/50989
8902 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8903
8904 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8905
8906 * config/c6x/t-elf (LIB2ADDEH): Set.
8907 * config/c6x/t-c6x-elf: Remove.
8908
8909 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8910
8911 * config/i386/sol2-ci.S: Rename to ...
8912 * config/i386/crti.S: ... this.
8913 * config/i386/sol2-cn.S: Rename to ...
8914 * config/i386/crtn.S: ... this.
8915 * config/sparc/sol2-ci.S: Rename to ...
8916 * config/sparc/crti.S: ... this.
8917 * config/sparc/sol2-cn.S: Rename to ...
8918 * config/sparc/crtn.S: ... this.
8919 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8920 (crti.o, crtn.o): Remove.
8921
8922 2011-11-04 Tristan Gingold <gingold@adacore.com>
8923
8924 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8925
8926 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8927
8928 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8929
8930 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8931
8932 * config.host (crisv32-*-none, cris-*-none): Remove.
8933 (crisv32-*-elf): Append to tmake_file, don't just set it.
8934 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8935
8936 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8937
8938 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8939 (ecrtn$(objext)): Likewise.
8940 (ncrti$(objext)): Likewise.
8941 (ncrtn$(objext)): Likewise.
8942
8943 2011-11-03 Andreas Schwab <schwab@redhat.com>
8944
8945 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8946
8947 2011-11-02 David S. Miller <davem@davemloft.net>
8948
8949 * configure.ac: Set host_address on sparc too.
8950 * configure: Regenerate.
8951 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8952 based upon host_address.
8953 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8954
8955 2011-11-02 Jason Merrill <jason@redhat.com>
8956
8957 * config/rs6000/t-ppccomm: Add missing \.
8958
8959 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8960
8961 * gthr-single.h, gthr.h: New files.
8962 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8963 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8964 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8965 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8966 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8967 * configure.ac (thread_header): New variable.
8968 Set it depending on target_thread_file.
8969 (gthr-default.h): Link from $thread_header.
8970 * configure: Regenerate.
8971 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8972
8973 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8974
8975 * configure.ac (tm_file_): New variable.
8976 Determine from tm_file.
8977 (tm_file, tm_defines): Substitute.
8978 * configure: Regenerate.
8979 * mkheader.sh: New file.
8980 * Makefile.in (clean): Remove libgcc_tm.h.
8981 ($(objects)): Depend on libgcc_tm.h.
8982 (libgcc_tm_defines, libgcc_tm_file): New variables.
8983 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8984 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8985 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8986 ($(extra-parts)): Depend on libgcc_tm.h.
8987 * config.host (tm_defines, tm_file): New variable.
8988 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8989 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8990 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8991 (avr-*-rtems*): Likewise.
8992 (avr-*-*): Likewise.
8993 (frv-*-elf): Likewise.
8994 (frv-*-*linux*): Likewise.
8995 (h8300-*-rtems*): Likewise.
8996 (h8300-*-elf*): Likewise.
8997 (i[34567]86-*-darwin*): Likewise.
8998 (x86_64-*-darwin*): Likewise.
8999 (rx-*-elf): Likewise.
9000 (tic6x-*-uclinux): Likewise.
9001 (tic6x-*-elf): Likewise.
9002 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9003 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9004 * config/i386/cygming-crtbegin.c: Likewise.
9005 * config/i386/cygming-crtend.c: Likewise.
9006 * config/ia64/fde-vms.c: Likewise.
9007 * config/ia64/unwind-ia64.c: Likewise.
9008 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9009 * config/rs6000/darwin-fallback.c: Likewise.
9010 * config/stormy16/lib2funcs.c: Likewise.
9011 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9012 * crtstuff.c: Likewise.
9013 * dfp-bit.h: Likewise.
9014 * emutls.c: Likewise.
9015 * fixed-bit.c: Likewise.
9016 * fp-bit.c: Likewise.
9017 * generic-morestack-thread.c: Likewise.
9018 * generic-morestack.c: Likewise.
9019 * libgcc2.c: Likewise.
9020 * libgcov.c: Likewise.
9021 * unwind-dw2-fde-dip.c: Likewise.
9022 * unwind-dw2-fde.c: Likewise.
9023 * unwind-dw2.c: Likewise.
9024 * unwind-sjlj.c: Likewise.
9025
9026 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9027
9028 * configure.ac: Include ../config/picflag.m4.
9029 (GCC_PICFLAG): Call it.
9030 Substitute.
9031 * configure: Regenerate.
9032 * Makefile.in (gcc_srcdir): Remove.
9033 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9034 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9035 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9036 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9037 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9038 Use $<.
9039 Remove comment.
9040 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9041 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9042 to refer to libgcc2.c.
9043 Use $<.
9044 * config/darwin-64.c: New file.
9045 * config/darwin-crt3.c: Remove comment.
9046 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9047 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9048 config/udivmodsi4.c: New files.
9049 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9050 config/memset.c: New files.
9051 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9052 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9053 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9054 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9055 * config/t-openbsd-thread: New file.
9056 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9057 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9058 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9059 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9060 qrnnd.S.
9061 Adapt filename.
9062 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9063 to refer to gthr-posix.c.
9064 * config/alpha/t-vms (LIB2ADD): Set.
9065 * config/alpha/vms-gcc_shell_handler.c: New file.
9066 * config/arm/bpabi.c, config/arm/fp16.c,
9067 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9068 config/arm/unaligned-funcs.c: New files.
9069 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9070 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9071 * config/arm/t-linux: Likewise.
9072 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9073 * config/arm/t-netbsd: New file.
9074 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9075 * config/arm/t-symbian (LIB2ADD_ST): Set.
9076 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9077 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9078 * config/bfin/t-elf: New file.
9079 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9080 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9081 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9082 config/c6x/ltf.c: New files.
9083 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9084 (HOST_LIBGCC2_CFLAGS): Set.
9085 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9086 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9087 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9088 New files.
9089 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9090 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9091 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9092 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9093 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9094 files.
9095 * config/frv/t-frv (LIB2ADD): Set.
9096 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9097 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9098 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9099 config/h8300/popcounthi2.c: New files.
9100 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9101 * config/i386/gthr-win32.c: New file.
9102 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9103 * config/i386/t-cygwin: Likewise.
9104 * config/i386/t-darwin, config/i386/t-darwin64,
9105 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9106 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9107 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9108 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9109 * config/ia64/quadlib.c: New file.
9110 * config/ia64/t-hpux (LIB2ADD): Set.
9111 * config/ia64/t-ia64: Add comment.
9112 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9113 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9114 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9115 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9116 * config/m32c/t-m32c (LIB2ADD): Set.
9117 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9118 * config/m32r/t-m32r: Likewise.
9119 * config/m68k/fpgnulib.c: New file.
9120 * config/m68k/t-floatlib (LIB2ADD): Set.
9121 (xfgnulib.c): New target.
9122 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9123 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9124 * config/mep/t-mep (LIB2ADD): Set.
9125 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9126 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9127 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9128 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9129 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9130 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9131 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9132 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9133 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9134 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9135 New files.
9136 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9137 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9138 * config/pa/fptr.c, config/pa/lib2funcs.S,
9139 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9140 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9141 (LIB2ADD, LIB2ADD_ST): Set.
9142 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9143 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9144 Set.
9145 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9146 * config/pdp11/t-pdp11: New file.
9147 * config/picochip/libgccExtras/adddi3.S,
9148 config/picochip/libgccExtras/ashlsi3.S,
9149 config/picochip/libgccExtras/ashrsi3.S,
9150 config/picochip/libgccExtras/clzsi2.S,
9151 config/picochip/libgccExtras/cmpsi2.S,
9152 config/picochip/libgccExtras/divmod15.S,
9153 config/picochip/libgccExtras/divmodhi4.S,
9154 config/picochip/libgccExtras/divmodsi4.S,
9155 config/picochip/libgccExtras/lshrsi3.S,
9156 config/picochip/libgccExtras/parityhi2.S,
9157 config/picochip/libgccExtras/popcounthi2.S,
9158 config/picochip/libgccExtras/subdi3.S,
9159 config/picochip/libgccExtras/ucmpsi2.S,
9160 config/picochip/libgccExtras/udivmodhi4.S,
9161 config/picochip/libgccExtras/udivmodsi4.S: New files.
9162 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9163 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9164 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9165 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9166 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9167 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9168 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9169 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9170 files.
9171 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9172 (HOST_LIBGCC2_CFLAGS): Set.
9173 * config/rs6000/t-darwin64: New file.
9174 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9175 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9176 * config/rs6000/t-ppccomm (LIB2ADD): Add
9177 $(srcdir)/config/rs6000/tramp.S.
9178 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9179 Add $(srcdir)/config/rs6000/eabi.S.
9180 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9181 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9182 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9183 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9184 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9185 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9186 * config/rs6000/tramp.S: New file.
9187 * config/s390/t-tpf: Remove.
9188 * config/sh/linux-atomic.S: New file.
9189 * config/sh/t-linux (LIB2ADD): Set.
9190 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9191 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9192 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9193 to unwind-dw2.c.
9194 (HOST_LIBGCC2_CFLAGS): Set.
9195 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9196 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9197 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9198 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9199 config/spu/mfc_multi_tag_release.c,
9200 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9201 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9202 config/spu/multi3.c: New files.
9203 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9204 (HOST_LIBGCC2_CFLAGS): Set.
9205 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9206 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9207 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9208 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9209 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9210 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9211 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9212 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9213 config/stormy16/umodsi3.c: New files.
9214 * config/xtensa/lib2funcs.S: New file.
9215 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9216 * config/xtensa/t-xtensa (LIB2ADD): Set.
9217 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9218 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9219 Add t-freebsd-thread to tmake_file for posix threads.
9220 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9221 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9222 (*-*-lynxos*): Likewise.
9223 (*-*-netbsd*): Likewise.
9224 (*-*-openbsd*): Likewise.
9225 Add t-openbsd-thread to tmake_file for posix threads.
9226 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9227 (*-*-vxworks*): Set tmake_file.
9228 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9229 (alpha*-*-freebsd*): Likewise.
9230 (alpha*-*-netbsd*): Likewise.
9231 (alpha*-*-openbsd*): Likewise.
9232 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9233 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9234 (alpha*-dec-*vms*): Likewise.
9235 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9236 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9237 (bfin*-uclinux*): Likewise.
9238 (bfin*-linux-uclibc*): Likewise.
9239 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9240 (crisv32-*-none): Likewise.
9241 (cris-*-elf): Likewise.
9242 (cris-*-none): Likewise.
9243 (cris-*-linux*, crisv32-*-linux*): Likewise.
9244 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9245 tmake_file.
9246 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9247 tmake_file.
9248 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9249 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9250 (x86_64-*-elf*): Likewise.
9251 (i[34567]86-*-nto-qnx*): Likewise.
9252 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9253 win32 threads.
9254 (x86_64-*-mingw*): Likewise.
9255 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9256 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9257 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9258 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9259 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9260 tmake_file.
9261 (mipsisa64sr71k-*-elf*): Likewise.
9262 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9263 (mips-*-elf*, mipsel-*-elf*): Likewise.
9264 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9265 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9266 (mips*-*-rtems*): Likewise.
9267 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9268 to tmake_file.
9269 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9270 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9271 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9272 (spu-*-elf*): Likewise.
9273 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9274
9275 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9276
9277 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9278 $(srcdir) to refer to $(LIB1ASMSRC).
9279 Use $<.
9280 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9281 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9282 config/arm/lib1funcs.S: New files.
9283 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9284 * config/arm/t-arm: New file.
9285 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9286 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9287 config/arm/t-strongarm-elf: New files.
9288 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9289 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9290 * config/avr/lib1funcs.S: New file.
9291 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9292 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9293 * config/c6x/lib1funcs.S: New file.
9294 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9295 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9296 * config/frv/lib1funcs.S: New file.
9297 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9298 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9299 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9300 * config/ia64/__divxf3.asm: Rename to ...
9301 * config/ia64/__divxf3.S: ... this.
9302 Adapt lib1funcs.asm filename.
9303 * config/ia64/_fixtfdi.asm: Rename to ...
9304 * config/ia64/_fixtfdi.S: ... this.
9305 Adapt lib1funcs.asm filename.
9306 * config/ia64/_fixunstfdi.asm: Rename to ...
9307 * config/ia64/_fixunstfdi.S: ... this.
9308 Adapt lib1funcs.asm filename.
9309 * config/ia64/_floatditf.asm: Rename to ...
9310 * config/ia64/_floatditf.S: ... this.
9311 Adapt lib1funcs.asm filename.
9312 * config/ia64/lib1funcs.S: New file.
9313 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9314 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9315 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9316 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9317 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9318 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9319 * config/mep/lib1funcs.S: New file.
9320 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9321 * config/mips/mips16.S: New file.
9322 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9323 * config/pa/milli64.S: New file.
9324 * config/pa/t-linux, config/pa/t-linux64: New files.
9325 * config/picochip/lib1funcs.S: New file.
9326 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9327 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9328 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9329 * config/sh/t-netbsd: New file.
9330 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9331 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9332 * config/sh/t-sh64: New file.
9333 * config/sparc/lb1spc.S: New file.
9334 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9335 filename.
9336 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9337 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9338 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9339 config/xtensa/lib1funcs.S: New files.
9340 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9341 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9342 tmake_file.
9343 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9344 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9345 (arm*-*-linux*): Likewise.
9346 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9347 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9348 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9349 (arm*-*-ecos-elf): Likewise.
9350 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9351 (arm*-*-rtems*): Likewise.
9352 (arm*-*-elf): Likewise.
9353 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9354 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9355 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9356 (bfin*-uclinux*): Likewise.
9357 (bfin*-linux-uclibc*): Likewise.
9358 (bfin*-rtems*): Likewise.
9359 (bfin*-*): Likewise.
9360 (fido-*-elf): Merge into m68k-*-elf*.
9361 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9362 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9363 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9364 (h8300-*-elf*): Likewise.
9365 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9366 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9367 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9368 (i[34567]86-*-mingw*): Likewise.
9369 (x86_64-*-mingw*): Likewise.
9370 (i[34567]86-*-interix3*): Likewise.
9371 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9372 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9373 (m68k-*-elf*): Also handle fido-*-elf.
9374 Add m68k/t-floatlib to tmake_file.
9375 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9376 (m68k-*-linux*): Likewise.
9377 (m68k-*-rtems*): Likewise.
9378 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9379 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9380 sh64*-*-*.
9381 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9382 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9383 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9384 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9385 sh/t-netbsd to tmake_file.
9386 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9387 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9388 (sh-wrs-vxworks): Likewise.
9389 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9390 *-leon[3-9]*.
9391 (v850*-*-*): Add v850/t-v850 to tmake_file.
9392 (vax-*-linux*): Add vax/t-linux to tmake_file.
9393 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9394
9395 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9396
9397 * crtstuff.c: New file.
9398 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9399 (CRTSTUFF_T_CFLAGS): Define.
9400 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9401 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9402 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9403 crtstuff.c.
9404 Use $<.
9405 (crtbeginT.o): Use $(objext).
9406 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9407 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9408 (gcc-extra-parts): Remove.
9409 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9410 Set extra_parts.
9411 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9412 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9413 Add t-crtstuff-pic to tmake_file.
9414 (*-*-lynxos*): New case.
9415 Set tmake_file, extra_parts.
9416 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9417 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9418 *-*-netbsdelf[2-9]*.
9419 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9420 (*-*-rtems*): Set extra_parts.
9421 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9422 (*-*-uclinux*): New case.
9423 Set extra_parts.
9424 (*-*-vms*): New case.
9425 Set tmake_file, extra_parts.
9426 (*-*-elf): Set extra_parts.
9427 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9428 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9429 vms/t-vms64.
9430 Set extra_parts.
9431 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9432 Set extra_parts.
9433 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9434 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9435 (arm-wrs-vxworks): Append to tmake_file.
9436 Set extra_parts.
9437 (arm*-*-uclinux*): Set extra_parts.
9438 (arm*-*-ecos-elf): Likewise.
9439 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9440 arm*-*-eabi*.
9441 (arm*-*-rtems*): Set extra_parts.
9442 (arm*-*-elf): Likewise.
9443 (avr-*-rtems*): Clear extra_parts.
9444 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9445 Set extra_parts.
9446 (bfin*-uclinux*): Likewise.
9447 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9448 (bfin*-rtems*): Append to tmake_file.
9449 Set extra_parts.
9450 (bfin*-*): Likewise.
9451 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9452 (crisv32-*-elf): ... this.
9453 (crisv32-*-none): ... this.
9454 (cris-*-elf, cris-*-none): New cases.
9455 Add cris/t-elfmulti to tmake_file.
9456 (fr30-*-elf): Append to tmake_file.
9457 Set extra_parts.
9458 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9459 Set extra_parts.
9460 (h8300-*-rtems*): Append to tmake_file.
9461 Set extra_parts.
9462 (h8300-*-elf*): Likewise.
9463 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9464 Set extra_parts.
9465 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9466 Set extra_parts.
9467 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9468 (x86_64-*-elf*): Likewise.
9469 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9470 (x86_64-*-freebsd*): Likewise.
9471 (x86_64-*-netbsd*): Likewise.
9472 (i[34567]86-*-linux*): Likewise.
9473 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9474 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9475 (x86_64-*-linux*): Likewise.
9476 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9477 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9478 tmake_file.
9479 Set extra_parts.
9480 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9481 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9482 Append to extra_parts, remove crtbegin.o, crtend.o.
9483 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9484 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9485 crtend.o, crtbeginS.o, crtendS.o.
9486 (ia64*-*-linux*): Comment extra_parts.
9487 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9488 Set extra_parts.
9489 (iq2000*-*-elf*): Clear extra_parts.
9490 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9491 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9492 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9493 (m32r-*-rtems*): ... this.
9494 Add m32r/t-m32r to tmake_file.
9495 (m68k-*-elf*): Add t-crtin to tmake_file.
9496 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9497 (mcore-*-elf): Likewise.
9498 (microblaze*-*-*): Set extra_parts.
9499 (mips*-sde-elf*): New case.
9500 Set tmake_file, extra_parts.
9501 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9502 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9503 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9504 tmake_file.
9505 Set extra_parts.
9506 (mipsisa64sr71k-*-elf*): Likewise.
9507 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9508 (mips-*-elf*, mipsel-*-elf*): Likewise.
9509 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9510 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9511 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9512 (mips*-*-rtems*): Likewise.
9513 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9514 (moxie-*-*): Split into ...
9515 (moxie-*-elf, moxie-*-uclinux*): ... this.
9516 Add to extra_parts, remove crtbegin.o, crtend.o.
9517 (moxie-*-rtems*): New case.
9518 Set tmake_file.
9519 Clear extra_parts.
9520 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9521 Set extra_parts.
9522 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9523 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9524 tmake_file.
9525 Set extra_parts.
9526 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9527 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9528 Set extra_parts.
9529 (powerpc-*-eabisim*): Likewise.
9530 (powerpc-*-elf*): Likewise.
9531 (powerpc-*-eabialtivec*): Likewise.
9532 (powerpc-xilinx-eabi*): Likewise.
9533 (powerpc-*-eabi*): Likewise.
9534 (powerpc-*-rtems*): Likewise.
9535 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9536 tmake_file.
9537 Set extra_parts.
9538 (powerpc-*-lynxos*): Add to tmake_file.
9539 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9540 rs6000/t-crtstuff, t-crtstuff-pic.
9541 Set extra_parts.
9542 (powerpcle-*-eabisim*): Likewise.
9543 (powerpcle-*-eabi*): Likewise.
9544 (rx-*-elf): Remove extra_parts.
9545 (s390x-ibm-tpf*): Set extra_parts.
9546 (score-*-elf): Set extra_parts.
9547 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9548 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9549 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9550 (sh64l*-*-netbsd*): Split into ...
9551 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9552 Add t-crtstuff-pic to tmake_file.
9553 Set extra_parts.
9554 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9555 Set extra_parts.
9556 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9557 (sparc-*-elf*): Remove t-crtin from tmake_file.
9558 Add to extra_parts, remove crtbegin.o, crtend.o.
9559 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9560 (sparc64-*-linux*): Likewise.
9561 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9562 Add to extra_parts, remove crtbegin.o, crtend.o.
9563 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9564 Add to extra_parts, remove crtbegin.o, crtend.o.
9565 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9566 Add to extra_parts, remove crtbegin.o, crtend.o.
9567 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9568 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9569 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9570 Set extra_parts.
9571 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9572 Set extra_parts.
9573 (tic6x-*-*): Change to ...
9574 (tic6x-*-elf): ... this.
9575 Set extra_parts.
9576 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9577 Set extra_parts.
9578 (am33_2.0-*-linux*): Add comment.
9579 (mep*-*-*): Add mep/t-mep to tmake_file.
9580 Set extra_parts.
9581 * config/alpha/t-vms: New file.
9582 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9583 * config/arm/crti.S, config/arm/crtn.S: New files.
9584 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9585 * config/bfin/crtlibid.S: New file.
9586 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9587 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9588 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9589 (crti.o, crtin.o): New rules.
9590 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9591 * config/c6x/t-uclinux: New file.
9592 * config/cris/t-elfmulti: New file.
9593 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9594 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9595 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9596 * config/frv/t-frv: New file.
9597 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9598 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9599 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9600 New files.
9601 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9602 refer to cygming-crtbegin.c, cygming-crtend.c.
9603 Use $<.
9604 * config/i386/t-nto: New file.
9605 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9606 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9607 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9608 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9609 Use .S extension.
9610 Use $<.
9611 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9612 (crtinitS.o): New rule.
9613 * config/ia64/vms-crtinit.S: New file.
9614 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9615 * config/m32r/initfini.c: New file.
9616 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9617 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9618 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9619 * config/mep/t-mep: New file.
9620 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9621 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9622 * config/mips/crti.S, config/mips/crtn.S: New files.
9623 * config/mips/t-crtstuff: New file.
9624 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9625 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9626 (CUSTOM_CRTIN): Set.
9627 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9628 dependencies.
9629 Use $(srcdir) to refer to crti.S, crtn.S.
9630 Use .S extension, $<.
9631 * config/moxie/crti.asm: Rename to ...
9632 * config/moxie/crti.S: ... this.
9633 * config/moxie/crtn.asm: Rename to ...
9634 * config/moxie/crtn.S: ... this.
9635 * config/moxie/t-moxie: Remove.
9636 * config/pa/stublib.c: New file.
9637 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9638 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9639 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9640 * config/rs6000/t-crtstuff: New file.
9641 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9642 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9643 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9644 Make output file explicit.
9645 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9646 Make output file explicit.
9647 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9648 Make output file explicit.
9649 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9650 Make output file explicit.
9651 * config/score/crti.S, config/score/crtn.S: New files.
9652 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9653 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9654 files.
9655 * config/sh/t-sh, config/sh/t-superh: New files.
9656 * config/sparc/t-linux64: New file.
9657 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9658 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9659 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9660 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9661 * config/t-crtin: Remove.
9662 * config/t-crtstuff-pic: New file.
9663 * config/t-sol2 (CUSTOM_CRTIN): Set.
9664 (crti.o, crtn.o): New rules.
9665 * config/vms/t-vms: New file.
9666 * config/vms/vms-ucrt0.c: New file.
9667 * config/xtensa/t-elf: New file.
9668
9669 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9670
9671 * Makefile.in (SHLIB_NM_FLAGS): Set.
9672 * mkmap-flat.awk, mkmap-symver.awk: New files.
9673 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9674 exceptions.
9675 * configure: Regenerate.
9676 * config/libgcc-glibc.ver: New file.
9677 * config/libgcc-libsystem.ver: New file.
9678 * config/t-libunwind (SHLIB_LC): Set.
9679 * config/t-linux: New file.
9680 * config/t-slibgcc (INSTALL_SHLIB): New.
9681 (SHLIB_INSTALL): Use it.
9682 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9683 to mkmap-symver.awk.
9684 (SHLIB_MAPFILES): Don't append, adapt pathname.
9685 (SHLIB_VERPFX): Set.
9686 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9687 to mkmap-symver.awk.
9688 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9689 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9690 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9691 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9692 to mkmap-flat.awk.
9693 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9694 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9695 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9696 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9697 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9698 * config/i386/libgcc-darwin.10.4.ver,
9699 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9700 New files.
9701 * config/i386/t-darwin: Remove.
9702 * config/i386/t-darwin64: Likewise.
9703 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9704 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9705 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9706 * config/i386/t-linux: New file.
9707 * config/i386/t-mingw32: New file.
9708 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9709 * config/ia64/t-glibc: Rename to ...
9710 * config/ia64/t-linux: ... this.
9711 (SHLIB_MAPFILES): Set.
9712 * config/ia64/t-glibc-libunwind: Rename to ...
9713 * config/ia64/t-linux-libunwind: ... this.
9714 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9715 * config/ia64/t-slibgcc-hpux: New file.
9716 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9717 * config/m68k/t-slibgcc-elf-ver: New file.
9718 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9719 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9720 to mkmap-flat.awk.
9721 * config/pa/t-slibgcc-hpux: New file.
9722 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9723 files.
9724 * config/rs6000/libgcc-darwin.10.4.ver,
9725 config/rs6000/libgcc-darwin.10.5.ver: New files.
9726 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9727 config/rs6000/libgcc-glibc.ver.
9728 * config/rs6000/libgcc-ppc64.ver: Rename to
9729 config/rs6000/libgcc-ibm-ldouble.ver.
9730 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9731 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9732 * config/rs6000/t-ldbl128: Rename to ...
9733 * config/rs6000/t-linux: ... this.
9734 (SHLIB_MAPFILES): Adapt filename.
9735 * config/rs6000/t-slibgcc-aix: New file.
9736 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9737 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9738 libgcc-excl.ver, libgcc-glibc.ver.
9739 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9740 * config/sparc/libgcc-glibc.ver: New file.
9741 * config/sparc/t-linux: New file.
9742 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9743 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9744 t-slibgcc-elf-ver to tmake_file.
9745 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9746 *-*-freebsd[34].
9747 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9748 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9749 t-slibgcc-elf-ver, t-linux to tmake_file.
9750 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9751 tmake_file.
9752 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9753 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9754 (alpha*-dec-*vms*): Likewise.
9755 (arm*-*-freebsd*): Append to tmake_file.
9756 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9757 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9758 arm*-*-linux-*eabi.
9759 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9760 tmake_file for arm*-*-symbianelf*.
9761 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9762 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9763 cris/t-linux.
9764 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9765 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9766 pa/t-slibgcc-dwarf-ver to tmake_file.
9767 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9768 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9769 (hppa*64*-*-hpux11*): Likewise.
9770 (hppa[12]*-*-hpux11*): Likewise.
9771 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9772 i386/t-crtpc, i386/t-crtfm.
9773 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9774 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9775 to tmake_file.
9776 Add i386/t-cygwin to tmake_file.
9777 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9778 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9779 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9780 to tmake_file.
9781 Add i386/t-mingw32 to tmake_file.
9782 (x86_64-*-mingw*): Likewise.
9783 (ia64*-*-freebsd*): Append to tmake_file.
9784 (ia64*-*-linux*): Append to tmake_file.
9785 Replace ia64/t-glibc by ia64/t-linux.
9786 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9787 system libunwind.
9788 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9789 t-slibgcc-hpux to tmake_file.
9790 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9791 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9792 (m32rle-*-linux*): Likewise.
9793 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9794 sjlj exceptions.
9795 (microblaze*-linux*): New case.
9796 Append to tmake_file, add t-slibgcc-nolc-override.
9797 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9798 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9799 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9800 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9801 rs6000/t-slibgcc-aix to tmake_file.
9802 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9803 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9804 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9805 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9806 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9807 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9808 sh*-*-linux*.
9809 (sparc-*-linux*): Append to tmake_file for *-leon*.
9810 Add sparc/t-linux to tmake_file for non-Leon targets.
9811 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9812 (tic6x-*-uclinux): New case.
9813 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9814 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9815 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9816 (am33_2.0-*-linux*): Append to tmake_file.
9817 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9818 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9819 x86_64-*-kfreebsd*-gnu.
9820 Add i386/t-linux to tmake_file.
9821
9822 2011-10-28 Ian Lance Taylor <iant@google.com>
9823
9824 * config/i386/morestack.S: Correct CFI information to do proper
9825 returns throughout function. In 32-bit mode, save %ebx so that it
9826 is restored on unwind.
9827
9828 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9829
9830 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9831 case where B3 isn't the return register.
9832
9833 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9834 logic for doubleword pops.
9835
9836 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9837
9838 * config/rs6000/t-freebsd: Add wildcard.
9839
9840 2011-10-21 Paul Brook <paul@codesourcery.com>
9841
9842 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9843
9844 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9845 Eric Botcazou <ebotcazou@adacore.com>
9846
9847 PR target/50737
9848 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9849 fs->signal_frame to 1.
9850
9851 2011-10-07 Ian Lance Taylor <iant@google.com>
9852
9853 * generic-morestack-thread.c: #include <errno.h>.
9854
9855 2011-10-07 Ian Lance Taylor <iant@google.com>
9856
9857 PR target/46093
9858 * generic-morestack.c (__generic_morestack): Make sure the segment
9859 is large enough for both the stack frame and the copied
9860 parameters.
9861
9862 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9863
9864 PR bootstrap/49804
9865 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9866 extra_parts.
9867
9868 2011-09-28 Nick Clifton <nickc@redhat.com>
9869
9870 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9871 64-bit doubles are not enabled.
9872 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9873 and floatunsisf functions.
9874
9875 2011-09-13 Paul Brook <paul@codesourcery.com>
9876
9877 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9878 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9879 * unwind-arm-common.inc: New file.
9880 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9881 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9882 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9883 * config/c6x/libunwind.S: New file.
9884 * config/c6x/pr-support.c: New file.
9885 * config/c6x/unwind-c6x.c: New file.
9886 * config/c6x/unwind-c6x.h: New file.
9887 * config/c6x/t-c6x-elf: New file.
9888
9889 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9890
9891 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9892 (ASM_DIVZERO): Ditto.
9893 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9894
9895 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9896
9897 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9898
9899 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9900
9901 PR target/50090
9902 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9903 instead of an assembly one.
9904
9905 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9906
9907 PR bootstrap/50047
9908 * Makefile.in (install-unwind_h): Create
9909 $(gcc_objdir)/include/unwind.h atomically.
9910
9911 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9912
9913 * Makefile.in (install-unwind_h): Remove destination file first.
9914
9915 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9916
9917 * sync.c: New file.
9918 * config/mips/t-mips16: New file.
9919 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9920 (mips*-*-linux*): Likewise.
9921 (mips*-sde-elf*): Likewise.
9922 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9923 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9924 Add mips/t-mips16 to tmake_file.
9925 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9926 (mips-*-elf*): Likewise.
9927 (mips64-*-elf*): Likewise.
9928 (mips64orion-*-elf*): Likewise.
9929 (mips*-*-rtems*): Likewise.
9930 (mipstx39-*-elf*): Likewise.
9931 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9932 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9933 LIBGCC_SYNC_CFLAGS.
9934 Use $(srcdir) to refer to sync.c.
9935 Use $<.
9936 ($(libgcc-sync-funcs-o)): Likewise.
9937 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9938 ($(libgcc-sync-funcs-s-o)): Likewise.
9939
9940 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9941
9942 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9943 t-libunwind.
9944
9945 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9946
9947 PR other/48007
9948 * config/i386/value-unwind.h: New.
9949
9950 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9951
9952 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9953 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9954 Add to tmake_file rather than overriding it.
9955
9956 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9957
9958 * config/t-softfp: Remove.
9959 * soft-fp: Moved from ../gcc/config.
9960 * soft-fp/README: Remove t-softfp reference.
9961 * soft-fp/t-softfp: Move to config/t-softfp.
9962 (softfp_machine_header): Remove.
9963 (softfp_file_list): Remove config subdir.
9964 (soft-fp-objects): New variable.
9965 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9966 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9967 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9968 * config/t-softfp-excl: New file.
9969 * config/t-softfp-sfdf: New file.
9970 * config/t-softfp-tf: New file.
9971 * config/no-sfp-machine.h: New file.
9972 * config/arm/sfp-machine.h: New file.
9973 * config/arm/t-softfp: New file.
9974 * config/c6x/sfp-machine.h: New file.
9975 * config/i386/32/t-fprules-softfp: Rename to ...
9976 * config/i386/32/t-softfp: ... this.
9977 (tifunctions, LIB2ADD): Remove.
9978 (softfp_int_modes): Override.
9979 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9980 subdir.
9981 * config/i386/64/eqtf2.c: Likewise.
9982 * config/i386/64/getf2.c: Likewise.
9983 * config/i386/64/letf2.c: Likewise.
9984 * config/ia64/sft-machine.h: New file.
9985 * config/ia64/t-fprules-softfp: Rename to ...
9986 * config/ia64/t-softfp: ... this.
9987 * config/lm32/sfp-machine.h: New file.
9988 * config/moxie/t-moxie-softfp: Remove.
9989 * config/rs6000/ibm-ldouble-format: New file.
9990 * config/rs6000/ibm-ldouble.c: New file.
9991 * config/rs6000/libgcc-ppc-glibc.ver: New file
9992 * config/rs6000/libgcc-ppc64.ver: New file
9993 * config/rs6000/sfp-machine.h: New file.
9994 * config/rs6000/t-freebsd: New file.
9995 * config/rs6000/t-ibm-ldouble: New file.
9996 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9997 libgcc-ppc-glibc.ver.
9998 * config/rs6000/t-linux64: New file.
9999 * config/rs6000/t-ppccomm (LIB2ADD): Add
10000 $(srcdir)/config/rs6000/ibm-ldouble.c.
10001 * config/rs6000/t-ppccomm-ldbl: New file.
10002 * config/score/sfp-machine.h: New file.
10003 * config.host (sfp_machine_header): Explain.
10004 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10005 t-softfp to tmake_file.
10006 (arm*-*-uclinux*): Likewise.
10007 (arm*-*-ecos-elf): Likewise.
10008 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10009 (arm*-*-rtems*): Likewise.
10010 (arm*-*-elf): Likewise.
10011 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10012 in tmake_file.
10013 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10014 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10015 (lm32-*-uclinux*): Likewise.
10016 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10017 t-softfp-excl, t-softfp.
10018 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10019 (powerpc64-*-darwin*): Likewise.
10020 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10021 to tmake_file.
10022 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10023 tmake_file.
10024 (powerpc-*-eabisim*): Likewise.
10025 (powerpc-*-elf*): Likewise.
10026 (powerpc-*-eabialtivec*): Likewise.
10027 (powerpc-xilinx-eabi*): Likewise.
10028 (powerpc-*-rtems*): Likewise.
10029 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10030 t-softfp-excl, t-softfp to tmake_file.
10031 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10032 rs6000/t-ppccomm-ldbl to tmake_file.
10033 (powerpcle-*-elf*): Likewise.
10034 (powerpcle-*-eabisim*): Likewise.
10035 (powerpcle-*-eabi*): Likewise.
10036 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10037 rs6000/t-ibm-ldouble to tmake_file.
10038 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10039 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10040 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10041 (tic6x-*-*): Likewise.
10042 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10043 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10044 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10045 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10046 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10047 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10048 t-softfp to tmake_file.
10049 * configure.ac (sfp_machine_header): Provide default if unset.
10050 Substitute.
10051 Link sfp-machine.h to config/$sfp_machine_header.
10052 * configure: Regenerate.
10053
10054 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10055
10056 * Makefile.in (double_type_size, long_double_type_size): Set.
10057 Remove $(fpbit-in-libgcc) support.
10058 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10059 (fpbit-src): New variable.
10060 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10061 Compile with -DFLOAT $(FPBIT_CFLAGS).
10062 Use $<.
10063 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10064 Compile with $(FPBIT_CFLAGS).
10065 Use $<.
10066 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10067 Compile with -DFLOAT $(TPBIT_CFLAGS).
10068 Use $<.
10069 * configure.ac (double_type_size, long_double_type_size):
10070 Determine and substitute.
10071 * configure: Regenerate.
10072 * fp-bit.c, fp-bit.h: New files.
10073 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10074 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10075 * config/mips/t-mips: New file.
10076 * config/mips/t-sdemtk: New file.
10077 * config/rs6000/ppc64-fp.c: New file.
10078 * config/rs6000/t-darwin (LIB2ADD): Add
10079 $(srcdir)/config/rs6000/ppc64-fp.c.
10080 * config/rs6000/t-ppc64-fp: New file.
10081 * config/rx/rx-lib.h: New file.
10082 * config/rx/t-rx (FPBIT): Set to true.
10083 ($(gcc_objdir)/fp-bit.c): Remove.
10084 (DPBIT): Set to true only with -m64bit-doubles.
10085 ($(gcc_objdir)/dp-bit.c): Remove.
10086 * config/sparc/t-softfp: Remove.
10087 * config/spu/t-elf: New file.
10088 * config/t-fdpbit, config/t-fpbit: New files.
10089 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10090 (mips*-*-*): Likewise.
10091 (arm-wrs-vxworks): Likewise.
10092 (arm*-*-freebsd*): Likewise.
10093 (avr-*-rtems*): Add t-fpbit to tmake_file.
10094 (avr-*-*): Likewise.
10095 (bfin*-elf*): Add t-fdpbit to tmake_file.
10096 (bfin*-uclinux*): Likewise.
10097 (bfin*-linux-uclibc*): Likewise.
10098 (bfin*-rtems*): New case.
10099 Add t-fdpbit to tmake_file.
10100 (bfin*-*): Add t-fdpbit to tmake_file.
10101 (crisv32-*-elf): Likewise.
10102 (cris-*-linux*): Likewise.
10103 (fr30-*-elf): Likewise.
10104 (frv-*-elf, frv-*-*linux*): Likewise.
10105 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10106 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10107 (m32r-*-elf*): Likewise.
10108 (m32rle-*-elf*): Likewise.
10109 (m32r-*-linux*): Likewise.
10110 (m32rle-*-linux*): Likewise.
10111 (mcore-*-elf): Add t-fdpbit to tmake_file.
10112 (microblaze*-*-*): Likewise.
10113 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10114 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10115 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10116 Fix typo.
10117 Add mips/t-tpbit to tmake-file.
10118 (mips*-*-linux*): Fix typo.
10119 (mips*-sde-elf*): New case
10120 Add mips/t-sdemtk unless using newlib.
10121 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10122 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10123 (mn10300-*-*): Likewise.
10124 (pdp11-*-*): Likewise.
10125 (picochip-*-*): Add t-fpbit to tmake_file.
10126 (powerpc-*-eabisimaltivec*): Likewise.
10127 (powerpc-*-eabisim*): Likewise.
10128 (powerpc-*-elf*): Likewise.
10129 (powerpc-*-eabialtivec*): Likewise.
10130 (powerpc-xilinx-eabi*): New case.
10131 Add t-fdpbit to tmake_file.
10132 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10133 (powerpc-*-rtems*): Likewise.
10134 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10135 tmake_file.
10136 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10137 tmake_file.
10138 (powerpc-*-lynxos*): Likewise.
10139 (powerpcle-*-elf*): Likewise.
10140 (powerpcle-*-eabisim*): Likewise.
10141 (powerpcle-*-eabi*): Likewise.
10142 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10143 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10144 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10145 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10146 (rx-*-elf): Add t-fdpbit to tmake_file.
10147 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10148 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10149 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10150 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10151 sh*-*-netbsd*.
10152 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10153 (sh-wrs-vxworks): Likewise.
10154 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10155 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10156 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10157 (sparc64-*-rtems*): ... new case.
10158 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10159 (spu-*-elf*): Likewise.
10160 Add spu/t-elf to tmake_file.
10161 (v850*-*-*): Add t-fdpbit to tmake_file.
10162 (xstormy16-*-elf): Likewise.
10163 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10164 (mep*-*-*): Likewise.
10165
10166 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10167
10168 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10169 variables.
10170 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10171 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10172 (install-unwind_h): New target.
10173 (all): Depend on it.
10174 * config.host (unwind_header): New variable.
10175 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10176 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10177 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10178 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10179 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10180 Set unwind_header.
10181 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10182 Set unwind_header.
10183 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10184 arm*-*-eabi*.
10185 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10186 Set unwind_header.
10187 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10188 (ia64*-*-freebsd*): Likewise.
10189 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10190 tmake_file.
10191 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10192 $with_system_libunwind.
10193 (ia64*-*-hpux*): Set tmake_file.
10194 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10195 (picochip-*-*): Set tmake_file.
10196 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10197 md_unwind_header.
10198 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10199 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10200 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10201 (xtensa*-*-elf*): Set tmake_file.
10202 (xtensa*-*-linux*): Likewise.
10203 * configure.ac: Include ../config/unwind_ipinfo.m4.
10204 Call GCC_CHECK_UNWIND_GETIPINFO.
10205 Link unwind.h to $unwind_header.
10206 * configure: Regenerate.
10207 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10208 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10209 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10210 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10211 * config/unwind-dw2-fde-darwin.c: New file.
10212 * config/arm/libunwind.S, config/arm/pr-support.c,
10213 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10214 config/arm/unwind-arm.h,: New files.
10215 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10216 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10217 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10218 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10219 config/ia64/unwind-ia64.h: New files.
10220 * config/picochip/t-picochip: New file.
10221 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10222 files.
10223 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10224 * config/s390/t-tpf (LIB2ADDEH): Remove.
10225 * config/t-darwin (LIB2ADDEH): Set.
10226 * config/t-eh-dw2-dip: New file.
10227 * config/t-libunwind, config/t-libunwind-elf: New files.
10228 * config/t-sol2 (LIB2ADDEH): Remove.
10229 * config/xtensa/t-xtensa: New file.
10230
10231 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10232
10233 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10234 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10235 long long to check rt_sigreturn syscall.
10236
10237 2011-08-02 Alan Modra <amodra@gmail.com>
10238
10239 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10240 Restore for indirect call bcrtl from correct stack slot, and only
10241 if cfa+40 isn't valid.
10242
10243 2011-08-01 Julian Brown <julian@codesourcery.com>
10244
10245 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10246 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10247 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10248
10249 2011-08-01 Julian Brown <julian@codesourcery.com>
10250
10251 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10252 (libgcc-std.ver.in): Use above.
10253 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10254 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10255 throughout file.
10256 * config/t-fixedpoint-gnu-prefix: New file.
10257 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10258 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10259 instead of __PFX__.
10260
10261 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10262
10263 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10264 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10265 for x86-64. Properly check __x86_64__ and __LP64__.
10266
10267 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10268
10269 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10270 version.
10271 (_FP_WS_TYPE): Likewise.
10272 (_FP_I_TYPE): Likewise.
10273
10274 2011-07-28 Alan Modra <amodra@gmail.com>
10275
10276 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10277 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10278 in a plt call stub. Do restore r2 if stopped on bctrl.
10279
10280 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10281
10282 * config.host (i[3456x]86-*-netware*): Remove.
10283 * config/i386/netware-crt0.c, config/i386/t-nwld,
10284 config/i386/t-slibgcc-nwld: Remove.
10285
10286 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10287
10288 * config.host: Handle tic6x-*-*.
10289 * config/c6x/c6x-abi.h: New file.
10290
10291 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10292
10293 * config/i386/crtprec.c: New file.
10294 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10295 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10296 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10297 (x86_64-*-darwin*): Likewise.
10298 (i[34567]86-*-solaris2*: Likewise.
10299
10300 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10301
10302 * config/alpha/crtfastmath.c: New file.
10303 * config/i386/crtfastmath.c: New file.
10304 * config/ia64/crtfastmath.c: New file.
10305 * config/mips/crtfastmath.c: New file.
10306 * config/sparc/crtfastmath.c: New file.
10307
10308 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10309 crtfastmath.c.
10310 Add -frandom-seed=gcc-crtfastmath.
10311 * config/alpha/t-crtfm: Remove.
10312 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10313 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10314
10315 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10316 (alpha*-dec-osf5.1*): Likewise.
10317 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10318 Add crtfastmath.o to extra_parts.
10319 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10320 Add crtfastmath.o to extra_parts.
10321 (x86_64-*-darwin*): Likewise.
10322 (x86_64-*-mingw*): Likewise.
10323 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10324 (ia64*-*-freebsd*): Likewise.
10325 (ia64*-*-linux*): Likewise.
10326 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10327 Add crtfastmath.o to extra_parts.
10328
10329 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10330
10331 * config/darwin-crt3.o: New file.
10332 * config/rs6000/darwin-crt2.c: New file.
10333 * config/t-darwin: New file.
10334 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10335 (crt2.o): New rule.
10336 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10337 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10338 (powerpc64-*-darwin*): Likewise.
10339
10340 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10341
10342 * config/i386/netware-crt0.c: New file.
10343 * config/i386/t-nwld: Rename to ...
10344 * config/i386/t-slibgcc-nwld: ... this.
10345 * config/i386/t-nwld: New file.
10346 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10347 tmake_file.
10348 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10349 extra_parts.
10350
10351 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10352
10353 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10354 i386/t-crtstuff.
10355 * configure: Regenerate.
10356
10357 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10358
10359 * dfp-bit.c, dfp-bit.h: New files.
10360 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10361 variables.
10362 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10363 ($(d64pbit-o)): Likewise.
10364 ($(d128pbit-o)): Likewise.
10365 * config/t-dfprules: New file.
10366 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10367 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10368 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10369 (x86_64-*-linux*): Likewise.
10370 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10371 (i[34567]86-*-cygwin*): Likewise.
10372 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10373 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10374
10375 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10376
10377 * Makfile.in (LIBGCOV): New variable.
10378 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10379 * libgcov.c: New file.
10380
10381 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10382
10383 * fixed-bit.c, fixed-bit.h: New files.
10384 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10385 refer to fixed-bit.c.
10386
10387 2011-07-07 Joseph Myers <joseph@codesourcery.com>
10388
10389 * config.host (*local*): Remove.
10390
10391 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10392
10393 PR target/39150
10394 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10395 like i?86-*-solaris2.1[0-9]*.
10396 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10397 * configure.ac (i?86-*-solaris2*): Likewise.
10398 * configure: Regenerate.
10399
10400 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
10401
10402 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10403 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10404 md_unwind_header by splitting out of...
10405 (i[34567]86-*-linux*): ... this.
10406 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10407 Remove md_unwind_header by splitting out of...
10408 (x86_64-*-linux*): ... this.
10409
10410 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
10411
10412 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10413
10414 2011-06-28 Nick Clifton <nickc@redhat.com>
10415
10416 * config.host: Recognize all V850 variants.
10417
10418 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
10419
10420 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10421
10422 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10423
10424 * shared-object.mk (c_flags-$o): Save c_flags.
10425 ($(base)$(objext)): Use it.
10426 ($(base)_s$(objext)): Likewise.
10427
10428 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10429
10430 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10431 * libgcc-std.ver.in (GCC_4.7.0): New section.
10432
10433 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
10434
10435 PR target/49313
10436 PR target/29524
10437 * config/avr/t-avr: Fix line endings.
10438 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10439 _parityXX2.
10440
10441 2011-06-14 Olivier Hainque <hainque@adacore.com>
10442 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10443
10444 * config/mips/irix6-unwind.h: New file.
10445 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10446
10447 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10448
10449 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10450 (sparc64_fallback_frame_state): Use it.
10451 (sparc64_frob_update_context): Further adjust context.
10452 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10453 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10454 * config/sparc/sol2-cn.S: Likewise.
10455
10456 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10457
10458 * enable-execute-stack-empty.c: New file.
10459 * enable-execute-stack-mprotect.c: New file.
10460 * config/i386/enable-execute-stack-mingw32.c: New file.
10461 * config.host (enable_execute_stack): New variable.
10462 Select appropriate variants.
10463 * configure.ac: Link enable-execute-stack.c to
10464 $enable_execute_stack.
10465 * configure: Regenerate.
10466 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10467 (lib2funcs): Remove _enable_execute_stack.
10468
10469 2011-06-09 David S. Miller <davem@davemloft.net>
10470 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10471
10472 * config.host (sparc-*-linux*): Correct md_unwind_header
10473 filename.
10474 (s390x-ibm-tpf*): Fix typo.
10475
10476 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10477
10478 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10479 Add crtfastmath.o to extra_parts.
10480 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10481 mips/t-crtfm.
10482 * config/mips/t-crtfm: Remove.
10483
10484 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10485
10486 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10487
10488 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10489
10490 * config.host (sh*-*-linux*): Fix typo.
10491
10492 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10493
10494 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10495 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10496 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10497 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10498 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10499 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10500 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10501 Wrap in !__MINGW64__.
10502 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10503 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10504 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10505 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10506 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10507 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10508 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10509 Wrap in !__LP64__.
10510 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10511 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10512 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10513 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10514 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10515 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10516 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10517 * config/no-unwind.h: New file.
10518 * config.host (md_unwind_header): Document.
10519 Define.
10520 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10521 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10522 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10523 hppa[12]*-*-hpux11*): Set md_unwind_header.
10524 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10525 Set md_unwind_header.
10526 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10527 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10528 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10529 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10530 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10531 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10532 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10533 md_unwind_header.
10534 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10535 * configure: Regenerate.
10536
10537 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10538
10539 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10540 Set tmake_file, extra_parts.
10541 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10542 Remove O32 support.
10543 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10544 Remove O32 support.
10545 * config/mips/t-irix6: New file.
10546 * config/mips/t-slibgcc-irix: New file.
10547
10548 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10549
10550 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10551 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10552
10553 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10554
10555 * configure.ac (target_thread_file): Determine thread model.
10556 * configure: Regenerate.
10557 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10558 * config/alpha/t-alpha: New file.
10559 * config/alpha/t-crtfm: Use $<.
10560 * config/alpha/t-ieee: New file.
10561 * config/alpha/t-osf-pthread: New file.
10562 * config/alpha/t-slibgcc-osf: New file.
10563 * config/alpha/libgcc-osf5.ver: New file.
10564
10565 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10566
10567 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10568 tmake_file.
10569 Add crtfastmath.o to extra_parts.
10570
10571 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10572
10573 * config/gmon-sol2.c: Reindent.
10574 Cleanup comments.
10575 Remove, correct casts.
10576 Use STDERR_FILENO, NULL.
10577 (BASEADDRESS): Remove.
10578 (minbrk): Remove.
10579 (errno, sbrk): Remove declarations.
10580 (monstartup) [hp300]: Remove.
10581 (mcount): Remove.
10582
10583 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10584
10585 * Makefile.in (cpu_type): Define.
10586 * config.host (i[34567]86-*-rtems*): Handle it.
10587 (i[34567]86-*-solaris2*): Move body ...
10588 (*-*-solaris2*): ... here.
10589 New case, generalize.
10590 (sparc-*-elf*): Handle it.
10591 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10592 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10593 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10594 Fold into ...
10595 (sparc*-*-solaris2*): ... this.
10596 New case.
10597 (sparc64-*-elf*): Handle it.
10598 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10599 Merge ../gcc/config/i386/gmon-sol2.c.
10600 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10601 Use C comments.
10602 Merge ../gcc/config/i386/sol2-gc1.asm.
10603 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10604 Use C comments.
10605 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10606 Use C comments.
10607 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10608 * config/i386/t-crtstuff: New file.
10609 * config/i386/t-softfp: New file.
10610 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10611 $(T)crti.o, $(T)crtn.o): Remove.
10612 (gcrt1.o): New rule.
10613 (TARGET_LIBGCC2_CFLAGS): Remove.
10614 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10615 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10616 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10617 * config/sparc/t-sol2: New file.
10618 * config/sparc/t-crtfm: Move to ...
10619 * config/t-crtfm: ... this.
10620 Use $(cpu_type), $<.
10621 * config/t-crtin: New file.
10622 * config/sparc/t-softfp: New file.
10623 * config/sparc/t-softmul: New file.
10624 * config/t-rtems: New file.
10625 * config/t-slibgcc: New file.
10626 * config/t-slibgcc-elf-ver: New file.
10627 * config/t-slibgcc-gld: New file.
10628 * config/t-slibgcc-sld: New file.
10629 * config/t-sol2: New file.
10630 * configure.ac: Include ../config/lib-ld.m4.
10631 Call AC_LIB_PROG_LD_GNU.
10632 Substitute cpu_type.
10633 * configure: Regenerate.
10634
10635 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10636
10637 PR bootstrap/49173
10638 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10639 libgcc-std.ver in the build directory.
10640 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10641 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10642
10643 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10644
10645 * libgcc-std.ver.in: New file.
10646 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10647 variables.
10648 (libgcc-std.ver): New rule.
10649 * config/t-gnu-prefix: New file.
10650
10651 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10652
10653 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10654
10655 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10656
10657 * config/i386/darwin-lib.h: New file.
10658
10659 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10660
10661 * config/arm/symbian-lib.h: New.
10662
10663 2011-05-04 Chris Demetriou <cgd@google.com>
10664
10665 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10666 (__x86.get_pc_thunk.bx): ...this.
10667 (__morestack): Adjust for rename, remove undef of __i686.
10668
10669 2011-05-03 Chris Demetriou <cgd@google.com>
10670
10671 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10672
10673 2011-03-22 Joseph Myers <joseph@codesourcery.com>
10674
10675 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10676 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10677 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10678 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10679 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10680 Remove cases.
10681
10682 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
10683
10684 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10685 Adjust copyright year.
10686
10687 2011-03-07 Ian Lance Taylor <iant@google.com>
10688
10689 * generic-morestack.c (__splitstack_find): Adjust returned stack
10690 pointer to include all registers pushed by __morestack.
10691
10692 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10693
10694 PR target/40125
10695 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10696 (toolexecdir): Calculate and AC_SUBST.
10697 (toolexeclibdir): Likewise.
10698 * Makefile.in (target_noncanonical): Import.
10699 (toolexecdir): Likewise.
10700 (toolexeclibdir): Likewise.
10701 * configure: Regenerate.
10702
10703 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10704
10705 PR target/46040
10706 * config/arm/bpabi.h: Rename to...
10707 * config/arm/bpabi-lib.h: ...this.
10708
10709 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10710
10711 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10712 appropriate.
10713 * configure: Regenerate.
10714
10715 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10716
10717 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10718 __FLOAT_WORD_ORDER__.
10719 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10720 Delete.
10721
10722 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10723
10724 PR other/46202
10725 * Makefile.in (install-strip): New phony target.
10726
10727 2010-11-07 Ian Lance Taylor <iant@google.com>
10728
10729 PR target/46089
10730 * config/i386/morestack.S (__morestack_large_model): New
10731 function.
10732
10733 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10734
10735 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10736 Delete.
10737 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10738
10739 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10740
10741 * config/arm/bpabi.h: New file.
10742 * config/frv/frv-abi.h: New file.
10743
10744 2010-10-01 Ian Lance Taylor <iant@google.com>
10745
10746 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10747 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10748
10749 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10750
10751 PR target/45858
10752 * config.host: Add the missing `$'.
10753
10754 2010-09-30 Michael Eager <eager@eagercon.com>
10755
10756 * config.host: Add microblaze*-*-*.
10757 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10758 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10759 udivsi3.asm,umodsi3.asm}: New.
10760
10761 2010-09-28 Ian Lance Taylor <iant@google.com>
10762
10763 * configure.ac: Adjust CFI test to test assembler directly rather
10764 than checking gcc preprocessor macro.
10765 * configure: Rebuild.
10766
10767 2010-09-27 Ian Lance Taylor <iant@google.com>
10768
10769 * configure.ac: Test whether assembler supports CFI directives.
10770 * config.host: Only add t-stack and i386/t-stack-i386 to
10771 tmake_file if libgcc_cv_cfi is "yes".
10772 * configure: Rebuild.
10773
10774 2010-09-27 Ian Lance Taylor <iant@google.com>
10775
10776 * generic-morestack.h: New file.
10777 * generic-morestack.c: New file.
10778 * generic-morestack-thread.c: New file.
10779 * config/i386/morestack.S: New file.
10780 * config/t-stack: New file.
10781 * config/i386/t-stack-i386: New file.
10782 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10783 i386/t-stack-i386 to tmake_file.
10784
10785 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10786
10787 * Makefile.in (libgcc-extra-parts): Check for static archives and
10788 invoke ranlib after installing them.
10789 (gcc-extra-parts): Likewise.
10790 (install-leaf): Likewise.
10791
10792 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10793
10794 * configure: Regenerated.
10795
10796 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10797
10798 * configure: Regenerated.
10799
10800 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10801 Andrew Pinski <pinskia@gmail.com>
10802
10803 PR target/40959
10804 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10805
10806 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10807
10808 PR target/45524
10809 * configure: Regenerated.
10810
10811 2010-09-06 Andreas Schwab <schwab@redhat.com>
10812
10813 * configure: Regenerate.
10814
10815 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10816
10817 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10818 64bit targets.
10819 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10820 for 64bit targets.
10821
10822 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10823 Iain Sandoe <iains@gcc.gnu.org>
10824
10825 PR target/45476
10826 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10827 LIB2FUNCS_EXCLUDE functions.
10828
10829 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10830
10831 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10832 Include dfp.m4.
10833 * configure: Regenerate.
10834
10835 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10836
10837 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10838 i386/t-freebsd to tmake_file.
10839 * config/i386/t-freebsd: New file.
10840 * config/i386/libgcc-bsd.ver: New file.
10841
10842 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10843
10844 * config.host (powerpc*-eabispe*): Set tmake_file.
10845 (powerpc*-eabi*): Likewise.
10846 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10847 crtbeginS, crtendS, crtbeginT.
10848
10849 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10850
10851 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10852 to tmake_file. Add crtfastmath.o to extra_parts.
10853 * config/mips/t-crtfm: New.
10854
10855 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10856
10857 * config.host (sparc64-*-rtems*): New target.
10858
10859 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10860
10861 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10862 assembler syntax.
10863
10864 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10865
10866 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10867
10868 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10869
10870 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10871 alpha-dec-osf5.0* support.
10872
10873 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10874
10875 * config.host: Add lm32-*-rtems*.
10876
10877 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10878 Uros Bizjak <ubizjak@gmail.com>
10879
10880 PR target/39048
10881 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10882 like other remaining 32-bit x86 OSes.
10883 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10884 assembler syntax.
10885 * config/i386/libgcc-sol2.ver: New file.
10886 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10887
10888 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10889
10890 PR c/43553
10891 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10892 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10893 is used and substitute set_use_emutls.
10894 * configure: Regenerated.
10895
10896 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10897
10898 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10899
10900 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10901
10902 PR target/38085
10903 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10904 MULTILIB_CFLAGS.
10905 ($(T)gcrt1.o): Likewise.
10906 ($(T)crt1.o): Likewise.
10907 ($(T)crti.o): Likewise.
10908 ($(T)crtn.o): Likewise.
10909
10910 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10911
10912 PR other/42980
10913 * Makefile.in (install): Use $(MAKE) string in rule, for
10914 parallel make.
10915
10916 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10917
10918 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10919 * config/mmix/t-mmix: New file.
10920 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10921
10922 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10923
10924 PR java/41991
10925 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10926 SHLIB_MAPFILES.
10927
10928 2010-01-04 Anthony Green <green@moxielogic.com>
10929
10930 * config/moxie/crti.asm, config/moxie/crtn.asm,
10931 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10932 config/moxie/t-moxie: New files.
10933 * config.host: Add t-moxie-softfp reference.
10934
10935 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10936
10937 PR other/39888
10938 * config/t-slibgcc-darwin: Fix embedded rpaths for
10939 --enable-version-specific-runtime-libs, build extension stub
10940 libs exposing features available from current libgcc_s.
10941
10942 2009-11-11 Jon Beniston <jon@beniston.com>
10943
10944 * config.host: Add lm32 targets.
10945 * config/lm32: New directory.
10946 * config/lm32/libgcc_lm32.h: New file.
10947 * config/lm32/_mulsi3.c: New file.
10948 * config/lm32/_udivmodsi4.c: New file.
10949 * config/lm32/_divsi3.c: New file.
10950 * config/lm32/_modsi3.c: New file.
10951 * config/lm32/_udivsi3.c: New file.
10952 * config/lm32/_umodsi3.c: New file.
10953 * config/lm32/_lshrsi3.S: New file.
10954 * config/lm32/_ashrsi3.S: New file.
10955 * config/lm32/_ashlsi3.S: New file.
10956 * config/lm32/crti.S: New file.
10957 * config/lm32/crtn.S: New file.
10958 * config/lm32/t-lm32: New file.
10959 * config/lm32/t-elf: New file.
10960 * config/lm32/t-uclinux: New file.
10961
10962 2009-10-26 Nick Clifton <nickc@redhat.com>
10963
10964 * config.host: Add support for RX target.
10965 * config/rx: New directory.
10966 * config/rx/rx-abi-functions.c: New file. Supplementary
10967 functions for libgcc to support the RX ABI.
10968 * config/rx/rx-abi.h: New file. Supplementary header file for
10969 libgcc RX ABI functions.
10970 * config/rx/t-rx: New file: Makefile fragment for building
10971 libgcc for the RX.
10972
10973 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10974
10975 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10976 constraint of y0 to "g".
10977
10978 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10979
10980 * config.host: Include the s390 makefile fragments.
10981 * config/s390/32/_fixdfdi.c: New file.
10982 * config/s390/32/_fixsfdi.c: New file.
10983 * config/s390/32/_fixtfdi.c: New file.
10984 * config/s390/32/_fixunsdfdi.c: New file.
10985 * config/s390/32/_fixunssfdi.c: New file.
10986 * config/s390/32/_fixunstfdi.c: New file.
10987 * config/s390/32/t-floattodi: New file.
10988 * config/s390/libgcc-glibc.ver: New file.
10989 * config/s390/t-crtstuff: New file.
10990 * config/s390/t-linux: New file.
10991 * config/s390/t-tpf: New file.
10992
10993 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10994
10995 * configure.ac (AC_PREREQ): Bump to 2.64.
10996
10997 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10998
10999 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11000
11001 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11002
11003 * configure: Regenerate.
11004
11005 2009-08-09 Douglas B Rupp <rupp@gnat.com>
11006
11007 * config.host (ia64-hp-*vms*): New target.
11008 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11009 with ia64-hp-*vms*.
11010
11011 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11012
11013 * configure.ac: Add snippet for maintainer-mode.
11014 * configure: Regenerate.
11015 * Makefile.in (AUTOCONF, configure_deps): New variables.
11016 ($(srcdir)/configure)): New rule, active only with maintainer
11017 mode turned on.
11018
11019 2009-06-23 DJ Delorie <dj@redhat.com>
11020
11021 Add MeP port.
11022 * config.host: Add mep support.
11023
11024 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
11025
11026 * config.host: Add i386/${host_address}/t-fprules-softfp and
11027 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11028
11029 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11030 for mingw targets.
11031 * config/i386/64/_multc3.c: Likewise.
11032 * config/i386/64/_powitf2.c: Likewise.
11033 * config/i386/64/eqtf2.c: Likewise.
11034 * config/i386/64/getf2.c: Likewise.
11035 * config/i386/64/letf2.c: Likewise.
11036 * config/i386/64/letf2.c: Likewise.
11037 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11038 unsigned long long for x64 mingw targets.
11039 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11040 (_FP_I_TYPE): Define as long long for x64 mingw target.
11041
11042 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11043
11044 * config.host (vax-*-linux*): New.
11045
11046 2009-05-31 Anthony Green <green@moxielogic.com>
11047
11048 * config.host: Add moxie support.
11049 * config/moxie/t-moxie: New file.
11050
11051 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
11052
11053 * config.host: Add i386/${host_address}/t-fprules-softfp and
11054 t-softfp to tmake_file for i[34567]86-*-cygwin*.
11055
11056 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11057
11058 * config.host: Add i386/${host_address}/t-fprules-softfp to
11059 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11060
11061 2009-04-09 Nick Clifton <nickc@redhat.com>
11062
11063 * config/ia64/tf-signs.c: Change copyright header to refer to
11064 version 3 of the GNU General Public License with version 3.1
11065 of the GCC Runtime Library Exception and to point readers at
11066 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11067 web page.
11068 * config/i386/32/tf-signs.c: Likewise.
11069 * config/libbid/_addsub_dd.c: Likewise.
11070 * config/libbid/_addsub_sd.c: Likewise.
11071 * config/libbid/_addsub_td.c: Likewise.
11072 * config/libbid/_dd_to_df.c: Likewise.
11073 * config/libbid/_dd_to_di.c: Likewise.
11074 * config/libbid/_dd_to_sd.c: Likewise.
11075 * config/libbid/_dd_to_sf.c: Likewise.
11076 * config/libbid/_dd_to_si.c: Likewise.
11077 * config/libbid/_dd_to_td.c: Likewise.
11078 * config/libbid/_dd_to_tf.c: Likewise.
11079 * config/libbid/_dd_to_udi.c: Likewise.
11080 * config/libbid/_dd_to_usi.c: Likewise.
11081 * config/libbid/_dd_to_xf.c: Likewise.
11082 * config/libbid/_df_to_dd.c: Likewise.
11083 * config/libbid/_df_to_sd.c: Likewise.
11084 * config/libbid/_df_to_td.c: Likewise.
11085 * config/libbid/_di_to_dd.c: Likewise.
11086 * config/libbid/_di_to_sd.c: Likewise.
11087 * config/libbid/_di_to_td.c: Likewise.
11088 * config/libbid/_div_dd.c: Likewise.
11089 * config/libbid/_div_sd.c: Likewise.
11090 * config/libbid/_div_td.c: Likewise.
11091 * config/libbid/_eq_dd.c: Likewise.
11092 * config/libbid/_eq_sd.c: Likewise.
11093 * config/libbid/_eq_td.c: Likewise.
11094 * config/libbid/_ge_dd.c: Likewise.
11095 * config/libbid/_ge_sd.c: Likewise.
11096 * config/libbid/_ge_td.c: Likewise.
11097 * config/libbid/_gt_dd.c: Likewise.
11098 * config/libbid/_gt_sd.c: Likewise.
11099 * config/libbid/_gt_td.c: Likewise.
11100 * config/libbid/_isinfd128.c: Likewise.
11101 * config/libbid/_isinfd32.c: Likewise.
11102 * config/libbid/_isinfd64.c: Likewise.
11103 * config/libbid/_le_dd.c: Likewise.
11104 * config/libbid/_le_sd.c: Likewise.
11105 * config/libbid/_le_td.c: Likewise.
11106 * config/libbid/_lt_dd.c: Likewise.
11107 * config/libbid/_lt_sd.c: Likewise.
11108 * config/libbid/_lt_td.c: Likewise.
11109 * config/libbid/_mul_dd.c: Likewise.
11110 * config/libbid/_mul_sd.c: Likewise.
11111 * config/libbid/_mul_td.c: Likewise.
11112 * config/libbid/_ne_dd.c: Likewise.
11113 * config/libbid/_ne_sd.c: Likewise.
11114 * config/libbid/_ne_td.c: Likewise.
11115 * config/libbid/_sd_to_dd.c: Likewise.
11116 * config/libbid/_sd_to_df.c: Likewise.
11117 * config/libbid/_sd_to_di.c: Likewise.
11118 * config/libbid/_sd_to_sf.c: Likewise.
11119 * config/libbid/_sd_to_si.c: Likewise.
11120 * config/libbid/_sd_to_td.c: Likewise.
11121 * config/libbid/_sd_to_tf.c: Likewise.
11122 * config/libbid/_sd_to_udi.c: Likewise.
11123 * config/libbid/_sd_to_usi.c: Likewise.
11124 * config/libbid/_sd_to_xf.c: Likewise.
11125 * config/libbid/_sf_to_dd.c: Likewise.
11126 * config/libbid/_sf_to_sd.c: Likewise.
11127 * config/libbid/_sf_to_td.c: Likewise.
11128 * config/libbid/_si_to_dd.c: Likewise.
11129 * config/libbid/_si_to_sd.c: Likewise.
11130 * config/libbid/_si_to_td.c: Likewise.
11131 * config/libbid/_td_to_dd.c: Likewise.
11132 * config/libbid/_td_to_df.c: Likewise.
11133 * config/libbid/_td_to_di.c: Likewise.
11134 * config/libbid/_td_to_sd.c: Likewise.
11135 * config/libbid/_td_to_sf.c: Likewise.
11136 * config/libbid/_td_to_si.c: Likewise.
11137 * config/libbid/_td_to_tf.c: Likewise.
11138 * config/libbid/_td_to_udi.c: Likewise.
11139 * config/libbid/_td_to_usi.c: Likewise.
11140 * config/libbid/_td_to_xf.c: Likewise.
11141 * config/libbid/_tf_to_dd.c: Likewise.
11142 * config/libbid/_tf_to_sd.c: Likewise.
11143 * config/libbid/_tf_to_td.c: Likewise.
11144 * config/libbid/_udi_to_dd.c: Likewise.
11145 * config/libbid/_udi_to_sd.c: Likewise.
11146 * config/libbid/_udi_to_td.c: Likewise.
11147 * config/libbid/_unord_dd.c: Likewise.
11148 * config/libbid/_unord_sd.c: Likewise.
11149 * config/libbid/_unord_td.c: Likewise.
11150 * config/libbid/_usi_to_dd.c: Likewise.
11151 * config/libbid/_usi_to_sd.c: Likewise.
11152 * config/libbid/_usi_to_td.c: Likewise.
11153 * config/libbid/_xf_to_dd.c: Likewise.
11154 * config/libbid/_xf_to_sd.c: Likewise.
11155 * config/libbid/_xf_to_td.c: Likewise.
11156 * config/libbid/bid128.c: Likewise.
11157 * config/libbid/bid128_2_str.h: Likewise.
11158 * config/libbid/bid128_2_str_macros.h: Likewise.
11159 * config/libbid/bid128_2_str_tables.c: Likewise.
11160 * config/libbid/bid128_add.c: Likewise.
11161 * config/libbid/bid128_compare.c: Likewise.
11162 * config/libbid/bid128_div.c: Likewise.
11163 * config/libbid/bid128_fma.c: Likewise.
11164 * config/libbid/bid128_logb.c: Likewise.
11165 * config/libbid/bid128_minmax.c: Likewise.
11166 * config/libbid/bid128_mul.c: Likewise.
11167 * config/libbid/bid128_next.c: Likewise.
11168 * config/libbid/bid128_noncomp.c: Likewise.
11169 * config/libbid/bid128_quantize.c: Likewise.
11170 * config/libbid/bid128_rem.c: Likewise.
11171 * config/libbid/bid128_round_integral.c: Likewise.
11172 * config/libbid/bid128_scalb.c: Likewise.
11173 * config/libbid/bid128_sqrt.c: Likewise.
11174 * config/libbid/bid128_string.c: Likewise.
11175 * config/libbid/bid128_to_int16.c: Likewise.
11176 * config/libbid/bid128_to_int32.c: Likewise.
11177 * config/libbid/bid128_to_int64.c: Likewise.
11178 * config/libbid/bid128_to_int8.c: Likewise.
11179 * config/libbid/bid128_to_uint16.c: Likewise.
11180 * config/libbid/bid128_to_uint32.c: Likewise.
11181 * config/libbid/bid128_to_uint64.c: Likewise.
11182 * config/libbid/bid128_to_uint8.c: Likewise.
11183 * config/libbid/bid32_to_bid128.c: Likewise.
11184 * config/libbid/bid32_to_bid64.c: Likewise.
11185 * config/libbid/bid64_add.c: Likewise.
11186 * config/libbid/bid64_compare.c: Likewise.
11187 * config/libbid/bid64_div.c: Likewise.
11188 * config/libbid/bid64_fma.c: Likewise.
11189 * config/libbid/bid64_logb.c: Likewise.
11190 * config/libbid/bid64_minmax.c: Likewise.
11191 * config/libbid/bid64_mul.c: Likewise.
11192 * config/libbid/bid64_next.c: Likewise.
11193 * config/libbid/bid64_noncomp.c: Likewise.
11194 * config/libbid/bid64_quantize.c: Likewise.
11195 * config/libbid/bid64_rem.c: Likewise.
11196 * config/libbid/bid64_round_integral.c: Likewise.
11197 * config/libbid/bid64_scalb.c: Likewise.
11198 * config/libbid/bid64_sqrt.c: Likewise.
11199 * config/libbid/bid64_string.c: Likewise.
11200 * config/libbid/bid64_to_bid128.c: Likewise.
11201 * config/libbid/bid64_to_int16.c: Likewise.
11202 * config/libbid/bid64_to_int32.c: Likewise.
11203 * config/libbid/bid64_to_int64.c: Likewise.
11204 * config/libbid/bid64_to_int8.c: Likewise.
11205 * config/libbid/bid64_to_uint16.c: Likewise.
11206 * config/libbid/bid64_to_uint32.c: Likewise.
11207 * config/libbid/bid64_to_uint64.c: Likewise.
11208 * config/libbid/bid64_to_uint8.c: Likewise.
11209 * config/libbid/bid_b2d.h: Likewise.
11210 * config/libbid/bid_binarydecimal.c: Likewise.
11211 * config/libbid/bid_conf.h: Likewise.
11212 * config/libbid/bid_convert_data.c: Likewise.
11213 * config/libbid/bid_decimal_data.c: Likewise.
11214 * config/libbid/bid_decimal_globals.c: Likewise.
11215 * config/libbid/bid_div_macros.h: Likewise.
11216 * config/libbid/bid_dpd.c: Likewise.
11217 * config/libbid/bid_flag_operations.c: Likewise.
11218 * config/libbid/bid_from_int.c: Likewise.
11219 * config/libbid/bid_functions.h: Likewise.
11220 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11221 * config/libbid/bid_inline_add.h: Likewise.
11222 * config/libbid/bid_internal.h: Likewise.
11223 * config/libbid/bid_round.c: Likewise.
11224 * config/libbid/bid_sqrt_macros.h: Likewise.
11225
11226 2009-04-09 Jakub Jelinek <jakub@redhat.com>
11227
11228 * Makefile.in: Change copyright header to refer to version
11229 3 of the GNU General Public License and to point readers at the
11230 COPYING3 file and the FSF's license web page.
11231 * config.host: Likewise.
11232
11233 2009-04-07 Alan Modra <amodra@bigpond.net.au>
11234
11235 * config.host: Reorder and merge to match config.gcc change.
11236
11237 2009-04-03 Alan Modra <amodra@bigpond.net.au>
11238
11239 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11240
11241 2009-03-28 Joseph Myers <joseph@codesourcery.com>
11242
11243 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11244 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11245 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11246 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11247
11248 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
11249
11250 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11251 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11252
11253 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11254
11255 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11256 ia64/t-softfp-compat to tmake_file.
11257
11258 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11259
11260 * config/ia64/__divxf3.asm: New.
11261 * config/ia64/_fixtfdi.asm: Likewise.
11262 * config/ia64/_fixunstfdi.asm: Likewise.
11263 * config/ia64/_floatditf.asm: Likewise.
11264 * config/ia64/t-fprules-softfp: Likewise.
11265 * config/ia64/t-softfp-compat: Likewise.
11266 * config/ia64/tf-signs.c: Likewise.
11267
11268 2009-01-18 Ben Elliston <bje@au.ibm.com>
11269
11270 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11271
11272 2009-01-16 Ben Elliston <bje@au.ibm.com>
11273
11274 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11275 to tmake_file.
11276
11277 2009-01-13 Ben Elliston <bje@au.ibm.com>
11278
11279 * config/t-softfp: New file.
11280 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11281 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11282
11283 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
11284
11285 * config.host: Add m32r*-*-rtems*.
11286
11287 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
11288
11289 * config.host: Add m32c*-*-rtems*.
11290
11291 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11292
11293 PR bootstrap/33100
11294 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11295 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11296 * configure: Regenerate.
11297 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11298 tmake_file here from gcc/config.gcc.
11299 Move extra_parts here from gcc/config.gcc.
11300 * config/i386/t-sol2: Move here from gcc/config/i386.
11301 Use gcc_srcdir instead of srcdir.
11302
11303 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11304
11305 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11306 case.
11307
11308 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11309
11310 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11311
11312 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11313
11314 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11315
11316 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11317
11318 Add picoChip port.
11319 * config.host: Add picochip-*-*.
11320
11321 2008-08-06 Bob Wilson <bob.wilson@acm.org>
11322
11323 * config.host: Match more processor names for Xtensa.
11324
11325 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11326
11327 * config/i386/64/t-softfp-compat: Update comments.
11328
11329 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11330
11331 * config/i386/64/_divtc3-compat.c: Moved to ...
11332 * config/i386/64/_divtc3.c: Here.
11333
11334 * config/i386/64/_multc3-compat.c: Moved to ...
11335 * config/i386/64/_multc3.c: Here.
11336
11337 * config/i386/64/_powitf2-compat.c: Moved to ...
11338 * config/i386/64/_powitf2.c: Here.
11339
11340 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11341 .c suffix instead of -compat.c.
11342
11343 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
11344
11345 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11346 (_FP_MUL_MEAT_D): Ditto.
11347 (_FP_DIV_MEAT_S): Ditto.
11348 (_FP_DIV_MEAT_D): Ditto.
11349
11350 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11351
11352 * Makefile.in: Add support for __sync_* libgcc functions.
11353
11354 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11355
11356 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11357
11358 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11359
11360 PR boostrap/36702
11361 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11362 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11363
11364 * config/i386/64/t-fprules-softfp: Moved to ...
11365 * config/i386/64/t-softfp-compat: This. New.
11366
11367 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
11368
11369 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11370 Initialize f with 0.0.
11371
11372 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11373
11374 PR target/36669
11375 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11376
11377 * config/i386/64/_divtc3-compat.c: New.
11378 * config/i386/64/_multc3-compat.c: Likewise.
11379 * config/i386/64/_powitf2-compat.c: Likewise.
11380 * config/i386/64/eqtf2.c: Likewise.
11381 * config/i386/64/getf2.c: Likewise.
11382 * config/i386/64/letf2.c: Likewise.
11383 * config/i386/64/t-fprules-softfp: Likewise.
11384
11385 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11386
11387 * config.host: Add i386/${host_address}/t-fprules-softfp to
11388 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11389 i[34567]86-*-linux*, x86_64-*-linux*.
11390
11391 * configure.ac: Set host_address to 64 or 32 for x86.
11392 * configure: Regenerated.
11393
11394 * Makefile.in (config.status): Also depend on
11395 $(srcdir)/config.host.
11396
11397 * config/i386/32/t-fprules-softfp: New.
11398 * config/i386/32/tf-signs.c: Likewise.
11399
11400 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11401
11402 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11403 Uros Bizjak <ubizjak@gmail.com>
11404
11405 * config/i386/32/sfp-machine.h: New.
11406
11407 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11408
11409 * config/rs6000/t-ppccomm: Remove rules that conflict with
11410 auto-generated rules.
11411
11412 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11413
11414 * configure.ac: sinclude override.m4.
11415 * configure: Regenerate.
11416
11417 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11418
11419 * configure: Regenerate.
11420
11421 2008-06-10 Joseph Myers <joseph@codesourcery.com>
11422
11423 * Makefile.in (DECNUMINC): Remove
11424 -I$(MULTIBUILDTOP)../../libdecnumber.
11425 * gstdint.h: New.
11426
11427 2008-06-07 Joseph Myers <joseph@codesourcery.com>
11428
11429 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11430 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11431 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11432 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11433 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11434 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11435 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11436 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11437 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11438 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11439 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11440 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11441 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11442 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11443
11444 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11445
11446 * config.host (sh2[lbe]*-*-linux*): Allow target.
11447
11448 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11449
11450 * config/rs6000/t-ppccomm: Add build rules for new files.
11451 (LIB2ADD_ST): New variable.
11452
11453 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11454
11455 PR target/34210
11456 PR target/35508
11457 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11458 * config/t-avr: New file. Build 16bit libgcc functions.
11459
11460 2008-03-02 Jakub Jelinek <jakub@redhat.com>
11461
11462 PR target/35401
11463 * config/t-slibgcc-darwin: Make install-leaf dependent on
11464 install-darwin-libgcc-stubs instead of install.
11465
11466 2008-01-25 Joseph Myers <joseph@codesourcery.com>
11467
11468 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11469 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11470 sh-*-rtemscoff*): Remove cases.
11471
11472 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11473
11474 * Makefile.in (all): Use install-leaf rather than install.
11475 (install): Split most of the rule into...
11476 (install-leaf): ...this new one.
11477
11478 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
11479 Paolo Bonzini <bonzini@gnu.org>
11480
11481 PR target/30572
11482 * Makefile.in: Use @shlib_slibdir@ substitution to get
11483 correct install name on darwin.
11484 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11485
11486 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
11487
11488 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11489 cris-*-elf and cris-*-none.
11490 (crisv32-*-linux*): Similar, as cris-*-linux*.
11491
11492 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11493
11494 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11495
11496 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11497
11498 PR regression/33926
11499 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11500 * configure: Regenerated.
11501
11502 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11503
11504 * Makefile.in (dfp-filenames): Replace decimal_globals,
11505 decimal_data, binarydecimal and convert_data with
11506 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11507 and bid_convert_data, respectively.
11508
11509 2007-09-17 Chao-ying Fu <fu@mips.com>
11510 Nigel Stephens <nigel@mips.com>
11511
11512 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11513 * Makefile.in (fixed_point): Define.
11514 Check if fixed_point is yes to build support functions.
11515 * configure.ac: Check for fixed_point support.
11516 * configure: Regenerated.
11517 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11518 funcs, modes, from, to.
11519
11520 2007-09-11 Janis Johnson <janis187@us.ibm.com
11521
11522 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11523
11524 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11525
11526 * Makefile.in (dfp-filenames): Remove decUtility, add
11527 decDouble, decPacked, decQuad, decSingle.
11528
11529 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11530
11531 * config.host : Add x86_64-elf target.
11532
11533 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11534
11535 * configure.ac (set_have_cc_tls): Add a missing =.
11536 * configure: Regenerated.
11537
11538 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11539
11540 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11541 and x86_64-*-linux*.
11542
11543 * config/t-tls: New file.
11544
11545 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11546
11547 * configure.ac: Include ../config/enable.m4 and
11548 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11549 supports TLS and substitute set_have_cc_tls.
11550 * configure: Regenerated.
11551
11552 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11553
11554 * Makefile.in: Use libbid for DFP when BID is enabled.
11555
11556 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11557
11558 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11559 extra_parts. Add config/i386/t-cygming to tmake_file.
11560 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11561
11562 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11563 Danny Smith <dannysmith@users.sourceforge.net>
11564
11565 PR target/29498
11566 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11567 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11568 * config/i386/t-crtfm: Compile crtfastmath.o with
11569 -minline-all-stringops.
11570
11571 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11572
11573 * config.host (sparc-wrs-vxworks): New target.
11574
11575 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11576
11577 * config.host: Recognize fido.
11578
11579 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11580
11581 * configure: Check host, not target, for decimal float support.
11582
11583 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11584
11585 * config/i386/t-crtpc: New file.
11586 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11587 (x86_64-*-linux*): Ditto.
11588
11589 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11590
11591 * config.host (x86_64-*-mingw*): New target.
11592
11593 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11594 H.J. Lu <hongjiu.lu@intel.com>
11595
11596 * Makefile.in (enable_decimal_float): New.
11597 (DECNUMINC): Add
11598 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11599 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11600 (decbits-filenames): This.
11601 (decbits-objects): New.
11602 (libgcc-objects): Add $(decbits-objects).
11603
11604 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11605 Substitute enable_decimal_float.
11606 * configure: Regenerated.
11607
11608 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11609
11610 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11611
11612 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11613
11614 * Makefile.in (install-info): New dummy target.
11615
11616 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11617
11618 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11619
11620 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11621
11622 * Makefile.in: Add install-html and install-pdf dummy
11623 targets.
11624
11625 2007-02-05 Roger Sayle <roger@eyesopen.com>
11626 Daniel Jacobowitz <dan@codesourcery.com>
11627
11628 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11629 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11630 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11631
11632 2007-01-29 Janis Johnson <janis187@us.ibm.com>
11633
11634 * Makefile.in (dec-filenames): Add decExcept.
11635
11636 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11637
11638 PR bootstrap/30469
11639 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11640 -fprofile-use.
11641
11642 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11643
11644 * configure.ac: Add --enable-version-specific-runtime-libs.
11645 Correct $slibdir default.
11646 * configure: Regenerated.
11647
11648 2007-01-23 Joseph Myers <joseph@codesourcery.com>
11649
11650 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11651
11652 2007-01-21 Andrew Pinski <pinskia@gmail.com>
11653
11654 PR target/30519
11655 * config.host (alpha*-*-linux*): Set extra_parts.
11656
11657 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11658
11659 * config/sh/t-linux: New.
11660 * config.host (sh*-*-linux*): Set tmake_file.
11661
11662 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11663
11664 * Makefile.in (install): Handle multilibs.
11665
11666 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11667
11668 * Makefile.in: Added .PHONY entry for documentation targets.
11669
11670 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11671
11672 * Makefile.in: Add empty info, html, dvi, pdf targets.
11673
11674 2007-01-04 Mike Stump <mrs@apple.com>
11675
11676 * Makefile.in (MAKEINFO): Remove.
11677 (PERL): Likewise.
11678
11679 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
11680
11681 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11682 * configure: Regenerate.
11683 * Makefile.in (host_subdir): Substitute it.
11684 (gcc_objdir): Use it.
11685
11686 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11687
11688 * config.host (ia64*-*-linux*): Set tmake_file.
11689
11690 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11691
11692 * Makefile.in (version): Define.
11693
11694 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11695 Paolo Bonzini <bonzini@gnu.org>
11696
11697 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11698 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11699 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11700 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11701 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11702 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11703 * configure: Generated.
11704 \f
11705 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11706
11707 Copying and distribution of this file, with or without modification,
11708 are permitted in any medium without royalty provided the copyright
11709 notice and this notice are preserved.