1 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
3 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
5 (__gcc_qadd): Call ldouble_qadd_internal.
6 (__gcc_qsub): Call ldouble_qadd_internal with second long double
9 2021-08-26 Jonathan Yong <10walls@gmail.com>
11 * config/i386/cygming-crtend.c: Fix register_frame_ctor
12 and register_frame_dtor warnings.
14 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
17 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
18 Add vlldm erratum work-around.
20 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
22 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
24 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
26 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
27 (gcov_type_unsigned): Likewise.
29 2021-08-14 Stafford Horne <shorne@gmail.com>
32 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
33 * config/or1k/t-crtstuff: New file.
35 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
37 * libgcov-driver.c (#include <stdint.h>): Remove.
38 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
40 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
42 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
43 * gcov.h (gcov_info): Declare.
44 (__gcov_info_to_gdca): Likewise.
45 * libgcov.h (gcov_write_counter): Remove.
46 (gcov_write_tag_length): Likewise.
47 * libgcov-driver.c (#include <stdint.h>): New.
48 (#include <string.h>): Remove.
49 (NEED_L_GCOV): Conditionally define.
50 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
51 (are_all_counters_zero): New.
52 (gcov_dump_handler): Likewise.
53 (gcov_allocate_handler): Likewise.
54 (dump_unsigned): Likewise.
55 (dump_counter): Likewise.
56 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
57 Use dump_unsigned() and dump_counter().
58 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
59 dump_unsigned(), dump_counter(), and are_all_counters_zero().
60 (__gcov_info_to_gcda): New.
62 2021-08-05 Jakub Jelinek <jakub@redhat.com>
64 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
65 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
66 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
67 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
69 2021-08-04 Jakub Jelinek <jakub@redhat.com>
71 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
73 2021-07-15 Alan Modra <amodra@gmail.com>
75 * config/rs6000/morestack.S (R2_SAVE): Define.
76 (__morestack): Save and restore r2. Set up r2 for called
79 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
81 * soft-fp/extendhfxf2.c: New file.
82 * soft-fp/truncxfhf2.c: Likewise.
84 2021-06-29 Julian Brown <julian@codesourcery.com>
86 * config/gcn/lib2-bswapti2.c: New file.
87 * config/gcn/lib2-divmod-di.c: New file.
88 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
90 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
91 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
94 2021-06-29 Julian Brown <julian@codesourcery.com>
96 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
97 return types to USItype.
98 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
100 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
102 * configure: Regenerate.
103 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
104 typos among the name, CFLAGS and the test.
105 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
106 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
108 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
109 macro FLOAT128_HW_INSNS_ISA3_1.
110 (FP128_3_1_CFLAGS_HW): Fix option typo.
111 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
112 FLOAT128_HW_INSNS_ISA3_1.
113 (__floattikf_resolve): Likewise.
114 (__floatuntikf_resolve): Likewise.
115 (__fixkfti_resolve): Likewise.
116 (__fixunskfti_resolve): Likewise.
117 (__floattikf): Likewise.
118 (__floatuntikf): Likewise.
119 (__fixkfti): Likewise.
120 (__fixunskfti): Likewise.
122 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
125 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
127 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
128 on passing -mcmse option.
130 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
132 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
135 2021-06-09 Carl Love <cel@us.ibm.com>
137 * config.host: Add if test and set for
138 libgcc_cv_powerpc_3_1_float128_hw.
139 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
140 Change calls of __fixkfti to __fixkfti_sw.
141 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
142 Change calls of __fixunskfti to __fixunskfti_sw.
143 * config/rs6000/float128-p10.c (__floattikf_hw,
144 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
145 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
146 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
147 __fixunskfti_resolve): Add resolve functions.
148 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
149 * config/rs6000/float128-sed (floattitf, __floatuntitf,
150 __fixtfti, __fixunstfti): Add editor commands to change names.
151 * config/rs6000/float128-sed-hw (__floattitf,
152 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
154 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
155 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
156 * config/rs6000/quad-float128.h (__floattikf_sw,
157 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
158 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
159 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
160 * config/rs6000/t-float128 (floattikf, floatuntikf,
161 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
162 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
163 file names to fp128_ppc_funcs.
164 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
165 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
166 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
167 * config/rs6000/t-float128-p10-hw: New file.
168 * configure: Update script for isa 3.1 128-bit float support.
169 * configure.ac: Add check for 128-bit float hardware support.
170 * config/rs6000/fixkfti-sw.c: New file.
171 * config/rs6000/fixunskfti-sw.c: New file.
172 * config/rs6000/floattikf-sw.c: New file.
173 * config/rs6000/floatuntikf-sw.c: New file.
175 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
177 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
179 2021-05-13 Martin Liska <mliska@suse.cz>
181 * libgcov-driver.c: Fix GNU coding style.
183 2021-05-10 Martin Liska <mliska@suse.cz>
185 * libgcov-driver.c (gcov_version): Use different name that does
186 not clash with newly introduced macro.
188 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
190 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
191 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
192 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
194 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
196 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
198 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
199 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
201 (__divkc3): Improve complex divide.
203 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
206 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
207 trampoline size comparison in 32-bit by reversing test and
208 combining load immediate with compare.
209 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
210 in 32-bit by reversing test and combining load immediate with
213 2021-04-05 Florian Weimer <fweimer@redhat.com>
214 Michael Meissner <meissner@linux.ibm.com>
216 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
217 point functions for $(decimal_float) only.
219 2021-04-03 Jakub Jelinek <jakub@redhat.com>
222 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
223 $(objext) instead of $(object). Use _floatunditf instead of
224 _floatunsditf. Add tf <-> ti conversion objects.
225 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
227 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
229 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
230 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
231 (fp128_decstr_objs): Delete.
232 * dfp-bit.h: Call __sprintfieee128 to do conversions from
233 _Float128 to a Decimal type. Call __strtoieee128 to do
234 conversions from a Decimal type to _Float128.
235 * config/rs6000/_sprintfkf.c: Delete file.
236 * config/rs6000/_sprintfkf.h: Delete file.
237 * config/rs6000/_strtokf.c: Delete file.
238 * config/rs6000/_strtokf.h: Delete file.
240 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
242 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
245 2021-03-06 Jakub Jelinek <jakub@redhat.com>
247 PR gcov-profile/99406
248 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
249 defined, define these macros if not defined already.
251 2021-03-04 Martin Liska <mliska@suse.cz>
253 PR gcov-profile/99105
254 * libgcov-driver.c (write_top_counters): Rename to ...
255 (write_topn_counters): ... this.
256 (write_one_data): Pre-allocate buffer for number of items
257 in the corresponding linked lists.
258 * libgcov.h (malloc_mmap): New function.
259 (allocate_gcov_kvp): Use it.
261 2021-03-04 Martin Liska <mliska@suse.cz>
263 PR gcov-profile/99385
264 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
266 2021-03-03 Martin Liska <mliska@suse.cz>
268 PR gcov-profile/97461
269 * config.in: Regenerate.
270 * configure: Likewise.
271 * configure.ac: Check sys/mman.h header file
272 * libgcov-driver.c (struct gcov_kvp): Remove static
273 pre-allocated pool and use a dynamic one.
274 * libgcov.h (MMAP_CHUNK_SIZE): New.
275 (gcov_counter_add): Use mmap to allocate pool for struct
278 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
280 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
282 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
284 2021-02-24 Jakub Jelinek <jakub@redhat.com>
287 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
288 negation of m in unsigned type.
290 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
291 Hau Hsu <hsuhau617@gmail.com>
294 * config/arm/t-arm: Fix cmse support detection.
296 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
298 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
300 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
302 * config/rs6000/_dd_to_kf.c: New file.
303 * config/rs6000/_kf_to_dd.c: New file.
304 * config/rs6000/_kf_to_sd.c: New file.
305 * config/rs6000/_kf_to_td.c: New file.
306 * config/rs6000/_sd_to_kf.c: New file.
307 * config/rs6000/_sprintfkf.c: New file.
308 * config/rs6000/_sprintfkf.h: New file.
309 * config/rs6000/_strtokf.h: New file.
310 * config/rs6000/_strtokf.c: New file.
311 * config/rs6000/_td_to_kf.c: New file.
312 * config/rs6000/quad-float128.h: Add new declarations.
313 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
314 (fp128_decstr_funcs): New macro.
315 (ibm128_dec_funcs): New macro.
316 (fp128_ppc_funcs): Add the new conversions.
317 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
318 compiled with -mabi=ieeelongdouble.
319 (fp128_decstr_objs): Force __float128 <-> string conversions to be
320 compiled with -mabi=ibmlongdouble.
321 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
322 compiled with -mabi=ieeelongdouble.
323 (FP128_CFLAGS_DECIMAL): New macro.
324 (IBM128_CFLAGS_DECIMAL): New macro.
325 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
326 (BFP_TO_DFP): Add PowerPC _Float128 support.
327 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
328 IEEE 128-bit floating point.
329 (DFP_TO_BFP): Add PowerPC _Float128 support.
330 (BFP_TO_DFP): Add PowerPC _Float128 support.
331 (BFP_SPRINTF): New macro.
333 2021-01-27 Jakub Jelinek <jakub@redhat.com>
335 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
336 * config/i386/savms64f.h: Likewise.
337 * config/i386/resms64.h: Likewise.
338 * config/i386/resms64f.h: Likewise.
339 * config/i386/resms64x.h: Likewise.
340 * config/i386/resms64fx.h: Likewise.
342 2021-01-26 Martin Liska <mliska@suse.cz>
344 PR gcov-profile/98739
345 * libgcov.h (gcov_topn_add_value): Do not train when
346 we have a merged profile with a negative number of total
349 2021-01-25 Martin Liska <mliska@suse.cz>
351 PR gcov-profile/98739
352 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
353 ends with a dropped counter.
354 * libgcov.h (gcov_topn_add_value): Add return value.
356 2021-01-13 Stafford Horne <shorne@gmail.com>
358 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
359 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
360 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
361 FP_EX_ALL): New constant macros.
362 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
363 FP_HANDLE_EXCEPTIONS): New macros.
364 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
366 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
368 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
369 posix siginfo case to struct handler_args. Detect between legacy
370 and siginfo from the second parameter, which is a small sigcode in
371 the legacy case, and a pointer in the siginfo case.
373 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
375 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
377 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
380 2020-12-08 Ian Lance Taylor <iant@golang.org>
382 * generic-morestack-thread.c (free_segments): Block signals during
385 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
389 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
390 (IBM128_SHARED_OBJS): New make variable.
391 (IBM128_OBJS): New make variable. Set all objects to use the
392 explicit IBM format, and disable gnu attributes.
393 (IBM128_CFLAGS): New make variable.
394 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
397 2020-12-03 Alexandre Oliva <oliva@adacore.com>
399 * config/t-vxworks (LIB2ADD): Drop.
400 * config/t-vxworks7 (LIB2ADD): Likewise.
401 * config/vxcache.c: Remove.
403 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
405 * libgcc2.c (bswapsi2): Make constants unsigned.
407 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
409 * libgcc2.c (absvSI2): Simplify/improve implementation by using
410 builtin_add_overflow.
411 (absvsi2, absvDI2): Likewise.
413 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
415 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
416 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
418 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
420 * config/msp430/lib2hw_mul.S (mult64_hw): New.
421 (if MUL_32): Use mult64_hw for __muldi3.
422 (if MUL_F5): Use mult64_hw for __muldi3.
423 * config/msp430/lib2mul.c (__muldi3): New.
424 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
426 2020-11-17 Alan Modra <amodra@gmail.com>
428 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
429 (LIB2_SIDITI_CONV_FUNCS): Define.
430 * config/rs6000/ppc64-fp.c: Delete file.
432 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
434 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
435 hwmult library functions.
437 2020-11-10 Jeff Law <law@redhat.com>
439 * libgcc2.c: Fix whitespace issues in most recent change.
441 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
443 * libgcc2.c (__addvSI3): Use overflow builtins.
444 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
445 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
446 (__negvsi2, __negvDI2): Likewise.
447 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
449 * libgcc2.h (__ucmpdi2): Adjust prototype.
451 2020-11-03 Pat Bernardi <bernardi@adacore.com>
452 Olivier Hainque <hainque@adacore.com>
454 * config.host (aarch64-vxworks7*, tmake_file): Add
455 ${cpu_type}/t-lse and t-slibgcc-libgcc.
457 2020-11-03 Martin Storsjö <martin@martin.st>
459 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
460 before calling the callback.
462 2020-10-30 Olivier Hainque <hainque@adacore.com>
463 Douglas Rupp <rupp@adacore.com>
464 Pat Bernardi <bernardi@adacore.com>
466 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
467 to apply to VxWorks 7 as well.
469 2020-10-29 Olivier Hainque <hainque@adacore.com>
471 * config/gthr-vxworks-tls.c: Fix preprocessor logic
472 controlling the definition of VX_ENTER_TLS_DTOR and
473 VX_LEAVE_TLS_DTOR based on a version major check.
475 2020-10-29 Olivier Hainque <hainque@adacore.com>
477 * config/gthr-vxworks-thread.c: Fix name of macro used
478 to condition the inclusion of an actual implementation.
480 2020-10-27 Martin Liska <mliska@suse.cz>
482 PR gcov-profile/97461
483 * libgcov.h (gcov_counter_add): Use first static counters
484 as it should help to have malloc wrappers set up.
486 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
488 * config/gthr-vxworks-thread.c: #include gthr.h before
489 testing the guard defined there.
490 * config/gthr-vxworks-cond.c: Likewise.
492 2020-10-21 Douglas Rupp <rupp@adacore.com>
493 Olivier Hainque <hainque@adacore.com>
495 * config.host (powerpc*-wrs-vxworks7*): New case.
496 * configure.ac: Handle powerpc*-*-vxworks7* as
497 powerpc*-*-linux* for ppc-fp_type.
498 * configure: Regenerate.
500 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
502 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
503 section on VxWorks >= 6.
504 * config/gthr-vxworks-thread.c: Condition the entire
505 implementation on __GTHREAD_CXX0X.
507 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
509 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
510 section on VxWorks >= 6.
511 * config/gthr-vxworks-cond.c: Condition the entire
512 implementation on __GTHREAD_HAS_COND.
514 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
516 * config/gthr-vxworks.c: #include <taskLib.h>.
518 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
520 * config/gthr-vxworks.h: Rewrite remaining occurrence
521 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
523 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
524 Olivier Hainque <hainque@adacore.com>
526 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
529 2020-10-16 Olivier Hainque <hainque@adacore.com>
531 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
533 2020-10-14 Alexandre Oliva <oliva@adacore.com>
535 * config/gthr-vxworks-thread.c: Include stdlib.h.
536 (tls_delete_hook): Prototype it.
537 (__gthread_cond_signal): Return early if no waiters. Consume
538 signal in case the semaphore got full. Use semInfoGet instead
539 of kernel-mode-only semInfo.
540 (__gthread_cond_timedwait): Use semExchange. Always take the
541 mutex again before returning.
542 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
544 2020-10-14 Olivier Hainque <hainque@adacore.com>
546 * config/t-vxworks (LIBGCC2_INCLUDES): Append
547 $(MULTISUBDIR) to the -I path for fixed headers, as we
548 arrange to have different sets of such headers for different
549 multilibs when they are activated.
550 * config/t-vxworks7: Likewise.
552 2020-10-14 Olivier Hainque <hainque@adacore.com>
554 * config/t-vxworks: Add include-fixed to include search
555 paths for libgcc on VxWorks.
556 * config/t-vxworks7: Likewise.
558 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
561 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
562 instead of <cetintrin.h>.
564 2020-10-01 Alan Modra <amodra@gmail.com>
566 * config/rs6000/morestack.S,
567 * config/rs6000/tramp.S: Support __PCREL__ code.
569 2020-10-01 Alan Modra <amodra@gmail.com>
571 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
573 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
575 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
578 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
580 * config/aarch64/libgcc-softfp.ver: New file.
581 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
583 2020-09-27 Clement Chigot <clement.chigot@atos.net>
585 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
587 2020-09-22 Sergei Trofimovich <siarheit@google.com>
589 PR gcov-profile/96913
590 * libgcov-driver.c (write_one_data): Avoid function pointer
591 comparison in TOP streaming decision.
593 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
594 Christophe Lyon <christophe.lyon@linaro.org>
596 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
598 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
599 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
602 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
604 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
605 unused variable warning.
607 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
609 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
611 2020-09-09 Tom de Vries <tdevries@suse.de>
613 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
614 Wbuiltin-declaration-mismatch.
616 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
618 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
619 * config/msp430/srai.S (__gnu_mspabi_srap): New.
620 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
622 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
624 * config/nvptx/atomic.c: New.
625 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
627 2020-08-03 Ian Lance Taylor <iant@golang.org>
629 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
631 2020-08-03 Jakub Jelinek <jakub@redhat.com>
634 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
635 of x(tmp0), x(tmp1) in STXP arguments.
637 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
639 * config/riscv/save-restore.S [__riscv_xlen == 64]
640 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
641 (__riscv_save_2): Replace negative immediates used for the final
642 stack pointer adjustment with positive ones, right-shifted by 4.
644 2020-07-31 Martin Liska <mliska@suse.cz>
646 * libgcov-driver.c: Add __gcov_kvp_pool
647 and __gcov_kvp_pool_index variables.
648 * libgcov.h (allocate_gcov_kvp): New.
649 (gcov_topn_add_value): Use it.
651 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
653 * config/aarch64/lse.S: Add PAC property note.
655 2020-07-23 Martin Liska <mliska@suse.cz>
657 PR gcov-profile/96035
658 * libgcov-driver-system.c: Create gcov folders with 0777
659 so that it respects a system umask.
661 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
663 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
665 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
668 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
669 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
670 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
671 (MD_DEMANGLE_RETURN_ADDR): This.
672 (aarch64_post_extract_frame_addr): Rename to ...
673 (aarch64_demangle_return_addr): This.
674 (aarch64_post_frob_eh_handler_addr): Remove.
675 * unwind-dw2.c (uw_update_context): Demangle return address.
676 (uw_frob_return_addr): Remove.
678 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
681 * config/aarch64/lse.S: Add BTI marking and related definitions,
682 and add BTI c to function entries.
684 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
686 * config/aarch64/lse.S: Add stack note.
688 2020-07-02 Martin Liska <mliska@suse.cz>
690 PR gcov-profile/95348
691 * libgcov-driver.c (merge_one_data): Merge only profiles
692 that are not of non-zero type.
693 (write_one_data): Write counters only if there's one non-zero
695 * libgcov-util.c (tag_function): Change signature from unsigned
697 (tag_blocks): Likewise.
698 (tag_arcs): Likewise.
699 (tag_counters): Likewise.
700 (tag_summary): Likewise.
701 (tag_lines): Read only if COUNTERS is non-zero.
702 (read_gcda_file): Handle negative length for COUNTERS type.
704 2020-06-25 Martin Liska <mliska@suse.cz>
706 * libgcov-driver.c (merge_summary): Remove function as its name
707 is misleading and doing something different.
708 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
710 * libgcov-util.c (curr_object_summary): Remove.
711 (read_gcda_file): Remove unused curr_object_summary.
712 (gcov_merge): Merge summaries.
713 * libgcov.h: Add summary argument for gcov_info struct.
715 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
718 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
719 "common/config/i386/i386-cpuinfo.h" and
720 "common/config/i386/cpuinfo.h".
721 (__cpu_features2): Changed to array.
722 (get_amd_cpu): Removed.
723 (get_intel_cpu): Likewise.
724 (get_available_features): Likewise.
725 (__cpu_indicator_init): Call cpu_indicator_init.
726 * config/i386/cpuinfo.h: Removed.
728 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
730 * Makefile.in: Remove uses of empty.mk. Use -include.
731 * config/avr/t-avr: Use -include.
734 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
736 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
737 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
738 and 64 bit with -maix64.
739 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
740 Build and install AIX-style FAT libraries.
742 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
744 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
746 * config/i386/gnu-unwind.h: New file.
748 2020-06-17 Martin Liska <mliska@suse.cz>
750 * libgcov-util.c (read_gcda_finalize): Remove const operator.
751 (merge_wrapper): Add both counts and use them properly.
752 (topn_to_memory_representation): New function.
753 (gcov_merge): Covert on disk representation to in memory
755 * libgcov.h: Remove const operator.
757 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
759 * configure: Regenerate.
760 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
761 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
763 2020-06-09 Martin Liska <mliska@suse.cz>
765 PR gcov-profile/95494
766 * libgcov-driver.c (write_top_counters): Cast first to
767 intptr_t as sizeof(*) != sizeof(gcov_type).
768 * libgcov.h (gcov_counter_set_if_null): Remove.
769 (gcov_topn_add_value): Cast first to intptr_t and update
770 linked list directly.
772 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
774 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
775 with uw_install_context_1.
777 2020-06-04 Andreas Schwab <schwab@suse.de>
781 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
783 (LIB2ADD): Add config/ia64/divtf3.c.
784 * config/ia64/divtf3.c: New file.
786 2020-06-03 Martin Liska <mliska@suse.cz>
788 PR gcov-profile/95480
789 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
790 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
791 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
792 (gcov_counter_set_if_null): Likewise.
794 2020-06-02 Jim Wilson <jimw@sifive.com>
796 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
799 2020-06-02 Martin Liska <mliska@suse.cz>
801 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
804 2020-06-02 Martin Liska <mliska@suse.cz>
806 * libgcov-driver.c (prune_topn_counter): Remove.
807 (prune_counters): Likewise.
808 (merge_one_data): Special case TOP N counters
809 as they have variable length.
810 (write_top_counters): New.
811 (write_one_data): Special case TOP N.
812 (dump_one_gcov): Do not prune TOP N counters.
813 * libgcov-merge.c (merge_topn_values_set): Remove.
814 (__gcov_merge_topn): Use gcov_topn_add_value.
815 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
817 * libgcov.h (gcov_counter_add): New.
818 (gcov_counter_set_if_null): Likewise.
819 (gcov_topn_add_value): New.
821 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
823 * config/i386/sfp-exceptions.c (struct fenv):
824 Add __attribute__ ((gcc_struct)).
826 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
829 * configure: Regenerated.
831 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
833 PR gcov-profile/95332
834 * libgcov-util.c (read_gcda_file): Call gcov_magic.
835 * libgcov.h (gcov_magic): Disable GCC poison.
837 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
840 * config/i386/cpuinfo.h (processor_features): Move
841 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
843 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
846 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
849 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
853 * config/i386/cpuinfo.c (get_available_features): Fix
854 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
855 * config/i386/cpuinfo.h (processor_features): Add
856 FEATURE_AVX512VP2INTERSECT.
858 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
861 * configure: Regenerated.
863 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
865 * configure: Regenerated.
867 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
869 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
870 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
872 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
874 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
875 (__math_force_eval_div): New define.
876 (__sfp_handle_exceptions): Use __math_force_eval_div to use
877 generic division to generate INVALID, DIVZERO and INEXACT
880 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
882 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
883 instead of getauxval.
885 (HWCAP_ATOMICS): Define.
886 Guard detection on __gnu_linux__.
888 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
890 * config.host: Delete changes meant for a private branch.
891 * config/rs6000/t-float128: Likewise.
892 * configure.ac: Likewise.
893 * configure: Likewise.
895 2020-05-05 Martin Liska <mliska@suse.cz>
897 PR gcov-profile/93623
898 * Makefile.in: Remove __gcov_flush.
899 * gcov.h (__gcov_flush): Remove.
900 * libgcov-interface.c (__gcov_flush): Remove.
901 (init_mx): Use renamed mutex.
902 (__gcov_lock): Likewise.
903 (__gcov_unlock): Likewise.
904 (__gcov_fork): Likewise.
905 (__gcov_flush): Remove.
907 2020-05-05 Martin Liska <mliska@suse.cz>
909 PR gcov-profile/93623
910 * libgcov-interface.c (__gcov_fork): Do not flush
911 and reset only in child process.
912 (__gcov_execl): Dump counters only and reset them
914 (__gcov_execlp): Likewise.
915 (__gcov_execle): Likewise.
916 (__gcov_execv): Likewise.
917 (__gcov_execvp): Likewise.
918 (__gcov_execve): Likewise.
920 2020-05-05 Martin Liska <mliska@suse.cz>
922 PR gcov-profile/93623
923 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
924 * libgcov-interface.c (ALIAS_void_fn): Remove.
926 (__gcov_unlock): New.
927 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
928 (__gcov_reset): Likewise.
929 (__gcov_dump): Likewise.
930 * libgcov.h (__gcov_lock): New declaration.
931 (__gcov_unlock): Likewise.
933 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
935 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
936 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
937 generic division to generate INVALID and DIVZERO exceptions.
939 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
941 * config/rs6000/crtresfpr.S: Use .machine ppc.
942 * config/rs6000/crtresxfpr.S: Likewise.
943 * config/rs6000/crtsavfpr.S: Likewise.
945 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
948 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
949 Update context->flags accroding to the frame state.
951 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
953 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
954 Remove unneeded assignments to volatile memory.
956 2020-04-15 Jakub Jelinek <jakub@redhat.com>
959 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
960 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
961 is not defined, use just .arch armv8-a.
962 (B, M, N, OPN): Define.
963 (COMMENT): New .macro.
964 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
965 defined. Otherwise, move the operands right after the glue? and
966 comment out operands where the macros are used.
967 * configure: Regenerated.
968 * config.in: Regenerated.
970 2020-04-07 Ian Lance Taylor <iant@golang.org>
973 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
976 2020-04-04 Ian Lance Taylor <iant@golang.org>
978 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
980 2020-04-03 Ian Lance Taylor <iant@golang.org>
982 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
983 than mmap/munmap, to avoid hooks.
985 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
987 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
988 (TPFRA_OFFSET): Macros removed.
989 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
990 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
991 (PG3_SKIPPING_OFFSET): New macros.
992 (__isPATrange): Use cinfc_fast for the check.
993 (__isSkipResetAddr): New function.
994 (s390_fallback_frame_state): Check for skip trace addresses. Use
995 either ICST_CRET or ICST_SRET to calculate return address
997 (__tpf_eh_return): Handle skip trace addresses.
999 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
1002 * config/arm/lib1funcs.asm (COND): Use a single definition for
1004 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1005 (aeabi_idivmod): Likewise.
1006 (divsi3_skip_div0_test): Likewise.
1008 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1010 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1012 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1014 * config.host: Include the new makefile fragment.
1015 * config/s390/t-tpf: New file.
1017 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
1019 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1021 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1022 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1023 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1024 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1025 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1027 (divsi3, modsi3): Likewise.
1028 (clzdi2, ctzsi2): Likewise.
1029 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1031 (UNWIND_WRAPPER): Likewise.
1033 2020-03-02 Martin Liska <mliska@suse.cz>
1035 * libgcov-interface.c: Remove duplicate
1036 declaration of __gcov_flush_mx.
1038 2020-02-18 Martin Liska <mliska@suse.cz>
1041 * libgcov-merge.c (merge_topn_values_set): Record
1042 when a TOP N counter becomes invalid. When merging
1043 remove a smallest value if the space is needed.
1045 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1050 * configure: Regenerated.
1052 2020-02-10 Jeff Law <law@redhat.com>
1054 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1056 * config/frv/frvend.c: Similarly.
1058 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1061 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1064 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1067 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1068 _Unwind_gnu_Find_got.
1069 * unwind-pe.h: Likewise.
1071 2020-02-07 Jakub Jelinek <jakub@redhat.com>
1074 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1075 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1076 trailing :s in asm. Formatting fixes.
1077 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1079 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1081 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1083 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1084 * config/nios2-elf-lib.h: New.
1085 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1086 code for finding GOT base for nios2.
1088 2020-01-27 Martin Liska <mliska@suse.cz>
1090 PR gcov-profile/93403
1091 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1092 Call __gcov_indirect_call_profiler_body.
1093 (__gcov_indirect_call_profiler_body): New.
1094 (__gcov_indirect_call_profiler_v4_atomic): New.
1095 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1098 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1100 * config/arc/crti.S: Add RF16 object attribute.
1101 * config/arc/crtn.S: Likewise.
1102 * config/arc/crttls.S: Likewise.
1103 * config/arc/lib1funcs.S: Likewise.
1104 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1105 * config/arc/lib2funcs.c: New file.
1106 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1108 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
1110 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1111 * configure.ac: Handle `--with-toolexeclibdir='.
1112 * configure: Regenerate.
1114 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1116 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1118 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1120 * config/mips/gnustack.h: New file.
1121 * config/mips/crti.S: Include gnustack.h.
1122 * config/mips/crtn.S: Likewise.
1123 * config/mips/mips16.S: Likewise.
1124 * config/mips/vr4120-div.S: Likewise.
1126 2020-01-23 Martin Liska <mliska@suse.cz>
1128 * libgcov-driver.c (prune_topn_counter): Remove
1129 check for -1 as we only prune run-time counters
1130 that do not generate an invalid state.
1132 2020-01-22 Martin Liska <mliska@suse.cz>
1134 PR tree-optimization/92924
1135 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1136 try to find an existing value, then find an empty slot
1139 2020-01-22 Martin Liska <mliska@suse.cz>
1141 PR tree-optimization/92924
1142 * libgcov-driver.c (prune_topn_counter): New.
1143 (prune_counters): Likewise.
1144 (dump_one_gcov): Prune a run-time counter.
1145 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1146 For a known value, add GCOV_TOPN_VALUES to value.
1147 Otherwise, decrement all counters by one.
1149 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
1151 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1153 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
1156 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1157 DEFAULT_USE_CXA_ATEXIT is true.
1159 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
1160 Thomas Preud'homme <thomas.preudhomme@arm.com>
1162 * config/arm/t-arm: Check return value of gcc rather than lack of
1165 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
1167 * config/avr/lib1funcs.S (skip): Simplify.
1169 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1171 * config/gcn/atomic.c: Remove include of stdint.h.
1172 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1175 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1177 * config/gcn/atomic.c: New.
1178 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1180 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
1182 Implement 64-bit double functions.
1185 * config.host (tmake_file) [target=avr]: Add t-libf7,
1186 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1187 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1188 depending on sizeof (double) or sizeof (long double).
1189 * config/avr/libf7: New folder.
1191 2020-01-05 Olivier Hainque <hainque@adacore.com>
1193 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1196 2020-01-01 Jakub Jelinek <jakub@redhat.com>
1198 Update copyright years.
1200 2019-12-30 Olivier Hainque <hainque@adacore.com>
1202 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1203 * config/gthr-vxworks-tls.c: Likewise.
1205 2019-12-30 Olivier Hainque <hainque@adacore.com>
1207 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1208 standard zero-initializer syntax.
1210 2019-12-30 Olivier Hainque <hainque@adacore.com>
1212 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1213 reference to the internal VX_GET_TLS_DATA interface.
1215 2019-12-30 Olivier Hainque <hainque@adacore.com>
1217 * config/vxcrtstuff.c: Fix incorrect spelling of
1218 USE_INITFINI_ARRAY in guard.
1220 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1222 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1223 Override default "extra_parts" variable.
1224 * configure: Regenerate.
1225 * configure.ac: Disable TM clone registry by default for
1228 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1230 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1232 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1234 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1236 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1239 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1241 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1242 defined instead of its value.
1244 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1246 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1247 if it will have contents.
1249 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
1252 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1254 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1257 * config.host: Add t-gthr-noweak on *-*-musl*.
1258 * config/t-gthr-noweak: New file.
1260 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
1262 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1263 volatile void *. Remove trap check.
1264 (__kernel_cmpxchg2): Likewise.
1265 (FETCH_AND_OP_2): Adjust operand types.
1266 (OP_AND_FETCH_2): Likewise.
1267 (FETCH_AND_OP_WORD): Likewise.
1268 (OP_AND_FETCH_WORD): Likewise.
1269 (COMPARE_AND_SWAP_2): Likewise.
1270 (__sync_val_compare_and_swap_4): Likewise.
1271 (__sync_bool_compare_and_swap_4): Likewise.
1272 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1273 (__sync_lock_test_and_set_4): Likewise.
1274 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1275 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1277 (__sync_lock_release_8): Remove.
1279 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1281 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1284 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
1285 Doug Rupp <rupp@adacore.com>
1286 Olivier Hainque <hainque@adacore.com>
1288 * config.host: Collapse the arm-vxworks entries into
1289 a single arm-wrs-vxworks7* one.
1290 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1291 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1292 kernel modules, to be overriden by libstdc++ when we link with
1293 it. Rely on externally provided __exidx_start/end.
1295 2019-11-14 Doug Rupp <rupp@adacore.com>
1296 Olivier Hainque <hainque@adacore.com>
1298 * config.host: Handle aarch64*-wrs-vxworks7*.
1300 2019-11-12 Olivier Hainque <hainque@adacore.com>
1302 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1303 sources except the cxx0x support to LIB2ADDEH. We don't support
1305 * config/t-vxworksae: New file.
1306 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1307 Makefile fragment files at their expected position in the tmake_file
1308 list, in accordance with what is done for other VxWorks variants.
1310 2019-11-12 Corentin Gay <gay@adacore.com>
1311 Jerome Lambourg <lambourg@adacore.com>
1312 Olivier Hainque <hainque@adacore.com>
1314 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1315 sources to LIB2ADDEH.
1316 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1317 * config/t-vxworks7: Likewise.
1319 * config.host: Append a block at the end of the file to add the
1320 t-gthr files to the tmake_file list for VxWorks after everything
1323 * config/vxlib.c: Rename as gthr-vxworks.c.
1324 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1326 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1327 API and a basic error checking API, both internal. Simplify the
1328 __gthread_once_t type definition and initializers. Add sections
1329 for condition variables support and for the C++0x thread support,
1330 conditioned against Vx653 for the latter.
1332 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1333 implementation, leveraging the TAS internal API.
1334 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1335 API, leveraging the general availability of TLS services in VxWorks7
1337 (__gthread_setspecific, __gthread_setspecific): Use it.
1338 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1339 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1340 support based on VxWorks primitives.
1341 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1342 based on VxWorks primitives.
1344 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
1345 Olivier Hainque <hainque@adacore.com>
1347 * config/vxcrtstuff.c: New file.
1348 * config/t-vxcrtstuff: New Makefile fragment.
1349 * config.host: Append t-vxcrtstuff to the tmake_file list
1350 on all VxWorks ports using dwarf for table based EH.
1352 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
1354 Support 64-bit double and 64-bit long double configurations.
1357 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1358 long double is a 32-bit type.
1359 * config/avr/t-avrlibc: Copy double64 and long-double64
1360 multilib(s) from the vanilla one.
1361 * config/avr/t-copy-libgcc: New Makefile snip.
1363 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1365 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1366 the target output object format is not ELF.
1367 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1369 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1372 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1373 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1374 FLOAT_BIT_ORDER_MISMATCH.
1375 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1377 2019-11-01 Jim Wilson <jimw@sifive.com>
1379 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1381 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1383 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1384 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1385 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1386 Define symbols for 32-bit and f5series hardware multiply
1388 Replace hard-coded register addresses with symbols.
1389 Fix "_mspabi*" typo.
1391 * config/msp430/lib2mul.c: Add comment.
1393 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
1395 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1396 unsigned int. Adjust callers.
1397 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1398 unsigned int *. Load relocation offset before function pointer.
1399 Add barrier to ensure ordering.
1401 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
1403 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1404 Load PIC register after branch target. Fix white space.
1405 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1406 implementations. Load PIC register after branch target. Don't
1407 clobber function pointer when it points to function descriptor.
1408 Use nullification instead of branch in LINUX implementation.
1410 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
1412 * config/pa/fptr.c: Disable -Warray-bounds warning.
1414 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
1416 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1417 not the ubuntu modified 2.69.
1420 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1421 initialization if !HAVE_SYS_AUXV_H.
1422 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1423 * config.in, configure: Rebuild.
1426 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1429 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1431 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1432 CTR_EL0.IDC and CTR_EL0.DIC.
1434 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1437 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1438 Mickaël Guêné <mickael.guene@st.com>
1440 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1443 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1445 * config/aarch64/lse-init.c: New file.
1446 * config/aarch64/lse.S: New file.
1447 * config/aarch64/t-lse: New file.
1448 * config.host: Add t-lse to all aarch64 tuples.
1450 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1451 Mickaël Guêné <mickael.guene@st.com>
1453 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1456 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1457 Mickaël Guêné <mickael.guene@st.com>
1459 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1460 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1461 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1462 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1463 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1464 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1465 (__gnu_personality_sigframe_fdpic): New.
1466 (get_eit_entry): Add FDPIC signal frame support.
1468 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1469 Mickaël Guêné <mickael.guene@st.com>
1471 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1472 (__kernel_dmb): Likewise.
1473 (__fdpic_cmpxchg): New function.
1474 (__fdpic_dmb): New function.
1475 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1476 (gnu_Unwind_Find_got): New function.
1477 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1478 * unwind-arm-common.inc (UCB_PR_GOT): New.
1479 (funcdesc_t): New struct.
1480 (get_eit_entry): Add FDPIC support.
1481 (unwind_phase2): Likewise.
1482 (unwind_phase2_forced): Likewise.
1483 (__gnu_Unwind_RaiseException): Likewise.
1484 (__gnu_Unwind_Resume): Likewise.
1485 (__gnu_Unwind_Backtrace): Likewise.
1486 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1488 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1489 Mickaël Guêné <mickael.guene@st.com>
1491 * libgcc/crtstuff.c: Add support for FDPIC.
1493 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1495 * config.host: Handle *-*-uclinuxfdpiceabi.
1497 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1499 * config.host: Set cpu_type for bpf-*-* targets.
1500 * config/bpf/t-bpf: Likewise.
1501 * config/bpf/crtn.S: Likewise.
1502 * config/bpf/crti.S: New file.
1504 2019-09-06 Jim Wilson <jimw@sifive.com>
1506 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1507 (riscv*-*-freebsd*): Likewise.
1509 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1511 * config.host: Remove references to spu.
1512 * config/spu/: Remove directory.
1514 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1517 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1518 element type, instead of "sizeof" the element type.
1519 (__DTOR_LIST__): Likewise.
1520 (__TMC_LIST__): Likewise.
1521 (__do_global_dtors_aux_fini_array_entry): Likewise.
1522 (__frame_dummy_init_array_entry): Likewise.
1523 (__CTOR_END__): Likewise.
1524 (__DTOR_END__): Likweise.
1525 (__FRAME_END__): Likewise.
1526 (__TMC_END__): Likewise.
1528 2019-08-20 Lili Cui <lilicui@intel.com>
1530 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1531 INTEL_COREI7_COOPERLAKE.
1533 2019-07-31 Matt Thomas <matt@3am-software.com>
1534 Nick Hudson <nick@nthcliff.demon.co.uk>
1535 Matthew Green <mrg@eterna.com.au>
1536 Maya Rashish <coypu@sdf.org>
1538 * config.host (hppa*-*-netbsd*): New case.
1539 * config/pa/t-netbsd: New file.
1541 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1543 * config/arm/cmse.c (cmse_check_address_range): Add
1544 warn_unused_result attribute.
1546 2019-07-22 Martin Liska <mliska@suse.cz>
1548 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1549 * config/pa/t-stublib: Likewise.
1551 2019-07-22 Stafford Horne <shorne@gmail.com>
1554 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1555 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1556 instructions are not available on every processor. Change a
1557 l.bnf to l.bf to fix logic issue.
1559 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1561 * config.host: Remove reference to t-darwin8.
1563 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1565 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1567 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1568 mmacosx-version-min for crts to run across all system versions.
1569 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1570 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1571 system versions >= 10.4.
1573 2019-07-03 Martin Liska <mliska@suse.cz>
1575 * Makefile.in: Use topn_values instead of one_value names.
1576 * libgcov-merge.c (__gcov_merge_single): Move to ...
1577 (__gcov_merge_topn): ... this.
1578 (merge_single_value_set): Move to ...
1579 (merge_topn_values_set): ... this.
1580 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1582 (__gcov_topn_values_profiler_body): ... this.
1583 (__gcov_one_value_profiler_v2): Move to ...
1584 (__gcov_topn_values_profiler): ... this.
1585 (__gcov_one_value_profiler_v2_atomic): Move to ...
1586 (__gcov_topn_values_profiler_atomic): ... this.
1587 (__gcov_indirect_call_profiler_v4): Remove.
1588 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1589 (__gcov_topn_counter_op): ... this.
1590 * libgcov.h (L_gcov_merge_single): Remove.
1591 (L_gcov_merge_topn): New.
1592 (__gcov_merge_single): Remove.
1593 (__gcov_merge_topn): New.
1594 (__gcov_one_value_profiler_v2): Move to ..
1595 (__gcov_topn_values_profiler): ... this.
1596 (__gcov_one_value_profiler_v2_atomic): Move to ...
1597 (__gcov_topn_values_profiler_atomic): ... this.
1599 2019-07-03 Martin Liska <mliska@suse.cz>
1601 * libgcov-merge.c (merge_single_value_set): Support N values.
1602 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1604 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1606 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1607 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1608 * configure.ac: Add --disable-tm-clone-registry option.
1609 * configure: Regenerate.
1611 2019-06-27 Martin Liska <mliska@suse.cz>
1613 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1615 * libgcov-util.c: Likewise.
1617 2019-06-27 Martin Liska <mliska@suse.cz>
1619 * libgcov-util.c (gcov_profile_merge): Release allocated
1621 (calculate_overlap): Likewise.
1623 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1625 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1626 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1627 Build objects for the out of line save/restore register functions
1628 so that they can be used for any supported Darwin version.
1629 * config/t-darwin: Default the build Darwin version to Darwin8
1632 2019-06-25 Martin Liska <mliska@suse.cz>
1634 * libgcov-driver-system.c (replace_filename_variables): Do not
1635 call strlen with NULL argument.
1637 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1639 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1640 * config/gcn/unwind-gcn.c: New file.
1642 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1643 Andrew Stubbs <ams@codesourcery.com>
1645 * configure: Regenerate.
1646 * config/gcn/gthr-gcn.h: New.
1648 2019-06-18 Tom de Vries <tdevries@suse.de>
1650 * config/nvptx/crt0.c (__main): Declare.
1652 2019-06-17 Matthew Green <mrg@eterna.com.au>
1653 Maya Rashish <coypu@sdf.org>
1655 * config.host (aarch64*-*-netbsd*): New case.
1657 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1659 * config/msp430/slli.S (__mspabi_sllll): New library function for
1660 performing a logical left shift of a 64-bit value.
1661 * config/msp430/srai.S (__mspabi_srall): New library function for
1662 performing a arithmetic right shift of a 64-bit value.
1663 * config/msp430/srll.S (__mspabi_srlll): New library function for
1664 performing a logical right shift of a 64-bit value.
1666 2019-06-14 Matt Thomas <matt@3am-software.com>
1667 Matthew Green <mrg@eterna.com.au>
1668 Nick Hudson <skrll@netbsd.org>
1669 Maya Rashish <coypu@sdf.org>
1671 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1672 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1674 * config/arm/t-netbsd-eabi: New file.
1676 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1678 * config.host: Add PRU target.
1679 * config/pru/asri.c: New file.
1680 * config/pru/eqd.c: New file.
1681 * config/pru/eqf.c: New file.
1682 * config/pru/ged.c: New file.
1683 * config/pru/gef.c: New file.
1684 * config/pru/gtd.c: New file.
1685 * config/pru/gtf.c: New file.
1686 * config/pru/led.c: New file.
1687 * config/pru/lef.c: New file.
1688 * config/pru/lib2bitcountHI.c: New file.
1689 * config/pru/lib2divHI.c: New file.
1690 * config/pru/lib2divQI.c: New file.
1691 * config/pru/lib2divSI.c: New file.
1692 * config/pru/libgcc-eabi.ver: New file.
1693 * config/pru/ltd.c: New file.
1694 * config/pru/ltf.c: New file.
1695 * config/pru/mpyll.S: New file.
1696 * config/pru/pru-abi.h: New file.
1697 * config/pru/pru-asm.h: New file.
1698 * config/pru/pru-divmod.h: New file.
1699 * config/pru/sfp-machine.h: New file.
1700 * config/pru/t-pru: New file.
1702 2019-06-11 Jakub Jelinek <jakub@redhat.com>
1704 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1706 2019-06-10 Martin Liska <mliska@suse.cz>
1709 * libgcov.h: Add ATTRIBUTE_UNUSED.
1711 2019-06-10 Martin Liska <mliska@suse.cz>
1713 * Makefile.in: Add __gcov_one_value_profiler_v2,
1714 __gcov_one_value_profiler_v2_atomic and
1715 __gcov_indirect_call_profiler_v4.
1716 * libgcov-merge.c (__gcov_merge_single): Change
1718 (merge_single_value_set): New.
1719 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1720 Update functionality.
1721 (__gcov_one_value_profiler): Remove.
1722 (__gcov_one_value_profiler_v2): ... this.
1723 (__gcov_one_value_profiler_atomic): Rename to ...
1724 (__gcov_one_value_profiler_v2_atomic): this.
1725 (__gcov_indirect_call_profiler_v3): Rename to ...
1726 (__gcov_indirect_call_profiler_v4): ... this.
1727 * libgcov.h (__gcov_one_value_profiler): Remove.
1728 (__gcov_one_value_profiler_atomic): Remove.
1729 (__gcov_one_value_profiler_v2_atomic): New.
1730 (__gcov_indirect_call_profiler_v3): Remove.
1731 (__gcov_one_value_profiler_v2): New.
1732 (__gcov_indirect_call_profiler_v4): New.
1733 (gcov_get_counter_ignore_scaling): New function.
1735 2019-06-07 Martin Liska <mliska@suse.cz>
1737 * Makefile.in: Remove usage of
1738 _gcov_merge_icall_topn.
1739 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1740 (gcov_sort_icall_topn_counter): Likewise.
1741 (gcov_sort_topn_counter_arrays): Likewise.
1742 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1743 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1744 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1746 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1747 (struct indirect_call_tuple): Remove.
1748 (__gcov_indirect_call_topn_profiler): Remove.
1749 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1750 * libgcov.h (gcov_sort_n_vals): Remove.
1751 (L_gcov_merge_icall_topn): Likewise.
1752 (__gcov_merge_icall_topn): Likewise.
1753 (__gcov_indirect_call_topn_profiler): Likewise.
1755 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1757 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1760 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1762 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1764 (__mspabi_slli): Likewise.
1765 (__mspabi_slll_n): Likewise.
1766 (__mspabi_slll): Likewise.
1767 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1768 (__mspabi_srai): Likewise.
1769 (__mspabi_sral_n): Likewise.
1770 (__mspabi_sral): Likewise.
1771 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1772 (__mspabi_srli): Likewise.
1773 (__mspabi_srll_n): Likewise.
1774 (__mspabi_srll): Likewise.
1776 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1778 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1779 Add appropriate tm_file clause as well.
1780 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1782 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1784 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1785 rather than .data/.bss so it can be accessed via gp-relative
1788 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1790 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1791 (CR2_REGNO): Rename to R_CR2.
1792 (XER_REGNO): Rename to R_XER.
1793 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1794 (VRSAVE_REGNO): Rename to R_VRSAVE.
1795 (VSCR_REGNO): R_VSCR.
1797 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1799 * config.host (rx-*-linux*): Add new case.
1800 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1802 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1804 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1806 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1807 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1808 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1809 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1810 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1811 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1813 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1815 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1817 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1819 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1820 Remove Solaris 9 and 10 support.
1821 (sparc_is_sighandler): Likewise.
1823 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1825 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1827 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1829 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1830 4_FP_W_TYPEs are used for IEEE quad precision.
1831 * soft-fp/extendhftf2.c: Likewise.
1832 * soft-fp/extendsftf2.c: Likewise.
1833 * soft-fp/extendxftf2.c: Likewise.
1834 * soft-fp/trunctfdf2.c: Likewise.
1835 * soft-fp/trunctfhf2.c: Likewise.
1836 * soft-fp/trunctfsf2.c: Likewise.
1837 * soft-fp/trunctfxf2.c: Likewise.
1838 * config/rs6000/ibm-ldouble.c: Likewise.
1840 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1842 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1844 * configure.ac: Likewise.
1845 * configure: Regenerate.
1847 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1848 Solaris 10 and Solaris 11 < snv_125 handling.
1850 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1852 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1854 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1856 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1857 * config/i386/cpuinfo.h (enum processor_features): Add
1860 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1861 Bernd Edlinger <bernd.edlinger@hotmail.de>
1862 Jakub Jelinek <jakub@redhat.com>
1865 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1866 * config/arm/unwind-arm.c: Likewise.
1867 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1870 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1872 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1873 (RT_SIGRETURN): Update.
1874 (nds32_fallback_frame_state): Update.
1876 2019-02-21 Martin Sebor <msebor@redhat.com>
1878 * libgcc2.h (__clear_cache): Correct signature.
1879 * libgcc2.c (__clear_cache): Same.
1881 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1883 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1884 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1886 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1888 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1889 regno instead of index to DWARF_ZERO_REG.
1891 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1893 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1894 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1896 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1898 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1899 to HOST_LIBGCC2_CFLAGS.
1901 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1904 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1906 2019-01-18 Martin Liska <mliska@suse.cz>
1908 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1910 (__gcov_indirect_call_profiler_v3): ... this.
1911 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1912 (__gcov_indirect_call_profiler_v3): Likewise.
1913 * Makefile.in: Bump function name.
1915 2019-01-18 Martin Liska <mliska@suse.cz>
1917 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1918 (gcov_version): Use in gcov_error.
1919 (merge_one_data): Likewise.
1920 (dump_one_gcov): Likewise.
1922 2019-01-18 Martin Liska <mliska@suse.cz>
1924 * libgcov-driver.c (gcov_version_string): New function.
1925 (gcov_version): Convert version integer into string.
1927 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
1928 Kwok Cheung Yeung <kcy@codesourcery.com>
1929 Julian Brown <julian@codesourcery.com>
1930 Tom de Vries <tom@codesourcery.com>
1932 * config.host: Recognize amdgcn*-*-amdhsa.
1933 * config/gcn/crt0.c: New file.
1934 * config/gcn/lib2-divmod-hi.c: New file.
1935 * config/gcn/lib2-divmod.c: New file.
1936 * config/gcn/lib2-gcn.h: New file.
1937 * config/gcn/sfp-machine.h: New file.
1938 * config/gcn/t-amdgcn: New file.
1940 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1944 * config/c6x/libunwind.S: Mechanically replace "can not" with
1946 * config/tilepro/atomic.h: Likewise.
1947 * config/vxlib-tls.c: Likewise.
1948 * generic-morestack-thread.c: Likewise.
1949 * generic-morestack.c: Likewise.
1950 * mkmap-symver.awk: Likewise.
1952 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1954 Update copyright years.
1956 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1958 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1959 to ignore -Waddress-of-packed-member.
1961 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1963 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1964 parameter and corresponding code.
1965 (ARM_FUNC_START): Likewise in both definitions.
1966 Also update footer comment about condition that need to match with
1967 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1968 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1969 defined. Weakly define it in this case.
1970 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1971 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1972 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1973 comment to keep condition in sync with the one in
1974 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1976 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
1978 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1979 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1981 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1983 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1984 and .cfi_endproc directives for VxWorks targets.
1986 2018-12-05 Paul Koning <ni1d@arrl.net>
1988 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1990 2018-11-27 Alan Modra <amodra@gmail.com>
1992 * config/rs6000/morestack.S (__stack_split_initialize),
1993 (__morestack_get_guard, __morestack_set_guard),
1994 (__morestack_make_guard): Provide CFI covering these functions.
1995 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1997 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1999 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2000 (sc_pt_regs_lr): Update for kernel.
2001 (sc_pt_regs_tls): Update for kernel.
2003 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2005 * config/csky/linux-unwind.h: Fix coding style.
2007 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2009 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2010 (csky_fallback_frame_state): Modify the check of the
2011 instructions to adapt to changes in the kernel
2013 2018-11-09 Stafford Horne <shorne@gmail.com>
2014 Richard Henderson <rth@twiddle.net>
2016 * config.host: Add OpenRISC support.
2017 * config/or1k/*: New.
2019 2018-11-08 Kito Cheng <kito@andestech.com>
2021 * soft-fp/adddf3.c: Update from glibc.
2022 * soft-fp/addsf3.c: Likewise.
2023 * soft-fp/addtf3.c: Likewise.
2024 * soft-fp/divdf3.c: Likewise.
2025 * soft-fp/divsf3.c: Likewise.
2026 * soft-fp/divtf3.c: Likewise.
2027 * soft-fp/double.h: Likewise.
2028 * soft-fp/eqdf2.c: Likewise.
2029 * soft-fp/eqsf2.c: Likewise.
2030 * soft-fp/eqtf2.c: Likewise.
2031 * soft-fp/extenddftf2.c: Likewise.
2032 * soft-fp/extended.h: Likewise.
2033 * soft-fp/extendhftf2.c: Likewise.
2034 * soft-fp/extendsfdf2.c: Likewise.
2035 * soft-fp/extendsftf2.c: Likewise.
2036 * soft-fp/extendxftf2.c: Likewise.
2037 * soft-fp/fixdfdi.c: Likewise.
2038 * soft-fp/fixdfsi.c: Likewise.
2039 * soft-fp/fixdfti.c: Likewise.
2040 * soft-fp/fixhfti.c: Likewise.
2041 * soft-fp/fixsfdi.c: Likewise.
2042 * soft-fp/fixsfsi.c: Likewise.
2043 * soft-fp/fixsfti.c: Likewise.
2044 * soft-fp/fixtfdi.c: Likewise.
2045 * soft-fp/fixtfsi.c: Likewise.
2046 * soft-fp/fixtfti.c: Likewise.
2047 * soft-fp/fixunsdfdi.c: Likewise.
2048 * soft-fp/fixunsdfsi.c: Likewise.
2049 * soft-fp/fixunsdfti.c: Likewise.
2050 * soft-fp/fixunshfti.c: Likewise.
2051 * soft-fp/fixunssfdi.c: Likewise.
2052 * soft-fp/fixunssfsi.c: Likewise.
2053 * soft-fp/fixunssfti.c: Likewise.
2054 * soft-fp/fixunstfdi.c: Likewise.
2055 * soft-fp/fixunstfsi.c: Likewise.
2056 * soft-fp/fixunstfti.c: Likewise.
2057 * soft-fp/floatdidf.c: Likewise.
2058 * soft-fp/floatdisf.c: Likewise.
2059 * soft-fp/floatditf.c: Likewise.
2060 * soft-fp/floatsidf.c: Likewise.
2061 * soft-fp/floatsisf.c: Likewise.
2062 * soft-fp/floatsitf.c: Likewise.
2063 * soft-fp/floattidf.c: Likewise.
2064 * soft-fp/floattihf.c: Likewise.
2065 * soft-fp/floattisf.c: Likewise.
2066 * soft-fp/floattitf.c: Likewise.
2067 * soft-fp/floatundidf.c: Likewise.
2068 * soft-fp/floatundisf.c: Likewise.
2069 * soft-fp/floatunditf.c: Likewise.
2070 * soft-fp/floatunsidf.c: Likewise.
2071 * soft-fp/floatunsisf.c: Likewise.
2072 * soft-fp/floatunsitf.c: Likewise.
2073 * soft-fp/floatuntidf.c: Likewise.
2074 * soft-fp/floatuntihf.c: Likewise.
2075 * soft-fp/floatuntisf.c: Likewise.
2076 * soft-fp/floatuntitf.c: Likewise.
2077 * soft-fp/gedf2.c: Likewise.
2078 * soft-fp/gesf2.c: Likewise.
2079 * soft-fp/getf2.c: Likewise.
2080 * soft-fp/half.h: Likewise.
2081 * soft-fp/ledf2.c: Likewise.
2082 * soft-fp/lesf2.c: Likewise.
2083 * soft-fp/letf2.c: Likewise.
2084 * soft-fp/muldf3.c: Likewise.
2085 * soft-fp/mulsf3.c: Likewise.
2086 * soft-fp/multf3.c: Likewise.
2087 * soft-fp/negdf2.c: Likewise.
2088 * soft-fp/negsf2.c: Likewise.
2089 * soft-fp/negtf2.c: Likewise.
2090 * soft-fp/op-1.h: Likewise.
2091 * soft-fp/op-2.h: Likewise.
2092 * soft-fp/op-4.h: Likewise.
2093 * soft-fp/op-8.h: Likewise.
2094 * soft-fp/op-common.h: Likewise.
2095 * soft-fp/quad.h: Likewise.
2096 * soft-fp/single.h: Likewise.
2097 * soft-fp/soft-fp.h: Likewise.
2098 * soft-fp/subdf3.c: Likewise.
2099 * soft-fp/subsf3.c: Likewise.
2100 * soft-fp/subtf3.c: Likewise.
2101 * soft-fp/truncdfsf2.c: Likewise.
2102 * soft-fp/trunctfdf2.c: Likewise.
2103 * soft-fp/trunctfhf2.c: Likewise.
2104 * soft-fp/trunctfsf2.c: Likewise.
2105 * soft-fp/trunctfxf2.c: Likewise.
2106 * soft-fp/unorddf2.c: Likewise.
2107 * soft-fp/unordsf2.c: Likewise.
2108 * soft-fp/unordtf2.c: Likewise.
2110 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2112 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2113 * config/i386/cpuinfo.h (processor_types): Add znver2.
2115 2018-11-01 Paul Koning <ni1d@arrl.net>
2117 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2118 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2120 2018-10-31 Joseph Myers <joseph@codesourcery.com>
2123 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2124 * configure: Regenerate.
2126 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2128 * config/arc/lib1funcs.S (_muldi3): New function.
2129 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2131 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2133 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2135 2018-10-25 Martin Liska <mliska@suse.cz>
2138 * libgcov-profiler.c: Revert.
2140 2018-10-24 Martin Liska <mliska@suse.cz>
2142 * libgcov-profiler.c: Start from 1 in order to distinguish
2143 functions which were seen and these that were not.
2145 2018-10-18 Paul Koning <ni1d@arrl.net>
2147 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2149 * divmod.c: Update references to __udivmodsi4.
2151 * udivhi3.c: New file.
2152 * udivmodhi4.c: New file.
2153 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2155 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2157 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2159 2018-10-12 Olivier Hainque <hainque@adacore.com>
2161 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2162 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2164 2018-10-08 Paul Koning <ni1d@arrl.net>
2166 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2168 2018-10-04 Martin Liska <mliska@suse.cz>
2170 PR gcov-profile/84107
2171 * libgcov-profiler.c (__gcov_indirect_call):
2172 Change type to indirect_call_tuple.
2173 (struct indirect_call_tuple): New struct.
2174 (__gcov_indirect_call_topn_profiler): Change type.
2175 (__gcov_indirect_call_profiler_v2): Use the new
2177 * libgcov.h (struct indirect_call_tuple): New struct
2180 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
2182 * libgcc2.c (isnan): Use __builtin_isnan.
2183 (isfinite): Use __builtin_isfinite.
2184 (isinf): Use __builtin_isinf.
2186 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
2188 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2190 2018-09-21 Alexandre Oliva <oliva@adacore.com>
2192 * config/vxcache.c: New file. Provide __clear_cache, based on
2193 the cacheTextUpdate VxWorks service.
2194 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2195 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2196 * config/t-vxwoks7: Likewise.
2198 2018-09-21 Martin Liska <mliska@suse.cz>
2200 * libgcov-driver.c (crc32_unsigned): Remove.
2201 (gcov_histogram_insert): Likewise.
2202 (gcov_compute_histogram): Likewise.
2203 (compute_summary): Simplify rapidly.
2204 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2205 (merge_summary): Rapidly simplify.
2206 (dump_one_gcov): Ignore gcov_summary.
2207 (gcov_do_dump): Do not handle program summary, it's not
2209 * libgcov-util.c (tag_summary): Remove.
2210 (read_gcda_finalize): Fix coding style.
2211 (read_gcda_file): Initialize curr_object_summary.
2212 (compute_summary): Remove.
2213 (calculate_overlap): Remove settings of run_max.
2215 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2217 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2218 ucontext_t type instead.
2219 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2221 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
2223 * config/nds32/t-nds32-glibc: New file.
2225 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2227 * configure.ac (solaris_ld_v2_maps): New test.
2228 * configure: Regenerate.
2229 * Makefile.in (solaris_ld_v2_maps): New variable.
2230 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2233 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
2236 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2237 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2240 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2242 * config/unwind-dw2-fde-darwin.c
2243 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2244 * config/darwin10-unwind-find-enc-func.c: … to here.
2245 * config/t-darwin: Build Darwin10 unwinder shim crt.
2246 * libgcc/config.host: Add the Darwin10 unwinder shim.
2248 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2250 * config.host: Add crtbegin.o and crtend.o for
2251 powerpc-wrs-vxworks target.
2253 2018-08-17 Jojo <jijie_rong@c-sky.com>
2254 Huibin Wang <huibin_wang@c-sky.com>
2255 Sandra Loosemore <sandra@codesourcery.com>
2256 Chung-Lin Tang <cltang@codesourcery.com>
2260 * config.host: Add C-SKY support.
2261 * config/csky/*: New.
2263 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2265 * config/nds32/t-nds32-isr: Rearrange object dependency.
2266 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2267 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2268 and registers usage.
2269 * config/nds32/isr-library/excp_isr.S: Ditto.
2270 * config/nds32/isr-library/intr_isr.S: Ditto.
2271 * config/nds32/isr-library/reset.S: Ditto.
2272 * config/nds32/isr-library/restore_all.inc: Ditto.
2273 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2274 * config/nds32/isr-library/restore_partial.inc: Ditto.
2275 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2276 * config/nds32/isr-library/save_all.inc: Ditto.
2277 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2278 * config/nds32/isr-library/save_partial.inc: Ditto.
2279 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2280 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2282 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
2284 * config/pa/linux-atomic.c: Update comment.
2285 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2286 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2287 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2288 __ATOMIC_RELAXED for atomic loads.
2289 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2290 unordered store to release lock.
2291 (__sync_lock_release_8): Likewise.
2292 (SYNC_LOCK_RELEASE_2): Remove define.
2294 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
2297 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2298 exponent goes negative. Update my email address.
2299 * config/arm/ieee754-sf.S: Likewise.
2301 2018-08-01 Martin Liska <mliska@suse.cz>
2303 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2304 check that __gcov_indirect_call_callee is non-null.
2306 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2308 * config/arm/ieee754-df.S: Fix comment for code working on
2310 * config/arm/ieee754-sf.S: Likewise.
2312 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2315 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2318 2018-07-05 James Clarke <jrtc27@jrtc27.com>
2320 * configure: Regenerated.
2322 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2324 * Makefile.in (install_leaf): Use enable_gcov instead of
2327 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2329 * configure.ac: Add --disable-gcov option.
2330 * configure: Regenerate.
2331 * Makefile.in: Honour @enable_gcov@.
2333 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2335 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2336 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2337 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2338 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2340 * config/arm/ieee754-sf.S: Likewise.
2341 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2343 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2345 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2347 * config/arm/ieee754-sf.S: Likewise.
2349 2018-06-20 Than McIntosh <thanm@google.com>
2352 * generic-morestack.c (allocate_segment): Move calls to getenv and
2353 getpagesize to __morestack_load_mmap.
2354 (__morestack_load_mmap) Initialize static_pagesize and
2355 use_guard_page here so as to avoid clobbering SSE regs during a
2358 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
2360 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2361 support modules with -mno-gnu-attribute.
2362 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2364 2018-06-07 Olivier Hainque <hainque@adacore.com>
2366 * config/t-vxworks (LIBGCC_INCLUDES): Add
2367 -I$(MULTIBUILDTOP)../../gcc/include.
2368 * config/t-vxworks7: Likewise. Reformat a bit to match
2369 the t-vxworks layout.
2371 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2373 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2375 2018-06-07 Martin Liska <mliska@suse.cz>
2377 * libgcov-driver.c: Rename cs_all to all and assign it from
2380 2018-06-07 Martin Liska <mliska@suse.cz>
2383 * libgcov-driver-system.c (replace_filename_variables): Use
2384 memcpy instead of mempcpy.
2385 (allocate_filename_struct): Do not allocate filename, allocate
2387 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2388 here and properly copy content into it.
2389 * libgcov-driver.c (struct gcov_filename): Remove max_length
2390 field, change prefix from size_t into char *.
2391 (compute_summary): Do not calculate longest filename.
2392 (gcov_do_dump): Release memory of gf.filename after each file.
2393 * libgcov-util.c (compute_summary): Use new signature of
2395 (calculate_overlap): Likewise.
2397 2018-06-05 Martin Liska <mliska@suse.cz>
2399 PR gcov-profile/47618
2400 * libgcov-driver-system.c (replace_filename_variables): New
2402 (gcov_exit_open_gcda_file): Use it.
2404 2018-06-05 Martin Liska <mliska@suse.cz>
2406 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2407 of gcov_ctr_summary.
2408 (compute_summary): Do it just for a single summary.
2409 (merge_one_data): Likewise.
2410 (merge_summary): Simplify as we read just single summary.
2411 (dump_one_gcov): Pass proper argument.
2412 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2414 (gcov_info_count_all_cold): Likewise.
2415 (calculate_overlap): Likewise.
2417 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2418 Monk Chiang <sh.chiang04@gmail.com>
2420 * config.host (nds32*-linux*): New.
2421 * config/nds32/linux-atomic.c: New file.
2422 * config/nds32/linux-unwind.h: New file.
2424 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2427 * config/i386/cpuinfo.c (get_amd_cpu): Return
2428 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2430 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2432 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2434 2018-05-29 Martin Liska <mliska@suse.cz>
2436 PR gcov-profile/85759
2437 * libgcov-driver-system.c (gcov_error): Introduce usage of
2438 GCOV_EXIT_AT_ERROR env. variable.
2439 * libgcov-driver.c (merge_one_data): Print error that we
2440 overwrite a gcov file with a different timestamp.
2442 2018-05-23 Kalamatee <kalamatee@gmail.com>
2444 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2447 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2448 Monk Chiang <sh.chiang04@gmail.com>
2449 Jim Wilson <jimw@sifive.com>
2451 * config/riscv/save-restore.S: Add support for rv32e.
2453 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2455 * config/arm/libunwind.S: Update comment relating to armv5.
2457 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2459 * config/arm/cmse.c (cmse_check_address_range): Replace
2460 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2462 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2464 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2465 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2467 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2469 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2470 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2472 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2474 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2476 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2477 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2480 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2481 op_and_fetch to return the right result.
2483 2018-04-27 Alan Modra <amodra@gmail.com>
2486 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2487 -fno-asynchronous-unwind-tables.
2489 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2491 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2492 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2494 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2496 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2497 when including "config/i386/shadow-stack-unwind.h".
2499 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2501 * configure: Regenerated.
2503 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2506 * config/rs6000/_powikf2.c: New file. Add support for the
2507 __builtin_powil function when long double is IEEE 128-bit floating
2509 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2511 (__powikf2): Likewise.
2512 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2513 (__powikf2_hw): Likewise.
2514 (__powikf2): Likewise.
2515 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2516 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2517 (_powikf2-hw.c): Likewise.
2519 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2522 * unwind-generic.h (_Unwind_Frames_Increment): New.
2523 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2525 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2526 count with _Unwind_Frames_Increment.
2527 (_Unwind_ForcedUnwind_Phase2): Likewise.
2529 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2532 * config/i386/morestack.S (__stack_split_initialize): Add
2535 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2537 * configure: Regenerated.
2539 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2542 * configure: Regenerate.
2544 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2547 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2548 -Wdangling-else warnings. Mask shift counts to avoid
2549 -Wshift-count-negative and -Wshift-count-overflow false positives.
2551 2018-04-06 Ruslan Bukin <br@bsdpad.com>
2553 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2555 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2558 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2559 (XSTATE_FP): Likewise.
2560 (XSTATE_SSE): Likewise.
2561 (XSTATE_YMM): Likewise.
2562 (XSTATE_OPMASK): Likewise.
2563 (XSTATE_ZMM): Likewise.
2564 (XSTATE_HI_ZMM): Likewise.
2565 (XCR_AVX_ENABLED_MASK): Likewise.
2566 (XCR_AVX512F_ENABLED_MASK): Likewise.
2567 (get_available_features): Enable AVX and AVX512 features only
2568 if their states are supported by OSXSAVE.
2570 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2573 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2574 Fix a typo, tmp => 255.
2576 2018-03-20 Jakub Jelinek <jakub@redhat.com>
2579 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2580 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2582 (set_feature): Define.
2583 (get_available_features): Use set_feature macro. Set __cpu_features2
2584 to the second word of features ifndef SHARED.
2586 2018-03-15 Julia Koval <julia.koval@intel.com>
2588 * config/i386/cpuinfo.c (get_available_features): Add
2589 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2590 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2591 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2592 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2593 FEATURE_AVX512BITALG.
2595 2018-03-14 Julia Koval <julia.koval@intel.com>
2597 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2598 icelake client and icelake server.
2600 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
2602 * config/pa/fptr.c (_dl_read_access_allowed): New.
2603 (__canonicalize_funcptr_for_compare): Use it.
2605 2018-02-28 Jakub Jelinek <jakub@redhat.com>
2608 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2609 $asm_hidden_op if visibility ("hidden") attribute works.
2610 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2611 * config/i386/i386-asm.h: Don't include auto-host.h.
2612 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2613 PACKAGE_URL): Don't undefine.
2614 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2615 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2616 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2617 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2618 definition instead of hardcoded .hidden.
2619 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2620 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2621 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2622 (USE_GAS_CFI_DIRECTIVES): Don't define.
2623 * configure: Regenerated.
2624 * config.in: Likewise.
2626 2018-02-26 Jakub Jelinek <jakub@redhat.com>
2629 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2630 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2631 inclusion of auto-target.h and auto-host.h.
2632 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2633 __GCC_HAVE_DWARF2_CFI_ASM.
2634 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2635 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2637 * config/i386/cygwin.S: Don't include auto-host.h here, just
2638 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2639 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2640 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2641 * config/i386/resms64fx.h: Add cfi_* directives.
2642 * config/i386/resms64x.h: Likewise.
2644 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2646 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2647 .literal_position directive.
2648 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2650 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2653 * configure: Regenerate.
2655 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2658 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2659 Include cetintrin.h not x86intrin.h.
2661 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2664 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2665 Use new _get_ssp and _inc_ssp intrinsics.
2667 2018-02-02 Julia Koval <julia.koval@intel.com>
2669 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2671 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2673 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2675 (__divsi3): Use RF16 safe registers.
2676 (__modsi3): Likewise.
2678 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2680 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2681 (__divsf3): Make NaN return value quiet.
2682 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2683 (__divdf3): Make NaN return value quiet.
2685 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2687 * config/rl78/anddi3.S: New assembly file.
2688 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2690 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2692 * config/rl78/umindi3.S: New assembly file.
2693 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2695 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2697 * config/rl78/smindi3.S: New assembly file.
2698 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2700 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2702 * config/rl78/smaxdi3.S: New assembly file.
2703 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2705 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2707 * config/rl78/umaxdi3.S: New assembly file.
2708 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2710 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
2713 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2714 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2716 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2718 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2719 (DWARF_LAZY_REGISTER_VALUE): Define.
2720 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2721 to provide a fallback register value.
2723 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2725 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2726 __ibm128, instead of trying to use long double.
2727 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2728 accomidate -mabi=ieeelongdouble multilibs.
2729 (CVT_IBM128_TO_FLOAT128): Likewise.
2730 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2731 the appropriate IBM extended double type.
2732 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2733 (__gcc_qsub): Likewise.
2734 (__gcc_qmul): Likewise.
2735 (__gcc_qdiv): Likewise.
2736 (pack_ldouble): Likewise.
2737 (__gcc_qneg): Likewise.
2738 (__gcc_qeq): Likewise.
2739 (__gcc_qne): Likewise.
2740 (__gcc_qge): Likewise.
2741 (__gcc_qle): Likewise.
2742 (__gcc_stoq): Likewise.
2743 (__gcc_dtoq): Likewise.
2744 (__gcc_itoq): Likewise.
2745 (__gcc_utoq): Likewise.
2746 (__gcc_qunord): Likewise.
2747 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2748 quad-float128.h for the definitions.
2749 (COPYSIGN): Use the f128 version instead of the q version.
2750 (INFINITY): Likewise.
2751 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2752 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2753 quad-float128.h for the definitions.
2754 (COPYSIGN): Use the f128 version instead of the q version.
2755 (INFINITY): Likewise.
2757 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2758 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2759 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2761 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2763 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2766 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2768 Update copyright years.
2770 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2772 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2773 * config/riscv/multi3.c: New file.
2774 * config/riscv/multi3.S: Remove.
2776 2017-12-08 Jim Wilson <jimw@sifive.com>
2778 * config/riscv/div.S: Use FUNC_* macros.
2779 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2780 * config/riscv/save-restore.S: Likewise.
2781 * config/riscv/riscv-asm.h: New.
2783 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2785 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2786 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2789 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2790 correct type for all ifunc resolvers to silence -Wattribute-alias
2791 warnings. Eliminate the forward declaration of the resolver
2792 functions which is no longer needed.
2793 (__subkf3_resolve): Likewise.
2794 (__mulkf3_resolve): Likewise.
2795 (__divkf3_resolve): Likewise.
2796 (__negkf2_resolve): Likewise.
2797 (__eqkf2_resolve): Likewise.
2798 (__nekf2_resolve): Likewise.
2799 (__gekf2_resolve): Likewise.
2800 (__gtkf2_resolve): Likewise.
2801 (__lekf2_resolve): Likewise.
2802 (__ltkf2_resolve): Likewise.
2803 (__unordkf2_resolve): Likewise.
2804 (__extendsfkf2_resolve): Likewise.
2805 (__extenddfkf2_resolve): Likewise.
2806 (__trunckfsf2_resolve): Likewise.
2807 (__trunckfdf2_resolve): Likewise.
2808 (__fixkfsi_resolve): Likewise.
2809 (__fixkfdi_resolve): Likewise.
2810 (__fixunskfsi_resolve): Likewise.
2811 (__fixunskfdi_resolve): Likewise.
2812 (__floatsikf_resolve): Likewise.
2813 (__floatdikf_resolve): Likewise.
2814 (__floatunsikf_resolve): Likewise.
2815 (__floatundikf_resolve): Likewise.
2816 (__extendkftf2_resolve): Likewise.
2817 (__trunctfkf2_resolve): Likewise.
2820 * config/rs6000/quad-float128.h (TF): Don't define if long double
2821 is IEEE 128-bit floating point.
2822 (TCtype): Define as either TCmode or KCmode, depending on whether
2823 long double is IEEE 128-bit floating point.
2824 (__mulkc3_sw): Add declarations for software/hardware versions of
2825 complex multiply/divide.
2826 (__divkc3_sw): Likewise.
2827 (__mulkc3_hw): Likewise.
2828 (__divkc3_hw): Likewise.
2829 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2830 handlers to switch between using software emulation and hardware
2831 float128 instructions, build the complex multiply/divide functions
2832 for both software and hardware support.
2833 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2834 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2835 (__divkc3_resolve): Likewise.
2836 (__mulkc3): Likewise.
2837 (__divkc3): Likewise.
2838 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2839 (fp128_hw_src): Likewise.
2840 (fp128_hw_static_obj): Likewise.
2841 (fp128_hw_shared_obj): Likewise.
2842 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2843 _mulkc3.c and _divkc3.c, changing the function name.
2844 (_divkc3-hw.c): Likewise.
2845 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2848 2017-11-26 Julia Koval <julia.koval@intel.com>
2850 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2851 * config/i386/cpuinfo.h (processor_subtypes): Add
2852 INTEL_COREI7_CANNONLAKE.
2854 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2857 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2859 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2860 * config/ia64/unwind-ia64.c: Add frames parameter.
2861 * unwind-sjlj.c: Likewise.
2863 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2865 * config/i386/linux-unwind.h: Include
2866 config/i386/shadow-stack-unwind.h.
2867 * config/i386/shadow-stack-unwind.h: New file.
2868 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2869 pass it to _Unwind_Frames_Extra.
2870 * unwind-generic.h (_Unwind_Frames_Extra): New.
2871 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2872 parameter. Add local variable frames to count number of frames.
2873 (_Unwind_ForcedUnwind_Phase2): Likewise.
2874 (_Unwind_RaiseException): Add local variable frames to count
2875 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2877 (_Unwind_ForcedUnwind): Likewise.
2878 (_Unwind_Resume): Likewise.
2879 (_Unwind_Resume_or_Rethrow): Likewise.
2881 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2883 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2885 * config/i386/morestack.S: Include <cet.h>.
2886 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2887 * config/i386/resms64.h: Include <cet.h>.
2888 * config/i386/resms64f.h: Likewise.
2889 * config/i386/resms64fx.h: Likewise.
2890 * config/i386/resms64x.h: Likewise.
2891 * config/i386/savms64.h: Likewise.
2892 * config/i386/savms64f.h: Likewise.
2893 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2894 (CRTSTUFF_T_CFLAGS): Likewise.
2895 * configure.ac: Include ../config/cet.m4.
2896 Set and substitute CET_FLAGS.
2897 * configure: Regenerated.
2899 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2901 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2903 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2904 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2905 * configure: Regenerate.
2907 2017-11-07 Tom de Vries <tom@codesourcery.com>
2909 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2910 after "do {} while (0)".
2912 2017-11-07 Tom de Vries <tom@codesourcery.com>
2915 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2916 semicolon after "do {} while (0)".
2917 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2918 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2919 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2920 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2922 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2925 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2926 sysctl to determine whether we're in a trampoline.
2927 Keep the pattern matching method for systems without
2928 KERN_PROC_SIGTRAMP sysctl.
2930 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2931 Vineet Gupta <vgupta@synopsys.com>
2933 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2934 * config/arc/linux-unwind-reg.def: New file.
2935 * config/arc/linux-unwind-reg.h: Likewise.
2937 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2939 * config/rl78/subdi3.S: New assembly file.
2940 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2942 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2944 * config/rl78/adddi3.S: New assembly file.
2945 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2947 2017-10-13 Jakub Jelinek <jakub@redhat.com>
2950 * libgcc2.c (__mulvDI3): If both operands have
2951 the same highpart of -1 and the topmost bit of lowpart is 0,
2952 multiplication overflows even if both lowparts are 0.
2954 2017-09-28 James Bowman <james.bowman@ftdichip.com>
2956 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2958 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2960 * config/microblaze/crti.S, config/microblaze/crtn.S,
2961 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2962 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2963 config/microblaze/mulsi3.S,
2964 config/microblaze/stack_overflow_exit.S,
2965 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2966 config/pa/milli64.S: Add .note.GNU-stack section.
2968 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
2970 * configure.ac: Add Check for HAVE_AS_AVX.
2971 * config.in: Regenerate.
2972 * configure: Likewise.
2973 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2974 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2975 Correct out-of-date comments.
2977 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2979 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2980 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2982 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
2984 * config/i386/i386-asm.h (PASTE2): New macro.
2985 (ASMNAME): Modify to use PASTE2.
2986 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2987 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2988 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2989 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2990 * config/i386/resms64f.S: Likewise.
2991 * config/i386/resms64fx.S: Likewise.
2992 * config/i386/resms64x.S: Likewise.
2993 * config/i386/savms64.S: Likewise.
2994 * config/i386/savms64f.S: Likewise.
2995 * config/i386/avx_resms64.S: New file that only defines a macro and
2996 includes it's corresponding header file.
2997 * config/i386/avx_resms64f.S: Likewise.
2998 * config/i386/avx_resms64fx.S: Likewise.
2999 * config/i386/avx_resms64x.S: Likewise.
3000 * config/i386/avx_savms64.S: Likewise.
3001 * config/i386/avx_savms64f.S: Likewise.
3002 * config/i386/sse_resms64.S: Likewise.
3003 * config/i386/sse_resms64f.S: Likewise.
3004 * config/i386/sse_resms64fx.S: Likewise.
3005 * config/i386/sse_resms64x.S: Likewise.
3006 * config/i386/sse_savms64.S: Likewise.
3007 * config/i386/sse_savms64f.S: Likewise.
3008 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3010 2017-09-01 Olivier Hainque <hainque@adacore.com>
3011 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3013 2017-08-31 Olivier Hainque <hainque@adacore.com>
3015 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3016 match as powerpc-wrs-vxworks*.
3018 2017-08-07 Jonathan Yong <10walls@gmail.com>
3020 * config.host (*-cygwin): Include file from mingw
3021 config/i386/enable-execute-stack-mingw32.c
3023 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
3024 Doug Rupp <rupp@adacore.com>
3025 Olivier Hainque <hainque@adacore.com>
3027 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3028 as well as arm-wrs-vxworks.
3029 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3031 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3032 __exidx_start and __exidx_end for downloadable modules.
3034 2017-08-01 Olivier Hainque <hainque@adacore.com>
3036 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3037 * config/t-vxworks7: Likewise.
3039 2017-08-01 Olivier Hainque <hainque@adacore.com>
3041 * config/t-vxworks: Instead of redefining LIB2ADD,
3042 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3044 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3046 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3048 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
3051 * config.host: include i386/t-msabi for darwin and solaris.
3052 * config/i386/i386-asm.h
3053 (ELFFN): Rename to FN_TYPE.
3054 (FN_SIZE): New macro.
3055 (FN_HIDDEN): Likewise.
3056 (ASMNAME): Likewise.
3057 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3059 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3060 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3061 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3063 * config/i386/resms64f.S: Likewise.
3064 * config/i386/resms64fx.S: Likewise.
3065 * config/i386/resms64x.S: Likewise.
3066 * config/i386/savms64.S: Likewise.
3067 * config/i386/savms64f.S: Likewise.
3069 2017-07-19 John Marino <gnugcc@marino.st>
3071 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3073 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3076 * configure.ac (PowerPC float128 hardware support): Test whether
3077 we can use __builtin_cpu_supports before enabling the ifunc
3079 * configure: Regenerate.
3081 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
3083 * config.host: Remove uclibc from arc target spec.
3085 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3087 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3089 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3091 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3092 (have_ieee_hw_p): Delete function.
3093 (SW_OR_HW) Use __builtin_cpu_supports().
3095 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3097 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3099 2017-07-03 Olivier Hainque <hainque@adacore.com>
3101 * config/t-vxworks7: New file, really.
3103 2017-06-28 Joseph Myers <joseph@codesourcery.com>
3105 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3106 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3107 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3108 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3109 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3110 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3111 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3112 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3113 config/sh/linux-unwind.h (sh_fallback_frame_state),
3114 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3115 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3116 ucontext_t instead of struct ucontext.
3118 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
3120 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3121 (x86_64-wrs-vxworks7): Likewise.
3123 2017-06-27 Olivier Hainque <hainque@adacore.com>
3125 * config/t-vxworks7: New file.
3126 * config.host (*-*-vxworks7): Use it.
3128 2017-06-22 Matt Turner <mattst88@gmail.com>
3130 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3133 2017-06-21 Richard Biener <rguenther@suse.de>
3135 PR gcov-profile/81080
3136 * configure.ac: Add AC_SYS_LARGEFILE.
3137 * libgcov.h: Include auto-target.h before tsystem.h to pick
3138 up _FILE_OFFSET_BITS which might differ for multilibs.
3139 * config.in: Regenerate.
3140 * configure: Likewise.
3142 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
3144 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3146 2017-06-09 Martin Liska <mliska@suse.cz>
3148 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3149 Reset __gcov_indirect_call_callee to NULL.
3151 2017-06-08 Olivier Hainque <hainque@adacore.com>
3153 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3154 the set of -I options, support for direct inclusions of net/uio.h
3155 by VxWorks header files via ioLib.h.
3157 2017-06-07 Tony Reix <tony.reix@atos.net>
3158 Matthieu Sarter <matthieu.sarter.external@atos.net>
3159 David Edelsohn <dje.gcc@gmail.com>
3161 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3163 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3166 2017-06-02 Olivier Hainque <hainque@adacore.com>
3168 * config/vxlib.c (__gthread_once): Add missing value to
3171 2017-05-30 Olivier Hainque <hainque@adacore.com>
3173 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3174 dollar sign before $(MULTIDIR).
3176 2017-05-26 Richard Henderson <rth@redhat.com>
3179 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3181 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3183 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3184 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3185 * config/arm/unwind-arm.c: Implement the above.
3187 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3189 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3190 section for a non-executable stack.
3192 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3195 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3197 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
3199 * config.host: Add i386/t-msabi to i386/t-linux file list.
3200 * config/i386/i386-asm.h: New file.
3201 * config/i386/resms64.S: New file.
3202 * config/i386/resms64f.S: New file.
3203 * config/i386/resms64fx.S: New file.
3204 * config/i386/resms64x.S: New file.
3205 * config/i386/savms64.S: New file.
3206 * config/i386/savms64f.S: New file.
3207 * config/i386/t-msabi: New file.
3209 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3211 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3212 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3214 2017-05-05 Joshua Conner <joshconner@google.com>
3216 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3217 pc-relative indirect handling for fuchsia.
3218 * config/t-slibgcc-fuchsia: New file.
3219 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3220 x86_64-*-fuchsia*): Add definitions.
3222 2017-04-19 Martin Liska <mliska@suse.cz>
3224 PR gcov-profile/80435
3225 * Makefile.in: Install gcov.h.
3227 * libgcov.h: Use the header and make __gcov_flush publicly
3230 2017-04-18 Martin Liska <mliska@suse.cz>
3232 PR gcov-profile/78783
3233 * libgcov-driver.c (gcov_get_filename): New function.
3235 2017-04-07 Jeff Law <law@redhat.com>
3237 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3238 target makefile fragment.
3239 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3241 2017-04-07 Alan Modra <amodra@gmail.com>
3244 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3246 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
3248 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3250 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3252 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3254 2017-03-10 John Marino <gnugcc@marino.st>
3256 * config/aarch64/freebsd-unwind.h: New file.
3257 * config.host: Add aarch64-*-freebsd unwinder.
3259 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3261 * config/rs6000/crtrestvr.s: Use .machine altivec.
3262 * config/rs6000/crtsavevr.s: Ditto.
3264 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3266 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3267 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3268 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3269 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3270 * configure: Regenerate.
3271 * config.in: Regenerate.
3273 2017-03-02 Jonathan Yong <10walls@gmail.com>
3275 * config/i386/gthr-win32.h: Define NOGDI before
3276 windows.h include to prevent w32api CC_NONE macro
3277 clash with libgfortran.
3279 2017-03-02 Jonathan Yong <10walls@gmail.com>
3281 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3283 2017-02-16 Andrew Pinski <apinski@cavium.com>
3285 * config/aarch64/value-unwind.h: New file.
3286 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3289 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3291 * config.host: Add RISC-V tuples.
3292 * config/riscv/atomic.c: New file.
3293 * config/riscv/crti.S: Likewise.
3294 * config/riscv/crtn.S: Likewise.
3295 * config/riscv/div.S: Likewise.
3296 * config/riscv/linux-unwind.h: Likewise.
3297 * config/riscv/muldi3.S: Likewise.
3298 * config/riscv/multi3.S: Likewise.
3299 * config/riscv/save-restore.S: Likewise.
3300 * config/riscv/sfp-machine.h: Likewise.
3301 * config/riscv/t-elf: Likewise.
3302 * config/riscv/t-elf32: Likewise.
3303 * config/riscv/t-elf64: Likewise.
3304 * config/riscv/t-softfp32: Likewise.
3305 * config/riscv/t-softfp64: Likewise.
3307 2017-01-24 Jakub Jelinek <jakub@redhat.com>
3309 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3310 /* FALLTHRU */ comments.
3312 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3314 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3316 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3318 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3319 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3320 DW_CFA_GNU_window_save for AArch64 and LP64.
3322 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3324 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3326 2017-01-19 Jiong Wang <jiong.wang@arm.com>
3328 * config/aarch64/aarch64-unwind.h: New file.
3329 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3330 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3331 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3332 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3333 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3334 (aarch64_post_extract_frame_addr): New function.
3335 (aarch64_post_frob_eh_handler_addr): New function.
3336 (aarch64_frob_update_context): New function.
3337 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3338 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3339 aarch64*-*-freebsd*):
3340 Initialize md_unwind_header to include aarch64-unwind.h.
3341 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3342 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3344 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3345 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3346 (uw_frob_return_addr): New function.
3347 (uw_install_context): Use uw_frob_return_addr.
3349 2017-01-17 Jakub Jelinek <jakub@redhat.com>
3352 * configure.ac: Add GCC_BASE_VER.
3353 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3354 version from BASE-VER file.
3355 * configure: Regenerated.
3357 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
3359 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3360 libmul_f5.a): Filter archived prerequisites.
3362 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3364 * config/i386/cpuinfo.h (processor_features): Add
3365 FEATURE_AVX512VPOPCNTDQ.
3366 * config/i386/cpuinfo.c (get_available_features): Habdle new
3369 2017-01-04 Joseph Myers <joseph@codesourcery.com>
3371 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3372 payload if [__mips_nan2008].
3374 2017-01-04 Alan Modra <amodra@gmail.com>
3376 * Makefile.in (configure_deps): Update.
3377 * configure: Regenerate.
3379 2017-01-01 Jakub Jelinek <jakub@redhat.com>
3381 Update copyright years.
3383 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3385 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3386 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3387 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3389 2016-12-17 Matthias Klose <doko@ubuntu.com>
3391 * config/arc/gmon: Remove empty directory.
3393 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3395 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3397 (arc*-*-elf*): Likewise.
3398 * config/arc/t-arc: Remove old gmon lib targets.
3399 * config/arc/crtg.S: Remove.
3400 * config/arc/crtgend.S: Likewise.
3401 * config/arc/gmon/atomic.h: Likewise.
3402 * config/arc/gmon/auxreg.h: Likewise.
3403 * config/arc/gmon/dcache_linesz.S: Likewise.
3404 * config/arc/gmon/gmon.c: Likewise.
3405 * config/arc/gmon/machine-gmon.h: Likewise.
3406 * config/arc/gmon/mcount.c: Likewise.
3407 * config/arc/gmon/prof-freq-stub.S: Likewise.
3408 * config/arc/gmon/prof-freq.c: Likewise.
3409 * config/arc/gmon/profil.S: Likewise.
3410 * config/arc/gmon/sys/gmon.h: Likewise.
3411 * config/arc/gmon/sys/gmon_out.h: Likewise.
3412 * config/arc/t-arc-newlib: Likewise.
3413 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3415 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3417 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3419 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3421 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3422 R16 instead of push + pop.
3423 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3425 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3427 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3430 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3432 * config.host (arc*-*-linux-uclibc*): Use default extra
3433 objects. Include linux-android header.
3434 * config/arc/crti.S (_init): Declare symbol as function.
3437 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3440 * config/i386/cpuinfo.c: Move denums for processor vendors,
3441 processor type, processor subtypes and declaration of
3442 struct __processor_model into
3443 * config/i386/cpuinfo.h: New header file.
3445 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3446 Thomas Preud'homme <thomas.preudhomme@arm.com>
3448 * config/arm/cmse_nonsecure_call.S: New.
3449 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3451 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3452 Thomas Preud'homme <thomas.preudhomme@arm.com>
3454 * config/arm/t-arm (HAVE_CMSE): New.
3455 * config/arm/cmse.c: New.
3457 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3460 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3461 use generic linker version information on Blackfin.
3464 * libgcc/mkmap-symver.awk: add support for skip_underscore
3466 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3467 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3470 * config/t-darwin: Default builds to 10.5 codegen.
3472 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3474 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3475 (_FP_NANSIGN_H): Likewise.
3476 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3477 (softfp_truncations): Add tfhf.
3478 (softfp_extras): Add required conversion functions.
3480 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3481 Matthew Wahab <matthew.wahab@arm.com>
3483 * config/arm/fp16.c (binary64): New.
3484 (__gnu_d2h_internal): New.
3485 (__gnu_d2h_ieee): New.
3486 (__gnu_d2h_alternative): New.
3488 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3489 Matthew Wahab <matthew.wahab@arm.com>
3491 * config/arm/fp16.c (struct format): New.
3493 (__gnu_float2h_internal): New. Body moved from
3494 __gnu_f2h_internal and generalize.
3495 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3496 Call it with binary32.
3498 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3500 * soft-fp/extendhftf2.c: Update from glibc.
3501 * soft-fp/fixhfti.c: Likewise.
3502 * soft-fp/fixunshfti.c: Likewise.
3503 * soft-fp/floattihf.c: Likewise.
3504 * soft-fp/floatuntihf.c: Likewise.
3505 * soft-fp/half.h: Likewise.
3506 * soft-fp/trunctfhf2.c: Likewise.
3508 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3511 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3512 __TMC_END__ behind a passthrough asm.
3514 2016-11-18 Walter Lee <walt@tilera.com>
3516 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3518 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3520 * config/i386/cpuinfo.c (processor_features): Add
3521 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3523 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3525 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3526 (__ARC_NORM__): Use instead ARC_OPTFPE.
3527 * config/arc/fp-hack.h: Likewise.
3528 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3529 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3531 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3533 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3534 * config/nvptx/mgomp.c: New file.
3535 * config/nvptx/t-nvptx: Add mgomp.c
3537 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3540 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3542 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3544 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3545 of checking for cpus.
3546 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3547 (__modsi3, __clzsi2): Likewise.
3549 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3551 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3552 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3553 * config/i386/t-cpuinfo-static: New.
3555 2016-11-03 Martin Liska <mliska@suse.cz>
3557 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3558 (__gcov_time_profiler_atomic): Likewise.
3560 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3563 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3564 count_leading_zeros.
3566 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
3568 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3569 * libgcc2.c (__divmoddi4): New function.
3570 * libgcc2.h (__divmoddi4): Declare.
3571 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3572 and __PFX_divmodti4.
3574 2016-10-24 Florian Weimer <fweimer@redhat.com>
3577 * unwind-c.c: Include auto-target.h.
3579 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
3581 * config/pa/pa64-hpux-lib.h: New file.
3582 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3583 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3584 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3587 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3589 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3591 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3593 * config/xtensa/t-windowed (LIB2ADDEH): Use
3594 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3597 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3599 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3600 __ieee754_sqrt): New functions.
3601 (__divdf3): Add implementation with new FPU instructions under
3602 #if XCHAL_HAVE_DFP_DIV.
3603 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3604 __ieee754_sqrtf): New functions.
3605 (__divsf3): Add implementation with new FPU instructions under
3606 #if XCHAL_HAVE_FP_DIV.
3607 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3608 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3610 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3612 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3614 * config/tilepro/atomic.c: Likewise and stop casting model to
3617 2016-10-10 Joseph Myers <joseph@codesourcery.com>
3620 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3623 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3625 * config.host: Add support for aarch64-*-freebsd*.
3627 2016-10-05 Andreas Schwab <schwab@suse.de>
3629 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3630 (.section .init_array): Don't call __do_jv_register_classes.
3631 (.section .init): Likewise.
3633 2016-10-04 Jakub Jelinek <jakub@redhat.com>
3635 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3636 (__JCR_LIST__): Remove.
3637 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3638 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3639 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3640 * config/ia64/crtend.S (__JCR_END__): Remove.
3641 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3643 (__JCR_LIST__, __JCR_END__): Remove.
3644 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3645 (__do_global_ctors_1): Likewise.
3647 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3649 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3650 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3652 2016-09-27 Martin Liska <mliska@suse.cz>
3654 PR gcov-profile/7970
3655 PR gcov-profile/16855
3656 PR gcov-profile/44779
3657 * libgcov-driver.c (__gcov_init): Do not register a atexit
3659 (__gcov_exit): Rename from gcov_exit.
3660 * libgcov.h (__gcov_exit): Declare.
3662 2016-09-27 Martin Liska <mliska@suse.cz>
3665 * Makefile.in: Remove _gcov_merge_delta.
3666 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3667 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3668 * libgcov.h: Remove declaration of __gcov_merge_delta.
3670 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3672 * configure.ac: Do not create links, only substitute the filenames.
3673 * configure: Regenerate.
3674 * Makefile.in: Assign the substitution results to variables.
3675 (LIBGCC_LINKS): Define.
3676 (enable-execute-stack.c): New rule.
3677 (unwind.h): Likewise.
3678 (md-unwind-support.h): Likewise.
3679 (sfp-machine.h): Likewise.
3680 (gthr-default.h): Likewise.
3681 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3682 unwind.h as prerequisite of install-unwind_h-forbuild.
3684 2016-09-16 Jakub Jelinek <jakub@redhat.com>
3687 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3688 is not the primary registry and atomics are available.
3689 (any_objects_registered): New variable.
3690 (__register_frame_info_bases, __register_frame_info_table_bases):
3691 Atomically store 1 to any_objects_registered after registering first
3693 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3695 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3698 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3699 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3702 (__divhc3): Likewise.
3703 (__mulhc3): Likewise.
3704 * libgcc2.c: Support _mulhc3 and _divhc3.
3706 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3709 * libgcc2.c (NOTRUNC): Invert settings.
3711 2016-09-06 Martin Liska <mliska@suse.cz>
3713 PR gcov-profile/77378
3714 PR gcov-profile/77466
3715 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3716 conditionaly enable/disable *_atomic functions.
3718 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3720 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3721 where not already enabled.
3723 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3725 * config/mips/linux-unwind.h: Use sys/syscall.h.
3727 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3730 * soft-fp/adddf3.c: Update from glibc.
3731 * soft-fp/addsf3.c: Likewise.
3732 * soft-fp/addtf3.c: Likewise.
3733 * soft-fp/divdf3.c: Likewise.
3734 * soft-fp/divsf3.c: Likewise.
3735 * soft-fp/divtf3.c: Likewise.
3736 * soft-fp/double.h: Likewise.
3737 * soft-fp/eqdf2.c: Likewise.
3738 * soft-fp/eqsf2.c: Likewise.
3739 * soft-fp/eqtf2.c: Likewise.
3740 * soft-fp/extenddftf2.c: Likewise.
3741 * soft-fp/extended.h: Likewise.
3742 * soft-fp/extendsfdf2.c: Likewise.
3743 * soft-fp/extendsftf2.c: Likewise.
3744 * soft-fp/extendxftf2.c: Likewise.
3745 * soft-fp/fixdfdi.c: Likewise.
3746 * soft-fp/fixdfsi.c: Likewise.
3747 * soft-fp/fixdfti.c: Likewise.
3748 * soft-fp/fixsfdi.c: Likewise.
3749 * soft-fp/fixsfsi.c: Likewise.
3750 * soft-fp/fixsfti.c: Likewise.
3751 * soft-fp/fixtfdi.c: Likewise.
3752 * soft-fp/fixtfsi.c: Likewise.
3753 * soft-fp/fixtfti.c: Likewise.
3754 * soft-fp/fixunsdfdi.c: Likewise.
3755 * soft-fp/fixunsdfsi.c: Likewise.
3756 * soft-fp/fixunsdfti.c: Likewise.
3757 * soft-fp/fixunssfdi.c: Likewise.
3758 * soft-fp/fixunssfsi.c: Likewise.
3759 * soft-fp/fixunssfti.c: Likewise.
3760 * soft-fp/fixunstfdi.c: Likewise.
3761 * soft-fp/fixunstfsi.c: Likewise.
3762 * soft-fp/fixunstfti.c: Likewise.
3763 * soft-fp/floatdidf.c: Likewise.
3764 * soft-fp/floatdisf.c: Likewise.
3765 * soft-fp/floatditf.c: Likewise.
3766 * soft-fp/floatsidf.c: Likewise.
3767 * soft-fp/floatsisf.c: Likewise.
3768 * soft-fp/floatsitf.c: Likewise.
3769 * soft-fp/floattidf.c: Likewise.
3770 * soft-fp/floattisf.c: Likewise.
3771 * soft-fp/floattitf.c: Likewise.
3772 * soft-fp/floatundidf.c: Likewise.
3773 * soft-fp/floatundisf.c: Likewise.
3774 * soft-fp/floatunditf.c: Likewise.
3775 * soft-fp/floatunsidf.c: Likewise.
3776 * soft-fp/floatunsisf.c: Likewise.
3777 * soft-fp/floatunsitf.c: Likewise.
3778 * soft-fp/floatuntidf.c: Likewise.
3779 * soft-fp/floatuntisf.c: Likewise.
3780 * soft-fp/floatuntitf.c: Likewise.
3781 * soft-fp/gedf2.c: Likewise.
3782 * soft-fp/gesf2.c: Likewise.
3783 * soft-fp/getf2.c: Likewise.
3784 * soft-fp/ledf2.c: Likewise.
3785 * soft-fp/lesf2.c: Likewise.
3786 * soft-fp/letf2.c: Likewise.
3787 * soft-fp/muldf3.c: Likewise.
3788 * soft-fp/mulsf3.c: Likewise.
3789 * soft-fp/multf3.c: Likewise.
3790 * soft-fp/negdf2.c: Likewise.
3791 * soft-fp/negsf2.c: Likewise.
3792 * soft-fp/negtf2.c: Likewise.
3793 * soft-fp/op-1.h: Likewise.
3794 * soft-fp/op-2.h: Likewise.
3795 * soft-fp/op-4.h: Likewise.
3796 * soft-fp/op-8.h: Likewise.
3797 * soft-fp/op-common.h: Likewise.
3798 * soft-fp/quad.h: Likewise.
3799 * soft-fp/single.h: Likewise.
3800 * soft-fp/soft-fp.h: Likewise.
3801 * soft-fp/subdf3.c: Likewise.
3802 * soft-fp/subsf3.c: Likewise.
3803 * soft-fp/subtf3.c: Likewise.
3804 * soft-fp/truncdfsf2.c: Likewise.
3805 * soft-fp/trunctfdf2.c: Likewise.
3806 * soft-fp/trunctfsf2.c: Likewise.
3807 * soft-fp/trunctfxf2.c: Likewise.
3808 * soft-fp/unorddf2.c: Likewise.
3809 * soft-fp/unordsf2.c: Likewise.
3810 * soft-fp/unordtf2.c: Likewise.
3812 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3814 PR gcov-profile/67097
3815 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3817 2016-08-10 Martin Liska <mliska@suse.cz>
3819 PR gcov-profile/58306
3820 * Makefile.in: New functions (modules) are added.
3821 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3823 (__gcov_pow2_profiler_atomic): New function.
3824 (__gcov_one_value_profiler_body): New argument is instroduced.
3825 (__gcov_one_value_profiler): Call with the new argument.
3826 (__gcov_one_value_profiler_atomic): Likewise.
3827 (__gcov_indirect_call_profiler_v2): Likewise.
3828 (__gcov_time_profiler_atomic): New function.
3829 (__gcov_average_profiler_atomic): Likewise.
3830 (__gcov_ior_profiler_atomic): Likewise.
3831 * libgcov.h: Declare the aforementioned functions.
3833 2016-08-09 Martin Liska <mliska@suse.cz>
3835 * libgcov-util.c: Fix typo and GNU coding style.
3837 2016-08-09 Martin Liska <mliska@suse.cz>
3839 * Makefile.in: Remove __gcov_indirect_call_profiler.
3840 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3842 * libgcov.h: And the declaration of the function.
3844 2016-08-09 Martin Liska <mliska@suse.cz>
3846 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3849 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3851 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3852 * config/rs6000/_mulkc3.c: Likewise.
3854 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3856 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3857 zero_reg as previous call to __umulhisi3 already cleared it.
3859 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3862 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3864 2016-07-19 Nick Clifton <nickc@redhat.com>
3866 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3867 Add crtinit.o and crtfini.o to extra_parts.
3869 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3871 * config/rs6000/_divkc3.c: New.
3872 * config/rs6000/_mulkc3.c: New.
3873 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3875 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3878 2016-07-11 Hale Wang <hale.wang@arm.com>
3879 Andre Vieira <andre.simoesdiasvieira@arm.com>
3881 * config/arm/lib1funcs.S: Add new wrapper.
3883 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3885 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3887 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3889 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3890 and ARMv5t* rather than for a fixed list of architectures.
3892 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3894 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3895 implementation suitable for.
3896 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3897 for all Thumb-1 only targets.
3898 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3899 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3902 (ARM_FUNC_ALIAS): Likewise.
3903 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3906 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3909 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3910 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3911 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3912 __ARM_ARCH_6M__ and add comment to indicate the connection between
3913 this condition and the one in gcc/config/arm/elf.h.
3914 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3915 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3916 * config/arm/t-softfp: Likewise.
3918 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3920 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3921 CTOR_LISTS_DEFINED_EXTERNALLY.
3923 2016-06-28 Walter Lee <walt@tilera.com>
3925 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3927 (SPR_CMPEXCH_VALUE): Define for tilegx.
3928 (__NR_FAST_cmpxchg): Define for tilepro.
3929 (__NR_FAST_atomic_update): Define for tilepro.
3930 (__NR_FAST_cmpxchg64): Define for tilepro.
3932 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3934 * config.host: Add suport for arm*-*-phoenix* targets.
3936 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3938 * config.host: Remove support for mep-*.
3939 * config/mep/lib1funcs.S: Remove.
3940 * config/mep/lib2funcs.c: Remove.
3941 * config/mep/t-mep: Remove.
3942 * config/mep/tramp.c: Remove.
3944 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3946 * config.host: Remove support for avr-rtems.
3947 * config/avr/t-rtems: Remove.
3949 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3951 * config.host: Remove m32r-rtems support.
3953 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3955 * config.host: Remove h8300-rtems support.
3957 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3959 * config.host: Remove support for knetbsd.
3961 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3963 * config.host: Remove support for openbsd 2 and 3.
3965 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3967 * config.host: Remove interix support.
3968 * config/i386/t-interix: Remove.
3970 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
3972 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3973 least-significant bit in function pointer for fixup.
3975 2016-06-05 Aaron Conole <aconole@redhat.com>
3976 Nathan Sidwell <nathan@acm.org>
3979 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3980 (get_gcov_error_file): Check __gcov_error_file before trying to
3982 (gcov_error): Always use get_gcov_error_file.
3984 2016-06-02 Aaron Conole <aconole@redhat.com>
3986 * libgcov-driver-system.c (__gcov_error_file): New.
3987 (get_gcov_error_file): New.
3988 (gcov_error): Use and set __gcov_error_file.
3989 (gcov_error_exit): New.
3990 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3992 2016-05-26 Nathan Sidwell <nathan@acm.org>
3994 * config/nvptx/free.asm: Delete.
3995 * config/nvptx/malloc.asm: Delete.
3996 * config/nvptx/realloc.c: Delete.
3999 2016-05-25 Nathan Sidwell <nathan@acm.org>
4001 * config/nvptx/crt0.s: Delete.
4002 * config/nvptx/crt0.c: New.
4005 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4007 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4008 dw2/seh configuration.
4009 [x86_64-*-mingw*]: Likewise.
4011 2016-05-10 Joel Sherrill <joel@rtems.org>
4014 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4015 targets so the same extra_parts are built. Also have tmake_file add
4016 on to its value rather than override.
4018 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4020 * config.host: Remove SH5 support.
4021 * configure: Likewise.
4023 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4025 * config/sh/crt1.S: Remove SH5 support.
4026 * config/sh/crti.S: Likewise.
4027 * config/sh/crtn.S: Likewise.
4028 * config/sh/lib1funcs-4-300.S: Likewise.
4029 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4030 * config/sh/lib1funcs.S: Likewise.
4031 * config/sh/linux-unwind.h: Likewise.
4032 * config/sh/t-sh64: Delete.
4034 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4036 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4038 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4039 Joern Rennecke <joern.rennecke@embecosm.com>
4041 * config/arc/crttls.S: New file.
4042 * config/arc/t-arc: New rule.
4043 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4045 2016-04-25 Nick Clifton <nickc@redhat.com>
4047 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4048 (__mspabi_cmpd): Likewise.
4049 * config/msp430/floathidf.c (__floathidf): Likewise.
4050 * config/msp430/floathisf.c (__floathisf): Likewise
4051 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4052 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4053 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4055 (__ashrsi3): Likewise.
4057 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4059 * config/m68k/linux-atomic.c: Do not include unistd.h
4061 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4063 * config/arm/ieee754-df.S: Fix typos in comments.
4065 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4068 * configure.ac (powerpc*-*-linux*): Rework tests to build
4069 __float128 emulation routines to not depend on using #pragma GCC
4070 target to enable -mfloat128.
4071 * configure: Regnerate.
4073 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4076 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4077 __MINGW32__ is defined.
4079 2016-03-28 James Bowman <james.bowman@ftdichip.com>
4081 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4083 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4086 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4087 built with an assembler that does not support ISA 3.0
4088 instructions, rename __extendkftf2_sw to __extendkftf2.
4090 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4093 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4094 call-clobbered registers.
4095 (internal_mcount): Remove __i386__ handling.
4097 2016-02-26 Joel Sherrill <joel@rtems.org>
4099 * config.host: Add x86_64-*-rtems*.
4101 2016-02-26 Joel Sherrill <joel@rtems.org>
4103 * libgcc/config.host: Add aarch64-*-rtems*.
4105 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4106 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4108 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4109 union of u64 and double.
4110 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4111 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4113 (FP_ROUNDMODE): Update the usage of _fpscr.
4115 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4118 * Makefile.in (crtoffloadtable$(objext)): New rule.
4119 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4120 enable_offload_targets is not empty.
4121 * configure: Regenerate.
4122 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4125 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4127 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4128 .literal_position before the function.
4129 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4132 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4134 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4135 * config/s390/morestack.S: New file.
4136 * config/s390/t-stack-s390: New file.
4137 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4139 2016-02-12 Walter Lee <walt@tilera.com>
4141 * config.host (tilegx*-*-linux*): remove ti from
4142 softfp_int_modes for 32-bit configs.
4144 2016-02-10 Ian Lance Taylor <iant@google.com>
4147 * config/i386/morestack.S (__stack_split_initialize): Align
4150 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4153 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4154 __FLOAT128__ to compile only for __float128 capable targets.
4156 2016-01-25 Jakub Jelinek <jakub@redhat.com>
4159 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4160 instead of ___NO_FPRS__.
4162 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
4163 Steven Munroe <munroesj@linux.vnet.ibm.com>
4164 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4166 * config/rs6000/float128-sed: New files to convert TF names to KF
4167 names for PowerPC IEEE 128-bit floating point support.
4168 * config/rs6000/float128-sed-hw: Likewise.
4170 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4171 floating point hardware support.
4173 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4174 128-bit floating point software emulation or use ISA 3.0 hardware
4175 support if it is available.
4177 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4180 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4181 floating point to IBM extended double.
4183 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4184 double to IEEE 128-bit floating point.
4186 * config/rs6000/t-float128: New Makefile fragments to enable
4187 building __float128 emulation support.
4188 * config/rs6000/t-float128-hw: Likewise.
4190 * config/rs6000/sfp-exceptions.c: New file to provide exception
4191 support for IEEE 128-bit floating point.
4193 * config/rs6000/floattikf.c: New files for converting between IEEE
4194 128-bit floating point and signed/unsigned 128-bit integers.
4195 * config/rs6000/fixunskfti.c: Likewise.
4196 * config/rs6000/fixkfti.c: Likewise.
4197 * config/rs6000/floatuntikf.c: Likewise.
4199 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4200 when building on 64-bit systems, or when VSX is enabled.
4201 (_FP_W_TYPE): Likewise.
4202 (_FP_WS_TYPE): Likewise.
4203 (_FP_I_TYPE): Likewise.
4204 (TItype): Define on 64-bit systems.
4205 (UTItype): Likewise.
4206 (TI_BITS): Likewise.
4207 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4208 (_FP_MUL_MEAT_Q): Likewise.
4209 (_FP_DIV_MEAT_D): Likewise.
4210 (_FP_DIV_MEAT_Q): Likewise.
4211 (_FP_NANFRAC_D): Likewise.
4212 (_FP_NANFRAC_Q): Likewise.
4213 (ISA_BIT): Add exception support if we are being compiled on a
4214 machine with hardware floating point support to build the IEEE
4215 128-bit emulation functions.
4216 (FP_EX_INVALID): Likewise.
4217 (FP_EX_OVERFLOW): Likewise.
4218 (FP_EX_UNDERFLOW): Likewise.
4219 (FP_EX_DIVZERO): Likewise.
4220 (FP_EX_INEXACT): Likewise.
4221 (FP_EX_ALL): Likewise.
4222 (__sfp_handle_exceptions): Likewise.
4223 (FP_HANDLE_EXCEPTIONS): Likewise.
4224 (FP_RND_NEAREST): Likewise.
4225 (FP_RND_ZERO): Likewise.
4226 (FP_RND_PINF): Likewise.
4227 (FP_RND_MINF): Likewise.
4228 (FP_RND_MASK): Likewise.
4229 (_FP_DECL_EX): Likewise.
4230 (FP_INIT_ROUNDMODE): Likewise.
4231 (FP_ROUNDMODE): Likewise.
4233 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4234 VSX code, enable IEEE 128-bit floating point. If the compiler can
4235 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4236 floating point hardware instructions and it supports declaring
4237 functions with the ifunc attribute, enable ifunc functions to
4238 switch between software and hardware support.
4239 * configure.ac (powerpc*-*-linux*): Likewise.
4240 * configure: Regenerate.
4242 2016-01-15 Nick Clifton <nickc@redhat.com>
4244 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4245 dependency as the source file to be compiled.
4246 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4247 (lib2hw_mul_f5.o): Likewise.
4249 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4251 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4252 * libgcc/config/rs6000/fixkfti.c: Likewise.
4253 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4254 * libgcc/config/rs6000/float128-hw.c: Likewise.
4255 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4256 * libgcc/config/rs6000/float128-sed: Likewise.
4257 * libgcc/config/rs6000/floattikf.c: Likewise.
4258 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4259 * libgcc/config/rs6000/quad-float128.h: Likewise.
4260 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4261 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4262 * libgcc/config/rs6000/t-float128: Likewise.
4263 * libgcc/config/rs6000/t-float128-hw: Likewise.
4264 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4265 * libgcc/config.host: Likewise.
4266 * libgcc/configure: Likewise.
4267 * libgcc/configure.ac: Likewise.
4269 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4270 Steven Munroe <munroesj@linux.vnet.ibm.com>
4271 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4273 * config/rs6000/sfp-exceptions.c: New file to provide exception
4274 support for IEEE 128-bit floating point.
4276 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4277 floating point hardware support.
4279 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4281 * config/rs6000/fixunskfti.c: Likewise.
4282 * config/rs6000/fixkfti.c: Likewise.
4283 * config/rs6000/floatuntikf.c: Likewise.
4284 * config/rs6000/extendkftf2-sw.c: Likewise.
4285 * config/rs6000/trunctfkf2-sw.c: Likewise.
4287 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4288 128-bit floating point software emulation or use ISA 3.0 hardware
4289 support if it is available.
4291 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4294 * config/rs6000/t-float128: New Makefile fragments to enable
4295 building __float128 emulation support.
4296 * config/rs6000/t-float128-hw: Likewise.
4298 * config/rs6000/float128-sed: New file to convert TF names to KF
4299 names for PowerPC IEEE 128-bit floating point support.
4301 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4302 when building on 64-bit systems, or when VSX is enabled.
4303 (_FP_W_TYPE): Likewise.
4304 (_FP_WS_TYPE): Likewise.
4305 (_FP_I_TYPE): Likewise.
4306 (TItype): Define on 64-bit systems.
4307 (UTItype): Likewise.
4308 (TI_BITS): Likewise.
4309 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4310 (_FP_MUL_MEAT_Q): Likewise.
4311 (_FP_DIV_MEAT_D): Likewise.
4312 (_FP_DIV_MEAT_Q): Likewise.
4313 (_FP_NANFRAC_D): Likewise.
4314 (_FP_NANFRAC_Q): Likewise.
4315 (ISA_BIT): Add exception support if we are being compiled on a
4316 machine with hardware floating point support to build the IEEE
4317 128-bit emulation functions.
4318 (FP_EX_INVALID): Likewise.
4319 (FP_EX_OVERFLOW): Likewise.
4320 (FP_EX_UNDERFLOW): Likewise.
4321 (FP_EX_DIVZERO): Likewise.
4322 (FP_EX_INEXACT): Likewise.
4323 (FP_EX_ALL): Likewise.
4324 (__sfp_handle_exceptions): Likewise.
4325 (FP_HANDLE_EXCEPTIONS): Likewise.
4326 (FP_RND_NEAREST): Likewise.
4327 (FP_RND_ZERO): Likewise.
4328 (FP_RND_PINF): Likewise.
4329 (FP_RND_MINF): Likewise.
4330 (FP_RND_MASK): Likewise.
4331 (_FP_DECL_EX): Likewise.
4332 (FP_INIT_ROUNDMODE): Likewise.
4333 (FP_ROUNDMODE): Likewise.
4335 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4336 compiler can do __float128.
4337 * configure: Regenerate.
4339 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4340 VSX code, enable IEEE 128-bit floating point.
4342 2016-01-05 Olivier Hainque <hainque@adacore.com>
4344 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4347 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4349 Update copyright years.
4351 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4353 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4356 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4358 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4359 instead of abort to avoid dependency on stdlib.h.
4361 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
4363 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4364 to initialize call to __dl_fixup once.
4366 2015-12-04 Nick Clifton <nickc@redhat.com>
4368 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4369 Allow for the second argument being negative.
4370 * config.host (extra_parts): Define for MSP430. Create separate
4371 libraries for each of the hardware multiply formats.
4372 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4374 * config/msp430/lib2mul.c: Likewise.
4375 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4376 Add rules to build hardware multiply libraries.
4377 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4378 __mspabi_divul function.
4379 (__mspabi_divllu): New stub function.
4381 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
4383 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4384 fixup values if saved GOT address doesn't match runtime address.
4385 (fixup_branch_offset): Reorder list.
4387 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4389 * Makefile.in (VTV_CFLAGS): New variable.
4390 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4391 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4392 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4393 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4394 to extra_parts if $enable_vtable_verify = yes.
4396 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4399 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4400 (write): ...this and fix the return type.
4402 2015-11-19 DJ Delorie <dj@redhat.com>
4404 * config/msp430/lib2hw_mul.S: Fix alignment.
4406 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4408 * config/nvptx/reduction.c: New.
4409 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4411 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
4413 * config/rs6000/on_exit.c: New file.
4414 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4415 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4417 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4419 * config/arc/dp-hack.h: Add support for ARCHS.
4420 * config/arc/ieee-754/divdf3.S: Likewise.
4421 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4422 * config/arc/ieee-754/muldf3.S: Likewise.
4423 * config/arc/ieee-754/mulsf3.S: Likewise
4424 * config/arc/lib1funcs.S: Likewise
4425 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4427 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4429 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4430 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4433 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4435 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4437 * config/ia64/crtend.S: Likewise.
4439 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4441 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4442 __CHAR_BIT__ instead of BITS_PER_UNIT.
4443 * fixed-bit.h: Likewise.
4444 * fp-bit.h: Likewise.
4445 * libgcc2.c (__popcountSI2): Likewise.
4446 (__popcountDI2): Likewise.
4447 * libgcc2.h: Likewise.
4448 * libgcov.h: Likewise.
4450 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4452 * config/rs6000/atexit.c: New file.
4453 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4454 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4455 * config/rs6000/cxa_finalize.c
4456 (catomic_compare_and_exchange_bool_acq): Negate return value.
4458 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4460 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4461 (processor_subtypes): Add znver1.
4462 (get_amd_cpu): Detect znver1.
4464 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4466 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4467 Include crtfastmath.o.
4469 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4472 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4474 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4476 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4477 * config/rl78/divmodsi.S: Update return register to r8.
4478 * config/rl78/divmodhi.S: Update return register to r8,r9.
4479 Branch to main_loop_done_himode to pop registers before return.
4481 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4483 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4484 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4486 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4488 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4490 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4492 * config.host (xtensa*-*-uclinux*): New configuration.
4494 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4496 * config/i386/cpuinfo.c (processor_features): Add
4497 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4499 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4501 * soft-fp/adddf3.c: Update from glibc.
4502 * soft-fp/addsf3.c: Likewise.
4503 * soft-fp/addtf3.c: Likewise.
4504 * soft-fp/divdf3.c: Likewise.
4505 * soft-fp/divsf3.c: Likewise.
4506 * soft-fp/divtf3.c: Likewise.
4507 * soft-fp/double.h: Likewise.
4508 * soft-fp/eqdf2.c: Likewise.
4509 * soft-fp/eqsf2.c: Likewise.
4510 * soft-fp/eqtf2.c: Likewise.
4511 * soft-fp/extenddftf2.c: Likewise.
4512 * soft-fp/extended.h: Likewise.
4513 * soft-fp/extendsfdf2.c: Likewise.
4514 * soft-fp/extendsftf2.c: Likewise.
4515 * soft-fp/extendxftf2.c: Likewise.
4516 * soft-fp/fixdfdi.c: Likewise.
4517 * soft-fp/fixdfsi.c: Likewise.
4518 * soft-fp/fixdfti.c: Likewise.
4519 * soft-fp/fixsfdi.c: Likewise.
4520 * soft-fp/fixsfsi.c: Likewise.
4521 * soft-fp/fixsfti.c: Likewise.
4522 * soft-fp/fixtfdi.c: Likewise.
4523 * soft-fp/fixtfsi.c: Likewise.
4524 * soft-fp/fixtfti.c: Likewise.
4525 * soft-fp/fixunsdfdi.c: Likewise.
4526 * soft-fp/fixunsdfsi.c: Likewise.
4527 * soft-fp/fixunsdfti.c: Likewise.
4528 * soft-fp/fixunssfdi.c: Likewise.
4529 * soft-fp/fixunssfsi.c: Likewise.
4530 * soft-fp/fixunssfti.c: Likewise.
4531 * soft-fp/fixunstfdi.c: Likewise.
4532 * soft-fp/fixunstfsi.c: Likewise.
4533 * soft-fp/fixunstfti.c: Likewise.
4534 * soft-fp/floatdidf.c: Likewise.
4535 * soft-fp/floatdisf.c: Likewise.
4536 * soft-fp/floatditf.c: Likewise.
4537 * soft-fp/floatsidf.c: Likewise.
4538 * soft-fp/floatsisf.c: Likewise.
4539 * soft-fp/floatsitf.c: Likewise.
4540 * soft-fp/floattidf.c: Likewise.
4541 * soft-fp/floattisf.c: Likewise.
4542 * soft-fp/floattitf.c: Likewise.
4543 * soft-fp/floatundidf.c: Likewise.
4544 * soft-fp/floatundisf.c: Likewise.
4545 * soft-fp/floatunditf.c: Likewise.
4546 * soft-fp/floatunsidf.c: Likewise.
4547 * soft-fp/floatunsisf.c: Likewise.
4548 * soft-fp/floatunsitf.c: Likewise.
4549 * soft-fp/floatuntidf.c: Likewise.
4550 * soft-fp/floatuntisf.c: Likewise.
4551 * soft-fp/floatuntitf.c: Likewise.
4552 * soft-fp/gedf2.c: Likewise.
4553 * soft-fp/gesf2.c: Likewise.
4554 * soft-fp/getf2.c: Likewise.
4555 * soft-fp/ledf2.c: Likewise.
4556 * soft-fp/lesf2.c: Likewise.
4557 * soft-fp/letf2.c: Likewise.
4558 * soft-fp/muldf3.c: Likewise.
4559 * soft-fp/mulsf3.c: Likewise.
4560 * soft-fp/multf3.c: Likewise.
4561 * soft-fp/negdf2.c: Likewise.
4562 * soft-fp/negsf2.c: Likewise.
4563 * soft-fp/negtf2.c: Likewise.
4564 * soft-fp/op-1.h: Likewise.
4565 * soft-fp/op-2.h: Likewise.
4566 * soft-fp/op-4.h: Likewise.
4567 * soft-fp/op-8.h: Likewise.
4568 * soft-fp/op-common.h: Likewise.
4569 * soft-fp/quad.h: Likewise.
4570 * soft-fp/single.h: Likewise.
4571 * soft-fp/soft-fp.h: Likewise.
4572 * soft-fp/subdf3.c: Likewise.
4573 * soft-fp/subsf3.c: Likewise.
4574 * soft-fp/subtf3.c: Likewise.
4575 * soft-fp/truncdfsf2.c: Likewise.
4576 * soft-fp/trunctfdf2.c: Likewise.
4577 * soft-fp/trunctfsf2.c: Likewise.
4578 * soft-fp/trunctfxf2.c: Likewise.
4579 * soft-fp/unorddf2.c: Likewise.
4580 * soft-fp/unordsf2.c: Likewise.
4581 * soft-fp/unordtf2.c: Likewise.
4583 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
4586 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4588 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4590 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4591 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4592 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4594 (internal_mcount): Likewise.
4595 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4596 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4598 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4600 * configure.ac (libgcc_cv_solaris_crts): New test.
4601 * configure: Regenerate.
4602 * config.in: Regenerate.
4603 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4604 * config/gmon-sol2.c: Rename to ...
4605 * config/sol2/gmon.c: ... this.
4606 Include auto-target.h.
4607 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4608 * config/t-sol2: Rename to ...
4609 * config/sol2/t-sol2: ... this.
4610 (gmon.o): Reflect renaming.
4611 (crtp.o, crtpg.o): New rules.
4612 * config.host (*-*-solaris2*): Reflect renaming.
4613 Use system CRTs if present.
4614 Remove default CRT case.
4616 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
4618 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4619 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4621 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4622 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4623 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4624 (__sync_lock_test_and_set_##WIDTH): Likewise.
4625 (__sync_lock_release_##WIDTH): Likewise.
4626 (__sync_fetch_and_##OP##_4): Change result to match type of
4628 (__sync_##OP##_and_fetch_4): Likewise.
4629 (__sync_val_compare_and_swap_4): Likewise.
4630 (__sync_bool_compare_and_swap_4): likewise.
4631 (__sync_lock_test_and_set_4): Likewise.
4632 (__sync_lock_release_4): Likewise.
4633 (FETCH_AND_OP_2): Add long long variants.
4634 (OP_AND_FETCH_2): Likewise.
4635 (COMPARE_AND_SWAP_2 ): Likewise.
4636 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4637 (SYNC_LOCK_RELEASE_2): Likewise.
4638 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4640 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4642 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4643 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4644 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4645 (get_available_features): Habdle new features.
4647 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4649 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4650 memory layout. Deal correctly with BSS region larger than 32K.
4651 Handle a watchdog reset like a power-on reset. Clean up unused
4654 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4655 David Edelsohn <dje.gcc@gmail.com>
4657 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4658 * config/rs6000/crtdbase.S: New file.
4659 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4661 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4663 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4664 Add support for call0 ABI.
4666 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
4668 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4670 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4672 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4673 (__GTHREAD_HAS_COND): Likewise.
4674 (__gthread_t): Likewise.
4675 (__gthread_cond_t): Likewise.
4676 (__gthread_time_t): Likewise.
4677 (__GTHREAD_MUTEX_INIT): Likewise.
4678 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4679 (__GTHREAD_COND_INIT): Likewise.
4680 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4681 (__GTHREAD_TIME_INIT): Likewise.
4682 (__gthread_create): Likewise.
4683 (__gthread_join): Likewise.
4684 (__gthread_detach): Likewise.
4685 (__gthread_equal): Likewise.
4686 (__gthread_self): Likewise.
4687 (__gthread_yield): Likewise.
4688 (__gthread_cond_broadcast): Likewise.
4689 (__gthread_cond_signal): Likewise.
4690 (__gthread_cond_wait): Likewise.
4691 (__gthread_cond_timedwait): Likewise.
4692 (__gthread_cond_wait_recursive): Likewise.
4693 (__gthread_cond_destroy): Likewise.
4694 (rtems_gxx_once): Delete.
4695 (rtems_gxx_key_create): Likewise.
4696 (rtems_gxx_key_delete): Likewise.
4697 (rtems_gxx_getspecific): Likewise.
4698 (rtems_gxx_setspecific): Likewise.
4699 (rtems_gxx_mutex_init): Likewise.
4700 (rtems_gxx_mutex_destroy): Likewise.
4701 (rtems_gxx_mutex_lock): Likewise.
4702 (rtems_gxx_mutex_trylock): Likewise.
4703 (rtems_gxx_mutex_unlock): Likewise.
4704 (rtems_gxx_recursive_mutex_init): Likewise.
4705 (rtems_gxx_recursive_mutex_lock): Likewise.
4706 (rtems_gxx_recursive_mutex_trylock): Likewise.
4707 (rtems_gxx_recursive_mutex_unlock): Likewise.
4708 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4709 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4710 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4711 (__gthread_once): Likewise.
4712 (__gthread_key_create): Likewise.
4713 (__gthread_key_delete): Likewise.
4714 (__gthread_getspecific): Likewise.
4715 (__gthread_setspecific): Likewise.
4716 (__gthread_key_t): Use <pthread.h> type.
4717 (__gthread_once_t): Likewise
4718 (__gthread_mutex_t): Use <sys/lock.h> type.
4719 (__gthread_recursive_mutex_t): Likewise
4720 (__gthread_mutex_lock): Use <sys/lock.h> function.
4721 (__gthread_mutex_trylock): Likewise.
4722 (__gthread_mutex_timedlock): Likewise.
4723 (__gthread_mutex_unlock): Likewise.
4724 (__gthread_mutex_destroy): Likewise.
4725 (__gthread_recursive_mutex_lock): Likewise.
4726 (__gthread_recursive_mutex_trylock): Likewise.
4727 (__gthread_recursive_mutex_timedlock): Likewise.
4728 (__gthread_recursive_mutex_unlock): Likewise.
4729 (__gthread_recursive_mutex_destroy): Likewise.
4731 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4733 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4734 context->sp instead of context->cfa.
4736 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4738 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4739 with unwind-dw2-fde-dip.
4741 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4743 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4744 CALL12 followed by series of ENTRY to spill windowed registers.
4745 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4746 instead of making linux spill syscall.
4748 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4750 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4751 (get_intel_cpu): Likewise.
4753 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4755 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4756 (get_intel_cpu): Add Knights Landing support.
4758 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4761 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4762 (get_available_features): Handle FEATURE_PCLMUL.
4764 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4766 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4769 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4772 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4773 (get_available_features): Handle FEATURE_AES.
4775 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4777 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4778 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4780 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4782 * offloadstuff.c: Constify host data.
4784 2015-07-17 Jan Beulich <jbeulich@suse.com>
4786 * config/t-softfp: Split up "else ifneq".
4788 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4789 Cesar Philippidis <cesar@codesourcery.com>
4790 Chung-Lin Tang <cltang@codesourcery.com>
4792 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4793 for __nios2_arch__ level.
4795 2015-07-13 John Marino <gnugcc@marino.st>
4797 * config/i386/t-dragonfly: New.
4799 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4801 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4802 better match light-weight syscall argument order.
4803 (__kernel_cmpxchg2): Likewise.
4806 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4808 * config.host: Support i[34567]86-*-elfiamcu target.
4809 * config/t-softfp-sfdftf: New file.
4810 * config/i386/32/t-iamcu: Likewise.
4811 * configure: Regenerated.
4813 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4816 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4818 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4820 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4822 2015-05-27 John Marino <gnugcc@marino.st>
4824 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4826 * config/i386/freebsd-unwind.h: New.
4828 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4830 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4831 i386/t-crtfm to tmake_file.
4832 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4833 (set_fast_math): Use set_fast_math_sse for SSE targets.
4834 * config/i386/t-crtfm: Remove.
4836 2015-05-21 Alan Modra <amodra@gmail.com>
4839 * config/rs6000/morestack.S: Remove ".abiversion 1".
4841 2015-05-20 Alan Modra <amodra@gmail.com>
4843 * config/rs6000/morestack.S: New.
4844 * config/rs6000/t-stack-rs6000: New.
4845 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4847 * generic-morestack.c: Don't build for powerpc 32-bit.
4849 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4851 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4852 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4854 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4856 * config.host: FT32 target added.
4857 * config/ft32/*: New files for FT32 target.
4859 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4861 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4863 * config/arm/ieee754-df.S: Add CFI directives.
4864 * config/arm/ieee754-sf.S: Add CFI directives.
4866 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4868 * configure.ac: Include config/sjlj.m4.
4869 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4870 * config.in: Regenerate.
4871 * configure: Likewise.
4872 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4874 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4876 * libgcov-util.c: Add space between string literal and macro name.
4878 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4879 Chris Jones <chrisj@nvidia.com>
4880 Joshua Conner <jconner@nvidia.com>
4882 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4883 (arm*-*-uclinux*): Likewise.
4884 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4885 * config/arm/crtfastmath.c: New file.
4887 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4889 * Makefile.in (real_host_noncanonical): New variable.
4890 (libsubdir): Use it.
4891 * configure.ac (real_host_noncanonical): Compute. Remove special
4892 case for intelmicemul.
4893 * configure: Regenerate.
4895 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4897 * config/frv/elf-lib.h: New file.
4898 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4899 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4902 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4904 * config/frv/frvbengin.c: Do not include defaults.h
4905 * config/frv/frvend.c: Ditto.
4907 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4909 * config.host: Add h8300-*-linux
4910 * config/h8300/t-linux: New file.
4911 * config/h8300/lib1funs.s: Change symbol prefix.
4912 * config/h8300/sfp-machine.h: 64bit double support.
4914 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4915 Szabolcs Nagy <szabolcs.nagy@arm.com>
4917 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4918 Linux if target provides dl_iterate_phdr.
4920 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4923 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4924 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4925 (__cpu_indicator_init@GCC_4.8.0): New.
4926 (__cpu_model@GCC_4.8.0): Likewise.
4927 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4930 2015-04-16 Nick Clifton <nickc@redhat.com>
4932 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4933 and __modhi3 functions.
4934 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4935 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4937 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4939 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4940 do-while loop as macro body to avoid warnings.
4942 2015-04-10 Jakub Jelinek <jakub@redhat.com>
4943 Iain Sandoe <iain@codesourcery.com>
4946 * configure: Regenerate.
4948 2015-04-07 Jakub Jelinek <jakub@redhat.com>
4949 Iain Sandoe <iain@codesourcery.com>
4952 * configure: Regenerate.
4954 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4956 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4958 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
4960 Implement call0 ABI for xtensa
4961 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4962 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4963 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4964 use ret in call0 ABI.
4965 * config/xtensa/t-windowed: New file.
4966 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4967 * libgcc/configure: Regenerated.
4968 * libgcc/configure.ac: Check if xtensa target is configured for
4969 windowed ABI and thus needs to use custom unwind code.
4971 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
4974 * gthr-single.h: Use __unused__ attribute instead of unused.
4975 * config/gthr-vxworks.h: Likewise.
4976 * config/i386/gthr-win32.h: Likewise.
4978 2015-02-27 Kai Tietz <ktietz@redhat.com>
4981 * config.in: Regenerated.
4982 * configure: Likewise.
4983 * configure.ac (AC_HEADER_STDC): Added explicit.
4984 (AC_CHECK_HEADERS): Check for default headers plus
4986 * libgcov-util.c (gcov_read_profile_dir): Disable use
4987 of ftw-function, if header is not found.
4988 (ftw_read_file): Likewise.
4990 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4993 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4996 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4998 * config/arm/bpabi.S (test_div_by_zero): Make label names
4999 consistent between thumb2 and arm mode cases. Separate the
5000 signed comparison on the high word of the numerator from the
5001 unsigned comparison on the low word.
5002 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5005 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5007 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5009 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5011 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5013 PR gcov-profile/61889
5014 * libgcov-driver-system.c: undefine clashing macro for mkdir.
5016 2015-02-02 Nick Clifton <nickc@redhat.com>
5018 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5019 rounding up the fraction.
5021 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
5023 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5024 oldval and newval to const void *. Fix typo.
5025 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5026 (FETCH_AND_OP_WORD): Likewise.
5027 (OP_AND_FETCH_WORD): Likewise.
5028 (COMPARE_AND_SWAP_2): Likewise.
5029 (__sync_val_compare_and_swap_4): Likewise.
5030 (__sync_lock_test_and_set_4): Likewise.
5031 (SYNC_LOCK_RELEASE_2): Likewise.
5032 Remove support for long long atomic operations.
5034 2015-01-27 Caroline Tice <cmtice@google.com>
5036 Committing VTV Cywin/Ming patch for Patrick Wollgast
5037 * Makefile.in: Move rules to build vtv_*.o out of the check
5038 for CUSTOM_CRTSTUFF.
5039 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5040 i[34567]86-*-mingw*)
5041 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5042 enable_vtable_verify.
5044 2015-01-27 Nick Clifton <nickc@redhat.com>
5046 * config/rl78/cmpsi2.S: Use function start and end macros.
5047 (__gcc_bcmp): New function.
5048 * config/rl78/lshrsi3.S: Use function start and end macros.
5049 * config/rl78/mulsi3.S: Add support for G10.
5050 (__mulqi3): New function for G10.
5051 * config/rl78/signbit.S: Use function start and end macros.
5052 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5054 (LIB2FUNCS_EXCLUDE): Define.
5055 (LIB2FUNCS_ST): Define.
5056 * config/rl78/trampoline.S: Use function start and end macros.
5057 * config/rl78/vregs.h (START_FUNC): New macro.
5058 (START_ANOTHER_FUNC): New macro.
5059 (END_FUNC): New macro.
5060 (END_ANOTHER_FUNC): New macro.
5061 * config/rl78/bit-count.S: New file. Contains assembler
5062 implementations of the bit counting functions: ___clzhi2,
5063 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5064 __paritysi2, __popcounthi2 and __popcountsi2.
5065 * config/rl78/fpbit-sf.S: New file. Contains assembler
5066 implementationas of the math functions: __negsf2, __cmpsf2,
5067 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5068 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5069 * config/rl78/fpmath-sf.S: New file. Contains assembler
5070 implementations of the math functions: __subsf3, __addsf3,
5071 __mulsf3 and __divsf3
5073 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5075 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5076 Add i386/elf-lib.h to tm_file.
5077 * config/i386/elf-lib.h: Fix comment.
5078 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5079 && __sun__ && __svr4__]: Remove workaround.
5081 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5083 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5085 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5087 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5089 * config/i386/cpuinfo.c (processor_subtypes): Add
5090 INTEL_COREI7_BROADWELL.
5091 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5094 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
5096 * config/i386/elf-lib.h: New file.
5097 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5098 Wrap definition in #ifdef __i386__.
5099 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5100 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5101 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5102 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5105 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5107 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5108 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5110 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5112 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5113 Update rt_sigframe format and address for current Nios II
5116 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5118 * config.host (arm*-*-freebsd*): Add new configuration for
5120 * config/arm/freebsd-atomic.c: New file.
5121 * config/arm/t-freebsd: Likewise.
5122 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5123 'PC-relative indirect' OS's.
5125 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5127 * config.host: Add Visium support.
5128 * config/visium: New directory.
5130 2015-01-05 Jakub Jelinek <jakub@redhat.com>
5132 Update copyright years.
5134 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5136 * config.host: Support mipsisa32r6 and mipsisa64r6.
5137 * config/mips/mips16.S: Do not build for R6.
5139 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5141 * config/sh/crt.h: New.
5142 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5144 * config/sh/crt1.S: Likewise.
5146 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
5149 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5150 func_ptr *dtor_list temporary variable to avoid "array subscript
5151 is above array bounds" warnings.
5153 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
5155 * Makefile.in (with_aix_soname): Define.
5156 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5157 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5158 * configure: Recreate.
5160 2014-12-05 Olivier Hainque <hainque@adacore.com>
5162 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5163 now provided by defaults.h.
5165 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5168 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5169 whether it's defined.
5171 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5173 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5174 * config/i386/cpuinfo.c (get_available_features): Detect it.
5176 2014-11-27 Tony Wang <tony.wang@arm.com>
5178 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5179 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5180 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5182 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5184 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5186 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
5188 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5191 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5192 John David Anglin <danglin@gcc.gnu.org>
5194 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5195 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5196 (OP_AND_FETCH_2): Likewise.
5197 (COMPARE_AND_SWAP_2): Likewise.
5198 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5199 (SYNC_LOCK_RELEASE_2): Likewise.
5200 (SUBWORD_SYNC_OP): Remove.
5201 (SUBWORD_VAL_CAS): Likewise.
5202 (SUBWORD_BOOL_CAS): Likewise.
5203 (FETCH_AND_OP_WORD): Update.
5204 Consistently use signed types.
5206 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5207 Thomas Schwinge <thomas@codesourcery.com>
5208 Ilya Verbin <ilya.verbin@intel.com>
5209 Andrey Turetskiy <andrey.turetskiy@intel.com>
5211 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5212 (crtoffloadend$(objext)): Likewise.
5213 * configure: Regenerate.
5214 * configure.ac (accel_dir_suffix): Compute new variable.
5215 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5216 if enable_offload_targets is not empty.
5217 * offloadstuff.c: New file.
5219 2014-11-13 Nick Clifton <nickc@redhat.com>
5221 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5222 Use START_FUNC and END_FUNC macros to enable linker garbage
5224 * config/rl78/divmodqi.S: Likewise.
5225 * config/rl78/divmodsi.S: Likewise.
5226 * config/rl78/mulsi3.S: Likewise.
5227 * config/rl78/lib2div.c: Remove G10 functions.
5228 * config/rl78/lib2muls.c: Likewise.
5229 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5230 * config/rl78/vregs.h (START_FUNC): New macro.
5231 (END_FUNC): New macro.
5233 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5235 * config/mips/mips16.S: Set .module when supported. Update O32
5236 FP64 calling convention and use for FPXX when possible. Add FPXX
5237 calling convention fallback case.
5239 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5241 * config.host: Handle nvptx-*-*.
5242 * shared-object.mk (as-flags-$o): Define.
5243 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5244 -xassembler-with-cpp.
5245 * static-object.mk: Identical changes.
5246 * config/nvptx/t-nvptx: New file.
5247 * config/nvptx/crt0.s: New file.
5248 * config/nvptx/free.asm: New file.
5249 * config/nvptx/malloc.asm: New file.
5250 * config/nvptx/realloc.c: New file.
5252 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5254 * Makefile.in (libgcc.map.in): New target.
5255 (libgcc.map): Use libgcc.map.in.
5256 * config/t-softfp (softfp_compat): New variable to be set by
5258 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5260 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5262 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5263 that use compat symbols and disable all code unless [SHARED].
5264 * config/t-softfp-compat: New file.
5265 * find-symver.awk: New file.
5266 * configure.ac (--with-glibc-version): New configure option.
5267 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5268 * configure: Regenerate.
5269 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5270 soft-float and e500.
5272 2014-10-29 Joseph Myers <joseph@codesourcery.com>
5274 * config/t-hardfp (hardfp_exclusions): Document new variable for
5276 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5277 * config/t-softfp (softfp_extras): Document new variable for user
5279 (softfp_func_list): Add functions from $(softfp_extras).
5280 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5281 * config.host (powerpc*-*-linux*): For e500v1, use
5282 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5283 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5284 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5286 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
5288 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5289 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5290 memory read accesses are ok.
5292 2014-10-25 Joseph Myers <joseph@codesourcery.com>
5294 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5295 * configure: Regenerate.
5296 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5297 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5298 of soft-fp for 32-bit classic hard float. Do not use
5299 t-softfp-excl for soft float.
5301 2014-10-22 Joseph Myers <joseph@codesourcery.com>
5303 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5305 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5308 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
5310 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5311 introduced with 2014-10-21 trunk r216525.
5313 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
5314 Vidya Praveen <vidya.praveen@atmel.com>
5315 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5316 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5317 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
5319 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5322 Updated library functions for AVRTINY arch.
5323 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5324 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5325 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5326 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5328 (__mulsi3_helper): Update stack, preserve callee saved regs and
5329 argument from stack. Restore callee save registers.
5330 (__mulpsi3): Likewise.
5331 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5332 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5333 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5335 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5336 (__do_copy_data): Added new definition for AVRTINY.
5337 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5338 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5339 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5340 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5341 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5343 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5346 Fix broken long multiplication on tiny arch.
5348 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5350 * soft-fp/double.h: Update from glibc.
5351 * soft-fp/eqdf2.c: Likewise.
5352 * soft-fp/eqsf2.c: Likewise.
5353 * soft-fp/eqtf2.c: Likewise.
5354 * soft-fp/extenddftf2.c: Likewise.
5355 * soft-fp/extended.h: Likewise.
5356 * soft-fp/extendsfdf2.c: Likewise.
5357 * soft-fp/extendsftf2.c: Likewise.
5358 * soft-fp/extendxftf2.c: Likewise.
5359 * soft-fp/gedf2.c: Likewise.
5360 * soft-fp/gesf2.c: Likewise.
5361 * soft-fp/getf2.c: Likewise.
5362 * soft-fp/ledf2.c: Likewise.
5363 * soft-fp/lesf2.c: Likewise.
5364 * soft-fp/letf2.c: Likewise.
5365 * soft-fp/op-1.h: Likewise.
5366 * soft-fp/op-2.h: Likewise.
5367 * soft-fp/op-4.h: Likewise.
5368 * soft-fp/op-8.h: Likewise.
5369 * soft-fp/op-common.h: Likewise.
5370 * soft-fp/quad.h: Likewise.
5371 * soft-fp/single.h: Likewise.
5372 * soft-fp/soft-fp.h: Likewise.
5373 * soft-fp/unorddf2.c: Likewise.
5374 * soft-fp/unordsf2.c: Likewise.
5375 * soft-fp/unordtf2.c: Likewise.
5376 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5377 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5378 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5379 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5380 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5381 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5382 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5383 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5384 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5385 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5387 2014-10-08 Rong Xu <xur@google.com>
5389 * libgcov-util.c (read_gcda_file): Fix format.
5390 (find_match_gcov_info): Ditto.
5391 (calculate_2_entries): New.
5392 (compute_one_gcov): Ditto.
5393 (gcov_info_count_all_cold): Ditto.
5394 (gcov_info_count_all_zero): Ditto.
5395 (extract_file_basename): Ditto.
5396 (get_file_basename): Ditto.
5398 (matched_gcov_info): Ditto.
5399 (calculate_overlap): Ditto.
5400 (gcov_profile_overlap): Ditto.
5401 * libgcov-driver.c (compute_summary): Make
5402 it avavilable for external calls.
5404 2014-10-06 Rong Xu <xur@google.com>
5406 * Makefile.in: Ditto.
5407 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5408 (gcov_sort_icall_topn_counter): Ditto.
5409 (gcov_sort_topn_counter_arrays): Ditto.
5410 (dump_one_gcov): Sort indirect_call topn counters.
5411 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5413 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5415 (__gcov_indirect_call_topn_profiler): New profiler function.
5416 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5417 * libgcov.h: New decls.
5419 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5421 * config.host: Remove support for score-*.
5423 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5425 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5426 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5427 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5428 __LIBGCC_XF_MANT_DIG__.
5429 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5430 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5431 __LIBGCC_TF_MANT_DIG__.
5432 * libgcc2.c (NOTRUNC): Define in terms of
5433 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5434 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5436 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5439 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5442 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5444 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5445 override USE_PT_GNU_EH_FRAME.
5446 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5447 check USE_EH_FRAME_REGISTRY_ALWAYS against
5448 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5449 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5450 variable for substituted force_explicit_eh_registry.
5451 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5452 * configure.ac (explicit-exception-frame-registration):
5454 * configure: Regenerate.
5456 2014-09-19 Olivier Hainque <hainque@adacore.com>
5458 * config.host (powerpc-wrs-vxworksmils): New configuration,
5461 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5463 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5465 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5467 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5468 bits not set bits as indicating trapping exceptions.
5470 2014-09-17 Nathan sidwell <nathan@acm.org>
5472 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5473 (LIBGCOV_DRIVER): ... here.
5474 * libgcov-driver.c (gcov_master): New.
5475 (gcov_exit): Remove from master chain.
5476 (__gcov_init): Add to master chain if version compatible. Don't
5478 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5479 (gcov_reset_int): Clear master chain, if compatible.
5480 (gcov_dump_int): New internal interface. Dump master chain, if
5482 (gcov_dump): Alias for gcov_dump_int.
5483 * libgcov.h (struct gcov_root): Add next and prev fields.
5484 (struct gcov_master): New struct.
5485 (__gcov_master): New.
5486 (gcov_dump_int): Declare.
5488 2014-09-17 Olivier Hainque <hainque@adacore.com>
5490 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5491 and crtbegin.o + crtend.o to extra_parts.
5493 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5495 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5496 __LIBGCC_HAS_SF_MODE__.
5497 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5498 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5499 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5500 * config/libbid/bid_gcc_intrinsics.h
5501 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5502 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5503 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5504 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5505 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5506 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5508 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5511 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5512 and R24 as needed. Make work for all devices and .text locations.
5513 (__do_global_ctors, __do_global_dtors): Use word addresses.
5514 (__tablejump__, __tablejump_elpm__): Remove functions.
5515 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5517 (XICALL, XIJMP): New macros.
5519 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5520 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5522 * config.host (aarch64*): Include crtfastmath.o and
5524 * config/aarch64/crtfastmath.c: New file.
5526 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5528 * config.host: Remove picochip support.
5529 * config/picochip/adddi3.S: Remove.
5530 * config/picochip/ashlsi3.S: Remove.
5531 * config/picochip/ashlsi3.c: Remove.
5532 * config/picochip/ashrsi3.S: Remove.
5533 * config/picochip/ashrsi3.c: Remove.
5534 * config/picochip/clzsi2.S: Remove.
5535 * config/picochip/cmpsi2.S: Remove.
5536 * config/picochip/divmod15.S: Remove.
5537 * config/picochip/divmodhi4.S: Remove.
5538 * config/picochip/divmodsi4.S: Remove.
5539 * config/picochip/lib1funcs.S: Remove.
5540 * config/picochip/longjmp.S: Remove.
5541 * config/picochip/lshrsi3.S: Remove.
5542 * config/picochip/lshrsi3.c: Remove.
5543 * config/picochip/parityhi2.S: Remove.
5544 * config/picochip/popcounthi2.S: Remove.
5545 * config/picochip/setjmp.S: Remove.
5546 * config/picochip/subdi3.S: Remove.
5547 * config/picochip/t-picochip: Remove.
5548 * config/picochip/ucmpsi2.S: Remove.
5549 * config/picochip/udivmodhi4.S: Remove.
5550 * config/picochip/udivmodsi4.S: Remove.
5552 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5554 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5555 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5556 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5557 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5558 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5559 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5560 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5561 defined and LIBGCC2_HAS_DF_MODE is defined.
5562 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5563 defined and LIBGCC2_HAS_XF_MODE is defined.
5564 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5565 defined and LIBGCC2_HAS_TF_MODE is defined.
5567 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5569 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5570 and ROUND_TOWARDS_ZERO conditionals.
5572 2014-09-07 Nathan sidwell <nathan@acm.org>
5574 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5575 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5577 2014-09-05 Joseph Myers <joseph@codesourcery.com>
5579 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5580 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5581 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5582 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5583 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5584 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5585 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5586 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5587 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5588 (DWARF_FRAME_REGISTERS): Change all uses to
5589 __LIBGCC_DWARF_FRAME_REGISTERS__.
5590 (EH_RETURN_STACKADJ_RTX): Change all uses to
5591 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5592 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5593 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5594 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5595 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5596 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5597 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5598 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5599 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5600 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5601 __LIBGCC_STACK_POINTER_REGNUM__.
5602 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5603 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5604 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5605 to __LIBGCC_STACK_POINTER_REGNUM__.
5606 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5607 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5608 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5609 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5610 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5611 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5612 (STACK_POINTER_REGNUM): Change all uses to
5613 __LIBGCC_STACK_POINTER_REGNUM__.
5614 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5615 use to __LIBGCC_STACK_POINTER_REGNUM__.
5616 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5617 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5618 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5619 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5620 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5621 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5622 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5623 to __LIBGCC_STACK_POINTER_REGNUM__.
5624 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5625 Remove conditional definition.
5626 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5627 __LIBGCC_TEXT_SECTION_ASM_OP__.
5628 (EH_FRAME_SECTION_NAME): Change all uses to
5629 __LIBGCC_EH_FRAME_SECTION_NAME__.
5630 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5631 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5632 (CTORS_SECTION_ASM_OP): Change all uses to
5633 __LIBGCC_CTORS_SECTION_ASM_OP__.
5634 (DTORS_SECTION_ASM_OP): Change all uses to
5635 __LIBGCC_DTORS_SECTION_ASM_OP__.
5636 (JCR_SECTION_NAME): Change all uses to
5637 __LIBGCC_JCR_SECTION_NAME__.
5638 (INIT_SECTION_ASM_OP): Change all uses to
5639 __LIBGCC_INIT_SECTION_ASM_OP__.
5640 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5641 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5642 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5643 __LIBGCC_STACK_GROWS_DOWNWARD__.
5644 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5645 __LIBGCC_INIT_SECTION_ASM_OP__.
5646 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5647 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5648 (EH_FRAME_SECTION_NAME): Change all uses to
5649 __LIBGCC_EH_FRAME_SECTION_NAME__.
5650 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5651 definitions. Change all uses to
5652 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5653 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5654 __LIBGCC_STACK_GROWS_DOWNWARD__.
5655 (DWARF_FRAME_REGISTERS): Change all uses to
5656 __LIBGCC_DWARF_FRAME_REGISTERS__.
5657 (EH_RETURN_STACKADJ_RTX): Change all uses to
5658 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5659 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5660 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5661 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5662 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5663 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5665 2014-09-02 Nathan sidwell <nathan@acm.org>
5667 * libgcov-interface.c (STRONG_ALIAS): New.
5668 (__gcov_flush): Call __gcov_reset_int.
5669 (__gcov_reset): Strong alias for ...
5670 (__gcov_reset_ing): ... this renamed hidden version.
5671 * libgcov.h (__gcov_reset_int): New declaration.
5673 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5675 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5677 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5678 (__dso_handle): Define on Cygwin.
5679 * config/i386/t-cygming (crtbeginS.o): New rule.
5680 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5682 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5685 2014-08-13 Steve Ellcey <sellcey@mips.com>
5687 * crtstuff.c: Undef caddr_t.
5689 2014-08-12 Steve Ellcey <sellcey@mips.com>
5691 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5693 2014-08-07 Nathan Sidwell <nathan@acm.org>
5695 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5696 (LIBGCOV_DRIVER): ... to here.
5697 * libgcov.h (gcov_do_dump): New #define.
5698 (struct gcov_root): New.
5699 (__gcov_root): New declaration.
5700 (__gcov_dump_one): Declare.
5701 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5702 run_accounted): Delete.
5703 (gcov_compute_histogram): Add LIST argument, adjust.
5704 (compute_summary): Adjust gcov_compute_histogram call.
5705 (gcov_do_dump): Not hidden, static in libgcov.
5706 (gcov_clear): Move to interface.c.
5707 (__gcov_dump_one): New, broken out of ...
5708 (gcov_exit): ... here. Make static.
5710 (__gcov_init): Adjust.
5711 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5713 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5714 (gcov_clear): Moved from driver.c. Add LIST argument.
5715 (__gcov_reset): Adjust for changed interfaces.
5716 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5718 2014-08-04 Rohit <rohitarulraj@freescale.com>
5721 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5722 based on change in SPE high register numbers and 3 HTM registers.
5724 2014-08-01 Nathan Sidwell <nathan@acm.org>
5726 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5727 LIBGCOV_INTERFACE): Reformat.
5728 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5730 * libgcov-interface.c: Reformat some comments.
5731 (__gcov_flush_mx): Add declaration. Tidy up definition.
5733 2014-07-31 Alan Modra <amodra@gmail.com>
5734 Peter Bergner <bergner@vnet.ibm.com>
5736 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5737 (pack_ldouble): New function.
5738 (__gcc_qadd): Use it.
5739 (__gcc_qmul): Likewise.
5740 (__gcc_qdiv): Likewise.
5741 (__gcc_qneg): Likewise.
5742 (__gcc_stoq): Likewise.
5743 (__gcc_dtoq): Likewise.
5745 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5747 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5748 (__tpf_eh_return): Add original return address as second parameter.
5749 Handle cases where unwinder routines were called directly, instead
5750 of from within the C++ library.
5752 2014-07-29 Nathan Sidwell <nathan@acm.org>
5754 * libgcov.h: Move renaming of entry points to lib gcov specific
5756 (gcov_do_dump): New rename.
5757 (gcov_rewrite): Remove inline, make HIDDEN.
5758 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5759 (gcov_exit_compute_summary): Rename to ...
5760 (compute_summary): ... here. Add LIST argument.
5761 (gcov_exit_merge_gcda): Rename to ...
5762 (merge_one_data): ... here.
5763 (gcov_exit_write_gcda): Rename to ...
5764 (write_one_data): ... here.
5765 (gcov_exit_merge_summary): Rename to ...
5766 (merge_summary): Add RUN_COUNTED argument.
5767 (gcov_exit_dump_gcov): Rename to ...
5768 (dump_one_gcov): Add RUN_COUNTED argument.
5769 (gcov_do_dump): New function, broken out of ...
5770 (gcov_exit): ... here. Call it.
5772 2014-07-27 Anthony Green <green@moxielogic.com>
5774 * config.host: Add moxiebox configuration suppport.
5776 2014-07-27 Nathan Sidwell <nathan@acm.org>
5778 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5779 (struct gcov_filename): ... here. Include buffer and max length
5781 (gcov_max_filename): Remove.
5782 (gi_filename): Remove.
5783 (gcov_exit_compute_summary): Compute max filename here.
5784 (gcov_exit_merge_gcda): Add filename parm, adjust.
5785 (gcov_exit_merge_summary): Likewise.
5786 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5787 (gcov_exit): Likewise.
5788 (__gcov_init): Don't calculate max length here.
5789 * libgcov_util.c (max_filename_len): Remove.
5790 (read_gcda_file): Don't calculate max length here.
5791 (gcov_read_profile_dir): Don't propagate here.
5792 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5793 struct gcov_filename changes.
5794 (gcov_exit_open_gcda_file): Likewise.
5796 2014-07-25 Nathan Sidwell <nathan@acm.org>
5798 * libgcov-driver.c (set_gcov_dump_complete,
5799 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5800 functions polluting user's namespace.
5801 (gcov_exit): Set variable directly.
5802 (gcov_clear): Reset variable directly.
5803 * libgcov-interface.c (get_gcov_dymp_complete,
5804 reset_gov_dump_complete): Remove declarations.
5805 (__gcov_reset, __gcov_dump): Don't call them.
5807 2014-07-24 DJ Delorie <dj@redhat.com>
5809 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5810 (__gcc_deregister_frame): Move logic to detect deregister function
5812 (__gcc_register_frame): here, so it's consistent with the register
5815 2014-07-23 Nathan Sidwell <nathan@acm.org>
5817 * libgcov-driver.c (set_gcov_list): Remove.
5818 (gcov_list): Make non-static in GCOV_TOOL.
5819 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5821 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5823 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5824 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5825 Don't use SYNC_LOCK_RELEASE for int type.
5827 2014-07-14 Richard Biener <rguenther@suse.de>
5829 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5831 2014-07-11 Rong Xu <xur@google.com>
5833 * libgcov-util.c (gcov_max_filename): Fix declartion.
5835 2014-07-10 Rong Xu <xur@google.com>
5837 Add gcov-tool: an offline gcda profile processing tool
5839 * libgcov-driver.c (gcov_max_filename): Make available
5841 * libgcov-merge.c (__gcov_merge_add): Replace
5842 gcov_read_counter() with a Macro.
5843 (__gcov_merge_ior): Ditto.
5844 (__gcov_merge_time_profile): Ditto.
5845 (__gcov_merge_single): Ditto.
5846 (__gcov_merge_delta): Ditto.
5847 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5848 in the utility functions.
5849 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5850 gcov_list object link lists.
5851 (tag_function): Ditto.
5852 (tag_blocks): Ditto.
5855 (tag_counters): Ditto.
5856 (tag_summary): Ditto.
5857 (read_gcda_finalize): Ditto.
5858 (read_gcda_file): Ditto.
5859 (ftw_read_file): Ditto.
5860 (read_profile_dir_init): Ditto.
5861 (gcov_read_profile_dir): Ditto.
5862 (gcov_read_counter_mem): Ditto.
5863 (gcov_get_merge_weight): Ditto.
5864 (merge_wrapper): A wrapper function that calls merging handler.
5865 (gcov_merge): Merge two gcov_info objects with weights.
5866 (find_match_gcov_info): Find the matched gcov_info in the list.
5867 (gcov_profile_merge): Merge two gcov_info object lists.
5868 (__gcov_add_counter_op): Process edge profile counter values.
5869 (__gcov_ior_counter_op): Process IOR profile counter values.
5870 (__gcov_delta_counter_op): Process delta profile counter values.
5871 (__gcov_single_counter_op): Process single profile counter values.
5872 (fp_scale): Callback function for float-point scaling.
5873 (int_scale): Callback function for integer fraction scaling.
5874 (gcov_profile_scale): Scaling profile counters.
5875 (gcov_profile_normalize): Normalize profile counters.
5876 * libgcov.h: Add headers and functions for gcov-tool use.
5877 (gcov_get_counter): New.
5878 (gcov_get_counter_target): Ditto.
5879 (struct gcov_info): Make the functions field mutable in gcov-tool
5882 2014-06-23 Kai Tietz <ktietz@redhat.com>
5885 * unwind-seh.c (_Unwind_GetGR): Check for proper
5887 (_Unwind_SetGR): Likewise.
5889 2014-05-22 Nick Clifton <nickc@redhat.com>
5891 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5894 2014-05-22 Teresa Johnson <tejohnson@google.com>
5896 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5899 2014-05-20 John Marino <gnugcc@marino.st>
5901 * config.host (*-*-dragonfly*): New target.
5902 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5903 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5904 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5905 * config/i386/dragonfly-unwind.h: New.
5907 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5910 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5911 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5913 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5915 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5918 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
5920 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5922 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5925 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5928 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5930 Work around for current cygwin32 build problems.
5931 * config/i386/cygming-crtbegin.c (__register_frame_info,
5932 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5933 functions only for 64-bit systems.
5935 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5937 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5938 (sigill_caught, sigill_hdlr): Remove.
5940 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5942 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5944 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5945 Solaris 9 single-threaded support.
5946 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5947 Solaris 9 single-threaded support. Add call_user_handler code
5949 (sparc_is_sighandler): Likewise.
5951 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5953 * config.host: Append t-floattodi to tmake_file depending on
5956 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5958 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5960 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
5963 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5964 variable to avoid "array subscript is above array bounds" warnings.
5965 Use __builtin_expect when checking *jcr_list for NULL.
5967 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5970 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5971 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5972 vtv_*.o to extra_parts if enable_vtable_verify.
5974 2014-03-06 Nick Clifton <nickc@redhat.com>
5976 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5977 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5979 2014-02-28 Joey Ye <joey.ye@arm.com>
5982 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5983 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5986 2014-02-24 Walter Lee <walt@tilera.com>
5988 * config.host: Support "tilegx*" and "tilepro*" triplets.
5989 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5990 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5992 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5993 Chung-Lin Tang <cltang@codesourcery.com>
5995 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5996 * config/nios2/crti.S: Remove .file directive.
5997 * config/nios2/crtn.S: Likewise.
5999 2014-02-18 Kai Tietz <ktietz@redhat.com>
6000 Jonathan Schleifer <js@webkeks.org>
6003 * unwind-seh.c (_GCC_specific_handler): Pass proper
6004 value to unwind-handler.
6006 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6008 * soft-fp/adddf3.c: Update from glibc.
6009 * soft-fp/addsf3.c: Likewise.
6010 * soft-fp/addtf3.c: Likewise.
6011 * soft-fp/divdf3.c: Likewise.
6012 * soft-fp/divsf3.c: Likewise.
6013 * soft-fp/divtf3.c: Likewise.
6014 * soft-fp/double.h: Likewise.
6015 * soft-fp/eqdf2.c: Likewise.
6016 * soft-fp/eqsf2.c: Likewise.
6017 * soft-fp/eqtf2.c: Likewise.
6018 * soft-fp/extenddftf2.c: Likewise.
6019 * soft-fp/extended.h: Likewise.
6020 * soft-fp/extendsfdf2.c: Likewise.
6021 * soft-fp/extendsftf2.c: Likewise.
6022 * soft-fp/extendxftf2.c: Likewise.
6023 * soft-fp/fixdfdi.c: Likewise.
6024 * soft-fp/fixdfsi.c: Likewise.
6025 * soft-fp/fixdfti.c: Likewise.
6026 * soft-fp/fixsfdi.c: Likewise.
6027 * soft-fp/fixsfsi.c: Likewise.
6028 * soft-fp/fixsfti.c: Likewise.
6029 * soft-fp/fixtfdi.c: Likewise.
6030 * soft-fp/fixtfsi.c: Likewise.
6031 * soft-fp/fixtfti.c: Likewise.
6032 * soft-fp/fixunsdfdi.c: Likewise.
6033 * soft-fp/fixunsdfsi.c: Likewise.
6034 * soft-fp/fixunsdfti.c: Likewise.
6035 * soft-fp/fixunssfdi.c: Likewise.
6036 * soft-fp/fixunssfsi.c: Likewise.
6037 * soft-fp/fixunssfti.c: Likewise.
6038 * soft-fp/fixunstfdi.c: Likewise.
6039 * soft-fp/fixunstfsi.c: Likewise.
6040 * soft-fp/fixunstfti.c: Likewise.
6041 * soft-fp/floatdidf.c: Likewise.
6042 * soft-fp/floatdisf.c: Likewise.
6043 * soft-fp/floatditf.c: Likewise.
6044 * soft-fp/floatsidf.c: Likewise.
6045 * soft-fp/floatsisf.c: Likewise.
6046 * soft-fp/floatsitf.c: Likewise.
6047 * soft-fp/floattidf.c: Likewise.
6048 * soft-fp/floattisf.c: Likewise.
6049 * soft-fp/floattitf.c: Likewise.
6050 * soft-fp/floatundidf.c: Likewise.
6051 * soft-fp/floatundisf.c: Likewise.
6052 * soft-fp/floatunditf.c: Likewise.
6053 * soft-fp/floatunsidf.c: Likewise.
6054 * soft-fp/floatunsisf.c: Likewise.
6055 * soft-fp/floatunsitf.c: Likewise.
6056 * soft-fp/floatuntidf.c: Likewise.
6057 * soft-fp/floatuntisf.c: Likewise.
6058 * soft-fp/floatuntitf.c: Likewise.
6059 * soft-fp/gedf2.c: Likewise.
6060 * soft-fp/gesf2.c: Likewise.
6061 * soft-fp/getf2.c: Likewise.
6062 * soft-fp/ledf2.c: Likewise.
6063 * soft-fp/lesf2.c: Likewise.
6064 * soft-fp/letf2.c: Likewise.
6065 * soft-fp/muldf3.c: Likewise.
6066 * soft-fp/mulsf3.c: Likewise.
6067 * soft-fp/multf3.c: Likewise.
6068 * soft-fp/negdf2.c: Likewise.
6069 * soft-fp/negsf2.c: Likewise.
6070 * soft-fp/negtf2.c: Likewise.
6071 * soft-fp/op-1.h: Likewise.
6072 * soft-fp/op-2.h: Likewise.
6073 * soft-fp/op-4.h: Likewise.
6074 * soft-fp/op-8.h: Likewise.
6075 * soft-fp/op-common.h: Likewise.
6076 * soft-fp/quad.h: Likewise.
6077 * soft-fp/single.h: Likewise.
6078 * soft-fp/soft-fp.h: Likewise.
6079 * soft-fp/subdf3.c: Likewise.
6080 * soft-fp/subsf3.c: Likewise.
6081 * soft-fp/subtf3.c: Likewise.
6082 * soft-fp/truncdfsf2.c: Likewise.
6083 * soft-fp/trunctfdf2.c: Likewise.
6084 * soft-fp/trunctfsf2.c: Likewise.
6085 * soft-fp/trunctfxf2.c: Likewise.
6086 * soft-fp/unorddf2.c: Likewise.
6087 * soft-fp/unordsf2.c: Likewise.
6088 * soft-fp/unordtf2.c: Likewise.
6089 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6091 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6093 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6095 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6097 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6099 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6101 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6103 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6105 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6107 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6109 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6111 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6113 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6115 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6117 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6119 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6122 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6124 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6125 cannot be represented.
6126 * config/s390/32/_fixsfdi.c: Likewise.
6127 * config/s390/32/_fixtfdi.c: Likewise.
6128 * config/s390/32/_fixunsdfdi.c: Likewise.
6129 * config/s390/32/_fixunssfdi.c: Likewise.
6130 * config/s390/32/_fixunstfdi.c: Likewise.
6132 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6134 * configure.ac (libgcc_cv_mips_hard_float): New.
6135 * configure: Regenerate.
6136 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6137 t-softfp-sfdf for hard-float targets.
6138 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6139 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6140 (softfp_truncations, softfp_exclude_libgcc2): New.
6141 * config/t-hardfp: New file.
6142 * config/t-hardfp-sfdf: Likewise.
6143 * config/hardfp.c: Likewise.
6145 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6147 * config.host: Include t-floattodi also for s390x.
6148 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6149 * config/s390/32/_fixsfdi.c: Likewise.
6150 * config/s390/32/_fixtfdi.c: Likewise.
6151 * config/s390/32/_fixunsdfdi.c: Likewise.
6152 * config/s390/32/_fixunssfdi.c: Likewise.
6153 * config/s390/32/_fixunstfdi.c: Likewise.
6155 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6158 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6159 (install-libgcc-unwind-map-forbuild): New target.
6160 (all): Depend on install-libgcc-unwind-map-forbuild.
6161 (install-libgcc-unwind-map): New target.
6162 (install): Depend on install-libgcc-unwind-map.
6164 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6166 * config/nios2/crti.S (_init): Initialize GOT pointer from
6167 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6169 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6171 * configure.ac: Check __mips64 when setting host_address.
6172 * configure: Regenerate.
6173 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6174 mips/t-mips64 and t-softfp.
6175 (mips*-*-linux*): Don't add mips/t-tpbit.
6176 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6177 (DPBIT, DPBIT_CFLAGS): Delete.
6178 * config/mips/sfp-machine.h: New file.
6179 * config/mips/t-mips64: Likewise.
6180 * config/mips/t-softfp-tf: Likewise.
6181 * config/mips/t-tpbit: Delete.
6183 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6185 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6188 2014-01-25 Walter Lee <walt@tilera.com>
6190 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6191 config.h or system.h.
6194 2014-01-25 Walter Lee <walt@tilera.com>
6196 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6197 (post_atomic_barrier): Ditto.
6198 (__fetch_and_do): New macro.
6199 (__atomic_fetch_and_do): Use __fetch_and_do.
6200 (__sync_fetch_and_do): New macro.
6201 (__sync_fetch_and_add_4): New function.
6202 (__sync_fetch_and_sub_4): New function.
6203 (__sync_fetch_and_or_4): New function.
6204 (__sync_fetch_and_and_4): New function.
6205 (__sync_fetch_and_xor_4): New function.
6206 (__sync_fetch_and_nand_4): New function.
6207 (__sync_fetch_and_add_8): New function.
6208 (__sync_fetch_and_sub_8): New function.
6209 (__sync_fetch_and_or_8): New function.
6210 (__sync_fetch_and_and_8): New function.
6211 (__sync_fetch_and_xor_8): New function.
6212 (__sync_fetch_and_nand_8): New function.
6213 (__do_and_fetch): New macro.
6214 (__atomic_do_and_fetch): Use __do_and_fetch.
6215 (__sync_do_and_fetch): New macro.
6216 (__sync_add_and_fetch_4): New function.
6217 (__sync_sub_and_fetch_4): New function.
6218 (__sync_or_and_fetch_4): New function.
6219 (__sync_and_and_fetch_4): New function.
6220 (__sync_xor_and_fetch_4): New function.
6221 (__sync_nand_and_fetch_4): New function.
6222 (__sync_add_and_fetch_8): New function.
6223 (__sync_sub_and_fetch_8): New function.
6224 (__sync_or_and_fetch_8): New function.
6225 (__sync_and_and_fetch_8): New function.
6226 (__sync_xor_and_fetch_8): New function.
6227 (__sync_nand_and_fetch_8): New function.
6228 (__sync_exchange_methods): New macro.
6229 (__sync_val_compare_and_swap_4): New function.
6230 (__sync_bool_compare_and_swap_4): New function.
6231 (__sync_lock_test_and_test_4): New function.
6232 (__sync_val_compare_and_swap_8): New function.
6233 (__sync_bool_compare_and_swap_8): New function.
6234 (__sync_lock_test_and_test_8): New function.
6235 (__subword_cmpxchg_body): New macro.
6236 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6237 (__atomic_compare_exchange_2): Ditto.
6238 (__sync_subword_cmpxchg): New macro.
6239 (__sync_val_compare_and_swap_1): New function.
6240 (__sync_bool_compare_and_swap_1): New function.
6241 (__sync_val_compare_and_swap_2): New function.
6242 (__sync_bool_compare_and_swap_2): New function.
6243 (__atomic_subword): Rename to ...
6244 (__subword): ... New name.
6245 (__atomic_subword_fetch): Use __subword.
6246 (__sync_subword_fetch): New macro.
6247 (__sync_fetch_and_add_1): New function.
6248 (__sync_fetch_and_sub_1): New function.
6249 (__sync_fetch_and_or_1): New function.
6250 (__sync_fetch_and_and_1): New function.
6251 (__sync_fetch_and_xor_1): New function.
6252 (__sync_fetch_and_nand_1): New function.
6253 (__sync_fetch_and_add_2): New function.
6254 (__sync_fetch_and_sub_2): New function.
6255 (__sync_fetch_and_or_2): New function.
6256 (__sync_fetch_and_and_2): New function.
6257 (__sync_fetch_and_xor_2): New function.
6258 (__sync_fetch_and_nand_2): New function.
6259 (__sync_add_and_fetch_1): New function.
6260 (__sync_sub_and_fetch_1): New function.
6261 (__sync_or_and_fetch_1): New function.
6262 (__sync_and_and_fetch_1): New function.
6263 (__sync_xor_and_fetch_1): New function.
6264 (__sync_nand_and_fetch_1): New function.
6265 (__sync_add_and_fetch_2): New function.
6266 (__sync_sub_and_fetch_2): New function.
6267 (__sync_or_and_fetch_2): New function.
6268 (__sync_and_and_fetch_2): New function.
6269 (__sync_xor_and_fetch_2): New function.
6270 (__sync_nand_and_fetch_2): New function.
6271 (__atomic_subword_lock): Use __subword.
6272 (__sync_subword_lock): New macro.
6273 (__sync_lock_test_and_set_1): New function.
6274 (__sync_lock_test_and_set_2): New function.
6276 2014-01-25 Walter Lee <walt@tilera.com>
6278 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6279 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6280 (__atomic_subword): Ditto.
6282 2014-01-25 Walter Lee <walt@tilera.com>
6284 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6285 a prefix op argument.
6286 (__atomic_nand_fetch_4): Add prefix op.
6287 (__atomic_nand_fetch_8): Ditto.
6289 2014-01-21 Baruch Siach <barch@tkos.co.il>
6291 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6293 2014-01-09 Rong Xu <xur@google.com>
6295 * libgcov-driver.c (this_prg): make it local to save
6297 (gcov_exit_compute_summary): Ditto.
6298 (gcov_exit_merge_gcda): Ditto.
6299 (gcov_exit_merge_summary): Ditto.
6300 (gcov_exit_dump_gcov): Ditto.
6302 2014-01-08 Rong Xu <xur@google.com>
6304 * libgcov-driver.c: Use libgcov.h.
6305 (buffer_fn_data): Use xmalloc instead of malloc.
6306 (gcov_exit_merge_gcda): Ditto.
6307 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6308 * libgcov.h: New common header files for libgcov-*.h.
6309 * libgcov-interface.c: Use libgcov.h
6310 * libgcov-merge.c: Ditto.
6311 * libgcov-profiler.c: Ditto.
6312 * Makefile.in: Add dependence to libgcov.h
6314 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6316 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6317 case of small numerator and finite nonzero result.
6319 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6321 Update copyright years
6323 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6325 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6326 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6327 config/arc/dp-hack.h, config/arc/fp-hack.h,
6328 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6329 config/arc/ieee-754/arc600-dsp/divdf3.S,
6330 config/arc/ieee-754/arc600-dsp/divsf3.S,
6331 config/arc/ieee-754/arc600-dsp/muldf3.S,
6332 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6333 config/arc/ieee-754/arc600-mul64/divdf3.S,
6334 config/arc/ieee-754/arc600-mul64/divsf3.S,
6335 config/arc/ieee-754/arc600-mul64/muldf3.S,
6336 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6337 config/arc/ieee-754/arc600/divsf3.S,
6338 config/arc/ieee-754/arc600/mulsf3.S,
6339 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6340 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6341 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6342 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6343 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6344 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6345 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6346 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6347 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6348 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6349 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6350 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6351 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6352 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6353 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6354 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6355 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6356 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6357 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6358 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6359 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6360 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6361 vtv_start_preinit.c: Use the standard form for the copyright notice.
6363 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6364 Chung-Lin Tang <cltang@codesourcery.com>
6365 Based on patches from Altera Corporation
6367 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6368 * config/nios2/lib2-nios2.h: New file.
6369 * config/nios2/lib2-divmod-hi.c: New file.
6370 * config/nios2/linux-unwind.h: New file.
6371 * config/nios2/lib2-divmod.c: New file.
6372 * config/nios2/linux-atomic.c: New file.
6373 * config/nios2/t-nios2: New file.
6374 * config/nios2/crti.asm: New file.
6375 * config/nios2/t-linux: New file.
6376 * config/nios2/lib2-divtable.c: New file.
6377 * config/nios2/lib2-mul.c: New file.
6378 * config/nios2/tramp.c: New file.
6379 * config/nios2/crtn.asm: New file.
6381 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
6383 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6384 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6385 from cpuid.h to check vendor signatures.
6387 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6389 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6390 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6391 (get_amd_cpu): Likewise.
6393 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6395 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6398 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6399 H.J. Lu <hongjiu.lu@intel.com>
6402 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
6404 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6405 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6406 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6407 FEATURE_XOP and FEATURE_FMA.
6408 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6410 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6411 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6412 FEATURE_FMA4 and FEATURE_XOP.
6414 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6416 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6417 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6418 (get_intel_cpu): Updated.
6420 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6422 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6424 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6426 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6427 instructions when __SSE_MATH__ is defined.
6429 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6431 * config.host (microblaze-*-rtems*): New.
6433 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6435 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6436 architectures that do not have hardware divide instruction.
6437 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6439 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6441 * longlong.h: Delete (moved to include/).
6443 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6445 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6446 of normal number and qNaN to not raise an inexact exception.
6448 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6450 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6452 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6454 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6455 for correct opcodes on BE.
6457 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6459 * soft-fp/op-4.h: Update from glibc.
6461 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6463 * libgcc2.c (__udivmoddi4): Define new implementation when
6464 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6465 divide instructions.
6467 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6469 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6471 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6473 * config/t-softfp (soft-fp-objects-base): New variable.
6474 (soft-fp-objects): Use it.
6476 2013-11-23 David Edelson <dje.gcc@gmail.com>
6477 Andrew Dixie <andrewd@gentrack.com>
6480 * config/rs6000/aixinitfini.c: New file.
6481 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6482 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6485 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6487 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6489 2013-11-18 Jan Hubicka <jh@suse.cz>
6491 * libgcov-driver.c (run_accounted): Make global level static.
6492 (gcov_exit_merge_summary): Silence warning; do not clear
6494 (gcov_exit): Clear it here.
6496 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6499 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6500 (all_prg, crc32): Remove static vars.
6501 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6503 (gcov_exit_merge_gcda): Add crc32 parameter.
6504 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6505 do not account run if it was already accounted.
6506 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6507 (gcov_exit): Initialize all_prg; update.
6509 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6511 * configure: Regenerate.
6513 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6514 Alan Modra <amodra@gmail.com>
6516 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6517 (frob_update_context): Use it.
6519 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6520 Alan Modra <amodra@gmail.com>
6522 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6523 (trampoline_initial): Provide ELFv2 variant.
6524 (__trampoline_setup): Likewise.
6526 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6527 check for AIX indirect function call sequence if _CALL_ELF == 2.
6529 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6530 Alan Modra <amodra@gmail.com>
6532 * config/rs6000/linux-unwind.h (get_regs): Do not support
6533 old kernel versions if _CALL_ELF == 2.
6534 (frob_update_context): Do not support PLT stub variants only
6535 generated by old linkers if _CALL_ELF == 2.
6537 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6538 Alan Modra <amodra@gmail.com>
6540 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6541 location of CR save area for 64-bit little-endian systems.
6543 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6545 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6547 * config/arm/t-vxworks: Delete.
6549 2013-11-10 Kai Tietz <ktietz@redhat.com>
6551 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6552 Increment load-count on use of LIBGCC_SONAME DLL.
6553 (hmod_libgcc): New static variable to hold handle of
6555 (__gcc_deregister_frame): Decrement load-count of
6558 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6560 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6562 * configure: Regenerate
6564 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
6566 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6567 FP_EX_DENORM. Store result to volatile location after SSE division
6568 to close interrupt window. Remove unneeded fwait after x87
6569 division since interrupt window will be closed by emitted fstp.
6570 Rewrite FP_EX_INEXACT handling.
6572 2013-11-06 Joseph Myers <joseph@codesourcery.com>
6574 * soft-fp/README: Update.
6575 * soft-fp/adddf3.c: Update from glibc.
6576 * soft-fp/addsf3.c: Likewise.
6577 * soft-fp/addtf3.c: Likewise.
6578 * soft-fp/divdf3.c: Likewise.
6579 * soft-fp/divsf3.c: Likewise.
6580 * soft-fp/divtf3.c: Likewise.
6581 * soft-fp/double.h: Likewise.
6582 * soft-fp/eqdf2.c: Likewise.
6583 * soft-fp/eqsf2.c: Likewise.
6584 * soft-fp/eqtf2.c: Likewise.
6585 * soft-fp/extenddftf2.c: Likewise.
6586 * soft-fp/extended.h: Likewise.
6587 * soft-fp/extendsfdf2.c: Likewise.
6588 * soft-fp/extendsftf2.c: Likewise.
6589 * soft-fp/extendxftf2.c: Likewise.
6590 * soft-fp/fixdfdi.c: Likewise.
6591 * soft-fp/fixdfsi.c: Likewise.
6592 * soft-fp/fixdfti.c: Likewise.
6593 * soft-fp/fixsfdi.c: Likewise.
6594 * soft-fp/fixsfsi.c: Likewise.
6595 * soft-fp/fixsfti.c: Likewise.
6596 * soft-fp/fixtfdi.c: Likewise.
6597 * soft-fp/fixtfsi.c: Likewise.
6598 * soft-fp/fixtfti.c: Likewise.
6599 * soft-fp/fixunsdfdi.c: Likewise.
6600 * soft-fp/fixunsdfsi.c: Likewise.
6601 * soft-fp/fixunsdfti.c: Likewise.
6602 * soft-fp/fixunssfdi.c: Likewise.
6603 * soft-fp/fixunssfsi.c: Likewise.
6604 * soft-fp/fixunssfti.c: Likewise.
6605 * soft-fp/fixunstfdi.c: Likewise.
6606 * soft-fp/fixunstfsi.c: Likewise.
6607 * soft-fp/fixunstfti.c: Likewise.
6608 * soft-fp/floatdidf.c: Likewise.
6609 * soft-fp/floatdisf.c: Likewise.
6610 * soft-fp/floatditf.c: Likewise.
6611 * soft-fp/floatsidf.c: Likewise.
6612 * soft-fp/floatsisf.c: Likewise.
6613 * soft-fp/floatsitf.c: Likewise.
6614 * soft-fp/floattidf.c: Likewise.
6615 * soft-fp/floattisf.c: Likewise.
6616 * soft-fp/floattitf.c: Likewise.
6617 * soft-fp/floatundidf.c: Likewise.
6618 * soft-fp/floatundisf.c: Likewise.
6619 * soft-fp/floatunditf.c: Likewise.
6620 * soft-fp/floatunsidf.c: Likewise.
6621 * soft-fp/floatunsisf.c: Likewise.
6622 * soft-fp/floatunsitf.c: Likewise.
6623 * soft-fp/floatuntidf.c: Likewise.
6624 * soft-fp/floatuntisf.c: Likewise.
6625 * soft-fp/floatuntitf.c: Likewise.
6626 * soft-fp/gedf2.c: Likewise.
6627 * soft-fp/gesf2.c: Likewise.
6628 * soft-fp/getf2.c: Likewise.
6629 * soft-fp/ledf2.c: Likewise.
6630 * soft-fp/lesf2.c: Likewise.
6631 * soft-fp/letf2.c: Likewise.
6632 * soft-fp/muldf3.c: Likewise.
6633 * soft-fp/mulsf3.c: Likewise.
6634 * soft-fp/multf3.c: Likewise.
6635 * soft-fp/negdf2.c: Likewise.
6636 * soft-fp/negsf2.c: Likewise.
6637 * soft-fp/negtf2.c: Likewise.
6638 * soft-fp/op-1.h: Likewise.
6639 * soft-fp/op-2.h: Likewise.
6640 * soft-fp/op-4.h: Likewise.
6641 * soft-fp/op-8.h: Likewise.
6642 * soft-fp/op-common.h: Likewise.
6643 * soft-fp/quad.h: Likewise.
6644 * soft-fp/single.h: Likewise.
6645 * soft-fp/soft-fp.h: Likewise.
6646 * soft-fp/subdf3.c: Likewise.
6647 * soft-fp/subsf3.c: Likewise.
6648 * soft-fp/subtf3.c: Likewise.
6649 * soft-fp/truncdfsf2.c: Likewise.
6650 * soft-fp/trunctfdf2.c: Likewise.
6651 * soft-fp/trunctfsf2.c: Likewise.
6652 * soft-fp/trunctfxf2.c: Likewise.
6653 * soft-fp/unorddf2.c: Likewise.
6654 * soft-fp/unordsf2.c: Likewise.
6655 * soft-fp/unordtf2.c: Likewise.
6657 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
6659 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6660 (_FP_MUL_MEAT_D): Ditto.
6661 (_FP_DIV_MEAT_S): Ditto.
6662 (_FP_DIV_MEAT_D): Ditto.
6663 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6664 t-softfp-sfdf and t-softfp to tmake_file.
6666 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
6668 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6669 * config/i386/crtprec.c: Ditto.
6671 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6672 Shiva Chen <shiva0217@gmail.com>
6674 * config.host (nds32*-elf*): Add nds32 target.
6675 * config/nds32 : New directory and files.
6677 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
6679 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6680 * config.host (cpu_type) <Setting default>: Add entry for
6682 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6683 <crisv32-*-linux*>: Adjust.
6684 * longlong.h: Wrap the whole CRIS section in a single
6685 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6687 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6689 [__CRIS__] (__umulsidi3): Define.
6690 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6691 * config/cris/sfp-machine.h: New file.
6692 * config/cris/umulsidi3.S: New file.
6693 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6694 * config/cris/arit.c (SIGNMULT): New macro.
6695 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6696 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6697 saving 3 out of originally 33 cycles from the fastest
6698 path, 3 out of 54 from the medium path and one from the longest
6699 path. Improve comments.
6701 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6703 * sync.c: Remove static aliases and define each function directly
6704 under its real name.
6706 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
6708 * config.host (hppa*64*-*-linux*): Define extra_parts.
6709 (hppa*-*-linux*): Likewise.
6711 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6713 * config/arc/crtgend.S: Add 2013 to Copyright years.
6714 * config/arc/gmon/atomic.h: Likewise.
6715 * config/arc/gmon/auxreg.h: Likewise.
6716 * config/arc/gmon/sys/gmon_out.h: Likewise.
6717 * config/arc/gmon/sys/gmon.h: Likewise.
6718 * config/arc/gmon/prof-freq.c: Likewise.
6719 * config/arc/gmon/mcount.c: Likewise.
6720 * config/arc/gmon/prof-freq-stub.S: Likewise.
6721 * config/arc/gmon/gmon.c: Likewise.
6722 * config/arc/gmon/machine-gmon.h: Likewise.
6723 * config/arc/gmon/profil.S: Likewise.
6724 * config/arc/gmon/dcache_linesz.S: Likewise.
6725 * config/arc/crtg.S: Likewise.
6726 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6727 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6728 * config/arc/ieee-754/adddf3.S: Likewise.
6729 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6730 * config/arc/ieee-754/fixsfsi.S: Likewise.
6731 * config/arc/ieee-754/gtsf2.S: Likewise.
6732 * config/arc/ieee-754/floatsisf.S: Likewise.
6733 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6734 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6735 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6736 * config/arc/ieee-754/fixdfsi.S: Likewise.
6737 * config/arc/ieee-754/addsf3.S: Likewise.
6738 * config/arc/ieee-754/gesf2.S: Likewise.
6739 * config/arc/ieee-754/floatsidf.S: Likewise.
6740 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6741 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6742 * config/arc/ieee-754/gtdf2.S: Likewise.
6743 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6744 * config/arc/ieee-754/uneqdf2.S: Likewise.
6745 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6746 * config/arc/ieee-754/uneqsf2.S: Likewise.
6747 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6748 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6749 * config/arc/ieee-754/eqdf2.S: Likewise.
6750 * config/arc/ieee-754/ordsf2.S: Likewise.
6751 * config/arc/ieee-754/divsf3.S: Likewise.
6752 * config/arc/ieee-754/divdf3.S: Likewise.
6753 * config/arc/ieee-754/floatunsidf.S: Likewise.
6754 * config/arc/ieee-754/orddf2.S: Likewise.
6755 * config/arc/ieee-754/eqsf2.S: Likewise.
6756 * config/arc/ieee-754/gedf2.S: Likewise.
6757 * config/arc/crtn.S: Likewise.
6758 * config/arc/crti.S: Likewise.
6759 * config/arc/t-arc700-uClibc: Likewise.
6760 * config/arc/asm.h: Likewise.
6761 * config/arc/libgcc-excl.ver: Likewise.
6762 * config/arc/t-arc-newlib: Likewise.
6763 * config/arc/divtab-arc700.c: Likewise.
6764 * config/arc/initfini.c: Likewise.
6765 * config/arc/fp-hack.h: Likewise.
6767 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6768 Diego Novillo <dnovillo@google.com>
6770 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6771 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6772 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6773 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6775 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6776 Brendan Kehoe <brendan@zen.org>
6777 Simon Cook <simon.cook@embecosm.com>
6779 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6780 * config/arc: New directory.
6781 * longlong.h [__arc__] (umul_ppmm): Remove.
6782 [__arc__] (__umulsidi3): Define.
6783 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6784 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6786 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6788 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6790 * config/i386/gthr-win32.h: Likewise.
6792 2013-09-16 DJ Delorie <dj@redhat.com>
6794 * config/rl78/vregs.h: Add G10 register definitions.
6795 * config/rl78/lib2mul.c: Enable for RL78/G10.
6796 * config/rl78/lib2div.c: Likewise.
6797 * config/rl78/lshrsi3.S: Use vregs.h.
6798 * config/rl78/cmpsi2.S: Likewise.
6799 * config/rl78/trampoline.S: Likewise.
6800 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6802 2013-09-14 DJ Delorie <dj@redhat.com>
6803 Nick Clifton <nickc@redhat.com>
6805 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6806 * config/rl78/vregs.h: New.
6807 * config/rl78/signbit.S: New file. Implements signbit function.
6808 * config/rl78/divmodsi.S: New.
6809 * config/rl78/divmodhi.S: New.
6810 * config/rl78/divmodqi.S: New.
6811 * config/rl78/t-rl78: Build them here...
6812 * config/rl78/lib2div.c: ...but not here.
6814 2013-09-12 DJ Delorie <dj@redhat.com>
6816 * config.host (msp*-*-elf): New.
6817 * config/msp430/: New port.
6819 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6821 PR gcov-profile/58127
6822 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6823 __thread var for emulated TLS.
6824 (__gcov_indirect_call_counters): Likewise.
6826 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6827 Catherine Moore <clm@codesourcery.com>
6828 Richard Sandiford <rdsandiford@googlemail.com>
6830 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6831 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6832 (CALL_STUB_NO_RET): Likewise.
6833 (CALL_STUB_RET): Likewise.
6834 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6835 __mips16_ret call/return stub symbols.
6836 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6839 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6841 * config.host <mips*-*-linux*>: Remove a stray comment.
6843 2013-08-10 Jan Hubicka <jh@suse.cz>
6845 Work around binutils PR14342
6846 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6847 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6848 (L_gcov_indirect_call_profiler_v2): New.
6850 2013-08-06 Jan Hubicka <jh@suse.cz>
6852 * libgcov.c (__gcov_indirect_call_callee,
6853 __gcov_indirect_call_counters): New global vars.
6854 (__gcov_indirect_call_profiler): replace by ...
6855 (__gcov_indirect_call_profiler_v2) ... this one.
6857 2013-08-06 Caroline Tice <cmtice@google.com>
6859 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6860 vtv_start_preinit.o and vtv_end_preinit.o.
6861 * configure.ac: Add code to check/set enable_vtable_verify.
6862 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6864 * vtv_start_preinit.c: New file.
6865 * vtv_end_preinit.c: New file.
6866 * vtv_start.c: New file.
6867 * vtv_end.c: New file.
6868 * configure: Regenerated.
6870 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6872 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6873 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6874 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6875 GPL-3.0-with-GCC-exception.
6877 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6879 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6882 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6884 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6885 mapping for FPRs when creating the fallback framestate.
6887 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6890 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6891 (__round_s2_const, __round_u2_const)
6892 (__round_s4_const, __round_u4_const, __round_x8):
6893 Saturate result if addition result cannot be represented.
6895 2013-07-15 Matthias Klose <doko@ubuntu.com>
6897 * libgcc2.c: Don't include <limits.h>.
6899 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6901 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6903 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6906 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6908 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6911 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6913 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6914 instead of table lookups.
6915 (__popcountDI2): Likewise.
6917 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6919 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6922 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6925 * soft-fp/adddf3.c: Update from glibc.
6926 * soft-fp/addsf3.c: Likewise.
6927 * soft-fp/addtf3.c: Likewise.
6928 * soft-fp/divdf3.c: Likewise.
6929 * soft-fp/divsf3.c: Likewise.
6930 * soft-fp/divtf3.c: Likewise.
6931 * soft-fp/double.h: Likewise.
6932 * soft-fp/eqdf2.c: Likewise.
6933 * soft-fp/eqsf2.c: Likewise.
6934 * soft-fp/eqtf2.c: Likewise.
6935 * soft-fp/extenddftf2.c: Likewise.
6936 * soft-fp/extended.h: Likewise.
6937 * soft-fp/extendsfdf2.c: Likewise.
6938 * soft-fp/extendsftf2.c: Likewise.
6939 * soft-fp/fixdfdi.c: Likewise.
6940 * soft-fp/fixdfsi.c: Likewise.
6941 * soft-fp/fixsfdi.c: Likewise.
6942 * soft-fp/fixsfsi.c: Likewise.
6943 * soft-fp/fixtfdi.c: Likewise.
6944 * soft-fp/fixtfsi.c: Likewise.
6945 * soft-fp/fixunsdfdi.c: Likewise.
6946 * soft-fp/fixunsdfsi.c: Likewise.
6947 * soft-fp/fixunssfdi.c: Likewise.
6948 * soft-fp/fixunssfsi.c: Likewise.
6949 * soft-fp/fixunstfdi.c: Likewise.
6950 * soft-fp/fixunstfsi.c: Likewise.
6951 * soft-fp/floatdidf.c: Likewise.
6952 * soft-fp/floatdisf.c: Likewise.
6953 * soft-fp/floatditf.c: Likewise.
6954 * soft-fp/floatsidf.c: Likewise.
6955 * soft-fp/floatsisf.c: Likewise.
6956 * soft-fp/floatsitf.c: Likewise.
6957 * soft-fp/floatundidf.c: Likewise.
6958 * soft-fp/floatundisf.c: Likewise.
6959 * soft-fp/floatunditf.c: Likewise.
6960 * soft-fp/floatunsidf.c: Likewise.
6961 * soft-fp/floatunsisf.c: Likewise.
6962 * soft-fp/floatunsitf.c: Likewise.
6963 * soft-fp/gedf2.c: Likewise.
6964 * soft-fp/gesf2.c: Likewise.
6965 * soft-fp/getf2.c: Likewise.
6966 * soft-fp/ledf2.c: Likewise.
6967 * soft-fp/lesf2.c: Likewise.
6968 * soft-fp/letf2.c: Likewise.
6969 * soft-fp/muldf3.c: Likewise.
6970 * soft-fp/mulsf3.c: Likewise.
6971 * soft-fp/multf3.c: Likewise.
6972 * soft-fp/negdf2.c: Likewise.
6973 * soft-fp/negsf2.c: Likewise.
6974 * soft-fp/negtf2.c: Likewise.
6975 * soft-fp/op-1.h: Likewise.
6976 * soft-fp/op-2.h: Likewise.
6977 * soft-fp/op-4.h: Likewise.
6978 * soft-fp/op-8.h: Likewise.
6979 * soft-fp/op-common.h: Likewise.
6980 * soft-fp/quad.h: Likewise.
6981 * soft-fp/single.h: Likewise.
6982 * soft-fp/soft-fp.h: Likewise.
6983 * soft-fp/subdf3.c: Likewise.
6984 * soft-fp/subsf3.c: Likewise.
6985 * soft-fp/subtf3.c: Likewise.
6986 * soft-fp/truncdfsf2.c: Likewise.
6987 * soft-fp/trunctfdf2.c: Likewise.
6988 * soft-fp/trunctfsf2.c: Likewise.
6989 * soft-fp/unorddf2.c: Likewise.
6990 * soft-fp/unordsf2.c: Likewise.
6991 * soft-fp/unordtf2.c: Likewise.
6992 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6993 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6994 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6995 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6996 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6997 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6998 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6999 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7000 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7001 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7002 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7003 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7005 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7007 * config/mips/lib2funcs.c: New file.
7008 * config/mips/t-mips (LIB2ADD_ST): Add it.
7010 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7013 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7014 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7016 2013-06-08 Walter Lee <walt@tilera.com>
7018 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7019 Replace int64_t with long long. Add __extension__ where
7021 * config/tilepro/atomic.c: Include config.h.
7023 2013-06-06 Douglas B Rupp <rupp@adacore.com>
7025 * config.host (arm-wrs-vxworks): Configure with other soft float.
7027 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7029 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7030 (mips64r5900el-*-elf*): New configurations.
7032 2013-06-04 Alan Modra <amodra@gmail.com>
7034 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7036 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7038 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7040 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7042 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7043 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7044 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7046 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7048 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7049 (powerpc-wrs-vxworks): Likewise.
7051 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7053 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7054 signal frames as well.
7055 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7056 STACK_BIAS to the CFA offset.
7058 2013-05-17 Richard Henderson <rth@redhat.com>
7061 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7062 (execute_cfa_program): Use it when storing to fs->regs.
7064 2013-05-08 Kai Tietz <ktietz@redhat.com>
7066 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7067 (__deregister_frame_info): Likewise.
7069 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7071 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7074 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7076 2013-04-25 Alan Modra <amodra@gmail.com>
7078 * config.host: Match little-endian powerpc-linux.
7080 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7082 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7083 as 'unsigned long long' instead of 'unsigned long'.
7084 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7087 2013-04-10 Julian Brown <julian@codesourcery.com>
7089 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7090 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7091 unsigned char/unsigned short.
7092 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7094 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7097 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7099 2013-04-04 Meador Inge <meadori@codesourcery.com>
7101 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7102 computing the location of the link register.
7103 (aeabi_uldivmod): Ditto.
7105 2013-03-27 Kai Tietz <ktietz@redhat.com>
7107 * config.host: Add support for cygwin x64 target.
7108 * configure: Regenerated.
7110 2013-03-26 Walter Lee <walt@tilera.com>
7112 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7113 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7115 2013-03-25 Kai Tietz <ktietz@redhat.com>
7117 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7119 2013-03-20 Robert Mason <rbmj@verizon.net>
7121 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7122 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7123 (__gthread_leave_tsd_dtor_context): Add prototypes.
7124 (tls_delete_hook): Update.
7126 2013-03-20 Catherine Moore <clm@codesourcery.com>
7127 Joseph Myers <joseph@codesourcery.com>
7128 Chao-ying Fu <fu@mips.com>
7130 * config/mips/mips16.S: Don't build for microMIPS.
7131 * config/mips/linux-unwind.h: Handle microMIPS frame.
7132 * config/mips/crtn.S (fini, init): New labels.
7134 2013-03-14 Jakub Jelinek <jakub@redhat.com>
7136 PR tree-optimization/53265
7137 * unwind-dw2.c (execute_cfa_program): Avoid
7138 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7139 on targets with DWARF_FRAME_REGISTERS < 32.
7141 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7144 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7145 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7147 2013-03-07 Sriraman Tallam <tmsriram@google.com>
7149 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7150 sandybridge processors.
7152 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7155 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7158 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7160 * config/microblaze/crti.S: Setup stack protection at entry
7162 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
7164 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7165 (__rotldi3): Shift bytewise if applicable.
7167 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7169 * config/aarch64/sync-cache.c
7170 (__aarch64_sync_cache_range): Silence warnings.
7172 2013-02-25 Catherine Moore <clm@codesourcery.com>
7175 2013-02-24 Catherine Moore <clm@codesourcery.com>
7176 Joseph Myers <joseph@codesourcery.com>
7177 Chao-ying Fu <fu@mips.com>
7179 * config/mips/mips16.S: Don't build for microMIPS.
7180 * config/mips/linux-unwind.h: Handle microMIPS frame.
7181 * config/mips/crtn.S (fini, init): New labels.
7183 2013-02-24 Catherine Moore <clm@codesourcery.com>
7184 Joseph Myers <joseph@codesourcery.com>
7185 Chao-ying Fu <fu@mips.com>
7187 * config/mips/mips16.S: Don't build for microMIPS.
7188 * config/mips/linux-unwind.h: Handle microMIPS frame.
7189 * config/mips/crtn.S (fini, init): New labels.
7191 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7192 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7195 2013-02-16 Alan Modra <amodra@gmail.com>
7198 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7199 (ppc_fallback_frame_state): Always set up save locations for fp
7200 and altivec. Don't bother with non-callee-saved regs, r0-r13
7201 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7203 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
7206 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7208 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7209 _ssmulha3, _usmulusa3, _ssmulsa3.
7210 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7211 (__muldi3): XCALL __muldi3_6 instead of rcall.
7212 (__umulsidi3, __mulsidi3): New functions.
7213 (do_prologue_saves, do_epilogue_restores): New .macros.
7214 (__divdi3_moddi3): Use them.
7215 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7216 (__usmulusa3, __ssmulsa3): New functions.
7218 2013-02-11 Iain Sandoe <iain@codesourcery.com>
7219 Jack Howarth <howarth@bromo.med.uc.edu>
7220 Patrick Marlier <patrick.marlier@gmail.com>
7223 * config/darwin-crt-tm.c: Remove dummy functions hack.
7225 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
7228 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7229 * config/avr/lib2-object.mk: New iterator to build objects from it.
7230 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7232 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7233 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7234 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7235 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7236 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7237 * config/avr/lib1funcs-fixed.S: Implement them.
7239 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7241 Update copyright years.
7243 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
7246 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7247 Add crtcxa to extra_parts.
7248 * config/rs6000/exit.h: New file.
7249 * config/rs6000/cxa_atexit.c: New file.
7250 * config/rs6000/cxa_finalize.c: New file.
7251 * config/rs6000/crtcxa.c: New file.
7252 * config/rs6000/t-aix-cxa: New file.
7253 * config/rs6000/libgcc-aix-cxa.ver: New file.
7255 2013-01-31 Nick Clifton <nickc@redhat.com>
7257 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7260 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
7263 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7264 _mulQQ, _mulHQ, _mulHA, _mulSA,
7265 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7266 _divQQ, _divHQ, _divHA, _divSA,
7267 _divUQQ, _divUHQ, _divUHA, _divUSA.
7269 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
7271 * config.host(microblaze*-linux*): tmake_file: Remove
7272 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7273 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7274 to exclude functions from being built with libgcc.c and use
7275 the microblaze assembly.
7277 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7279 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7282 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7284 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7285 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7286 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7287 alignment operation.
7289 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7291 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7292 loop start address for cache clearing.
7294 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7296 * config/avr/lib1funcs.S: Remove trailing blanks.
7297 * config/avr/lib1funcs-fixed.S: Ditto.
7299 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7301 * config/avr/avr-lib.h: Add GPL copyright notice.
7303 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7305 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7306 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7307 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7308 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7310 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
7312 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7313 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7315 2013-01-04 Nick Clifton <nickc@redhat.com>
7317 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7318 the CALLT instruction is supported.
7320 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7322 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7323 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7325 2012-12-13 John Tytgat <John@bass-software.com>
7327 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7330 2012-12-12 Jakub Jelinek <jakub@redhat.com>
7333 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7334 undefined signed overflows.
7336 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
7339 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7341 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
7343 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7344 (FP_TRAPPING_EXCEPTIONS): Define.
7345 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7346 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7348 2012-12-04 Richard Henderson <rth@redhat.com>
7351 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7353 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7355 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7356 (FP_EX_SHIFT): Define.
7357 (FP_TRAPPING_EXCEPTIONS): Define.
7359 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7361 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7362 (FP_ROUNDMODE): Use FP_RND_MASK.
7363 * config/aarch64/sfp-exceptions.c: New.
7364 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7365 Use __sfp_handle_exceptions.
7367 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
7369 * config.host: (arm*-*-freebsd*): Remove.
7370 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7371 (arm*-*-elf*): Remove.
7372 (arm*-*-wince-pe*): Remove.
7373 * arm/unwind-arm.c (struct fpa_reg): Delete.
7374 (struct fpa_regs): Delete.
7375 (phase1_vrs): Remove fpa element.
7376 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7377 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7378 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7379 * ieee754-sf.S (floatundisf): Remove FPA support.
7380 (floatdisf): Likewise.
7381 * ieee75f-df.S (floatundidf): Likewise.
7382 (floatdidf): Likewise.
7384 2012-11-29 Kai Tietz <ktietz@redhat.com>
7387 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7388 * unwind-generic.h: Likewise.
7389 * unwind-seh.c: Likewise.
7391 2012-11-28 Richard Henderson <rth@redhat.com>
7394 * emutls.c (__emutls_get_address): Avoid race condition between
7395 obj->loc.offset read and emutls_key initialization.
7397 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
7399 Adjust decimal point of signed accum mode to GCC default.
7402 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7404 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7405 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7406 (__mulha3, __mulsa3)
7407 (__divqq3, __divha3, __divsa3): Adjust to new position of
7408 decimal point of signed accum types.
7410 (__mulusa3_round): New function.
7411 (__mulusa3): Use it.
7412 (__divqq_helper): New function.
7413 (__udivuqq3): Use it.
7415 2012-11-20 Jakub Jelinek <jakub@redhat.com>
7418 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7420 2012-11-18 Teresa Johnson <tejohnson@google.com>
7423 * libgcov.c (gcov_exit): Remove merged program summary
7424 comparison unless !GCOV_LOCKED.
7426 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7428 * soft-fp: Updated from glibc upstream.
7430 2012-11-06 Ian Lance Taylor <iant@google.com>
7432 * generic-morestack.c (__generic_morestack): Align the returned
7433 stack pointer to a 32 byte boundary.
7434 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7435 increment the return address until we have decided that we don't
7436 have a varargs function.
7437 (__morestack) [32-bit]: Align stack correctly when calling C
7439 (__morestack) [64-bit]: Likewise.
7441 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7443 * configure: Regenerate.
7445 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7448 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7449 * config/i386/sfp-machine.h: Guard exception handling
7450 code with _SOFT_FLOAT.
7451 * config/i386/32/sfp-machine.h: Guard rounding handling
7452 code with _SOFT_FLOAT.
7453 * config/i386/64/sfp-machine.h: Ditto.
7455 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7457 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7460 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7462 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7463 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7464 when appropriate. Correct structure element types.
7465 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7466 -minline-all-stringops from compile flags.
7468 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7470 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7472 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7474 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7476 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7478 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7481 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7482 Jim MacArthur <jim.macarthur@arm.com>
7483 Marcus Shawcroft <marcus.shawcroft@arm.com>
7484 Nigel Stephens <nigel.stephens@arm.com>
7485 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7486 Richard Earnshaw <rearnsha@arm.com>
7487 Sofiane Naci <sofiane.naci@arm.com>
7488 Stephen Thomas <stephen.thomas@arm.com>
7489 Tejas Belagod <tejas.belagod@arm.com>
7490 Yufeng Zhang <yufeng.zhang@arm.com>
7492 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7493 * config/aarch64/crti.S: New file.
7494 * config/aarch64/crtn.S: New file.
7495 * config/aarch64/linux-unwind.h: New file.
7496 * config/aarch64/sfp-machine.h: New file.
7497 * config/aarch64/sync-cache.c: New file.
7498 * config/aarch64/t-aarch64: New file.
7499 * config/aarch64/t-softfp: New file.
7501 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7503 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7504 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7505 no-longer-needed LDBU insns.
7507 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7510 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7511 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7513 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7515 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7517 2012-10-15 Matthias Klose <doko@ubuntu.com>
7519 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7521 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7523 * configure: Regenerate.
7524 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7526 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7528 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7529 instructions for 64bit targets only.
7531 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7533 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7534 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7535 * config/i386/32/sfp-machine.h: ... here.
7536 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7537 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7540 2012-10-07 Matthias Klose <doko@ubuntu.com>
7542 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7544 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7546 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7548 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7549 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7550 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7553 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7556 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7557 Fix parameter names.
7559 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7562 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7563 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7564 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7566 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7569 * config/sh/linux-atomic.S: Delete.
7570 * config/sh/linux-atomic.c: New.
7571 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7572 linux-atomic.c. Add cflags to disable warnings.
7574 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7577 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7579 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7580 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7581 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7582 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7583 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7585 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7587 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7589 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7590 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7592 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
7594 * config.host (hppa-*-openbsd*): New target.
7595 * config/pa/t-openbsd: New file.
7597 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
7600 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7601 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7602 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7603 (__divsa3): Use __negsi2 to negate r_quoL.
7604 * config/avr/lib1funcs.S (FALIAS): New macro.
7605 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7606 (__negsi2): ...this new function.
7607 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7608 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7609 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7610 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7611 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7612 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7614 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7617 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7618 (lshrsi3): Reimplement as lshrsi3_r0.
7620 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7623 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7626 2012-09-07 Teresa Johnson <tejohnson@google.com>
7628 PR gcov-profile/54487
7629 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7632 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
7635 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7636 not configured --with-avrlibc=no.
7637 * config/avr/t-avrlibc: New file.
7638 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7639 (DPBIT_FUNCS): Ditto.
7640 (TPBIT_FUNCS): Ditto.
7642 2012-09-04 Teresa Johnson <tejohnson@google.com>
7644 * libgcov.c (struct gcov_summary_buffer): New structure.
7645 (gcov_histogram_insert): New function.
7646 (gcov_compute_histogram): Ditto.
7647 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7648 histograms during summary merging.
7650 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7652 * config.host (x86_64-*-openbsd*): New target.
7654 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7656 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7659 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7662 * config/avr/t-avr (conv_X): Rename to func_X.
7664 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7667 * config/avr/lib1funcs-fixed.S: New file.
7668 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7669 after they are used.
7670 (neg2, neg4): New macros.
7671 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7672 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7673 (__umulhisi3): Speed up MUL variant if there is enough flash.
7674 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7676 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7677 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7678 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7679 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7680 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7681 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7682 (LIB2FUNCS_EXCLUDE): Add supported functions.
7684 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
7686 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7687 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7689 * fixed-obj.mk: Only expand dependency if $o is not in
7692 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7694 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7696 2012-08-22 Joseph Myers <joseph@codesourcery.com>
7698 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7699 depend on --enable-shared.
7700 ($(lib1asmfuncs-o)): Use %.vis files independent of
7702 * static-object.mk ($(base)$(objext), $(base).vis)
7703 ($(base)_s$(objext)): Use same rules for visibility handling as in
7706 2012-08-21 Ian Lance Taylor <iant@google.com>
7708 * config/i386/morestack.S (__morestack_non_split): Increase amount
7709 of space allocated for non-split code stack.
7711 2012-08-19 Joseph Myers <joseph@codesourcery.com>
7713 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7714 even if inhibit_libc.
7716 2012-08-17 Julian Brown <julian@codesourcery.com>
7718 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7719 -fexceptions -fnon-call-exceptions if not defined.
7720 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7721 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7723 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7725 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7728 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7730 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7731 rs6000/t-slibgcc-aix.
7733 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7735 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7737 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7739 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7741 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7744 * Makefile.in (version): Replace top_srcdir with srcdir.
7746 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7748 * Makefile.in (version): set to BASE-VER file from gcc directory.
7750 2012-08-01 Nick Clifton <nickc@redhat.com>
7752 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7753 Implements __clrsb for an HImode argument.
7755 2012-07-31 Nick Clifton <nickc@redhat.com>
7757 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7758 Implements __clrsb for an HImode argument.
7759 * config/stormy16/clrsbhi2.c: New file:
7760 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7762 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7764 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7766 2012-07-19 Tristan Gingold <gingold@adacore.com>
7767 Richard Henderson <rth@redhat.com>
7769 * unwind-seh.c: New file.
7770 * unwind-generic.h: Include windows.h for SEH.
7771 (_Unwind_Exception): Use 6 private fields for SEH.
7772 (_GCC_specific_handler): Declare.
7773 * unwind-c.c (__gcc_personality_seh0): New function.
7775 * config/i386/libgcc-cygming.ver: New file.
7776 * config/i386/t-seh-eh: New file.
7777 * config.host (x86_64-*-mingw*): Default to seh.
7779 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7781 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7783 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7785 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7786 __builtin_expect when checking for exceptions.
7787 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7789 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7791 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7792 function declaration.
7793 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7795 * config/ia64/sfp-exceptions.c: New.
7796 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7798 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7800 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7801 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7802 * config/i386/64/sfp-machine: ... (delete here) ...
7803 * config/i386/sfp-machine.h: ... to here.
7804 (FP_EX_MASK): Remove.
7806 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7808 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7810 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7811 * config/i386/libgcc-sol2.ver: Ditto.
7812 * config/i386/libgcc-glibc.ver: Ditto.
7814 2012-06-11 Roland McGrath <mcgrathr@google.com>
7816 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7817 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7820 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7822 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7823 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7824 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7825 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7826 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7827 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7828 * config/i386/64/sfp-machine: ... (delete here) ...
7829 * config/i386/sfp-machine.h: ... to here.
7831 (__sfp_handle_exceptions): New function declaration.
7832 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7833 * config/i386/sfp-exceptions.c: New.
7834 * config/i386/t-softfp: New.
7835 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7836 i386/t-softfp to tmake_file.
7838 2012-06-03 David S. Miller <davem@davemloft.net>
7840 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7843 2012-05-31 David S. Miller <davem@davemloft.net>
7845 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7846 multiply and divide instructions on 32-bit when V9.
7847 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7849 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7851 * config/arm/ieee754-df.S: Fix typos.
7852 * config/arm/ieee754-sf.S: Fix typos.
7853 * config/c6x/libunwind.S: Fix typos.
7854 * config/epiphany/udivsi3-float.c: Fix typos.
7855 * config/microblaze/muldi3_hard.S: Fix typos.
7856 * config/picochip/adddi3.S: Fix typos.
7857 * config/picochip/ashlsi3.S: Fix typos.
7858 * config/picochip/ashrsi3.S: Fix typos.
7859 * config/picochip/clzsi2.S: Fix typos.
7860 * config/picochip/cmpsi2.S: Fix typos.
7861 * config/picochip/divmod15.S: Fix typos.
7862 * config/picochip/divmodhi4.S: Fix typos.
7863 * config/picochip/divmodsi4.S: Fix typos.
7864 * config/picochip/longjmp.S: Fix typos.
7865 * config/picochip/lshrsi3.S: Fix typos.
7866 * config/picochip/parityhi2.S: Fix typos.
7867 * config/picochip/popcounthi2.S: Fix typos.
7868 * config/picochip/setjmp.S: Fix typos.
7869 * config/picochip/subdi3.S: Fix typos.
7870 * config/picochip/ucmpsi2.S: Fix typos.
7871 * config/picochip/udivmodhi4.S: Fix typos.
7872 * config/picochip/udivmodsi4.S: Fix typos.
7873 * config/spu/divv2df3.c: Fix typos.
7874 * config/spu/mfc_multi_tag_release.c: Fix typos.
7875 * config/spu/mfc_tag_release.c: Fix typos.
7876 * configure.ac: Fix typos.
7877 * configure: Regenerate.
7879 2012-05-25 Ian Lance Taylor <iant@google.com>
7881 * config/i386/morestack.S (__morestack_non_split): Check whether
7882 caller is varargs and needs %bp to hold the stack frame on return.
7884 2012-05-25 Olivier Hainque <hainque@adacore.com>
7886 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7887 sequence in the non pic case on VxWorks.
7889 2012-05-24 Olivier Hainque <hainque@adacore.com>
7891 * Makefile.in: Move dependency on install-unwind_h from
7892 "install-leaf" to "install".
7894 2012-05-24 Olivier Hainque <hainque@adacore.com>
7896 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7897 Use a separate command for stamp removals.
7899 2012-05-21 Andrew Pinski <apinski@cavium.com>
7902 * configure.ac: Define the default includes to being none.
7903 * configure: Regenerate.
7905 2012-05-16 Olivier Hainque <hainque@adacore.com>
7907 * Makefile.in (install-unwind_h): Rename into ...
7908 (install-unwind_h-forbuild): New target.
7909 (all): Use it instead of the former install-unwind_h.
7910 (install-unwind_h): Reinstate, copy to user install destination
7911 for include files, not to the internal gcc object directory one.
7912 (install-leaf): Depend on it.
7914 2012-05-15 Olivier Hainque <hainque@adacore.com>
7916 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7917 register numbers. LR_REGNO replaces R_LR.
7918 (ucontext_for): New, helper for ...
7919 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7921 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7923 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7925 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7926 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7927 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7929 (i[34567]86-*-*, x86_64-*-*): ... here.
7931 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7932 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7934 * config/i386/i386-cpuinfo.c: Rename to ...
7935 * config/i386/cpuinfo.c: ... this.
7936 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7938 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7939 (libgcc_cv_init_priority): New test.
7940 * configure: Regenerate.
7941 * config.in: New file.
7942 * Makefile.in (clean): Rename config.h to auto-target.h.
7943 (config.h): Likewise.
7944 (stamp-h): Likewise.
7946 * config/i386/cpuinfo.c (auto-target.h): Include.
7947 (CONSTRUCTOR_PRIORITY): Define.
7948 (__cpu_indicator_init): Use it.
7950 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7952 * longlong.h: Use a URL instead of an FSF postal address.
7953 Replace spaces with tab.
7955 2012-05-08 Teresa Johnson <tejohnson@google.com>
7957 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7958 (__gcov_dump): Ditto.
7959 (gcov_dump_complete): New global variable.
7960 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7961 (__gcov_flush): Outline functionality now in gcov_clear.
7962 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7964 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7966 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7967 (mips*-*-linux*): Include mips/t-tpbit when long double is
7970 2012-04-25 Sriraman Tallam <tmsriram@google.com>
7972 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7973 (get_available_features): New argument. Check for AVX2.
7974 (__cpu_indicator_init): Modify call to get_available_features.
7976 2012-04-25 Alan Modra <amodra@gmail.com>
7978 * config/rs6000/crtsavevr.S: New file.
7979 * config/rs6000/crtrestvr.S: New file.
7980 * config/rs6000/t-savresfgpr: Build the above.
7981 * config/rs6000/t-netbsd: Likewise.
7983 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7985 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7987 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7989 * libgcc/config/i386/i386-cpuinfo.c: New file.
7990 * libgcc/config/i386/t-cpuinfo: New file.
7991 * libgcc/config.host: Include t-cpuinfo.
7992 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7994 2012-04-24 Chao-ying Fu <fu@mips.com>
7996 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7998 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8000 struct siginfo vs. siginfo_t
8002 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8003 siginfo_t instead of struct siginfo.
8004 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8005 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8006 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8007 (ia64_handle_unwabi): Likewise.
8008 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8009 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8010 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8011 (sh_fallback_frame_state): Likewise.
8012 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8013 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8015 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8017 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8020 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8022 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8023 if it hasn't been previously saved.
8025 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8027 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8030 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
8033 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8034 instead of __AVR_HAVE_8BIT_SP__.
8036 2012-03-26 Tristan Gingold <gingold@adacore.com>
8038 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8039 (unw_table_entry): Use unw_word instead of unsigned long.
8040 (_Unwind_FindTableEntry): Likewise.
8041 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8042 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8043 (_Unwind_FindTableEntry): Likewise.
8044 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8045 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8046 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8047 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8048 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8049 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8050 (uw_init_context_1, uw_install_context): Likewise.
8051 (unw_word): Move to unwind-ia64.h
8053 2012-03-26 Tristan Gingold <gingold@adacore.com>
8055 * config/vms/vms-ucrt0.c: Update copyright years.
8057 (___gcc_main_flags): Declare.
8058 (__main): Check flags to remap argv and exit code.
8059 * config.host (*-*-*vms*): Adjust extra_parts.
8060 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8063 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
8065 * arm/lib1funcs.asm (ctzsi2): New function.
8066 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8067 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8068 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8069 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8070 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8071 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8073 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
8075 * config.host: Add bits to support powerpc64-*-freebsd*.
8076 * config/rs6000/freebsd-unwind.h: New file.
8077 * config/rs6000/t-freebsd64: New file.
8079 2012-03-20 Richard Guenther <rguenther@suse.de>
8081 PR gcov-profile/52627
8082 * libgcov.c (init_mx): Fix mutex name.
8084 2012-03-16 Tristan Gingold <gingold@adacore.com>
8086 * config/ia64/vms-unwind.h: Remove ulong (and replace
8087 it by unw_reg where used). Define unw_reg with __int64.
8089 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8091 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8093 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8095 (sparc_is_sighandler): Likewise.
8097 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8099 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8102 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8104 * config/arm/crtn.S: Fix typo.
8106 2012-03-13 Richard Guenther <rguenther@suse.de>
8108 * libgcov.c: Remove stdio.h include and NULL un-define.
8110 2012-03-13 Richard Guenther <rguenther@suse.de>
8113 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8115 2012-03-13 Richard Guenther <rguenther@suse.de>
8117 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8119 2012-03-13 Richard Guenther <rguenther@suse.de>
8121 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8122 and __gthread_mutex_init_function definitions.
8124 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8126 * config.host (mips*-*-openbsd*): Remove.
8128 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8130 * config.host: Remove alpha*-dec-osf5.1* handling.
8131 * config/alpha/gthr-posix.c: Remove.
8132 * config/alpha/libgcc-osf5.ver: Remove.
8133 * config/alpha/osf5-unwind.h: Remove.
8134 * config/alpha/t-osf-pthread: Remove.
8135 * config/alpha/t-slibgcc-osf: Remove.
8136 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8137 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8138 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8139 * mkmap-flat.awk: Remove osf_export handling.
8141 2012-03-12 Richard Guenther <rguenther@suse.de>
8143 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8144 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8145 (__gthread_mutex_init_function): New function.
8146 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8149 * libgcov.c: Include gthr.h.
8150 (__gcov_flush_mx): New global variable.
8151 (init_mx, init_mx_once): New functions.
8152 (__gcov_flush): Protect self with a mutex.
8153 (__gcov_fork): Re-initialize mutex after forking.
8154 * unwind-dw2-fde.c: Change condition under which to use
8155 __GTHREAD_MUTEX_INIT_FUNCTION.
8157 2012-03-12 Tristan Gingold <gingold@adacore.com>
8159 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8160 * config/ia64/t-vms: Likewise.
8162 2012-03-11 Michael Hope <michael.hope@linaro.org>
8164 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8167 2012-03-07 Walter Lee <walt@tilera.com>
8169 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8171 (atomic_xor): Rename and move definition to
8172 config/tilepro/atomic.h.
8173 (atomic_nand): Ditto.
8174 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8176 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8177 (arch_atomic_nand): Ditto.
8179 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8182 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8184 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8187 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8190 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8194 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8195 if RAMPZ affects reading from RAM.
8196 (__tablejump_elpm__): Ditto.
8198 (__movmemx_hi): Ditto.
8199 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8200 (__do_global_dtors): Ditto.
8201 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8202 (__movmemx_hi): Ditto.
8204 2012-03-05 Richard Henderson <rth@redhat.com>
8206 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8207 [ARM] (count_trailing_zeros): Use the builtin.
8209 2012-03-01 Kai Tietz <ktietz@redhat.com>
8211 * soft-fp: Imported from glibc upstream.
8213 2012-02-28 Kai Tietz <ktietz@redhat.com>
8215 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8216 for mingw-targets as attribute gcc_struct.
8218 2012-02-28 Ian Lance Taylor <iant@google.com>
8220 * generic-morestack.c (__splitstack_releasecontext): Correct call
8221 to __morestack_release_segments.
8223 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8226 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8227 for __linux__ when removing signals from __morestack_fullmask.
8229 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
8232 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8234 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8236 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8237 instead of HAVE_INITFINI_ARRAY.
8238 * config/ia64/crtend.S: Likewise.
8240 2012-02-20 Kai Tietz <ktietz@redhat.com>
8243 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8245 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8246 to w32-unwind.h header.
8248 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8250 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8251 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8252 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8253 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8255 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8257 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8259 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8262 * config/darwin-crt-tm.c: Correct typo.
8264 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8265 Patrick Marlier <patrick.marlier@gmail.com>
8268 * config/darwin-crt-tm.c: Generate dummy functions.
8270 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8271 Patrick Marlier <patrick.marlier@gmail.com>
8274 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8275 (__doTMRegistrations): Call it.
8276 (__doTMdeRegistrations): Likewise.
8278 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
8279 Anatoly Sokolov <aesok@post.ru>
8280 Eric Weddington <eric.weddington@atmel.com>
8283 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8284 (__epilogue_restores__): Ditto.
8286 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8290 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8291 Solaris 11 and slightly reformat.
8292 (sparc_is_sighandler): Likewise.
8294 2012-02-14 Walter Lee <walt@tilera.com>
8296 * config.host: Handle tilegx and tilepro.
8297 * config/tilegx/sfp-machine.h: New file.
8298 * config/tilegx/sfp-machine32.h: New file.
8299 * config/tilegx/sfp-machine64.h: New file.
8300 * config/tilegx/t-crtstuff: New file.
8301 * config/tilegx/t-softfp: New file.
8302 * config/tilegx/t-tilegx: New file.
8303 * config/tilepro/atomic.c: New file.
8304 * config/tilepro/atomic.h: New file.
8305 * config/tilepro/linux-unwind.h: New file.
8306 * config/tilepro/sfp-machine.h: New file.
8307 * config/tilepro/softdivide.c: New file.
8308 * config/tilepro/softmpy.S: New file.
8309 * config/tilepro/t-crtstuff: New file.
8310 * config/tilepro/t-tilepro: New file.
8312 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8316 * gthr-posix.h: Allow static initializer macros to be disabled.
8317 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8319 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8321 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8322 Add t-slibgcc-libgcc to tmake_file.
8323 * config/mips/libgcc-mips16.ver: Revert previous patch.
8324 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8326 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8327 Jayant R Sonar <jayant.sonar@kpitcummins.com>
8329 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8330 * config/cr16/crti.S: New file.
8331 * config/cr16/crtlibid.S: New file.
8332 * config/cr16/crtn.S: New file.
8333 * config/cr16/lib1funcs.S: New file.
8334 * config/cr16/t-cr16: New file.
8335 * config/cr16/t-crtlibid: New file.
8336 * config/cr16/unwind-dw2.h: New file.
8337 * config/cr16/unwind-cr16.c: New file.
8338 * config/cr16/divmodhi3.c: New file.
8340 2012-01-25 Alan Modra <amodra@gmail.com>
8342 * config/rs6000/t-linux64: Delete. Move..
8343 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8344 * config/rs6000/t-linux: ..and libgcc flags to here.
8346 2012-01-22 Douglas B Rupp <rupp@gnat.com>
8348 * config.host (i[34567]86-*-interix3*):
8349 Change triplet to i[34567]86-*-interix[3-9]*.
8350 * configure: Regenerate.
8352 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8353 Richard Sandiford <rdsandiford@googlemail.com>
8355 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8356 * config/mips/mips16.S (__mips16_rdhwr): New function.
8357 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8359 2012-01-11 Nathan Sidwell <nathan@acm.org>
8361 * libgcov.c (__gcov_init): Ignore objects with no functions.
8363 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
8366 Extend __pgmx semantics to linearize memory.
8367 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8368 * config/avr/lib1funcs.S (__xload_1): New function.
8369 (__movmemx_qi, __movmemx_hi): New functions.
8370 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8373 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8375 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8376 purported sigacthandler address isn't null before dereferencing it.
8377 (sparc_is_sighandler): Likewise.
8379 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8382 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8383 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8384 (sparc_is_sighandler): Likewise.
8385 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8387 2012-01-06 Tristan Gingold <gingold@adacore.com>
8389 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8390 compatibility thunks...
8391 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8392 (crtbeginS.o, crtendS.o): ... and these to ...
8393 * config/ia64/t-ia64-elf: ... this new file.
8394 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8395 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8397 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8399 * configure: Regenerate.
8400 * config/s390/t-crtstuff: Remove -fPIC.
8402 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8405 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8408 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8411 * config/avr/lib1funcs.S: Remove FIXME comments.
8412 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8414 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8416 Implement light-weight DImode support.
8417 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8418 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8419 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8420 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8422 2011-12-30 Nathan Sidwell <nathan@acm.org>
8424 * libgcov.c (gcov_crc32): Remove global var.
8425 (free_fn_data): New function.
8426 (buffer_fn_data): Pass in filename, more robust error recovery.
8427 (crc32_unsigned): New function.
8428 (gcov_exit): More robust detection of new program. More robust
8430 (__gcov_init): Do not update program's crc here.
8432 2011-12-21 Tristan Gingold <gingold@adacore.com>
8434 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8436 2011-12-21 Ian Lance Taylor <iant@google.com>
8438 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8440 2011-12-20 Ian Lance Taylor <iant@google.com>
8442 * config/i386/morestack.S (__morestack_non_split): If there is
8443 enough stack space already, don't split. Ask for more stack space
8446 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8448 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8450 (_Unwind_DebugHook): New function.
8451 (uw_restore_core_regs): New define.
8452 (unwind_phase2): Use uw_restore_core_regs instead of
8454 (unwind_phase2_forced): Likewise.
8455 (__gnu_Unwind_Resume): Likewise.
8457 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8459 * config/alpha/linux-unwind.h: Update copyright years.
8460 (MD_FROB_UPDATE_CONTEXT): New define.
8461 (alpha_frob_update_context): New function.
8463 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8465 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8466 tmake_file rather replacing it.
8468 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8470 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8471 function is not used for PPC64.
8472 (save_world): Amend comments. Update the VRsave mask to reflect the
8474 (rest_world): Update comments, do not clobber r10, do not use r8.
8475 (eh_rest_world_r10): Amend comments, do not use r8.
8476 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8477 no longer used, move restore of CR and target address to the end of
8480 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8482 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8483 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8485 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8488 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8489 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8491 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8493 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8495 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8498 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8499 * config/avr/lib1funcs.S (__muldi3): New function.
8501 2011-12-06 Andrew Pinski <apinski@cavium.com>
8503 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8505 (__frame_dummy_init_array_entry): Likewise.
8507 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8509 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8513 * config/avr/lib1funcs.S (__prologue_saves__,
8514 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8515 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8517 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8519 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8521 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8524 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8525 (_ITM_deregisterTMCloneTable): Likewise.
8526 (__register_frame_info): Fix unused warning.
8527 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8528 pthread_default_stacksize_np): Likewise.
8529 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8531 2011-11-29 DJ Delorie <dj@redhat.com>
8533 * config.host (rl78-*-elf): New case.
8534 * config/rl78: New directory for the Renesas RL78.
8536 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8538 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8541 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8544 * config/rs6000/t-savresfgpr: New file.
8545 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8546 $(srcdir)/config/rs6000/eabi.S.
8547 * config/rs6000/t-ppccomm-ldbl: Remove.
8548 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8550 (powerpc-*-eabispe*): Likewise.
8551 (powerpc-*-eabi*): Likewise.
8552 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8553 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8554 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8555 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8557 (powerpc-*-eabisim*): Likewise.
8558 (powerpc-*-elf*): Likewise.
8559 (powerpc-*-eabialtivec*): Likewise.
8560 (powerpc-xilinx-eabi*): Likewise.
8561 (powerpc-*-rtems*): Likewise.
8562 (powerpcle-*-elf*): Likewise.
8563 (powerpcle-*-eabisim*): Likewise.
8564 (powerpcle-*-eabi*): Likewise.
8566 2011-11-27 Ian Lance Taylor <iant@google.com>
8568 * generic-morestack.c (__splitstack_find): Check for NULL old
8570 (__splitstack_resetcontext): New function.
8571 (__splitstack_releasecontext): New function.
8572 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8574 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8576 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8578 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8580 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8582 2011-11-26 Richard Henderson <rth@redhat.com>
8584 * config/m68k/linux-atomic.c: New file.
8585 * config/m68k/t-linux: New file.
8586 * config.host (m68k-uclinux, m68k-linux): Use it.
8588 2011-11-26 Richard Henderson <rth@redhat.com>
8590 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8591 (__TMC_END__): Only declare if hidden is available; in the definition,
8592 if hidden is unavailable add a null record.
8593 (deregister_tm_clones, register_tm_clones): New.
8594 (__do_global_dtors_aux, frame_dummy): Use them.
8595 (__do_global_dtors, __do_global_ctors_1): Likewise.
8597 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8599 * config/darwin-crt-tm.c: New file.
8600 * config.host (darwin): Build crttms.o crttme.o to provide
8601 startup and shutdown for tm clones.
8602 * config/t-darwin (crttms.o): New build rule.
8603 (crttme.o): Likewise.
8605 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
8607 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8610 2011-11-21 Richard Henderson <rth@redhat.com>
8612 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8613 (__TMC_LIST__, __TMC_END__): New.
8614 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8615 (__do_global_dtors): Likewise.
8616 (frame_dummy): Call _ITM_registerTMCloneTable.
8617 (__do_global_ctors_1): Likewise.
8619 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8621 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8622 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8623 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8624 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8625 * config/i386/t-darwin64: Remove.
8626 * config/sh/t-netbsd (LIB2ADD): Remove.
8628 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
8631 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8632 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8633 * config/avr/lib1funcs.S (wmov): New assembler macro.
8634 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8635 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8636 (__udivmod64): New function.
8637 (__negdi2): New function.
8639 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8641 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8642 *-*-freebsd*aout*): Remove.
8644 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8646 * static-object.mk (c_flags-$o): Save c_flags.
8647 ($(base)$(objext)): Use it.
8649 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8651 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8653 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8656 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8657 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8660 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8662 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8664 (aeabi_uidivmod): Likewise.
8665 (umodsi3): Likewise.
8667 (aeabi_idivmod): Likewise.
8670 2011-11-16 Tristan Gingold <gingold@adacore.com>
8672 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8674 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
8677 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8678 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8680 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8682 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8684 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8685 * config/pa/t-stublib64: Delete.
8687 2011-11-12 Richard Henderson <rth@redhat.com>
8689 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8690 cast the pointer argument to _Unwind_SetGRPtr.
8692 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8694 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8696 2011-11-09 Ian Lance Taylor <iant@google.com>
8698 * generic-morestack.c: Include <string.h>.
8699 (uintptr_type): Define.
8700 (struct initial_sp): Add dont_block_signals field. Reduce size of
8702 (allocate_segment): Set prev field to NULL. Don't set
8703 __morestack_current_segment or __morestack_segments.
8704 (__generic_morestack): Update current->prev and *pp after calling
8706 (__morestack_block_signals): Don't do anything if
8707 dont_block_signals is set.
8708 (__morestack_unblock_signals): Likewise.
8709 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8711 (__splitstack_block_signals): New function.
8712 (enum __splitstack_content_offsets): Define.
8713 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8714 (__splitstack_makecontext): New function.
8715 (__splitstack_block_signals_context): New function.
8716 (__splitstack_find_context): New function.
8717 * config/i386/morestack.S (__morestack_get_guard): New function.
8718 (__morestack_set_guard, __morestack_make_guard): New functions.
8719 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8721 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8723 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8724 (i[34567]86-*-mingw*): ... here.
8725 (x86_64-*-mingw*): ... here.
8727 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8729 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8731 2011-11-07 Nathan Sidwell <nathan@acm.org>
8733 * libgcov.c (struct gcov_fn_buffer): New struct.
8734 (buffer_fn_data): New helper.
8735 (gcov_exit): Rework for new gcov data structures.
8737 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8740 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8742 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8744 * config.host (tmake_file): Correct comment.
8745 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8747 (bfin*-uclinux*): Likewise.
8748 (bfin*-linux-uclibc*): Likewise.
8749 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8751 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8753 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8754 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8755 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8756 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8757 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8758 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8759 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8760 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8761 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8762 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8763 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8764 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8765 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8767 * config/bfin/t-elf: Remove.
8768 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8770 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8772 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8773 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8774 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8775 (lm32-*-elf*): ... this.
8776 (lm32-*-rtems*): ... and this.
8778 (m32r-*-rtems*): Add to tmake_file.
8779 (moxie-*-rtems*): Likewise.
8780 (sparc-*-rtems*): Likewise.
8781 Remove t-rtems from tmake_file.
8782 (sparc64-*-rtems*): Likewise.
8783 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8786 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8789 * config/gthr-posix.h: Move ...
8790 * gthr-posix.h: ... here.
8791 * config/gthr-lynx.h: Reflect this.
8792 * config/gthr-vxworks.h: Likewise.
8793 * config/rs6000/gthr-aix.h: Likewise.
8794 * configure.ac (target_thread_file): Likewise.
8795 * configure: Regenerate.
8797 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8799 * config.host (arm*-*-rtemseabi*): New target.
8801 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8804 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8807 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8809 * config.host (epiphany-*-elf*): New configuration.
8810 * config/epiphany: New Directory.
8812 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8814 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8815 * config/avr/t-rtems: New.
8816 Filter out _exit from LIB1ASMFUNCS.
8818 2011-11-04 David S. Miller <davem@davemloft.net>
8820 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8821 * configure: Rebuild.
8823 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8825 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8828 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8831 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8832 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8834 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8837 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8839 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8841 * config/c6x/t-elf (LIB2ADDEH): Set.
8842 * config/c6x/t-c6x-elf: Remove.
8844 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8846 * config/i386/sol2-ci.S: Rename to ...
8847 * config/i386/crti.S: ... this.
8848 * config/i386/sol2-cn.S: Rename to ...
8849 * config/i386/crtn.S: ... this.
8850 * config/sparc/sol2-ci.S: Rename to ...
8851 * config/sparc/crti.S: ... this.
8852 * config/sparc/sol2-cn.S: Rename to ...
8853 * config/sparc/crtn.S: ... this.
8854 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8855 (crti.o, crtn.o): Remove.
8857 2011-11-04 Tristan Gingold <gingold@adacore.com>
8859 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8861 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8863 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8865 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8867 * config.host (crisv32-*-none, cris-*-none): Remove.
8868 (crisv32-*-elf): Append to tmake_file, don't just set it.
8869 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8871 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8873 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8874 (ecrtn$(objext)): Likewise.
8875 (ncrti$(objext)): Likewise.
8876 (ncrtn$(objext)): Likewise.
8878 2011-11-03 Andreas Schwab <schwab@redhat.com>
8880 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8882 2011-11-02 David S. Miller <davem@davemloft.net>
8884 * configure.ac: Set host_address on sparc too.
8885 * configure: Regenerate.
8886 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8887 based upon host_address.
8888 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8890 2011-11-02 Jason Merrill <jason@redhat.com>
8892 * config/rs6000/t-ppccomm: Add missing \.
8894 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8896 * gthr-single.h, gthr.h: New files.
8897 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8898 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8899 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8900 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8901 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8902 * configure.ac (thread_header): New variable.
8903 Set it depending on target_thread_file.
8904 (gthr-default.h): Link from $thread_header.
8905 * configure: Regenerate.
8906 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8908 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8910 * configure.ac (tm_file_): New variable.
8911 Determine from tm_file.
8912 (tm_file, tm_defines): Substitute.
8913 * configure: Regenerate.
8914 * mkheader.sh: New file.
8915 * Makefile.in (clean): Remove libgcc_tm.h.
8916 ($(objects)): Depend on libgcc_tm.h.
8917 (libgcc_tm_defines, libgcc_tm_file): New variables.
8918 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8919 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8920 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8921 ($(extra-parts)): Depend on libgcc_tm.h.
8922 * config.host (tm_defines, tm_file): New variable.
8923 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8924 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8925 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8926 (avr-*-rtems*): Likewise.
8927 (avr-*-*): Likewise.
8928 (frv-*-elf): Likewise.
8929 (frv-*-*linux*): Likewise.
8930 (h8300-*-rtems*): Likewise.
8931 (h8300-*-elf*): Likewise.
8932 (i[34567]86-*-darwin*): Likewise.
8933 (x86_64-*-darwin*): Likewise.
8934 (rx-*-elf): Likewise.
8935 (tic6x-*-uclinux): Likewise.
8936 (tic6x-*-elf): Likewise.
8937 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8938 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8939 * config/i386/cygming-crtbegin.c: Likewise.
8940 * config/i386/cygming-crtend.c: Likewise.
8941 * config/ia64/fde-vms.c: Likewise.
8942 * config/ia64/unwind-ia64.c: Likewise.
8943 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8944 * config/rs6000/darwin-fallback.c: Likewise.
8945 * config/stormy16/lib2funcs.c: Likewise.
8946 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8947 * crtstuff.c: Likewise.
8948 * dfp-bit.h: Likewise.
8949 * emutls.c: Likewise.
8950 * fixed-bit.c: Likewise.
8951 * fp-bit.c: Likewise.
8952 * generic-morestack-thread.c: Likewise.
8953 * generic-morestack.c: Likewise.
8954 * libgcc2.c: Likewise.
8955 * libgcov.c: Likewise.
8956 * unwind-dw2-fde-dip.c: Likewise.
8957 * unwind-dw2-fde.c: Likewise.
8958 * unwind-dw2.c: Likewise.
8959 * unwind-sjlj.c: Likewise.
8961 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8963 * configure.ac: Include ../config/picflag.m4.
8964 (GCC_PICFLAG): Call it.
8966 * configure: Regenerate.
8967 * Makefile.in (gcc_srcdir): Remove.
8968 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8969 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8970 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8971 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8972 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8975 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8976 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8977 to refer to libgcc2.c.
8979 * config/darwin-64.c: New file.
8980 * config/darwin-crt3.c: Remove comment.
8981 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8982 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8983 config/udivmodsi4.c: New files.
8984 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8985 config/memset.c: New files.
8986 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8987 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8988 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8989 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8990 * config/t-openbsd-thread: New file.
8991 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8992 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8993 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8994 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8997 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8998 to refer to gthr-posix.c.
8999 * config/alpha/t-vms (LIB2ADD): Set.
9000 * config/alpha/vms-gcc_shell_handler.c: New file.
9001 * config/arm/bpabi.c, config/arm/fp16.c,
9002 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9003 config/arm/unaligned-funcs.c: New files.
9004 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9005 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9006 * config/arm/t-linux: Likewise.
9007 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9008 * config/arm/t-netbsd: New file.
9009 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9010 * config/arm/t-symbian (LIB2ADD_ST): Set.
9011 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9012 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9013 * config/bfin/t-elf: New file.
9014 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9015 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9016 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9017 config/c6x/ltf.c: New files.
9018 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9019 (HOST_LIBGCC2_CFLAGS): Set.
9020 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9021 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9022 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9024 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9025 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9026 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9027 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9028 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9030 * config/frv/t-frv (LIB2ADD): Set.
9031 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9032 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9033 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9034 config/h8300/popcounthi2.c: New files.
9035 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9036 * config/i386/gthr-win32.c: New file.
9037 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9038 * config/i386/t-cygwin: Likewise.
9039 * config/i386/t-darwin, config/i386/t-darwin64,
9040 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9041 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9042 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9043 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9044 * config/ia64/quadlib.c: New file.
9045 * config/ia64/t-hpux (LIB2ADD): Set.
9046 * config/ia64/t-ia64: Add comment.
9047 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9048 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9049 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9050 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9051 * config/m32c/t-m32c (LIB2ADD): Set.
9052 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9053 * config/m32r/t-m32r: Likewise.
9054 * config/m68k/fpgnulib.c: New file.
9055 * config/m68k/t-floatlib (LIB2ADD): Set.
9056 (xfgnulib.c): New target.
9057 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9058 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9059 * config/mep/t-mep (LIB2ADD): Set.
9060 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9061 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9062 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9063 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9064 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9065 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9066 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9067 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9068 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9069 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9071 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9072 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9073 * config/pa/fptr.c, config/pa/lib2funcs.S,
9074 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9075 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9076 (LIB2ADD, LIB2ADD_ST): Set.
9077 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9078 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9080 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9081 * config/pdp11/t-pdp11: New file.
9082 * config/picochip/libgccExtras/adddi3.S,
9083 config/picochip/libgccExtras/ashlsi3.S,
9084 config/picochip/libgccExtras/ashrsi3.S,
9085 config/picochip/libgccExtras/clzsi2.S,
9086 config/picochip/libgccExtras/cmpsi2.S,
9087 config/picochip/libgccExtras/divmod15.S,
9088 config/picochip/libgccExtras/divmodhi4.S,
9089 config/picochip/libgccExtras/divmodsi4.S,
9090 config/picochip/libgccExtras/lshrsi3.S,
9091 config/picochip/libgccExtras/parityhi2.S,
9092 config/picochip/libgccExtras/popcounthi2.S,
9093 config/picochip/libgccExtras/subdi3.S,
9094 config/picochip/libgccExtras/ucmpsi2.S,
9095 config/picochip/libgccExtras/udivmodhi4.S,
9096 config/picochip/libgccExtras/udivmodsi4.S: New files.
9097 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9098 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9099 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9100 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9101 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9102 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9103 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9104 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9106 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9107 (HOST_LIBGCC2_CFLAGS): Set.
9108 * config/rs6000/t-darwin64: New file.
9109 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9110 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9111 * config/rs6000/t-ppccomm (LIB2ADD): Add
9112 $(srcdir)/config/rs6000/tramp.S.
9113 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9114 Add $(srcdir)/config/rs6000/eabi.S.
9115 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9116 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9117 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9118 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9119 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9120 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9121 * config/rs6000/tramp.S: New file.
9122 * config/s390/t-tpf: Remove.
9123 * config/sh/linux-atomic.S: New file.
9124 * config/sh/t-linux (LIB2ADD): Set.
9125 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9126 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9127 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9129 (HOST_LIBGCC2_CFLAGS): Set.
9130 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9131 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9132 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9133 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9134 config/spu/mfc_multi_tag_release.c,
9135 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9136 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9137 config/spu/multi3.c: New files.
9138 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9139 (HOST_LIBGCC2_CFLAGS): Set.
9140 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9141 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9142 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9143 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9144 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9145 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9146 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9147 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9148 config/stormy16/umodsi3.c: New files.
9149 * config/xtensa/lib2funcs.S: New file.
9150 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9151 * config/xtensa/t-xtensa (LIB2ADD): Set.
9152 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9153 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9154 Add t-freebsd-thread to tmake_file for posix threads.
9155 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9156 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9157 (*-*-lynxos*): Likewise.
9158 (*-*-netbsd*): Likewise.
9159 (*-*-openbsd*): Likewise.
9160 Add t-openbsd-thread to tmake_file for posix threads.
9161 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9162 (*-*-vxworks*): Set tmake_file.
9163 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9164 (alpha*-*-freebsd*): Likewise.
9165 (alpha*-*-netbsd*): Likewise.
9166 (alpha*-*-openbsd*): Likewise.
9167 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9168 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9169 (alpha*-dec-*vms*): Likewise.
9170 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9171 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9172 (bfin*-uclinux*): Likewise.
9173 (bfin*-linux-uclibc*): Likewise.
9174 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9175 (crisv32-*-none): Likewise.
9176 (cris-*-elf): Likewise.
9177 (cris-*-none): Likewise.
9178 (cris-*-linux*, crisv32-*-linux*): Likewise.
9179 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9181 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9183 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9184 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9185 (x86_64-*-elf*): Likewise.
9186 (i[34567]86-*-nto-qnx*): Likewise.
9187 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9189 (x86_64-*-mingw*): Likewise.
9190 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9191 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9192 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9193 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9194 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9196 (mipsisa64sr71k-*-elf*): Likewise.
9197 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9198 (mips-*-elf*, mipsel-*-elf*): Likewise.
9199 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9200 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9201 (mips*-*-rtems*): Likewise.
9202 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9204 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9205 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9206 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9207 (spu-*-elf*): Likewise.
9208 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9210 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9212 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9213 $(srcdir) to refer to $(LIB1ASMSRC).
9215 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9216 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9217 config/arm/lib1funcs.S: New files.
9218 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9219 * config/arm/t-arm: New file.
9220 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9221 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9222 config/arm/t-strongarm-elf: New files.
9223 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9224 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9225 * config/avr/lib1funcs.S: New file.
9226 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9227 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9228 * config/c6x/lib1funcs.S: New file.
9229 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9230 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9231 * config/frv/lib1funcs.S: New file.
9232 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9233 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9234 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9235 * config/ia64/__divxf3.asm: Rename to ...
9236 * config/ia64/__divxf3.S: ... this.
9237 Adapt lib1funcs.asm filename.
9238 * config/ia64/_fixtfdi.asm: Rename to ...
9239 * config/ia64/_fixtfdi.S: ... this.
9240 Adapt lib1funcs.asm filename.
9241 * config/ia64/_fixunstfdi.asm: Rename to ...
9242 * config/ia64/_fixunstfdi.S: ... this.
9243 Adapt lib1funcs.asm filename.
9244 * config/ia64/_floatditf.asm: Rename to ...
9245 * config/ia64/_floatditf.S: ... this.
9246 Adapt lib1funcs.asm filename.
9247 * config/ia64/lib1funcs.S: New file.
9248 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9249 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9250 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9251 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9252 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9253 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9254 * config/mep/lib1funcs.S: New file.
9255 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9256 * config/mips/mips16.S: New file.
9257 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9258 * config/pa/milli64.S: New file.
9259 * config/pa/t-linux, config/pa/t-linux64: New files.
9260 * config/picochip/lib1funcs.S: New file.
9261 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9262 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9263 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9264 * config/sh/t-netbsd: New file.
9265 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9266 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9267 * config/sh/t-sh64: New file.
9268 * config/sparc/lb1spc.S: New file.
9269 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9271 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9272 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9273 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9274 config/xtensa/lib1funcs.S: New files.
9275 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9276 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9278 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9279 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9280 (arm*-*-linux*): Likewise.
9281 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9282 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9283 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9284 (arm*-*-ecos-elf): Likewise.
9285 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9286 (arm*-*-rtems*): Likewise.
9287 (arm*-*-elf): Likewise.
9288 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9289 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9290 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9291 (bfin*-uclinux*): Likewise.
9292 (bfin*-linux-uclibc*): Likewise.
9293 (bfin*-rtems*): Likewise.
9294 (bfin*-*): Likewise.
9295 (fido-*-elf): Merge into m68k-*-elf*.
9296 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9297 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9298 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9299 (h8300-*-elf*): Likewise.
9300 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9301 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9302 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9303 (i[34567]86-*-mingw*): Likewise.
9304 (x86_64-*-mingw*): Likewise.
9305 (i[34567]86-*-interix3*): Likewise.
9306 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9307 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9308 (m68k-*-elf*): Also handle fido-*-elf.
9309 Add m68k/t-floatlib to tmake_file.
9310 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9311 (m68k-*-linux*): Likewise.
9312 (m68k-*-rtems*): Likewise.
9313 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9314 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9316 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9317 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9318 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9319 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9320 sh/t-netbsd to tmake_file.
9321 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9322 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9323 (sh-wrs-vxworks): Likewise.
9324 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9326 (v850*-*-*): Add v850/t-v850 to tmake_file.
9327 (vax-*-linux*): Add vax/t-linux to tmake_file.
9328 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9330 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9332 * crtstuff.c: New file.
9333 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9334 (CRTSTUFF_T_CFLAGS): Define.
9335 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9336 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9337 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9340 (crtbeginT.o): Use $(objext).
9341 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9342 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9343 (gcc-extra-parts): Remove.
9344 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9346 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9347 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9348 Add t-crtstuff-pic to tmake_file.
9349 (*-*-lynxos*): New case.
9350 Set tmake_file, extra_parts.
9351 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9352 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9353 *-*-netbsdelf[2-9]*.
9354 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9355 (*-*-rtems*): Set extra_parts.
9356 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9357 (*-*-uclinux*): New case.
9359 (*-*-vms*): New case.
9360 Set tmake_file, extra_parts.
9361 (*-*-elf): Set extra_parts.
9362 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9363 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9366 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9368 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9369 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9370 (arm-wrs-vxworks): Append to tmake_file.
9372 (arm*-*-uclinux*): Set extra_parts.
9373 (arm*-*-ecos-elf): Likewise.
9374 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9376 (arm*-*-rtems*): Set extra_parts.
9377 (arm*-*-elf): Likewise.
9378 (avr-*-rtems*): Clear extra_parts.
9379 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9381 (bfin*-uclinux*): Likewise.
9382 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9383 (bfin*-rtems*): Append to tmake_file.
9385 (bfin*-*): Likewise.
9386 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9387 (crisv32-*-elf): ... this.
9388 (crisv32-*-none): ... this.
9389 (cris-*-elf, cris-*-none): New cases.
9390 Add cris/t-elfmulti to tmake_file.
9391 (fr30-*-elf): Append to tmake_file.
9393 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9395 (h8300-*-rtems*): Append to tmake_file.
9397 (h8300-*-elf*): Likewise.
9398 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9400 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9402 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9403 (x86_64-*-elf*): Likewise.
9404 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9405 (x86_64-*-freebsd*): Likewise.
9406 (x86_64-*-netbsd*): Likewise.
9407 (i[34567]86-*-linux*): Likewise.
9408 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9409 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9410 (x86_64-*-linux*): Likewise.
9411 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9412 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9415 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9416 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9417 Append to extra_parts, remove crtbegin.o, crtend.o.
9418 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9419 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9420 crtend.o, crtbeginS.o, crtendS.o.
9421 (ia64*-*-linux*): Comment extra_parts.
9422 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9424 (iq2000*-*-elf*): Clear extra_parts.
9425 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9426 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9427 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9428 (m32r-*-rtems*): ... this.
9429 Add m32r/t-m32r to tmake_file.
9430 (m68k-*-elf*): Add t-crtin to tmake_file.
9431 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9432 (mcore-*-elf): Likewise.
9433 (microblaze*-*-*): Set extra_parts.
9434 (mips*-sde-elf*): New case.
9435 Set tmake_file, extra_parts.
9436 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9437 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9438 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9441 (mipsisa64sr71k-*-elf*): Likewise.
9442 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9443 (mips-*-elf*, mipsel-*-elf*): Likewise.
9444 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9445 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9446 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9447 (mips*-*-rtems*): Likewise.
9448 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9449 (moxie-*-*): Split into ...
9450 (moxie-*-elf, moxie-*-uclinux*): ... this.
9451 Add to extra_parts, remove crtbegin.o, crtend.o.
9452 (moxie-*-rtems*): New case.
9455 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9457 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9458 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9461 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9462 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9464 (powerpc-*-eabisim*): Likewise.
9465 (powerpc-*-elf*): Likewise.
9466 (powerpc-*-eabialtivec*): Likewise.
9467 (powerpc-xilinx-eabi*): Likewise.
9468 (powerpc-*-eabi*): Likewise.
9469 (powerpc-*-rtems*): Likewise.
9470 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9473 (powerpc-*-lynxos*): Add to tmake_file.
9474 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9475 rs6000/t-crtstuff, t-crtstuff-pic.
9477 (powerpcle-*-eabisim*): Likewise.
9478 (powerpcle-*-eabi*): Likewise.
9479 (rx-*-elf): Remove extra_parts.
9480 (s390x-ibm-tpf*): Set extra_parts.
9481 (score-*-elf): Set extra_parts.
9482 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9483 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9484 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9485 (sh64l*-*-netbsd*): Split into ...
9486 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9487 Add t-crtstuff-pic to tmake_file.
9489 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9491 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9492 (sparc-*-elf*): Remove t-crtin from tmake_file.
9493 Add to extra_parts, remove crtbegin.o, crtend.o.
9494 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9495 (sparc64-*-linux*): Likewise.
9496 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9497 Add to extra_parts, remove crtbegin.o, crtend.o.
9498 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9499 Add to extra_parts, remove crtbegin.o, crtend.o.
9500 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9501 Add to extra_parts, remove crtbegin.o, crtend.o.
9502 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9503 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9504 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9506 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9508 (tic6x-*-*): Change to ...
9509 (tic6x-*-elf): ... this.
9511 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9513 (am33_2.0-*-linux*): Add comment.
9514 (mep*-*-*): Add mep/t-mep to tmake_file.
9516 * config/alpha/t-vms: New file.
9517 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9518 * config/arm/crti.S, config/arm/crtn.S: New files.
9519 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9520 * config/bfin/crtlibid.S: New file.
9521 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9522 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9523 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9524 (crti.o, crtin.o): New rules.
9525 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9526 * config/c6x/t-uclinux: New file.
9527 * config/cris/t-elfmulti: New file.
9528 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9529 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9530 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9531 * config/frv/t-frv: New file.
9532 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9533 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9534 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9536 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9537 refer to cygming-crtbegin.c, cygming-crtend.c.
9539 * config/i386/t-nto: New file.
9540 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9541 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9542 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9543 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9546 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9547 (crtinitS.o): New rule.
9548 * config/ia64/vms-crtinit.S: New file.
9549 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9550 * config/m32r/initfini.c: New file.
9551 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9552 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9553 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9554 * config/mep/t-mep: New file.
9555 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9556 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9557 * config/mips/crti.S, config/mips/crtn.S: New files.
9558 * config/mips/t-crtstuff: New file.
9559 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9560 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9561 (CUSTOM_CRTIN): Set.
9562 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9564 Use $(srcdir) to refer to crti.S, crtn.S.
9565 Use .S extension, $<.
9566 * config/moxie/crti.asm: Rename to ...
9567 * config/moxie/crti.S: ... this.
9568 * config/moxie/crtn.asm: Rename to ...
9569 * config/moxie/crtn.S: ... this.
9570 * config/moxie/t-moxie: Remove.
9571 * config/pa/stublib.c: New file.
9572 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9573 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9574 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9575 * config/rs6000/t-crtstuff: New file.
9576 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9577 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9578 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9579 Make output file explicit.
9580 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9581 Make output file explicit.
9582 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9583 Make output file explicit.
9584 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9585 Make output file explicit.
9586 * config/score/crti.S, config/score/crtn.S: New files.
9587 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9588 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9590 * config/sh/t-sh, config/sh/t-superh: New files.
9591 * config/sparc/t-linux64: New file.
9592 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9593 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9594 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9595 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9596 * config/t-crtin: Remove.
9597 * config/t-crtstuff-pic: New file.
9598 * config/t-sol2 (CUSTOM_CRTIN): Set.
9599 (crti.o, crtn.o): New rules.
9600 * config/vms/t-vms: New file.
9601 * config/vms/vms-ucrt0.c: New file.
9602 * config/xtensa/t-elf: New file.
9604 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9606 * Makefile.in (SHLIB_NM_FLAGS): Set.
9607 * mkmap-flat.awk, mkmap-symver.awk: New files.
9608 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9610 * configure: Regenerate.
9611 * config/libgcc-glibc.ver: New file.
9612 * config/libgcc-libsystem.ver: New file.
9613 * config/t-libunwind (SHLIB_LC): Set.
9614 * config/t-linux: New file.
9615 * config/t-slibgcc (INSTALL_SHLIB): New.
9616 (SHLIB_INSTALL): Use it.
9617 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9618 to mkmap-symver.awk.
9619 (SHLIB_MAPFILES): Don't append, adapt pathname.
9620 (SHLIB_VERPFX): Set.
9621 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9622 to mkmap-symver.awk.
9623 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9624 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9625 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9626 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9628 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9629 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9630 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9631 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9632 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9633 * config/i386/libgcc-darwin.10.4.ver,
9634 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9636 * config/i386/t-darwin: Remove.
9637 * config/i386/t-darwin64: Likewise.
9638 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9639 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9640 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9641 * config/i386/t-linux: New file.
9642 * config/i386/t-mingw32: New file.
9643 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9644 * config/ia64/t-glibc: Rename to ...
9645 * config/ia64/t-linux: ... this.
9646 (SHLIB_MAPFILES): Set.
9647 * config/ia64/t-glibc-libunwind: Rename to ...
9648 * config/ia64/t-linux-libunwind: ... this.
9649 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9650 * config/ia64/t-slibgcc-hpux: New file.
9651 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9652 * config/m68k/t-slibgcc-elf-ver: New file.
9653 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9654 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9656 * config/pa/t-slibgcc-hpux: New file.
9657 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9659 * config/rs6000/libgcc-darwin.10.4.ver,
9660 config/rs6000/libgcc-darwin.10.5.ver: New files.
9661 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9662 config/rs6000/libgcc-glibc.ver.
9663 * config/rs6000/libgcc-ppc64.ver: Rename to
9664 config/rs6000/libgcc-ibm-ldouble.ver.
9665 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9666 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9667 * config/rs6000/t-ldbl128: Rename to ...
9668 * config/rs6000/t-linux: ... this.
9669 (SHLIB_MAPFILES): Adapt filename.
9670 * config/rs6000/t-slibgcc-aix: New file.
9671 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9672 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9673 libgcc-excl.ver, libgcc-glibc.ver.
9674 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9675 * config/sparc/libgcc-glibc.ver: New file.
9676 * config/sparc/t-linux: New file.
9677 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9678 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9679 t-slibgcc-elf-ver to tmake_file.
9680 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9682 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9683 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9684 t-slibgcc-elf-ver, t-linux to tmake_file.
9685 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9687 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9688 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9689 (alpha*-dec-*vms*): Likewise.
9690 (arm*-*-freebsd*): Append to tmake_file.
9691 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9692 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9694 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9695 tmake_file for arm*-*-symbianelf*.
9696 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9697 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9699 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9700 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9701 pa/t-slibgcc-dwarf-ver to tmake_file.
9702 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9703 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9704 (hppa*64*-*-hpux11*): Likewise.
9705 (hppa[12]*-*-hpux11*): Likewise.
9706 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9707 i386/t-crtpc, i386/t-crtfm.
9708 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9709 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9711 Add i386/t-cygwin to tmake_file.
9712 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9713 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9714 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9716 Add i386/t-mingw32 to tmake_file.
9717 (x86_64-*-mingw*): Likewise.
9718 (ia64*-*-freebsd*): Append to tmake_file.
9719 (ia64*-*-linux*): Append to tmake_file.
9720 Replace ia64/t-glibc by ia64/t-linux.
9721 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9723 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9724 t-slibgcc-hpux to tmake_file.
9725 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9726 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9727 (m32rle-*-linux*): Likewise.
9728 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9730 (microblaze*-linux*): New case.
9731 Append to tmake_file, add t-slibgcc-nolc-override.
9732 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9733 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9734 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9735 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9736 rs6000/t-slibgcc-aix to tmake_file.
9737 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9738 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9739 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9740 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9741 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9742 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9744 (sparc-*-linux*): Append to tmake_file for *-leon*.
9745 Add sparc/t-linux to tmake_file for non-Leon targets.
9746 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9747 (tic6x-*-uclinux): New case.
9748 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9749 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9750 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9751 (am33_2.0-*-linux*): Append to tmake_file.
9752 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9753 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9754 x86_64-*-kfreebsd*-gnu.
9755 Add i386/t-linux to tmake_file.
9757 2011-10-28 Ian Lance Taylor <iant@google.com>
9759 * config/i386/morestack.S: Correct CFI information to do proper
9760 returns throughout function. In 32-bit mode, save %ebx so that it
9761 is restored on unwind.
9763 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9765 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9766 case where B3 isn't the return register.
9768 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9769 logic for doubleword pops.
9771 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9773 * config/rs6000/t-freebsd: Add wildcard.
9775 2011-10-21 Paul Brook <paul@codesourcery.com>
9777 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9779 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9780 Eric Botcazou <ebotcazou@adacore.com>
9783 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9784 fs->signal_frame to 1.
9786 2011-10-07 Ian Lance Taylor <iant@google.com>
9788 * generic-morestack-thread.c: #include <errno.h>.
9790 2011-10-07 Ian Lance Taylor <iant@google.com>
9793 * generic-morestack.c (__generic_morestack): Make sure the segment
9794 is large enough for both the stack frame and the copied
9797 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9800 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9803 2011-09-28 Nick Clifton <nickc@redhat.com>
9805 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9806 64-bit doubles are not enabled.
9807 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9808 and floatunsisf functions.
9810 2011-09-13 Paul Brook <paul@codesourcery.com>
9812 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9813 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9814 * unwind-arm-common.inc: New file.
9815 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9816 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9817 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9818 * config/c6x/libunwind.S: New file.
9819 * config/c6x/pr-support.c: New file.
9820 * config/c6x/unwind-c6x.c: New file.
9821 * config/c6x/unwind-c6x.h: New file.
9822 * config/c6x/t-c6x-elf: New file.
9824 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9826 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9827 (ASM_DIVZERO): Ditto.
9828 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9830 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9832 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9834 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9837 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9838 instead of an assembly one.
9840 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9843 * Makefile.in (install-unwind_h): Create
9844 $(gcc_objdir)/include/unwind.h atomically.
9846 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9848 * Makefile.in (install-unwind_h): Remove destination file first.
9850 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9853 * config/mips/t-mips16: New file.
9854 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9855 (mips*-*-linux*): Likewise.
9856 (mips*-sde-elf*): Likewise.
9857 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9858 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9859 Add mips/t-mips16 to tmake_file.
9860 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9861 (mips-*-elf*): Likewise.
9862 (mips64-*-elf*): Likewise.
9863 (mips64orion-*-elf*): Likewise.
9864 (mips*-*-rtems*): Likewise.
9865 (mipstx39-*-elf*): Likewise.
9866 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9867 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9869 Use $(srcdir) to refer to sync.c.
9871 ($(libgcc-sync-funcs-o)): Likewise.
9872 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9873 ($(libgcc-sync-funcs-s-o)): Likewise.
9875 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9877 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9880 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9883 * config/i386/value-unwind.h: New.
9885 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9887 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9888 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9889 Add to tmake_file rather than overriding it.
9891 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9893 * config/t-softfp: Remove.
9894 * soft-fp: Moved from ../gcc/config.
9895 * soft-fp/README: Remove t-softfp reference.
9896 * soft-fp/t-softfp: Move to config/t-softfp.
9897 (softfp_machine_header): Remove.
9898 (softfp_file_list): Remove config subdir.
9899 (soft-fp-objects): New variable.
9900 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9901 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9902 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9903 * config/t-softfp-excl: New file.
9904 * config/t-softfp-sfdf: New file.
9905 * config/t-softfp-tf: New file.
9906 * config/no-sfp-machine.h: New file.
9907 * config/arm/sfp-machine.h: New file.
9908 * config/arm/t-softfp: New file.
9909 * config/c6x/sfp-machine.h: New file.
9910 * config/i386/32/t-fprules-softfp: Rename to ...
9911 * config/i386/32/t-softfp: ... this.
9912 (tifunctions, LIB2ADD): Remove.
9913 (softfp_int_modes): Override.
9914 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9916 * config/i386/64/eqtf2.c: Likewise.
9917 * config/i386/64/getf2.c: Likewise.
9918 * config/i386/64/letf2.c: Likewise.
9919 * config/ia64/sft-machine.h: New file.
9920 * config/ia64/t-fprules-softfp: Rename to ...
9921 * config/ia64/t-softfp: ... this.
9922 * config/lm32/sfp-machine.h: New file.
9923 * config/moxie/t-moxie-softfp: Remove.
9924 * config/rs6000/ibm-ldouble-format: New file.
9925 * config/rs6000/ibm-ldouble.c: New file.
9926 * config/rs6000/libgcc-ppc-glibc.ver: New file
9927 * config/rs6000/libgcc-ppc64.ver: New file
9928 * config/rs6000/sfp-machine.h: New file.
9929 * config/rs6000/t-freebsd: New file.
9930 * config/rs6000/t-ibm-ldouble: New file.
9931 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9932 libgcc-ppc-glibc.ver.
9933 * config/rs6000/t-linux64: New file.
9934 * config/rs6000/t-ppccomm (LIB2ADD): Add
9935 $(srcdir)/config/rs6000/ibm-ldouble.c.
9936 * config/rs6000/t-ppccomm-ldbl: New file.
9937 * config/score/sfp-machine.h: New file.
9938 * config.host (sfp_machine_header): Explain.
9939 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9940 t-softfp to tmake_file.
9941 (arm*-*-uclinux*): Likewise.
9942 (arm*-*-ecos-elf): Likewise.
9943 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9944 (arm*-*-rtems*): Likewise.
9945 (arm*-*-elf): Likewise.
9946 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9948 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9949 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9950 (lm32-*-uclinux*): Likewise.
9951 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9952 t-softfp-excl, t-softfp.
9953 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9954 (powerpc64-*-darwin*): Likewise.
9955 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9957 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9959 (powerpc-*-eabisim*): Likewise.
9960 (powerpc-*-elf*): Likewise.
9961 (powerpc-*-eabialtivec*): Likewise.
9962 (powerpc-xilinx-eabi*): Likewise.
9963 (powerpc-*-rtems*): Likewise.
9964 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9965 t-softfp-excl, t-softfp to tmake_file.
9966 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9967 rs6000/t-ppccomm-ldbl to tmake_file.
9968 (powerpcle-*-elf*): Likewise.
9969 (powerpcle-*-eabisim*): Likewise.
9970 (powerpcle-*-eabi*): Likewise.
9971 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9972 rs6000/t-ibm-ldouble to tmake_file.
9973 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9974 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9975 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9976 (tic6x-*-*): Likewise.
9977 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9978 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9979 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9980 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9981 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9982 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9983 t-softfp to tmake_file.
9984 * configure.ac (sfp_machine_header): Provide default if unset.
9986 Link sfp-machine.h to config/$sfp_machine_header.
9987 * configure: Regenerate.
9989 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9991 * Makefile.in (double_type_size, long_double_type_size): Set.
9992 Remove $(fpbit-in-libgcc) support.
9993 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9994 (fpbit-src): New variable.
9995 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9996 Compile with -DFLOAT $(FPBIT_CFLAGS).
9998 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9999 Compile with $(FPBIT_CFLAGS).
10001 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10002 Compile with -DFLOAT $(TPBIT_CFLAGS).
10004 * configure.ac (double_type_size, long_double_type_size):
10005 Determine and substitute.
10006 * configure: Regenerate.
10007 * fp-bit.c, fp-bit.h: New files.
10008 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10009 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10010 * config/mips/t-mips: New file.
10011 * config/mips/t-sdemtk: New file.
10012 * config/rs6000/ppc64-fp.c: New file.
10013 * config/rs6000/t-darwin (LIB2ADD): Add
10014 $(srcdir)/config/rs6000/ppc64-fp.c.
10015 * config/rs6000/t-ppc64-fp: New file.
10016 * config/rx/rx-lib.h: New file.
10017 * config/rx/t-rx (FPBIT): Set to true.
10018 ($(gcc_objdir)/fp-bit.c): Remove.
10019 (DPBIT): Set to true only with -m64bit-doubles.
10020 ($(gcc_objdir)/dp-bit.c): Remove.
10021 * config/sparc/t-softfp: Remove.
10022 * config/spu/t-elf: New file.
10023 * config/t-fdpbit, config/t-fpbit: New files.
10024 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10025 (mips*-*-*): Likewise.
10026 (arm-wrs-vxworks): Likewise.
10027 (arm*-*-freebsd*): Likewise.
10028 (avr-*-rtems*): Add t-fpbit to tmake_file.
10029 (avr-*-*): Likewise.
10030 (bfin*-elf*): Add t-fdpbit to tmake_file.
10031 (bfin*-uclinux*): Likewise.
10032 (bfin*-linux-uclibc*): Likewise.
10033 (bfin*-rtems*): New case.
10034 Add t-fdpbit to tmake_file.
10035 (bfin*-*): Add t-fdpbit to tmake_file.
10036 (crisv32-*-elf): Likewise.
10037 (cris-*-linux*): Likewise.
10038 (fr30-*-elf): Likewise.
10039 (frv-*-elf, frv-*-*linux*): Likewise.
10040 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10041 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10042 (m32r-*-elf*): Likewise.
10043 (m32rle-*-elf*): Likewise.
10044 (m32r-*-linux*): Likewise.
10045 (m32rle-*-linux*): Likewise.
10046 (mcore-*-elf): Add t-fdpbit to tmake_file.
10047 (microblaze*-*-*): Likewise.
10048 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10049 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10050 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10052 Add mips/t-tpbit to tmake-file.
10053 (mips*-*-linux*): Fix typo.
10054 (mips*-sde-elf*): New case
10055 Add mips/t-sdemtk unless using newlib.
10056 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10057 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10058 (mn10300-*-*): Likewise.
10059 (pdp11-*-*): Likewise.
10060 (picochip-*-*): Add t-fpbit to tmake_file.
10061 (powerpc-*-eabisimaltivec*): Likewise.
10062 (powerpc-*-eabisim*): Likewise.
10063 (powerpc-*-elf*): Likewise.
10064 (powerpc-*-eabialtivec*): Likewise.
10065 (powerpc-xilinx-eabi*): New case.
10066 Add t-fdpbit to tmake_file.
10067 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10068 (powerpc-*-rtems*): Likewise.
10069 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10071 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10073 (powerpc-*-lynxos*): Likewise.
10074 (powerpcle-*-elf*): Likewise.
10075 (powerpcle-*-eabisim*): Likewise.
10076 (powerpcle-*-eabi*): Likewise.
10077 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10078 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10079 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10080 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10081 (rx-*-elf): Add t-fdpbit to tmake_file.
10082 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10083 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10084 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10085 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10087 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10088 (sh-wrs-vxworks): Likewise.
10089 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10090 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10091 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10092 (sparc64-*-rtems*): ... new case.
10093 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10094 (spu-*-elf*): Likewise.
10095 Add spu/t-elf to tmake_file.
10096 (v850*-*-*): Add t-fdpbit to tmake_file.
10097 (xstormy16-*-elf): Likewise.
10098 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10099 (mep*-*-*): Likewise.
10101 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10103 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10105 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10106 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10107 (install-unwind_h): New target.
10108 (all): Depend on it.
10109 * config.host (unwind_header): New variable.
10110 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10111 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10112 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10113 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10114 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10116 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10118 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10120 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10122 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10123 (ia64*-*-freebsd*): Likewise.
10124 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10126 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10127 $with_system_libunwind.
10128 (ia64*-*-hpux*): Set tmake_file.
10129 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10130 (picochip-*-*): Set tmake_file.
10131 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10133 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10134 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10135 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10136 (xtensa*-*-elf*): Set tmake_file.
10137 (xtensa*-*-linux*): Likewise.
10138 * configure.ac: Include ../config/unwind_ipinfo.m4.
10139 Call GCC_CHECK_UNWIND_GETIPINFO.
10140 Link unwind.h to $unwind_header.
10141 * configure: Regenerate.
10142 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10143 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10144 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10145 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10146 * config/unwind-dw2-fde-darwin.c: New file.
10147 * config/arm/libunwind.S, config/arm/pr-support.c,
10148 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10149 config/arm/unwind-arm.h,: New files.
10150 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10151 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10152 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10153 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10154 config/ia64/unwind-ia64.h: New files.
10155 * config/picochip/t-picochip: New file.
10156 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10158 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10159 * config/s390/t-tpf (LIB2ADDEH): Remove.
10160 * config/t-darwin (LIB2ADDEH): Set.
10161 * config/t-eh-dw2-dip: New file.
10162 * config/t-libunwind, config/t-libunwind-elf: New files.
10163 * config/t-sol2 (LIB2ADDEH): Remove.
10164 * config/xtensa/t-xtensa: New file.
10166 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10168 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10169 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10170 long long to check rt_sigreturn syscall.
10172 2011-08-02 Alan Modra <amodra@gmail.com>
10174 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10175 Restore for indirect call bcrtl from correct stack slot, and only
10176 if cfa+40 isn't valid.
10178 2011-08-01 Julian Brown <julian@codesourcery.com>
10180 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10181 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10182 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10184 2011-08-01 Julian Brown <julian@codesourcery.com>
10186 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10187 (libgcc-std.ver.in): Use above.
10188 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10189 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10191 * config/t-fixedpoint-gnu-prefix: New file.
10192 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10193 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10194 instead of __PFX__.
10196 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10198 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10199 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10200 for x86-64. Properly check __x86_64__ and __LP64__.
10202 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10204 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10206 (_FP_WS_TYPE): Likewise.
10207 (_FP_I_TYPE): Likewise.
10209 2011-07-28 Alan Modra <amodra@gmail.com>
10211 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10212 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10213 in a plt call stub. Do restore r2 if stopped on bctrl.
10215 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10217 * config.host (i[3456x]86-*-netware*): Remove.
10218 * config/i386/netware-crt0.c, config/i386/t-nwld,
10219 config/i386/t-slibgcc-nwld: Remove.
10221 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10223 * config.host: Handle tic6x-*-*.
10224 * config/c6x/c6x-abi.h: New file.
10226 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10228 * config/i386/crtprec.c: New file.
10229 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10230 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10231 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10232 (x86_64-*-darwin*): Likewise.
10233 (i[34567]86-*-solaris2*: Likewise.
10235 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10237 * config/alpha/crtfastmath.c: New file.
10238 * config/i386/crtfastmath.c: New file.
10239 * config/ia64/crtfastmath.c: New file.
10240 * config/mips/crtfastmath.c: New file.
10241 * config/sparc/crtfastmath.c: New file.
10243 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10245 Add -frandom-seed=gcc-crtfastmath.
10246 * config/alpha/t-crtfm: Remove.
10247 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10248 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10250 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10251 (alpha*-dec-osf5.1*): Likewise.
10252 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10253 Add crtfastmath.o to extra_parts.
10254 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10255 Add crtfastmath.o to extra_parts.
10256 (x86_64-*-darwin*): Likewise.
10257 (x86_64-*-mingw*): Likewise.
10258 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10259 (ia64*-*-freebsd*): Likewise.
10260 (ia64*-*-linux*): Likewise.
10261 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10262 Add crtfastmath.o to extra_parts.
10264 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10266 * config/darwin-crt3.o: New file.
10267 * config/rs6000/darwin-crt2.c: New file.
10268 * config/t-darwin: New file.
10269 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10270 (crt2.o): New rule.
10271 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10272 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10273 (powerpc64-*-darwin*): Likewise.
10275 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10277 * config/i386/netware-crt0.c: New file.
10278 * config/i386/t-nwld: Rename to ...
10279 * config/i386/t-slibgcc-nwld: ... this.
10280 * config/i386/t-nwld: New file.
10281 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10283 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10286 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10288 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10290 * configure: Regenerate.
10292 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10294 * dfp-bit.c, dfp-bit.h: New files.
10295 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10297 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10298 ($(d64pbit-o)): Likewise.
10299 ($(d128pbit-o)): Likewise.
10300 * config/t-dfprules: New file.
10301 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10302 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10303 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10304 (x86_64-*-linux*): Likewise.
10305 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10306 (i[34567]86-*-cygwin*): Likewise.
10307 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10308 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10310 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10312 * Makfile.in (LIBGCOV): New variable.
10313 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10314 * libgcov.c: New file.
10316 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10318 * fixed-bit.c, fixed-bit.h: New files.
10319 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10320 refer to fixed-bit.c.
10322 2011-07-07 Joseph Myers <joseph@codesourcery.com>
10324 * config.host (*local*): Remove.
10326 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10329 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10330 like i?86-*-solaris2.1[0-9]*.
10331 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10332 * configure.ac (i?86-*-solaris2*): Likewise.
10333 * configure: Regenerate.
10335 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
10337 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10338 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10339 md_unwind_header by splitting out of...
10340 (i[34567]86-*-linux*): ... this.
10341 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10342 Remove md_unwind_header by splitting out of...
10343 (x86_64-*-linux*): ... this.
10345 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
10347 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10349 2011-06-28 Nick Clifton <nickc@redhat.com>
10351 * config.host: Recognize all V850 variants.
10353 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
10355 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10357 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10359 * shared-object.mk (c_flags-$o): Save c_flags.
10360 ($(base)$(objext)): Use it.
10361 ($(base)_s$(objext)): Likewise.
10363 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10365 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10366 * libgcc-std.ver.in (GCC_4.7.0): New section.
10368 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
10372 * config/avr/t-avr: Fix line endings.
10373 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10376 2011-06-14 Olivier Hainque <hainque@adacore.com>
10377 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10379 * config/mips/irix6-unwind.h: New file.
10380 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10382 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10384 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10385 (sparc64_fallback_frame_state): Use it.
10386 (sparc64_frob_update_context): Further adjust context.
10387 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10388 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10389 * config/sparc/sol2-cn.S: Likewise.
10391 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10393 * enable-execute-stack-empty.c: New file.
10394 * enable-execute-stack-mprotect.c: New file.
10395 * config/i386/enable-execute-stack-mingw32.c: New file.
10396 * config.host (enable_execute_stack): New variable.
10397 Select appropriate variants.
10398 * configure.ac: Link enable-execute-stack.c to
10399 $enable_execute_stack.
10400 * configure: Regenerate.
10401 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10402 (lib2funcs): Remove _enable_execute_stack.
10404 2011-06-09 David S. Miller <davem@davemloft.net>
10405 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10407 * config.host (sparc-*-linux*): Correct md_unwind_header
10409 (s390x-ibm-tpf*): Fix typo.
10411 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10413 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10414 Add crtfastmath.o to extra_parts.
10415 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10417 * config/mips/t-crtfm: Remove.
10419 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10421 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10423 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10425 * config.host (sh*-*-linux*): Fix typo.
10427 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10429 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10430 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10431 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10432 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10433 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10434 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10435 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10436 Wrap in !__MINGW64__.
10437 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10438 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10439 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10440 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10441 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10442 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10443 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10445 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10446 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10447 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10448 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10449 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10450 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10451 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10452 * config/no-unwind.h: New file.
10453 * config.host (md_unwind_header): Document.
10455 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10456 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10457 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10458 hppa[12]*-*-hpux11*): Set md_unwind_header.
10459 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10460 Set md_unwind_header.
10461 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10462 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10463 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10464 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10465 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10466 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10467 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10469 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10470 * configure: Regenerate.
10472 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10474 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10475 Set tmake_file, extra_parts.
10476 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10477 Remove O32 support.
10478 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10479 Remove O32 support.
10480 * config/mips/t-irix6: New file.
10481 * config/mips/t-slibgcc-irix: New file.
10483 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10485 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10486 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10488 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10490 * configure.ac (target_thread_file): Determine thread model.
10491 * configure: Regenerate.
10492 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10493 * config/alpha/t-alpha: New file.
10494 * config/alpha/t-crtfm: Use $<.
10495 * config/alpha/t-ieee: New file.
10496 * config/alpha/t-osf-pthread: New file.
10497 * config/alpha/t-slibgcc-osf: New file.
10498 * config/alpha/libgcc-osf5.ver: New file.
10500 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10502 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10504 Add crtfastmath.o to extra_parts.
10506 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10508 * config/gmon-sol2.c: Reindent.
10510 Remove, correct casts.
10511 Use STDERR_FILENO, NULL.
10512 (BASEADDRESS): Remove.
10514 (errno, sbrk): Remove declarations.
10515 (monstartup) [hp300]: Remove.
10518 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10520 * Makefile.in (cpu_type): Define.
10521 * config.host (i[34567]86-*-rtems*): Handle it.
10522 (i[34567]86-*-solaris2*): Move body ...
10523 (*-*-solaris2*): ... here.
10524 New case, generalize.
10525 (sparc-*-elf*): Handle it.
10526 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10527 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10528 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10530 (sparc*-*-solaris2*): ... this.
10532 (sparc64-*-elf*): Handle it.
10533 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10534 Merge ../gcc/config/i386/gmon-sol2.c.
10535 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10537 Merge ../gcc/config/i386/sol2-gc1.asm.
10538 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10540 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10542 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10543 * config/i386/t-crtstuff: New file.
10544 * config/i386/t-softfp: New file.
10545 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10546 $(T)crti.o, $(T)crtn.o): Remove.
10547 (gcrt1.o): New rule.
10548 (TARGET_LIBGCC2_CFLAGS): Remove.
10549 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10550 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10551 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10552 * config/sparc/t-sol2: New file.
10553 * config/sparc/t-crtfm: Move to ...
10554 * config/t-crtfm: ... this.
10555 Use $(cpu_type), $<.
10556 * config/t-crtin: New file.
10557 * config/sparc/t-softfp: New file.
10558 * config/sparc/t-softmul: New file.
10559 * config/t-rtems: New file.
10560 * config/t-slibgcc: New file.
10561 * config/t-slibgcc-elf-ver: New file.
10562 * config/t-slibgcc-gld: New file.
10563 * config/t-slibgcc-sld: New file.
10564 * config/t-sol2: New file.
10565 * configure.ac: Include ../config/lib-ld.m4.
10566 Call AC_LIB_PROG_LD_GNU.
10567 Substitute cpu_type.
10568 * configure: Regenerate.
10570 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10573 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10574 libgcc-std.ver in the build directory.
10575 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10576 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10578 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10580 * libgcc-std.ver.in: New file.
10581 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10583 (libgcc-std.ver): New rule.
10584 * config/t-gnu-prefix: New file.
10586 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10588 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10590 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10592 * config/i386/darwin-lib.h: New file.
10594 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10596 * config/arm/symbian-lib.h: New.
10598 2011-05-04 Chris Demetriou <cgd@google.com>
10600 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10601 (__x86.get_pc_thunk.bx): ...this.
10602 (__morestack): Adjust for rename, remove undef of __i686.
10604 2011-05-03 Chris Demetriou <cgd@google.com>
10606 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10608 2011-03-22 Joseph Myers <joseph@codesourcery.com>
10610 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10611 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10612 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10613 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10614 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10617 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
10619 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10620 Adjust copyright year.
10622 2011-03-07 Ian Lance Taylor <iant@google.com>
10624 * generic-morestack.c (__splitstack_find): Adjust returned stack
10625 pointer to include all registers pushed by __morestack.
10627 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10630 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10631 (toolexecdir): Calculate and AC_SUBST.
10632 (toolexeclibdir): Likewise.
10633 * Makefile.in (target_noncanonical): Import.
10634 (toolexecdir): Likewise.
10635 (toolexeclibdir): Likewise.
10636 * configure: Regenerate.
10638 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10641 * config/arm/bpabi.h: Rename to...
10642 * config/arm/bpabi-lib.h: ...this.
10644 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10646 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10648 * configure: Regenerate.
10650 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10652 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10653 __FLOAT_WORD_ORDER__.
10654 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10657 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10660 * Makefile.in (install-strip): New phony target.
10662 2010-11-07 Ian Lance Taylor <iant@google.com>
10665 * config/i386/morestack.S (__morestack_large_model): New
10668 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10670 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10672 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10674 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10676 * config/arm/bpabi.h: New file.
10677 * config/frv/frv-abi.h: New file.
10679 2010-10-01 Ian Lance Taylor <iant@google.com>
10681 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10682 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10684 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10687 * config.host: Add the missing `$'.
10689 2010-09-30 Michael Eager <eager@eagercon.com>
10691 * config.host: Add microblaze*-*-*.
10692 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10693 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10694 udivsi3.asm,umodsi3.asm}: New.
10696 2010-09-28 Ian Lance Taylor <iant@google.com>
10698 * configure.ac: Adjust CFI test to test assembler directly rather
10699 than checking gcc preprocessor macro.
10700 * configure: Rebuild.
10702 2010-09-27 Ian Lance Taylor <iant@google.com>
10704 * configure.ac: Test whether assembler supports CFI directives.
10705 * config.host: Only add t-stack and i386/t-stack-i386 to
10706 tmake_file if libgcc_cv_cfi is "yes".
10707 * configure: Rebuild.
10709 2010-09-27 Ian Lance Taylor <iant@google.com>
10711 * generic-morestack.h: New file.
10712 * generic-morestack.c: New file.
10713 * generic-morestack-thread.c: New file.
10714 * config/i386/morestack.S: New file.
10715 * config/t-stack: New file.
10716 * config/i386/t-stack-i386: New file.
10717 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10718 i386/t-stack-i386 to tmake_file.
10720 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10722 * Makefile.in (libgcc-extra-parts): Check for static archives and
10723 invoke ranlib after installing them.
10724 (gcc-extra-parts): Likewise.
10725 (install-leaf): Likewise.
10727 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10729 * configure: Regenerated.
10731 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10733 * configure: Regenerated.
10735 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10736 Andrew Pinski <pinskia@gmail.com>
10739 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10741 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10744 * configure: Regenerated.
10746 2010-09-06 Andreas Schwab <schwab@redhat.com>
10748 * configure: Regenerate.
10750 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10752 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10754 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10757 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10758 Iain Sandoe <iains@gcc.gnu.org>
10761 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10762 LIB2FUNCS_EXCLUDE functions.
10764 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10766 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10768 * configure: Regenerate.
10770 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10772 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10773 i386/t-freebsd to tmake_file.
10774 * config/i386/t-freebsd: New file.
10775 * config/i386/libgcc-bsd.ver: New file.
10777 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10779 * config.host (powerpc*-eabispe*): Set tmake_file.
10780 (powerpc*-eabi*): Likewise.
10781 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10782 crtbeginS, crtendS, crtbeginT.
10784 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10786 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10787 to tmake_file. Add crtfastmath.o to extra_parts.
10788 * config/mips/t-crtfm: New.
10790 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10792 * config.host (sparc64-*-rtems*): New target.
10794 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10796 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10799 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10801 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10803 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10805 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10806 alpha-dec-osf5.0* support.
10808 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10810 * config.host: Add lm32-*-rtems*.
10812 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10813 Uros Bizjak <ubizjak@gmail.com>
10816 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10817 like other remaining 32-bit x86 OSes.
10818 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10820 * config/i386/libgcc-sol2.ver: New file.
10821 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10823 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10826 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10827 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10828 is used and substitute set_use_emutls.
10829 * configure: Regenerated.
10831 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10833 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10835 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10838 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10840 ($(T)gcrt1.o): Likewise.
10841 ($(T)crt1.o): Likewise.
10842 ($(T)crti.o): Likewise.
10843 ($(T)crtn.o): Likewise.
10845 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10848 * Makefile.in (install): Use $(MAKE) string in rule, for
10851 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10853 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10854 * config/mmix/t-mmix: New file.
10855 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10857 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10860 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10863 2010-01-04 Anthony Green <green@moxielogic.com>
10865 * config/moxie/crti.asm, config/moxie/crtn.asm,
10866 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10867 config/moxie/t-moxie: New files.
10868 * config.host: Add t-moxie-softfp reference.
10870 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10873 * config/t-slibgcc-darwin: Fix embedded rpaths for
10874 --enable-version-specific-runtime-libs, build extension stub
10875 libs exposing features available from current libgcc_s.
10877 2009-11-11 Jon Beniston <jon@beniston.com>
10879 * config.host: Add lm32 targets.
10880 * config/lm32: New directory.
10881 * config/lm32/libgcc_lm32.h: New file.
10882 * config/lm32/_mulsi3.c: New file.
10883 * config/lm32/_udivmodsi4.c: New file.
10884 * config/lm32/_divsi3.c: New file.
10885 * config/lm32/_modsi3.c: New file.
10886 * config/lm32/_udivsi3.c: New file.
10887 * config/lm32/_umodsi3.c: New file.
10888 * config/lm32/_lshrsi3.S: New file.
10889 * config/lm32/_ashrsi3.S: New file.
10890 * config/lm32/_ashlsi3.S: New file.
10891 * config/lm32/crti.S: New file.
10892 * config/lm32/crtn.S: New file.
10893 * config/lm32/t-lm32: New file.
10894 * config/lm32/t-elf: New file.
10895 * config/lm32/t-uclinux: New file.
10897 2009-10-26 Nick Clifton <nickc@redhat.com>
10899 * config.host: Add support for RX target.
10900 * config/rx: New directory.
10901 * config/rx/rx-abi-functions.c: New file. Supplementary
10902 functions for libgcc to support the RX ABI.
10903 * config/rx/rx-abi.h: New file. Supplementary header file for
10904 libgcc RX ABI functions.
10905 * config/rx/t-rx: New file: Makefile fragment for building
10908 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10910 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10911 constraint of y0 to "g".
10913 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10915 * config.host: Include the s390 makefile fragments.
10916 * config/s390/32/_fixdfdi.c: New file.
10917 * config/s390/32/_fixsfdi.c: New file.
10918 * config/s390/32/_fixtfdi.c: New file.
10919 * config/s390/32/_fixunsdfdi.c: New file.
10920 * config/s390/32/_fixunssfdi.c: New file.
10921 * config/s390/32/_fixunstfdi.c: New file.
10922 * config/s390/32/t-floattodi: New file.
10923 * config/s390/libgcc-glibc.ver: New file.
10924 * config/s390/t-crtstuff: New file.
10925 * config/s390/t-linux: New file.
10926 * config/s390/t-tpf: New file.
10928 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10930 * configure.ac (AC_PREREQ): Bump to 2.64.
10932 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10934 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10936 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10938 * configure: Regenerate.
10940 2009-08-09 Douglas B Rupp <rupp@gnat.com>
10942 * config.host (ia64-hp-*vms*): New target.
10943 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10944 with ia64-hp-*vms*.
10946 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10948 * configure.ac: Add snippet for maintainer-mode.
10949 * configure: Regenerate.
10950 * Makefile.in (AUTOCONF, configure_deps): New variables.
10951 ($(srcdir)/configure)): New rule, active only with maintainer
10954 2009-06-23 DJ Delorie <dj@redhat.com>
10957 * config.host: Add mep support.
10959 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
10961 * config.host: Add i386/${host_address}/t-fprules-softfp and
10962 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10964 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10966 * config/i386/64/_multc3.c: Likewise.
10967 * config/i386/64/_powitf2.c: Likewise.
10968 * config/i386/64/eqtf2.c: Likewise.
10969 * config/i386/64/getf2.c: Likewise.
10970 * config/i386/64/letf2.c: Likewise.
10971 * config/i386/64/letf2.c: Likewise.
10972 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10973 unsigned long long for x64 mingw targets.
10974 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10975 (_FP_I_TYPE): Define as long long for x64 mingw target.
10977 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10979 * config.host (vax-*-linux*): New.
10981 2009-05-31 Anthony Green <green@moxielogic.com>
10983 * config.host: Add moxie support.
10984 * config/moxie/t-moxie: New file.
10986 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
10988 * config.host: Add i386/${host_address}/t-fprules-softfp and
10989 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10991 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10993 * config.host: Add i386/${host_address}/t-fprules-softfp to
10994 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10996 2009-04-09 Nick Clifton <nickc@redhat.com>
10998 * config/ia64/tf-signs.c: Change copyright header to refer to
10999 version 3 of the GNU General Public License with version 3.1
11000 of the GCC Runtime Library Exception and to point readers at
11001 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11003 * config/i386/32/tf-signs.c: Likewise.
11004 * config/libbid/_addsub_dd.c: Likewise.
11005 * config/libbid/_addsub_sd.c: Likewise.
11006 * config/libbid/_addsub_td.c: Likewise.
11007 * config/libbid/_dd_to_df.c: Likewise.
11008 * config/libbid/_dd_to_di.c: Likewise.
11009 * config/libbid/_dd_to_sd.c: Likewise.
11010 * config/libbid/_dd_to_sf.c: Likewise.
11011 * config/libbid/_dd_to_si.c: Likewise.
11012 * config/libbid/_dd_to_td.c: Likewise.
11013 * config/libbid/_dd_to_tf.c: Likewise.
11014 * config/libbid/_dd_to_udi.c: Likewise.
11015 * config/libbid/_dd_to_usi.c: Likewise.
11016 * config/libbid/_dd_to_xf.c: Likewise.
11017 * config/libbid/_df_to_dd.c: Likewise.
11018 * config/libbid/_df_to_sd.c: Likewise.
11019 * config/libbid/_df_to_td.c: Likewise.
11020 * config/libbid/_di_to_dd.c: Likewise.
11021 * config/libbid/_di_to_sd.c: Likewise.
11022 * config/libbid/_di_to_td.c: Likewise.
11023 * config/libbid/_div_dd.c: Likewise.
11024 * config/libbid/_div_sd.c: Likewise.
11025 * config/libbid/_div_td.c: Likewise.
11026 * config/libbid/_eq_dd.c: Likewise.
11027 * config/libbid/_eq_sd.c: Likewise.
11028 * config/libbid/_eq_td.c: Likewise.
11029 * config/libbid/_ge_dd.c: Likewise.
11030 * config/libbid/_ge_sd.c: Likewise.
11031 * config/libbid/_ge_td.c: Likewise.
11032 * config/libbid/_gt_dd.c: Likewise.
11033 * config/libbid/_gt_sd.c: Likewise.
11034 * config/libbid/_gt_td.c: Likewise.
11035 * config/libbid/_isinfd128.c: Likewise.
11036 * config/libbid/_isinfd32.c: Likewise.
11037 * config/libbid/_isinfd64.c: Likewise.
11038 * config/libbid/_le_dd.c: Likewise.
11039 * config/libbid/_le_sd.c: Likewise.
11040 * config/libbid/_le_td.c: Likewise.
11041 * config/libbid/_lt_dd.c: Likewise.
11042 * config/libbid/_lt_sd.c: Likewise.
11043 * config/libbid/_lt_td.c: Likewise.
11044 * config/libbid/_mul_dd.c: Likewise.
11045 * config/libbid/_mul_sd.c: Likewise.
11046 * config/libbid/_mul_td.c: Likewise.
11047 * config/libbid/_ne_dd.c: Likewise.
11048 * config/libbid/_ne_sd.c: Likewise.
11049 * config/libbid/_ne_td.c: Likewise.
11050 * config/libbid/_sd_to_dd.c: Likewise.
11051 * config/libbid/_sd_to_df.c: Likewise.
11052 * config/libbid/_sd_to_di.c: Likewise.
11053 * config/libbid/_sd_to_sf.c: Likewise.
11054 * config/libbid/_sd_to_si.c: Likewise.
11055 * config/libbid/_sd_to_td.c: Likewise.
11056 * config/libbid/_sd_to_tf.c: Likewise.
11057 * config/libbid/_sd_to_udi.c: Likewise.
11058 * config/libbid/_sd_to_usi.c: Likewise.
11059 * config/libbid/_sd_to_xf.c: Likewise.
11060 * config/libbid/_sf_to_dd.c: Likewise.
11061 * config/libbid/_sf_to_sd.c: Likewise.
11062 * config/libbid/_sf_to_td.c: Likewise.
11063 * config/libbid/_si_to_dd.c: Likewise.
11064 * config/libbid/_si_to_sd.c: Likewise.
11065 * config/libbid/_si_to_td.c: Likewise.
11066 * config/libbid/_td_to_dd.c: Likewise.
11067 * config/libbid/_td_to_df.c: Likewise.
11068 * config/libbid/_td_to_di.c: Likewise.
11069 * config/libbid/_td_to_sd.c: Likewise.
11070 * config/libbid/_td_to_sf.c: Likewise.
11071 * config/libbid/_td_to_si.c: Likewise.
11072 * config/libbid/_td_to_tf.c: Likewise.
11073 * config/libbid/_td_to_udi.c: Likewise.
11074 * config/libbid/_td_to_usi.c: Likewise.
11075 * config/libbid/_td_to_xf.c: Likewise.
11076 * config/libbid/_tf_to_dd.c: Likewise.
11077 * config/libbid/_tf_to_sd.c: Likewise.
11078 * config/libbid/_tf_to_td.c: Likewise.
11079 * config/libbid/_udi_to_dd.c: Likewise.
11080 * config/libbid/_udi_to_sd.c: Likewise.
11081 * config/libbid/_udi_to_td.c: Likewise.
11082 * config/libbid/_unord_dd.c: Likewise.
11083 * config/libbid/_unord_sd.c: Likewise.
11084 * config/libbid/_unord_td.c: Likewise.
11085 * config/libbid/_usi_to_dd.c: Likewise.
11086 * config/libbid/_usi_to_sd.c: Likewise.
11087 * config/libbid/_usi_to_td.c: Likewise.
11088 * config/libbid/_xf_to_dd.c: Likewise.
11089 * config/libbid/_xf_to_sd.c: Likewise.
11090 * config/libbid/_xf_to_td.c: Likewise.
11091 * config/libbid/bid128.c: Likewise.
11092 * config/libbid/bid128_2_str.h: Likewise.
11093 * config/libbid/bid128_2_str_macros.h: Likewise.
11094 * config/libbid/bid128_2_str_tables.c: Likewise.
11095 * config/libbid/bid128_add.c: Likewise.
11096 * config/libbid/bid128_compare.c: Likewise.
11097 * config/libbid/bid128_div.c: Likewise.
11098 * config/libbid/bid128_fma.c: Likewise.
11099 * config/libbid/bid128_logb.c: Likewise.
11100 * config/libbid/bid128_minmax.c: Likewise.
11101 * config/libbid/bid128_mul.c: Likewise.
11102 * config/libbid/bid128_next.c: Likewise.
11103 * config/libbid/bid128_noncomp.c: Likewise.
11104 * config/libbid/bid128_quantize.c: Likewise.
11105 * config/libbid/bid128_rem.c: Likewise.
11106 * config/libbid/bid128_round_integral.c: Likewise.
11107 * config/libbid/bid128_scalb.c: Likewise.
11108 * config/libbid/bid128_sqrt.c: Likewise.
11109 * config/libbid/bid128_string.c: Likewise.
11110 * config/libbid/bid128_to_int16.c: Likewise.
11111 * config/libbid/bid128_to_int32.c: Likewise.
11112 * config/libbid/bid128_to_int64.c: Likewise.
11113 * config/libbid/bid128_to_int8.c: Likewise.
11114 * config/libbid/bid128_to_uint16.c: Likewise.
11115 * config/libbid/bid128_to_uint32.c: Likewise.
11116 * config/libbid/bid128_to_uint64.c: Likewise.
11117 * config/libbid/bid128_to_uint8.c: Likewise.
11118 * config/libbid/bid32_to_bid128.c: Likewise.
11119 * config/libbid/bid32_to_bid64.c: Likewise.
11120 * config/libbid/bid64_add.c: Likewise.
11121 * config/libbid/bid64_compare.c: Likewise.
11122 * config/libbid/bid64_div.c: Likewise.
11123 * config/libbid/bid64_fma.c: Likewise.
11124 * config/libbid/bid64_logb.c: Likewise.
11125 * config/libbid/bid64_minmax.c: Likewise.
11126 * config/libbid/bid64_mul.c: Likewise.
11127 * config/libbid/bid64_next.c: Likewise.
11128 * config/libbid/bid64_noncomp.c: Likewise.
11129 * config/libbid/bid64_quantize.c: Likewise.
11130 * config/libbid/bid64_rem.c: Likewise.
11131 * config/libbid/bid64_round_integral.c: Likewise.
11132 * config/libbid/bid64_scalb.c: Likewise.
11133 * config/libbid/bid64_sqrt.c: Likewise.
11134 * config/libbid/bid64_string.c: Likewise.
11135 * config/libbid/bid64_to_bid128.c: Likewise.
11136 * config/libbid/bid64_to_int16.c: Likewise.
11137 * config/libbid/bid64_to_int32.c: Likewise.
11138 * config/libbid/bid64_to_int64.c: Likewise.
11139 * config/libbid/bid64_to_int8.c: Likewise.
11140 * config/libbid/bid64_to_uint16.c: Likewise.
11141 * config/libbid/bid64_to_uint32.c: Likewise.
11142 * config/libbid/bid64_to_uint64.c: Likewise.
11143 * config/libbid/bid64_to_uint8.c: Likewise.
11144 * config/libbid/bid_b2d.h: Likewise.
11145 * config/libbid/bid_binarydecimal.c: Likewise.
11146 * config/libbid/bid_conf.h: Likewise.
11147 * config/libbid/bid_convert_data.c: Likewise.
11148 * config/libbid/bid_decimal_data.c: Likewise.
11149 * config/libbid/bid_decimal_globals.c: Likewise.
11150 * config/libbid/bid_div_macros.h: Likewise.
11151 * config/libbid/bid_dpd.c: Likewise.
11152 * config/libbid/bid_flag_operations.c: Likewise.
11153 * config/libbid/bid_from_int.c: Likewise.
11154 * config/libbid/bid_functions.h: Likewise.
11155 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11156 * config/libbid/bid_inline_add.h: Likewise.
11157 * config/libbid/bid_internal.h: Likewise.
11158 * config/libbid/bid_round.c: Likewise.
11159 * config/libbid/bid_sqrt_macros.h: Likewise.
11161 2009-04-09 Jakub Jelinek <jakub@redhat.com>
11163 * Makefile.in: Change copyright header to refer to version
11164 3 of the GNU General Public License and to point readers at the
11165 COPYING3 file and the FSF's license web page.
11166 * config.host: Likewise.
11168 2009-04-07 Alan Modra <amodra@bigpond.net.au>
11170 * config.host: Reorder and merge to match config.gcc change.
11172 2009-04-03 Alan Modra <amodra@bigpond.net.au>
11174 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11176 2009-03-28 Joseph Myers <joseph@codesourcery.com>
11178 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11179 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11180 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11181 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11183 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
11185 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11186 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11188 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11190 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11191 ia64/t-softfp-compat to tmake_file.
11193 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11195 * config/ia64/__divxf3.asm: New.
11196 * config/ia64/_fixtfdi.asm: Likewise.
11197 * config/ia64/_fixunstfdi.asm: Likewise.
11198 * config/ia64/_floatditf.asm: Likewise.
11199 * config/ia64/t-fprules-softfp: Likewise.
11200 * config/ia64/t-softfp-compat: Likewise.
11201 * config/ia64/tf-signs.c: Likewise.
11203 2009-01-18 Ben Elliston <bje@au.ibm.com>
11205 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11207 2009-01-16 Ben Elliston <bje@au.ibm.com>
11209 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11212 2009-01-13 Ben Elliston <bje@au.ibm.com>
11214 * config/t-softfp: New file.
11215 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11216 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11218 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
11220 * config.host: Add m32r*-*-rtems*.
11222 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
11224 * config.host: Add m32c*-*-rtems*.
11226 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11229 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11230 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11231 * configure: Regenerate.
11232 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11233 tmake_file here from gcc/config.gcc.
11234 Move extra_parts here from gcc/config.gcc.
11235 * config/i386/t-sol2: Move here from gcc/config/i386.
11236 Use gcc_srcdir instead of srcdir.
11238 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11240 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11243 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11245 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11247 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11249 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11251 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11254 * config.host: Add picochip-*-*.
11256 2008-08-06 Bob Wilson <bob.wilson@acm.org>
11258 * config.host: Match more processor names for Xtensa.
11260 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11262 * config/i386/64/t-softfp-compat: Update comments.
11264 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11266 * config/i386/64/_divtc3-compat.c: Moved to ...
11267 * config/i386/64/_divtc3.c: Here.
11269 * config/i386/64/_multc3-compat.c: Moved to ...
11270 * config/i386/64/_multc3.c: Here.
11272 * config/i386/64/_powitf2-compat.c: Moved to ...
11273 * config/i386/64/_powitf2.c: Here.
11275 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11276 .c suffix instead of -compat.c.
11278 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
11280 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11281 (_FP_MUL_MEAT_D): Ditto.
11282 (_FP_DIV_MEAT_S): Ditto.
11283 (_FP_DIV_MEAT_D): Ditto.
11285 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11287 * Makefile.in: Add support for __sync_* libgcc functions.
11289 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11291 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11293 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11296 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11297 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11299 * config/i386/64/t-fprules-softfp: Moved to ...
11300 * config/i386/64/t-softfp-compat: This. New.
11302 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
11304 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11305 Initialize f with 0.0.
11307 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11310 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11312 * config/i386/64/_divtc3-compat.c: New.
11313 * config/i386/64/_multc3-compat.c: Likewise.
11314 * config/i386/64/_powitf2-compat.c: Likewise.
11315 * config/i386/64/eqtf2.c: Likewise.
11316 * config/i386/64/getf2.c: Likewise.
11317 * config/i386/64/letf2.c: Likewise.
11318 * config/i386/64/t-fprules-softfp: Likewise.
11320 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11322 * config.host: Add i386/${host_address}/t-fprules-softfp to
11323 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11324 i[34567]86-*-linux*, x86_64-*-linux*.
11326 * configure.ac: Set host_address to 64 or 32 for x86.
11327 * configure: Regenerated.
11329 * Makefile.in (config.status): Also depend on
11330 $(srcdir)/config.host.
11332 * config/i386/32/t-fprules-softfp: New.
11333 * config/i386/32/tf-signs.c: Likewise.
11335 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11337 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11338 Uros Bizjak <ubizjak@gmail.com>
11340 * config/i386/32/sfp-machine.h: New.
11342 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11344 * config/rs6000/t-ppccomm: Remove rules that conflict with
11345 auto-generated rules.
11347 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11349 * configure.ac: sinclude override.m4.
11350 * configure: Regenerate.
11352 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11354 * configure: Regenerate.
11356 2008-06-10 Joseph Myers <joseph@codesourcery.com>
11358 * Makefile.in (DECNUMINC): Remove
11359 -I$(MULTIBUILDTOP)../../libdecnumber.
11362 2008-06-07 Joseph Myers <joseph@codesourcery.com>
11364 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11365 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11366 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11367 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11368 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11369 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11370 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11371 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11372 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11373 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11374 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11375 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11376 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11377 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11379 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11381 * config.host (sh2[lbe]*-*-linux*): Allow target.
11383 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11385 * config/rs6000/t-ppccomm: Add build rules for new files.
11386 (LIB2ADD_ST): New variable.
11388 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11392 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11393 * config/t-avr: New file. Build 16bit libgcc functions.
11395 2008-03-02 Jakub Jelinek <jakub@redhat.com>
11398 * config/t-slibgcc-darwin: Make install-leaf dependent on
11399 install-darwin-libgcc-stubs instead of install.
11401 2008-01-25 Joseph Myers <joseph@codesourcery.com>
11403 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11404 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11405 sh-*-rtemscoff*): Remove cases.
11407 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11409 * Makefile.in (all): Use install-leaf rather than install.
11410 (install): Split most of the rule into...
11411 (install-leaf): ...this new one.
11413 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
11414 Paolo Bonzini <bonzini@gnu.org>
11417 * Makefile.in: Use @shlib_slibdir@ substitution to get
11418 correct install name on darwin.
11419 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11421 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
11423 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11424 cris-*-elf and cris-*-none.
11425 (crisv32-*-linux*): Similar, as cris-*-linux*.
11427 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11429 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11431 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11433 PR regression/33926
11434 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11435 * configure: Regenerated.
11437 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11439 * Makefile.in (dfp-filenames): Replace decimal_globals,
11440 decimal_data, binarydecimal and convert_data with
11441 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11442 and bid_convert_data, respectively.
11444 2007-09-17 Chao-ying Fu <fu@mips.com>
11445 Nigel Stephens <nigel@mips.com>
11447 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11448 * Makefile.in (fixed_point): Define.
11449 Check if fixed_point is yes to build support functions.
11450 * configure.ac: Check for fixed_point support.
11451 * configure: Regenerated.
11452 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11453 funcs, modes, from, to.
11455 2007-09-11 Janis Johnson <janis187@us.ibm.com
11457 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11459 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11461 * Makefile.in (dfp-filenames): Remove decUtility, add
11462 decDouble, decPacked, decQuad, decSingle.
11464 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11466 * config.host : Add x86_64-elf target.
11468 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11470 * configure.ac (set_have_cc_tls): Add a missing =.
11471 * configure: Regenerated.
11473 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11475 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11476 and x86_64-*-linux*.
11478 * config/t-tls: New file.
11480 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11482 * configure.ac: Include ../config/enable.m4 and
11483 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11484 supports TLS and substitute set_have_cc_tls.
11485 * configure: Regenerated.
11487 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11489 * Makefile.in: Use libbid for DFP when BID is enabled.
11491 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11493 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11494 extra_parts. Add config/i386/t-cygming to tmake_file.
11495 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11497 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11498 Danny Smith <dannysmith@users.sourceforge.net>
11501 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11502 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11503 * config/i386/t-crtfm: Compile crtfastmath.o with
11504 -minline-all-stringops.
11506 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11508 * config.host (sparc-wrs-vxworks): New target.
11510 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11512 * config.host: Recognize fido.
11514 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11516 * configure: Check host, not target, for decimal float support.
11518 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11520 * config/i386/t-crtpc: New file.
11521 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11522 (x86_64-*-linux*): Ditto.
11524 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11526 * config.host (x86_64-*-mingw*): New target.
11528 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11529 H.J. Lu <hongjiu.lu@intel.com>
11531 * Makefile.in (enable_decimal_float): New.
11533 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11534 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11535 (decbits-filenames): This.
11536 (decbits-objects): New.
11537 (libgcc-objects): Add $(decbits-objects).
11539 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11540 Substitute enable_decimal_float.
11541 * configure: Regenerated.
11543 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11545 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11547 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11549 * Makefile.in (install-info): New dummy target.
11551 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11553 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11555 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11557 * Makefile.in: Add install-html and install-pdf dummy
11560 2007-02-05 Roger Sayle <roger@eyesopen.com>
11561 Daniel Jacobowitz <dan@codesourcery.com>
11563 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11564 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11565 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11567 2007-01-29 Janis Johnson <janis187@us.ibm.com>
11569 * Makefile.in (dec-filenames): Add decExcept.
11571 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11574 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11577 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11579 * configure.ac: Add --enable-version-specific-runtime-libs.
11580 Correct $slibdir default.
11581 * configure: Regenerated.
11583 2007-01-23 Joseph Myers <joseph@codesourcery.com>
11585 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11587 2007-01-21 Andrew Pinski <pinskia@gmail.com>
11590 * config.host (alpha*-*-linux*): Set extra_parts.
11592 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11594 * config/sh/t-linux: New.
11595 * config.host (sh*-*-linux*): Set tmake_file.
11597 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11599 * Makefile.in (install): Handle multilibs.
11601 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11603 * Makefile.in: Added .PHONY entry for documentation targets.
11605 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11607 * Makefile.in: Add empty info, html, dvi, pdf targets.
11609 2007-01-04 Mike Stump <mrs@apple.com>
11611 * Makefile.in (MAKEINFO): Remove.
11614 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
11616 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11617 * configure: Regenerate.
11618 * Makefile.in (host_subdir): Substitute it.
11619 (gcc_objdir): Use it.
11621 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11623 * config.host (ia64*-*-linux*): Set tmake_file.
11625 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11627 * Makefile.in (version): Define.
11629 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11630 Paolo Bonzini <bonzini@gnu.org>
11632 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11633 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11634 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11635 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11636 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11637 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11638 * configure: Generated.
11640 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11642 Copying and distribution of this file, with or without modification,
11643 are permitted in any medium without royalty provided the copyright
11644 notice and this notice are preserved.