]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
fc829782
GA
12022-01-17 Martin Liska <mliska@suse.cz>
2
3 * libgcov-driver.c: Rename .c names to .cc.
4
9248ee41
GA
52022-01-15 David <gccbugzilla@limegreensocks.com>
6
7 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
8 Remove inlined version, Windows 95 is no longer relevant.
9 * config/i386/gthr-win32.h
10 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
11
617db51d
GA
122022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
13
14 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
15 DWARF_ALT_FRAME_RETURN_COLUMN macro.
16
7d11b64b
GA
172022-01-04 Florian Weimer <fweimer@redhat.com>
18
19 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
20 if available.
21
5da23a13
GA
222022-01-02 John David Anglin <danglin@gcc.gnu.org>
23
24 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
25 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
26 return is not equal _ASM_EFAULT.
27 (__kernel_cmpxchg2): Likewise.
28
2554e2da
GA
292021-12-17 Iain Sandoe <iain@sandoe.co.uk>
30
31 * config.host: Add shim declaration header to powerpc*-darwin builds.
32 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
33 file.
34 * config/t-darwin-ehs: Add dependencies to the shared unwinder
35 objects.
36 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
37 the shared EH lib. Add all-multi to the dependencies for the
38 libgcc_s.1.dylib redirections.
39
7f1239cb
GA
402021-12-13 Olivier Hainque <hainque@adacore.com>
41
42 * config.host (powerpc*-*-vxworks7*): Remove
43 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
44
452021-12-13 Olivier Hainque <hainque@adacore.com>
46
47 * config.host (*vxworks*): Remove special case for
48 arm on the use of vxcrtstuff.
49
502021-12-13 Fred Konrad <konrad@adacore.com>
51 Olivier Hainque <hainque@adacore.com>
52
53 * config/t-vxcrtstuffS: New Makefile fragment.
54 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
55 functions for INITFINI_ARRAY support in shared libs and guard
56 the definition of eh table registration functions on conditions
57 indicating they are needed.
58
592021-12-13 Olivier Hainque <hainque@adacore.com>
60
61 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
62 ahead of the other files in tmake_files.
63 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
64 overriding it.
65
662021-12-13 Olivier Hainque <hainque@adacore.com>
67
68 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
69 both VxWorks7 and earlier.
70 * config/t-vxworks7: Remove.
71 * config.host: Remove special case for vxworks7.
72
e8decbe7
GA
732021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
74
75 * config/vxcrtstuff.c: Make constructor and destructor
76 functions static when possible.
77
782021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
79
80 * config/vxcrtstuff.c: Remove constructor/destructor
81 declarations.
82
0bceef16
GA
832021-12-10 Iain Sandoe <iain@sandoe.co.uk>
84
85 * config/t-darwin: Add libgcc_tm.h to the dependencies
86 for darwin10-unwind-find-enc-func.
87
882021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
89
90 * config/rs6000/t-vxworks: New file.
91 * config.host (powerpc*-*-vxworks*): Use it instead of
92 t-ppccomm.
93
4b4839e3
GA
942021-12-09 Fred Konrad <konrad@adacore.com>
95
96 * config.host (powerpc*-wrs-vxworks7*): Fix path to
97 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
98
992021-12-09 Olivier Hainque <hainque@adacore.com>
100 Rasmus Villemoes <rv@rasmusvillemoes.dk>
101
102 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
103 $(LIBGCC2_INCLUDES).
104 * config/t-vxworks7: Likewise.
105
641ff219
GA
1062021-12-08 Iain Sandoe <iain@sandoe.co.uk>
107
108 * config.host (*-*-darwin*): Add logic to build a shared
109 unwinder library for Darwin8-10.
110 * config/i386/t-darwin: Build legacy libgcc_s.1.
111 * config/rs6000/t-darwin: Likewise.
112 * config/t-darwin: Reorganise the EH fragments to place
113 them for inclusion in a shared EH lib.
114 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
115 the supporting pieces (all FAT libs).
116 * config/t-darwin-noeh: Removed.
117 * config/darwin-unwind.ver: New file.
118 * config/rs6000/t-darwin-ehs: New file.
119 * config/t-darwin-ehs: New file.
120
3a580f96
GA
1212021-12-06 Nelson Chu <nelson.chu@sifive.com>
122
123 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
124 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
125 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
126 HIDDEN_DEF.
127
c177e806
GA
1282021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
129
130 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
131 ssize_t and vfork after including auto-host.h.
132
87cd82c8
GA
1332021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
134
135 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
136 crtend.o to extra_parts.
137
d62c8c74
GA
1382021-11-27 John David Anglin <danglin@gcc.gnu.org>
139
140 * config/pa/t-dimode (lib2difuncs): Fix typo.
141
091ccc06
GA
1422021-11-25 Florian Weimer <fweimer@redhat.com>
143
144 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
145 Remove func, ret.
146 (find_fde_tail): New function. Split from
147 _Unwind_IteratePhdrCallback. Move the result initialization
148 from _Unwind_Find_FDE.
149 (_Unwind_Find_FDE): Updated to call find_fde_tail.
150
06be28f6
GA
1512021-11-22 Florian Weimer <fweimer@redhat.com>
152
153 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
154 (struct unw_eh_callback_data): Make dbase member conditional.
155 (unw_eh_callback_data_dbase): New function.
156 (base_from_cb_data): Simplify for the non-dbase case.
157 (_Unwind_IteratePhdrCallback): Adjust.
158 (_Unwind_Find_FDE): Likewise.
159
1602021-11-22 Florian Weimer <fweimer@redhat.com>
161
162 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
163 tbase member.
164 (base_from_cb_data): Adjust.
165 (_Unwind_IteratePhdrCallback): Likewise.
166 (_Unwind_Find_FDE): Likewise.
167
9c077398
GA
1682021-11-19 Iain Sandoe <iain@sandoe.co.uk>
169
170 * config.host: Add weak emutls crt to the extra_parts.
171 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
172 workaround.
173 * config/libgcc-libsystem.ver: Add exclude list for the system-
174 provided unwinder.
175 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
176 * config/i386/libgcc-darwin.10.4.ver: Removed.
177 * config/i386/libgcc-darwin.10.5.ver: Removed.
178 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
179 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
180 * config/t-darwin-noeh: New file.
181
1822021-11-19 Iain Sandoe <iain@sandoe.co.uk>
183
184 * config/t-darwin: Build weak-defined emutls objects.
185 * emutls.c (__emutls_get_address): Add optional attributes.
186 (__emutls_register_common): Likewise.
187 (EMUTLS_ATTR): New.
188
b39265d4
GA
1892021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
190
191 PR libgcc/103044
192 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
193 called with a null argument or at the end of the backtrace and return.
194 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
195
8d36a0d2
GA
1962021-11-10 Jakub Jelinek <jakub@redhat.com>
197
198 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
199 formatting fix.
200
851dff04
GA
2012021-11-05 Iain Sandoe <iain@sandoe.co.uk>
202
203 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
204 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
205
2062021-11-05 John David Anglin <danglin@gcc.gnu.org>
207
208 PR libgomp/96661
209 * config.host (hppa*64*-*-linux*): Revise tmake_file.
210 (hppa*64*-*-hpux11*): Likewise.
211 * config/pa/sfp-exceptions.c: New.
212 * config/pa/sfp-machine.h: New.
213 * config/pa/t-dimode: New.
214 * config/pa/t-softfp-sfdftf: New.
215
04a2cf3f
GA
2162021-10-27 John David Anglin <danglin@gcc.gnu.org>
217
218 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
219 tmake_file.
220 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
221 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
222 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
223 * config/pa/t-linux64 (LIB1ASMSRC): New define.
224 (LIB1ASMFUNCS): Revise.
225 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
226
c2bd5d8a
GA
2272021-10-22 Stafford Horne <shorne@gmail.com>
228
229 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
230 Change to 0.
231
5d5885c9
GA
2322021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
233
234 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
235 outside of get_regs() in order to use it in another function, this
236 is done twice: for __powerpc64__ and for !__powerpc64__.
237 (struct trace_arg): New struct.
238 (struct layout): New struct.
239 (ppc_backchain_fallback): New function.
240 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
241 state and call MD_BACKCHAIN_FALLBACK.
242
9eb28a0f
GA
2432021-10-13 Martin Liska <mliska@suse.cz>
244
245 PR gcov-profile/90364
246 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
247 checksums.
248 (write_one_data): Write also checksum.
249 * libgcov-util.c (read_gcda_file): Read also checksum field.
250 * libgcov.h (struct gcov_info): Add new field.
251
ce6eec39
GA
2522021-10-08 Ian Lance Taylor <iant@golang.org>
253
254 * config/i386/morestack.S: Use .init_array for constructor if
255 available.
256 * config/rs6000/morestack.S: Likewise.
257 * config/s390/morestack.S: Likewise.
258
154fd089
GA
2592021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
260
261 PR target/101104
262 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
263 Use more correct values for native IBM 128-bit.
264
fd133479
GA
2652021-09-28 Iain Sandoe <iain@sandoe.co.uk>
266
267 * config/i386/libgcc-darwin.ver: Add Symbols for
268 __cpu_model, __cpu_indicator_init.
269
e4777439
GA
2702021-09-22 Iain Sandoe <iain@sandoe.co.uk>
271
272 * config/i386/sfp-machine.h: Guard Mach-O-specific code
273 using __APPLE__.
274
34fac9ef
GA
2752021-09-19 Iain Sandoe <iain@sandoe.co.uk>
276
277 * config/t-slibgcc-darwin: Delete unused code.
278
2792021-09-19 Iain Sandoe <iain@sandoe.co.uk>
280
281 * config/i386/t-darwin: Add in a vers file for X86-specific
282 symbols.
283 * config/t-darwin: Add the generic symbol maps here...
284 * config/t-slibgcc-darwin: ... removing from here.
285 * config/i386/libgcc-darwin.ver: New file.
286
2872021-09-19 Iain Sandoe <iain@sandoe.co.uk>
288
289 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
290 and __mulhc3.
291
2922021-09-19 Iain Sandoe <iain@sandoe.co.uk>
293
294 * config.host: Use convenience library for Darwin10
295 unwinder shim.
296 * config/t-darwin: Build Darwin10 unwinder shim as a
297 convenience library.
298
07985c47
GA
2992021-09-13 Andrew Pinski <apinski@marvell.com>
300
301 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
302 * config/m32r/libgcc-glibc.ver: Removed.
303 * config/m32r/t-linux: Removed.
304
b6db7cd4
GA
3052021-09-08 liuhongt <hongtao.liu@intel.com>
306
307 * config/i386/t-softfp: Compile __{mul,div}hc3 into
308 libgcc_s.so.1.
309
3102021-09-08 Jakub Jelinek <jakub@redhat.com>
311 Iain Sandoe <iain@sandoe.co.uk>
312
313 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
314 and export *hf* and *hc* functions at GCC_12.0.0.
315
9f99555f
GA
3162021-09-06 liuhongt <hongtao.liu@intel.com>
317
318 * Makefile.in: Adjust to support specific CFLAGS for each
319 libgcc source file.
320 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
321 related libgcc source files.
322 * config/i386/t-softfp: Ditto.
323 * config/i386/_divhc3.c: New file.
324 * config/i386/_mulhc3.c: New file.
325
7b739540
GA
3262021-09-03 Iain Sandoe <iain@sandoe.co.uk>
327
328 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
329 alias_DFtype, alias_TFtype): New.
330 (ALIAS_SELECTOR): New.
331 (strong_alias): Use __typeof and a _Generic selector to
332 provide the type to the synthesized function.
333
9f7c2bad
GA
3342021-09-02 liuhongt <hongtao.liu@intel.com>
335
336 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
337 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
338 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
339 * config/i386/t-softfp: Add hf soft-fp.
340 * config.host: Add i386/64/t-softfp.
341 * config/i386/64/t-softfp: New file.
342
3432021-09-02 liuhongt <hongtao.liu@intel.com>
344
345 * soft-fp/eqhf2.c: New file.
346 * soft-fp/extendhfdf2.c: New file.
347 * soft-fp/extendhfsf2.c: New file.
348 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
349 * soft-fp/truncdfhf2.c: New file
350 * soft-fp/truncsfhf2.c: New file
351
e11c6046
GA
3522021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
353
354 * unwind-arm-common.inc (abort): Remove.
355
6d51ee43
GA
3562021-08-31 Richard Sandiford <richard.sandiford@arm.com>
357
358 * config/aarch64/value-unwind.h: Add missing runtime exception
359 paragraph.
360 * config/frv/frv-abi.h: Likewise.
361 * config/i386/value-unwind.h: Likewise.
362 * config/pa/pa64-hpux-lib.h: Likewise.
363
ccc19145
GA
3642021-08-26 David Edelsohn <dje.gcc@gmail.com>
365
366 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
367 __gcc_qadd.
368 (__gcc_qadd): Call ldouble_qadd_internal.
369 (__gcc_qsub): Call ldouble_qadd_internal with second long double
370 argument negated.
371
3722021-08-26 Jonathan Yong <10walls@gmail.com>
373
374 * config/i386/cygming-crtend.c: Fix register_frame_ctor
375 and register_frame_dtor warnings.
376
05ace294
GA
3772021-08-24 Richard Earnshaw <rearnsha@arm.com>
378
379 PR target/102035
380 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
381 Add vlldm erratum work-around.
382
4be4fa4e
GA
3832021-08-21 John David Anglin <danglin@gcc.gnu.org>
384
385 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
386
9d1d9fc8
GA
3872021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
388
389 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
390 (gcov_type_unsigned): Likewise.
391
7dd8f198
GA
3922021-08-14 Stafford Horne <shorne@gmail.com>
393
394 PR target/99783
395 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
396 * config/or1k/t-crtstuff: New file.
397
f92f4778
GA
3982021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
399
400 * libgcov-driver.c (#include <stdint.h>): Remove.
401 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
402
4032021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
404
405 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
406 * gcov.h (gcov_info): Declare.
407 (__gcov_info_to_gdca): Likewise.
408 * libgcov.h (gcov_write_counter): Remove.
409 (gcov_write_tag_length): Likewise.
410 * libgcov-driver.c (#include <stdint.h>): New.
411 (#include <string.h>): Remove.
412 (NEED_L_GCOV): Conditionally define.
413 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
414 (are_all_counters_zero): New.
415 (gcov_dump_handler): Likewise.
416 (gcov_allocate_handler): Likewise.
417 (dump_unsigned): Likewise.
418 (dump_counter): Likewise.
419 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
420 Use dump_unsigned() and dump_counter().
421 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
422 dump_unsigned(), dump_counter(), and are_all_counters_zero().
423 (__gcov_info_to_gcda): New.
424
8ebf4fb5
GA
4252021-08-05 Jakub Jelinek <jakub@redhat.com>
426
427 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
428 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
429 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
430 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
431
2697f832
GA
4322021-08-04 Jakub Jelinek <jakub@redhat.com>
433
434 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
435
d97d71a1
GA
4362021-07-15 Alan Modra <amodra@gmail.com>
437
438 * config/rs6000/morestack.S (R2_SAVE): Define.
439 (__morestack): Save and restore r2. Set up r2 for called
440 functions.
441
bea7c16a
GA
4422021-07-01 H.J. Lu <hjl.tools@gmail.com>
443
444 * soft-fp/extendhfxf2.c: New file.
445 * soft-fp/truncxfhf2.c: Likewise.
446
6bc18203
GA
4472021-06-29 Julian Brown <julian@codesourcery.com>
448
449 * config/gcn/lib2-bswapti2.c: New file.
450 * config/gcn/lib2-divmod-di.c: New file.
451 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
452 typedefs.
453 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
454 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
455 lib2-bswapti2.c.
456
4572021-06-29 Julian Brown <julian@codesourcery.com>
458
459 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
460 return types to USItype.
461 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
462
fcf617f0
GA
4632021-06-23 Kewen Lin <linkw@linux.ibm.com>
464
465 * configure: Regenerate.
466 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
467 typos among the name, CFLAGS and the test.
468 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
469 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
470 Remove.
471 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
472 macro FLOAT128_HW_INSNS_ISA3_1.
473 (FP128_3_1_CFLAGS_HW): Fix option typo.
474 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
475 FLOAT128_HW_INSNS_ISA3_1.
476 (__floattikf_resolve): Likewise.
477 (__floatuntikf_resolve): Likewise.
478 (__fixkfti_resolve): Likewise.
479 (__fixunskfti_resolve): Likewise.
480 (__floattikf): Likewise.
481 (__floatuntikf): Likewise.
482 (__fixkfti): Likewise.
483 (__fixunskfti): Likewise.
484
f16f65f8
GA
4852021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
486
487 PR target/99939
488 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
489 macro.
490 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
491 on passing -mcmse option.
492
43c35d0d
GA
4932021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
494
495 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
496 _ARCH_PPC64 .
497
4f625f47
GA
4982021-06-09 Carl Love <cel@us.ibm.com>
499
500 * config.host: Add if test and set for
501 libgcc_cv_powerpc_3_1_float128_hw.
502 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
503 Change calls of __fixkfti to __fixkfti_sw.
504 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
505 Change calls of __fixunskfti to __fixunskfti_sw.
506 * config/rs6000/float128-p10.c (__floattikf_hw,
507 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
508 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
509 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
510 __fixunskfti_resolve): Add resolve functions.
511 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
512 * config/rs6000/float128-sed (floattitf, __floatuntitf,
513 __fixtfti, __fixunstfti): Add editor commands to change names.
514 * config/rs6000/float128-sed-hw (__floattitf,
515 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
516 change names.
517 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
518 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
519 * config/rs6000/quad-float128.h (__floattikf_sw,
520 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
521 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
522 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
523 * config/rs6000/t-float128 (floattikf, floatuntikf,
524 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
525 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
526 file names to fp128_ppc_funcs.
527 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
528 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
529 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
530 * config/rs6000/t-float128-p10-hw: New file.
531 * configure: Update script for isa 3.1 128-bit float support.
532 * configure.ac: Add check for 128-bit float hardware support.
533 * config/rs6000/fixkfti-sw.c: New file.
534 * config/rs6000/fixunskfti-sw.c: New file.
535 * config/rs6000/floattikf-sw.c: New file.
536 * config/rs6000/floatuntikf-sw.c: New file.
537
f9af11c7
GA
5382021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
539
540 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
541
4d0385df 5422021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
543
544 * libgcov-driver.c: Fix GNU coding style.
545
aa891c56
GA
5462021-05-10 Martin Liska <mliska@suse.cz>
547
548 * libgcov-driver.c (gcov_version): Use different name that does
549 not clash with newly introduced macro.
550
3c8e539d
GA
5512021-04-29 Eric Botcazou <ebotcazou@adacore.com>
552
553 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
554 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
555 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
556
e4ff4ffb
GA
5572021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
558
559 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
560 Define.
561 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
562 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
563 Define.
564 (__divkc3): Improve complex divide.
565
05ec629f
GA
5662021-04-23 Michael Meissner <meissner@linux.ibm.com>
567
568 PR target/98952
569 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
570 trampoline size comparison in 32-bit by reversing test and
571 combining load immediate with compare.
572 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
573 in 32-bit by reversing test and combining load immediate with
574 compare.
575
b1da9916
GA
5762021-04-05 Florian Weimer <fweimer@redhat.com>
577 Michael Meissner <meissner@linux.ibm.com>
578
579 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
580 point functions for $(decimal_float) only.
581
c0756c4e
GA
5822021-04-03 Jakub Jelinek <jakub@redhat.com>
583
584 PR target/97653
585 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
586 $(objext) instead of $(object). Use _floatunditf instead of
587 _floatunsditf. Add tf <-> ti conversion objects.
588 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
589
65374af2
GA
5902021-03-29 Michael Meissner <meissner@linux.ibm.com>
591
592 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
593 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
594 (fp128_decstr_objs): Delete.
595 * dfp-bit.h: Call __sprintfieee128 to do conversions from
596 _Float128 to a Decimal type. Call __strtoieee128 to do
597 conversions from a Decimal type to _Float128.
598 * config/rs6000/_sprintfkf.c: Delete file.
599 * config/rs6000/_sprintfkf.h: Delete file.
600 * config/rs6000/_strtokf.c: Delete file.
601 * config/rs6000/_strtokf.h: Delete file.
602
bf1f3168
GA
6032021-03-23 Marcus Comstedt <marcus@mc.pp.se>
604
605 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
606 to __BYTE_ORDER__.
607
0ad6a2e2
GA
6082021-03-06 Jakub Jelinek <jakub@redhat.com>
609
610 PR gcov-profile/99406
611 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
612 defined, define these macros if not defined already.
613
67f10d28
GA
6142021-03-04 Martin Liska <mliska@suse.cz>
615
616 PR gcov-profile/99105
617 * libgcov-driver.c (write_top_counters): Rename to ...
618 (write_topn_counters): ... this.
619 (write_one_data): Pre-allocate buffer for number of items
620 in the corresponding linked lists.
621 * libgcov.h (malloc_mmap): New function.
622 (allocate_gcov_kvp): Use it.
623
6242021-03-04 Martin Liska <mliska@suse.cz>
625
626 PR gcov-profile/99385
627 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
628
f3641ac7
GA
6292021-03-03 Martin Liska <mliska@suse.cz>
630
631 PR gcov-profile/97461
632 * config.in: Regenerate.
633 * configure: Likewise.
634 * configure.ac: Check sys/mman.h header file
635 * libgcov-driver.c (struct gcov_kvp): Remove static
636 pre-allocated pool and use a dynamic one.
637 * libgcov.h (MMAP_CHUNK_SIZE): New.
638 (gcov_counter_add): Use mmap to allocate pool for struct
639 gcov_kvp.
640
d97a92dc
GA
6412021-03-02 Michael Meissner <meissner@linux.ibm.com>
642
643 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
644 the function.
645 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
646
4028d01a
GA
6472021-02-24 Jakub Jelinek <jakub@redhat.com>
648
649 PR libgcc/99236
650 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
651 negation of m in unsigned type.
652
6532021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
654 Hau Hsu <hsuhau617@gmail.com>
655
656 PR target/99157
657 * config/arm/t-arm: Fix cmse support detection.
658
2f5765cf
GA
6592021-02-22 Michael Meissner <meissner@linux.ibm.com>
660
661 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
662
6632021-02-22 Michael Meissner <meissner@linux.ibm.com>
664
665 * config/rs6000/_dd_to_kf.c: New file.
666 * config/rs6000/_kf_to_dd.c: New file.
667 * config/rs6000/_kf_to_sd.c: New file.
668 * config/rs6000/_kf_to_td.c: New file.
669 * config/rs6000/_sd_to_kf.c: New file.
670 * config/rs6000/_sprintfkf.c: New file.
671 * config/rs6000/_sprintfkf.h: New file.
672 * config/rs6000/_strtokf.h: New file.
673 * config/rs6000/_strtokf.c: New file.
674 * config/rs6000/_td_to_kf.c: New file.
675 * config/rs6000/quad-float128.h: Add new declarations.
676 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
677 (fp128_decstr_funcs): New macro.
678 (ibm128_dec_funcs): New macro.
679 (fp128_ppc_funcs): Add the new conversions.
680 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
681 compiled with -mabi=ieeelongdouble.
682 (fp128_decstr_objs): Force __float128 <-> string conversions to be
683 compiled with -mabi=ibmlongdouble.
684 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
685 compiled with -mabi=ieeelongdouble.
686 (FP128_CFLAGS_DECIMAL): New macro.
687 (IBM128_CFLAGS_DECIMAL): New macro.
688 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
689 (BFP_TO_DFP): Add PowerPC _Float128 support.
690 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
691 IEEE 128-bit floating point.
692 (DFP_TO_BFP): Add PowerPC _Float128 support.
693 (BFP_TO_DFP): Add PowerPC _Float128 support.
694 (BFP_SPRINTF): New macro.
695
aa69f0a8
GA
6962021-01-27 Jakub Jelinek <jakub@redhat.com>
697
698 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
699 * config/i386/savms64f.h: Likewise.
700 * config/i386/resms64.h: Likewise.
701 * config/i386/resms64f.h: Likewise.
702 * config/i386/resms64x.h: Likewise.
703 * config/i386/resms64fx.h: Likewise.
704
e62bb7f0
GA
7052021-01-26 Martin Liska <mliska@suse.cz>
706
707 PR gcov-profile/98739
708 * libgcov.h (gcov_topn_add_value): Do not train when
709 we have a merged profile with a negative number of total
710 value.
711
161e4c08
GA
7122021-01-25 Martin Liska <mliska@suse.cz>
713
714 PR gcov-profile/98739
715 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
716 ends with a dropped counter.
717 * libgcov.h (gcov_topn_add_value): Add return value.
718
be0851b8
GA
7192021-01-13 Stafford Horne <shorne@gmail.com>
720
721 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
722 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
723 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
724 FP_EX_ALL): New constant macros.
725 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
726 FP_HANDLE_EXCEPTIONS): New macros.
727 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
728
7292021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
730
731 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
732 posix siginfo case to struct handler_args. Detect between legacy
733 and siginfo from the second parameter, which is a small sigcode in
734 the legacy case, and a pointer in the siginfo case.
735
108beb75
GA
7362020-12-20 Max Filippov <jcmvbkbc@gmail.com>
737
738 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
739 functions.
740 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
741 _bswapdi2.
742
f6e8e279
GA
7432020-12-08 Ian Lance Taylor <iant@golang.org>
744
745 * generic-morestack-thread.c (free_segments): Block signals during
746 thread exit.
747
b8dd0ef7
GA
7482020-12-03 Michael Meissner <meissner@linux.ibm.com>
749
750 PR libgcc/97543
751 PR libgcc/97643
752 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
753 (IBM128_SHARED_OBJS): New make variable.
754 (IBM128_OBJS): New make variable. Set all objects to use the
755 explicit IBM format, and disable gnu attributes.
756 (IBM128_CFLAGS): New make variable.
757 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
758 modules.
759
7602020-12-03 Alexandre Oliva <oliva@adacore.com>
761
762 * config/t-vxworks (LIB2ADD): Drop.
763 * config/t-vxworks7 (LIB2ADD): Likewise.
764 * config/vxcache.c: Remove.
765
94358e47
GA
7662020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
767
768 * libgcc2.c (bswapsi2): Make constants unsigned.
769
360258da
GA
7702020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
771
772 * libgcc2.c (absvSI2): Simplify/improve implementation by using
773 builtin_add_overflow.
774 (absvsi2, absvDI2): Likewise.
775
82e5048e
GA
7762020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
777
778 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
779 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
780
25bb75f8
GA
7812020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
782
783 * config/msp430/lib2hw_mul.S (mult64_hw): New.
784 (if MUL_32): Use mult64_hw for __muldi3.
785 (if MUL_F5): Use mult64_hw for __muldi3.
786 * config/msp430/lib2mul.c (__muldi3): New.
787 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
788
29c5d9ce
GA
7892020-11-17 Alan Modra <amodra@gmail.com>
790
791 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
792 (LIB2_SIDITI_CONV_FUNCS): Define.
793 * config/rs6000/ppc64-fp.c: Delete file.
794
cba30651
GA
7952020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
796
797 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
798 hwmult library functions.
799
bb622641
GA
8002020-11-10 Jeff Law <law@redhat.com>
801
802 * libgcc2.c: Fix whitespace issues in most recent change.
803
8042020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
805
806 * libgcc2.c (__addvSI3): Use overflow builtins.
807 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
808 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
809 (__negvsi2, __negvDI2): Likewise.
810 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
811 generated code.
812 * libgcc2.h (__ucmpdi2): Adjust prototype.
813
fd2325ea
GA
8142020-11-03 Pat Bernardi <bernardi@adacore.com>
815 Olivier Hainque <hainque@adacore.com>
816
817 * config.host (aarch64-vxworks7*, tmake_file): Add
818 ${cpu_type}/t-lse and t-slibgcc-libgcc.
819
8202020-11-03 Martin Storsjö <martin@martin.st>
821
822 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
823 before calling the callback.
824
88ce3d5f
GA
8252020-10-30 Olivier Hainque <hainque@adacore.com>
826 Douglas Rupp <rupp@adacore.com>
827 Pat Bernardi <bernardi@adacore.com>
828
829 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
830 to apply to VxWorks 7 as well.
831
4f0606fe
GA
8322020-10-29 Olivier Hainque <hainque@adacore.com>
833
834 * config/gthr-vxworks-tls.c: Fix preprocessor logic
835 controlling the definition of VX_ENTER_TLS_DTOR and
836 VX_LEAVE_TLS_DTOR based on a version major check.
837
8382020-10-29 Olivier Hainque <hainque@adacore.com>
839
840 * config/gthr-vxworks-thread.c: Fix name of macro used
841 to condition the inclusion of an actual implementation.
842
89bb01e7
GA
8432020-10-27 Martin Liska <mliska@suse.cz>
844
845 PR gcov-profile/97461
846 * libgcov.h (gcov_counter_add): Use first static counters
847 as it should help to have malloc wrappers set up.
848
efe71fcc
GA
8492020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
850
851 * config/gthr-vxworks-thread.c: #include gthr.h before
852 testing the guard defined there.
853 * config/gthr-vxworks-cond.c: Likewise.
854
56ddd5e2
GA
8552020-10-21 Douglas Rupp <rupp@adacore.com>
856 Olivier Hainque <hainque@adacore.com>
857
858 * config.host (powerpc*-wrs-vxworks7*): New case.
859 * configure.ac: Handle powerpc*-*-vxworks7* as
860 powerpc*-*-linux* for ppc-fp_type.
861 * configure: Regenerate.
862
56e4eee9
GA
8632020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
864
865 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
866 section on VxWorks >= 6.
867 * config/gthr-vxworks-thread.c: Condition the entire
868 implementation on __GTHREAD_CXX0X.
869
8702020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
871
872 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
873 section on VxWorks >= 6.
874 * config/gthr-vxworks-cond.c: Condition the entire
875 implementation on __GTHREAD_HAS_COND.
876
8772020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
878
879 * config/gthr-vxworks.c: #include <taskLib.h>.
880
8812020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
882
883 * config/gthr-vxworks.h: Rewrite remaining occurrence
884 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
885
8862020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
887 Olivier Hainque <hainque@adacore.com>
888
889 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
890 except on VxWorks 6.
891
8922020-10-16 Olivier Hainque <hainque@adacore.com>
893
894 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
895
b2698c21
GA
8962020-10-14 Alexandre Oliva <oliva@adacore.com>
897
898 * config/gthr-vxworks-thread.c: Include stdlib.h.
899 (tls_delete_hook): Prototype it.
900 (__gthread_cond_signal): Return early if no waiters. Consume
901 signal in case the semaphore got full. Use semInfoGet instead
902 of kernel-mode-only semInfo.
903 (__gthread_cond_timedwait): Use semExchange. Always take the
904 mutex again before returning.
905 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
906
9072020-10-14 Olivier Hainque <hainque@adacore.com>
908
909 * config/t-vxworks (LIBGCC2_INCLUDES): Append
910 $(MULTISUBDIR) to the -I path for fixed headers, as we
911 arrange to have different sets of such headers for different
912 multilibs when they are activated.
913 * config/t-vxworks7: Likewise.
914
9152020-10-14 Olivier Hainque <hainque@adacore.com>
916
917 * config/t-vxworks: Add include-fixed to include search
918 paths for libgcc on VxWorks.
919 * config/t-vxworks7: Likewise.
920
c74a0e82
GA
9212020-10-09 H.J. Lu <hjl.tools@gmail.com>
922
923 PR target/97148
924 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
925 instead of <cetintrin.h>.
926
6c2675fa
GA
9272020-10-01 Alan Modra <amodra@gmail.com>
928
929 * config/rs6000/morestack.S,
930 * config/rs6000/tramp.S: Support __PCREL__ code.
931
9322020-10-01 Alan Modra <amodra@gmail.com>
933
934 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
935
93bca37c
GA
9362020-09-29 Maciej W. Rozycki <macro@wdc.com>
937
938 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
939 variable.
940
e84761c6
GA
9412020-09-28 Richard Sandiford <richard.sandiford@arm.com>
942
943 * config/aarch64/libgcc-softfp.ver: New file.
944 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
945
4383c595
GA
9462020-09-27 Clement Chigot <clement.chigot@atos.net>
947
948 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
949
521d2711
GA
9502020-09-22 Sergei Trofimovich <siarheit@google.com>
951
952 PR gcov-profile/96913
953 * libgcov-driver.c (write_one_data): Avoid function pointer
954 comparison in TOP streaming decision.
955
2aad20c0
GA
9562020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
957 Christophe Lyon <christophe.lyon@linaro.org>
958
959 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
960 qualifier.
961 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
962 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
963 missing prototypes.
964
9652020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
966
967 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
968 unused variable warning.
969
ecde1b0a
GA
9702020-09-16 Jojo R <jiejie_rong@c-sky.com>
971
972 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
973
80f86e78
GA
9742020-09-09 Tom de Vries <tdevries@suse.de>
975
976 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
977 Wbuiltin-declaration-mismatch.
978
57ea0894
GA
9792020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
980
981 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
982 * config/msp430/srai.S (__gnu_mspabi_srap): New.
983 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
984
b3cb5606
GA
9852020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
986
987 * config/nvptx/atomic.c: New.
988 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
989
6a1ad710
GA
9902020-08-03 Ian Lance Taylor <iant@golang.org>
991
992 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
993
9942020-08-03 Jakub Jelinek <jakub@redhat.com>
995
996 PR target/96402
997 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
998 of x(tmp0), x(tmp1) in STXP arguments.
999
48cc2e46
GA
10002020-07-31 Maciej W. Rozycki <macro@wdc.com>
1001
1002 * config/riscv/save-restore.S [__riscv_xlen == 64]
1003 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1004 (__riscv_save_2): Replace negative immediates used for the final
1005 stack pointer adjustment with positive ones, right-shifted by 4.
1006
10072020-07-31 Martin Liska <mliska@suse.cz>
1008
1009 * libgcov-driver.c: Add __gcov_kvp_pool
1010 and __gcov_kvp_pool_index variables.
1011 * libgcov.h (allocate_gcov_kvp): New.
1012 (gcov_topn_add_value): Use it.
1013
53256ee3
GA
10142020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1015
1016 * config/aarch64/lse.S: Add PAC property note.
1017
9bb403dc
GA
10182020-07-23 Martin Liska <mliska@suse.cz>
1019
1020 PR gcov-profile/96035
1021 * libgcov-driver-system.c: Create gcov folders with 0777
1022 so that it respects a system umask.
1023
8ca07a30
GA
10242020-07-14 David Edelsohn <dje.gcc@gmail.com>
1025
1026 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1027
ea69fcf9
GA
10282020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1029
1030 PR target/94891
1031 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1032 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1033 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1034 (MD_DEMANGLE_RETURN_ADDR): This.
1035 (aarch64_post_extract_frame_addr): Rename to ...
1036 (aarch64_demangle_return_addr): This.
1037 (aarch64_post_frob_eh_handler_addr): Remove.
1038 * unwind-dw2.c (uw_update_context): Demangle return address.
1039 (uw_frob_return_addr): Remove.
1040
3f8ca9cb
GA
10412020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1042
1043 PR target/96001
1044 * config/aarch64/lse.S: Add BTI marking and related definitions,
1045 and add BTI c to function entries.
1046
10472020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1048
1049 * config/aarch64/lse.S: Add stack note.
1050
b5f24739
GA
10512020-07-02 Martin Liska <mliska@suse.cz>
1052
1053 PR gcov-profile/95348
1054 * libgcov-driver.c (merge_one_data): Merge only profiles
1055 that are not of non-zero type.
1056 (write_one_data): Write counters only if there's one non-zero
1057 value.
1058 * libgcov-util.c (tag_function): Change signature from unsigned
1059 to int.
1060 (tag_blocks): Likewise.
1061 (tag_arcs): Likewise.
1062 (tag_counters): Likewise.
1063 (tag_summary): Likewise.
1064 (tag_lines): Read only if COUNTERS is non-zero.
1065 (read_gcda_file): Handle negative length for COUNTERS type.
1066
d61ffe12
GA
10672020-06-25 Martin Liska <mliska@suse.cz>
1068
1069 * libgcov-driver.c (merge_summary): Remove function as its name
1070 is misleading and doing something different.
1071 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1072 in gcov-tool.
1073 * libgcov-util.c (curr_object_summary): Remove.
1074 (read_gcda_file): Remove unused curr_object_summary.
1075 (gcov_merge): Merge summaries.
1076 * libgcov.h: Add summary argument for gcov_info struct.
1077
2e546c26
GA
10782020-06-24 H.J. Lu <hjl.tools@gmail.com>
1079
1080 PR target/95259
1081 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1082 "common/config/i386/i386-cpuinfo.h" and
1083 "common/config/i386/cpuinfo.h".
1084 (__cpu_features2): Changed to array.
1085 (get_amd_cpu): Removed.
1086 (get_intel_cpu): Likewise.
1087 (get_available_features): Likewise.
1088 (__cpu_indicator_init): Call cpu_indicator_init.
1089 * config/i386/cpuinfo.h: Removed.
1090
4543acc8
GA
10912020-06-23 David Edelsohn <dje.gcc@gmail.com>
1092
1093 * Makefile.in: Remove uses of empty.mk. Use -include.
1094 * config/avr/t-avr: Use -include.
1095 * empty.mk: Delete.
1096
f86e11a2
GA
10972020-06-21 David Edelsohn <dje.gcc@gmail.com>
1098
1099 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1100 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1101 and 64 bit with -maix64.
1102 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1103 Build and install AIX-style FAT libraries.
1104
aff95ee7
GA
11052020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1106
1107 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1108 'i386/gnu-unwind.h'
1109 * config/i386/gnu-unwind.h: New file.
1110
11112020-06-17 Martin Liska <mliska@suse.cz>
1112
1113 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1114 (merge_wrapper): Add both counts and use them properly.
1115 (topn_to_memory_representation): New function.
1116 (gcov_merge): Covert on disk representation to in memory
1117 representation.
1118 * libgcov.h: Remove const operator.
1119
6fb94d67
GA
11202020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1121
1122 * configure: Regenerate.
1123 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1124 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1125
b952c2cf
GA
11262020-06-09 Martin Liska <mliska@suse.cz>
1127
1128 PR gcov-profile/95494
1129 * libgcov-driver.c (write_top_counters): Cast first to
1130 intptr_t as sizeof(*) != sizeof(gcov_type).
1131 * libgcov.h (gcov_counter_set_if_null): Remove.
1132 (gcov_topn_add_value): Cast first to intptr_t and update
1133 linked list directly.
1134
11352020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1136
1137 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1138 with uw_install_context_1.
1139
3add3425
GA
11402020-06-04 Andreas Schwab <schwab@suse.de>
1141
1142 PR target/59230
1143 PR libfortran/59227
1144 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1145 soft-fp/divtf3.c.
1146 (LIB2ADD): Add config/ia64/divtf3.c.
1147 * config/ia64/divtf3.c: New file.
1148
9a5b7438
GA
11492020-06-03 Martin Liska <mliska@suse.cz>
1150
1151 PR gcov-profile/95480
1152 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1153 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1154 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1155 (gcov_counter_set_if_null): Likewise.
1156
a9312a79
GA
11572020-06-02 Jim Wilson <jimw@sifive.com>
1158
1159 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1160 to bgtz.
1161
11622020-06-02 Martin Liska <mliska@suse.cz>
1163
1164 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1165 of xmalloc.
1166
11672020-06-02 Martin Liska <mliska@suse.cz>
1168
1169 * libgcov-driver.c (prune_topn_counter): Remove.
1170 (prune_counters): Likewise.
1171 (merge_one_data): Special case TOP N counters
1172 as they have variable length.
1173 (write_top_counters): New.
1174 (write_one_data): Special case TOP N.
1175 (dump_one_gcov): Do not prune TOP N counters.
1176 * libgcov-merge.c (merge_topn_values_set): Remove.
1177 (__gcov_merge_topn): Use gcov_topn_add_value.
1178 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1179 Likewise here.
1180 * libgcov.h (gcov_counter_add): New.
1181 (gcov_counter_set_if_null): Likewise.
1182 (gcov_topn_add_value): New.
1183
4a9aa9de
GA
11842020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1185
1186 * config/i386/sfp-exceptions.c (struct fenv):
1187 Add __attribute__ ((gcc_struct)).
1188
885ef72f
GA
11892020-05-29 H.J. Lu <hjl.tools@gmail.com>
1190
1191 PR bootstrap/95413
1192 * configure: Regenerated.
1193
53ffb43a
GA
11942020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1195
1196 PR gcov-profile/95332
1197 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1198 * libgcov.h (gcov_magic): Disable GCC poison.
1199
5855bdfa
L
12002020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1201
1202 PR target/95212
1203 * config/i386/cpuinfo.h (processor_features): Move
1204 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1205
35b98036
L
12062020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1207
1208 PR target/91695
1209 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1210 check.
1211
45395445
L
12122020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 PR target/95212
1215 PR target/95220
1216 * config/i386/cpuinfo.c (get_available_features): Fix
1217 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1218 * config/i386/cpuinfo.h (processor_features): Add
1219 FEATURE_AVX512VP2INTERSECT.
1220
4c1a5d8b
L
12212020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1222
1223 PR bootstrap/95147
1224 * configure: Regenerated.
1225
8d286dd1
L
12262020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1227
1228 * configure: Regenerated.
1229
39748a89
HPN
12302020-05-09 Hans-Peter Nilsson <hp@axis.com>
1231
1232 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1233 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1234
d3a1459c
UB
12352020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1236
1237 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1238 (__math_force_eval_div): New define.
1239 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1240 generic division to generate INVALID, DIVZERO and INEXACT
1241 exceptions.
1242
12667785
KT
12432020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1244
1245 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1246 instead of getauxval.
1247 (AT_HWCAP): Define.
1248 (HWCAP_ATOMICS): Define.
1249 Guard detection on __gnu_linux__.
1250
ef836167
MM
12512020-05-05 Michael Meissner <meissner@linux.ibm.com>
1252
1253 * config.host: Delete changes meant for a private branch.
1254 * config/rs6000/t-float128: Likewise.
1255 * configure.ac: Likewise.
1256 * configure: Likewise.
1257
811b7636
ML
12582020-05-05 Martin Liska <mliska@suse.cz>
1259
1260 PR gcov-profile/93623
1261 * Makefile.in: Remove __gcov_flush.
1262 * gcov.h (__gcov_flush): Remove.
1263 * libgcov-interface.c (__gcov_flush): Remove.
1264 (init_mx): Use renamed mutex.
1265 (__gcov_lock): Likewise.
1266 (__gcov_unlock): Likewise.
1267 (__gcov_fork): Likewise.
1268 (__gcov_flush): Remove.
1269
c0532db4
ML
12702020-05-05 Martin Liska <mliska@suse.cz>
1271
1272 PR gcov-profile/93623
1273 * libgcov-interface.c (__gcov_fork): Do not flush
1274 and reset only in child process.
1275 (__gcov_execl): Dump counters only and reset them
1276 only if exec* fails.
1277 (__gcov_execlp): Likewise.
1278 (__gcov_execle): Likewise.
1279 (__gcov_execv): Likewise.
1280 (__gcov_execvp): Likewise.
1281 (__gcov_execve): Likewise.
1282
d39f7dc8
ML
12832020-05-05 Martin Liska <mliska@suse.cz>
1284
1285 PR gcov-profile/93623
1286 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1287 * libgcov-interface.c (ALIAS_void_fn): Remove.
1288 (__gcov_lock): New.
1289 (__gcov_unlock): New.
1290 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1291 (__gcov_reset): Likewise.
1292 (__gcov_dump): Likewise.
1293 * libgcov.h (__gcov_lock): New declaration.
1294 (__gcov_unlock): Likewise.
1295
afb9b710
UB
12962020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1297
1298 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 1299 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
1300 generic division to generate INVALID and DIVZERO exceptions.
1301
66711279
SH
13022020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1303
1304 * config/rs6000/crtresfpr.S: Use .machine ppc.
1305 * config/rs6000/crtresxfpr.S: Likewise.
1306 * config/rs6000/crtsavfpr.S: Likewise.
1307
fb22faf4
SN
13082020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1309
1310 PR target/94514
1311 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1312 Update context->flags accroding to the frame state.
1313
df73e584
UB
13142020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1315
1316 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1317 Remove unneeded assignments to volatile memory.
1318
5b2f76e3
JJ
13192020-04-15 Jakub Jelinek <jakub@redhat.com>
1320
1321 PR target/93053
1322 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1323 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1324 is not defined, use just .arch armv8-a.
1325 (B, M, N, OPN): Define.
1326 (COMMENT): New .macro.
1327 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1328 defined. Otherwise, move the operands right after the glue? and
1329 comment out operands where the macros are used.
1330 * configure: Regenerated.
1331 * config.in: Regenerated.
1332
50c78532
ILT
13332020-04-07 Ian Lance Taylor <iant@golang.org>
1334
1335 PR libgcc/94513
1336 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1337 syscall instead.
1338
458ca332
ILT
13392020-04-04 Ian Lance Taylor <iant@golang.org>
1340
1341 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1342
710d54ed
ILT
13432020-04-03 Ian Lance Taylor <iant@golang.org>
1344
1345 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1346 than mmap/munmap, to avoid hooks.
1347
b749b5ec
JJ
13482020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1349
1350 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1351 (TPFRA_OFFSET): Macros removed.
1352 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1353 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1354 (PG3_SKIPPING_OFFSET): New macros.
1355 (__isPATrange): Use cinfc_fast for the check.
1356 (__isSkipResetAddr): New function.
1357 (s390_fallback_frame_state): Check for skip trace addresses. Use
1358 either ICST_CRET or ICST_SRET to calculate return address
1359 location.
1360 (__tpf_eh_return): Handle skip trace addresses.
1361
a9cd2d78
RE
13622020-03-26 Richard Earnshaw <rearnsha@arm.com>
1363
1364 PR target/94220
1365 * config/arm/lib1funcs.asm (COND): Use a single definition for
1366 unified syntax.
1367 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1368 (aeabi_idivmod): Likewise.
1369 (divsi3_skip_div0_test): Likewise.
1370
f582ca0f
MI
13712020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1372
1373 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1374
068fe0a9
AK
13752020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1376
1377 * config.host: Include the new makefile fragment.
1378 * config/s390/t-tpf: New file.
1379
6b9ce2b4
RE
13802020-03-03 Richard Earnshaw <rearnsha@arm.com>
1381
1382 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1383 syntax.
1384 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1385 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1386 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1387 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1388 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1389 syntax.
1390 (divsi3, modsi3): Likewise.
1391 (clzdi2, ctzsi2): Likewise.
1392 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1393 unified syntax.
1394 (UNWIND_WRAPPER): Likewise.
1395
8dd5d8f3
ML
13962020-03-02 Martin Liska <mliska@suse.cz>
1397
1398 * libgcov-interface.c: Remove duplicate
1399 declaration of __gcov_flush_mx.
1400
ea0b1252
ML
14012020-02-18 Martin Liska <mliska@suse.cz>
1402
1403 PR ipa/92924
1404 * libgcov-merge.c (merge_topn_values_set): Record
1405 when a TOP N counter becomes invalid. When merging
1406 remove a smallest value if the space is needed.
1407
02ce382c
SL
14082020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1409
1410 PR libstdc++/79193
1411 PR libstdc++/88999
1412
1413 * configure: Regenerated.
1414
7214fce3
JL
14152020-02-10 Jeff Law <law@redhat.com>
1416
1417 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1418 sections.
1419 * config/frv/frvend.c: Similarly.
1420
cf0f07ef
L
14212020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1422
1423 PR libgcc/85334
1424 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1425 New.
1426
5602b48b
CL
14272020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1428
1429 PR target/93615
1430 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1431 _Unwind_gnu_Find_got.
1432 * unwind-pe.h: Likewise.
1433
811a475e
JJ
14342020-02-07 Jakub Jelinek <jakub@redhat.com>
1435
1436 PR target/93615
1437 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1438 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1439 trailing :s in asm. Formatting fixes.
1440 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1441
2d33dcfe
SL
14422020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1443
1444 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1445
1446 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1447 * config/nios2-elf-lib.h: New.
1448 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1449 code for finding GOT base for nios2.
1450
3ae37f92
ML
14512020-01-27 Martin Liska <mliska@suse.cz>
1452
1453 PR gcov-profile/93403
1454 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1455 Call __gcov_indirect_call_profiler_body.
1456 (__gcov_indirect_call_profiler_body): New.
1457 (__gcov_indirect_call_profiler_v4_atomic): New.
1458 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1459 New declaration.
1460
2744b8b2
CZ
14612020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1462
1463 * config/arc/crti.S: Add RF16 object attribute.
1464 * config/arc/crtn.S: Likewise.
1465 * config/arc/crttls.S: Likewise.
1466 * config/arc/lib1funcs.S: Likewise.
1467 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1468 * config/arc/lib2funcs.c: New file.
1469 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1470
e8e66971
MR
14712020-01-24 Maciej W. Rozycki <macro@wdc.com>
1472
1473 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1474 * configure.ac: Handle `--with-toolexeclibdir='.
1475 * configure: Regenerate.
1476
54b3d52c
DM
14772020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1478
1479 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1480
a3c1e1f2
DM
14812020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1482
1483 * config/mips/gnustack.h: New file.
1484 * config/mips/crti.S: Include gnustack.h.
1485 * config/mips/crtn.S: Likewise.
1486 * config/mips/mips16.S: Likewise.
1487 * config/mips/vr4120-div.S: Likewise.
1488
e9ee848d
ML
14892020-01-23 Martin Liska <mliska@suse.cz>
1490
1491 * libgcov-driver.c (prune_topn_counter): Remove
1492 check for -1 as we only prune run-time counters
1493 that do not generate an invalid state.
1494
7491c17f
ML
14952020-01-22 Martin Liska <mliska@suse.cz>
1496
1497 PR tree-optimization/92924
1498 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1499 try to find an existing value, then find an empty slot
1500 if not found.
1501
5f32f9cf
ML
15022020-01-22 Martin Liska <mliska@suse.cz>
1503
1504 PR tree-optimization/92924
1505 * libgcov-driver.c (prune_topn_counter): New.
1506 (prune_counters): Likewise.
1507 (dump_one_gcov): Prune a run-time counter.
1508 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1509 For a known value, add GCOV_TOPN_VALUES to value.
1510 Otherwise, decrement all counters by one.
1511
463f6499
HPN
15122020-01-18 Hans-Peter Nilsson <hp@axis.com>
1513
1514 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1515
84479e3a
JDA
15162020-01-18 John David Anglin <danglin@gcc.gnu.org>
1517
1518 PR libgcc/92988
1519 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1520 DEFAULT_USE_CXA_ATEXIT is true.
1521
e953433f 15222020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 1523 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
1524
1525 * config/arm/t-arm: Check return value of gcc rather than lack of
1526 output.
1527
03e87724
GJL
15282020-01-14 Georg-Johann Lay <avr@gjlay.de>
1529
1530 * config/avr/lib1funcs.S (skip): Simplify.
1531
af9bd920
KCY
15322020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1533
1534 * config/gcn/atomic.c: Remove include of stdint.h.
1535 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1536 __UINTPTR_TYPE__.
1537
d6491d15
KCY
15382020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1539
1540 * config/gcn/atomic.c: New.
1541 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1542
f30dd607
GJL
15432020-01-08 Georg-Johann Lay <avr@gjlay.de>
1544
1545 Implement 64-bit double functions.
1546
1547 PR target/92055
1548 * config.host (tmake_file) [target=avr]: Add t-libf7,
1549 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1550 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1551 depending on sizeof (double) or sizeof (long double).
1552 * config/avr/libf7: New folder.
1553
5205a445
OH
15542020-01-05 Olivier Hainque <hainque@adacore.com>
1555
1556 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1557 by IN_LIBGCC2.
1558
8d9254fc
JJ
15592020-01-01 Jakub Jelinek <jakub@redhat.com>
1560
1561 Update copyright years.
1562
abb6c3ee
OH
15632019-12-30 Olivier Hainque <hainque@adacore.com>
1564
1565 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1566 * config/gthr-vxworks-tls.c: Likewise.
1567
d7f5094a
OH
15682019-12-30 Olivier Hainque <hainque@adacore.com>
1569
1570 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1571 standard zero-initializer syntax.
1572
49cfaa2a
OH
15732019-12-30 Olivier Hainque <hainque@adacore.com>
1574
1575 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1576 reference to the internal VX_GET_TLS_DATA interface.
1577
89b9a554
OH
15782019-12-30 Olivier Hainque <hainque@adacore.com>
1579
1580 * config/vxcrtstuff.c: Fix incorrect spelling of
1581 USE_INITFINI_ARRAY in guard.
1582
e8aa9f55
JL
15832019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1584
1585 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1586 Override default "extra_parts" variable.
1587 * configure: Regenerate.
1588 * configure.ac: Disable TM clone registry by default for
1589 msp430-elfbare.
1590
a9046e98
JL
15912019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1592
1593 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1594 "extra_parts".
1595 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1596
34a53788
JL
15972019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1598
1599 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1600 true.
1601
21a098f4
JL
16022019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1603
1604 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1605 defined instead of its value.
1606
ad8b7783
JL
16072019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1608
1609 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1610 if it will have contents.
1611
08d7ff78
GJL
16122019-12-05 Georg-Johann Lay <avr@gjlay.de>
1613
1614 PR target/92055
1615 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1616
3d3a96a2
SN
16172019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1618
34b4d99d 1619 PR libgcc/91737
3d3a96a2
SN
1620 * config.host: Add t-gthr-noweak on *-*-musl*.
1621 * config/t-gthr-noweak: New file.
1622
632b5e3d
JDA
16232019-11-17 John David Anglin <danglin@gcc.gnu.org>
1624
1625 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1626 volatile void *. Remove trap check.
1627 (__kernel_cmpxchg2): Likewise.
1628 (FETCH_AND_OP_2): Adjust operand types.
1629 (OP_AND_FETCH_2): Likewise.
1630 (FETCH_AND_OP_WORD): Likewise.
1631 (OP_AND_FETCH_WORD): Likewise.
1632 (COMPARE_AND_SWAP_2): Likewise.
1633 (__sync_val_compare_and_swap_4): Likewise.
1634 (__sync_bool_compare_and_swap_4): Likewise.
1635 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1636 (__sync_lock_test_and_set_4): Likewise.
1637 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1638 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1639 for release.
1640 (__sync_lock_release_8): Remove.
1641
838fd641
SN
16422019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1643
1644 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1645 of __sigset_t.
1646
27204060
JL
16472019-11-14 Jerome Lambourg <lambourg@adacore.com>
1648 Doug Rupp <rupp@adacore.com>
1649 Olivier Hainque <hainque@adacore.com>
1650
1651 * config.host: Collapse the arm-vxworks entries into
1652 a single arm-wrs-vxworks7* one.
1653 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1654 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1655 kernel modules, to be overriden by libstdc++ when we link with
1656 it. Rely on externally provided __exidx_start/end.
1657
3004f893
DR
16582019-11-14 Doug Rupp <rupp@adacore.com>
1659 Olivier Hainque <hainque@adacore.com>
1660
1661 * config.host: Handle aarch64*-wrs-vxworks7*.
1662
36e5f4d4
OH
16632019-11-12 Olivier Hainque <hainque@adacore.com>
1664
1665 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1666 sources except the cxx0x support to LIB2ADDEH. We don't support
1667 cxx0x on AE/653.
1668 * config/t-vxworksae: New file.
1669 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1670 Makefile fragment files at their expected position in the tmake_file
1671 list, in accordance with what is done for other VxWorks variants.
1672
806dd047
CG
16732019-11-12 Corentin Gay <gay@adacore.com>
1674 Jerome Lambourg <lambourg@adacore.com>
1675 Olivier Hainque <hainque@adacore.com>
1676
1677 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1678 sources to LIB2ADDEH.
1679 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1680 * config/t-vxworks7: Likewise.
1681
1682 * config.host: Append a block at the end of the file to add the
1683 t-gthr files to the tmake_file list for VxWorks after everything
1684 else.
1685
1686 * config/vxlib.c: Rename as gthr-vxworks.c.
1687 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1688
1689 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1690 API and a basic error checking API, both internal. Simplify the
1691 __gthread_once_t type definition and initializers. Add sections
1692 for condition variables support and for the C++0x thread support,
1693 conditioned against Vx653 for the latter.
1694
1695 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1696 implementation, leveraging the TAS internal API.
1697 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1698 API, leveraging the general availability of TLS services in VxWorks7
1699 post SR6xxx.
1700 (__gthread_setspecific, __gthread_setspecific): Use it.
1701 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1702 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1703 support based on VxWorks primitives.
1704 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1705 based on VxWorks primitives.
1706
78e49fb1
JL
17072019-11-06 Jerome Lambourg <lambourg@adacore.com>
1708 Olivier Hainque <hainque@adacore.com>
1709
1710 * config/vxcrtstuff.c: New file.
1711 * config/t-vxcrtstuff: New Makefile fragment.
1712 * config.host: Append t-vxcrtstuff to the tmake_file list
1713 on all VxWorks ports using dwarf for table based EH.
1714
29f3def3
GJL
17152019-11-07 Georg-Johann Lay <avr@gjlay.de>
1716
1717 Support 64-bit double and 64-bit long double configurations.
1718
1719 PR target/92055
1720 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1721 long double is a 32-bit type.
1722 * config/avr/t-avrlibc: Copy double64 and long-double64
1723 multilib(s) from the vanilla one.
1724 * config/avr/t-copy-libgcc: New Makefile snip.
1725
62ec242e
JL
17262019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1727
1728 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1729 the target output object format is not ELF.
1730 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1731
da5c1bbe
OE
17322019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1733
1734 PR libgcc/78804
1735 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1736 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1737 FLOAT_BIT_ORDER_MISMATCH.
1738 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1739
8dc56a22
JW
17402019-11-01 Jim Wilson <jimw@sifive.com>
1741
1742 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1743
91c64455
JL
17442019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1745
1746 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1747 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1748 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1749 Define symbols for 32-bit and f5series hardware multiply
1750 register addresses.
1751 Replace hard-coded register addresses with symbols.
1752 Fix "_mspabi*" typo.
1753 Fix whitespace.
1754 * config/msp430/lib2mul.c: Add comment.
1755
85093ac6
JDA
17562019-10-15 John David Anglin <danglin@gcc.gnu.org>
1757
1758 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1759 unsigned int. Adjust callers.
1760 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1761 unsigned int *. Load relocation offset before function pointer.
1762 Add barrier to ensure ordering.
1763
1aea083d
JDA
17642019-10-12 John David Anglin <danglin@gcc.gnu.org>
1765
1766 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1767 Load PIC register after branch target. Fix white space.
1768 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1769 implementations. Load PIC register after branch target. Don't
1770 clobber function pointer when it points to function descriptor.
1771 Use nullification instead of branch in LINUX implementation.
1772
c49af82c
JDA
17732019-10-03 John David Anglin <danglin@gcc.gnu.org>
1774
1775 * config/pa/fptr.c: Disable -Warray-bounds warning.
1776
88a51d68
RH
17772019-09-25 Richard Henderson <richard.henderson@linaro.org>
1778
9e46fd07
RH
1779 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1780 not the ubuntu modified 2.69.
1781
58d169ba
RH
1782 PR target/91833
1783 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1784 initialization if !HAVE_SYS_AUXV_H.
1785 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1786 * config.in, configure: Rebuild.
1787
88a51d68
RH
1788 PR target/91834
1789 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1790 overlap the inputs.
1791
761e6bb9
SZ
17922019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1793
1794 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1795 CTR_EL0.IDC and CTR_EL0.DIC.
1796
76c93295
CL
17972019-09-20 Christophe Lyon <christophe.lyon@st.com>
1798
1799 Revert:
1800 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1801 Mickaël Guêné <mickael.guene@st.com>
1802
1803 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1804 architecture.
1805
33befddc
RH
18062019-09-19 Richard Henderson <richard.henderson@linaro.org>
1807
1808 * config/aarch64/lse-init.c: New file.
1809 * config/aarch64/lse.S: New file.
1810 * config/aarch64/t-lse: New file.
1811 * config.host: Add t-lse to all aarch64 tuples.
1812
ae1152e5
CL
18132019-09-10 Christophe Lyon <christophe.lyon@st.com>
1814 Mickaël Guêné <mickael.guene@st.com>
1815
84818dbb
CL
1816 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1817 architecture.
1818
18192019-09-10 Christophe Lyon <christophe.lyon@st.com>
1820 Mickaël Guêné <mickael.guene@st.com>
1821
ae1152e5
CL
1822 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1823 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1824 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1825 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1826 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1827 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1828 (__gnu_personality_sigframe_fdpic): New.
1829 (get_eit_entry): Add FDPIC signal frame support.
1830
5d727a4b
CL
18312019-09-10 Christophe Lyon <christophe.lyon@st.com>
1832 Mickaël Guêné <mickael.guene@st.com>
1833
1834 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1835 (__kernel_dmb): Likewise.
1836 (__fdpic_cmpxchg): New function.
1837 (__fdpic_dmb): New function.
1838 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1839 (gnu_Unwind_Find_got): New function.
1840 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1841 * unwind-arm-common.inc (UCB_PR_GOT): New.
1842 (funcdesc_t): New struct.
1843 (get_eit_entry): Add FDPIC support.
1844 (unwind_phase2): Likewise.
1845 (unwind_phase2_forced): Likewise.
1846 (__gnu_Unwind_RaiseException): Likewise.
1847 (__gnu_Unwind_Resume): Likewise.
1848 (__gnu_Unwind_Backtrace): Likewise.
1849 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1850
b1e21e5a 18512019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 1852 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 1853
11189793
CL
1854 * libgcc/crtstuff.c: Add support for FDPIC.
1855
18562019-09-10 Christophe Lyon <christophe.lyon@st.com>
1857
1858 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 1859
91dfef96
JM
18602019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1861
1862 * config.host: Set cpu_type for bpf-*-* targets.
1863 * config/bpf/t-bpf: Likewise.
1864 * config/bpf/crtn.S: Likewise.
1865 * config/bpf/crti.S: New file.
1866
2f4d8951
JW
18672019-09-06 Jim Wilson <jimw@sifive.com>
1868
1869 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1870 (riscv*-*-freebsd*): Likewise.
1871
2f2aeda9
UW
18722019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1873
1874 * config.host: Remove references to spu.
1875 * config/spu/: Remove directory.
1876
d16017da
JL
18772019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1878
1879 PR target/91306
1880 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1881 element type, instead of "sizeof" the element type.
1882 (__DTOR_LIST__): Likewise.
1883 (__TMC_LIST__): Likewise.
1884 (__do_global_dtors_aux_fini_array_entry): Likewise.
1885 (__frame_dummy_init_array_entry): Likewise.
1886 (__CTOR_END__): Likewise.
1887 (__DTOR_END__): Likweise.
1888 (__FRAME_END__): Likewise.
1889 (__TMC_END__): Likewise.
1890
a9fcfec3
HL
18912019-08-20 Lili Cui <lilicui@intel.com>
1892
1893 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1894 INTEL_COREI7_COOPERLAKE.
1895
428642b1
MT
18962019-07-31 Matt Thomas <matt@3am-software.com>
1897 Nick Hudson <nick@nthcliff.demon.co.uk>
1898 Matthew Green <mrg@eterna.com.au>
1899 Maya Rashish <coypu@sdf.org>
1900
1901 * config.host (hppa*-*-netbsd*): New case.
1902 * config/pa/t-netbsd: New file.
1903
f0efd925
JH
19042019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1905
1906 * config/arm/cmse.c (cmse_check_address_range): Add
1907 warn_unused_result attribute.
1908
a861990d
ML
19092019-07-22 Martin Liska <mliska@suse.cz>
1910
1911 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1912 * config/pa/t-stublib: Likewise.
1913
9c0dba7c
SH
19142019-07-22 Stafford Horne <shorne@gmail.com>
1915
1916 PR target/90362
1917 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1918 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1919 instructions are not available on every processor. Change a
1920 l.bnf to l.bf to fix logic issue.
1921
61afc8f8
IS
19222019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1923
1924 * config.host: Remove reference to t-darwin8.
1925
179c7ef5
IS
19262019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1927
1928 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1929 list.
1930 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1931 mmacosx-version-min for crts to run across all system versions.
1932 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1933 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1934 system versions >= 10.4.
1935
596341c7
ML
19362019-07-03 Martin Liska <mliska@suse.cz>
1937
1938 * Makefile.in: Use topn_values instead of one_value names.
1939 * libgcov-merge.c (__gcov_merge_single): Move to ...
1940 (__gcov_merge_topn): ... this.
1941 (merge_single_value_set): Move to ...
1942 (merge_topn_values_set): ... this.
1943 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1944 ...
1945 (__gcov_topn_values_profiler_body): ... this.
1946 (__gcov_one_value_profiler_v2): Move to ...
1947 (__gcov_topn_values_profiler): ... this.
1948 (__gcov_one_value_profiler_v2_atomic): Move to ...
1949 (__gcov_topn_values_profiler_atomic): ... this.
1950 (__gcov_indirect_call_profiler_v4): Remove.
1951 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1952 (__gcov_topn_counter_op): ... this.
1953 * libgcov.h (L_gcov_merge_single): Remove.
1954 (L_gcov_merge_topn): New.
1955 (__gcov_merge_single): Remove.
1956 (__gcov_merge_topn): New.
1957 (__gcov_one_value_profiler_v2): Move to ..
1958 (__gcov_topn_values_profiler): ... this.
1959 (__gcov_one_value_profiler_v2_atomic): Move to ...
1960 (__gcov_topn_values_profiler_atomic): ... this.
1961
1b309ca5
ML
19622019-07-03 Martin Liska <mliska@suse.cz>
1963
1964 * libgcov-merge.c (merge_single_value_set): Support N values.
1965 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1966
5a460280
ID
19672019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1968
1969 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1970 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1971 * configure.ac: Add --disable-tm-clone-registry option.
1972 * configure: Regenerate.
1973
45309d28
ML
19742019-06-27 Martin Liska <mliska@suse.cz>
1975
1976 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1977 dead assignments.
1978 * libgcov-util.c: Likewise.
1979
c2f7a665
ML
19802019-06-27 Martin Liska <mliska@suse.cz>
1981
1982 * libgcov-util.c (gcov_profile_merge): Release allocated
1983 memory.
1984 (calculate_overlap): Likewise.
1985
a8e55c61
IS
19862019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1987
1988 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1989 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1990 Build objects for the out of line save/restore register functions
1991 so that they can be used for any supported Darwin version.
1992 * config/t-darwin: Default the build Darwin version to Darwin8
1993 (MacOS 10.4).
1994
e5ce4cbc
ML
19952019-06-25 Martin Liska <mliska@suse.cz>
1996
1997 * libgcov-driver-system.c (replace_filename_variables): Do not
1998 call strlen with NULL argument.
1999
52a47d28
AS
20002019-06-25 Andrew Stubbs <ams@codesourcery.com>
2001
2002 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2003 * config/gcn/unwind-gcn.c: New file.
2004
76d46331
KCY
20052019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2006 Andrew Stubbs <ams@codesourcery.com>
2007
2008 * configure: Regenerate.
2009 * config/gcn/gthr-gcn.h: New.
2010
787783a0
TV
20112019-06-18 Tom de Vries <tdevries@suse.de>
2012
2013 * config/nvptx/crt0.c (__main): Declare.
2014
f32f7585
MG
20152019-06-17 Matthew Green <mrg@eterna.com.au>
2016 Maya Rashish <coypu@sdf.org>
2017
2018 * config.host (aarch64*-*-netbsd*): New case.
2019
0fcc78f7
JL
20202019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2021
2022 * config/msp430/slli.S (__mspabi_sllll): New library function for
2023 performing a logical left shift of a 64-bit value.
2024 * config/msp430/srai.S (__mspabi_srall): New library function for
2025 performing a arithmetic right shift of a 64-bit value.
2026 * config/msp430/srll.S (__mspabi_srlll): New library function for
2027 performing a logical right shift of a 64-bit value.
2028
b27c1082
MT
20292019-06-14 Matt Thomas <matt@3am-software.com>
2030 Matthew Green <mrg@eterna.com.au>
2031 Nick Hudson <skrll@netbsd.org>
2032 Maya Rashish <coypu@sdf.org>
2033
2034 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2035 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2036 functions to build.
2037 * config/arm/t-netbsd-eabi: New file.
2038
ae7deb4b
DD
20392019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2040
2041 * config.host: Add PRU target.
2042 * config/pru/asri.c: New file.
2043 * config/pru/eqd.c: New file.
2044 * config/pru/eqf.c: New file.
2045 * config/pru/ged.c: New file.
2046 * config/pru/gef.c: New file.
2047 * config/pru/gtd.c: New file.
2048 * config/pru/gtf.c: New file.
2049 * config/pru/led.c: New file.
2050 * config/pru/lef.c: New file.
2051 * config/pru/lib2bitcountHI.c: New file.
2052 * config/pru/lib2divHI.c: New file.
2053 * config/pru/lib2divQI.c: New file.
2054 * config/pru/lib2divSI.c: New file.
2055 * config/pru/libgcc-eabi.ver: New file.
2056 * config/pru/ltd.c: New file.
2057 * config/pru/ltf.c: New file.
2058 * config/pru/mpyll.S: New file.
2059 * config/pru/pru-abi.h: New file.
2060 * config/pru/pru-asm.h: New file.
2061 * config/pru/pru-divmod.h: New file.
2062 * config/pru/sfp-machine.h: New file.
2063 * config/pru/t-pru: New file.
2064
0d7b3e47
JJ
20652019-06-11 Jakub Jelinek <jakub@redhat.com>
2066
2067 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2068
54e2d83c
ML
20692019-06-10 Martin Liska <mliska@suse.cz>
2070
2071 PR bootstrap/90808
2072 * libgcov.h: Add ATTRIBUTE_UNUSED.
2073
92d41717
ML
20742019-06-10 Martin Liska <mliska@suse.cz>
2075
2076 * Makefile.in: Add __gcov_one_value_profiler_v2,
2077 __gcov_one_value_profiler_v2_atomic and
2078 __gcov_indirect_call_profiler_v4.
2079 * libgcov-merge.c (__gcov_merge_single): Change
2080 function signature.
2081 (merge_single_value_set): New.
2082 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2083 Update functionality.
2084 (__gcov_one_value_profiler): Remove.
2085 (__gcov_one_value_profiler_v2): ... this.
2086 (__gcov_one_value_profiler_atomic): Rename to ...
2087 (__gcov_one_value_profiler_v2_atomic): this.
2088 (__gcov_indirect_call_profiler_v3): Rename to ...
2089 (__gcov_indirect_call_profiler_v4): ... this.
2090 * libgcov.h (__gcov_one_value_profiler): Remove.
2091 (__gcov_one_value_profiler_atomic): Remove.
2092 (__gcov_one_value_profiler_v2_atomic): New.
2093 (__gcov_indirect_call_profiler_v3): Remove.
2094 (__gcov_one_value_profiler_v2): New.
2095 (__gcov_indirect_call_profiler_v4): New.
2096 (gcov_get_counter_ignore_scaling): New function.
2097
e37333ba
ML
20982019-06-07 Martin Liska <mliska@suse.cz>
2099
2100 * Makefile.in: Remove usage of
2101 _gcov_merge_icall_topn.
2102 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2103 (gcov_sort_icall_topn_counter): Likewise.
2104 (gcov_sort_topn_counter_arrays): Likewise.
2105 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2106 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2107 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2108 Likewise.
2109 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2110 (struct indirect_call_tuple): Remove.
2111 (__gcov_indirect_call_topn_profiler): Remove.
2112 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2113 * libgcov.h (gcov_sort_n_vals): Remove.
2114 (L_gcov_merge_icall_topn): Likewise.
2115 (__gcov_merge_icall_topn): Likewise.
2116 (__gcov_indirect_call_topn_profiler): Likewise.
2117
34a4a9c2
IS
21182019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2119
2120 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2121 altivec enabled.
2122
d1b2f85f
JL
21232019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2124
2125 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2126 section.
2127 (__mspabi_slli): Likewise.
2128 (__mspabi_slll_n): Likewise.
2129 (__mspabi_slll): Likewise.
2130 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2131 (__mspabi_srai): Likewise.
2132 (__mspabi_sral_n): Likewise.
2133 (__mspabi_sral): Likewise.
2134 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2135 (__mspabi_srli): Likewise.
2136 (__mspabi_srll_n): Likewise.
2137 (__mspabi_srll): Likewise.
2138
e69a13d1
YS
21392019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2140
2141 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2142 Add appropriate tm_file clause as well.
2143 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2144
b009eac1
JC
21452019-06-05 James Clarke <jrtc27@jrtc27.com>
2146
2147 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2148 rather than .data/.bss so it can be accessed via gp-relative
2149 addressing.
2150
781d39f2
DE
21512019-06-05 David Edelsohn <dje.gcc@gmail.com>
2152
2153 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2154 (CR2_REGNO): Rename to R_CR2.
2155 (XER_REGNO): Rename to R_XER.
2156 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2157 (VRSAVE_REGNO): Rename to R_VRSAVE.
2158 (VSCR_REGNO): R_VSCR.
2159
76aaa9cd
YS
21602019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2161
2162 * config.host (rx-*-linux*): Add new case.
2163 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2164
8fc16d72
ST
21652019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2166
2167 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2168 function.
2169 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2170 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2171 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2172 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2173 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2174 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2175 string.
2176 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2177 string.
2178 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2179
e54b1a92
RO
21802019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2181
2182 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2183 Remove Solaris 9 and 10 support.
2184 (sparc_is_sighandler): Likewise.
2185
abbb8307
JDA
21862019-05-26 John David Anglin <danglin@gcc.gnu.org>
2187
2188 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2189
2581344d
L
21902019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2191
2192 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2193 4_FP_W_TYPEs are used for IEEE quad precision.
2194 * soft-fp/extendhftf2.c: Likewise.
2195 * soft-fp/extendsftf2.c: Likewise.
2196 * soft-fp/extendxftf2.c: Likewise.
2197 * soft-fp/trunctfdf2.c: Likewise.
2198 * soft-fp/trunctfhf2.c: Likewise.
2199 * soft-fp/trunctfsf2.c: Likewise.
2200 * soft-fp/trunctfxf2.c: Likewise.
2201 * config/rs6000/ibm-ldouble.c: Likewise.
2202
ccd1242e
RO
22032019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2204
2205 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2206 *-*-solaris2*.
2207 * configure.ac: Likewise.
2208 * configure: Regenerate.
2209
2210 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2211 Solaris 10 and Solaris 11 < snv_125 handling.
2212
ef5eb79d
IS
22132019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2214
2215 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2216
4f0e90fa
HL
22172019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2218
2219 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2220 * config/i386/cpuinfo.h (enum processor_features): Add
2221 FEATURE_AVX512BF16.
2222
48528842
RR
22232019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2224 Bernd Edlinger <bernd.edlinger@hotmail.de>
2225 Jakub Jelinek <jakub@redhat.com>
2226
2227 PR target/89093
2228 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2229 * config/arm/unwind-arm.c: Likewise.
2230 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2231 attribute for ARM.
2232
887e182f
MC
22332019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2234
2235 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2236 (RT_SIGRETURN): Update.
2237 (nds32_fallback_frame_state): Update.
2238
a90b0cdd
MS
22392019-02-21 Martin Sebor <msebor@redhat.com>
2240
2241 * libgcc2.h (__clear_cache): Correct signature.
2242 * libgcc2.c (__clear_cache): Same.
2243
1ed28eda
UB
22442019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2245
2246 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2247 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2248
fe95aee9
UB
22492019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2250
2251 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2252 regno instead of index to DWARF_ZERO_REG.
2253
bf7988f1
EB
22542019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2255
2256 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2257 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2258
ba2c1ca8
UB
22592019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2260
2261 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2262 to HOST_LIBGCC2_CFLAGS.
2263
6395ba73
L
22642019-01-23 Joseph Myers <joseph@codesourcery.com>
2265
2266 PR libgcc/88931
ba2c1ca8 2267 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 2268
756721ba
ML
22692019-01-18 Martin Liska <mliska@suse.cz>
2270
2271 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2272 to ...
2273 (__gcov_indirect_call_profiler_v3): ... this.
2274 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2275 (__gcov_indirect_call_profiler_v3): Likewise.
2276 * Makefile.in: Bump function name.
2277
d273c40a
ML
22782019-01-18 Martin Liska <mliska@suse.cz>
2279
2280 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2281 (gcov_version): Use in gcov_error.
2282 (merge_one_data): Likewise.
2283 (dump_one_gcov): Likewise.
2284
be9d9fdb
ML
22852019-01-18 Martin Liska <mliska@suse.cz>
2286
2287 * libgcov-driver.c (gcov_version_string): New function.
2288 (gcov_version): Convert version integer into string.
2289
91d7b7fe
AS
22902019-01-17 Andrew Stubbs <ams@codesourcery.com>
2291 Kwok Cheung Yeung <kcy@codesourcery.com>
2292 Julian Brown <julian@codesourcery.com>
2293 Tom de Vries <tom@codesourcery.com>
2294
2295 * config.host: Recognize amdgcn*-*-amdhsa.
2296 * config/gcn/crt0.c: New file.
2297 * config/gcn/lib2-divmod-hi.c: New file.
2298 * config/gcn/lib2-divmod.c: New file.
2299 * config/gcn/lib2-gcn.h: New file.
2300 * config/gcn/sfp-machine.h: New file.
2301 * config/gcn/t-amdgcn: New file.
2302
67914693
SL
23032019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2304
2305 PR other/16615
2306
2307 * config/c6x/libunwind.S: Mechanically replace "can not" with
2308 "cannot".
2309 * config/tilepro/atomic.h: Likewise.
2310 * config/vxlib-tls.c: Likewise.
2311 * generic-morestack-thread.c: Likewise.
2312 * generic-morestack.c: Likewise.
2313 * mkmap-symver.awk: Likewise.
2314
a5544970
JJ
23152019-01-01 Jakub Jelinek <jakub@redhat.com>
2316
2317 Update copyright years.
2318
da77eace
L
23192018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2320
2321 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2322 to ignore -Waddress-of-packed-member.
2323
72e3a529
TP
23242018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2325
2326 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2327 parameter and corresponding code.
2328 (ARM_FUNC_START): Likewise in both definitions.
2329 Also update footer comment about condition that need to match with
2330 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2331 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2332 defined. Weakly define it in this case.
2333 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2334 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2335 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2336 comment to keep condition in sync with the one in
2337 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2338
5d54c798
WX
23392018-12-18 Wei Xiao <wei3.xiao@intel.com>
2340
2341 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2342 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2343
5a2580b6
RV
23442018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2345
2346 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2347 and .cfi_endproc directives for VxWorks targets.
2348
c0c5112b
PK
23492018-12-05 Paul Koning <ni1d@arrl.net>
2350
2351 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2352
1ea7ea18
AM
23532018-11-27 Alan Modra <amodra@gmail.com>
2354
2355 * config/rs6000/morestack.S (__stack_split_initialize),
2356 (__morestack_get_guard, __morestack_set_guard),
2357 (__morestack_make_guard): Provide CFI covering these functions.
2358 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2359
ff641ae1
XQ
23602018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2361
1ea7ea18 2362 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
2363 (sc_pt_regs_lr): Update for kernel.
2364 (sc_pt_regs_tls): Update for kernel.
2365
28209372
XQ
23662018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2367
2368 * config/csky/linux-unwind.h: Fix coding style.
2369
b2a71af6
XQ
23702018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2371
2372 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 2373 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
2374 instructions to adapt to changes in the kernel
2375
d929e137
SH
23762018-11-09 Stafford Horne <shorne@gmail.com>
2377 Richard Henderson <rth@twiddle.net>
2378
2379 * config.host: Add OpenRISC support.
2380 * config/or1k/*: New.
2381
222cfefa
KC
23822018-11-08 Kito Cheng <kito@andestech.com>
2383
2384 * soft-fp/adddf3.c: Update from glibc.
2385 * soft-fp/addsf3.c: Likewise.
2386 * soft-fp/addtf3.c: Likewise.
2387 * soft-fp/divdf3.c: Likewise.
2388 * soft-fp/divsf3.c: Likewise.
2389 * soft-fp/divtf3.c: Likewise.
2390 * soft-fp/double.h: Likewise.
2391 * soft-fp/eqdf2.c: Likewise.
2392 * soft-fp/eqsf2.c: Likewise.
2393 * soft-fp/eqtf2.c: Likewise.
2394 * soft-fp/extenddftf2.c: Likewise.
2395 * soft-fp/extended.h: Likewise.
2396 * soft-fp/extendhftf2.c: Likewise.
2397 * soft-fp/extendsfdf2.c: Likewise.
2398 * soft-fp/extendsftf2.c: Likewise.
2399 * soft-fp/extendxftf2.c: Likewise.
2400 * soft-fp/fixdfdi.c: Likewise.
2401 * soft-fp/fixdfsi.c: Likewise.
2402 * soft-fp/fixdfti.c: Likewise.
2403 * soft-fp/fixhfti.c: Likewise.
2404 * soft-fp/fixsfdi.c: Likewise.
2405 * soft-fp/fixsfsi.c: Likewise.
2406 * soft-fp/fixsfti.c: Likewise.
2407 * soft-fp/fixtfdi.c: Likewise.
2408 * soft-fp/fixtfsi.c: Likewise.
2409 * soft-fp/fixtfti.c: Likewise.
2410 * soft-fp/fixunsdfdi.c: Likewise.
2411 * soft-fp/fixunsdfsi.c: Likewise.
2412 * soft-fp/fixunsdfti.c: Likewise.
2413 * soft-fp/fixunshfti.c: Likewise.
2414 * soft-fp/fixunssfdi.c: Likewise.
2415 * soft-fp/fixunssfsi.c: Likewise.
2416 * soft-fp/fixunssfti.c: Likewise.
2417 * soft-fp/fixunstfdi.c: Likewise.
2418 * soft-fp/fixunstfsi.c: Likewise.
2419 * soft-fp/fixunstfti.c: Likewise.
2420 * soft-fp/floatdidf.c: Likewise.
2421 * soft-fp/floatdisf.c: Likewise.
2422 * soft-fp/floatditf.c: Likewise.
2423 * soft-fp/floatsidf.c: Likewise.
2424 * soft-fp/floatsisf.c: Likewise.
2425 * soft-fp/floatsitf.c: Likewise.
2426 * soft-fp/floattidf.c: Likewise.
2427 * soft-fp/floattihf.c: Likewise.
2428 * soft-fp/floattisf.c: Likewise.
2429 * soft-fp/floattitf.c: Likewise.
2430 * soft-fp/floatundidf.c: Likewise.
2431 * soft-fp/floatundisf.c: Likewise.
2432 * soft-fp/floatunditf.c: Likewise.
2433 * soft-fp/floatunsidf.c: Likewise.
2434 * soft-fp/floatunsisf.c: Likewise.
2435 * soft-fp/floatunsitf.c: Likewise.
2436 * soft-fp/floatuntidf.c: Likewise.
2437 * soft-fp/floatuntihf.c: Likewise.
2438 * soft-fp/floatuntisf.c: Likewise.
2439 * soft-fp/floatuntitf.c: Likewise.
2440 * soft-fp/gedf2.c: Likewise.
2441 * soft-fp/gesf2.c: Likewise.
2442 * soft-fp/getf2.c: Likewise.
2443 * soft-fp/half.h: Likewise.
2444 * soft-fp/ledf2.c: Likewise.
2445 * soft-fp/lesf2.c: Likewise.
2446 * soft-fp/letf2.c: Likewise.
2447 * soft-fp/muldf3.c: Likewise.
2448 * soft-fp/mulsf3.c: Likewise.
2449 * soft-fp/multf3.c: Likewise.
2450 * soft-fp/negdf2.c: Likewise.
2451 * soft-fp/negsf2.c: Likewise.
2452 * soft-fp/negtf2.c: Likewise.
2453 * soft-fp/op-1.h: Likewise.
2454 * soft-fp/op-2.h: Likewise.
2455 * soft-fp/op-4.h: Likewise.
2456 * soft-fp/op-8.h: Likewise.
2457 * soft-fp/op-common.h: Likewise.
2458 * soft-fp/quad.h: Likewise.
2459 * soft-fp/single.h: Likewise.
2460 * soft-fp/soft-fp.h: Likewise.
2461 * soft-fp/subdf3.c: Likewise.
2462 * soft-fp/subsf3.c: Likewise.
2463 * soft-fp/subtf3.c: Likewise.
2464 * soft-fp/truncdfsf2.c: Likewise.
2465 * soft-fp/trunctfdf2.c: Likewise.
2466 * soft-fp/trunctfhf2.c: Likewise.
2467 * soft-fp/trunctfsf2.c: Likewise.
2468 * soft-fp/trunctfxf2.c: Likewise.
2469 * soft-fp/unorddf2.c: Likewise.
2470 * soft-fp/unordsf2.c: Likewise.
2471 * soft-fp/unordtf2.c: Likewise.
2472
2901f42f
VK
24732018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2474
2475 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2476 * config/i386/cpuinfo.h (processor_types): Add znver2.
2477
4310ca66
PK
24782018-11-01 Paul Koning <ni1d@arrl.net>
2479
2480 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2481 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2482
22e05272
JM
24832018-10-31 Joseph Myers <joseph@codesourcery.com>
2484
2485 PR bootstrap/82856
2486 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2487 * configure: Regenerate.
2488
8180cde0
CZ
24892018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2490
2491 * config/arc/lib1funcs.S (_muldi3): New function.
2492 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2493
be7b071e
RV
24942018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2495
2496 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2497
3239d726
ML
24982018-10-25 Martin Liska <mliska@suse.cz>
2499
2500 PR other/87735
2501 * libgcov-profiler.c: Revert.
2502
19b55958
ML
25032018-10-24 Martin Liska <mliska@suse.cz>
2504
2505 * libgcov-profiler.c: Start from 1 in order to distinguish
2506 functions which were seen and these that were not.
2507
a9a2fddb
PK
25082018-10-18 Paul Koning <ni1d@arrl.net>
2509
2510 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2511 standard.
2512 * divmod.c: Update references to __udivmodsi4.
2513 * udivmod.c: Ditto.
2514 * udivhi3.c: New file.
2515 * udivmodhi4.c: New file.
2516 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2517
fc8abc46
RV
25182018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2519
2520 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2521
87f918e3
OH
25222018-10-12 Olivier Hainque <hainque@adacore.com>
2523
2524 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2525 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2526
be86efa7
PK
25272018-10-08 Paul Koning <ni1d@arrl.net>
2528
2529 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2530
3edbcdbe
ML
25312018-10-04 Martin Liska <mliska@suse.cz>
2532
2533 PR gcov-profile/84107
2534 * libgcov-profiler.c (__gcov_indirect_call):
2535 Change type to indirect_call_tuple.
2536 (struct indirect_call_tuple): New struct.
2537 (__gcov_indirect_call_topn_profiler): Change type.
2538 (__gcov_indirect_call_profiler_v2): Use the new
2539 variables.
2540 * libgcov.h (struct indirect_call_tuple): New struct
2541 definition.
2542
af8096fc
UB
25432018-10-03 Uros Bizjak <ubizjak@gmail.com>
2544
2545 * libgcc2.c (isnan): Use __builtin_isnan.
2546 (isfinite): Use __builtin_isfinite.
2547 (isinf): Use __builtin_isinf.
2548
0a76bba4
UB
25492018-09-26 Uros Bizjak <ubizjak@gmail.com>
2550
2551 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2552
5244089f
OH
25532018-09-21 Alexandre Oliva <oliva@adacore.com>
2554
2555 * config/vxcache.c: New file. Provide __clear_cache, based on
2556 the cacheTextUpdate VxWorks service.
2557 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2558 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2559 * config/t-vxwoks7: Likewise.
2560
512cc015
ML
25612018-09-21 Martin Liska <mliska@suse.cz>
2562
2563 * libgcov-driver.c (crc32_unsigned): Remove.
2564 (gcov_histogram_insert): Likewise.
2565 (gcov_compute_histogram): Likewise.
2566 (compute_summary): Simplify rapidly.
2567 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2568 (merge_summary): Rapidly simplify.
2569 (dump_one_gcov): Ignore gcov_summary.
2570 (gcov_do_dump): Do not handle program summary, it's not
2571 used.
2572 * libgcov-util.c (tag_summary): Remove.
2573 (read_gcda_finalize): Fix coding style.
2574 (read_gcda_file): Initialize curr_object_summary.
2575 (compute_summary): Remove.
2576 (calculate_overlap): Remove settings of run_max.
2577
36ff254b
MC
25782018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2579
2580 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2581 ucontext_t type instead.
2582 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2583
229a033d
KC
25842018-09-21 Kito Cheng <kito.cheng@gmail.com>
2585
2586 * config/nds32/t-nds32-glibc: New file.
2587
53c6feb2
RO
25882018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2589
2590 * configure.ac (solaris_ld_v2_maps): New test.
2591 * configure: Regenerate.
2592 * Makefile.in (solaris_ld_v2_maps): New variable.
2593 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2594 if supported.
2595
ebdb6f23
RE
25962018-08-23 Richard Earnshaw <rearnsha@arm.com>
2597
2598 PR target/86951
2599 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2600 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2601 to build.
2602
a49c064e
IS
26032018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2604
1ea7ea18 2605 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
2606 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2607 * config/darwin10-unwind-find-enc-func.c: … to here.
2608 * config/t-darwin: Build Darwin10 unwinder shim crt.
2609 * libgcc/config.host: Add the Darwin10 unwinder shim.
2610
9a5b8df7
RV
26112018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2612
2613 * config.host: Add crtbegin.o and crtend.o for
2614 powerpc-wrs-vxworks target.
2615
4cd0bc3b
J
26162018-08-17 Jojo <jijie_rong@c-sky.com>
2617 Huibin Wang <huibin_wang@c-sky.com>
2618 Sandra Loosemore <sandra@codesourcery.com>
2619 Chung-Lin Tang <cltang@codesourcery.com>
2620
2621 C-SKY port: libgcc
2622
2623 * config.host: Add C-SKY support.
2624 * config/csky/*: New.
2625
a4931745
CJW
26262018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2627
2628 * config/nds32/t-nds32-isr: Rearrange object dependency.
2629 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2630 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2631 and registers usage.
2632 * config/nds32/isr-library/excp_isr.S: Ditto.
2633 * config/nds32/isr-library/intr_isr.S: Ditto.
2634 * config/nds32/isr-library/reset.S: Ditto.
2635 * config/nds32/isr-library/restore_all.inc: Ditto.
2636 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2637 * config/nds32/isr-library/restore_partial.inc: Ditto.
2638 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2639 * config/nds32/isr-library/save_all.inc: Ditto.
2640 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2641 * config/nds32/isr-library/save_partial.inc: Ditto.
2642 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2643 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2644
2b1969f6
JDA
26452018-08-11 John David Anglin <danglin@gcc.gnu.org>
2646
2647 * config/pa/linux-atomic.c: Update comment.
2648 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2649 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2650 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2651 __ATOMIC_RELAXED for atomic loads.
2652 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2653 unordered store to release lock.
2654 (__sync_lock_release_8): Likewise.
2655 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 2656
89fff9cc
NP
26572018-08-02 Nicolas Pitre <nico@fluxnic.net>
2658
2659 PR libgcc/86512
2660 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2661 exponent goes negative. Update my email address.
2662 * config/arm/ieee754-sf.S: Likewise.
2663
fd2e1dcd
ML
26642018-08-01 Martin Liska <mliska@suse.cz>
2665
2666 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 2667 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 2668
b7415975
CL
26692018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2670
2671 * config/arm/ieee754-df.S: Fix comment for code working on
2672 architectures >= 4.
2673 * config/arm/ieee754-sf.S: Likewise.
2674
b72e71a3
L
26752018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2676
2677 PR libgcc/85334
2678 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2679 Removed.
2680
1c686aa4
JC
26812018-07-05 James Clarke <jrtc27@jrtc27.com>
2682
2683 * configure: Regenerated.
2684
b61c9b99
RO
26852018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2686
2687 * Makefile.in (install_leaf): Use enable_gcov instead of
2688 enable_libgcov.
2689
1765b023
RV
26902018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2691
2692 * configure.ac: Add --disable-gcov option.
2693 * configure: Regenerate.
2694 * Makefile.in: Honour @enable_gcov@.
2695
9b2e34ef
CL
26962018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2697
2698 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2699 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2700 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2701 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2702 __ARM_ARCH__.
2703 * config/arm/ieee754-sf.S: Likewise.
2704 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2705
d1b0dd54
CL
27062018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2707
2708 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2709 longer supported.
2710 * config/arm/ieee754-sf.S: Likewise.
2711
1f3fa525
TM
27122018-06-20 Than McIntosh <thanm@google.com>
2713
2714 PR libgcc/86213
2715 * generic-morestack.c (allocate_segment): Move calls to getenv and
2716 getpagesize to __morestack_load_mmap.
2717 (__morestack_load_mmap) Initialize static_pagesize and
2718 use_guard_page here so as to avoid clobbering SSE regs during a
2719 __morestack call.
2720
6a8886e4
MM
27212018-06-18 Michael Meissner <meissner@linux.ibm.com>
2722
2723 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2724 support modules with -mno-gnu-attribute.
2725 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2726
fb997097
OH
27272018-06-07 Olivier Hainque <hainque@adacore.com>
2728
2729 * config/t-vxworks (LIBGCC_INCLUDES): Add
2730 -I$(MULTIBUILDTOP)../../gcc/include.
2731 * config/t-vxworks7: Likewise. Reformat a bit to match
2732 the t-vxworks layout.
2733
a548a5a1
OM
27342018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2735
2736 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2737
244aebfd
ML
27382018-06-07 Martin Liska <mliska@suse.cz>
2739
2740 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 2741 all_prg.
244aebfd 2742
6c086e8c
ML
27432018-06-07 Martin Liska <mliska@suse.cz>
2744
92a285c1 2745 PR bootstrap/86057
6c086e8c 2746 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 2747 memcpy instead of mempcpy.
6c086e8c 2748 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 2749 prefix and set it.
6c086e8c 2750 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 2751 here and properly copy content into it.
6c086e8c 2752 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 2753 field, change prefix from size_t into char *.
6c086e8c
ML
2754 (compute_summary): Do not calculate longest filename.
2755 (gcov_do_dump): Release memory of gf.filename after each file.
2756 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 2757 compute_summary.
6c086e8c
ML
2758 (calculate_overlap): Likewise.
2759
97a53d1d
ML
27602018-06-05 Martin Liska <mliska@suse.cz>
2761
2762 PR gcov-profile/47618
2763 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 2764 function.
97a53d1d
ML
2765 (gcov_exit_open_gcda_file): Use it.
2766
7f3577f5
ML
27672018-06-05 Martin Liska <mliska@suse.cz>
2768
2769 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2770 of gcov_ctr_summary.
2771 (compute_summary): Do it just for a single summary.
2772 (merge_one_data): Likewise.
2773 (merge_summary): Simplify as we read just single summary.
2774 (dump_one_gcov): Pass proper argument.
2775 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2776 single summary.
2777 (gcov_info_count_all_cold): Likewise.
2778 (calculate_overlap): Likewise.
2779
cf3cd43d
CJW
27802018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2781 Monk Chiang <sh.chiang04@gmail.com>
2782
2783 * config.host (nds32*-linux*): New.
2784 * config/nds32/linux-atomic.c: New file.
2785 * config/nds32/linux-unwind.h: New file.
2786
8b8003ed
UB
27872018-05-31 Uros Bizjak <ubizjak@gmail.com>
2788
2789 PR target/85591
2790 * config/i386/cpuinfo.c (get_amd_cpu): Return
2791 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2792
bbdf026f
RV
27932018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2794
92a285c1 2795 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 2796
0e8f29da
ML
27972018-05-29 Martin Liska <mliska@suse.cz>
2798
92a285c1 2799 PR gcov-profile/85759
0e8f29da 2800 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 2801 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 2802 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 2803 overwrite a gcov file with a different timestamp.
0e8f29da 2804
54fd1590
K
28052018-05-23 Kalamatee <kalamatee@gmail.com>
2806
2807 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2808 path to Lf$finfty.
2809
09baee1a
KC
28102018-05-18 Kito Cheng <kito.cheng@gmail.com>
2811 Monk Chiang <sh.chiang04@gmail.com>
2812 Jim Wilson <jimw@sifive.com>
2813
2814 * config/riscv/save-restore.S: Add support for rv32e.
2815
c3f808d3
KT
28162018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2817
2818 * config/arm/libunwind.S: Update comment relating to armv5.
2819
fcf4f831
JL
28202018-05-17 Jerome Lambourg <lambourg@adacore.com>
2821
2822 * config/arm/cmse.c (cmse_check_address_range): Replace
2823 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2824
74b2bb19
OM
28252018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2826
2827 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2828 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2829
50e461df
OM
28302018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2831
2832 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2833 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2834
e5f1cdb1
AC
28352018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2836
2837 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2838
8f479d7a
AT
28392018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2840 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2841
2842 PR libgcc/84292
2843 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2844 op_and_fetch to return the right result.
2845
ae043291
AM
28462018-04-27 Alan Modra <amodra@gmail.com>
2847
2848 PR libgcc/85532
2849 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2850 -fno-asynchronous-unwind-tables.
2851
ba169b74
CJW
28522018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2853
2854 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2855 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2856
ffc2fc06
L
28572018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2858
2859 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2860 when including "config/i386/shadow-stack-unwind.h".
2861
7b47ecf2
L
28622018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2863
2864 * configure: Regenerated.
2865
661eb8f9
MM
28662018-04-20 Michael Meissner <meissner@linux.ibm.com>
2867
2868 PR target/85456
2869 * config/rs6000/_powikf2.c: New file. Add support for the
2870 __builtin_powil function when long double is IEEE 128-bit floating
2871 point.
2872 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2873 __powikf2 support.
2874 (__powikf2): Likewise.
2875 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2876 (__powikf2_hw): Likewise.
2877 (__powikf2): Likewise.
2878 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2879 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2880 (_powikf2-hw.c): Likewise.
2881
5707be3c
L
28822018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2883
2884 PR libgcc/85334
2885 * unwind-generic.h (_Unwind_Frames_Increment): New.
2886 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2887 Likewise.
2888 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2889 count with _Unwind_Frames_Increment.
2890 (_Unwind_ForcedUnwind_Phase2): Likewise.
2891
5f9ca0b8
L
28922018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2893
2894 PR libgcc/85379
2895 * config/i386/morestack.S (__stack_split_initialize): Add
2896 _CET_ENDBR.
2897
a0e1df88
JJ
28982018-04-19 Jakub Jelinek <jakub@redhat.com>
2899
2900 * configure: Regenerated.
2901
001ddaa8
DM
29022018-04-18 David Malcolm <dmalcolm@redhat.com>
2903
2904 PR jit/85384
2905 * configure: Regenerate.
2906
a57f99ba
JJ
29072018-04-16 Jakub Jelinek <jakub@redhat.com>
2908
2909 PR target/84945
2910 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2911 -Wdangling-else warnings. Mask shift counts to avoid
2912 -Wshift-count-negative and -Wshift-count-overflow false positives.
2913
4d47fe5a
RB
29142018-04-06 Ruslan Bukin <br@bsdpad.com>
2915
2916 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2917
059cc8ac
L
29182018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2919
2920 PR target/85100
2921 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2922 (XSTATE_FP): Likewise.
2923 (XSTATE_SSE): Likewise.
2924 (XSTATE_YMM): Likewise.
2925 (XSTATE_OPMASK): Likewise.
2926 (XSTATE_ZMM): Likewise.
2927 (XSTATE_HI_ZMM): Likewise.
2928 (XCR_AVX_ENABLED_MASK): Likewise.
2929 (XCR_AVX512F_ENABLED_MASK): Likewise.
2930 (get_available_features): Enable AVX and AVX512 features only
2931 if their states are supported by OSXSAVE.
2932
f2620385
IT
29332018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2934
2935 PR target/85025
2936 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2937 Fix a typo, tmp => 255.
2938
ae6dca8c
JJ
29392018-03-20 Jakub Jelinek <jakub@redhat.com>
2940
2941 PR target/84945
2942 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2943 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2944 ifndef SHARED only.
2945 (set_feature): Define.
2946 (get_available_features): Use set_feature macro. Set __cpu_features2
2947 to the second word of features ifndef SHARED.
2948
c36b04c1
JK
29492018-03-15 Julia Koval <julia.koval@intel.com>
2950
2951 * config/i386/cpuinfo.c (get_available_features): Add
2952 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2953 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2954 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2955 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2956 FEATURE_AVX512BITALG.
2957
79ab5364
JK
29582018-03-14 Julia Koval <julia.koval@intel.com>
2959
2960 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2961 icelake client and icelake server.
2962
66a00b11
JDA
29632018-03-06 John David Anglin <danglin@gcc.gnu.org>
2964
2965 * config/pa/fptr.c (_dl_read_access_allowed): New.
2966 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 2967
ce579a4f
JJ
29682018-02-28 Jakub Jelinek <jakub@redhat.com>
2969
2970 PR debug/83917
2971 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2972 $asm_hidden_op if visibility ("hidden") attribute works.
2973 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2974 * config/i386/i386-asm.h: Don't include auto-host.h.
2975 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2976 PACKAGE_URL): Don't undefine.
2977 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2978 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2979 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2980 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2981 definition instead of hardcoded .hidden.
2982 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2983 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2984 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2985 (USE_GAS_CFI_DIRECTIVES): Don't define.
2986 * configure: Regenerated.
2987 * config.in: Likewise.
2988
e5868319
JJ
29892018-02-26 Jakub Jelinek <jakub@redhat.com>
2990
2991 PR debug/83917
2992 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2993 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2994 inclusion of auto-target.h and auto-host.h.
2995 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2996 __GCC_HAVE_DWARF2_CFI_ASM.
2997 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2998 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2999 cfi_pop): Define.
3000 * config/i386/cygwin.S: Don't include auto-host.h here, just
3001 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3002 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3003 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3004 * config/i386/resms64fx.h: Add cfi_* directives.
3005 * config/i386/resms64x.h: Likewise.
3006
faef260e
MF
30072018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3008
3009 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3010 .literal_position directive.
3011 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3012
14e335ed
IT
30132018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3014
3015 PR target/84148
3016 * configure: Regenerate.
3017
95df0433
IT
30182018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3019
3020 PR target/84239
3021 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3022 Include cetintrin.h not x86intrin.h.
3023
f8de876d
IT
30242018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3025
3026 PR target/84239
95df0433 3027 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3028 Use new _get_ssp and _inc_ssp intrinsics.
3029
02da1e9c
JK
30302018-02-02 Julia Koval <julia.koval@intel.com>
3031
3032 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3033
048c6a9a
CZ
30342018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3035
3036 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3037 option.
3038 (__divsi3): Use RF16 safe registers.
3039 (__modsi3): Likewise.
3040
0889f168
MF
30412018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3042
3043 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3044 (__divsf3): Make NaN return value quiet.
3045 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3046 (__divdf3): Make NaN return value quiet.
3047
bc8b0d04
SP
30482018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3049
3050 * config/rl78/anddi3.S: New assembly file.
3051 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3052
99cc06ea
SP
30532018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3054
3055 * config/rl78/umindi3.S: New assembly file.
3056 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3057
6e9007a0
SP
30582018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3059
3060 * config/rl78/smindi3.S: New assembly file.
3061 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3062
d975e494 30632018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3064
d975e494
SP
3065 * config/rl78/smaxdi3.S: New assembly file.
3066 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3067
6a18c146 30682018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3069
5dd16013
SP
3070 * config/rl78/umaxdi3.S: New assembly file.
3071 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 3072
07baf4a5
JDA
30732018-01-21 John David Anglin <danglin@gcc.gnu.org>
3074
3075 PR lto/83452
3076 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3077 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 3078
dbc3af4f
RS
30792018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3080
3081 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3082 (DWARF_LAZY_REGISTER_VALUE): Define.
3083 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3084 to provide a fallback register value.
3085
68df9882
MM
30862018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3087
3088 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3089 __ibm128, instead of trying to use long double.
3090 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3091 accomidate -mabi=ieeelongdouble multilibs.
3092 (CVT_IBM128_TO_FLOAT128): Likewise.
3093 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3094 the appropriate IBM extended double type.
3095 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3096 (__gcc_qsub): Likewise.
3097 (__gcc_qmul): Likewise.
3098 (__gcc_qdiv): Likewise.
3099 (pack_ldouble): Likewise.
3100 (__gcc_qneg): Likewise.
3101 (__gcc_qeq): Likewise.
3102 (__gcc_qne): Likewise.
3103 (__gcc_qge): Likewise.
3104 (__gcc_qle): Likewise.
3105 (__gcc_stoq): Likewise.
3106 (__gcc_dtoq): Likewise.
3107 (__gcc_itoq): Likewise.
3108 (__gcc_utoq): Likewise.
3109 (__gcc_qunord): Likewise.
3110 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3111 quad-float128.h for the definitions.
3112 (COPYSIGN): Use the f128 version instead of the q version.
3113 (INFINITY): Likewise.
3114 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3115 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3116 quad-float128.h for the definitions.
3117 (COPYSIGN): Use the f128 version instead of the q version.
3118 (INFINITY): Likewise.
3119 (FABS): Likewise.
3120 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3121 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3122 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3123
64b371b1
SH
31242018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3125
3126 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3127 configuration.
3128
85ec4feb
JJ
31292018-01-03 Jakub Jelinek <jakub@redhat.com>
3130
3131 Update copyright years.
3132
31332017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
3134
3135 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3136 * config/riscv/multi3.c: New file.
3137 * config/riscv/multi3.S: Remove.
3138
3a4c600f
JW
31392017-12-08 Jim Wilson <jimw@sifive.com>
3140
3141 * config/riscv/div.S: Use FUNC_* macros.
3142 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3143 * config/riscv/save-restore.S: Likewise.
3144 * config/riscv/riscv-asm.h: New.
3145
75ad35b5
MM
31462017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3147
6ae3512c
MM
3148 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3149 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3150
75ad35b5
MM
3151 PR libgcc/83112
3152 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3153 correct type for all ifunc resolvers to silence -Wattribute-alias
3154 warnings. Eliminate the forward declaration of the resolver
3155 functions which is no longer needed.
3156 (__subkf3_resolve): Likewise.
3157 (__mulkf3_resolve): Likewise.
3158 (__divkf3_resolve): Likewise.
3159 (__negkf2_resolve): Likewise.
3160 (__eqkf2_resolve): Likewise.
3161 (__nekf2_resolve): Likewise.
3162 (__gekf2_resolve): Likewise.
3163 (__gtkf2_resolve): Likewise.
3164 (__lekf2_resolve): Likewise.
3165 (__ltkf2_resolve): Likewise.
3166 (__unordkf2_resolve): Likewise.
3167 (__extendsfkf2_resolve): Likewise.
3168 (__extenddfkf2_resolve): Likewise.
3169 (__trunckfsf2_resolve): Likewise.
3170 (__trunckfdf2_resolve): Likewise.
3171 (__fixkfsi_resolve): Likewise.
3172 (__fixkfdi_resolve): Likewise.
3173 (__fixunskfsi_resolve): Likewise.
3174 (__fixunskfdi_resolve): Likewise.
3175 (__floatsikf_resolve): Likewise.
3176 (__floatdikf_resolve): Likewise.
3177 (__floatunsikf_resolve): Likewise.
3178 (__floatundikf_resolve): Likewise.
3179 (__extendkftf2_resolve): Likewise.
3180 (__trunctfkf2_resolve): Likewise.
3181
3182 PR libgcc/83103
3183 * config/rs6000/quad-float128.h (TF): Don't define if long double
3184 is IEEE 128-bit floating point.
3185 (TCtype): Define as either TCmode or KCmode, depending on whether
3186 long double is IEEE 128-bit floating point.
3187 (__mulkc3_sw): Add declarations for software/hardware versions of
3188 complex multiply/divide.
3189 (__divkc3_sw): Likewise.
3190 (__mulkc3_hw): Likewise.
3191 (__divkc3_hw): Likewise.
3192 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3193 handlers to switch between using software emulation and hardware
3194 float128 instructions, build the complex multiply/divide functions
3195 for both software and hardware support.
3196 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3197 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3198 (__divkc3_resolve): Likewise.
3199 (__mulkc3): Likewise.
3200 (__divkc3): Likewise.
3201 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3202 (fp128_hw_src): Likewise.
3203 (fp128_hw_static_obj): Likewise.
3204 (fp128_hw_shared_obj): Likewise.
3205 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3206 _mulkc3.c and _divkc3.c, changing the function name.
3207 (_divkc3-hw.c): Likewise.
3208 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3209 and _divkc3-hw.c.
3210
c234d831
UB
32112017-11-26 Julia Koval <julia.koval@intel.com>
3212
3213 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3214 * config/i386/cpuinfo.h (processor_subtypes): Add
3215 INTEL_COREI7_CANNONLAKE.
3216
1ebafce0
IT
32172017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3218
3219 PR bootstrap/83015
3220 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3221 parameter.
3222 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3223 * config/ia64/unwind-ia64.c: Add frames parameter.
3224 * unwind-sjlj.c: Likewise.
3225
6a10fff4
IT
32262017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3227
3228 * config/i386/linux-unwind.h: Include
3229 config/i386/shadow-stack-unwind.h.
3230 * config/i386/shadow-stack-unwind.h: New file.
3231 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3232 pass it to _Unwind_Frames_Extra.
3233 * unwind-generic.h (_Unwind_Frames_Extra): New.
3234 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3235 parameter. Add local variable frames to count number of frames.
3236 (_Unwind_ForcedUnwind_Phase2): Likewise.
3237 (_Unwind_RaiseException): Add local variable frames to count
3238 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3239 uw_install_context.
3240 (_Unwind_ForcedUnwind): Likewise.
3241 (_Unwind_Resume): Likewise.
3242 (_Unwind_Resume_or_Rethrow): Likewise.
3243
1ecae1fc
IT
32442017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3245
3246 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3247 (CET_FLAGS): New.
3248 * config/i386/morestack.S: Include <cet.h>.
3249 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3250 * config/i386/resms64.h: Include <cet.h>.
3251 * config/i386/resms64f.h: Likewise.
3252 * config/i386/resms64fx.h: Likewise.
3253 * config/i386/resms64x.h: Likewise.
3254 * config/i386/savms64.h: Likewise.
3255 * config/i386/savms64f.h: Likewise.
3256 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3257 (CRTSTUFF_T_CFLAGS): Likewise.
3258 * configure.ac: Include ../config/cet.m4.
3259 Set and substitute CET_FLAGS.
3260 * configure: Regenerated.
3261
f021f1d3
RO
32622017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3263
3264 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3265 renaming.
3266 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3267 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3268 * configure: Regenerate.
3269
65f480c7
TV
32702017-11-07 Tom de Vries <tom@codesourcery.com>
3271
3272 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3273 after "do {} while (0)".
3274
2a321acb
TV
32752017-11-07 Tom de Vries <tom@codesourcery.com>
3276
3277 PR other/82784
3278 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3279 semicolon after "do {} while (0)".
3280 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3281 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3282 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3283 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3284
59fcf6c3
AT
32852017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3286
3287 PR libgcc/82635
3288 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3289 sysctl to determine whether we're in a trampoline.
3290 Keep the pattern matching method for systems without
3291 KERN_PROC_SIGTRAMP sysctl.
3292
b0c7ddf8
CM
32932017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3294 Vineet Gupta <vgupta@synopsys.com>
3295
3296 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3297 * config/arc/linux-unwind-reg.def: New file.
3298 * config/arc/linux-unwind-reg.h: Likewise.
3299
5feee954
SP
33002017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3301
3302 * config/rl78/subdi3.S: New assembly file.
3303 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3304
a0bf6cf7
SP
33052017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3306
3307 * config/rl78/adddi3.S: New assembly file.
3308 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3309
e7176f75
JJ
33102017-10-13 Jakub Jelinek <jakub@redhat.com>
3311
3312 PR target/82274
3313 * libgcc2.c (__mulvDI3): If both operands have
3314 the same highpart of -1 and the topmost bit of lowpart is 0,
3315 multiplication overflows even if both lowparts are 0.
3316
db6601d2
JB
33172017-09-28 James Bowman <james.bowman@ftdichip.com>
3318
3319 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3320
938b6f1e
JM
33212017-09-26 Joseph Myers <joseph@codesourcery.com>
3322
3323 * config/microblaze/crti.S, config/microblaze/crtn.S,
3324 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3325 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3326 config/microblaze/mulsi3.S,
3327 config/microblaze/stack_overflow_exit.S,
3328 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3329 config/pa/milli64.S: Add .note.GNU-stack section.
3330
89762a83
DS
33312017-09-23 Daniel Santos <daniel.santos@pobox.com>
3332
3333 * configure.ac: Add Check for HAVE_AS_AVX.
3334 * config.in: Regenerate.
3335 * configure: Likewise.
3336 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3337 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3338 Correct out-of-date comments.
3339
cace2309
SP
33402017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3341
3342 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3343 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3344
3cb626e4
DS
33452017-09-17 Daniel Santos <daniel.santos@pobox.com>
3346
cace2309 3347 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
3348 (ASMNAME): Modify to use PASTE2.
3349 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3350 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 3351 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 3352 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
3353 * config/i386/resms64f.S: Likewise.
3354 * config/i386/resms64fx.S: Likewise.
3355 * config/i386/resms64x.S: Likewise.
3356 * config/i386/savms64.S: Likewise.
3357 * config/i386/savms64f.S: Likewise.
3358 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 3359 includes it's corresponding header file.
cace2309
SP
3360 * config/i386/avx_resms64f.S: Likewise.
3361 * config/i386/avx_resms64fx.S: Likewise.
3362 * config/i386/avx_resms64x.S: Likewise.
3363 * config/i386/avx_savms64.S: Likewise.
3364 * config/i386/avx_savms64f.S: Likewise.
3365 * config/i386/sse_resms64.S: Likewise.
3366 * config/i386/sse_resms64f.S: Likewise.
3367 * config/i386/sse_resms64fx.S: Likewise.
3368 * config/i386/sse_resms64x.S: Likewise.
3369 * config/i386/sse_savms64.S: Likewise.
3370 * config/i386/sse_savms64f.S: Likewise.
3371 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 3372
2f19c491 33732017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
3374 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3375
611e7036
OH
33762017-08-31 Olivier Hainque <hainque@adacore.com>
3377
3378 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3379 match as powerpc-wrs-vxworks*.
3380
c8f34527
JY
33812017-08-07 Jonathan Yong <10walls@gmail.com>
3382
3383 * config.host (*-cygwin): Include file from mingw
3384 config/i386/enable-execute-stack-mingw32.c
3385
0b458d2b 33862017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
3387 Doug Rupp <rupp@adacore.com>
3388 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
3389
3390 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3391 as well as arm-wrs-vxworks.
3392 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3393 LIB2ADDEH.
3394 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3395 __exidx_start and __exidx_end for downloadable modules.
3396
4df612fa
OH
33972017-08-01 Olivier Hainque <hainque@adacore.com>
3398
3399 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3400 * config/t-vxworks7: Likewise.
3401
5560e8c0
OH
34022017-08-01 Olivier Hainque <hainque@adacore.com>
3403
3404 * config/t-vxworks: Instead of redefining LIB2ADD,
3405 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3406
16bab95a
SH
34072017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3408
3409 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3410
9cbc07cc
DS
34112017-07-24 Daniel Santos <daniel.santos@pobox.com>
3412
3413 PR testsuite/80759
3414 * config.host: include i386/t-msabi for darwin and solaris.
3415 * config/i386/i386-asm.h
3416 (ELFFN): Rename to FN_TYPE.
3417 (FN_SIZE): New macro.
3418 (FN_HIDDEN): Likewise.
3419 (ASMNAME): Likewise.
3420 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3421 .globl.
3422 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3423 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3424 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3425 .macro.
3426 * config/i386/resms64f.S: Likewise.
3427 * config/i386/resms64fx.S: Likewise.
3428 * config/i386/resms64x.S: Likewise.
3429 * config/i386/savms64.S: Likewise.
3430 * config/i386/savms64f.S: Likewise.
3431
de742204
JM
34322017-07-19 John Marino <gnugcc@marino.st>
3433
3434 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3435
3787ee47
MM
34362017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3437
3438 PR target/81193
3439 * configure.ac (PowerPC float128 hardware support): Test whether
3440 we can use __builtin_cpu_supports before enabling the ifunc
3441 handler.
3442 * configure: Regenerate.
3443
b1938888
VG
34442017-07-10 Vineet Gupta <vgupta@synopsys.com>
3445
3446 * config.host: Remove uclibc from arc target spec.
3447
bec75e53
KW
34482017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3449
3450 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3451
d4391a62
PB
34522017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3453
3454 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3455 (have_ieee_hw_p): Delete function.
3456 (SW_OR_HW) Use __builtin_cpu_supports().
3457
9296dd9b
TP
34582017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3459
3460 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3461
b85a969e
OH
34622017-07-03 Olivier Hainque <hainque@adacore.com>
3463
d4391a62 3464 * config/t-vxworks7: New file, really.
b85a969e 3465
883312dc
JM
34662017-06-28 Joseph Myers <joseph@codesourcery.com>
3467
3468 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3469 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3470 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3471 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3472 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3473 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3474 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3475 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3476 config/sh/linux-unwind.h (sh_fallback_frame_state),
3477 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3478 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3479 ucontext_t instead of struct ucontext.
3480
50567938
JL
34812017-06-27 Jerome Lambourg <lambourg@adacore.com>
3482
3483 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3484 (x86_64-wrs-vxworks7): Likewise.
3485
e4b0df93
OH
34862017-06-27 Olivier Hainque <hainque@adacore.com>
3487
3488 * config/t-vxworks7: New file.
3489 * config.host (*-*-vxworks7): Use it.
3490
60edf8bb
MT
34912017-06-22 Matt Turner <mattst88@gmail.com>
3492
3493 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3494 skylake case.
3495
a51a76e5
RB
34962017-06-21 Richard Biener <rguenther@suse.de>
3497
3498 PR gcov-profile/81080
3499 * configure.ac: Add AC_SYS_LARGEFILE.
3500 * libgcov.h: Include auto-target.h before tsystem.h to pick
3501 up _FILE_OFFSET_BITS which might differ for multilibs.
3502 * config.in: Regenerate.
3503 * configure: Likewise.
3504
f0cd49c5
RE
35052017-06-16 Richard Earnshaw <rearnsha@arm.com>
3506
3507 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3508
4f751c54
ML
35092017-06-09 Martin Liska <mliska@suse.cz>
3510
3511 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3512 Reset __gcov_indirect_call_callee to NULL.
3513
1ac644c8
OH
35142017-06-08 Olivier Hainque <hainque@adacore.com>
3515
3516 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3517 the set of -I options, support for direct inclusions of net/uio.h
3518 by VxWorks header files via ioLib.h.
3519
d8b9cd27
TR
35202017-06-07 Tony Reix <tony.reix@atos.net>
3521 Matthieu Sarter <matthieu.sarter.external@atos.net>
3522 David Edelsohn <dje.gcc@gmail.com>
3523
92a285c1
ML
3524 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3525 unconditionally.
3526 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3527 AIX 7.2 support.
d8b9cd27 3528
38a75ccc
OH
35292017-06-02 Olivier Hainque <hainque@adacore.com>
3530
3531 * config/vxlib.c (__gthread_once): Add missing value to
3532 return statement.
3533
5b2edf53
OH
35342017-05-30 Olivier Hainque <hainque@adacore.com>
3535
3536 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3537 dollar sign before $(MULTIDIR).
3538
7d66e265
RH
35392017-05-26 Richard Henderson <rth@redhat.com>
3540
3541 PR libgcc/80037
3542 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3543
78eca309
AT
35442017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3545
3546 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3547 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3548 * config/arm/unwind-arm.c: Implement the above.
3549
c39d309a
AZ
35502017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3551
3552 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3553 section for a non-executable stack.
3554
eac8c9f2
KW
35552017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3556
3557 PR target/80600
3558 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3559
d6d4d770
DS
35602017-05-14 Daniel Santos <daniel.santos@pobox.com>
3561
3562 * config.host: Add i386/t-msabi to i386/t-linux file list.
3563 * config/i386/i386-asm.h: New file.
3564 * config/i386/resms64.S: New file.
3565 * config/i386/resms64f.S: New file.
3566 * config/i386/resms64fx.S: New file.
3567 * config/i386/resms64x.S: New file.
3568 * config/i386/savms64.S: New file.
3569 * config/i386/savms64f.S: New file.
3570 * config/i386/t-msabi: New file.
3571
8ef2b9a7
AT
35722017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3573
3574 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3575 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3576
7ab8766a
JC
35772017-05-05 Joshua Conner <joshconner@google.com>
3578
3579 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3580 pc-relative indirect handling for fuchsia.
3581 * config/t-slibgcc-fuchsia: New file.
3582 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 3583 x86_64-*-fuchsia*): Add definitions.
7ab8766a 3584
46928a8f
ML
35852017-04-19 Martin Liska <mliska@suse.cz>
3586
3587 PR gcov-profile/80435
3588 * Makefile.in: Install gcov.h.
3589 * gcov.h: New file.
3590 * libgcov.h: Use the header and make __gcov_flush publicly
3591 visible.
3592
63971184
ML
35932017-04-18 Martin Liska <mliska@suse.cz>
3594
3595 PR gcov-profile/78783
3596 * libgcov-driver.c (gcov_get_filename): New function.
3597
29d8aae6
JL
35982017-04-07 Jeff Law <law@redhat.com>
3599
3600 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3601 target makefile fragment.
3602 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3603
2bdf7fc6
AM
36042017-04-07 Alan Modra <amodra@gmail.com>
3605
3606 PR target/45053
3607 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3608
5764ee3c
JW
36092017-04-03 Jonathan Wakely <jwakely@redhat.com>
3610
3611 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3612
c4192ad7
CZ
36132017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3614
3615 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3616
4ccfdb28
JM
36172017-03-10 John Marino <gnugcc@marino.st>
3618
3619 * config/aarch64/freebsd-unwind.h: New file.
3620 * config.host: Add aarch64-*-freebsd unwinder.
3621
4144e4e3
SB
36222017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3623
3624 * config/rs6000/crtrestvr.s: Use .machine altivec.
3625 * config/rs6000/crtsavevr.s: Ditto.
3626
7502c597
SB
36272017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3628
3629 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3630 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3631 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3632 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3633 * configure: Regenerate.
3634 * config.in: Regenerate.
3635
db9f7f65
JY
36362017-03-02 Jonathan Yong <10walls@gmail.com>
3637
3638 * config/i386/gthr-win32.h: Define NOGDI before
3639 windows.h include to prevent w32api CC_NONE macro
3640 clash with libgfortran.
3641
126437c5
JY
36422017-03-02 Jonathan Yong <10walls@gmail.com>
3643
3644 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3645
31927af6
AP
36462017-02-16 Andrew Pinski <apinski@cavium.com>
3647
3648 * config/aarch64/value-unwind.h: New file.
3649 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3650 to tm_file.
3651
0bd99911
PD
36522017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3653
3654 * config.host: Add RISC-V tuples.
3655 * config/riscv/atomic.c: New file.
3656 * config/riscv/crti.S: Likewise.
3657 * config/riscv/crtn.S: Likewise.
3658 * config/riscv/div.S: Likewise.
3659 * config/riscv/linux-unwind.h: Likewise.
3660 * config/riscv/muldi3.S: Likewise.
3661 * config/riscv/multi3.S: Likewise.
3662 * config/riscv/save-restore.S: Likewise.
3663 * config/riscv/sfp-machine.h: Likewise.
3664 * config/riscv/t-elf: Likewise.
3665 * config/riscv/t-elf32: Likewise.
3666 * config/riscv/t-elf64: Likewise.
3667 * config/riscv/t-softfp32: Likewise.
3668 * config/riscv/t-softfp64: Likewise.
3669
a8c9ef2a
JJ
36702017-01-24 Jakub Jelinek <jakub@redhat.com>
3671
3672 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3673 /* FALLTHRU */ comments.
3674
c6c82710
GP
36752017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3676
3677 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3678
a876231c
JW
36792017-01-20 Jiong Wang <jiong.wang@arm.com>
3680
3681 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3682 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3683 DW_CFA_GNU_window_save for AArch64 and LP64.
3684
aa348be2
JW
36852017-01-20 Jiong Wang <jiong.wang@arm.com>
3686
3687 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3688
5636faf2
JW
36892017-01-19 Jiong Wang <jiong.wang@arm.com>
3690
3691 * config/aarch64/aarch64-unwind.h: New file.
3692 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3693 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3694 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3695 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3696 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3697 (aarch64_post_extract_frame_addr): New function.
3698 (aarch64_post_frob_eh_handler_addr): New function.
3699 (aarch64_frob_update_context): New function.
3700 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3701 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3702 aarch64*-*-freebsd*):
3703 Initialize md_unwind_header to include aarch64-unwind.h.
3704 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3705 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3706 __aarch64__.
3707 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3708 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3709 (uw_frob_return_addr): New function.
3710 (uw_install_context): Use uw_frob_return_addr.
3711
3c36aa6b
JJ
37122017-01-17 Jakub Jelinek <jakub@redhat.com>
3713
3714 PR other/79046
3715 * configure.ac: Add GCC_BASE_VER.
3716 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3717 version from BASE-VER file.
3718 * configure: Regenerated.
3719
829afb8f
JS
37202017-01-13 Joe Seymour <joe.s@somniumtech.com>
3721
3722 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3723 libmul_f5.a): Filter archived prerequisites.
3724
79fc8ffe
AS
37252017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3726
3727 * config/i386/cpuinfo.h (processor_features): Add
3728 FEATURE_AVX512VPOPCNTDQ.
3729 * config/i386/cpuinfo.c (get_available_features): Habdle new
3730 feature.
3731
fec5f4e0
JM
37322017-01-04 Joseph Myers <joseph@codesourcery.com>
3733
3734 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3735 payload if [__mips_nan2008].
3736
8f56cb51
AM
37372017-01-04 Alan Modra <amodra@gmail.com>
3738
3739 * Makefile.in (configure_deps): Update.
3740 * configure: Regenerate.
3741
cbe34bb5
JJ
37422017-01-01 Jakub Jelinek <jakub@redhat.com>
3743
3744 Update copyright years.
3745
ab955692
KW
37462016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3747
3748 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3749 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3750 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3751
de34320f
MK
37522016-12-17 Matthias Klose <doko@ubuntu.com>
3753
3754 * config/arc/gmon: Remove empty directory.
3755
e04ea1da
CZ
37562016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3757
3758 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3759 crtgend.
3760 (arc*-*-elf*): Likewise.
3761 * config/arc/t-arc: Remove old gmon lib targets.
3762 * config/arc/crtg.S: Remove.
3763 * config/arc/crtgend.S: Likewise.
3764 * config/arc/gmon/atomic.h: Likewise.
3765 * config/arc/gmon/auxreg.h: Likewise.
3766 * config/arc/gmon/dcache_linesz.S: Likewise.
3767 * config/arc/gmon/gmon.c: Likewise.
3768 * config/arc/gmon/machine-gmon.h: Likewise.
3769 * config/arc/gmon/mcount.c: Likewise.
3770 * config/arc/gmon/prof-freq-stub.S: Likewise.
3771 * config/arc/gmon/prof-freq.c: Likewise.
3772 * config/arc/gmon/profil.S: Likewise.
3773 * config/arc/gmon/sys/gmon.h: Likewise.
3774 * config/arc/gmon/sys/gmon_out.h: Likewise.
3775 * config/arc/t-arc-newlib: Likewise.
3776 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3777
8ae1c2c1
GS
37782016-12-12 George Spelvin <linux@sciencehorizons.net>
3779
3780 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3781
a5b947fa
GS
37822016-12-12 George Spelvin <linux@sciencehorizons.net>
3783
3784 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3785 R16 instead of push + pop.
3786 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3787
d6574dd1
KW
37882016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3789
3790 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3791 tmake_file.
3792
62440b4f
CM
37932016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3794
3795 * config.host (arc*-*-linux-uclibc*): Use default extra
3796 objects. Include linux-android header.
3797 * config/arc/crti.S (_init): Declare symbol as function.
3798 (_fini): Likewise.
3799
31cfd832
TK
38002016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3801
3802 PR fortran/78379
3803 * config/i386/cpuinfo.c: Move denums for processor vendors,
3804 processor type, processor subtypes and declaration of
3805 struct __processor_model into
3806 * config/i386/cpuinfo.h: New header file.
3807
c92e08e3
AV
38082016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3809 Thomas Preud'homme <thomas.preudhomme@arm.com>
3810
3811 * config/arm/cmse_nonsecure_call.S: New.
3812 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3813
de7b5723
AV
38142016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3815 Thomas Preud'homme <thomas.preudhomme@arm.com>
3816
3817 * config/arm/t-arm (HAVE_CMSE): New.
3818 * config/arm/cmse.c: New.
3819
7a0d2bce
TP
38202016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3821
b3a5bff4
TP
3822 PR gcc/74748
3823 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3824 use generic linker version information on Blackfin.
3825
7a0d2bce
TP
3826 PR gcc/74748
3827 * libgcc/mkmap-symver.awk: add support for skip_underscore
3828
b410cf1d
IS
38292016-11-27 Iain Sandoe <iain@codesourcery.com>
3830 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3831
3832 PR target/67710
3833 * config/t-darwin: Default builds to 10.5 codegen.
3834
2e5f8203
JG
38352016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3836
3837 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3838 (_FP_NANSIGN_H): Likewise.
3839 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3840 (softfp_truncations): Add tfhf.
3841 (softfp_extras): Add required conversion functions.
3842
bea64ca3
JG
38432016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3844 Matthew Wahab <matthew.wahab@arm.com>
3845
3846 * config/arm/fp16.c (binary64): New.
3847 (__gnu_d2h_internal): New.
3848 (__gnu_d2h_ieee): New.
3849 (__gnu_d2h_alternative): New.
3850
8630cadb
JG
38512016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3852 Matthew Wahab <matthew.wahab@arm.com>
3853
3854 * config/arm/fp16.c (struct format): New.
3855 (binary32): New.
3856 (__gnu_float2h_internal): New. Body moved from
3857 __gnu_f2h_internal and generalize.
3858 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3859 Call it with binary32.
3860
5823ef23
JG
38612016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3862
3863 * soft-fp/extendhftf2.c: Update from glibc.
3864 * soft-fp/fixhfti.c: Likewise.
3865 * soft-fp/fixunshfti.c: Likewise.
3866 * soft-fp/floattihf.c: Likewise.
3867 * soft-fp/floatuntihf.c: Likewise.
3868 * soft-fp/half.h: Likewise.
3869 * soft-fp/trunctfhf2.c: Likewise.
3870
62a7df9f
MG
38712016-11-20 Marc Glisse <marc.glisse@inria.fr>
3872
3873 PR libgcc/77813
3874 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3875 __TMC_END__ behind a passthrough asm.
3876
7a384912
WL
38772016-11-18 Walter Lee <walt@tilera.com>
3878
62a7df9f 3879 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 3880
9775c1a5
L
38812016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3882
3883 * config/i386/cpuinfo.c (processor_features): Add
3884 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3885
48c842ab
CZ
38862016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3887
3888 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3889 (__ARC_NORM__): Use instead ARC_OPTFPE.
3890 * config/arc/fp-hack.h: Likewise.
3891 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3892 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3893
5012919d
AM
38942016-11-16 Alexander Monakov <amonakov@ispras.ru>
3895
3896 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3897 * config/nvptx/mgomp.c: New file.
3898 * config/nvptx/t-nvptx: Add mgomp.c
3899
00178b98
WB
39002016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3901
3902 PR libgcc/68468
3903 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3904
d64af69f
CZ
39052016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3906
3907 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3908 of checking for cpus.
3909 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3910 (__modsi3, __clzsi2): Likewise.
3911
9d8f95de
SN
39122016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3913
3914 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3915 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3916 * config/i386/t-cpuinfo-static: New.
3917
7d29f8e3
ML
39182016-11-03 Martin Liska <mliska@suse.cz>
3919
3920 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3921 (__gcov_time_profiler_atomic): Likewise.
3922
5de3e2d8
BE
39232016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3924
3925 PR libgcc/78067
3926 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3927 count_leading_zeros.
3928
18362447
UB
39292016-11-02 Uros Bizjak <ubizjak@gmail.com>
3930
3931 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3932 * libgcc2.c (__divmoddi4): New function.
3933 * libgcc2.h (__divmoddi4): Declare.
3934 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3935 and __PFX_divmodti4.
3936
33107571
FW
39372016-10-24 Florian Weimer <fweimer@redhat.com>
3938
3939 PR libgcc/78064
3940 * unwind-c.c: Include auto-target.h.
3941
4c6d7494
JDA
39422016-10-19 John David Anglin <danglin@gcc.gnu.org>
3943
18362447 3944 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
3945 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3946 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3947 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3948 hppa*64*-*-hpux11*.
3949
2a26adf1
MF
39502016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3951
3952 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3953 definition.
3954 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3955 definition.
3956 * config/xtensa/t-windowed (LIB2ADDEH): Use
3957 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3958 or xtensa/t-linux.
3959
66192aa1
DKC
39602016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3961
3962 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3963 __ieee754_sqrt): New functions.
3964 (__divdf3): Add implementation with new FPU instructions under
3965 #if XCHAL_HAVE_DFP_DIV.
3966 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3967 __ieee754_sqrtf): New functions.
3968 (__divsf3): Add implementation with new FPU instructions under
3969 #if XCHAL_HAVE_FP_DIV.
3970 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3971 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3972
4d0cdd0c
TP
39732016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3974
3975 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3976 equivalent.
3977 * config/tilepro/atomic.c: Likewise and stop casting model to
3978 enum memmodel.
3979
73f01cca
JM
39802016-10-10 Joseph Myers <joseph@codesourcery.com>
3981
3982 PR target/77586
3983 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3984 soft-fp.
3985
b20e7532
AT
39862016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3987
3988 * config.host: Add support for aarch64-*-freebsd*.
3989
a786cec4
AS
39902016-10-05 Andreas Schwab <schwab@suse.de>
3991
3992 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3993 (.section .init_array): Don't call __do_jv_register_classes.
3994 (.section .init): Likewise.
3995
5a79befb
JJ
39962016-10-04 Jakub Jelinek <jakub@redhat.com>
3997
3998 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3999 (__JCR_LIST__): Remove.
4000 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4001 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4002 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4003 * config/ia64/crtend.S (__JCR_END__): Remove.
4004 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4005 conditionals.
4006 (__JCR_LIST__, __JCR_END__): Remove.
4007 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4008 (__do_global_ctors_1): Likewise.
4009
e0ab3753
UB
40102015-09-28 Uros Bizjak <ubizjak@gmail.com>
4011
4012 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4013 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4014
8c9434c2
ML
40152016-09-27 Martin Liska <mliska@suse.cz>
4016
4017 PR gcov-profile/7970
4018 PR gcov-profile/16855
4019 PR gcov-profile/44779
4020 * libgcov-driver.c (__gcov_init): Do not register a atexit
4021 handler.
4022 (__gcov_exit): Rename from gcov_exit.
4023 * libgcov.h (__gcov_exit): Declare.
4024
56b653f1
ML
40252016-09-27 Martin Liska <mliska@suse.cz>
4026
4027 PR bootstrap/77749
4028 * Makefile.in: Remove _gcov_merge_delta.
4029 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4030 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4031 * libgcov.h: Remove declaration of __gcov_merge_delta.
4032
7e02fd1b
EB
40332016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4034
4035 * configure.ac: Do not create links, only substitute the filenames.
4036 * configure: Regenerate.
4037 * Makefile.in: Assign the substitution results to variables.
4038 (LIBGCC_LINKS): Define.
4039 (enable-execute-stack.c): New rule.
4040 (unwind.h): Likewise.
4041 (md-unwind-support.h): Likewise.
4042 (sfp-machine.h): Likewise.
4043 (gthr-default.h): Likewise.
4044 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4045 unwind.h as prerequisite of install-unwind_h-forbuild.
4046
29991048
JJ
40472016-09-16 Jakub Jelinek <jakub@redhat.com>
4048
4049 PR libgcc/71744
4050 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4051 is not the primary registry and atomics are available.
4052 (any_objects_registered): New variable.
4053 (__register_frame_info_bases, __register_frame_info_table_bases):
4054 Atomically store 1 to any_objects_registered after registering first
4055 unwind info.
4056 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4057
0abcd6cc
JG
40582016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4059
4060 PR target/63250
4061 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4062 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4063 (HFtype): Likewise.
4064 (HCtype): Likewise.
4065 (__divhc3): Likewise.
4066 (__mulhc3): Likewise.
4067 * libgcc2.c: Support _mulhc3 and _divhc3.
4068
d758aeb5
JM
40692016-09-07 Joseph Myers <joseph@codesourcery.com>
4070
4071 PR libgcc/77519
4072 * libgcc2.c (NOTRUNC): Invert settings.
4073
7fe76f6a
ML
40742016-09-06 Martin Liska <mliska@suse.cz>
4075
4076 PR gcov-profile/77378
4077 PR gcov-profile/77466
4078 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4079 conditionaly enable/disable *_atomic functions.
4080
21184026
JM
40812016-08-26 Joseph Myers <joseph@codesourcery.com>
4082
4083 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4084 where not already enabled.
4085
726f49c3
SN
40862016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4087
4088 * config/mips/linux-unwind.h: Use sys/syscall.h.
4089
feeb6268
JM
40902016-08-16 Joseph Myers <joseph@codesourcery.com>
4091
4092 PR libgcc/77265
4093 * soft-fp/adddf3.c: Update from glibc.
4094 * soft-fp/addsf3.c: Likewise.
4095 * soft-fp/addtf3.c: Likewise.
4096 * soft-fp/divdf3.c: Likewise.
4097 * soft-fp/divsf3.c: Likewise.
4098 * soft-fp/divtf3.c: Likewise.
4099 * soft-fp/double.h: Likewise.
4100 * soft-fp/eqdf2.c: Likewise.
4101 * soft-fp/eqsf2.c: Likewise.
4102 * soft-fp/eqtf2.c: Likewise.
4103 * soft-fp/extenddftf2.c: Likewise.
4104 * soft-fp/extended.h: Likewise.
4105 * soft-fp/extendsfdf2.c: Likewise.
4106 * soft-fp/extendsftf2.c: Likewise.
4107 * soft-fp/extendxftf2.c: Likewise.
4108 * soft-fp/fixdfdi.c: Likewise.
4109 * soft-fp/fixdfsi.c: Likewise.
4110 * soft-fp/fixdfti.c: Likewise.
4111 * soft-fp/fixsfdi.c: Likewise.
4112 * soft-fp/fixsfsi.c: Likewise.
4113 * soft-fp/fixsfti.c: Likewise.
4114 * soft-fp/fixtfdi.c: Likewise.
4115 * soft-fp/fixtfsi.c: Likewise.
4116 * soft-fp/fixtfti.c: Likewise.
4117 * soft-fp/fixunsdfdi.c: Likewise.
4118 * soft-fp/fixunsdfsi.c: Likewise.
4119 * soft-fp/fixunsdfti.c: Likewise.
4120 * soft-fp/fixunssfdi.c: Likewise.
4121 * soft-fp/fixunssfsi.c: Likewise.
4122 * soft-fp/fixunssfti.c: Likewise.
4123 * soft-fp/fixunstfdi.c: Likewise.
4124 * soft-fp/fixunstfsi.c: Likewise.
4125 * soft-fp/fixunstfti.c: Likewise.
4126 * soft-fp/floatdidf.c: Likewise.
4127 * soft-fp/floatdisf.c: Likewise.
4128 * soft-fp/floatditf.c: Likewise.
4129 * soft-fp/floatsidf.c: Likewise.
4130 * soft-fp/floatsisf.c: Likewise.
4131 * soft-fp/floatsitf.c: Likewise.
4132 * soft-fp/floattidf.c: Likewise.
4133 * soft-fp/floattisf.c: Likewise.
4134 * soft-fp/floattitf.c: Likewise.
4135 * soft-fp/floatundidf.c: Likewise.
4136 * soft-fp/floatundisf.c: Likewise.
4137 * soft-fp/floatunditf.c: Likewise.
4138 * soft-fp/floatunsidf.c: Likewise.
4139 * soft-fp/floatunsisf.c: Likewise.
4140 * soft-fp/floatunsitf.c: Likewise.
4141 * soft-fp/floatuntidf.c: Likewise.
4142 * soft-fp/floatuntisf.c: Likewise.
4143 * soft-fp/floatuntitf.c: Likewise.
4144 * soft-fp/gedf2.c: Likewise.
4145 * soft-fp/gesf2.c: Likewise.
4146 * soft-fp/getf2.c: Likewise.
4147 * soft-fp/ledf2.c: Likewise.
4148 * soft-fp/lesf2.c: Likewise.
4149 * soft-fp/letf2.c: Likewise.
4150 * soft-fp/muldf3.c: Likewise.
4151 * soft-fp/mulsf3.c: Likewise.
4152 * soft-fp/multf3.c: Likewise.
4153 * soft-fp/negdf2.c: Likewise.
4154 * soft-fp/negsf2.c: Likewise.
4155 * soft-fp/negtf2.c: Likewise.
4156 * soft-fp/op-1.h: Likewise.
4157 * soft-fp/op-2.h: Likewise.
4158 * soft-fp/op-4.h: Likewise.
4159 * soft-fp/op-8.h: Likewise.
4160 * soft-fp/op-common.h: Likewise.
4161 * soft-fp/quad.h: Likewise.
4162 * soft-fp/single.h: Likewise.
4163 * soft-fp/soft-fp.h: Likewise.
4164 * soft-fp/subdf3.c: Likewise.
4165 * soft-fp/subsf3.c: Likewise.
4166 * soft-fp/subtf3.c: Likewise.
4167 * soft-fp/truncdfsf2.c: Likewise.
4168 * soft-fp/trunctfdf2.c: Likewise.
4169 * soft-fp/trunctfsf2.c: Likewise.
4170 * soft-fp/trunctfxf2.c: Likewise.
4171 * soft-fp/unorddf2.c: Likewise.
4172 * soft-fp/unordsf2.c: Likewise.
4173 * soft-fp/unordtf2.c: Likewise.
4174
2e6fc1ac
GG
41752016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4176
4177 PR gcov-profile/67097
4178 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4179
a266236e
ML
41802016-08-10 Martin Liska <mliska@suse.cz>
4181
4182 PR gcov-profile/58306
4183 * Makefile.in: New functions (modules) are added.
4184 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4185 function.
4186 (__gcov_pow2_profiler_atomic): New function.
4187 (__gcov_one_value_profiler_body): New argument is instroduced.
4188 (__gcov_one_value_profiler): Call with the new argument.
4189 (__gcov_one_value_profiler_atomic): Likewise.
4190 (__gcov_indirect_call_profiler_v2): Likewise.
4191 (__gcov_time_profiler_atomic): New function.
4192 (__gcov_average_profiler_atomic): Likewise.
4193 (__gcov_ior_profiler_atomic): Likewise.
4194 * libgcov.h: Declare the aforementioned functions.
4195
e0c8eebf
ML
41962016-08-09 Martin Liska <mliska@suse.cz>
4197
4198 * libgcov-util.c: Fix typo and GNU coding style.
4199
6dce6418
ML
42002016-08-09 Martin Liska <mliska@suse.cz>
4201
4202 * Makefile.in: Remove __gcov_indirect_call_profiler.
4203 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4204 function.
4205 * libgcov.h: And the declaration of the function.
4206
dcb1e137
ML
42072016-08-09 Martin Liska <mliska@suse.cz>
4208
4209 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4210 power of two.
4211
d6e69705
BS
42122016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4213
4214 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4215 * config/rs6000/_mulkc3.c: Likewise.
4216
96aa1f95
GJL
42172016-07-29 Georg-Johann Lay <avr@gjlay.de>
4218
4219 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4220 zero_reg as previous call to __umulhisi3 already cleared it.
4221
a1b01d34
AJ
42222016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4223
4224 PR target/59833
4225 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4226
985a47b2
NC
42272016-07-19 Nick Clifton <nickc@redhat.com>
4228
4229 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4230 Add crtinit.o and crtfini.o to extra_parts.
4231
f906f5ed
BS
42322016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4233
4234 * config/rs6000/_divkc3.c: New.
4235 * config/rs6000/_mulkc3.c: New.
4236 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4237 and _divkc3.
4238 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4239 fp128_ppc_funcs.
4240
82742404
HW
42412016-07-11 Hale Wang <hale.wang@arm.com>
4242 Andre Vieira <andre.simoesdiasvieira@arm.com>
4243
4244 * config/arm/lib1funcs.S: Add new wrapper.
4245
05a437c1
TP
42462016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4247
4248 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4249
3d16d9ec
TP
42502016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4251
4252 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4253 and ARMv5t* rather than for a fixed list of architectures.
4254
6f493951
TP
42552016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4256
4257 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4258 implementation suitable for.
4259 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4260 for all Thumb-1 only targets.
4261 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4262 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4263 __ARM_ARCH_6M__.
4264 (EQUIV): Likewise.
4265 (ARM_FUNC_ALIAS): Likewise.
4266 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4267 version.
4268 (modsi3): Likewise.
4269 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4270 (clzdi2): Likewise.
4271 (ctzsi2): Likewise.
4272 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4273 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4274 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4275 __ARM_ARCH_6M__ and add comment to indicate the connection between
4276 this condition and the one in gcc/config/arm/elf.h.
4277 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4278 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4279 * config/arm/t-softfp: Likewise.
4280
1770511a
TS
42812016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4282
4283 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4284 CTOR_LISTS_DEFINED_EXTERNALLY.
4285
ba6be749
WL
42862016-06-28 Walter Lee <walt@tilera.com>
4287
4288 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4289 asm/unistd.h.
4290 (SPR_CMPEXCH_VALUE): Define for tilegx.
4291 (__NR_FAST_cmpxchg): Define for tilepro.
4292 (__NR_FAST_atomic_update): Define for tilepro.
4293 (__NR_FAST_cmpxchg64): Define for tilepro.
4294
a34c0db5
JS
42952016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4296
18362447 4297 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 4298
0609abda
TS
42992016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4300
4301 * config.host: Remove support for mep-*.
4302 * config/mep/lib1funcs.S: Remove.
4303 * config/mep/lib2funcs.c: Remove.
4304 * config/mep/t-mep: Remove.
4305 * config/mep/tramp.c: Remove.
4306
3e326935
TS
43072016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4308
4309 * config.host: Remove support for avr-rtems.
4310 * config/avr/t-rtems: Remove.
4311
914b155c
TS
43122016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4313
4314 * config.host: Remove m32r-rtems support.
4315
5ebf89bd
TS
43162016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4317
4318 * config.host: Remove h8300-rtems support.
4319
8466af06
TS
43202016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4321
4322 * config.host: Remove support for knetbsd.
4323
d980e738
TS
43242016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4325
4326 * config.host: Remove support for openbsd 2 and 3.
4327
ee2499b4
TS
43282016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4329
4330 * config.host: Remove interix support.
4331 * config/i386/t-interix: Remove.
4332
9f92937b
JDA
43332016-06-18 John David Anglin <danglin@gcc.gnu.org>
4334
4335 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4336 least-significant bit in function pointer for fixup.
4337
0a0ec53d
AC
43382016-06-05 Aaron Conole <aconole@redhat.com>
4339 Nathan Sidwell <nathan@acm.org>
4340
4341 PR libgcc/71400
4342 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4343 (get_gcov_error_file): Check __gcov_error_file before trying to
4344 initialize it.
4345 (gcov_error): Always use get_gcov_error_file.
4346
8aa5bdd6
AC
43472016-06-02 Aaron Conole <aconole@redhat.com>
4348
4349 * libgcov-driver-system.c (__gcov_error_file): New.
4350 (get_gcov_error_file): New.
4351 (gcov_error): Use and set __gcov_error_file.
4352 (gcov_error_exit): New.
4353 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4354
40774faf
NS
43552016-05-26 Nathan Sidwell <nathan@acm.org>
4356
4357 * config/nvptx/free.asm: Delete.
4358 * config/nvptx/malloc.asm: Delete.
4359 * config/nvptx/realloc.c: Delete.
4360 * t-nvptx: Update.
4361
69a6d5ad
NS
43622016-05-25 Nathan Sidwell <nathan@acm.org>
4363
4364 * config/nvptx/crt0.s: Delete.
4365 * config/nvptx/crt0.c: New.
4366 * t-nvptx: Update.
4367
6befaff6
SL
43682016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4369
385c7747 4370 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
4371 dw2/seh configuration.
4372 [x86_64-*-mingw*]: Likewise.
4373
ad251dfd
JS
43742016-05-10 Joel Sherrill <joel@rtems.org>
4375
4376 PR libgcc/70720
4377 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4378 targets so the same extra_parts are built. Also have tmake_file add
4379 on to its value rather than override.
4380
bc6d9014
OE
43812016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4382
4383 * config.host: Remove SH5 support.
4384 * configure: Likewise.
4385
9129c8cf
OE
43862016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4387
4388 * config/sh/crt1.S: Remove SH5 support.
4389 * config/sh/crti.S: Likewise.
4390 * config/sh/crtn.S: Likewise.
4391 * config/sh/lib1funcs-4-300.S: Likewise.
4392 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4393 * config/sh/lib1funcs.S: Likewise.
4394 * config/sh/linux-unwind.h: Likewise.
4395 * config/sh/t-sh64: Delete.
4396
39d50464
CZ
43972016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4398
4399 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4400
8b48923b
CZ
44012016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4402 Joern Rennecke <joern.rennecke@embecosm.com>
4403
4404 * config/arc/crttls.S: New file.
4405 * config/arc/t-arc: New rule.
4406 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4407
2de1cf8c
NC
44082016-04-25 Nick Clifton <nickc@redhat.com>
4409
4410 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4411 (__mspabi_cmpd): Likewise.
4412 * config/msp430/floathidf.c (__floathidf): Likewise.
4413 * config/msp430/floathisf.c (__floathisf): Likewise
4414 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4415 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4416 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4417 second parameter.
4418 (__ashrsi3): Likewise.
4419
b8ce3fe2
WB
44202016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4421
4422 * config/m68k/linux-atomic.c: Do not include unistd.h
4423
4986f823
MG
44242016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4425
4426 * config/arm/ieee754-df.S: Fix typos in comments.
4427
35fbda43
MM
44282016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4429
4430 PR target/70381
4431 * configure.ac (powerpc*-*-linux*): Rework tests to build
4432 __float128 emulation routines to not depend on using #pragma GCC
4433 target to enable -mfloat128.
4434 * configure: Regnerate.
4435
72d1a48d
EB
44362016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4437
4438 PR target/67172
4439 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4440 __MINGW32__ is defined.
4441
dc2e8995
JB
44422016-03-28 James Bowman <james.bowman@ftdichip.com>
4443
385c7747 4444 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 4445
104cdaf1
MM
44462016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4447
4448 PR libgcc/70363
4449 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4450 built with an assembler that does not support ISA 3.0
4451 instructions, rename __extendkftf2_sw to __extendkftf2.
4452
a5046f48
RO
44532016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4454
4455 PR target/38239
4456 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4457 call-clobbered registers.
4458 (internal_mcount): Remove __i386__ handling.
4459
df674f74
JS
44602016-02-26 Joel Sherrill <joel@rtems.org>
4461
4462 * config.host: Add x86_64-*-rtems*.
4463
7cb065d6
JS
44642016-02-26 Joel Sherrill <joel@rtems.org>
4465
4466 * libgcc/config.host: Add aarch64-*-rtems*.
4467
47dfdc53
PM
44682016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4469 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4470
4471 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4472 union of u64 and double.
4473 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4474 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4475 value.
4476 (FP_ROUNDMODE): Update the usage of _fpscr.
4477
e6861a99
IV
44782016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4479
4480 PR driver/68463
4481 * Makefile.in (crtoffloadtable$(objext)): New rule.
4482 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4483 enable_offload_targets is not empty.
4484 * configure: Regenerate.
4485 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4486 crtoffloadtable.
4487
9bfcbdee
MF
44882016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4489
4490 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4491 .literal_position before the function.
4492 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4493 Likewise.
4494
4cb4721f
MK
44952016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4496
4497 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4498 * config/s390/morestack.S: New file.
4499 * config/s390/t-stack-s390: New file.
4500 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4501
b29d9a29
WL
45022016-02-12 Walter Lee <walt@tilera.com>
4503
4504 * config.host (tilegx*-*-linux*): remove ti from
4505 softfp_int_modes for 32-bit configs.
4506
03a0ae7d
ILT
45072016-02-10 Ian Lance Taylor <iant@google.com>
4508
4509 PR go/68562
4510 * config/i386/morestack.S (__stack_split_initialize): Align
4511 stack.
4512
68750bce
AT
45132016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4514
4515 PR bootstrap/69611
4516 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4517 __FLOAT128__ to compile only for __float128 capable targets.
4518
7d296953
JJ
45192016-01-25 Jakub Jelinek <jakub@redhat.com>
4520
4521 PR target/69444
4522 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4523 instead of ___NO_FPRS__.
4524
a71c0334 45252016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4526 Steven Munroe <munroesj@linux.vnet.ibm.com>
4527 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
4528
4529 * config/rs6000/float128-sed: New files to convert TF names to KF
4530 names for PowerPC IEEE 128-bit floating point support.
4531 * config/rs6000/float128-sed-hw: Likewise.
4532
4533 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4534 floating point hardware support.
4535
4536 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4537 128-bit floating point software emulation or use ISA 3.0 hardware
4538 support if it is available.
4539
4540 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4541 floating point.
4542
4543 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4544 floating point to IBM extended double.
4545
4546 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4547 double to IEEE 128-bit floating point.
4548
4549 * config/rs6000/t-float128: New Makefile fragments to enable
4550 building __float128 emulation support.
4551 * config/rs6000/t-float128-hw: Likewise.
4552
4553 * config/rs6000/sfp-exceptions.c: New file to provide exception
4554 support for IEEE 128-bit floating point.
4555
4556 * config/rs6000/floattikf.c: New files for converting between IEEE
4557 128-bit floating point and signed/unsigned 128-bit integers.
4558 * config/rs6000/fixunskfti.c: Likewise.
4559 * config/rs6000/fixkfti.c: Likewise.
4560 * config/rs6000/floatuntikf.c: Likewise.
4561
4562 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4563 when building on 64-bit systems, or when VSX is enabled.
4564 (_FP_W_TYPE): Likewise.
4565 (_FP_WS_TYPE): Likewise.
4566 (_FP_I_TYPE): Likewise.
4567 (TItype): Define on 64-bit systems.
4568 (UTItype): Likewise.
4569 (TI_BITS): Likewise.
4570 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4571 (_FP_MUL_MEAT_Q): Likewise.
4572 (_FP_DIV_MEAT_D): Likewise.
4573 (_FP_DIV_MEAT_Q): Likewise.
4574 (_FP_NANFRAC_D): Likewise.
4575 (_FP_NANFRAC_Q): Likewise.
4576 (ISA_BIT): Add exception support if we are being compiled on a
4577 machine with hardware floating point support to build the IEEE
4578 128-bit emulation functions.
4579 (FP_EX_INVALID): Likewise.
4580 (FP_EX_OVERFLOW): Likewise.
4581 (FP_EX_UNDERFLOW): Likewise.
4582 (FP_EX_DIVZERO): Likewise.
4583 (FP_EX_INEXACT): Likewise.
4584 (FP_EX_ALL): Likewise.
4585 (__sfp_handle_exceptions): Likewise.
4586 (FP_HANDLE_EXCEPTIONS): Likewise.
4587 (FP_RND_NEAREST): Likewise.
4588 (FP_RND_ZERO): Likewise.
4589 (FP_RND_PINF): Likewise.
4590 (FP_RND_MINF): Likewise.
4591 (FP_RND_MASK): Likewise.
4592 (_FP_DECL_EX): Likewise.
4593 (FP_INIT_ROUNDMODE): Likewise.
4594 (FP_ROUNDMODE): Likewise.
4595
4596 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4597 VSX code, enable IEEE 128-bit floating point. If the compiler can
4598 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4599 floating point hardware instructions and it supports declaring
4600 functions with the ifunc attribute, enable ifunc functions to
4601 switch between software and hardware support.
4602 * configure.ac (powerpc*-*-linux*): Likewise.
4603 * configure: Regenerate.
4604
bdc27e50
NC
46052016-01-15 Nick Clifton <nickc@redhat.com>
4606
4607 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4608 dependency as the source file to be compiled.
4609 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4610 (lib2hw_mul_f5.o): Likewise.
4611
006df05d
MM
46122016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4613
4614 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4615 * libgcc/config/rs6000/fixkfti.c: Likewise.
4616 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4617 * libgcc/config/rs6000/float128-hw.c: Likewise.
4618 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4619 * libgcc/config/rs6000/float128-sed: Likewise.
4620 * libgcc/config/rs6000/floattikf.c: Likewise.
4621 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4622 * libgcc/config/rs6000/quad-float128.h: Likewise.
4623 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4624 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4625 * libgcc/config/rs6000/t-float128: Likewise.
4626 * libgcc/config/rs6000/t-float128-hw: Likewise.
4627 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4628 * libgcc/config.host: Likewise.
4629 * libgcc/configure: Likewise.
4630 * libgcc/configure.ac: Likewise.
4631
29176d57 46322016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4633 Steven Munroe <munroesj@linux.vnet.ibm.com>
4634 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
4635
4636 * config/rs6000/sfp-exceptions.c: New file to provide exception
4637 support for IEEE 128-bit floating point.
4638
4639 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4640 floating point hardware support.
4641
4642 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4643 point conversions.
4644 * config/rs6000/fixunskfti.c: Likewise.
4645 * config/rs6000/fixkfti.c: Likewise.
4646 * config/rs6000/floatuntikf.c: Likewise.
4647 * config/rs6000/extendkftf2-sw.c: Likewise.
4648 * config/rs6000/trunctfkf2-sw.c: Likewise.
4649
4650 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4651 128-bit floating point software emulation or use ISA 3.0 hardware
4652 support if it is available.
4653
4654 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4655 floating point.
4656
4657 * config/rs6000/t-float128: New Makefile fragments to enable
4658 building __float128 emulation support.
4659 * config/rs6000/t-float128-hw: Likewise.
4660
4661 * config/rs6000/float128-sed: New file to convert TF names to KF
4662 names for PowerPC IEEE 128-bit floating point support.
4663
4664 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4665 when building on 64-bit systems, or when VSX is enabled.
4666 (_FP_W_TYPE): Likewise.
4667 (_FP_WS_TYPE): Likewise.
4668 (_FP_I_TYPE): Likewise.
4669 (TItype): Define on 64-bit systems.
4670 (UTItype): Likewise.
4671 (TI_BITS): Likewise.
4672 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4673 (_FP_MUL_MEAT_Q): Likewise.
4674 (_FP_DIV_MEAT_D): Likewise.
4675 (_FP_DIV_MEAT_Q): Likewise.
4676 (_FP_NANFRAC_D): Likewise.
4677 (_FP_NANFRAC_Q): Likewise.
4678 (ISA_BIT): Add exception support if we are being compiled on a
4679 machine with hardware floating point support to build the IEEE
4680 128-bit emulation functions.
4681 (FP_EX_INVALID): Likewise.
4682 (FP_EX_OVERFLOW): Likewise.
4683 (FP_EX_UNDERFLOW): Likewise.
4684 (FP_EX_DIVZERO): Likewise.
4685 (FP_EX_INEXACT): Likewise.
4686 (FP_EX_ALL): Likewise.
4687 (__sfp_handle_exceptions): Likewise.
4688 (FP_HANDLE_EXCEPTIONS): Likewise.
4689 (FP_RND_NEAREST): Likewise.
4690 (FP_RND_ZERO): Likewise.
4691 (FP_RND_PINF): Likewise.
4692 (FP_RND_MINF): Likewise.
4693 (FP_RND_MASK): Likewise.
4694 (_FP_DECL_EX): Likewise.
4695 (FP_INIT_ROUNDMODE): Likewise.
4696 (FP_ROUNDMODE): Likewise.
4697
4698 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4699 compiler can do __float128.
4700 * configure: Regenerate.
4701
4702 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4703 VSX code, enable IEEE 128-bit floating point.
4704
a2218983
OH
47052016-01-05 Olivier Hainque <hainque@adacore.com>
4706
4707 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 4708 specificities.
a2218983 4709
818ab71a
JJ
47102016-01-04 Jakub Jelinek <jakub@redhat.com>
4711
4712 Update copyright years.
4713
5a6c8ffa
AP
47142015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4715
4716 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 4717 soft-fp targets.
5a6c8ffa 4718
077067a5
BE
47192015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4720
4721 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4722 instead of abort to avoid dependency on stdlib.h.
4723
787c1027
JDA
47242015-12-09 John David Anglin <danglin@gcc.gnu.org>
4725
4726 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4727 to initialize call to __dl_fixup once.
4728
04a9ae28
NC
47292015-12-04 Nick Clifton <nickc@redhat.com>
4730
4731 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4732 Allow for the second argument being negative.
4733 * config.host (extra_parts): Define for MSP430. Create separate
4734 libraries for each of the hardware multiply formats.
4735 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4736 that are needed.
4737 * config/msp430/lib2mul.c: Likewise.
4738 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4739 Add rules to build hardware multiply libraries.
4740 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4741 __mspabi_divul function.
4742 (__mspabi_divllu): New stub function.
4743
9a32d437
JDA
47442015-12-01 John David Anglin <danglin@gcc.gnu.org>
4745
4746 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4747 fixup values if saved GOT address doesn't match runtime address.
4748 (fixup_branch_offset): Reorder list.
4749
e5ef217c
RO
47502015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4751
4752 * Makefile.in (VTV_CFLAGS): New variable.
4753 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4754 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4755 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4756 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4757 to extra_parts if $enable_vtable_verify = yes.
4758
78cc43a2
SN
47592015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4760
4761 PR target/68059
4762 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4763 (write): ...this and fix the return type.
4764
9afebea2
DD
47652015-11-19 DJ Delorie <dj@redhat.com>
4766
4767 * config/msp430/lib2hw_mul.S: Fix alignment.
4768
33f47f42
NS
47692015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4770
4771 * config/nvptx/reduction.c: New.
4772 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4773
d9adb476
DE
47742015-11-15 David Edelsohn <dje.gcc@gmail.com>
4775
4776 * config/rs6000/on_exit.c: New file.
4777 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4778 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4779
c0ab1970
CZ
47802015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4781
4782 * config/arc/dp-hack.h: Add support for ARCHS.
4783 * config/arc/ieee-754/divdf3.S: Likewise.
4784 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4785 * config/arc/ieee-754/muldf3.S: Likewise.
4786 * config/arc/ieee-754/mulsf3.S: Likewise
4787 * config/arc/lib1funcs.S: Likewise
4788 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4789 for ARCv2 cores.
4790 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4791 for ARCv2 cores.
4792 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4793 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4794 cores.
4795
e6b6bf09
RO
47962015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4797
4798 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4799 value.
4800 * config/ia64/crtend.S: Likewise.
4801
a153644f
TS
48022015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4803
4804 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4805 __CHAR_BIT__ instead of BITS_PER_UNIT.
4806 * fixed-bit.h: Likewise.
4807 * fp-bit.h: Likewise.
4808 * libgcc2.c (__popcountSI2): Likewise.
4809 (__popcountDI2): Likewise.
4810 * libgcc2.h: Likewise.
4811 * libgcov.h: Likewise.
4812
3dee689d
DE
48132015-11-07 David Edelsohn <dje.gcc@gmail.com>
4814
4815 * config/rs6000/atexit.c: New file.
4816 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4817 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4818 * config/rs6000/cxa_finalize.c
4819 (catomic_compare_and_exchange_bool_acq): Negate return value.
4820
2ef543e4
VK
48212015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4822
4823 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4824 (processor_subtypes): Add znver1.
4825 (get_amd_cpu): Detect znver1.
4826
1300f017
CL
48272015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4828
4829 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4830 Include crtfastmath.o.
4831
3e5bb7ee
JR
48322015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4833
4834 PR libgcc/66883
4835 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 4836
793aa938
KP
48372015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4838
4839 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4840 * config/rl78/divmodsi.S: Update return register to r8.
4841 * config/rl78/divmodhi.S: Update return register to r8,r9.
4842 Branch to main_loop_done_himode to pop registers before return.
4843
7d296953 48442015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
4845
4846 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4847 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4848
6a192b5a
KY
48492015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4850
4851 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4852
4a0a9457
MF
48532015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4854
4855 * config.host (xtensa*-*-uclinux*): New configuration.
4856
ab91c076
KY
48572015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4858
385c7747 4859 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
4860 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4861
30954527
JM
48622015-09-28 Joseph Myers <joseph@codesourcery.com>
4863
4864 * soft-fp/adddf3.c: Update from glibc.
4865 * soft-fp/addsf3.c: Likewise.
4866 * soft-fp/addtf3.c: Likewise.
4867 * soft-fp/divdf3.c: Likewise.
4868 * soft-fp/divsf3.c: Likewise.
4869 * soft-fp/divtf3.c: Likewise.
4870 * soft-fp/double.h: Likewise.
4871 * soft-fp/eqdf2.c: Likewise.
4872 * soft-fp/eqsf2.c: Likewise.
4873 * soft-fp/eqtf2.c: Likewise.
4874 * soft-fp/extenddftf2.c: Likewise.
4875 * soft-fp/extended.h: Likewise.
4876 * soft-fp/extendsfdf2.c: Likewise.
4877 * soft-fp/extendsftf2.c: Likewise.
4878 * soft-fp/extendxftf2.c: Likewise.
4879 * soft-fp/fixdfdi.c: Likewise.
4880 * soft-fp/fixdfsi.c: Likewise.
4881 * soft-fp/fixdfti.c: Likewise.
4882 * soft-fp/fixsfdi.c: Likewise.
4883 * soft-fp/fixsfsi.c: Likewise.
4884 * soft-fp/fixsfti.c: Likewise.
4885 * soft-fp/fixtfdi.c: Likewise.
4886 * soft-fp/fixtfsi.c: Likewise.
4887 * soft-fp/fixtfti.c: Likewise.
4888 * soft-fp/fixunsdfdi.c: Likewise.
4889 * soft-fp/fixunsdfsi.c: Likewise.
4890 * soft-fp/fixunsdfti.c: Likewise.
4891 * soft-fp/fixunssfdi.c: Likewise.
4892 * soft-fp/fixunssfsi.c: Likewise.
4893 * soft-fp/fixunssfti.c: Likewise.
4894 * soft-fp/fixunstfdi.c: Likewise.
4895 * soft-fp/fixunstfsi.c: Likewise.
4896 * soft-fp/fixunstfti.c: Likewise.
4897 * soft-fp/floatdidf.c: Likewise.
4898 * soft-fp/floatdisf.c: Likewise.
4899 * soft-fp/floatditf.c: Likewise.
4900 * soft-fp/floatsidf.c: Likewise.
4901 * soft-fp/floatsisf.c: Likewise.
4902 * soft-fp/floatsitf.c: Likewise.
4903 * soft-fp/floattidf.c: Likewise.
4904 * soft-fp/floattisf.c: Likewise.
4905 * soft-fp/floattitf.c: Likewise.
4906 * soft-fp/floatundidf.c: Likewise.
4907 * soft-fp/floatundisf.c: Likewise.
4908 * soft-fp/floatunditf.c: Likewise.
4909 * soft-fp/floatunsidf.c: Likewise.
4910 * soft-fp/floatunsisf.c: Likewise.
4911 * soft-fp/floatunsitf.c: Likewise.
4912 * soft-fp/floatuntidf.c: Likewise.
4913 * soft-fp/floatuntisf.c: Likewise.
4914 * soft-fp/floatuntitf.c: Likewise.
4915 * soft-fp/gedf2.c: Likewise.
4916 * soft-fp/gesf2.c: Likewise.
4917 * soft-fp/getf2.c: Likewise.
4918 * soft-fp/ledf2.c: Likewise.
4919 * soft-fp/lesf2.c: Likewise.
4920 * soft-fp/letf2.c: Likewise.
4921 * soft-fp/muldf3.c: Likewise.
4922 * soft-fp/mulsf3.c: Likewise.
4923 * soft-fp/multf3.c: Likewise.
4924 * soft-fp/negdf2.c: Likewise.
4925 * soft-fp/negsf2.c: Likewise.
4926 * soft-fp/negtf2.c: Likewise.
4927 * soft-fp/op-1.h: Likewise.
4928 * soft-fp/op-2.h: Likewise.
4929 * soft-fp/op-4.h: Likewise.
4930 * soft-fp/op-8.h: Likewise.
4931 * soft-fp/op-common.h: Likewise.
4932 * soft-fp/quad.h: Likewise.
4933 * soft-fp/single.h: Likewise.
4934 * soft-fp/soft-fp.h: Likewise.
4935 * soft-fp/subdf3.c: Likewise.
4936 * soft-fp/subsf3.c: Likewise.
4937 * soft-fp/subtf3.c: Likewise.
4938 * soft-fp/truncdfsf2.c: Likewise.
4939 * soft-fp/trunctfdf2.c: Likewise.
4940 * soft-fp/trunctfsf2.c: Likewise.
4941 * soft-fp/trunctfxf2.c: Likewise.
4942 * soft-fp/unorddf2.c: Likewise.
4943 * soft-fp/unordsf2.c: Likewise.
4944 * soft-fp/unordtf2.c: Likewise.
4945
4dfe21ac
RE
49462015-09-24 Richard Earnshaw <rearnsha@arm.com>
4947
4948 PR libgcc/67624
4949 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4950
df2a1cc4
RO
49512015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4952
4953 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4954 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4955 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4956 messages.
4957 (internal_mcount): Likewise.
4958 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4959 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4960
2d110442
RO
49612015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4962
4963 * configure.ac (libgcc_cv_solaris_crts): New test.
4964 * configure: Regenerate.
4965 * config.in: Regenerate.
4966 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4967 * config/gmon-sol2.c: Rename to ...
4968 * config/sol2/gmon.c: ... this.
4969 Include auto-target.h.
4970 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4971 * config/t-sol2: Rename to ...
4972 * config/sol2/t-sol2: ... this.
4973 (gmon.o): Reflect renaming.
4974 (crtp.o, crtpg.o): New rules.
4975 * config.host (*-*-solaris2*): Reflect renaming.
4976 Use system CRTs if present.
4977 Remove default CRT case.
4978
d572e439
JDA
49792015-09-23 John David Anglin <danglin@gcc.gnu.org>
4980
4981 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4982 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4983 __kernel_cmpxchg2.
4984 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4985 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4986 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4987 (__sync_lock_test_and_set_##WIDTH): Likewise.
4988 (__sync_lock_release_##WIDTH): Likewise.
4989 (__sync_fetch_and_##OP##_4): Change result to match type of
4990 __kernel_cmpxchg.
4991 (__sync_##OP##_and_fetch_4): Likewise.
4992 (__sync_val_compare_and_swap_4): Likewise.
4993 (__sync_bool_compare_and_swap_4): likewise.
4994 (__sync_lock_test_and_set_4): Likewise.
4995 (__sync_lock_release_4): Likewise.
4996 (FETCH_AND_OP_2): Add long long variants.
4997 (OP_AND_FETCH_2): Likewise.
4998 (COMPARE_AND_SWAP_2 ): Likewise.
4999 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5000 (SYNC_LOCK_RELEASE_2): Likewise.
5001 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5002
7d296953 50032015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5004
5005 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5006 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5007 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5008 (get_available_features): Habdle new features.
5009
131314e1
JB
50102015-09-21 James Bowman <james.bowman@ftdichip.com>
5011
5012 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5013 memory layout. Deal correctly with BSS region larger than 32K.
5014 Handle a watchdog reset like a power-on reset. Clean up unused
5015 code.
5016
04218b35
AD
50172015-09-18 Andrew Dixie <andrewd@gentrack.com>
5018 David Edelsohn <dje.gcc@gmail.com>
5019
5020 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5021 * config/rs6000/crtdbase.S: New file.
5022 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5023
c8338173
MF
50242015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5025
5026 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5027 Add support for call0 ABI.
5028
7a84bf71
JDA
50292015-09-13 John David Anglin <danglin@gcc.gnu.org>
5030
5031 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5032
4efab402
SH
50332015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5034
5035 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5036 (__GTHREAD_HAS_COND): Likewise.
5037 (__gthread_t): Likewise.
5038 (__gthread_cond_t): Likewise.
5039 (__gthread_time_t): Likewise.
5040 (__GTHREAD_MUTEX_INIT): Likewise.
5041 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5042 (__GTHREAD_COND_INIT): Likewise.
5043 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5044 (__GTHREAD_TIME_INIT): Likewise.
5045 (__gthread_create): Likewise.
5046 (__gthread_join): Likewise.
5047 (__gthread_detach): Likewise.
5048 (__gthread_equal): Likewise.
5049 (__gthread_self): Likewise.
5050 (__gthread_yield): Likewise.
5051 (__gthread_cond_broadcast): Likewise.
5052 (__gthread_cond_signal): Likewise.
5053 (__gthread_cond_wait): Likewise.
5054 (__gthread_cond_timedwait): Likewise.
5055 (__gthread_cond_wait_recursive): Likewise.
5056 (__gthread_cond_destroy): Likewise.
5057 (rtems_gxx_once): Delete.
5058 (rtems_gxx_key_create): Likewise.
5059 (rtems_gxx_key_delete): Likewise.
5060 (rtems_gxx_getspecific): Likewise.
5061 (rtems_gxx_setspecific): Likewise.
5062 (rtems_gxx_mutex_init): Likewise.
5063 (rtems_gxx_mutex_destroy): Likewise.
5064 (rtems_gxx_mutex_lock): Likewise.
5065 (rtems_gxx_mutex_trylock): Likewise.
5066 (rtems_gxx_mutex_unlock): Likewise.
5067 (rtems_gxx_recursive_mutex_init): Likewise.
5068 (rtems_gxx_recursive_mutex_lock): Likewise.
5069 (rtems_gxx_recursive_mutex_trylock): Likewise.
5070 (rtems_gxx_recursive_mutex_unlock): Likewise.
5071 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5072 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5073 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5074 (__gthread_once): Likewise.
5075 (__gthread_key_create): Likewise.
5076 (__gthread_key_delete): Likewise.
5077 (__gthread_getspecific): Likewise.
5078 (__gthread_setspecific): Likewise.
5079 (__gthread_key_t): Use <pthread.h> type.
5080 (__gthread_once_t): Likewise
5081 (__gthread_mutex_t): Use <sys/lock.h> type.
5082 (__gthread_recursive_mutex_t): Likewise
5083 (__gthread_mutex_lock): Use <sys/lock.h> function.
5084 (__gthread_mutex_trylock): Likewise.
5085 (__gthread_mutex_timedlock): Likewise.
5086 (__gthread_mutex_unlock): Likewise.
5087 (__gthread_mutex_destroy): Likewise.
5088 (__gthread_recursive_mutex_lock): Likewise.
5089 (__gthread_recursive_mutex_trylock): Likewise.
5090 (__gthread_recursive_mutex_timedlock): Likewise.
5091 (__gthread_recursive_mutex_unlock): Likewise.
5092 (__gthread_recursive_mutex_destroy): Likewise.
5093
991995c4
MF
50942015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5095
5096 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5097 context->sp instead of context->cfa.
5098
0e19db59
MF
50992015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5100
5101 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5102 with unwind-dw2-fde-dip.
5103
b6ac5f62
MF
51042015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5105
5106 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5107 CALL12 followed by series of ENTRY to spill windowed registers.
5108 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5109 instead of making linux spill syscall.
5110
3e0f3349
YR
51112015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5112
5113 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5114 (get_intel_cpu): Likewise.
5115
51c728b1
L
51162015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5117
5118 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5119 (get_intel_cpu): Add Knights Landing support.
5120
aff4eeac
UB
51212015-08-11 Uros Bizjak <ubizjak@gmail.com>
5122
5123 PR target/66954
5124 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5125 (get_available_features): Handle FEATURE_PCLMUL.
5126
736e56da
L
51272015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5128
5129 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5130 Broadwell.
5131
54d22142
UB
51322015-07-22 Uros Bizjak <ubizjak@gmail.com>
5133
5134 PR target/66954
5135 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5136 (get_available_features): Handle FEATURE_AES.
5137
20ca17e4
CLT
51382015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5139
5140 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5141 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5142
ebe4a560
NS
51432015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5144
5145 * offloadstuff.c: Constify host data.
5146
180744c0
JB
51472015-07-17 Jan Beulich <jbeulich@suse.com>
5148
5149 * config/t-softfp: Split up "else ifneq".
5150
a03c6ae3
SL
51512015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5152 Cesar Philippidis <cesar@codesourcery.com>
5153 Chung-Lin Tang <cltang@codesourcery.com>
5154
5155 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5156 for __nios2_arch__ level.
5157
73358db5
JM
51582015-07-13 John Marino <gnugcc@marino.st>
5159
5160 * config/i386/t-dragonfly: New.
5161
f9a12f7b
JDA
51622015-07-01 John David Anglin <danglin@gcc.gnu.org>
5163
5164 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5165 better match light-weight syscall argument order.
5166 (__kernel_cmpxchg2): Likewise.
5167 Adjust callers.
5168
cb78b51c
L
51692015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5170
5171 * config.host: Support i[34567]86-*-elfiamcu target.
5172 * config/t-softfp-sfdftf: New file.
5173 * config/i386/32/t-iamcu: Likewise.
5174 * configure: Regenerated.
5175
4fa0f9ea
JL
51762015-06-23 James Lemke <jwlemke@codesourcery.com>
5177
5178 libgcc/config/arm/
5179 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5180
428b3812
L
51812015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5182
5183 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5184
7d296953 51852015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
5186
5187 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5188 md_unwind_header
5189 * config/i386/freebsd-unwind.h: New.
5190
9b789cc1
UB
51912015-05-22 Uros Bizjak <ubizjak@gmail.com>
5192
5193 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5194 i386/t-crtfm to tmake_file.
5195 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5196 (set_fast_math): Use set_fast_math_sse for SSE targets.
5197 * config/i386/t-crtfm: Remove.
5198
3dafb220
AM
51992015-05-21 Alan Modra <amodra@gmail.com>
5200
5201 PR libgcc/66225
5202 * config/rs6000/morestack.S: Remove ".abiversion 1".
5203
0f0fd745
AM
52042015-05-20 Alan Modra <amodra@gmail.com>
5205
5206 * config/rs6000/morestack.S: New.
5207 * config/rs6000/t-stack-rs6000: New.
5208 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5209 to tmake_file.
5210 * generic-morestack.c: Don't build for powerpc 32-bit.
5211
515ae71b
EB
52122015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5213
5214 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5215 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5216
36805406
JL
52172015-05-16 James Bowman <james.bowman@ftdichip.com>
5218
5219 * config.host: FT32 target added.
5220 * config/ft32/*: New files for FT32 target.
5221
ff935d0c
MG
52222015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5223
385c7747
UB
5224 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5225 New macros.
5226 * config/arm/ieee754-df.S: Add CFI directives.
5227 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 5228
9b92a9f3
EB
52292015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5230
5231 * configure.ac: Include config/sjlj.m4.
5232 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5233 * config.in: Regenerate.
5234 * configure: Likewise.
5235 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5236
98b5dc61
UB
52372015-05-12 Uros Bizjak <ubizjak@gmail.com>
5238
5239 * libgcov-util.c: Add space between string literal and macro name.
5240
5a0ff57c
SL
52412015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5242 Chris Jones <chrisj@nvidia.com>
5243 Joshua Conner <jconner@nvidia.com>
5244
5245 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5246 (arm*-*-uclinux*): Likewise.
5247 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5248 * config/arm/crtfastmath.c: New file.
5249
d28ad5d4
BS
52502014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5251
5252 * Makefile.in (real_host_noncanonical): New variable.
5253 (libsubdir): Use it.
5254 * configure.ac (real_host_noncanonical): Compute. Remove special
5255 case for intelmicemul.
5256 * configure: Regenerate.
5257
cc86234f
UB
52582015-04-28 Uros Bizjak <ubizjak@gmail.com>
5259
5260 * config/frv/elf-lib.h: New file.
5261 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5262 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5263 to tm_file.
5264
52652015-04-28 Uros Bizjak <ubizjak@gmail.com>
5266
5267 * config/frv/frvbengin.c: Do not include defaults.h
5268 * config/frv/frvend.c: Ditto.
5269
2f6bd6eb
YS
52702015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5271
5272 * config.host: Add h8300-*-linux
5273 * config/h8300/t-linux: New file.
5274 * config/h8300/lib1funs.s: Change symbol prefix.
5275 * config/h8300/sfp-machine.h: 64bit double support.
5276
15aa7b44
GR
52772015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5278 Szabolcs Nagy <szabolcs.nagy@arm.com>
5279
5280 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5281 Linux if target provides dl_iterate_phdr.
5282
abd0cdc9
L
52832015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5284
5285 PR target/65612
5286 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5287 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5288 (__cpu_indicator_init@GCC_4.8.0): New.
5289 (__cpu_model@GCC_4.8.0): Likewise.
5290 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5291 -DUSE_ELF_SYMVER.
5292
72ed1126
NC
52932015-04-16 Nick Clifton <nickc@redhat.com>
5294
5295 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5296 and __modhi3 functions.
5297 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5298 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5299
d26b2237
CG
53002015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5301
5302 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5303 do-while loop as macro body to avoid warnings.
5304
cacf1f59
JJ
53052015-04-10 Jakub Jelinek <jakub@redhat.com>
5306 Iain Sandoe <iain@codesourcery.com>
5307
5308 PR target/65351
5309 * configure: Regenerate.
5310
e8a4ed3b
JJ
53112015-04-07 Jakub Jelinek <jakub@redhat.com>
5312 Iain Sandoe <iain@codesourcery.com>
5313
5314 PR target/65351
5315 * configure: Regenerate.
5316
0341335e
CLT
53172015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5318
5319 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5320
590e2636 53212015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 5322
590e2636
MF
5323 Implement call0 ABI for xtensa
5324 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5325 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5326 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5327 use ret in call0 ABI.
5328 * config/xtensa/t-windowed: New file.
5329 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5330 * libgcc/configure: Regenerated.
5331 * libgcc/configure.ac: Check if xtensa target is configured for
5332 windowed ABI and thus needs to use custom unwind code.
5333
7727f8f2
JW
53342015-02-12 Jonathan Wakely <jwakely@redhat.com>
5335
5336 PR libgcc/64885
5337 * gthr-single.h: Use __unused__ attribute instead of unused.
5338 * config/gthr-vxworks.h: Likewise.
5339 * config/i386/gthr-win32.h: Likewise.
5340
0e4a0def
KT
53412015-02-27 Kai Tietz <ktietz@redhat.com>
5342
5343 PR target/65038
5344 * config.in: Regenerated.
5345 * configure: Likewise.
5346 * configure.ac (AC_HEADER_STDC): Added explicit.
5347 (AC_CHECK_HEADERS): Check for default headers plus
5348 for ftw.h header.
5349 * libgcov-util.c (gcov_read_profile_dir): Disable use
5350 of ftw-function, if header is not found.
5351 (ftw_read_file): Likewise.
5352
b6530d0a
TS
53532015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5354
5355 PR target/65181
5356 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5357 -Dinhibit_libc.
5358
53cfb467
SL
53592015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5360
5361 * config/arm/bpabi.S (test_div_by_zero): Make label names
5362 consistent between thumb2 and arm mode cases. Separate the
5363 signed comparison on the high word of the numerator from the
5364 unsigned comparison on the low word.
5365 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5366 signed comparison.
5367
77d10a1b
JM
53682015-02-17 Joseph Myers <joseph@codesourcery.com>
5369
5370 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5371 and <string.h>.
5372 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5373
98174188
RE
53742015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5375
5376 PR gcov-profile/61889
471274de 5377 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 5378
771bef14
NC
53792015-02-02 Nick Clifton <nickc@redhat.com>
5380
5381 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5382 rounding up the fraction.
5383
40702893
JDA
53842015-01-31 John David Anglin <danglin@gcc.gnu.org>
5385
5386 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5387 oldval and newval to const void *. Fix typo.
5388 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5389 (FETCH_AND_OP_WORD): Likewise.
5390 (OP_AND_FETCH_WORD): Likewise.
5391 (COMPARE_AND_SWAP_2): Likewise.
5392 (__sync_val_compare_and_swap_4): Likewise.
5393 (__sync_lock_test_and_set_4): Likewise.
5394 (SYNC_LOCK_RELEASE_2): Likewise.
5395 Remove support for long long atomic operations.
5396
f7f049fa
CT
53972015-01-27 Caroline Tice <cmtice@google.com>
5398
5399 Committing VTV Cywin/Ming patch for Patrick Wollgast
5400 * Makefile.in: Move rules to build vtv_*.o out of the check
5401 for CUSTOM_CRTSTUFF.
5402 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5403 i[34567]86-*-mingw*)
5404 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5405 enable_vtable_verify.
5406
8410904a
NC
54072015-01-27 Nick Clifton <nickc@redhat.com>
5408
5409 * config/rl78/cmpsi2.S: Use function start and end macros.
5410 (__gcc_bcmp): New function.
5411 * config/rl78/lshrsi3.S: Use function start and end macros.
5412 * config/rl78/mulsi3.S: Add support for G10.
5413 (__mulqi3): New function for G10.
5414 * config/rl78/signbit.S: Use function start and end macros.
5415 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5416 fpmath-sf.S.
5417 (LIB2FUNCS_EXCLUDE): Define.
5418 (LIB2FUNCS_ST): Define.
5419 * config/rl78/trampoline.S: Use function start and end macros.
5420 * config/rl78/vregs.h (START_FUNC): New macro.
5421 (START_ANOTHER_FUNC): New macro.
5422 (END_FUNC): New macro.
5423 (END_ANOTHER_FUNC): New macro.
5424 * config/rl78/bit-count.S: New file. Contains assembler
5425 implementations of the bit counting functions: ___clzhi2,
5426 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5427 __paritysi2, __popcounthi2 and __popcountsi2.
5428 * config/rl78/fpbit-sf.S: New file. Contains assembler
5429 implementationas of the math functions: __negsf2, __cmpsf2,
5430 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5431 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5432 * config/rl78/fpmath-sf.S: New file. Contains assembler
5433 implementations of the math functions: __subsf3, __addsf3,
5434 __mulsf3 and __divsf3
5435
f962fbf1
RO
54362015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5437
5438 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5439 Add i386/elf-lib.h to tm_file.
5440 * config/i386/elf-lib.h: Fix comment.
5441 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5442 && __sun__ && __svr4__]: Remove workaround.
5443
939911c5
ASJ
54442015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5445
5446 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5447 FEATURE_BMI2.
5448 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5449
c8f2dff2
L
54502015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5451
5452 * config/i386/cpuinfo.c (processor_subtypes): Add
5453 INTEL_COREI7_BROADWELL.
5454 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5455 model numbers.
5456
7bbf9734
UB
54572015-01-23 Uros Bizjak <ubizjak@gmail.com>
5458
5459 * config/i386/elf-lib.h: New file.
5460 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5461 Wrap definition in #ifdef __i386__.
5462 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5463 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5464 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5465 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5466 to tm_file.
5467
324820f1
CG
54682015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5469
5470 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5471 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5472
a9ce4e4a
CLT
54732015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5474
5475 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5476 Update rt_sigframe format and address for current Nios II
5477 Linux conventions.
5478
82a19768
AT
54792015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5480
5481 * config.host (arm*-*-freebsd*): Add new configuration for
5482 arm*-*-freebsd*.
5483 * config/arm/freebsd-atomic.c: New file.
5484 * config/arm/t-freebsd: Likewise.
5485 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5486 'PC-relative indirect' OS's.
5487
0969ec7d
EB
54882015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5489
5490 * config.host: Add Visium support.
5491 * config/visium: New directory.
5492
5624e564
JJ
54932015-01-05 Jakub Jelinek <jakub@redhat.com>
5494
5495 Update copyright years.
5496
82f84ecb
MF
54972014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5498
5499 * config.host: Support mipsisa32r6 and mipsisa64r6.
5500 * config/mips/mips16.S: Do not build for R6.
5501
69044fa9
OE
55022014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5503
5504 * config/sh/crt.h: New.
5505 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5506 symbols.
5507 * config/sh/crt1.S: Likewise.
5508
2405e0ea
UB
55092014-12-15 Uros Bizjak <ubizjak@gmail.com>
5510
5511 PR libgcc/63832
5512 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5513 func_ptr *dtor_list temporary variable to avoid "array subscript
5514 is above array bounds" warnings.
5515
7d296953 55162014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
5517
5518 * Makefile.in (with_aix_soname): Define.
5519 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5520 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5521 * configure: Recreate.
5522
a66272f6
OH
55232014-12-05 Olivier Hainque <hainque@adacore.com>
5524
5525 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5526 now provided by defaults.h.
5527
6342b2c5
OE
55282014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5529
7d0ee249 5530 PR target/55351
6342b2c5
OE
5531 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5532 whether it's defined.
5533
c17eac85
IT
55342014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5535
5536 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5537 * config/i386/cpuinfo.c (get_available_features): Detect it.
5538
1025cb6c
TW
55392014-11-27 Tony Wang <tony.wang@arm.com>
5540
5541 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5542 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5543 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5544
d19f2e38
SB
55452014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5546
5547 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5548
17f6e9a3
JDA
55492014-11-24 John David Anglin <danglin@gcc.gnu.org>
5550
5551 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5552 instead.
5553
0cd7c672
GM
55542014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5555 John David Anglin <danglin@gcc.gnu.org>
5556
5557 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5558 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5559 (OP_AND_FETCH_2): Likewise.
5560 (COMPARE_AND_SWAP_2): Likewise.
5561 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5562 (SYNC_LOCK_RELEASE_2): Likewise.
5563 (SUBWORD_SYNC_OP): Remove.
5564 (SUBWORD_VAL_CAS): Likewise.
5565 (SUBWORD_BOOL_CAS): Likewise.
5566 (FETCH_AND_OP_WORD): Update.
5567 Consistently use signed types.
cc86234f 5568
85c64bbe
BS
55692014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5570 Thomas Schwinge <thomas@codesourcery.com>
5571 Ilya Verbin <ilya.verbin@intel.com>
5572 Andrey Turetskiy <andrey.turetskiy@intel.com>
5573
5574 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5575 (crtoffloadend$(objext)): Likewise.
5576 * configure: Regenerate.
5577 * configure.ac (accel_dir_suffix): Compute new variable.
5578 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5579 if enable_offload_targets is not empty.
5580 * offloadstuff.c: New file.
5581
52a1ff8b
NC
55822014-11-13 Nick Clifton <nickc@redhat.com>
5583
5584 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5585 Use START_FUNC and END_FUNC macros to enable linker garbage
5586 collection.
5587 * config/rl78/divmodqi.S: Likewise.
5588 * config/rl78/divmodsi.S: Likewise.
5589 * config/rl78/mulsi3.S: Likewise.
5590 * config/rl78/lib2div.c: Remove G10 functions.
5591 * config/rl78/lib2muls.c: Likewise.
5592 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5593 * config/rl78/vregs.h (START_FUNC): New macro.
5594 (END_FUNC): New macro.
5595
050af144
MF
55962014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5597
5598 * config/mips/mips16.S: Set .module when supported. Update O32
5599 FP64 calling convention and use for FPXX when possible. Add FPXX
5600 calling convention fallback case.
5601
738f2522
BS
56022014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5603
5604 * config.host: Handle nvptx-*-*.
5605 * shared-object.mk (as-flags-$o): Define.
5606 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5607 -xassembler-with-cpp.
5608 * static-object.mk: Identical changes.
5609 * config/nvptx/t-nvptx: New file.
5610 * config/nvptx/crt0.s: New file.
5611 * config/nvptx/free.asm: New file.
5612 * config/nvptx/malloc.asm: New file.
5613 * config/nvptx/realloc.c: New file.
5614
e610393c
JM
56152014-10-30 Joseph Myers <joseph@codesourcery.com>
5616
5617 * Makefile.in (libgcc.map.in): New target.
5618 (libgcc.map): Use libgcc.map.in.
5619 * config/t-softfp (softfp_compat): New variable to be set by
5620 users.
5621 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5622 variables.
5623 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5624 directory.
5625 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5626 that use compat symbols and disable all code unless [SHARED].
5627 * config/t-softfp-compat: New file.
5628 * find-symver.awk: New file.
5629 * configure.ac (--with-glibc-version): New configure option.
5630 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5631 * configure: Regenerate.
5632 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5633 soft-float and e500.
5634
bc1b3a88
JM
56352014-10-29 Joseph Myers <joseph@codesourcery.com>
5636
5637 * config/t-hardfp (hardfp_exclusions): Document new variable for
5638 user to define.
5639 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5640 * config/t-softfp (softfp_extras): Document new variable for user
5641 to define.
5642 (softfp_func_list): Add functions from $(softfp_extras).
5643 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5644 * config.host (powerpc*-*-linux*): For e500v1, use
5645 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5646 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5647 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5648
ef2810c1
JDA
56492014-10-26 John David Anglin <danglin@gcc.gnu.org>
5650
5651 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5652 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5653 memory read accesses are ok.
5654
d80c2bea
JM
56552014-10-25 Joseph Myers <joseph@codesourcery.com>
5656
5657 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5658 * configure: Regenerate.
5659 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5660 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5661 of soft-fp for 32-bit classic hard float. Do not use
5662 t-softfp-excl for soft float.
5663
693b297b
JM
56642014-10-22 Joseph Myers <joseph@codesourcery.com>
5665
5666 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5667 configurations.
5668 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5669 Remove variables.
5670
18a3415e
GJL
56712014-10-22 Georg-Johann Lay <avr@gjlay.de>
5672
5673 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5674 introduced with 2014-10-21 trunk r216525.
5675
c1dd9790 56762014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
5677 Vidya Praveen <vidya.praveen@atmel.com>
5678 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5679 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5680 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
5681
5682 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5683 order.
5684
5685 Updated library functions for AVRTINY arch.
5686 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5687 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5688 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5689 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5690 wsubi/wadi macors.
5691 (__mulsi3_helper): Update stack, preserve callee saved regs and
5692 argument from stack. Restore callee save registers.
5693 (__mulpsi3): Likewise.
5694 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5695 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 5696 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
5697 AVRTINY.
5698 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5699 (__do_copy_data): Added new definition for AVRTINY.
5700 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5701 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5702 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5703 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5704 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5705 macors.
18a3415e 5706 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
5707 AVRTINY.
5708
18a3415e 5709 Fix broken long multiplication on tiny arch.
c1dd9790 5710
5f606431
JM
57112014-10-09 Joseph Myers <joseph@codesourcery.com>
5712
5713 * soft-fp/double.h: Update from glibc.
5714 * soft-fp/eqdf2.c: Likewise.
5715 * soft-fp/eqsf2.c: Likewise.
5716 * soft-fp/eqtf2.c: Likewise.
5717 * soft-fp/extenddftf2.c: Likewise.
5718 * soft-fp/extended.h: Likewise.
5719 * soft-fp/extendsfdf2.c: Likewise.
5720 * soft-fp/extendsftf2.c: Likewise.
5721 * soft-fp/extendxftf2.c: Likewise.
5722 * soft-fp/gedf2.c: Likewise.
5723 * soft-fp/gesf2.c: Likewise.
5724 * soft-fp/getf2.c: Likewise.
5725 * soft-fp/ledf2.c: Likewise.
5726 * soft-fp/lesf2.c: Likewise.
5727 * soft-fp/letf2.c: Likewise.
5728 * soft-fp/op-1.h: Likewise.
5729 * soft-fp/op-2.h: Likewise.
5730 * soft-fp/op-4.h: Likewise.
5731 * soft-fp/op-8.h: Likewise.
5732 * soft-fp/op-common.h: Likewise.
5733 * soft-fp/quad.h: Likewise.
5734 * soft-fp/single.h: Likewise.
5735 * soft-fp/soft-fp.h: Likewise.
5736 * soft-fp/unorddf2.c: Likewise.
5737 * soft-fp/unordsf2.c: Likewise.
5738 * soft-fp/unordtf2.c: Likewise.
5739 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5740 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5741 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5742 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5743 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5744 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5745 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5746 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5747 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5748 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5749
9b84e7a8
RX
57502014-10-08 Rong Xu <xur@google.com>
5751
5752 * libgcov-util.c (read_gcda_file): Fix format.
5753 (find_match_gcov_info): Ditto.
5754 (calculate_2_entries): New.
5755 (compute_one_gcov): Ditto.
5756 (gcov_info_count_all_cold): Ditto.
5757 (gcov_info_count_all_zero): Ditto.
5758 (extract_file_basename): Ditto.
5759 (get_file_basename): Ditto.
5760 (set_flag): Ditto.
5761 (matched_gcov_info): Ditto.
5762 (calculate_overlap): Ditto.
5763 (gcov_profile_overlap): Ditto.
5764 * libgcov-driver.c (compute_summary): Make
5765 it avavilable for external calls.
5766
fe1090c1
RX
57672014-10-06 Rong Xu <xur@google.com>
5768
5769 * Makefile.in: Ditto.
5770 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5771 (gcov_sort_icall_topn_counter): Ditto.
5772 (gcov_sort_topn_counter_arrays): Ditto.
5773 (dump_one_gcov): Sort indirect_call topn counters.
5774 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5775 function.
5776 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5777 utility function.
5778 (__gcov_indirect_call_topn_profiler): New profiler function.
5779 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5780 * libgcov.h: New decls.
5781
3daa7bbf
TS
57822014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5783
5784 * config.host: Remove support for score-*.
5785
9a79452d
JM
57862014-09-22 Joseph Myers <joseph@codesourcery.com>
5787
5788 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5789 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5790 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5791 __LIBGCC_XF_MANT_DIG__.
5792 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5793 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5794 __LIBGCC_TF_MANT_DIG__.
5795 * libgcc2.c (NOTRUNC): Define in terms of
5796 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5797 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5798
1a849e50
JM
57992014-09-22 Joseph Myers <joseph@codesourcery.com>
5800
5801 PR target/63312
5802 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5803 New macros.
5804
598a1586
HPN
58052014-09-22 Hans-Peter Nilsson <hp@axis.com>
5806
5807 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5808 override USE_PT_GNU_EH_FRAME.
5809 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5810 check USE_EH_FRAME_REGISTRY_ALWAYS against
5811 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5812 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5813 variable for substituted force_explicit_eh_registry.
5814 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5815 * configure.ac (explicit-exception-frame-registration):
5816 New AC_ARG_ENABLE.
5817 * configure: Regenerate.
5818
3a8fe7c6
OH
58192014-09-19 Olivier Hainque <hainque@adacore.com>
5820
5821 * config.host (powerpc-wrs-vxworksmils): New configuration,
5822 same as vxworksae.
5823
dd69f047
JM
58242014-09-18 Joseph Myers <joseph@codesourcery.com>
5825
5826 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5827
e770bfd9
JM
58282014-09-18 Joseph Myers <joseph@codesourcery.com>
5829
5830 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5831 bits not set bits as indicating trapping exceptions.
5832
cadb2b96
NS
58332014-09-17 Nathan sidwell <nathan@acm.org>
5834
5835 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5836 (LIBGCOV_DRIVER): ... here.
5837 * libgcov-driver.c (gcov_master): New.
5838 (gcov_exit): Remove from master chain.
5839 (__gcov_init): Add to master chain if version compatible. Don't
5840 clear the version.
5841 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5842 (gcov_reset_int): Clear master chain, if compatible.
5843 (gcov_dump_int): New internal interface. Dump master chain, if
5844 compatible.
5845 (gcov_dump): Alias for gcov_dump_int.
5846 * libgcov.h (struct gcov_root): Add next and prev fields.
5847 (struct gcov_master): New struct.
5848 (__gcov_master): New.
5849 (gcov_dump_int): Declare.
5850
580d22a3
OH
58512014-09-17 Olivier Hainque <hainque@adacore.com>
5852
5853 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5854 and crtbegin.o + crtend.o to extra_parts.
5855
8cc4b7a2
JM
58562014-09-12 Joseph Myers <joseph@codesourcery.com>
5857
5858 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5859 __LIBGCC_HAS_SF_MODE__.
5860 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5861 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5862 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5863 * config/libbid/bid_gcc_intrinsics.h
5864 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5865 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5866 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5867 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5868 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5869 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5870
ea3f2b24
GJL
58712014-09-11 Georg-Johann Lay <avr@gjlay.de>
5872
5873 PR target/63223
5874 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5875 and R24 as needed. Make work for all devices and .text locations.
5876 (__do_global_ctors, __do_global_dtors): Use word addresses.
5877 (__tablejump__, __tablejump_elpm__): Remove functions.
5878 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5879 Add _tablejump2.
5880 (XICALL, XIJMP): New macros.
5881
b677236a
MS
58822014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5883 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5884
5885 * config.host (aarch64*): Include crtfastmath.o and
5886 t-crtfm.
5887 * config/aarch64/crtfastmath.c: New file.
5888
157e859f
TS
58892014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5890
5891 * config.host: Remove picochip support.
5892 * config/picochip/adddi3.S: Remove.
5893 * config/picochip/ashlsi3.S: Remove.
5894 * config/picochip/ashlsi3.c: Remove.
5895 * config/picochip/ashrsi3.S: Remove.
5896 * config/picochip/ashrsi3.c: Remove.
5897 * config/picochip/clzsi2.S: Remove.
5898 * config/picochip/cmpsi2.S: Remove.
5899 * config/picochip/divmod15.S: Remove.
5900 * config/picochip/divmodhi4.S: Remove.
5901 * config/picochip/divmodsi4.S: Remove.
5902 * config/picochip/lib1funcs.S: Remove.
5903 * config/picochip/longjmp.S: Remove.
5904 * config/picochip/lshrsi3.S: Remove.
5905 * config/picochip/lshrsi3.c: Remove.
5906 * config/picochip/parityhi2.S: Remove.
5907 * config/picochip/popcounthi2.S: Remove.
5908 * config/picochip/setjmp.S: Remove.
5909 * config/picochip/subdi3.S: Remove.
5910 * config/picochip/t-picochip: Remove.
5911 * config/picochip/ucmpsi2.S: Remove.
5912 * config/picochip/udivmodhi4.S: Remove.
5913 * config/picochip/udivmodsi4.S: Remove.
5914
66bb34c0
JM
59152014-09-08 Joseph Myers <joseph@codesourcery.com>
5916
5917 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5918 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5919 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5920 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5921 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5922 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5923 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5924 defined and LIBGCC2_HAS_DF_MODE is defined.
5925 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5926 defined and LIBGCC2_HAS_XF_MODE is defined.
5927 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5928 defined and LIBGCC2_HAS_TF_MODE is defined.
5929
9686a2e6
JM
59302014-09-08 Joseph Myers <joseph@codesourcery.com>
5931
5932 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5933 and ROUND_TOWARDS_ZERO conditionals.
5934
71c3e2ef
NS
59352014-09-07 Nathan sidwell <nathan@acm.org>
5936
5937 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5938 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5939
53d68b9f
JM
59402014-09-05 Joseph Myers <joseph@codesourcery.com>
5941
5942 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5943 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5944 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5945 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5946 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5947 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5948 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5949 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5950 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5951 (DWARF_FRAME_REGISTERS): Change all uses to
5952 __LIBGCC_DWARF_FRAME_REGISTERS__.
5953 (EH_RETURN_STACKADJ_RTX): Change all uses to
5954 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5955 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5956 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5957 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5958 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5959 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5960 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5961 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5962 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5963 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5964 __LIBGCC_STACK_POINTER_REGNUM__.
5965 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5966 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5967 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5968 to __LIBGCC_STACK_POINTER_REGNUM__.
5969 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5970 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5971 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5972 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5973 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5974 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5975 (STACK_POINTER_REGNUM): Change all uses to
5976 __LIBGCC_STACK_POINTER_REGNUM__.
5977 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5978 use to __LIBGCC_STACK_POINTER_REGNUM__.
5979 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5980 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5981 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5982 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5983 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5984 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5985 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5986 to __LIBGCC_STACK_POINTER_REGNUM__.
5987 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5988 Remove conditional definition.
5989 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5990 __LIBGCC_TEXT_SECTION_ASM_OP__.
5991 (EH_FRAME_SECTION_NAME): Change all uses to
5992 __LIBGCC_EH_FRAME_SECTION_NAME__.
5993 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5994 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5995 (CTORS_SECTION_ASM_OP): Change all uses to
5996 __LIBGCC_CTORS_SECTION_ASM_OP__.
5997 (DTORS_SECTION_ASM_OP): Change all uses to
5998 __LIBGCC_DTORS_SECTION_ASM_OP__.
5999 (JCR_SECTION_NAME): Change all uses to
6000 __LIBGCC_JCR_SECTION_NAME__.
6001 (INIT_SECTION_ASM_OP): Change all uses to
6002 __LIBGCC_INIT_SECTION_ASM_OP__.
6003 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6004 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6005 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6006 __LIBGCC_STACK_GROWS_DOWNWARD__.
6007 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6008 __LIBGCC_INIT_SECTION_ASM_OP__.
6009 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6010 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6011 (EH_FRAME_SECTION_NAME): Change all uses to
6012 __LIBGCC_EH_FRAME_SECTION_NAME__.
6013 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6014 definitions. Change all uses to
6015 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6016 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6017 __LIBGCC_STACK_GROWS_DOWNWARD__.
6018 (DWARF_FRAME_REGISTERS): Change all uses to
6019 __LIBGCC_DWARF_FRAME_REGISTERS__.
6020 (EH_RETURN_STACKADJ_RTX): Change all uses to
6021 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6022 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6023 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6024 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6025 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6026 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6027
b20ee094
NS
60282014-09-02 Nathan sidwell <nathan@acm.org>
6029
6030 * libgcov-interface.c (STRONG_ALIAS): New.
6031 (__gcov_flush): Call __gcov_reset_int.
6032 (__gcov_reset): Strong alias for ...
6033 (__gcov_reset_ing): ... this renamed hidden version.
6034 * libgcov.h (__gcov_reset_int): New declaration.
6035
1ac83976
YS
60362014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6037
25efdb9f
YS
6038 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6039 call from here...
6040 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6041 (__dso_handle): Define on Cygwin.
6042 * config/i386/t-cygming (crtbeginS.o): New rule.
6043 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6044
1ac83976
YS
6045 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6046 declaration syntax.
6047
c6f9ea3b
SE
60482014-08-13 Steve Ellcey <sellcey@mips.com>
6049
6050 * crtstuff.c: Undef caddr_t.
6051
5b1ea7c5
SE
60522014-08-12 Steve Ellcey <sellcey@mips.com>
6053
6054 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6055
4303c581
NS
60562014-08-07 Nathan Sidwell <nathan@acm.org>
6057
6058 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6059 (LIBGCOV_DRIVER): ... to here.
6060 * libgcov.h (gcov_do_dump): New #define.
6061 (struct gcov_root): New.
6062 (__gcov_root): New declaration.
6063 (__gcov_dump_one): Declare.
6064 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6065 run_accounted): Delete.
6066 (gcov_compute_histogram): Add LIST argument, adjust.
6067 (compute_summary): Adjust gcov_compute_histogram call.
6068 (gcov_do_dump): Not hidden, static in libgcov.
6069 (gcov_clear): Move to interface.c.
6070 (__gcov_dump_one): New, broken out of ...
6071 (gcov_exit): ... here. Make static.
6072 (__gcov_root): New.
6073 (__gcov_init): Adjust.
6074 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6075 declarations.
6076 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6077 (gcov_clear): Moved from driver.c. Add LIST argument.
6078 (__gcov_reset): Adjust for changed interfaces.
6079 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6080
23742a9e
RAR
60812014-08-04 Rohit <rohitarulraj@freescale.com>
6082
6083 PR target/60102
6084 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 6085 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 6086
b98a872b
NS
60872014-08-01 Nathan Sidwell <nathan@acm.org>
6088
6089 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6090 LIBGCOV_INTERFACE): Reformat.
6091 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6092 IN_GCOV_TOOL.
6093 * libgcov-interface.c: Reformat some comments.
6094 (__gcov_flush_mx): Add declaration. Tidy up definition.
6095
6adaaa1d
AM
60962014-07-31 Alan Modra <amodra@gmail.com>
6097 Peter Bergner <bergner@vnet.ibm.com>
6098
6099 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6100 (pack_ldouble): New function.
6101 (__gcc_qadd): Use it.
6102 (__gcc_qmul): Likewise.
6103 (__gcc_qdiv): Likewise.
6104 (__gcc_qneg): Likewise.
6105 (__gcc_stoq): Likewise.
6106 (__gcc_dtoq): Likewise.
6107
87cb0c0c
UW
61082014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6109
6110 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6111 (__tpf_eh_return): Add original return address as second parameter.
6112 Handle cases where unwinder routines were called directly, instead
6113 of from within the C++ library.
6114
19926161
NS
61152014-07-29 Nathan Sidwell <nathan@acm.org>
6116
6117 * libgcov.h: Move renaming of entry points to lib gcov specific
6118 portion.
6119 (gcov_do_dump): New rename.
6120 (gcov_rewrite): Remove inline, make HIDDEN.
6121 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6122 (gcov_exit_compute_summary): Rename to ...
6123 (compute_summary): ... here. Add LIST argument.
6124 (gcov_exit_merge_gcda): Rename to ...
6125 (merge_one_data): ... here.
6126 (gcov_exit_write_gcda): Rename to ...
6127 (write_one_data): ... here.
6128 (gcov_exit_merge_summary): Rename to ...
6129 (merge_summary): Add RUN_COUNTED argument.
6130 (gcov_exit_dump_gcov): Rename to ...
6131 (dump_one_gcov): Add RUN_COUNTED argument.
6132 (gcov_do_dump): New function, broken out of ...
6133 (gcov_exit): ... here. Call it.
6134
17522262
AG
61352014-07-27 Anthony Green <green@moxielogic.com>
6136
6137 * config.host: Add moxiebox configuration suppport.
6138
6dc33097
NS
61392014-07-27 Nathan Sidwell <nathan@acm.org>
6140
6141 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6142 (struct gcov_filename): ... here. Include buffer and max length
6143 fields.
6144 (gcov_max_filename): Remove.
6145 (gi_filename): Remove.
6146 (gcov_exit_compute_summary): Compute max filename here.
6147 (gcov_exit_merge_gcda): Add filename parm, adjust.
6148 (gcov_exit_merge_summary): Likewise.
6149 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6150 (gcov_exit): Likewise.
6151 (__gcov_init): Don't calculate max length here.
6152 * libgcov_util.c (max_filename_len): Remove.
6153 (read_gcda_file): Don't calculate max length here.
6154 (gcov_read_profile_dir): Don't propagate here.
6155 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6156 struct gcov_filename changes.
6157 (gcov_exit_open_gcda_file): Likewise.
6158
770f687d
NS
61592014-07-25 Nathan Sidwell <nathan@acm.org>
6160
6161 * libgcov-driver.c (set_gcov_dump_complete,
6162 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6163 functions polluting user's namespace.
6164 (gcov_exit): Set variable directly.
6165 (gcov_clear): Reset variable directly.
6166 * libgcov-interface.c (get_gcov_dymp_complete,
6167 reset_gov_dump_complete): Remove declarations.
6168 (__gcov_reset, __gcov_dump): Don't call them.
6169
fabf71ba
DD
61702014-07-24 DJ Delorie <dj@redhat.com>
6171
6172 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
6173 (__gcc_deregister_frame): Move logic to detect deregister function
6174 to ...
6175 (__gcc_register_frame): here, so it's consistent with the register
6176 logic.
fabf71ba 6177
d10ee722
NS
61782014-07-23 Nathan Sidwell <nathan@acm.org>
6179
6180 * libgcov-driver.c (set_gcov_list): Remove.
6181 (gcov_list): Make non-static in GCOV_TOOL.
6182 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6183
a4137090
JDA
61842014-07-17 John David Anglin <danglin@gcc.gnu.org>
6185
6186 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6187 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6188 Don't use SYNC_LOCK_RELEASE for int type.
6189
72602c6c
RB
61902014-07-14 Richard Biener <rguenther@suse.de>
6191
6192 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6193
d5313205
RX
61942014-07-11 Rong Xu <xur@google.com>
6195
6196 * libgcov-util.c (gcov_max_filename): Fix declartion.
6197
c77556a5
RX
61982014-07-10 Rong Xu <xur@google.com>
6199
6200 Add gcov-tool: an offline gcda profile processing tool
6201 Support.
6202 * libgcov-driver.c (gcov_max_filename): Make available
6203 to gcov-tool.
6204 * libgcov-merge.c (__gcov_merge_add): Replace
6205 gcov_read_counter() with a Macro.
6206 (__gcov_merge_ior): Ditto.
6207 (__gcov_merge_time_profile): Ditto.
6208 (__gcov_merge_single): Ditto.
6209 (__gcov_merge_delta): Ditto.
6210 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6211 in the utility functions.
6212 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6213 gcov_list object link lists.
6214 (tag_function): Ditto.
6215 (tag_blocks): Ditto.
6216 (tag_arcs): Ditto.
6217 (tag_lines): Ditto.
6218 (tag_counters): Ditto.
6219 (tag_summary): Ditto.
6220 (read_gcda_finalize): Ditto.
6221 (read_gcda_file): Ditto.
6222 (ftw_read_file): Ditto.
6223 (read_profile_dir_init): Ditto.
6224 (gcov_read_profile_dir): Ditto.
6225 (gcov_read_counter_mem): Ditto.
6226 (gcov_get_merge_weight): Ditto.
6227 (merge_wrapper): A wrapper function that calls merging handler.
6228 (gcov_merge): Merge two gcov_info objects with weights.
6229 (find_match_gcov_info): Find the matched gcov_info in the list.
6230 (gcov_profile_merge): Merge two gcov_info object lists.
6231 (__gcov_add_counter_op): Process edge profile counter values.
6232 (__gcov_ior_counter_op): Process IOR profile counter values.
6233 (__gcov_delta_counter_op): Process delta profile counter values.
6234 (__gcov_single_counter_op): Process single profile counter values.
6235 (fp_scale): Callback function for float-point scaling.
cc86234f 6236 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
6237 (gcov_profile_scale): Scaling profile counters.
6238 (gcov_profile_normalize): Normalize profile counters.
6239 * libgcov.h: Add headers and functions for gcov-tool use.
6240 (gcov_get_counter): New.
6241 (gcov_get_counter_target): Ditto.
6242 (struct gcov_info): Make the functions field mutable in gcov-tool
6243 compilation.
6244
5c7dac8a
KT
62452014-06-23 Kai Tietz <ktietz@redhat.com>
6246
6247 PR libgcc/61585
6248 * unwind-seh.c (_Unwind_GetGR): Check for proper
6249 index range.
6250 (_Unwind_SetGR): Likewise.
6251
161c9312
NC
62522014-05-22 Nick Clifton <nickc@redhat.com>
6253
6254 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6255 -mhwmult=none.
6256
e3f0315f
TJ
62572014-05-22 Teresa Johnson <tejohnson@google.com>
6258
6259 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6260 include.
6261
dbed5a9b
JM
62622014-05-20 John Marino <gnugcc@marino.st>
6263
6264 * config.host (*-*-dragonfly*): New target.
6265 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6266 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6267 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6268 * config/i386/dragonfly-unwind.h: New.
6269
1ec380e5
MR
62702014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6271
6272 PR libgcc/60166
6273 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6274 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6275
54fde020
BE
62762014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6277
6278 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6279 implementation.
6280
999db125
GJL
62812014-05-12 Georg-Johann Lay <avr@gjlay.de>
6282
6283 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6284
cceaf54a
RO
62852014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6286
6287 PR libgcc/61097
6288 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6289 if --enable-shared.
6290
e3fe9b5b
BE
62912014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6292
6293 Work around for current cygwin32 build problems.
6294 * config/i386/cygming-crtbegin.c (__register_frame_info,
6295 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6296 functions only for 64-bit systems.
6297
54cf37e9
RO
62982014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6299
6300 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6301 (sigill_caught, sigill_hdlr): Remove.
6302
d9f069ab
RO
63032014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6304
6305 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6306 check.
6307 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6308 Solaris 9 single-threaded support.
6309 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6310 Solaris 9 single-threaded support. Add call_user_handler code
6311 sequences.
6312 (sparc_is_sighandler): Likewise.
6313
59976ef8
AK
63142014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6315
6316 * config.host: Append t-floattodi to tmake_file depending on
6317 host_address.
6318
d02bbcf3
JS
63192014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6320
31466bc0 6321 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 6322
c2e7e597
UB
63232014-03-10 Uros Bizjak <ubizjak@gmail.com>
6324
6325 PR libgcc/60472
6326 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 6327 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
6328 Use __builtin_expect when checking *jcr_list for NULL.
6329
227a7dc8
RO
63302014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6331
6332 PR libgcc/59339
6333 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6334 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6335 vtv_*.o to extra_parts if enable_vtable_verify.
6336
df2b279c
NC
63372014-03-06 Nick Clifton <nickc@redhat.com>
6338
6339 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6340 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6341
dc11d79b
JY
63422014-02-28 Joey Ye <joey.ye@arm.com>
6343
6344 PR libgcc/60166
6345 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6346 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6347 Set to zero.
6348
341c653c
WL
63492014-02-24 Walter Lee <walt@tilera.com>
6350
6351 * config.host: Support "tilegx*" and "tilepro*" triplets.
6352 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6353 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6354
95ce7613
CLT
63552014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6356 Chung-Lin Tang <cltang@codesourcery.com>
6357
6358 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6359 * config/nios2/crti.S: Remove .file directive.
6360 * config/nios2/crtn.S: Likewise.
6361
0bb4fc05
KT
63622014-02-18 Kai Tietz <ktietz@redhat.com>
6363 Jonathan Schleifer <js@webkeks.org>
6364
6365 PR objc/56870
6366 * unwind-seh.c (_GCC_specific_handler): Pass proper
6367 value to unwind-handler.
6368
9acf28f1
JM
63692014-02-12 Joseph Myers <joseph@codesourcery.com>
6370
6371 * soft-fp/adddf3.c: Update from glibc.
6372 * soft-fp/addsf3.c: Likewise.
6373 * soft-fp/addtf3.c: Likewise.
6374 * soft-fp/divdf3.c: Likewise.
6375 * soft-fp/divsf3.c: Likewise.
6376 * soft-fp/divtf3.c: Likewise.
6377 * soft-fp/double.h: Likewise.
6378 * soft-fp/eqdf2.c: Likewise.
6379 * soft-fp/eqsf2.c: Likewise.
6380 * soft-fp/eqtf2.c: Likewise.
6381 * soft-fp/extenddftf2.c: Likewise.
6382 * soft-fp/extended.h: Likewise.
6383 * soft-fp/extendsfdf2.c: Likewise.
6384 * soft-fp/extendsftf2.c: Likewise.
6385 * soft-fp/extendxftf2.c: Likewise.
6386 * soft-fp/fixdfdi.c: Likewise.
6387 * soft-fp/fixdfsi.c: Likewise.
6388 * soft-fp/fixdfti.c: Likewise.
6389 * soft-fp/fixsfdi.c: Likewise.
6390 * soft-fp/fixsfsi.c: Likewise.
6391 * soft-fp/fixsfti.c: Likewise.
6392 * soft-fp/fixtfdi.c: Likewise.
6393 * soft-fp/fixtfsi.c: Likewise.
6394 * soft-fp/fixtfti.c: Likewise.
6395 * soft-fp/fixunsdfdi.c: Likewise.
6396 * soft-fp/fixunsdfsi.c: Likewise.
6397 * soft-fp/fixunsdfti.c: Likewise.
6398 * soft-fp/fixunssfdi.c: Likewise.
6399 * soft-fp/fixunssfsi.c: Likewise.
6400 * soft-fp/fixunssfti.c: Likewise.
6401 * soft-fp/fixunstfdi.c: Likewise.
6402 * soft-fp/fixunstfsi.c: Likewise.
6403 * soft-fp/fixunstfti.c: Likewise.
6404 * soft-fp/floatdidf.c: Likewise.
6405 * soft-fp/floatdisf.c: Likewise.
6406 * soft-fp/floatditf.c: Likewise.
6407 * soft-fp/floatsidf.c: Likewise.
6408 * soft-fp/floatsisf.c: Likewise.
6409 * soft-fp/floatsitf.c: Likewise.
6410 * soft-fp/floattidf.c: Likewise.
6411 * soft-fp/floattisf.c: Likewise.
6412 * soft-fp/floattitf.c: Likewise.
6413 * soft-fp/floatundidf.c: Likewise.
6414 * soft-fp/floatundisf.c: Likewise.
6415 * soft-fp/floatunditf.c: Likewise.
6416 * soft-fp/floatunsidf.c: Likewise.
6417 * soft-fp/floatunsisf.c: Likewise.
6418 * soft-fp/floatunsitf.c: Likewise.
6419 * soft-fp/floatuntidf.c: Likewise.
6420 * soft-fp/floatuntisf.c: Likewise.
6421 * soft-fp/floatuntitf.c: Likewise.
6422 * soft-fp/gedf2.c: Likewise.
6423 * soft-fp/gesf2.c: Likewise.
6424 * soft-fp/getf2.c: Likewise.
6425 * soft-fp/ledf2.c: Likewise.
6426 * soft-fp/lesf2.c: Likewise.
6427 * soft-fp/letf2.c: Likewise.
6428 * soft-fp/muldf3.c: Likewise.
6429 * soft-fp/mulsf3.c: Likewise.
6430 * soft-fp/multf3.c: Likewise.
6431 * soft-fp/negdf2.c: Likewise.
6432 * soft-fp/negsf2.c: Likewise.
6433 * soft-fp/negtf2.c: Likewise.
6434 * soft-fp/op-1.h: Likewise.
6435 * soft-fp/op-2.h: Likewise.
6436 * soft-fp/op-4.h: Likewise.
6437 * soft-fp/op-8.h: Likewise.
6438 * soft-fp/op-common.h: Likewise.
6439 * soft-fp/quad.h: Likewise.
6440 * soft-fp/single.h: Likewise.
6441 * soft-fp/soft-fp.h: Likewise.
6442 * soft-fp/subdf3.c: Likewise.
6443 * soft-fp/subsf3.c: Likewise.
6444 * soft-fp/subtf3.c: Likewise.
6445 * soft-fp/truncdfsf2.c: Likewise.
6446 * soft-fp/trunctfdf2.c: Likewise.
6447 * soft-fp/trunctfsf2.c: Likewise.
6448 * soft-fp/trunctfxf2.c: Likewise.
6449 * soft-fp/unorddf2.c: Likewise.
6450 * soft-fp/unordsf2.c: Likewise.
6451 * soft-fp/unordtf2.c: Likewise.
6452 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6453 macro.
6454 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6455 Likewise.
6456 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6457 Likewise.
6458 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6459 Likewise.
6460 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6461 Likewise.
6462 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6463 Likewise.
6464 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6465 Likewise.
6466 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6467 Likewise.
6468 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6469 Likewise.
6470 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6471 Likewise.
6472 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6473 Likewise.
6474 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6475 Likewise.
6476 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6477 Likewise.
6478 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6479 Likewise.
6480 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6481 Likewise.
6482 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6483 Likewise.
6484
ce245ec6
AK
64852014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6486
6487 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6488 cannot be represented.
6489 * config/s390/32/_fixsfdi.c: Likewise.
6490 * config/s390/32/_fixtfdi.c: Likewise.
6491 * config/s390/32/_fixunsdfdi.c: Likewise.
6492 * config/s390/32/_fixunssfdi.c: Likewise.
6493 * config/s390/32/_fixunstfdi.c: Likewise.
6494
1c51d688
RS
64952014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6496
6497 * configure.ac (libgcc_cv_mips_hard_float): New.
6498 * configure: Regenerate.
6499 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6500 t-softfp-sfdf for hard-float targets.
6501 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6502 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6503 (softfp_truncations, softfp_exclude_libgcc2): New.
6504 * config/t-hardfp: New file.
6505 * config/t-hardfp-sfdf: Likewise.
6506 * config/hardfp.c: Likewise.
6507
bbf391db
AK
65082014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6509
6510 * config.host: Include t-floattodi also for s390x.
6511 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6512 * config/s390/32/_fixsfdi.c: Likewise.
6513 * config/s390/32/_fixtfdi.c: Likewise.
6514 * config/s390/32/_fixunsdfdi.c: Likewise.
6515 * config/s390/32/_fixunssfdi.c: Likewise.
6516 * config/s390/32/_fixunstfdi.c: Likewise.
6517
91da0481
RO
65182014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6519
6520 PR target/59788
6521 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6522 (install-libgcc-unwind-map-forbuild): New target.
6523 (all): Depend on install-libgcc-unwind-map-forbuild.
6524 (install-libgcc-unwind-map): New target.
6525 (install): Depend on install-libgcc-unwind-map.
6526
02b67731
SL
65272014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6528
6529 * config/nios2/crti.S (_init): Initialize GOT pointer from
6530 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6531
1ea0a651
RS
65322014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6533
6534 * configure.ac: Check __mips64 when setting host_address.
6535 * configure: Regenerate.
6536 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6537 mips/t-mips64 and t-softfp.
6538 (mips*-*-linux*): Don't add mips/t-tpbit.
6539 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6540 (DPBIT, DPBIT_CFLAGS): Delete.
6541 * config/mips/sfp-machine.h: New file.
6542 * config/mips/t-mips64: Likewise.
6543 * config/mips/t-softfp-tf: Likewise.
6544 * config/mips/t-tpbit: Delete.
6545
f32b0061
MS
65462014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6547
6548 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6549 as long long.
6550
a5420aa4
WL
65512014-01-25 Walter Lee <walt@tilera.com>
6552
6553 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6554 config.h or system.h.
6555 (bool) Define.
6556
24534912
WL
65572014-01-25 Walter Lee <walt@tilera.com>
6558
6559 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6560 (post_atomic_barrier): Ditto.
6561 (__fetch_and_do): New macro.
6562 (__atomic_fetch_and_do): Use __fetch_and_do.
6563 (__sync_fetch_and_do): New macro.
6564 (__sync_fetch_and_add_4): New function.
6565 (__sync_fetch_and_sub_4): New function.
6566 (__sync_fetch_and_or_4): New function.
6567 (__sync_fetch_and_and_4): New function.
6568 (__sync_fetch_and_xor_4): New function.
6569 (__sync_fetch_and_nand_4): New function.
6570 (__sync_fetch_and_add_8): New function.
6571 (__sync_fetch_and_sub_8): New function.
6572 (__sync_fetch_and_or_8): New function.
6573 (__sync_fetch_and_and_8): New function.
6574 (__sync_fetch_and_xor_8): New function.
6575 (__sync_fetch_and_nand_8): New function.
6576 (__do_and_fetch): New macro.
6577 (__atomic_do_and_fetch): Use __do_and_fetch.
6578 (__sync_do_and_fetch): New macro.
6579 (__sync_add_and_fetch_4): New function.
6580 (__sync_sub_and_fetch_4): New function.
6581 (__sync_or_and_fetch_4): New function.
6582 (__sync_and_and_fetch_4): New function.
6583 (__sync_xor_and_fetch_4): New function.
6584 (__sync_nand_and_fetch_4): New function.
6585 (__sync_add_and_fetch_8): New function.
6586 (__sync_sub_and_fetch_8): New function.
6587 (__sync_or_and_fetch_8): New function.
6588 (__sync_and_and_fetch_8): New function.
6589 (__sync_xor_and_fetch_8): New function.
6590 (__sync_nand_and_fetch_8): New function.
6591 (__sync_exchange_methods): New macro.
6592 (__sync_val_compare_and_swap_4): New function.
6593 (__sync_bool_compare_and_swap_4): New function.
6594 (__sync_lock_test_and_test_4): New function.
6595 (__sync_val_compare_and_swap_8): New function.
6596 (__sync_bool_compare_and_swap_8): New function.
6597 (__sync_lock_test_and_test_8): New function.
6598 (__subword_cmpxchg_body): New macro.
6599 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6600 (__atomic_compare_exchange_2): Ditto.
6601 (__sync_subword_cmpxchg): New macro.
6602 (__sync_val_compare_and_swap_1): New function.
6603 (__sync_bool_compare_and_swap_1): New function.
6604 (__sync_val_compare_and_swap_2): New function.
6605 (__sync_bool_compare_and_swap_2): New function.
6606 (__atomic_subword): Rename to ...
6607 (__subword): ... New name.
6608 (__atomic_subword_fetch): Use __subword.
6609 (__sync_subword_fetch): New macro.
6610 (__sync_fetch_and_add_1): New function.
6611 (__sync_fetch_and_sub_1): New function.
6612 (__sync_fetch_and_or_1): New function.
6613 (__sync_fetch_and_and_1): New function.
6614 (__sync_fetch_and_xor_1): New function.
6615 (__sync_fetch_and_nand_1): New function.
6616 (__sync_fetch_and_add_2): New function.
6617 (__sync_fetch_and_sub_2): New function.
6618 (__sync_fetch_and_or_2): New function.
6619 (__sync_fetch_and_and_2): New function.
6620 (__sync_fetch_and_xor_2): New function.
6621 (__sync_fetch_and_nand_2): New function.
6622 (__sync_add_and_fetch_1): New function.
6623 (__sync_sub_and_fetch_1): New function.
6624 (__sync_or_and_fetch_1): New function.
6625 (__sync_and_and_fetch_1): New function.
6626 (__sync_xor_and_fetch_1): New function.
6627 (__sync_nand_and_fetch_1): New function.
6628 (__sync_add_and_fetch_2): New function.
6629 (__sync_sub_and_fetch_2): New function.
6630 (__sync_or_and_fetch_2): New function.
6631 (__sync_and_and_fetch_2): New function.
6632 (__sync_xor_and_fetch_2): New function.
6633 (__sync_nand_and_fetch_2): New function.
6634 (__atomic_subword_lock): Use __subword.
6635 (__sync_subword_lock): New macro.
6636 (__sync_lock_test_and_set_1): New function.
6637 (__sync_lock_test_and_set_2): New function.
6638
4d6d3bc5
WL
66392014-01-25 Walter Lee <walt@tilera.com>
6640
6641 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6642 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6643 (__atomic_subword): Ditto.
6644
cbd9890e
WL
66452014-01-25 Walter Lee <walt@tilera.com>
6646
6647 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6648 a prefix op argument.
6649 (__atomic_nand_fetch_4): Add prefix op.
6650 (__atomic_nand_fetch_8): Ditto.
6651
7d296953 66522014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
6653
6654 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6655
46dd1242
L
66562014-01-09 Rong Xu <xur@google.com>
6657
6658 * libgcov-driver.c (this_prg): make it local to save
6659 bss space.
6660 (gcov_exit_compute_summary): Ditto.
6661 (gcov_exit_merge_gcda): Ditto.
6662 (gcov_exit_merge_summary): Ditto.
6663 (gcov_exit_dump_gcov): Ditto.
6664
cc86234f 66652014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
6666
6667 * libgcov-driver.c: Use libgcov.h.
6668 (buffer_fn_data): Use xmalloc instead of malloc.
6669 (gcov_exit_merge_gcda): Ditto.
6670 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6671 * libgcov.h: New common header files for libgcov-*.h.
6672 * libgcov-interface.c: Use libgcov.h
6673 * libgcov-merge.c: Ditto.
6674 * libgcov-profiler.c: Ditto.
6675 * Makefile.in: Add dependence to libgcov.h
6676
a02e7bdd
JM
66772014-01-02 Joseph Myers <joseph@codesourcery.com>
6678
6679 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6680 case of small numerator and finite nonzero result.
6681
ac1dca3c
RS
66822014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6683
6684 Update copyright years
6685
f9030485
RS
66862014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6687
6688 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6689 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6690 config/arc/dp-hack.h, config/arc/fp-hack.h,
6691 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6692 config/arc/ieee-754/arc600-dsp/divdf3.S,
6693 config/arc/ieee-754/arc600-dsp/divsf3.S,
6694 config/arc/ieee-754/arc600-dsp/muldf3.S,
6695 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6696 config/arc/ieee-754/arc600-mul64/divdf3.S,
6697 config/arc/ieee-754/arc600-mul64/divsf3.S,
6698 config/arc/ieee-754/arc600-mul64/muldf3.S,
6699 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6700 config/arc/ieee-754/arc600/divsf3.S,
6701 config/arc/ieee-754/arc600/mulsf3.S,
6702 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6703 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6704 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6705 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6706 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6707 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6708 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6709 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6710 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6711 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6712 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6713 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6714 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6715 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6716 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6717 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6718 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6719 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6720 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6721 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6722 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6723 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6724 vtv_start_preinit.c: Use the standard form for the copyright notice.
6725
e430824f
CLT
67262013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6727 Chung-Lin Tang <cltang@codesourcery.com>
6728 Based on patches from Altera Corporation
6729
6730 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6731 * config/nios2/lib2-nios2.h: New file.
6732 * config/nios2/lib2-divmod-hi.c: New file.
6733 * config/nios2/linux-unwind.h: New file.
6734 * config/nios2/lib2-divmod.c: New file.
6735 * config/nios2/linux-atomic.c: New file.
6736 * config/nios2/t-nios2: New file.
6737 * config/nios2/crti.asm: New file.
6738 * config/nios2/t-linux: New file.
6739 * config/nios2/lib2-divtable.c: New file.
6740 * config/nios2/lib2-mul.c: New file.
6741 * config/nios2/tramp.c: New file.
6742 * config/nios2/crtn.asm: New file.
6743
1879e97f
UB
67442013-12-26 Uros Bizjak <ubizjak@gmail.com>
6745
6746 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6747 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6748 from cpuid.h to check vendor signatures.
6749
f4a4bdbb
GG
67502013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6751
c2e7e597 6752 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
6753 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6754 (get_amd_cpu): Likewise.
6755
8d2ae544
L
67562013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6757
6758 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6759 Haswell.
6760
74924838
ASJ
67612013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6762 H.J. Lu <hongjiu.lu@intel.com>
6763
0bb52f25
L
6764 PR target/59422
6765 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
6766 and AMD_JAGUAR.
6767 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6768 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6769 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6770 FEATURE_XOP and FEATURE_FMA.
6771 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6772 AMDFAM15H_BDVER3.
6773 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 6774 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
6775 FEATURE_FMA4 and FEATURE_XOP.
6776
d3c11974
L
67772013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6778
6779 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6780 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6781 (get_intel_cpu): Updated.
6782
064c4ff2
ZC
67832013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6784
6785 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6786
8b02e720
UB
67872013-12-09 Uros Bizjak <ubizjak@gmail.com>
6788
6789 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 6790 instructions when __SSE_MATH__ is defined.
8b02e720 6791
3fa2ccb4
RC
67922013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6793
6794 * config.host (microblaze-*-rtems*): New.
6795
ecd78fc9
KV
67962013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6797
6798 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6799 architectures that do not have hardware divide instruction.
6800 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6801
b21fbbd2
RS
68022013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6803
6804 * longlong.h: Delete (moved to include/).
6805
b03fb8c9
AZ
68062013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6807
6808 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6809 of normal number and qNaN to not raise an inexact exception.
6810
3c716922
UB
68112013-11-28 Uros Bizjak <ubizjak@gmail.com>
6812
6813 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6814
68152013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
6816
6817 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6818 for correct opcodes on BE.
6819
a3458d22
UB
68202013-11-27 Uros Bizjak <ubizjak@gmail.com>
6821
6822 * soft-fp/op-4.h: Update from glibc.
6823
30b8f78b
KV
68242013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6825
6826 * libgcc2.c (__udivmoddi4): Define new implementation when
6827 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6828 divide instructions.
6829
82552a29
OE
68302013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6831
6832 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6833
80e87457
RO
68342013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6835
6836 * config/t-softfp (soft-fp-objects-base): New variable.
6837 (soft-fp-objects): Use it.
6838
44178879
DE
68392013-11-23 David Edelson <dje.gcc@gmail.com>
6840 Andrew Dixie <andrewd@gentrack.com>
6841
6842 PR target/33704
6843 * config/rs6000/aixinitfini.c: New file.
6844 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6845 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6846 symbols.
6847
e5287671
YR
68482013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6849
a3458d22 6850 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 6851
867c8b03
JH
68522013-11-18 Jan Hubicka <jh@suse.cz>
6853
7f369373
JH
6854 * libgcov-driver.c (run_accounted): Make global level static.
6855 (gcov_exit_merge_summary): Silence warning; do not clear
6856 run_accounted here.
6857 (gcov_exit): Clear it here.
6858
1d0b3334
JH
6859 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6860 run_accounted.
6861
867c8b03
JH
6862 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6863 (all_prg, crc32): Remove static vars.
6864 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6865 all_prg.
6866 (gcov_exit_merge_gcda): Add crc32 parameter.
6867 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6868 do not account run if it was already accounted.
6869 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6870 (gcov_exit): Initialize all_prg; update.
6871
66204992
AS
68722013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6873
6874 * configure: Regenerate.
6875
b54214fe
UW
68762013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6877 Alan Modra <amodra@gmail.com>
6878
6879 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6880 (frob_update_context): Use it.
6881
68822013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6883 Alan Modra <amodra@gmail.com>
6884
6885 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6886 (trampoline_initial): Provide ELFv2 variant.
6887 (__trampoline_setup): Likewise.
6888
6889 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6890 check for AIX indirect function call sequence if _CALL_ELF == 2.
6891
68922013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6893 Alan Modra <amodra@gmail.com>
6894
6895 * config/rs6000/linux-unwind.h (get_regs): Do not support
6896 old kernel versions if _CALL_ELF == 2.
6897 (frob_update_context): Do not support PLT stub variants only
6898 generated by old linkers if _CALL_ELF == 2.
6899
13e0981a
UW
69002013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6901 Alan Modra <amodra@gmail.com>
6902
6903 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6904 location of CR save area for 64-bit little-endian systems.
6905
1a80085d
EB
69062013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6907
6908 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6909 in tmake_file.
6910 * config/arm/t-vxworks: Delete.
6911
cabeea52
KT
69122013-11-10 Kai Tietz <ktietz@redhat.com>
6913
6914 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6915 Increment load-count on use of LIBGCC_SONAME DLL.
6916 (hmod_libgcc): New static variable to hold handle of
6917 LIBGCC_SONAME DLL.
6918 (__gcc_deregister_frame): Decrement load-count of
6919 LIBGCC_SONAME DLL.
6920
ac088ba1
BRF
69212013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6922
6923 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6924 availability.
6925 * configure: Regenerate
6926
d59a8fcc
UB
69272013-11-07 Uros Bizjak <ubizjak@gmail.com>
6928
6929 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6930 FP_EX_DENORM. Store result to volatile location after SSE division
6931 to close interrupt window. Remove unneeded fwait after x87
6932 division since interrupt window will be closed by emitted fstp.
9de84e84 6933 Rewrite FP_EX_INEXACT handling.
d59a8fcc 6934
9954c743
JM
69352013-11-06 Joseph Myers <joseph@codesourcery.com>
6936
6937 * soft-fp/README: Update.
6938 * soft-fp/adddf3.c: Update from glibc.
6939 * soft-fp/addsf3.c: Likewise.
6940 * soft-fp/addtf3.c: Likewise.
6941 * soft-fp/divdf3.c: Likewise.
6942 * soft-fp/divsf3.c: Likewise.
6943 * soft-fp/divtf3.c: Likewise.
6944 * soft-fp/double.h: Likewise.
6945 * soft-fp/eqdf2.c: Likewise.
6946 * soft-fp/eqsf2.c: Likewise.
6947 * soft-fp/eqtf2.c: Likewise.
6948 * soft-fp/extenddftf2.c: Likewise.
6949 * soft-fp/extended.h: Likewise.
6950 * soft-fp/extendsfdf2.c: Likewise.
6951 * soft-fp/extendsftf2.c: Likewise.
6952 * soft-fp/extendxftf2.c: Likewise.
6953 * soft-fp/fixdfdi.c: Likewise.
6954 * soft-fp/fixdfsi.c: Likewise.
6955 * soft-fp/fixdfti.c: Likewise.
6956 * soft-fp/fixsfdi.c: Likewise.
6957 * soft-fp/fixsfsi.c: Likewise.
6958 * soft-fp/fixsfti.c: Likewise.
6959 * soft-fp/fixtfdi.c: Likewise.
6960 * soft-fp/fixtfsi.c: Likewise.
6961 * soft-fp/fixtfti.c: Likewise.
6962 * soft-fp/fixunsdfdi.c: Likewise.
6963 * soft-fp/fixunsdfsi.c: Likewise.
6964 * soft-fp/fixunsdfti.c: Likewise.
6965 * soft-fp/fixunssfdi.c: Likewise.
6966 * soft-fp/fixunssfsi.c: Likewise.
6967 * soft-fp/fixunssfti.c: Likewise.
6968 * soft-fp/fixunstfdi.c: Likewise.
6969 * soft-fp/fixunstfsi.c: Likewise.
6970 * soft-fp/fixunstfti.c: Likewise.
6971 * soft-fp/floatdidf.c: Likewise.
6972 * soft-fp/floatdisf.c: Likewise.
6973 * soft-fp/floatditf.c: Likewise.
6974 * soft-fp/floatsidf.c: Likewise.
6975 * soft-fp/floatsisf.c: Likewise.
6976 * soft-fp/floatsitf.c: Likewise.
6977 * soft-fp/floattidf.c: Likewise.
6978 * soft-fp/floattisf.c: Likewise.
6979 * soft-fp/floattitf.c: Likewise.
6980 * soft-fp/floatundidf.c: Likewise.
6981 * soft-fp/floatundisf.c: Likewise.
6982 * soft-fp/floatunditf.c: Likewise.
6983 * soft-fp/floatunsidf.c: Likewise.
6984 * soft-fp/floatunsisf.c: Likewise.
6985 * soft-fp/floatunsitf.c: Likewise.
6986 * soft-fp/floatuntidf.c: Likewise.
6987 * soft-fp/floatuntisf.c: Likewise.
6988 * soft-fp/floatuntitf.c: Likewise.
6989 * soft-fp/gedf2.c: Likewise.
6990 * soft-fp/gesf2.c: Likewise.
6991 * soft-fp/getf2.c: Likewise.
6992 * soft-fp/ledf2.c: Likewise.
6993 * soft-fp/lesf2.c: Likewise.
6994 * soft-fp/letf2.c: Likewise.
6995 * soft-fp/muldf3.c: Likewise.
6996 * soft-fp/mulsf3.c: Likewise.
6997 * soft-fp/multf3.c: Likewise.
6998 * soft-fp/negdf2.c: Likewise.
6999 * soft-fp/negsf2.c: Likewise.
7000 * soft-fp/negtf2.c: Likewise.
7001 * soft-fp/op-1.h: Likewise.
7002 * soft-fp/op-2.h: Likewise.
7003 * soft-fp/op-4.h: Likewise.
7004 * soft-fp/op-8.h: Likewise.
7005 * soft-fp/op-common.h: Likewise.
7006 * soft-fp/quad.h: Likewise.
7007 * soft-fp/single.h: Likewise.
7008 * soft-fp/soft-fp.h: Likewise.
7009 * soft-fp/subdf3.c: Likewise.
7010 * soft-fp/subsf3.c: Likewise.
7011 * soft-fp/subtf3.c: Likewise.
7012 * soft-fp/truncdfsf2.c: Likewise.
7013 * soft-fp/trunctfdf2.c: Likewise.
7014 * soft-fp/trunctfsf2.c: Likewise.
7015 * soft-fp/trunctfxf2.c: Likewise.
7016 * soft-fp/unorddf2.c: Likewise.
7017 * soft-fp/unordsf2.c: Likewise.
7018 * soft-fp/unordtf2.c: Likewise.
7019
02ac9503
UB
70202013-11-05 Uros Bizjak <ubizjak@gmail.com>
7021
7022 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7023 (_FP_MUL_MEAT_D): Ditto.
7024 (_FP_DIV_MEAT_S): Ditto.
7025 (_FP_DIV_MEAT_D): Ditto.
7026 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7027 t-softfp-sfdf and t-softfp to tmake_file.
7028
61221141
UB
70292013-11-03 Uros Bizjak <ubizjak@gmail.com>
7030
7031 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7032 * config/i386/crtprec.c: Ditto.
7033
9304f876
CJW
70342013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7035 Shiva Chen <shiva0217@gmail.com>
7036
7037 * config.host (nds32*-elf*): Add nds32 target.
7038 * config/nds32 : New directory and files.
7039
0e499e75
HPN
70402013-10-16 Hans-Peter Nilsson <hp@axis.com>
7041
7042 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7043 * config.host (cpu_type) <Setting default>: Add entry for
7044 crisv32-*-*.
7045 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7046 <crisv32-*-linux*>: Adjust.
7047 * longlong.h: Wrap the whole CRIS section in a single
7048 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7049 and sub_ddmmss.
7050 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7051 defined.
7052 [__CRIS__] (__umulsidi3): Define.
7053 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7054 * config/cris/sfp-machine.h: New file.
7055 * config/cris/umulsidi3.S: New file.
7056 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7057 * config/cris/arit.c (SIGNMULT): New macro.
7058 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7059 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7060 saving 3 out of originally 33 cycles from the fastest
7061 path, 3 out of 54 from the medium path and one from the longest
7062 path. Improve comments.
7063
16022041
RS
70642013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7065
7066 * sync.c: Remove static aliases and define each function directly
7067 under its real name.
7068
69778659
JDA
70692013-10-02 John David Anglin <danglin@gcc.gnu.org>
7070
7071 * config.host (hppa*64*-*-linux*): Define extra_parts.
7072 (hppa*-*-linux*): Likewise.
7073
2deaf8b0
JR
70742013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7075
7076 * config/arc/crtgend.S: Add 2013 to Copyright years.
7077 * config/arc/gmon/atomic.h: Likewise.
7078 * config/arc/gmon/auxreg.h: Likewise.
7079 * config/arc/gmon/sys/gmon_out.h: Likewise.
7080 * config/arc/gmon/sys/gmon.h: Likewise.
7081 * config/arc/gmon/prof-freq.c: Likewise.
7082 * config/arc/gmon/mcount.c: Likewise.
7083 * config/arc/gmon/prof-freq-stub.S: Likewise.
7084 * config/arc/gmon/gmon.c: Likewise.
7085 * config/arc/gmon/machine-gmon.h: Likewise.
7086 * config/arc/gmon/profil.S: Likewise.
7087 * config/arc/gmon/dcache_linesz.S: Likewise.
7088 * config/arc/crtg.S: Likewise.
7089 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7090 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7091 * config/arc/ieee-754/adddf3.S: Likewise.
7092 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7093 * config/arc/ieee-754/fixsfsi.S: Likewise.
7094 * config/arc/ieee-754/gtsf2.S: Likewise.
7095 * config/arc/ieee-754/floatsisf.S: Likewise.
7096 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7097 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7098 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7099 * config/arc/ieee-754/fixdfsi.S: Likewise.
7100 * config/arc/ieee-754/addsf3.S: Likewise.
7101 * config/arc/ieee-754/gesf2.S: Likewise.
7102 * config/arc/ieee-754/floatsidf.S: Likewise.
7103 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7104 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7105 * config/arc/ieee-754/gtdf2.S: Likewise.
7106 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7107 * config/arc/ieee-754/uneqdf2.S: Likewise.
7108 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7109 * config/arc/ieee-754/uneqsf2.S: Likewise.
7110 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7111 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7112 * config/arc/ieee-754/eqdf2.S: Likewise.
7113 * config/arc/ieee-754/ordsf2.S: Likewise.
7114 * config/arc/ieee-754/divsf3.S: Likewise.
7115 * config/arc/ieee-754/divdf3.S: Likewise.
7116 * config/arc/ieee-754/floatunsidf.S: Likewise.
7117 * config/arc/ieee-754/orddf2.S: Likewise.
7118 * config/arc/ieee-754/eqsf2.S: Likewise.
7119 * config/arc/ieee-754/gedf2.S: Likewise.
7120 * config/arc/crtn.S: Likewise.
7121 * config/arc/crti.S: Likewise.
7122 * config/arc/t-arc700-uClibc: Likewise.
7123 * config/arc/asm.h: Likewise.
7124 * config/arc/libgcc-excl.ver: Likewise.
7125 * config/arc/t-arc-newlib: Likewise.
7126 * config/arc/divtab-arc700.c: Likewise.
7127 * config/arc/initfini.c: Likewise.
7128 * config/arc/fp-hack.h: Likewise.
7129
c8e318b0
JR
71302013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7131 Diego Novillo <dnovillo@google.com>
7132
7133 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
7134 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7135 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7136 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 7137
d38a64b4
JR
71382013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7139 Brendan Kehoe <brendan@zen.org>
7140 Simon Cook <simon.cook@embecosm.com>
7141
7142 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7143 * config/arc: New directory.
7144 * longlong.h [__arc__] (umul_ppmm): Remove.
7145 [__arc__] (__umulsidi3): Define.
7146 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7147 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7148
dff717d2
JC
71492013-09-17 Jacek Caban <jacek@codeweavers.com>
7150
7151 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7152 CreateSemaphoreA.
7153 * config/i386/gthr-win32.h: Likewise.
7154
5c0029de
DD
71552013-09-16 DJ Delorie <dj@redhat.com>
7156
844ad6c6 7157 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
7158 * config/rl78/lib2mul.c: Enable for RL78/G10.
7159 * config/rl78/lib2div.c: Likewise.
7160 * config/rl78/lshrsi3.S: Use vregs.h.
7161 * config/rl78/cmpsi2.S: Likewise.
7162 * config/rl78/trampoline.S: Likewise.
7163 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7164
ceb2fc49
DD
71652013-09-14 DJ Delorie <dj@redhat.com>
7166 Nick Clifton <nickc@redhat.com>
7167
7168 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7169 * config/rl78/vregs.h: New.
7170 * config/rl78/signbit.S: New file. Implements signbit function.
7171 * config/rl78/divmodsi.S: New.
7172 * config/rl78/divmodhi.S: New.
7173 * config/rl78/divmodqi.S: New.
7174 * config/rl78/t-rl78: Build them here...
7175 * config/rl78/lib2div.c: ...but not here.
7176
f6a83b4a
DD
71772013-09-12 DJ Delorie <dj@redhat.com>
7178
7179 * config.host (msp*-*-elf): New.
7180 * config/msp430/: New port.
7181
9107b096
IS
71822013-08-18 Iain Sandoe <iain@codesourcery.com>
7183
7184 PR gcov-profile/58127
7185 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7186 __thread var for emulated TLS.
7187 (__gcov_indirect_call_counters): Likewise.
7188
0f9bde1f 71892013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 7190 Catherine Moore <clm@codesourcery.com>
7d296953 7191 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
7192
7193 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7194 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7195 (CALL_STUB_NO_RET): Likewise.
7196 (CALL_STUB_RET): Likewise.
7197 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7198 __mips16_ret call/return stub symbols.
7199 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7200 to tmake_file.
7201
2dc14aac
MR
72022013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7203
7204 * config.host <mips*-*-linux*>: Remove a stray comment.
7205
748d71f3
JH
72062013-08-10 Jan Hubicka <jh@suse.cz>
7207
7208 Work around binutils PR14342
7209 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7210 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7211 (L_gcov_indirect_call_profiler_v2): New.
7212
2fa3d31b
JH
72132013-08-06 Jan Hubicka <jh@suse.cz>
7214
7215 * libgcov.c (__gcov_indirect_call_callee,
7216 __gcov_indirect_call_counters): New global vars.
7217 (__gcov_indirect_call_profiler): replace by ...
7218 (__gcov_indirect_call_profiler_v2) ... this one.
7219
2077db1b
CT
72202013-08-06 Caroline Tice <cmtice@google.com>
7221
d0595b65 7222 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 7223 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
7224 * configure.ac: Add code to check/set enable_vtable_verify.
7225 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 7226 true.
d0595b65
CT
7227 * vtv_start_preinit.c: New file.
7228 * vtv_end_preinit.c: New file.
7229 * vtv_start.c: New file.
7230 * vtv_end.c: New file.
7231 * configure: Regenerated.
2077db1b 7232
46549c20
MK
72332013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7234
7235 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7236 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7237 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7238 GPL-3.0-with-GCC-exception.
7239
72be589b
MR
72402013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7241
7242 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7243 ISA and up.
7244
902a3faf
AK
72452013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7246
7247 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7248 mapping for FPRs when creating the fallback framestate.
7249
02371798
GJL
72502013-07-19 Georg-Johann Lay <avr@gjlay.de>
7251
7252 PR target/57516
7253 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7254 (__round_s2_const, __round_u2_const)
7255 (__round_s4_const, __round_u4_const, __round_x8):
7256 Saturate result if addition result cannot be represented.
7257
ab0e8379
MK
72582013-07-15 Matthias Klose <doko@ubuntu.com>
7259
7260 * libgcc2.c: Don't include <limits.h>.
7261
7da38058
JJ
72622013-07-09 Janis Johnson <janisjo@codesourcery.com>
7263
7264 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7265
1f6eac90
JJ
72662013-07-06 Jakub Jelinek <jakub@redhat.com>
7267
7268 PR target/29776
7269 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7270
4ea3d774
JJ
72712013-06-28 Jakub Jelinek <jakub@redhat.com>
7272
7273 PR middle-end/36041
7274 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7275 Define.
7276 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7277 instead of table lookups.
7278 (__popcountDI2): Likewise.
7279
9d2cdf25
CJW
72802013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7281
7282 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7283 correctly.
7284
fa1e55b0
JM
72852013-06-21 Joseph Myers <joseph@codesourcery.com>
7286
7287 PR other/53317
7288 * soft-fp/adddf3.c: Update from glibc.
7289 * soft-fp/addsf3.c: Likewise.
7290 * soft-fp/addtf3.c: Likewise.
7291 * soft-fp/divdf3.c: Likewise.
7292 * soft-fp/divsf3.c: Likewise.
7293 * soft-fp/divtf3.c: Likewise.
7294 * soft-fp/double.h: Likewise.
7295 * soft-fp/eqdf2.c: Likewise.
7296 * soft-fp/eqsf2.c: Likewise.
7297 * soft-fp/eqtf2.c: Likewise.
7298 * soft-fp/extenddftf2.c: Likewise.
7299 * soft-fp/extended.h: Likewise.
7300 * soft-fp/extendsfdf2.c: Likewise.
7301 * soft-fp/extendsftf2.c: Likewise.
7302 * soft-fp/fixdfdi.c: Likewise.
7303 * soft-fp/fixdfsi.c: Likewise.
7304 * soft-fp/fixsfdi.c: Likewise.
7305 * soft-fp/fixsfsi.c: Likewise.
7306 * soft-fp/fixtfdi.c: Likewise.
7307 * soft-fp/fixtfsi.c: Likewise.
7308 * soft-fp/fixunsdfdi.c: Likewise.
7309 * soft-fp/fixunsdfsi.c: Likewise.
7310 * soft-fp/fixunssfdi.c: Likewise.
7311 * soft-fp/fixunssfsi.c: Likewise.
7312 * soft-fp/fixunstfdi.c: Likewise.
7313 * soft-fp/fixunstfsi.c: Likewise.
7314 * soft-fp/floatdidf.c: Likewise.
7315 * soft-fp/floatdisf.c: Likewise.
7316 * soft-fp/floatditf.c: Likewise.
7317 * soft-fp/floatsidf.c: Likewise.
7318 * soft-fp/floatsisf.c: Likewise.
7319 * soft-fp/floatsitf.c: Likewise.
7320 * soft-fp/floatundidf.c: Likewise.
7321 * soft-fp/floatundisf.c: Likewise.
7322 * soft-fp/floatunditf.c: Likewise.
7323 * soft-fp/floatunsidf.c: Likewise.
7324 * soft-fp/floatunsisf.c: Likewise.
7325 * soft-fp/floatunsitf.c: Likewise.
7326 * soft-fp/gedf2.c: Likewise.
7327 * soft-fp/gesf2.c: Likewise.
7328 * soft-fp/getf2.c: Likewise.
7329 * soft-fp/ledf2.c: Likewise.
7330 * soft-fp/lesf2.c: Likewise.
7331 * soft-fp/letf2.c: Likewise.
7332 * soft-fp/muldf3.c: Likewise.
7333 * soft-fp/mulsf3.c: Likewise.
7334 * soft-fp/multf3.c: Likewise.
7335 * soft-fp/negdf2.c: Likewise.
7336 * soft-fp/negsf2.c: Likewise.
7337 * soft-fp/negtf2.c: Likewise.
7338 * soft-fp/op-1.h: Likewise.
7339 * soft-fp/op-2.h: Likewise.
7340 * soft-fp/op-4.h: Likewise.
7341 * soft-fp/op-8.h: Likewise.
7342 * soft-fp/op-common.h: Likewise.
7343 * soft-fp/quad.h: Likewise.
7344 * soft-fp/single.h: Likewise.
7345 * soft-fp/soft-fp.h: Likewise.
7346 * soft-fp/subdf3.c: Likewise.
7347 * soft-fp/subsf3.c: Likewise.
7348 * soft-fp/subtf3.c: Likewise.
7349 * soft-fp/truncdfsf2.c: Likewise.
7350 * soft-fp/trunctfdf2.c: Likewise.
7351 * soft-fp/trunctfsf2.c: Likewise.
7352 * soft-fp/unorddf2.c: Likewise.
7353 * soft-fp/unordsf2.c: Likewise.
7354 * soft-fp/unordtf2.c: Likewise.
7355 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7356 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7357 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7358 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7359 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7360 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7361 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7362 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7363 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7364 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7365 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7366 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7367
0de86a92
JU
73682013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7369
7370 * config/mips/lib2funcs.c: New file.
7371 * config/mips/t-mips (LIB2ADD_ST): Add it.
7372
0d008882
OE
73732013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7374
7375 PR target/6526
7376 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7377 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7378
776434d1
WL
73792013-06-08 Walter Lee <walt@tilera.com>
7380
7381 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7382 Replace int64_t with long long. Add __extension__ where
7383 appropriate.
7384 * config/tilepro/atomic.c: Include config.h.
7385
6ab3ebb4
DR
73862013-06-06 Douglas B Rupp <rupp@adacore.com>
7387
7388 * config.host (arm-wrs-vxworks): Configure with other soft float.
7389
107eea2c
JU
73902013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7391
7392 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7393 (mips64r5900el-*-elf*): New configurations.
7394
5cc19c62
AM
73952013-06-04 Alan Modra <amodra@gmail.com>
7396
7397 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7398
0f1d3965
YR
73992013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7400
7401 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7402
0ba045df
EB
74032013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7404
7405 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7406 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7407 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7408
49dcafd4
EB
74092013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7410
7411 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7412 (powerpc-wrs-vxworks): Likewise.
7413
4fcb5d87
EB
74142013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7415
7416 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7417 signal frames as well.
7418 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7419 STACK_BIAS to the CFA offset.
7420
0ec33224
RH
74212013-05-17 Richard Henderson <rth@redhat.com>
7422
7423 PR target/49146
7424 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7425 (execute_cfa_program): Use it when storing to fs->regs.
7426
492a8029
KT
74272013-05-08 Kai Tietz <ktietz@redhat.com>
7428
7429 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7430 (__deregister_frame_info): Likewise.
7431
701e2f0a
TS
74322013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7433
e5123d08
TS
7434 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7435 NaN's payload.
7436
701e2f0a
TS
7437 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7438
b9a7eb5d
AM
74392013-04-25 Alan Modra <amodra@gmail.com>
7440
7441 * config.host: Match little-endian powerpc-linux.
7442
dfe192f5
YZ
74432013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7444
7445 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7446 as 'unsigned long long' instead of 'unsigned long'.
7447 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7448 'signed long'.
7449
b6b9af2f
JB
74502013-04-10 Julian Brown <julian@codesourcery.com>
7451
7452 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7453 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7454 unsigned char/unsigned short.
7455 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7456
ecabdd00
JDA
74572013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7458
7459 PR other/55274
7460 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7461
34652576
MI
74622013-04-04 Meador Inge <meadori@codesourcery.com>
7463
7464 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7465 computing the location of the link register.
7466 (aeabi_uldivmod): Ditto.
7467
e9fd8c19
KT
74682013-03-27 Kai Tietz <ktietz@redhat.com>
7469
7470 * config.host: Add support for cygwin x64 target.
7471 * configure: Regenerated.
7472
a6406324
WL
74732013-03-26 Walter Lee <walt@tilera.com>
7474
7475 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7476 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7477
55446c7e
KT
74782013-03-25 Kai Tietz <ktietz@redhat.com>
7479
7480 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7481
d2ae19d9
RM
74822013-03-20 Robert Mason <rbmj@verizon.net>
7483
7484 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7485 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7486 (__gthread_leave_tsd_dtor_context): Add prototypes.
7487 (tls_delete_hook): Update.
7488
22c4c869
CM
74892013-03-20 Catherine Moore <clm@codesourcery.com>
7490 Joseph Myers <joseph@codesourcery.com>
7491 Chao-ying Fu <fu@mips.com>
7492
7493 * config/mips/mips16.S: Don't build for microMIPS.
7494 * config/mips/linux-unwind.h: Handle microMIPS frame.
7495 * config/mips/crtn.S (fini, init): New labels.
7496
fbd28bc3
JJ
74972013-03-14 Jakub Jelinek <jakub@redhat.com>
7498
7499 PR tree-optimization/53265
7500 * unwind-dw2.c (execute_cfa_program): Avoid
7501 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7502 on targets with DWARF_FRAME_REGISTERS < 32.
7503
decc676e
OE
75042013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7505
7506 PR target/49880
7507 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7508 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7509
84ea618a
ST
75102013-03-07 Sriraman Tallam <tmsriram@google.com>
7511
7512 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7513 sandybridge processors.
7514
8f6d1c86
OE
75152013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7516
7517 PR target/56529
7518 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7519 inclusion list.
7520
ecdbd01a 75212013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
7522
7523 * config/microblaze/crti.S: Setup stack protection at entry
7524
0b4ce21b
GJL
75252013-03-04 Georg-Johann Lay <avr@gjlay.de>
7526
7527 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7528 (__rotldi3): Shift bytewise if applicable.
7529
b7c3f1ca
JG
75302013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7531
7532 * config/aarch64/sync-cache.c
7533 (__aarch64_sync_cache_range): Silence warnings.
7534
6d65e8f1
CM
75352013-02-25 Catherine Moore <clm@codesourcery.com>
7536
7537 Revert:
7538 2013-02-24 Catherine Moore <clm@codesourcery.com>
7539 Joseph Myers <joseph@codesourcery.com>
7540 Chao-ying Fu <fu@mips.com>
7541
7542 * config/mips/mips16.S: Don't build for microMIPS.
7543 * config/mips/linux-unwind.h: Handle microMIPS frame.
7544 * config/mips/crtn.S (fini, init): New labels.
7545
6941b508
CM
75462013-02-24 Catherine Moore <clm@codesourcery.com>
7547 Joseph Myers <joseph@codesourcery.com>
7548 Chao-ying Fu <fu@mips.com>
7549
7550 * config/mips/mips16.S: Don't build for microMIPS.
7551 * config/mips/linux-unwind.h: Handle microMIPS frame.
7552 * config/mips/crtn.S (fini, init): New labels.
7553
7c422dbb 75542012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 7555 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
7556 as dividend.
7557
110207ad
AM
75582013-02-16 Alan Modra <amodra@gmail.com>
7559
7560 PR target/55431
7561 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7562 (ppc_fallback_frame_state): Always set up save locations for fp
7563 and altivec. Don't bother with non-callee-saved regs, r0-r13
7564 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7565
e68a4ef6
GJL
75662013-02-12 Georg-Johann Lay <avr@gjlay.de>
7567
7568 PR target/54222
7569 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7570 _ssmulHA, _ssmulSA.
7571 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7572 _ssmulha3, _usmulusa3, _ssmulsa3.
7573 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7574 (__muldi3): XCALL __muldi3_6 instead of rcall.
7575 (__umulsidi3, __mulsidi3): New functions.
7576 (do_prologue_saves, do_epilogue_restores): New .macros.
7577 (__divdi3_moddi3): Use them.
7578 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7579 (__usmulusa3, __ssmulsa3): New functions.
7580
6c59ffd1
IS
75812013-02-11 Iain Sandoe <iain@codesourcery.com>
7582 Jack Howarth <howarth@bromo.med.uc.edu>
7583 Patrick Marlier <patrick.marlier@gmail.com>
7584
7585 PR libitm/55693
7586 * config/darwin-crt-tm.c: Remove dummy functions hack.
7587
85d768f3
GJL
75882013-02-08 Georg-Johann Lay <avr@gjlay.de>
7589
7590 PR target/54222
7591 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7592 * config/avr/lib2-object.mk: New iterator to build objects from it.
7593 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7594 lib2funcs.c.
7595 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7596 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7597 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7598 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7599 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7600 * config/avr/lib1funcs-fixed.S: Implement them.
7601
5d5bf775
RS
76022013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7603
7604 Update copyright years.
7605
99113dff
DE
76062013-02-01 David Edelsohn <dje.gcc@gmail.com>
7607
7608 PR target/54601
7609 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7610 Add crtcxa to extra_parts.
7611 * config/rs6000/exit.h: New file.
7612 * config/rs6000/cxa_atexit.c: New file.
7613 * config/rs6000/cxa_finalize.c: New file.
7614 * config/rs6000/crtcxa.c: New file.
7615 * config/rs6000/t-aix-cxa: New file.
7616 * config/rs6000/libgcc-aix-cxa.ver: New file.
7617
dbdbd982
NC
76182013-01-31 Nick Clifton <nickc@redhat.com>
7619
7620 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7621 variant.
7622
5893f158
GJL
76232013-01-29 Georg-Johann Lay <avr@gjlay.de>
7624
7625 PR target/54222
7626 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7627 _mulQQ, _mulHQ, _mulHA, _mulSA,
7628 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7629 _divQQ, _divHQ, _divHA, _divSA,
7630 _divUQQ, _divUHQ, _divUHA, _divUSA.
7631
ecdbd01a 76322013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 7633
dbdbd982 7634 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
7635 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7636 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7637 to exclude functions from being built with libgcc.c and use
7638 the microblaze assembly.
7639
ecdbd01a 76402013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
7641
7642 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7643 extra_parts.
7644
922c57d1
YZ
76452013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7646
7647 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7648 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7649 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7650 alignment operation.
7651
e0f8b6a0
SN
76522013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7653
7654 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7655 loop start address for cache clearing.
7656
00892272
GJL
76572013-01-14 Georg-Johann Lay <avr@gjlay.de>
7658
7659 * config/avr/lib1funcs.S: Remove trailing blanks.
7660 * config/avr/lib1funcs-fixed.S: Ditto.
7661
e59ec5fd
GJL
76622013-01-14 Georg-Johann Lay <avr@gjlay.de>
7663
7664 * config/avr/avr-lib.h: Add GPL copyright notice.
7665
3ffc1958
GJL
76662013-01-14 Georg-Johann Lay <avr@gjlay.de>
7667
7668 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7669 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7670 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7671 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7672
25c210f9
MK
76732013-01-07 Mark Kettenis <kettenis@openbsd.org>
7674
7675 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7676 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 7677
db59befb
NC
76782013-01-04 Nick Clifton <nickc@redhat.com>
7679
7680 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7681 the CALLT instruction is supported.
7682
5aa12dbf
JW
76832012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7684
7685 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7686 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7687
65f14117
JT
76882012-12-13 John Tytgat <John@bass-software.com>
7689
7690 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7691 is 25.
7692
ee3ae4f7
JJ
76932012-12-12 Jakub Jelinek <jakub@redhat.com>
7694
7695 PR libgcc/55451
7696 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7697 undefined signed overflows.
7698
2fcfba3d
UB
76992012-12-09 Uros Bizjak <ubizjak@gmail.com>
7700
7701 PR target/55344
7702 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7703
4f2b3dc2
UB
77042012-12-06 Uros Bizjak <ubizjak@gmail.com>
7705
7706 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7707 (FP_TRAPPING_EXCEPTIONS): Define.
7708 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7709 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7710
066161a2
RH
77112012-12-04 Richard Henderson <rth@redhat.com>
7712
7713 PR bootstrap/55571
7714 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7715
7d296953 77162012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 7717
4f2b3dc2 7718 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
7719 (FP_EX_SHIFT): Define.
7720 (FP_TRAPPING_EXCEPTIONS): Define.
7721
7d296953 77222012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
7723
7724 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7725 (FP_ROUNDMODE): Use FP_RND_MASK.
7726 * config/aarch64/sfp-exceptions.c: New.
7727 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7728 Use __sfp_handle_exceptions.
7729
5005fe22
RE
77302012-12-04 Richard Earnshaw <rearnsha@arm.com>
7731
7732 * config.host: (arm*-*-freebsd*): Remove.
7733 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7734 (arm*-*-elf*): Remove.
7735 (arm*-*-wince-pe*): Remove.
7736 * arm/unwind-arm.c (struct fpa_reg): Delete.
7737 (struct fpa_regs): Delete.
7738 (phase1_vrs): Remove fpa element.
7739 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7740 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7741 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7742 * ieee754-sf.S (floatundisf): Remove FPA support.
7743 (floatdisf): Likewise.
7744 * ieee75f-df.S (floatundidf): Likewise.
7745 (floatdidf): Likewise.
7746
e5a81c8e
KT
77472012-11-29 Kai Tietz <ktietz@redhat.com>
7748
7749 PR target/55445
7750 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7751 * unwind-generic.h: Likewise.
7752 * unwind-seh.c: Likewise.
7753
f4919e4a
RH
77542012-11-28 Richard Henderson <rth@redhat.com>
7755
7756 PR libgcc/48076
7757 * emutls.c (__emutls_get_address): Avoid race condition between
7758 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 7759
e13d9d5a
GJL
77602012-11-22 Georg-Johann Lay <avr@gjlay.de>
7761
7762 Adjust decimal point of signed accum mode to GCC default.
7763
7764 PR target/54222
7765 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7766 _divqq_helper.
7767 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7768 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7769 (__mulha3, __mulsa3)
7770 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
7771 decimal point of signed accum types.
7772
e13d9d5a
GJL
7773 (__mulusa3_round): New function.
7774 (__mulusa3): Use it.
7775 (__divqq_helper): New function.
7776 (__udivuqq3): Use it.
7777
1b845c6e
JJ
77782012-11-20 Jakub Jelinek <jakub@redhat.com>
7779
7780 PR bootstrap/55370
7781 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7782
822a258a
TJ
77832012-11-18 Teresa Johnson <tejohnson@google.com>
7784
7785 PR bootstrap/55051
7786 * libgcov.c (gcov_exit): Remove merged program summary
7787 comparison unless !GCOV_LOCKED.
7788
7d296953 77892012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
7790
7791 * soft-fp: Updated from glibc upstream.
7792
e808687a
ILT
77932012-11-06 Ian Lance Taylor <iant@google.com>
7794
7795 * generic-morestack.c (__generic_morestack): Align the returned
7796 stack pointer to a 32 byte boundary.
7797 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7798 increment the return address until we have decided that we don't
7799 have a varargs function.
7800 (__morestack) [32-bit]: Align stack correctly when calling C
7801 functions.
7802 (__morestack) [64-bit]: Likewise.
7803
460277e0
TS
78042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7805
7806 * configure: Regenerate.
7807
73edb277
UB
78082012-11-02 Uros Bizjak <ubizjak@gmail.com>
7809
7810 PR target/55175
7811 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7812 * config/i386/sfp-machine.h: Guard exception handling
7813 code with _SOFT_FLOAT.
7814 * config/i386/32/sfp-machine.h: Guard rounding handling
7815 code with _SOFT_FLOAT.
7816 * config/i386/64/sfp-machine.h: Ditto.
7817
c1d4fa04
JS
78182012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7819
7820 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7821 as extra_parts.
7822
eff6ca85
UB
78232012-10-26 Uros Bizjak <ubizjak@gmail.com>
7824
7825 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7826 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7827 when appropriate. Correct structure element types.
7828 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7829 -minline-all-stringops from compile flags.
7830
7d296953 78312012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
7832
7833 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7834
7d296953 78352012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 7836
eff6ca85 7837 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 7838
6f288860
SH
78392012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7840
7841 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7842 tmake_file.
7843
1e3d5096
IB
78442012-10-23 Ian Bolton <ian.bolton@arm.com>
7845 Jim MacArthur <jim.macarthur@arm.com>
7846 Marcus Shawcroft <marcus.shawcroft@arm.com>
7847 Nigel Stephens <nigel.stephens@arm.com>
7848 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7849 Richard Earnshaw <rearnsha@arm.com>
7850 Sofiane Naci <sofiane.naci@arm.com>
7851 Stephen Thomas <stephen.thomas@arm.com>
7852 Tejas Belagod <tejas.belagod@arm.com>
7853 Yufeng Zhang <yufeng.zhang@arm.com>
7854
7855 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7856 * config/aarch64/crti.S: New file.
7857 * config/aarch64/crtn.S: New file.
7858 * config/aarch64/linux-unwind.h: New file.
7859 * config/aarch64/sfp-machine.h: New file.
7860 * config/aarch64/sync-cache.c: New file.
7861 * config/aarch64/t-aarch64: New file.
7862 * config/aarch64/t-softfp: New file.
7863
8a740f07
HPN
78642012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7865
7866 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7867 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7868 no-longer-needed LDBU insns.
7869
7d296953 78702012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
7871
7872 * config.host
7873 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7874 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7875
595fefee
MGD
78762012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7877
7878 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7879
9945a876
MK
78802012-10-15 Matthias Klose <doko@ubuntu.com>
7881
7882 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7883
1183dc2c
PC
78842012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7885
7886 * configure: Regenerate.
7887 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7888
945a9c1f
UB
78892012-10-10 Uros Bizjak <ubizjak@gmail.com>
7890
7891 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7892 instructions for 64bit targets only.
7893
fb8bf47a
UB
78942012-10-10 Uros Bizjak <ubizjak@gmail.com>
7895
7896 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7897 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7898 * config/i386/32/sfp-machine.h: ... here.
7899 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7900 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7901 New defines.
7902
acb72498
MK
79032012-10-07 Matthias Klose <doko@ubuntu.com>
7904
7905 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7906 as unused.
7907 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7908
8eaee0f0
MK
79092012-10-06 Mark Kettenis <kettenis@openbsd.org>
7910
7911 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7912 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7913 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7914 (ElfW): Likewise.
7915
5e3e4fe8
JW
79162012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7917
7918 PR other/53889
7919 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7920 Fix parameter names.
7921
86086376
OE
79222012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7923
7924 PR target/33135
7925 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7926 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7927 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7928
9597375a
OE
79292012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7930
7931 PR target/50457
7932 * config/sh/linux-atomic.S: Delete.
7933 * config/sh/linux-atomic.c: New.
7934 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7935 linux-atomic.c. Add cflags to disable warnings.
7936
1504e3e1
JW
79372012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7938
7939 PR other/53889
7940 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7941 function.
7942 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7943 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7944 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7945 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
7946 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7947 Likewise.
1504e3e1
JW
7948 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7949 Likewise.
7950 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7951 Likewise.
7952 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7953 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7954
17f293b0
MK
79552012-09-19 Mark Kettenis <kettenis@openbsd.org>
7956
9597375a
OE
7957 * config.host (hppa-*-openbsd*): New target.
7958 * config/pa/t-openbsd: New file.
17f293b0 7959
51526856
GJL
79602012-09-15 Georg-Johann Lay <avr@gjlay.de>
7961
7962 PR target/54222
7963 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7964 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7965 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7966 (__divsa3): Use __negsi2 to negate r_quoL.
7967 * config/avr/lib1funcs.S (FALIAS): New macro.
7968 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7969 (__negsi2): ...this new function.
7970 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7971 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7972 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7973 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7974 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7975 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7976
aadb5b43
OE
79772012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7978
7979 PR target/54089
7980 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7981 (lshrsi3): Reimplement as lshrsi3_r0.
7982
d5d66749
AS
79832012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7984
7985 PR target/46191
7986 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7987 of libgcc.a.
7988
c6c36e73
TJ
79892012-09-07 Teresa Johnson <tejohnson@google.com>
7990
9597375a 7991 PR gcov-profile/54487
c6c36e73 7992 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 7993 differences.
c6c36e73 7994
b588ae30
GJL
79952012-09-05 Georg-Johann Lay <avr@gjlay.de>
7996
7997 PR target/54461
7998 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7999 not configured --with-avrlibc=no.
8000 * config/avr/t-avrlibc: New file.
8001 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8002 (DPBIT_FUNCS): Ditto.
8003 (TPBIT_FUNCS): Ditto.
8004
abd16fb1
TJ
80052012-09-04 Teresa Johnson <tejohnson@google.com>
8006
8007 * libgcov.c (struct gcov_summary_buffer): New structure.
8008 (gcov_histogram_insert): New function.
8009 (gcov_compute_histogram): Ditto.
8010 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8011 histograms during summary merging.
8012
613061fd
MK
80132012-09-01 Mark Kettenis <kettenis@openbsd.org>
8014
8015 * config.host (x86_64-*-openbsd*): New target.
73edb277 8016
867a8345
CLT
80172012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8018
8019 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8020 attribute.
8021
4aeaaca3
GJL
80222012-08-24 Georg-Johann Lay <avr@gjlay.de>
8023
8024 PR target/54222
8025 * config/avr/t-avr (conv_X): Rename to func_X.
8026
e55e4056
GJL
80272012-08-24 Georg-Johann Lay <avr@gjlay.de>
8028
8029 PR target/54222
8030 * config/avr/lib1funcs-fixed.S: New file.
8031 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8032 after they are used.
8033 (neg2, neg4): New macros.
8034 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8035 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8036 (__umulhisi3): Speed up MUL variant if there is enough flash.
8037 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8038 avr-modes.def.
8039 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8040 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8041 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8042 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8043 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8044 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8045 (LIB2FUNCS_EXCLUDE): Add supported functions.
8046
a147b6d2
GJL
80472012-08-22 Georg-Johann Lay <avr@gjlay.de>
8048
8049 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8050 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8051 libgcc-s-objects.
8052 * fixed-obj.mk: Only expand dependency if $o is not in
8053 LIB2FUNCS_EXCLUDE.
8054
c637141a
L
80552012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8056
8057 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8058
130e00bd
JM
80592012-08-22 Joseph Myers <joseph@codesourcery.com>
8060
8061 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8062 depend on --enable-shared.
8063 ($(lib1asmfuncs-o)): Use %.vis files independent of
8064 --enable-shared.
8065 * static-object.mk ($(base)$(objext), $(base).vis)
8066 ($(base)_s$(objext)): Use same rules for visibility handling as in
8067 shared-object.mk.
8068
4b1b3788
ILT
80692012-08-21 Ian Lance Taylor <iant@google.com>
8070
8071 * config/i386/morestack.S (__morestack_non_split): Increase amount
8072 of space allocated for non-split code stack.
8073
d2468141
JM
80742012-08-19 Joseph Myers <joseph@codesourcery.com>
8075
8076 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8077 even if inhibit_libc.
8078
a508e1a8
JB
80792012-08-17 Julian Brown <julian@codesourcery.com>
8080
8081 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8082 -fexceptions -fnon-call-exceptions if not defined.
8083 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8084 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8085
5615a07d
AS
80862012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8087
8088 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8089 type.
8090
138f5acd
DE
80912012-08-16 David Edelsohn <dje.gcc@gmail.com>
8092
8093 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8094 rs6000/t-slibgcc-aix.
8095
18efc0dd
SB
80962012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8097
8098 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8099
6b39bc38
SB
81002012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8101
8102 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8103
cd25dea0
L
81042012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8105
8106 PR driver/54171
8107 * Makefile.in (version): Replace top_srcdir with srcdir.
8108
a3dda30b
JY
81092012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8110
8111 * Makefile.in (version): set to BASE-VER file from gcc directory.
8112
d04aacfc
NC
81132012-08-01 Nick Clifton <nickc@redhat.com>
8114
8115 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8116 Implements __clrsb for an HImode argument.
8117
0d13c974
NC
81182012-07-31 Nick Clifton <nickc@redhat.com>
8119
8120 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8121 Implements __clrsb for an HImode argument.
8122 * config/stormy16/clrsbhi2.c: New file:
8123 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8124
efbb59b2
SB
81252012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8126
8127 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8128
bf1431e3
TG
81292012-07-19 Tristan Gingold <gingold@adacore.com>
8130 Richard Henderson <rth@redhat.com>
8131
8132 * unwind-seh.c: New file.
8133 * unwind-generic.h: Include windows.h for SEH.
8134 (_Unwind_Exception): Use 6 private fields for SEH.
8135 (_GCC_specific_handler): Declare.
8136 * unwind-c.c (__gcc_personality_seh0): New function.
8137 Adjust for SEH.
8138 * config/i386/libgcc-cygming.ver: New file.
8139 * config/i386/t-seh-eh: New file.
8140 * config.host (x86_64-*-mingw*): Default to seh.
8141
659140c8
SB
81422012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8143
8144 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8145
a20d08fd
UB
81462012-06-17 Uros Bizjak <ubizjak@gmail.com>
8147
8148 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8149 __builtin_expect when checking for exceptions.
8150 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8151
79261115
UB
81522012-06-13 Uros Bizjak <ubizjak@gmail.com>
8153
4a172156
UB
8154 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8155 function declaration.
8156 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8157 (FP_RND_MASK): New.
8158 * config/ia64/sfp-exceptions.c: New.
8159 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 8160
bb5c97d4
UB
81612012-06-13 Uros Bizjak <ubizjak@gmail.com>
8162
8163 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8164 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8165 * config/i386/64/sfp-machine: ... (delete here) ...
8166 * config/i386/sfp-machine.h: ... to here.
8167 (FP_EX_MASK): Remove.
8168 (FP_RND_MASK): New.
8169 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8170
91fe5efb
ST
81712012-06-11 Sriraman Tallam <tmsriram@google.com>
8172
8173 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8174 * config/i386/libgcc-sol2.ver: Ditto.
8175 * config/i386/libgcc-glibc.ver: Ditto.
8176
67a218c5
RM
81772012-06-11 Roland McGrath <mcgrathr@google.com>
8178
8179 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8180 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8181 pthread_cancel.
8182
492fbea1
UB
81832012-06-09 Uros Bizjak <ubizjak@gmail.com>
8184
8185 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8186 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8187 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8188 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8189 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8190 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8191 * config/i386/64/sfp-machine: ... (delete here) ...
8192 * config/i386/sfp-machine.h: ... to here.
8193 (FP_EX_MASK): New.
8194 (__sfp_handle_exceptions): New function declaration.
8195 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8196 * config/i386/sfp-exceptions.c: New.
8197 * config/i386/t-softfp: New.
8198 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8199 i386/t-softfp to tmake_file.
8200
7b4cf266
DM
82012012-06-03 David S. Miller <davem@davemloft.net>
8202
8203 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8204 change.
8205
0de0d5c6
DM
82062012-05-31 David S. Miller <davem@davemloft.net>
8207
8208 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8209 multiply and divide instructions on 32-bit when V9.
8210 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8211
d8c9d391
JM
82122012-05-29 Joseph Myers <joseph@codesourcery.com>
8213
8214 * config/arm/ieee754-df.S: Fix typos.
8215 * config/arm/ieee754-sf.S: Fix typos.
8216 * config/c6x/libunwind.S: Fix typos.
8217 * config/epiphany/udivsi3-float.c: Fix typos.
8218 * config/microblaze/muldi3_hard.S: Fix typos.
8219 * config/picochip/adddi3.S: Fix typos.
8220 * config/picochip/ashlsi3.S: Fix typos.
8221 * config/picochip/ashrsi3.S: Fix typos.
8222 * config/picochip/clzsi2.S: Fix typos.
8223 * config/picochip/cmpsi2.S: Fix typos.
8224 * config/picochip/divmod15.S: Fix typos.
8225 * config/picochip/divmodhi4.S: Fix typos.
8226 * config/picochip/divmodsi4.S: Fix typos.
8227 * config/picochip/longjmp.S: Fix typos.
8228 * config/picochip/lshrsi3.S: Fix typos.
8229 * config/picochip/parityhi2.S: Fix typos.
8230 * config/picochip/popcounthi2.S: Fix typos.
8231 * config/picochip/setjmp.S: Fix typos.
8232 * config/picochip/subdi3.S: Fix typos.
8233 * config/picochip/ucmpsi2.S: Fix typos.
8234 * config/picochip/udivmodhi4.S: Fix typos.
8235 * config/picochip/udivmodsi4.S: Fix typos.
8236 * config/spu/divv2df3.c: Fix typos.
8237 * config/spu/mfc_multi_tag_release.c: Fix typos.
8238 * config/spu/mfc_tag_release.c: Fix typos.
8239 * configure.ac: Fix typos.
8240 * configure: Regenerate.
8241
31a18a7e
ILT
82422012-05-25 Ian Lance Taylor <iant@google.com>
8243
8244 * config/i386/morestack.S (__morestack_non_split): Check whether
8245 caller is varargs and needs %bp to hold the stack frame on return.
8246
c5768510
OH
82472012-05-25 Olivier Hainque <hainque@adacore.com>
8248
8249 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8250 sequence in the non pic case on VxWorks.
8251
7c7c339b
OH
82522012-05-24 Olivier Hainque <hainque@adacore.com>
8253
73fb7630 8254 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
8255 "install-leaf" to "install".
8256
fdc1b7d3
OH
82572012-05-24 Olivier Hainque <hainque@adacore.com>
8258
8259 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8260 Use a separate command for stamp removals.
8261
07ba94b9
AP
82622012-05-21 Andrew Pinski <apinski@cavium.com>
8263
8264 PR bootstrap/53183
8265 * configure.ac: Define the default includes to being none.
8266 * configure: Regenerate.
8267
4677d2eb
OH
82682012-05-16 Olivier Hainque <hainque@adacore.com>
8269
8270 * Makefile.in (install-unwind_h): Rename into ...
8271 (install-unwind_h-forbuild): New target.
8272 (all): Use it instead of the former install-unwind_h.
8273 (install-unwind_h): Reinstate, copy to user install destination
8274 for include files, not to the internal gcc object directory one.
8275 (install-leaf): Depend on it.
8276
7d67c380
OH
82772012-05-15 Olivier Hainque <hainque@adacore.com>
8278
8279 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8280 register numbers. LR_REGNO replaces R_LR.
8281 (ucontext_for): New, helper for ...
8282 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8283 and 5.3 of ...
8284 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8285
aca06c90
RO
82862012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8287
8288 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8289 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8290 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8291 i386/t-cpuinfo ...
8292 (i[34567]86-*-*, x86_64-*-*): ... here.
8293
8294 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8295 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8296
8297 * config/i386/i386-cpuinfo.c: Rename to ...
8298 * config/i386/cpuinfo.c: ... this.
8299 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8300
8301 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8302 (libgcc_cv_init_priority): New test.
8303 * configure: Regenerate.
8304 * config.in: New file.
8305 * Makefile.in (clean): Rename config.h to auto-target.h.
8306 (config.h): Likewise.
8307 (stamp-h): Likewise.
8308
8309 * config/i386/cpuinfo.c (auto-target.h): Include.
8310 (CONSTRUCTOR_PRIORITY): Define.
8311 (__cpu_indicator_init): Use it.
8312
0d03ac1b
L
83132012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8314
8315 * longlong.h: Use a URL instead of an FSF postal address.
8316 Replace spaces with tab.
8317
4a172156 83182012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
8319
8320 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8321 (__gcov_dump): Ditto.
8322 (gcov_dump_complete): New global variable.
8323 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8324 (__gcov_flush): Outline functionality now in gcov_clear.
8325 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8326
e4bb767e
AJ
83272012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8328
31a18a7e
ILT
8329 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8330 (mips*-*-linux*): Include mips/t-tpbit when long double is
8331 16 bytes long.
e4bb767e 8332
5ddecff9
ST
83332012-04-25 Sriraman Tallam <tmsriram@google.com>
8334
8335 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8336 (get_available_features): New argument. Check for AVX2.
8337 (__cpu_indicator_init): Modify call to get_available_features.
8338
b427dd7a
AM
83392012-04-25 Alan Modra <amodra@gmail.com>
8340
8341 * config/rs6000/crtsavevr.S: New file.
8342 * config/rs6000/crtrestvr.S: New file.
8343 * config/rs6000/t-savresfgpr: Build the above.
8344 * config/rs6000/t-netbsd: Likewise.
8345
ad491329
ST
83462012-04-24 Sriraman Tallam <tmsriram@google.com>
8347
8348 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8349
792317cc
ST
83502012-04-24 Sriraman Tallam <tmsriram@google.com>
8351
8352 * libgcc/config/i386/i386-cpuinfo.c: New file.
8353 * libgcc/config/i386/t-cpuinfo: New file.
8354 * libgcc/config.host: Include t-cpuinfo.
8355 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8356
e1be98a4
CF
83572012-04-24 Chao-ying Fu <fu@mips.com>
8358
8359 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8360
1bde7dab
TS
83612012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8362
8363 struct siginfo vs. siginfo_t
8364
8365 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8366 siginfo_t instead of struct siginfo.
8367 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8368 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8369 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8370 (ia64_handle_unwabi): Likewise.
8371 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8372 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8373 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8374 (sh_fallback_frame_state): Likewise.
8375 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8376 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8377
24590f66
L
83782012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8379
8380 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8381 system call number.
8382
9a9dcce8
EB
83832012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8384
8385 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8386 if it hasn't been previously saved.
8387
6401aaf5
L
83882012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8389
8390 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8391 only for glibc.
8392
7fd6378e
GJL
83932012-03-28 Georg-Johann Lay <avr@gjlay.de>
8394
8395 PR target/52737
8396 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8397 instead of __AVR_HAVE_8BIT_SP__.
8398
9e916de7
TG
83992012-03-26 Tristan Gingold <gingold@adacore.com>
8400
8401 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8402 (unw_table_entry): Use unw_word instead of unsigned long.
8403 (_Unwind_FindTableEntry): Likewise.
8404 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8405 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8406 (_Unwind_FindTableEntry): Likewise.
8407 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8408 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8409 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8410 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8411 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8412 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8413 (uw_init_context_1, uw_install_context): Likewise.
8414 (unw_word): Move to unwind-ia64.h
8415
4b12e93d
TG
84162012-03-26 Tristan Gingold <gingold@adacore.com>
8417
8418 * config/vms/vms-ucrt0.c: Update copyright years.
8419 Add a sanity check.
8420 (___gcc_main_flags): Declare.
8421 (__main): Check flags to remap argv and exit code.
8422 * config.host (*-*-*vms*): Adjust extra_parts.
8423 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8424 (crt0.o): Add.
8425
06ea7371
RE
84262012-03-22 Richard Earnshaw <rearnsha@arm.com>
8427
8428 * arm/lib1funcs.asm (ctzsi2): New function.
8429 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8430 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8431 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8432 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8433 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8434 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8435
d82ad50d
AT
84362012-03-21 Andreas Tobler <andreast@fgznet.ch>
8437
8438 * config.host: Add bits to support powerpc64-*-freebsd*.
8439 * config/rs6000/freebsd-unwind.h: New file.
8440 * config/rs6000/t-freebsd64: New file.
8441
b260a8c0
RG
84422012-03-20 Richard Guenther <rguenther@suse.de>
8443
8444 PR gcov-profile/52627
8445 * libgcov.c (init_mx): Fix mutex name.
8446
86286a8a
TG
84472012-03-16 Tristan Gingold <gingold@adacore.com>
8448
8449 * config/ia64/vms-unwind.h: Remove ulong (and replace
8450 it by unw_reg where used). Define unw_reg with __int64.
8451
7888f266
RO
84522012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8453
8454 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8455 Solaris 8 handling.
8456 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8457 Solaris 8 handling.
8458 (sparc_is_sighandler): Likewise.
8459
f155bc64
L
84602012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8461
8462 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8463 <= saved reg size.
8464
d47657bd
RO
84652012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8466
8467 * config/arm/crtn.S: Fix typo.
8468
5bef73a1
RG
84692012-03-13 Richard Guenther <rguenther@suse.de>
8470
8471 * libgcov.c: Remove stdio.h include and NULL un-define.
8472
9c4271f3
RG
84732012-03-13 Richard Guenther <rguenther@suse.de>
8474
8475 PR target/52569
8476 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8477
c6d10e7c
RG
84782012-03-13 Richard Guenther <rguenther@suse.de>
8479
8480 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8481
074a385f
RG
84822012-03-13 Richard Guenther <rguenther@suse.de>
8483
8484 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8485 and __gthread_mutex_init_function definitions.
8486
c4bc5c25
RO
84872012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8488
8489 * config.host (mips*-*-openbsd*): Remove.
8490
5c30094f
RO
84912012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8492
8493 * config.host: Remove alpha*-dec-osf5.1* handling.
8494 * config/alpha/gthr-posix.c: Remove.
8495 * config/alpha/libgcc-osf5.ver: Remove.
8496 * config/alpha/osf5-unwind.h: Remove.
8497 * config/alpha/t-osf-pthread: Remove.
8498 * config/alpha/t-slibgcc-osf: Remove.
8499 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8500 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8501 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8502 * mkmap-flat.awk: Remove osf_export handling.
8503
33e3e24d
RG
85042012-03-12 Richard Guenther <rguenther@suse.de>
8505
8506 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8507 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8508 (__gthread_mutex_init_function): New function.
8509 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8510
8511 PR gcov/49484
8512 * libgcov.c: Include gthr.h.
8513 (__gcov_flush_mx): New global variable.
8514 (init_mx, init_mx_once): New functions.
8515 (__gcov_flush): Protect self with a mutex.
8516 (__gcov_fork): Re-initialize mutex after forking.
8517 * unwind-dw2-fde.c: Change condition under which to use
8518 __GTHREAD_MUTEX_INIT_FUNCTION.
8519
d8aba32a
TG
85202012-03-12 Tristan Gingold <gingold@adacore.com>
8521
8522 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8523 * config/ia64/t-vms: Likewise.
8524
75ffafdc
MH
85252012-03-11 Michael Hope <michael.hope@linaro.org>
8526
4a172156
UB
8527 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8528 for Thumb-2.
75ffafdc 8529
ef6c2c53
WL
85302012-03-07 Walter Lee <walt@tilera.com>
8531
8532 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8533 "arch_atomic_".
8534 (atomic_xor): Rename and move definition to
8535 config/tilepro/atomic.h.
8536 (atomic_nand): Ditto.
8537 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8538 "arch_atomic_".
8539 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8540 (arch_atomic_nand): Ditto.
8541
4e30d980
GJL
85422012-03-07 Georg-Johann Lay <avr@gjlay.de>
8543
8544 PR target/52507
8545 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8546
61108225
GJL
85472012-03-07 Georg-Johann Lay <avr@gjlay.de>
8548
8549 PR target/52505
8550 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8551 from RAM.
8552
b30e10ab
GJL
85532012-03-07 Georg-Johann Lay <avr@gjlay.de>
8554
8555 PR target/52461
8556 PR target/52508
8557 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8558 if RAMPZ affects reading from RAM.
8559 (__tablejump_elpm__): Ditto.
8560 (.xload): Ditto.
8561 (__movmemx_hi): Ditto.
8562 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8563 (__do_global_dtors): Ditto.
8564 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8565 (__movmemx_hi): Ditto.
8566
8993fde4
RH
85672012-03-05 Richard Henderson <rth@redhat.com>
8568
8569 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8570 [ARM] (count_trailing_zeros): Use the builtin.
8571
b7633ee3
KT
85722012-03-01 Kai Tietz <ktietz@redhat.com>
8573
8574 * soft-fp: Imported from glibc upstream.
8575
fbd3340c
KT
85762012-02-28 Kai Tietz <ktietz@redhat.com>
8577
8578 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8579 for mingw-targets as attribute gcc_struct.
8580
e9e053eb
ILT
85812012-02-28 Ian Lance Taylor <iant@google.com>
8582
8583 * generic-morestack.c (__splitstack_releasecontext): Correct call
8584 to __morestack_release_segments.
8585
d80c632e
ST
85862012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8587
8588 PR target/52390
8589 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8590 for __linux__ when removing signals from __morestack_fullmask.
8591
0253a8b1
GJL
85922012-02-23 Georg-Johann Lay <avr@gjlay.de>
8593
8594 PR target/52261
8595 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8596
e10e461e
UW
85972012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8598
8599 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8600 instead of HAVE_INITFINI_ARRAY.
8601 * config/ia64/crtend.S: Likewise.
8602
0c0c6398
KT
86032012-02-20 Kai Tietz <ktietz@redhat.com>
8604
d7470374
KT
8605 PR libstdc++/52300
8606 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8607
0c0c6398
KT
8608 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8609 to w32-unwind.h header.
8610
78c27266
RS
86112012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8612
8613 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8614 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8615 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8616 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8617
5adeb246
RS
86182012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8619
8620 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8621
672ed313
IS
86222012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8623
8624 PR libitm/52220
8625 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 8626
e948a1fb
IS
86272012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8628 Patrick Marlier <patrick.marlier@gmail.com>
8629
8630 PR libitm/52220
8631 * config/darwin-crt-tm.c: Generate dummy functions.
8632
6017aed3
IS
86332012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8634 Patrick Marlier <patrick.marlier@gmail.com>
8635
8636 PR libitm/52042
8637 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8638 (__doTMRegistrations): Call it.
e9e053eb 8639 (__doTMdeRegistrations): Likewise.
6017aed3 8640
2da8c1ad 86412012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
8642 Anatoly Sokolov <aesok@post.ru>
8643 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
8644
8645 PR target/52261
8646 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8647 (__epilogue_restores__): Ditto.
8648
0f952eb4
EB
86492012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8650
8651 PR target/51921
8652 PR target/52205
8653 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8654 Solaris 11 and slightly reformat.
8655 (sparc_is_sighandler): Likewise.
8656
dd552284
WL
86572012-02-14 Walter Lee <walt@tilera.com>
8658
8659 * config.host: Handle tilegx and tilepro.
8660 * config/tilegx/sfp-machine.h: New file.
8661 * config/tilegx/sfp-machine32.h: New file.
8662 * config/tilegx/sfp-machine64.h: New file.
8663 * config/tilegx/t-crtstuff: New file.
8664 * config/tilegx/t-softfp: New file.
8665 * config/tilegx/t-tilegx: New file.
8666 * config/tilepro/atomic.c: New file.
8667 * config/tilepro/atomic.h: New file.
8668 * config/tilepro/linux-unwind.h: New file.
8669 * config/tilepro/sfp-machine.h: New file.
8670 * config/tilepro/softdivide.c: New file.
8671 * config/tilepro/softmpy.S: New file.
8672 * config/tilepro/t-crtstuff: New file.
8673 * config/tilepro/t-tilepro: New file.
8674
b59cbd50
JW
86752012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8676
8677 PR libstdc++/51296
8678 PR libstdc++/51906
8679 * gthr-posix.h: Allow static initializer macros to be disabled.
8680 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8681
6caf807f
CLT
86822012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8683
8684 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8685 Add t-slibgcc-libgcc to tmake_file.
8686 * config/mips/libgcc-mips16.ver: Revert previous patch.
8687 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8688
7d296953
JJ
86892012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8690 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
8691
8692 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8693 * config/cr16/crti.S: New file.
8694 * config/cr16/crtlibid.S: New file.
8695 * config/cr16/crtn.S: New file.
8696 * config/cr16/lib1funcs.S: New file.
8697 * config/cr16/t-cr16: New file.
8698 * config/cr16/t-crtlibid: New file.
8699 * config/cr16/unwind-dw2.h: New file.
8700 * config/cr16/unwind-cr16.c: New file.
8701 * config/cr16/divmodhi3.c: New file.
8702
8ef03aa7
AM
87032012-01-25 Alan Modra <amodra@gmail.com>
8704
8705 * config/rs6000/t-linux64: Delete. Move..
8706 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8707 * config/rs6000/t-linux: ..and libgcc flags to here.
8708
daecebc8
DR
87092012-01-22 Douglas B Rupp <rupp@gnat.com>
8710
8711 * config.host (i[34567]86-*-interix3*):
8ef03aa7 8712 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
8713 * configure: Regenerate.
8714
ddaf8125
RS
87152012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8716 Richard Sandiford <rdsandiford@googlemail.com>
8717
8718 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8719 * config/mips/mips16.S (__mips16_rdhwr): New function.
8720 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8721
2cd8b32c
NS
87222012-01-11 Nathan Sidwell <nathan@acm.org>
8723
8724 * libgcov.c (__gcov_init): Ignore objects with no functions.
8725
cba300dd
GJL
87262012-01-10 Georg-Johann Lay <avr@gjlay.de>
8727
8728 PR target/49868
8729 Extend __pgmx semantics to linearize memory.
8730 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8731 * config/avr/lib1funcs.S (__xload_1): New function.
8732 (__movmemx_qi, __movmemx_hi): New functions.
8733 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8734 semantics.
9ffaf4bc 8735
3d137660
EB
87362012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8737
8738 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8739 purported sigacthandler address isn't null before dereferencing it.
8740 (sparc_is_sighandler): Likewise.
8741
bf4db96c
EB
87422012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8743
8744 PR ada/41929
8745 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8746 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8747 (sparc_is_sighandler): Likewise.
8748 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8749
1ab3568b
TG
87502012-01-06 Tristan Gingold <gingold@adacore.com>
8751
8752 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8753 compatibility thunks...
8754 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8755 (crtbeginS.o, crtendS.o): ... and these to ...
8756 * config/ia64/t-ia64-elf: ... this new file.
8757 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8758 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8759
925b0ed8
AK
87602012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8761
8762 * configure: Regenerate.
8763 * config/s390/t-crtstuff: Remove -fPIC.
8764
a99ad737
JW
87652012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8766
8767 PR bootstrap/51006
8768 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8769 for NetBSD.
8770
884f56d1
GJL
87712012-01-02 Georg-Johann Lay <avr@gjlay.de>
8772
8773 PR target/51345
8774 * config/avr/lib1funcs.S: Remove FIXME comments.
8775 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8776
8c57e547
GJL
87772012-01-02 Georg-Johann Lay <avr@gjlay.de>
8778
8779 Implement light-weight DImode support.
8780 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8781 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8782 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8783 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8784
04dbc287
NS
87852011-12-30 Nathan Sidwell <nathan@acm.org>
8786
8787 * libgcov.c (gcov_crc32): Remove global var.
8788 (free_fn_data): New function.
8789 (buffer_fn_data): Pass in filename, more robust error recovery.
8790 (crc32_unsigned): New function.
8791 (gcov_exit): More robust detection of new program. More robust
8792 error recovery.
8793 (__gcov_init): Do not update program's crc here.
8794
8e1d97d4
TG
87952011-12-21 Tristan Gingold <gingold@adacore.com>
8796
8797 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8798
9ffaf4bc
ILT
87992011-12-21 Ian Lance Taylor <iant@google.com>
8800
8801 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8802
a0c8d0c1
ILT
88032011-12-20 Ian Lance Taylor <iant@google.com>
8804
8805 * config/i386/morestack.S (__morestack_non_split): If there is
8806 enough stack space already, don't split. Ask for more stack space
8807 than we required.
8808
69048898
SDJ
88092011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8810
8811 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8812 `sys/sdt.h'.
8813 (_Unwind_DebugHook): New function.
8814 (uw_restore_core_regs): New define.
8815 (unwind_phase2): Use uw_restore_core_regs instead of
8816 restore_core_regs.
8817 (unwind_phase2_forced): Likewise.
8818 (__gnu_Unwind_Resume): Likewise.
8819
1bb4b6a3
UB
88202011-12-20 Uros Bizjak <ubizjak@gmail.com>
8821
8822 * config/alpha/linux-unwind.h: Update copyright years.
8823 (MD_FROB_UPDATE_CONTEXT): New define.
8824 (alpha_frob_update_context): New function.
8825
eb028768
RS
88262011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8827
8828 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8829 tmake_file rather replacing it.
8830
6a2045bf
IS
88312011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8832
8833 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 8834 function is not used for PPC64.
6a2045bf
IS
8835 (save_world): Amend comments. Update the VRsave mask to reflect the
8836 saved regs.
8837 (rest_world): Update comments, do not clobber r10, do not use r8.
8838 (eh_rest_world_r10): Amend comments, do not use r8.
8839 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8840 no longer used, move restore of CR and target address to the end of
8841 the routine.
8842
a13780a6
L
88432011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8844
8845 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8846 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8847
d7288dfb
GJL
88482011-12-14 Georg-Johann Lay <avr@gjlay.de>
8849
8850 PR target/49313
8851 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8852 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8853
8d2c862d
EB
88542011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8855
8856 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8857
3447cae6
GJL
88582011-12-09 Georg-Johann Lay <avr@gjlay.de>
8859
8860 PR target/49313
8861 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8862 * config/avr/lib1funcs.S (__muldi3): New function.
8863
806fc6aa
AP
88642011-12-06 Andrew Pinski <apinski@cavium.com>
8865
8866 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8867 size of func_ptr.
8868 (__frame_dummy_init_array_entry): Likewise.
8869
28c5e6b5
GJL
88702011-12-06 Georg-Johann Lay <avr@gjlay.de>
8871
8872 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8873
8874 PR target/51345
8875 PR target/51002
8876 * config/avr/lib1funcs.S (__prologue_saves__,
8877 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8878 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8879
8f90394a
IS
88802011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8881
8882 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8883
06dd33ac
JDA
88842011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8885
8886 PR other/51272
8887 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8888 (_ITM_deregisterTMCloneTable): Likewise.
8889 (__register_frame_info): Fix unused warning.
8890 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8891 pthread_default_stacksize_np): Likewise.
8892 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 8893
85b8555e
DD
88942011-11-29 DJ Delorie <dj@redhat.com>
8895
8896 * config.host (rl78-*-elf): New case.
8897 * config/rl78: New directory for the Renesas RL78.
8898
4d5ae4ea
BS
88992011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8900
8901 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8902 formatting.
8903
f9c55897
RO
89042011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8905
8906 PR other/51022
8907 * config/rs6000/t-savresfgpr: New file.
8908 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8909 $(srcdir)/config/rs6000/eabi.S.
8910 * config/rs6000/t-ppccomm-ldbl: Remove.
8911 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8912 tmake_file.
8913 (powerpc-*-eabispe*): Likewise.
8914 (powerpc-*-eabi*): Likewise.
8915 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8916 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8917 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8918 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8919 tmake_file.
8920 (powerpc-*-eabisim*): Likewise.
8921 (powerpc-*-elf*): Likewise.
8922 (powerpc-*-eabialtivec*): Likewise.
8923 (powerpc-xilinx-eabi*): Likewise.
8924 (powerpc-*-rtems*): Likewise.
8925 (powerpcle-*-elf*): Likewise.
8926 (powerpcle-*-eabisim*): Likewise.
8927 (powerpcle-*-eabi*): Likewise.
8928
a01207c4
ILT
89292011-11-27 Ian Lance Taylor <iant@google.com>
8930
8931 * generic-morestack.c (__splitstack_find): Check for NULL old
8932 stack value.
8933 (__splitstack_resetcontext): New function.
8934 (__splitstack_releasecontext): New function.
8935 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8936
2b0b8ab2
IS
89372011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8938
8939 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8940
c1d8101c
IS
89412011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8942
8943 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8944
8b281334
RH
89452011-11-26 Richard Henderson <rth@redhat.com>
8946
8947 * config/m68k/linux-atomic.c: New file.
8948 * config/m68k/t-linux: New file.
8949 * config.host (m68k-uclinux, m68k-linux): Use it.
8950
7546aa9d
RH
89512011-11-26 Richard Henderson <rth@redhat.com>
8952
8953 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8954 (__TMC_END__): Only declare if hidden is available; in the definition,
8955 if hidden is unavailable add a null record.
8956 (deregister_tm_clones, register_tm_clones): New.
8957 (__do_global_dtors_aux, frame_dummy): Use them.
8958 (__do_global_dtors, __do_global_ctors_1): Likewise.
8959
e2362f5d
IS
89602011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8961
8962 * config/darwin-crt-tm.c: New file.
8963 * config.host (darwin): Build crttms.o crttme.o to provide
8964 startup and shutdown for tm clones.
8965 * config/t-darwin (crttms.o): New build rule.
8966 (crttme.o): Likewise.
8967
6685dd96
HPN
89682011-11-21 Hans-Peter Nilsson <hp@axis.com>
8969
8970 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8971 et al.
8972
b0dc7e4c
RH
89732011-11-21 Richard Henderson <rth@redhat.com>
8974
8975 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8976 (__TMC_LIST__, __TMC_END__): New.
8977 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8978 (__do_global_dtors): Likewise.
8979 (frame_dummy): Call _ITM_registerTMCloneTable.
8980 (__do_global_ctors_1): Likewise.
8981
d4b4b542
RO
89822011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8983
8984 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8985 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8986 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8987 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8988 * config/i386/t-darwin64: Remove.
8989 * config/sh/t-netbsd (LIB2ADD): Remove.
8990
989bdb74
GJL
89912011-11-21 Georg-Johann Lay <avr@gjlay.de>
8992
8993 PR target/49313
8994 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8995 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8996 * config/avr/lib1funcs.S (wmov): New assembler macro.
8997 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8998 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8999 (__udivmod64): New function.
9000 (__negdi2): New function.
9001
515a0cfc
GP
90022011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9003
9004 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9005 *-*-freebsd*aout*): Remove.
9006
0115d17f
HPN
90072011-11-20 Hans-Peter Nilsson <hp@axis.com>
9008
9009 * static-object.mk (c_flags-$o): Save c_flags.
9010 ($(base)$(objext)): Use it.
9011
93aeb62b
SE
90122011-11-18 Steve Ellcey <sje@cup.hp.com>
9013
9014 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9015
7bc6df2c
GJL
90162011-11-18 Georg-Johann Lay <avr@gjlay.de>
9017
9018 PR target/49868
9019 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9020 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9021 New functions.
9022
425d737b
MGD
90232011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9024
9025 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9026 functions.
1bb4b6a3 9027 (aeabi_uidivmod): Likewise.
425d737b
MGD
9028 (umodsi3): Likewise.
9029 (divsi3): Likewise.
9030 (aeabi_idivmod): Likewise.
9031 (modsi3): Likewise.
9032
f2a176dc
TG
90332011-11-16 Tristan Gingold <gingold@adacore.com>
9034
9035 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9036
7c209481
GJL
90372011-11-15 Georg-Johann Lay <avr@gjlay.de>
9038
9039 PR target/49868
9040 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9041 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9042
9dfd5832
JDA
90432011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9044
9045 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9046 tmake_file list.
9047 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9048 * config/pa/t-stublib64: Delete.
9049
f77dca5d
RH
90502011-11-12 Richard Henderson <rth@redhat.com>
9051
9052 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9053 cast the pointer argument to _Unwind_SetGRPtr.
9054
902828f0
RO
90552011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9056
9057 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9058
e14304ef
ILT
90592011-11-09 Ian Lance Taylor <iant@google.com>
9060
9061 * generic-morestack.c: Include <string.h>.
9062 (uintptr_type): Define.
9063 (struct initial_sp): Add dont_block_signals field. Reduce size of
9064 extra array by 1.
9065 (allocate_segment): Set prev field to NULL. Don't set
9066 __morestack_current_segment or __morestack_segments.
9067 (__generic_morestack): Update current->prev and *pp after calling
9068 allocate_segment.
9069 (__morestack_block_signals): Don't do anything if
9070 dont_block_signals is set.
9071 (__morestack_unblock_signals): Likewise.
9072 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9073 uintptr_type.
9074 (__splitstack_block_signals): New function.
9075 (enum __splitstack_content_offsets): Define.
9076 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9077 (__splitstack_makecontext): New function.
9078 (__splitstack_block_signals_context): New function.
9079 (__splitstack_find_context): New function.
9080 * config/i386/morestack.S (__morestack_get_guard): New function.
9081 (__morestack_set_guard, __morestack_make_guard): New functions.
9082 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9083
e3d871e4
RO
90842011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9085
9086 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9087 (i[34567]86-*-mingw*): ... here.
9088 (x86_64-*-mingw*): ... here.
9089
e55cef40
RO
90902011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9091
9092 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9093
5366b186
NS
90942011-11-07 Nathan Sidwell <nathan@acm.org>
9095
9096 * libgcov.c (struct gcov_fn_buffer): New struct.
9097 (buffer_fn_data): New helper.
9098 (gcov_exit): Rework for new gcov data structures.
9099
74155a6f
GJL
91002011-11-07 Georg-Johann Lay <avr@gjlay.de>
9101
9102 PR target/49313
9103 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9104
200feb07
RO
91052011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9106
9107 * config.host (tmake_file): Correct comment.
9108 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9109 t-libgcc-pic.
9110 (bfin*-uclinux*): Likewise.
9111 (bfin*-linux-uclibc*): Likewise.
9112 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9113
9114 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9115 assigning.
9116 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9117 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9118 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9119 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9120 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9121 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9122 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9123 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9124 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9125 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9126 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9127 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9128 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9129
9130 * config/bfin/t-elf: Remove.
9131 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9132
c9cd1a07
RO
91332011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9134
9135 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9136 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9137 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9138 (lm32-*-elf*): ... this.
9139 (lm32-*-rtems*): ... and this.
9140 Add to tmake_file.
9141 (m32r-*-rtems*): Add to tmake_file.
9142 (moxie-*-rtems*): Likewise.
9143 (sparc-*-rtems*): Likewise.
9144 Remove t-rtems from tmake_file.
9145 (sparc64-*-rtems*): Likewise.
9146 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9147 instead.
9148
9fbcc75d
RO
91492011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9150
9151 PR bootstrap/50982
9152 * config/gthr-posix.h: Move ...
9153 * gthr-posix.h: ... here.
9154 * config/gthr-lynx.h: Reflect this.
9155 * config/gthr-vxworks.h: Likewise.
9156 * config/rs6000/gthr-aix.h: Likewise.
9157 * configure.ac (target_thread_file): Likewise.
9158 * configure: Regenerate.
9159
76644b68
SH
91602011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9161
9162 * config.host (arm*-*-rtemseabi*): New target.
9163
5e490f2a
JDA
91642011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9165
9166 PR other/50991
9167 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9168 extra-parts.
9169
feeeff5c
JR
91702011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9171
9172 * config.host (epiphany-*-elf*): New configuration.
9173 * config/epiphany: New Directory.
9174
d618bb2c
RC
91752011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9176
9177 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9178 * config/avr/t-rtems: New.
9179 Filter out _exit from LIB1ASMFUNCS.
9180
1bb6f778
DM
91812011-11-04 David S. Miller <davem@davemloft.net>
9182
9183 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9184 * configure: Rebuild.
9185
9a7f7422
AK
91862011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9187
9188 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9189 variable.
9190
e4fe948a
GJL
91912011-11-04 Georg-Johann Lay <avr@gjlay.de>
9192
9193 PR target/50931
9194 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9195 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9196
7084e037
JS
91972011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9198
9199 PR target/50989
9200 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9201
1a032034
RO
92022011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9203
9204 * config/c6x/t-elf (LIB2ADDEH): Set.
9205 * config/c6x/t-c6x-elf: Remove.
9206
d385f772
RO
92072011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9208
9209 * config/i386/sol2-ci.S: Rename to ...
9210 * config/i386/crti.S: ... this.
9211 * config/i386/sol2-cn.S: Rename to ...
9212 * config/i386/crtn.S: ... this.
9213 * config/sparc/sol2-ci.S: Rename to ...
9214 * config/sparc/crti.S: ... this.
9215 * config/sparc/sol2-cn.S: Rename to ...
9216 * config/sparc/crtn.S: ... this.
9217 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9218 (crti.o, crtn.o): Remove.
9219
1ba878a9
TG
92202011-11-04 Tristan Gingold <gingold@adacore.com>
9221
9222 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9223
02750c15
KK
92242011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9225
9226 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9227
bf86b067
HPN
92282011-11-03 Hans-Peter Nilsson <hp@axis.com>
9229
9230 * config.host (crisv32-*-none, cris-*-none): Remove.
9231 (crisv32-*-elf): Append to tmake_file, don't just set it.
9232 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9233
d0bc53bd
RO
92342011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9235
9236 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9237 (ecrtn$(objext)): Likewise.
9238 (ncrti$(objext)): Likewise.
9239 (ncrtn$(objext)): Likewise.
9240
036da830
AS
92412011-11-03 Andreas Schwab <schwab@redhat.com>
9242
9243 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9244
d2a7d041
DM
92452011-11-02 David S. Miller <davem@davemloft.net>
9246
9247 * configure.ac: Set host_address on sparc too.
9248 * configure: Regenerate.
9249 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9250 based upon host_address.
9251 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9252
af8ed618
JM
92532011-11-02 Jason Merrill <jason@redhat.com>
9254
9255 * config/rs6000/t-ppccomm: Add missing \.
9256
5d1c8e77
RO
92572011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9258
9259 * gthr-single.h, gthr.h: New files.
9260 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9261 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9262 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9263 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9264 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9265 * configure.ac (thread_header): New variable.
9266 Set it depending on target_thread_file.
9267 (gthr-default.h): Link from $thread_header.
9268 * configure: Regenerate.
9269 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9270
852b75ed
RO
92712011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9272
9273 * configure.ac (tm_file_): New variable.
9274 Determine from tm_file.
9275 (tm_file, tm_defines): Substitute.
9276 * configure: Regenerate.
9277 * mkheader.sh: New file.
9278 * Makefile.in (clean): Remove libgcc_tm.h.
9279 ($(objects)): Depend on libgcc_tm.h.
9280 (libgcc_tm_defines, libgcc_tm_file): New variables.
9281 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9282 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9283 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9284 ($(extra-parts)): Depend on libgcc_tm.h.
9285 * config.host (tm_defines, tm_file): New variable.
9286 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9287 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9288 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9289 (avr-*-rtems*): Likewise.
9290 (avr-*-*): Likewise.
9291 (frv-*-elf): Likewise.
9292 (frv-*-*linux*): Likewise.
9293 (h8300-*-rtems*): Likewise.
9294 (h8300-*-elf*): Likewise.
9295 (i[34567]86-*-darwin*): Likewise.
9296 (x86_64-*-darwin*): Likewise.
9297 (rx-*-elf): Likewise.
9298 (tic6x-*-uclinux): Likewise.
9299 (tic6x-*-elf): Likewise.
9300 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9301 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9302 * config/i386/cygming-crtbegin.c: Likewise.
9303 * config/i386/cygming-crtend.c: Likewise.
9304 * config/ia64/fde-vms.c: Likewise.
9305 * config/ia64/unwind-ia64.c: Likewise.
9306 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9307 * config/rs6000/darwin-fallback.c: Likewise.
9308 * config/stormy16/lib2funcs.c: Likewise.
9309 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9310 * crtstuff.c: Likewise.
9311 * dfp-bit.h: Likewise.
9312 * emutls.c: Likewise.
9313 * fixed-bit.c: Likewise.
9314 * fp-bit.c: Likewise.
9315 * generic-morestack-thread.c: Likewise.
9316 * generic-morestack.c: Likewise.
9317 * libgcc2.c: Likewise.
9318 * libgcov.c: Likewise.
9319 * unwind-dw2-fde-dip.c: Likewise.
9320 * unwind-dw2-fde.c: Likewise.
9321 * unwind-dw2.c: Likewise.
9322 * unwind-sjlj.c: Likewise.
9323
f9989b51
RO
93242011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9325
9326 * configure.ac: Include ../config/picflag.m4.
9327 (GCC_PICFLAG): Call it.
9328 Substitute.
9329 * configure: Regenerate.
9330 * Makefile.in (gcc_srcdir): Remove.
9331 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9332 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9333 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9334 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9335 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9336 Use $<.
9337 Remove comment.
9338 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9339 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9340 to refer to libgcc2.c.
9341 Use $<.
9342 * config/darwin-64.c: New file.
9343 * config/darwin-crt3.c: Remove comment.
9344 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9345 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9346 config/udivmodsi4.c: New files.
9347 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9348 config/memset.c: New files.
9349 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9350 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9351 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9352 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9353 * config/t-openbsd-thread: New file.
9354 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9355 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9356 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9357 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9358 qrnnd.S.
9359 Adapt filename.
9360 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9361 to refer to gthr-posix.c.
9362 * config/alpha/t-vms (LIB2ADD): Set.
9363 * config/alpha/vms-gcc_shell_handler.c: New file.
9364 * config/arm/bpabi.c, config/arm/fp16.c,
9365 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9366 config/arm/unaligned-funcs.c: New files.
9367 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9368 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9369 * config/arm/t-linux: Likewise.
9370 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9371 * config/arm/t-netbsd: New file.
9372 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9373 * config/arm/t-symbian (LIB2ADD_ST): Set.
9374 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9375 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9376 * config/bfin/t-elf: New file.
9377 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9378 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9379 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9380 config/c6x/ltf.c: New files.
9381 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9382 (HOST_LIBGCC2_CFLAGS): Set.
9383 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9384 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9385 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9386 New files.
9387 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9388 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9389 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9390 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9391 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9392 files.
9393 * config/frv/t-frv (LIB2ADD): Set.
9394 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9395 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9396 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9397 config/h8300/popcounthi2.c: New files.
9398 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9399 * config/i386/gthr-win32.c: New file.
9400 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9401 * config/i386/t-cygwin: Likewise.
9402 * config/i386/t-darwin, config/i386/t-darwin64,
9403 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9404 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9405 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9406 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9407 * config/ia64/quadlib.c: New file.
9408 * config/ia64/t-hpux (LIB2ADD): Set.
9409 * config/ia64/t-ia64: Add comment.
9410 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9411 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9412 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9413 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9414 * config/m32c/t-m32c (LIB2ADD): Set.
9415 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9416 * config/m32r/t-m32r: Likewise.
9417 * config/m68k/fpgnulib.c: New file.
9418 * config/m68k/t-floatlib (LIB2ADD): Set.
9419 (xfgnulib.c): New target.
9420 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9421 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9422 * config/mep/t-mep (LIB2ADD): Set.
9423 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9424 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9425 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9426 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9427 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9428 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9429 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9430 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9431 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9432 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9433 New files.
9434 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9435 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9436 * config/pa/fptr.c, config/pa/lib2funcs.S,
9437 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9438 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9439 (LIB2ADD, LIB2ADD_ST): Set.
9440 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9441 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9442 Set.
9443 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9444 * config/pdp11/t-pdp11: New file.
9445 * config/picochip/libgccExtras/adddi3.S,
9446 config/picochip/libgccExtras/ashlsi3.S,
9447 config/picochip/libgccExtras/ashrsi3.S,
9448 config/picochip/libgccExtras/clzsi2.S,
9449 config/picochip/libgccExtras/cmpsi2.S,
9450 config/picochip/libgccExtras/divmod15.S,
9451 config/picochip/libgccExtras/divmodhi4.S,
9452 config/picochip/libgccExtras/divmodsi4.S,
9453 config/picochip/libgccExtras/lshrsi3.S,
9454 config/picochip/libgccExtras/parityhi2.S,
9455 config/picochip/libgccExtras/popcounthi2.S,
9456 config/picochip/libgccExtras/subdi3.S,
9457 config/picochip/libgccExtras/ucmpsi2.S,
9458 config/picochip/libgccExtras/udivmodhi4.S,
9459 config/picochip/libgccExtras/udivmodsi4.S: New files.
9460 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9461 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9462 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9463 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9464 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9465 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9466 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9467 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9468 files.
9469 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9470 (HOST_LIBGCC2_CFLAGS): Set.
9471 * config/rs6000/t-darwin64: New file.
9472 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9473 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9474 * config/rs6000/t-ppccomm (LIB2ADD): Add
9475 $(srcdir)/config/rs6000/tramp.S.
9476 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9477 Add $(srcdir)/config/rs6000/eabi.S.
9478 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9479 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9480 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9481 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9482 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9483 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9484 * config/rs6000/tramp.S: New file.
9485 * config/s390/t-tpf: Remove.
9486 * config/sh/linux-atomic.S: New file.
9487 * config/sh/t-linux (LIB2ADD): Set.
9488 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9489 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9490 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9491 to unwind-dw2.c.
9492 (HOST_LIBGCC2_CFLAGS): Set.
9493 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9494 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9495 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9496 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9497 config/spu/mfc_multi_tag_release.c,
9498 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9499 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9500 config/spu/multi3.c: New files.
9501 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9502 (HOST_LIBGCC2_CFLAGS): Set.
9503 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9504 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9505 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9506 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9507 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9508 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9509 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9510 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9511 config/stormy16/umodsi3.c: New files.
9512 * config/xtensa/lib2funcs.S: New file.
9513 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9514 * config/xtensa/t-xtensa (LIB2ADD): Set.
9515 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9516 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9517 Add t-freebsd-thread to tmake_file for posix threads.
9518 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9519 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9520 (*-*-lynxos*): Likewise.
9521 (*-*-netbsd*): Likewise.
9522 (*-*-openbsd*): Likewise.
9523 Add t-openbsd-thread to tmake_file for posix threads.
9524 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9525 (*-*-vxworks*): Set tmake_file.
9526 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9527 (alpha*-*-freebsd*): Likewise.
9528 (alpha*-*-netbsd*): Likewise.
9529 (alpha*-*-openbsd*): Likewise.
9530 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9531 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9532 (alpha*-dec-*vms*): Likewise.
9533 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9534 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9535 (bfin*-uclinux*): Likewise.
9536 (bfin*-linux-uclibc*): Likewise.
9537 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9538 (crisv32-*-none): Likewise.
9539 (cris-*-elf): Likewise.
9540 (cris-*-none): Likewise.
9541 (cris-*-linux*, crisv32-*-linux*): Likewise.
9542 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9543 tmake_file.
9544 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9545 tmake_file.
9546 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9547 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9548 (x86_64-*-elf*): Likewise.
9549 (i[34567]86-*-nto-qnx*): Likewise.
9550 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9551 win32 threads.
9552 (x86_64-*-mingw*): Likewise.
9553 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9554 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9555 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9556 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9557 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9558 tmake_file.
9559 (mipsisa64sr71k-*-elf*): Likewise.
9560 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9561 (mips-*-elf*, mipsel-*-elf*): Likewise.
9562 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9563 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9564 (mips*-*-rtems*): Likewise.
9565 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9566 to tmake_file.
9567 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9568 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9569 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9570 (spu-*-elf*): Likewise.
9571 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9572
45b86625
RO
95732011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9574
9575 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9576 $(srcdir) to refer to $(LIB1ASMSRC).
9577 Use $<.
9578 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9579 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9580 config/arm/lib1funcs.S: New files.
9581 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9582 * config/arm/t-arm: New file.
9583 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9584 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9585 config/arm/t-strongarm-elf: New files.
9586 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9587 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9588 * config/avr/lib1funcs.S: New file.
9589 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9590 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9591 * config/c6x/lib1funcs.S: New file.
9592 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9593 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9594 * config/frv/lib1funcs.S: New file.
9595 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9596 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9597 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9598 * config/ia64/__divxf3.asm: Rename to ...
9599 * config/ia64/__divxf3.S: ... this.
9600 Adapt lib1funcs.asm filename.
9601 * config/ia64/_fixtfdi.asm: Rename to ...
9602 * config/ia64/_fixtfdi.S: ... this.
9603 Adapt lib1funcs.asm filename.
9604 * config/ia64/_fixunstfdi.asm: Rename to ...
9605 * config/ia64/_fixunstfdi.S: ... this.
9606 Adapt lib1funcs.asm filename.
9607 * config/ia64/_floatditf.asm: Rename to ...
9608 * config/ia64/_floatditf.S: ... this.
9609 Adapt lib1funcs.asm filename.
9610 * config/ia64/lib1funcs.S: New file.
9611 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9612 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9613 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9614 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9615 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9616 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9617 * config/mep/lib1funcs.S: New file.
9618 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9619 * config/mips/mips16.S: New file.
9620 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9621 * config/pa/milli64.S: New file.
9622 * config/pa/t-linux, config/pa/t-linux64: New files.
9623 * config/picochip/lib1funcs.S: New file.
9624 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9625 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9626 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9627 * config/sh/t-netbsd: New file.
9628 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9629 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9630 * config/sh/t-sh64: New file.
9631 * config/sparc/lb1spc.S: New file.
9632 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9633 filename.
9634 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9635 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9636 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9637 config/xtensa/lib1funcs.S: New files.
9638 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9639 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9640 tmake_file.
9641 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9642 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9643 (arm*-*-linux*): Likewise.
9644 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9645 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9646 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9647 (arm*-*-ecos-elf): Likewise.
9648 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9649 (arm*-*-rtems*): Likewise.
9650 (arm*-*-elf): Likewise.
9651 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9652 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9653 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9654 (bfin*-uclinux*): Likewise.
9655 (bfin*-linux-uclibc*): Likewise.
9656 (bfin*-rtems*): Likewise.
9657 (bfin*-*): Likewise.
9658 (fido-*-elf): Merge into m68k-*-elf*.
9659 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9660 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9661 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9662 (h8300-*-elf*): Likewise.
9663 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9664 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9665 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9666 (i[34567]86-*-mingw*): Likewise.
9667 (x86_64-*-mingw*): Likewise.
9668 (i[34567]86-*-interix3*): Likewise.
9669 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9670 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9671 (m68k-*-elf*): Also handle fido-*-elf.
9672 Add m68k/t-floatlib to tmake_file.
9673 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9674 (m68k-*-linux*): Likewise.
9675 (m68k-*-rtems*): Likewise.
9676 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9677 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9678 sh64*-*-*.
9679 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9680 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9681 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9682 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9683 sh/t-netbsd to tmake_file.
9684 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9685 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9686 (sh-wrs-vxworks): Likewise.
9687 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9688 *-leon[3-9]*.
9689 (v850*-*-*): Add v850/t-v850 to tmake_file.
9690 (vax-*-linux*): Add vax/t-linux to tmake_file.
9691 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9692
5f73c6cc
RO
96932011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9694
9695 * crtstuff.c: New file.
9696 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9697 (CRTSTUFF_T_CFLAGS): Define.
9698 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9699 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9700 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9701 crtstuff.c.
9702 Use $<.
9703 (crtbeginT.o): Use $(objext).
9704 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9705 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9706 (gcc-extra-parts): Remove.
9707 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9708 Set extra_parts.
9709 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9710 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9711 Add t-crtstuff-pic to tmake_file.
9712 (*-*-lynxos*): New case.
9713 Set tmake_file, extra_parts.
9714 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9715 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9716 *-*-netbsdelf[2-9]*.
9717 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9718 (*-*-rtems*): Set extra_parts.
9719 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9720 (*-*-uclinux*): New case.
9721 Set extra_parts.
9722 (*-*-vms*): New case.
9723 Set tmake_file, extra_parts.
9724 (*-*-elf): Set extra_parts.
9725 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9726 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9727 vms/t-vms64.
9728 Set extra_parts.
9729 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9730 Set extra_parts.
9731 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9732 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9733 (arm-wrs-vxworks): Append to tmake_file.
9734 Set extra_parts.
9735 (arm*-*-uclinux*): Set extra_parts.
9736 (arm*-*-ecos-elf): Likewise.
9737 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9738 arm*-*-eabi*.
9739 (arm*-*-rtems*): Set extra_parts.
9740 (arm*-*-elf): Likewise.
9741 (avr-*-rtems*): Clear extra_parts.
9742 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9743 Set extra_parts.
9744 (bfin*-uclinux*): Likewise.
9745 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9746 (bfin*-rtems*): Append to tmake_file.
9747 Set extra_parts.
9748 (bfin*-*): Likewise.
9749 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9750 (crisv32-*-elf): ... this.
9751 (crisv32-*-none): ... this.
9752 (cris-*-elf, cris-*-none): New cases.
9753 Add cris/t-elfmulti to tmake_file.
9754 (fr30-*-elf): Append to tmake_file.
9755 Set extra_parts.
9756 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9757 Set extra_parts.
9758 (h8300-*-rtems*): Append to tmake_file.
9759 Set extra_parts.
9760 (h8300-*-elf*): Likewise.
9761 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9762 Set extra_parts.
9763 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9764 Set extra_parts.
9765 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9766 (x86_64-*-elf*): Likewise.
9767 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9768 (x86_64-*-freebsd*): Likewise.
9769 (x86_64-*-netbsd*): Likewise.
9770 (i[34567]86-*-linux*): Likewise.
9771 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9772 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9773 (x86_64-*-linux*): Likewise.
9774 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9775 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9776 tmake_file.
9777 Set extra_parts.
9778 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9779 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9780 Append to extra_parts, remove crtbegin.o, crtend.o.
9781 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9782 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9783 crtend.o, crtbeginS.o, crtendS.o.
9784 (ia64*-*-linux*): Comment extra_parts.
9785 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9786 Set extra_parts.
9787 (iq2000*-*-elf*): Clear extra_parts.
9788 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9789 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9790 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9791 (m32r-*-rtems*): ... this.
9792 Add m32r/t-m32r to tmake_file.
9793 (m68k-*-elf*): Add t-crtin to tmake_file.
9794 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9795 (mcore-*-elf): Likewise.
9796 (microblaze*-*-*): Set extra_parts.
9797 (mips*-sde-elf*): New case.
9798 Set tmake_file, extra_parts.
9799 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9800 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9801 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9802 tmake_file.
9803 Set extra_parts.
9804 (mipsisa64sr71k-*-elf*): Likewise.
9805 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9806 (mips-*-elf*, mipsel-*-elf*): Likewise.
9807 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9808 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9809 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9810 (mips*-*-rtems*): Likewise.
9811 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9812 (moxie-*-*): Split into ...
9813 (moxie-*-elf, moxie-*-uclinux*): ... this.
9814 Add to extra_parts, remove crtbegin.o, crtend.o.
9815 (moxie-*-rtems*): New case.
9816 Set tmake_file.
9817 Clear extra_parts.
9818 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9819 Set extra_parts.
9820 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9821 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9822 tmake_file.
9823 Set extra_parts.
9824 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9825 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9826 Set extra_parts.
9827 (powerpc-*-eabisim*): Likewise.
9828 (powerpc-*-elf*): Likewise.
9829 (powerpc-*-eabialtivec*): Likewise.
9830 (powerpc-xilinx-eabi*): Likewise.
9831 (powerpc-*-eabi*): Likewise.
9832 (powerpc-*-rtems*): Likewise.
9833 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9834 tmake_file.
9835 Set extra_parts.
9836 (powerpc-*-lynxos*): Add to tmake_file.
9837 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9838 rs6000/t-crtstuff, t-crtstuff-pic.
9839 Set extra_parts.
9840 (powerpcle-*-eabisim*): Likewise.
9841 (powerpcle-*-eabi*): Likewise.
9842 (rx-*-elf): Remove extra_parts.
9843 (s390x-ibm-tpf*): Set extra_parts.
9844 (score-*-elf): Set extra_parts.
9845 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9846 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9847 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9848 (sh64l*-*-netbsd*): Split into ...
9849 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9850 Add t-crtstuff-pic to tmake_file.
9851 Set extra_parts.
9852 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9853 Set extra_parts.
9854 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9855 (sparc-*-elf*): Remove t-crtin from tmake_file.
9856 Add to extra_parts, remove crtbegin.o, crtend.o.
9857 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9858 (sparc64-*-linux*): Likewise.
9859 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9860 Add to extra_parts, remove crtbegin.o, crtend.o.
9861 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9862 Add to extra_parts, remove crtbegin.o, crtend.o.
9863 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9864 Add to extra_parts, remove crtbegin.o, crtend.o.
9865 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9866 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9867 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9868 Set extra_parts.
9869 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9870 Set extra_parts.
9871 (tic6x-*-*): Change to ...
9872 (tic6x-*-elf): ... this.
9873 Set extra_parts.
9874 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9875 Set extra_parts.
9876 (am33_2.0-*-linux*): Add comment.
9877 (mep*-*-*): Add mep/t-mep to tmake_file.
9878 Set extra_parts.
9879 * config/alpha/t-vms: New file.
9880 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9881 * config/arm/crti.S, config/arm/crtn.S: New files.
9882 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9883 * config/bfin/crtlibid.S: New file.
9884 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9885 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9886 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9887 (crti.o, crtin.o): New rules.
9888 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9889 * config/c6x/t-uclinux: New file.
9890 * config/cris/t-elfmulti: New file.
9891 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9892 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9893 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9894 * config/frv/t-frv: New file.
9895 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9896 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9897 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9898 New files.
9899 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9900 refer to cygming-crtbegin.c, cygming-crtend.c.
9901 Use $<.
9902 * config/i386/t-nto: New file.
9903 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9904 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9905 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9906 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9907 Use .S extension.
9908 Use $<.
9909 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9910 (crtinitS.o): New rule.
9911 * config/ia64/vms-crtinit.S: New file.
9912 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9913 * config/m32r/initfini.c: New file.
9914 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9915 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9916 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9917 * config/mep/t-mep: New file.
9918 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9919 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9920 * config/mips/crti.S, config/mips/crtn.S: New files.
9921 * config/mips/t-crtstuff: New file.
9922 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9923 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9924 (CUSTOM_CRTIN): Set.
9925 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9926 dependencies.
9927 Use $(srcdir) to refer to crti.S, crtn.S.
9928 Use .S extension, $<.
9929 * config/moxie/crti.asm: Rename to ...
9930 * config/moxie/crti.S: ... this.
9931 * config/moxie/crtn.asm: Rename to ...
9932 * config/moxie/crtn.S: ... this.
9933 * config/moxie/t-moxie: Remove.
9934 * config/pa/stublib.c: New file.
9935 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9936 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9937 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9938 * config/rs6000/t-crtstuff: New file.
9939 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9940 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9941 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9942 Make output file explicit.
9943 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9944 Make output file explicit.
9945 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9946 Make output file explicit.
9947 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9948 Make output file explicit.
9949 * config/score/crti.S, config/score/crtn.S: New files.
9950 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9951 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9952 files.
9953 * config/sh/t-sh, config/sh/t-superh: New files.
9954 * config/sparc/t-linux64: New file.
9955 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9956 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9957 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9958 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9959 * config/t-crtin: Remove.
9960 * config/t-crtstuff-pic: New file.
9961 * config/t-sol2 (CUSTOM_CRTIN): Set.
9962 (crti.o, crtn.o): New rules.
9963 * config/vms/t-vms: New file.
9964 * config/vms/vms-ucrt0.c: New file.
9965 * config/xtensa/t-elf: New file.
9966
b040f2be
RO
99672011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9968
9969 * Makefile.in (SHLIB_NM_FLAGS): Set.
9970 * mkmap-flat.awk, mkmap-symver.awk: New files.
9971 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9972 exceptions.
9973 * configure: Regenerate.
9974 * config/libgcc-glibc.ver: New file.
9975 * config/libgcc-libsystem.ver: New file.
9976 * config/t-libunwind (SHLIB_LC): Set.
9977 * config/t-linux: New file.
9978 * config/t-slibgcc (INSTALL_SHLIB): New.
9979 (SHLIB_INSTALL): Use it.
9980 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9981 to mkmap-symver.awk.
9982 (SHLIB_MAPFILES): Don't append, adapt pathname.
9983 (SHLIB_VERPFX): Set.
9984 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9985 to mkmap-symver.awk.
9986 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9987 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9988 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9989 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9990 to mkmap-flat.awk.
9991 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9992 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9993 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9994 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9995 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9996 * config/i386/libgcc-darwin.10.4.ver,
9997 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9998 New files.
9999 * config/i386/t-darwin: Remove.
10000 * config/i386/t-darwin64: Likewise.
10001 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10002 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10003 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10004 * config/i386/t-linux: New file.
10005 * config/i386/t-mingw32: New file.
10006 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10007 * config/ia64/t-glibc: Rename to ...
10008 * config/ia64/t-linux: ... this.
10009 (SHLIB_MAPFILES): Set.
10010 * config/ia64/t-glibc-libunwind: Rename to ...
10011 * config/ia64/t-linux-libunwind: ... this.
10012 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10013 * config/ia64/t-slibgcc-hpux: New file.
10014 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10015 * config/m68k/t-slibgcc-elf-ver: New file.
10016 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10017 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10018 to mkmap-flat.awk.
10019 * config/pa/t-slibgcc-hpux: New file.
10020 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10021 files.
10022 * config/rs6000/libgcc-darwin.10.4.ver,
10023 config/rs6000/libgcc-darwin.10.5.ver: New files.
10024 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10025 config/rs6000/libgcc-glibc.ver.
10026 * config/rs6000/libgcc-ppc64.ver: Rename to
10027 config/rs6000/libgcc-ibm-ldouble.ver.
10028 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10029 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10030 * config/rs6000/t-ldbl128: Rename to ...
10031 * config/rs6000/t-linux: ... this.
10032 (SHLIB_MAPFILES): Adapt filename.
10033 * config/rs6000/t-slibgcc-aix: New file.
10034 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10035 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10036 libgcc-excl.ver, libgcc-glibc.ver.
10037 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10038 * config/sparc/libgcc-glibc.ver: New file.
10039 * config/sparc/t-linux: New file.
10040 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10041 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10042 t-slibgcc-elf-ver to tmake_file.
10043 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10044 *-*-freebsd[34].
10045 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10046 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10047 t-slibgcc-elf-ver, t-linux to tmake_file.
10048 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10049 tmake_file.
10050 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10051 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10052 (alpha*-dec-*vms*): Likewise.
10053 (arm*-*-freebsd*): Append to tmake_file.
10054 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10055 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10056 arm*-*-linux-*eabi.
10057 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10058 tmake_file for arm*-*-symbianelf*.
10059 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10060 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10061 cris/t-linux.
10062 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10063 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10064 pa/t-slibgcc-dwarf-ver to tmake_file.
10065 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10066 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10067 (hppa*64*-*-hpux11*): Likewise.
10068 (hppa[12]*-*-hpux11*): Likewise.
10069 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10070 i386/t-crtpc, i386/t-crtfm.
10071 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10072 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10073 to tmake_file.
10074 Add i386/t-cygwin to tmake_file.
10075 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10076 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10077 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10078 to tmake_file.
10079 Add i386/t-mingw32 to tmake_file.
10080 (x86_64-*-mingw*): Likewise.
10081 (ia64*-*-freebsd*): Append to tmake_file.
10082 (ia64*-*-linux*): Append to tmake_file.
10083 Replace ia64/t-glibc by ia64/t-linux.
10084 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10085 system libunwind.
10086 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10087 t-slibgcc-hpux to tmake_file.
10088 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10089 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10090 (m32rle-*-linux*): Likewise.
10091 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10092 sjlj exceptions.
10093 (microblaze*-linux*): New case.
10094 Append to tmake_file, add t-slibgcc-nolc-override.
10095 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10096 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10097 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10098 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10099 rs6000/t-slibgcc-aix to tmake_file.
10100 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10101 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10102 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10103 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10104 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10105 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10106 sh*-*-linux*.
10107 (sparc-*-linux*): Append to tmake_file for *-leon*.
10108 Add sparc/t-linux to tmake_file for non-Leon targets.
10109 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10110 (tic6x-*-uclinux): New case.
10111 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10112 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10113 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10114 (am33_2.0-*-linux*): Append to tmake_file.
10115 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10116 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10117 x86_64-*-kfreebsd*-gnu.
10118 Add i386/t-linux to tmake_file.
10119
18b4bd7b
ILT
101202011-10-28 Ian Lance Taylor <iant@google.com>
10121
10122 * config/i386/morestack.S: Correct CFI information to do proper
10123 returns throughout function. In 32-bit mode, save %ebx so that it
10124 is restored on unwind.
10125
5b2d9d90
BS
101262011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10127
10128 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10129 case where B3 isn't the return register.
10130
0d53e346
BS
10131 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10132 logic for doubleword pops.
10133
cbffbd59
AT
101342011-10-25 Andreas Tobler <andreast@fgznet.ch>
10135
10136 * config/rs6000/t-freebsd: Add wildcard.
10137
56dc349e
PB
101382011-10-21 Paul Brook <paul@codesourcery.com>
10139
10140 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10141
1e06b07d
UB
101422011-10-16 Uros Bizjak <ubizjak@gmail.com>
10143 Eric Botcazou <ebotcazou@adacore.com>
10144
10145 PR target/50737
10146 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10147 fs->signal_frame to 1.
10148
b5204884
ILT
101492011-10-07 Ian Lance Taylor <iant@google.com>
10150
10151 * generic-morestack-thread.c: #include <errno.h>.
10152
91a639a1
ILT
101532011-10-07 Ian Lance Taylor <iant@google.com>
10154
10155 PR target/46093
10156 * generic-morestack.c (__generic_morestack): Make sure the segment
10157 is large enough for both the stack frame and the copied
10158 parameters.
10159
cc49116d
RO
101602011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10161
10162 PR bootstrap/49804
10163 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10164 extra_parts.
10165
2996d8c3
NC
101662011-09-28 Nick Clifton <nickc@redhat.com>
10167
10168 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10169 64-bit doubles are not enabled.
10170 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10171 and floatunsisf functions.
10172
1e874273 101732011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 10174
1e874273
PB
10175 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10176 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10177 * unwind-arm-common.inc: New file.
10178 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10179 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10180 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10181 * config/c6x/libunwind.S: New file.
10182 * config/c6x/pr-support.c: New file.
10183 * config/c6x/unwind-c6x.c: New file.
10184 * config/c6x/unwind-c6x.h: New file.
10185 * config/c6x/t-c6x-elf: New file.
10186
f70c879a
UB
101872011-08-23 Uros Bizjak <ubizjak@gmail.com>
10188
10189 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10190 (ASM_DIVZERO): Ditto.
10191 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10192
c55b374b
RS
101932011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10194
10195 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10196
1e138510
RS
101972011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10198
10199 PR target/50090
10200 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10201 instead of an assembly one.
10202
1563503d
PB
102032011-08-12 Paolo Bonzini <bonzini@gnu.org>
10204
10205 PR bootstrap/50047
10206 * Makefile.in (install-unwind_h): Create
10207 $(gcc_objdir)/include/unwind.h atomically.
10208
3627ac1a
RO
102092011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10210
10211 * Makefile.in (install-unwind_h): Remove destination file first.
10212
c6412d86
RO
102132011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10214
10215 * sync.c: New file.
10216 * config/mips/t-mips16: New file.
10217 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10218 (mips*-*-linux*): Likewise.
10219 (mips*-sde-elf*): Likewise.
10220 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10221 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10222 Add mips/t-mips16 to tmake_file.
10223 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10224 (mips-*-elf*): Likewise.
10225 (mips64-*-elf*): Likewise.
10226 (mips64orion-*-elf*): Likewise.
10227 (mips*-*-rtems*): Likewise.
10228 (mipstx39-*-elf*): Likewise.
10229 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10230 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10231 LIBGCC_SYNC_CFLAGS.
10232 Use $(srcdir) to refer to sync.c.
10233 Use $<.
10234 ($(libgcc-sync-funcs-o)): Likewise.
10235 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10236 ($(libgcc-sync-funcs-s-o)): Likewise.
10237
3cb6e5bd
AS
102382011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10239
10240 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10241 t-libunwind.
10242
cca2207a
L
102432011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10244
10245 PR other/48007
10246 * config/i386/value-unwind.h: New.
10247
ed39fbad
RS
102482011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10249
10250 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10251 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10252 Add to tmake_file rather than overriding it.
10253
aca0b0b3
RO
102542011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10255
10256 * config/t-softfp: Remove.
10257 * soft-fp: Moved from ../gcc/config.
10258 * soft-fp/README: Remove t-softfp reference.
10259 * soft-fp/t-softfp: Move to config/t-softfp.
10260 (softfp_machine_header): Remove.
10261 (softfp_file_list): Remove config subdir.
10262 (soft-fp-objects): New variable.
10263 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10264 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10265 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10266 * config/t-softfp-excl: New file.
10267 * config/t-softfp-sfdf: New file.
10268 * config/t-softfp-tf: New file.
10269 * config/no-sfp-machine.h: New file.
10270 * config/arm/sfp-machine.h: New file.
10271 * config/arm/t-softfp: New file.
10272 * config/c6x/sfp-machine.h: New file.
10273 * config/i386/32/t-fprules-softfp: Rename to ...
10274 * config/i386/32/t-softfp: ... this.
10275 (tifunctions, LIB2ADD): Remove.
10276 (softfp_int_modes): Override.
10277 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10278 subdir.
10279 * config/i386/64/eqtf2.c: Likewise.
10280 * config/i386/64/getf2.c: Likewise.
10281 * config/i386/64/letf2.c: Likewise.
10282 * config/ia64/sft-machine.h: New file.
10283 * config/ia64/t-fprules-softfp: Rename to ...
10284 * config/ia64/t-softfp: ... this.
10285 * config/lm32/sfp-machine.h: New file.
10286 * config/moxie/t-moxie-softfp: Remove.
10287 * config/rs6000/ibm-ldouble-format: New file.
10288 * config/rs6000/ibm-ldouble.c: New file.
10289 * config/rs6000/libgcc-ppc-glibc.ver: New file
10290 * config/rs6000/libgcc-ppc64.ver: New file
10291 * config/rs6000/sfp-machine.h: New file.
10292 * config/rs6000/t-freebsd: New file.
10293 * config/rs6000/t-ibm-ldouble: New file.
10294 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10295 libgcc-ppc-glibc.ver.
10296 * config/rs6000/t-linux64: New file.
10297 * config/rs6000/t-ppccomm (LIB2ADD): Add
10298 $(srcdir)/config/rs6000/ibm-ldouble.c.
10299 * config/rs6000/t-ppccomm-ldbl: New file.
10300 * config/score/sfp-machine.h: New file.
10301 * config.host (sfp_machine_header): Explain.
10302 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10303 t-softfp to tmake_file.
10304 (arm*-*-uclinux*): Likewise.
10305 (arm*-*-ecos-elf): Likewise.
10306 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10307 (arm*-*-rtems*): Likewise.
10308 (arm*-*-elf): Likewise.
10309 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10310 in tmake_file.
10311 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10312 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10313 (lm32-*-uclinux*): Likewise.
10314 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10315 t-softfp-excl, t-softfp.
10316 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10317 (powerpc64-*-darwin*): Likewise.
10318 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10319 to tmake_file.
10320 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10321 tmake_file.
10322 (powerpc-*-eabisim*): Likewise.
10323 (powerpc-*-elf*): Likewise.
10324 (powerpc-*-eabialtivec*): Likewise.
10325 (powerpc-xilinx-eabi*): Likewise.
10326 (powerpc-*-rtems*): Likewise.
10327 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10328 t-softfp-excl, t-softfp to tmake_file.
10329 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10330 rs6000/t-ppccomm-ldbl to tmake_file.
10331 (powerpcle-*-elf*): Likewise.
10332 (powerpcle-*-eabisim*): Likewise.
10333 (powerpcle-*-eabi*): Likewise.
10334 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10335 rs6000/t-ibm-ldouble to tmake_file.
10336 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10337 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10338 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10339 (tic6x-*-*): Likewise.
10340 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10341 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10342 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10343 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10344 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10345 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10346 t-softfp to tmake_file.
10347 * configure.ac (sfp_machine_header): Provide default if unset.
10348 Substitute.
10349 Link sfp-machine.h to config/$sfp_machine_header.
10350 * configure: Regenerate.
10351
569dc494
RO
103522011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10353
10354 * Makefile.in (double_type_size, long_double_type_size): Set.
10355 Remove $(fpbit-in-libgcc) support.
10356 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10357 (fpbit-src): New variable.
10358 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10359 Compile with -DFLOAT $(FPBIT_CFLAGS).
10360 Use $<.
10361 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10362 Compile with $(FPBIT_CFLAGS).
10363 Use $<.
10364 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10365 Compile with -DFLOAT $(TPBIT_CFLAGS).
10366 Use $<.
10367 * configure.ac (double_type_size, long_double_type_size):
10368 Determine and substitute.
10369 * configure: Regenerate.
10370 * fp-bit.c, fp-bit.h: New files.
10371 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10372 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10373 * config/mips/t-mips: New file.
10374 * config/mips/t-sdemtk: New file.
10375 * config/rs6000/ppc64-fp.c: New file.
10376 * config/rs6000/t-darwin (LIB2ADD): Add
10377 $(srcdir)/config/rs6000/ppc64-fp.c.
10378 * config/rs6000/t-ppc64-fp: New file.
10379 * config/rx/rx-lib.h: New file.
10380 * config/rx/t-rx (FPBIT): Set to true.
10381 ($(gcc_objdir)/fp-bit.c): Remove.
10382 (DPBIT): Set to true only with -m64bit-doubles.
10383 ($(gcc_objdir)/dp-bit.c): Remove.
10384 * config/sparc/t-softfp: Remove.
10385 * config/spu/t-elf: New file.
10386 * config/t-fdpbit, config/t-fpbit: New files.
10387 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10388 (mips*-*-*): Likewise.
10389 (arm-wrs-vxworks): Likewise.
10390 (arm*-*-freebsd*): Likewise.
10391 (avr-*-rtems*): Add t-fpbit to tmake_file.
10392 (avr-*-*): Likewise.
10393 (bfin*-elf*): Add t-fdpbit to tmake_file.
10394 (bfin*-uclinux*): Likewise.
10395 (bfin*-linux-uclibc*): Likewise.
10396 (bfin*-rtems*): New case.
10397 Add t-fdpbit to tmake_file.
10398 (bfin*-*): Add t-fdpbit to tmake_file.
10399 (crisv32-*-elf): Likewise.
10400 (cris-*-linux*): Likewise.
10401 (fr30-*-elf): Likewise.
10402 (frv-*-elf, frv-*-*linux*): Likewise.
10403 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10404 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10405 (m32r-*-elf*): Likewise.
10406 (m32rle-*-elf*): Likewise.
10407 (m32r-*-linux*): Likewise.
10408 (m32rle-*-linux*): Likewise.
10409 (mcore-*-elf): Add t-fdpbit to tmake_file.
10410 (microblaze*-*-*): Likewise.
10411 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10412 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10413 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10414 Fix typo.
10415 Add mips/t-tpbit to tmake-file.
10416 (mips*-*-linux*): Fix typo.
10417 (mips*-sde-elf*): New case
10418 Add mips/t-sdemtk unless using newlib.
10419 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10420 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10421 (mn10300-*-*): Likewise.
10422 (pdp11-*-*): Likewise.
10423 (picochip-*-*): Add t-fpbit to tmake_file.
10424 (powerpc-*-eabisimaltivec*): Likewise.
10425 (powerpc-*-eabisim*): Likewise.
10426 (powerpc-*-elf*): Likewise.
10427 (powerpc-*-eabialtivec*): Likewise.
10428 (powerpc-xilinx-eabi*): New case.
10429 Add t-fdpbit to tmake_file.
10430 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10431 (powerpc-*-rtems*): Likewise.
10432 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10433 tmake_file.
10434 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10435 tmake_file.
10436 (powerpc-*-lynxos*): Likewise.
10437 (powerpcle-*-elf*): Likewise.
10438 (powerpcle-*-eabisim*): Likewise.
10439 (powerpcle-*-eabi*): Likewise.
10440 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10441 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10442 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10443 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10444 (rx-*-elf): Add t-fdpbit to tmake_file.
10445 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10446 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10447 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10448 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10449 sh*-*-netbsd*.
10450 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10451 (sh-wrs-vxworks): Likewise.
10452 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10453 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10454 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10455 (sparc64-*-rtems*): ... new case.
10456 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10457 (spu-*-elf*): Likewise.
10458 Add spu/t-elf to tmake_file.
10459 (v850*-*-*): Add t-fdpbit to tmake_file.
10460 (xstormy16-*-elf): Likewise.
10461 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10462 (mep*-*-*): Likewise.
10463
201cdb74
RO
104642011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10465
10466 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10467 variables.
10468 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10469 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10470 (install-unwind_h): New target.
10471 (all): Depend on it.
10472 * config.host (unwind_header): New variable.
10473 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10474 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10475 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10476 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10477 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10478 Set unwind_header.
10479 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10480 Set unwind_header.
10481 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10482 arm*-*-eabi*.
10483 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10484 Set unwind_header.
10485 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10486 (ia64*-*-freebsd*): Likewise.
10487 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10488 tmake_file.
10489 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10490 $with_system_libunwind.
10491 (ia64*-*-hpux*): Set tmake_file.
10492 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10493 (picochip-*-*): Set tmake_file.
10494 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10495 md_unwind_header.
10496 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10497 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10498 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10499 (xtensa*-*-elf*): Set tmake_file.
10500 (xtensa*-*-linux*): Likewise.
10501 * configure.ac: Include ../config/unwind_ipinfo.m4.
10502 Call GCC_CHECK_UNWIND_GETIPINFO.
10503 Link unwind.h to $unwind_header.
10504 * configure: Regenerate.
10505 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10506 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10507 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10508 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10509 * config/unwind-dw2-fde-darwin.c: New file.
10510 * config/arm/libunwind.S, config/arm/pr-support.c,
10511 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10512 config/arm/unwind-arm.h,: New files.
10513 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10514 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10515 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10516 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10517 config/ia64/unwind-ia64.h: New files.
10518 * config/picochip/t-picochip: New file.
10519 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10520 files.
10521 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10522 * config/s390/t-tpf (LIB2ADDEH): Remove.
10523 * config/t-darwin (LIB2ADDEH): Set.
10524 * config/t-eh-dw2-dip: New file.
10525 * config/t-libunwind, config/t-libunwind-elf: New files.
10526 * config/t-sol2 (LIB2ADDEH): Remove.
10527 * config/xtensa/t-xtensa: New file.
10528
40f2f11f
L
105292011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10530
10531 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10532 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10533 long long to check rt_sigreturn syscall.
10534
bd15e32c
AM
105352011-08-02 Alan Modra <amodra@gmail.com>
10536
10537 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10538 Restore for indirect call bcrtl from correct stack slot, and only
10539 if cfa+40 isn't valid.
10540
655b30bf
JB
105412011-08-01 Julian Brown <julian@codesourcery.com>
10542
10543 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10544 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10545 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10546
247eb06f
JB
105472011-08-01 Julian Brown <julian@codesourcery.com>
10548
10549 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10550 (libgcc-std.ver.in): Use above.
10551 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10552 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10553 throughout file.
10554 * config/t-fixedpoint-gnu-prefix: New file.
10555 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10556 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10557 instead of __PFX__.
10558
02a8fe00
L
105592011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10560
10561 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10562 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10563 for x86-64. Properly check __x86_64__ and __LP64__.
10564
5fce9126
L
105652010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10566
10567 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10568 version.
10569 (_FP_WS_TYPE): Likewise.
10570 (_FP_I_TYPE): Likewise.
10571
2374a88a
AM
105722011-07-28 Alan Modra <amodra@gmail.com>
10573
10574 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10575 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10576 in a plt call stub. Do restore r2 if stopped on bctrl.
10577
e44dbbe1
RO
105782011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10579
10580 * config.host (i[3456x]86-*-netware*): Remove.
10581 * config/i386/netware-crt0.c, config/i386/t-nwld,
10582 config/i386/t-slibgcc-nwld: Remove.
10583
bcead286
BS
105842011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10585
10586 * config.host: Handle tic6x-*-*.
10587 * config/c6x/c6x-abi.h: New file.
10588
b3fe1584
RO
105892011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10590
10591 * config/i386/crtprec.c: New file.
10592 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10593 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10594 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10595 (x86_64-*-darwin*): Likewise.
10596 (i[34567]86-*-solaris2*: Likewise.
10597
35d8090d
RO
105982011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10599
10600 * config/alpha/crtfastmath.c: New file.
10601 * config/i386/crtfastmath.c: New file.
10602 * config/ia64/crtfastmath.c: New file.
10603 * config/mips/crtfastmath.c: New file.
10604 * config/sparc/crtfastmath.c: New file.
10605
10606 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10607 crtfastmath.c.
10608 Add -frandom-seed=gcc-crtfastmath.
10609 * config/alpha/t-crtfm: Remove.
10610 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10611 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10612
10613 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10614 (alpha*-dec-osf5.1*): Likewise.
10615 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10616 Add crtfastmath.o to extra_parts.
10617 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10618 Add crtfastmath.o to extra_parts.
10619 (x86_64-*-darwin*): Likewise.
10620 (x86_64-*-mingw*): Likewise.
10621 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10622 (ia64*-*-freebsd*): Likewise.
10623 (ia64*-*-linux*): Likewise.
10624 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10625 Add crtfastmath.o to extra_parts.
10626
e141542e
RO
106272011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10628
10629 * config/darwin-crt3.o: New file.
10630 * config/rs6000/darwin-crt2.c: New file.
10631 * config/t-darwin: New file.
10632 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10633 (crt2.o): New rule.
10634 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10635 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10636 (powerpc64-*-darwin*): Likewise.
10637
2d1efe2d
RO
106382011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10639
10640 * config/i386/netware-crt0.c: New file.
10641 * config/i386/t-nwld: Rename to ...
10642 * config/i386/t-slibgcc-nwld: ... this.
10643 * config/i386/t-nwld: New file.
10644 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10645 tmake_file.
10646 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10647 extra_parts.
10648
4a8bb046
RO
106492011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10650
10651 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10652 i386/t-crtstuff.
10653 * configure: Regenerate.
10654
2d8d5935
RO
106552011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10656
10657 * dfp-bit.c, dfp-bit.h: New files.
10658 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10659 variables.
10660 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10661 ($(d64pbit-o)): Likewise.
10662 ($(d128pbit-o)): Likewise.
10663 * config/t-dfprules: New file.
10664 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10665 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10666 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10667 (x86_64-*-linux*): Likewise.
10668 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10669 (i[34567]86-*-cygwin*): Likewise.
10670 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10671 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10672
2c50b2c3
RO
106732011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10674
10675 * Makfile.in (LIBGCOV): New variable.
10676 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10677 * libgcov.c: New file.
10678
a039d7c2
RO
106792011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10680
10681 * fixed-bit.c, fixed-bit.h: New files.
10682 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10683 refer to fixed-bit.c.
10684
1e4b2746
JM
106852011-07-07 Joseph Myers <joseph@codesourcery.com>
10686
10687 * config.host (*local*): Remove.
10688
fbdd5d87
RO
106892011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10690
10691 PR target/39150
10692 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10693 like i?86-*-solaris2.1[0-9]*.
10694 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10695 * configure.ac (i?86-*-solaris2*): Likewise.
10696 * configure: Regenerate.
10697
9e7714f4
TS
106982011-07-06 Thomas Schwinge <thomas@schwinge.name>
10699
10700 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10701 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10702 md_unwind_header by splitting out of...
10703 (i[34567]86-*-linux*): ... this.
10704 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10705 Remove md_unwind_header by splitting out of...
10706 (x86_64-*-linux*): ... this.
10707
6dab9931
GJL
107082011-07-04 Georg-Johann Lay <avr@gjlay.de>
10709
10710 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10711
4be46d19
NC
107122011-06-28 Nick Clifton <nickc@redhat.com>
10713
10714 * config.host: Recognize all V850 variants.
10715
1da9434b
UB
107162011-06-22 Uros Bizjak <ubizjak@gmail.com>
10717
10718 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10719
e4d48a4d
RO
107202011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10721
10722 * shared-object.mk (c_flags-$o): Save c_flags.
10723 ($(base)$(objext)): Use it.
10724 ($(base)_s$(objext)): Likewise.
10725
3801c801
BS
107262011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10727
10728 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10729 * libgcc-std.ver.in (GCC_4.7.0): New section.
10730
0ad8bb3b 107312011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 10732
0ad8bb3b
GJL
10733 PR target/49313
10734 PR target/29524
10735 * config/avr/t-avr: Fix line endings.
10736 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10737 _parityXX2.
10738
ea963999
OH
107392011-06-14 Olivier Hainque <hainque@adacore.com>
10740 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10741
10742 * config/mips/irix6-unwind.h: New file.
10743 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10744
b11b0904
EB
107452011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10746
10747 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10748 (sparc64_fallback_frame_state): Use it.
10749 (sparc64_frob_update_context): Further adjust context.
10750 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10751 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10752 * config/sparc/sol2-cn.S: Likewise.
10753
10e48e39
RO
107542011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10755
10756 * enable-execute-stack-empty.c: New file.
10757 * enable-execute-stack-mprotect.c: New file.
10758 * config/i386/enable-execute-stack-mingw32.c: New file.
10759 * config.host (enable_execute_stack): New variable.
10760 Select appropriate variants.
10761 * configure.ac: Link enable-execute-stack.c to
10762 $enable_execute_stack.
10763 * configure: Regenerate.
10764 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10765 (lib2funcs): Remove _enable_execute_stack.
10766
10c4cabc
DM
107672011-06-09 David S. Miller <davem@davemloft.net>
10768 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10769
10770 * config.host (sparc-*-linux*): Correct md_unwind_header
10771 filename.
10772 (s390x-ibm-tpf*): Fix typo.
10773
aa4203e7
RO
107742011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10775
10776 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10777 Add crtfastmath.o to extra_parts.
10778 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10779 mips/t-crtfm.
10780 * config/mips/t-crtfm: Remove.
10781
0defd786
JDA
107822011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10783
10784 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10785
82f247af
KK
107862011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10787
10788 * config.host (sh*-*-linux*): Fix typo.
10789
58cd1d70
RO
107902011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10791
10792 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10793 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10794 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10795 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10796 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10797 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10798 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10799 Wrap in !__MINGW64__.
10800 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10801 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10802 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10803 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10804 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10805 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10806 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10807 Wrap in !__LP64__.
10808 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10809 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10810 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10811 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10812 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10813 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10814 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10815 * config/no-unwind.h: New file.
10816 * config.host (md_unwind_header): Document.
10817 Define.
10818 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10819 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10820 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10821 hppa[12]*-*-hpux11*): Set md_unwind_header.
10822 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10823 Set md_unwind_header.
10824 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10825 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10826 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10827 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10828 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10829 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10830 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10831 md_unwind_header.
10832 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10833 * configure: Regenerate.
10834
737346fa
RO
108352011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10836
10837 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10838 Set tmake_file, extra_parts.
10839 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10840 Remove O32 support.
10841 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10842 Remove O32 support.
10843 * config/mips/t-irix6: New file.
10844 * config/mips/t-slibgcc-irix: New file.
10845
c192cee6
RO
108462011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10847
10848 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10849 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10850
ee33b5f0
RO
108512011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10852
10853 * configure.ac (target_thread_file): Determine thread model.
10854 * configure: Regenerate.
10855 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10856 * config/alpha/t-alpha: New file.
10857 * config/alpha/t-crtfm: Use $<.
10858 * config/alpha/t-ieee: New file.
10859 * config/alpha/t-osf-pthread: New file.
10860 * config/alpha/t-slibgcc-osf: New file.
10861 * config/alpha/libgcc-osf5.ver: New file.
10862
0699e415
RO
108632011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10864
10865 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10866 tmake_file.
10867 Add crtfastmath.o to extra_parts.
10868
a3fab9c2
RO
108692011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10870
10871 * config/gmon-sol2.c: Reindent.
10872 Cleanup comments.
10873 Remove, correct casts.
10874 Use STDERR_FILENO, NULL.
10875 (BASEADDRESS): Remove.
10876 (minbrk): Remove.
10877 (errno, sbrk): Remove declarations.
10878 (monstartup) [hp300]: Remove.
10879 (mcount): Remove.
10880
ca24c5ad
RO
108812011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10882
10883 * Makefile.in (cpu_type): Define.
10884 * config.host (i[34567]86-*-rtems*): Handle it.
10885 (i[34567]86-*-solaris2*): Move body ...
10886 (*-*-solaris2*): ... here.
10887 New case, generalize.
10888 (sparc-*-elf*): Handle it.
10889 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10890 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10891 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10892 Fold into ...
10893 (sparc*-*-solaris2*): ... this.
10894 New case.
10895 (sparc64-*-elf*): Handle it.
10896 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10897 Merge ../gcc/config/i386/gmon-sol2.c.
10898 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10899 Use C comments.
10900 Merge ../gcc/config/i386/sol2-gc1.asm.
10901 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10902 Use C comments.
10903 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10904 Use C comments.
10905 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10906 * config/i386/t-crtstuff: New file.
10907 * config/i386/t-softfp: New file.
10908 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10909 $(T)crti.o, $(T)crtn.o): Remove.
10910 (gcrt1.o): New rule.
10911 (TARGET_LIBGCC2_CFLAGS): Remove.
10912 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10913 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10914 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10915 * config/sparc/t-sol2: New file.
10916 * config/sparc/t-crtfm: Move to ...
10917 * config/t-crtfm: ... this.
10918 Use $(cpu_type), $<.
10919 * config/t-crtin: New file.
10920 * config/sparc/t-softfp: New file.
10921 * config/sparc/t-softmul: New file.
10922 * config/t-rtems: New file.
10923 * config/t-slibgcc: New file.
10924 * config/t-slibgcc-elf-ver: New file.
10925 * config/t-slibgcc-gld: New file.
10926 * config/t-slibgcc-sld: New file.
10927 * config/t-sol2: New file.
10928 * configure.ac: Include ../config/lib-ld.m4.
10929 Call AC_LIB_PROG_LD_GNU.
10930 Substitute cpu_type.
10931 * configure: Regenerate.
10932
ad5f3d7b
BS
109332011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10934
10935 PR bootstrap/49173
10936 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10937 libgcc-std.ver in the build directory.
10938 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10939 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10940
cdbf4541
BS
109412011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10942
10943 * libgcc-std.ver.in: New file.
10944 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10945 variables.
10946 (libgcc-std.ver): New rule.
10947 * config/t-gnu-prefix: New file.
10948
c8028650
RO
109492011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10950
10951 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10952
4a68b4ca
JM
109532011-05-10 Joseph Myers <joseph@codesourcery.com>
10954
10955 * config/i386/darwin-lib.h: New file.
10956
80cf2e08
JM
109572011-05-10 Joseph Myers <joseph@codesourcery.com>
10958
10959 * config/arm/symbian-lib.h: New.
10960
a3330c9d
CD
109612011-05-04 Chris Demetriou <cgd@google.com>
10962
10963 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10964 (__x86.get_pc_thunk.bx): ...this.
10965 (__morestack): Adjust for rename, remove undef of __i686.
10966
6ace0756
CD
109672011-05-03 Chris Demetriou <cgd@google.com>
10968
10969 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10970
ebb9f8b0
JM
109712011-03-22 Joseph Myers <joseph@codesourcery.com>
10972
10973 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10974 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10975 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10976 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10977 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10978 Remove cases.
10979
9cfa1499
AT
109802011-03-14 Andreas Tobler <andreast@fgznet.ch>
10981
10982 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10983 Adjust copyright year.
10984
457186f6
ILT
109852011-03-07 Ian Lance Taylor <iant@google.com>
10986
10987 * generic-morestack.c (__splitstack_find): Adjust returned stack
10988 pointer to include all registers pushed by __morestack.
10989
58c741a6
DK
109902011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10991
10992 PR target/40125
10993 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10994 (toolexecdir): Calculate and AC_SUBST.
10995 (toolexeclibdir): Likewise.
10996 * Makefile.in (target_noncanonical): Import.
10997 (toolexecdir): Likewise.
10998 (toolexeclibdir): Likewise.
10999 * configure: Regenerate.
11000
26716c44
NF
110012010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11002
11003 PR target/46040
11004 * config/arm/bpabi.h: Rename to...
11005 * config/arm/bpabi-lib.h: ...this.
11006
b595b1a1
RO
110072010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11008
11009 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11010 appropriate.
11011 * configure: Regenerate.
11012
a3abe41c
NF
110132010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11014
11015 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11016 __FLOAT_WORD_ORDER__.
11017 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11018 Delete.
11019
455c8f48
RW
110202010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11021
11022 PR other/46202
11023 * Makefile.in (install-strip): New phony target.
11024
f3824a8b
ILT
110252010-11-07 Ian Lance Taylor <iant@google.com>
11026
11027 PR target/46089
11028 * config/i386/morestack.S (__morestack_large_model): New
11029 function.
11030
18ed6ee4
NF
110312010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11032
11033 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11034 Delete.
11035 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11036
8ac7fdcb
NF
110372010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11038
11039 * config/arm/bpabi.h: New file.
11040 * config/frv/frv-abi.h: New file.
11041
cdb388c2
ILT
110422010-10-01 Ian Lance Taylor <iant@google.com>
11043
11044 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11045 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11046
ef7c141c
L
110472010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11048
11049 PR target/45858
11050 * config.host: Add the missing `$'.
11051
80920132
ME
110522010-09-30 Michael Eager <eager@eagercon.com>
11053
11054 * config.host: Add microblaze*-*-*.
11055 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11056 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11057 udivsi3.asm,umodsi3.asm}: New.
11058
6dace308
ILT
110592010-09-28 Ian Lance Taylor <iant@google.com>
11060
11061 * configure.ac: Adjust CFI test to test assembler directly rather
11062 than checking gcc preprocessor macro.
11063 * configure: Rebuild.
11064
b6110d6d
ILT
110652010-09-27 Ian Lance Taylor <iant@google.com>
11066
11067 * configure.ac: Test whether assembler supports CFI directives.
11068 * config.host: Only add t-stack and i386/t-stack-i386 to
11069 tmake_file if libgcc_cv_cfi is "yes".
11070 * configure: Rebuild.
11071
7458026b
ILT
110722010-09-27 Ian Lance Taylor <iant@google.com>
11073
11074 * generic-morestack.h: New file.
11075 * generic-morestack.c: New file.
11076 * generic-morestack-thread.c: New file.
11077 * config/i386/morestack.S: New file.
11078 * config/t-stack: New file.
11079 * config/i386/t-stack-i386: New file.
11080 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11081 i386/t-stack-i386 to tmake_file.
11082
5b50fc0c
IS
110832010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11084
11085 * Makefile.in (libgcc-extra-parts): Check for static archives and
11086 invoke ranlib after installing them.
11087 (gcc-extra-parts): Likewise.
11088 (install-leaf): Likewise.
11089
b93cf342
L
110902010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11091
11092 * configure: Regenerated.
11093
996b42ef
KT
110942010-09-10 Kai Tietz <kai.tietz@onevision.com>
11095
b93cf342 11096 * configure: Regenerated.
996b42ef 11097
be1c764e
GP
110982010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11099 Andrew Pinski <pinskia@gmail.com>
11100
1da9434b 11101 PR target/40959
be1c764e
GP
11102 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11103
cc0ae0ca
L
111042010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11105
11106 PR target/45524
11107 * configure: Regenerated.
11108
84f47d20
AS
111092010-09-06 Andreas Schwab <schwab@redhat.com>
11110
11111 * configure: Regenerate.
11112
4159fb8d
UB
111132010-09-03 Uros Bizjak <ubizjak@gmail.com>
11114
11115 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11116 64bit targets.
11117 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11118 for 64bit targets.
11119
0df8fcc8
UB
111202010-09-03 Uros Bizjak <ubizjak@gmail.com>
11121 Iain Sandoe <iains@gcc.gnu.org>
11122
11123 PR target/45476
11124 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11125 LIB2FUNCS_EXCLUDE functions.
11126
3c39bca6
AK
111272010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11128
11129 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11130 Include dfp.m4.
11131 * configure: Regenerate.
11132
d78552bd
UB
111332010-09-01 Uros Bizjak <ubizjak@gmail.com>
11134
11135 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11136 i386/t-freebsd to tmake_file.
11137 * config/i386/t-freebsd: New file.
11138 * config/i386/libgcc-bsd.ver: New file.
11139
c5b79d4e
NF
111402010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11141
11142 * config.host (powerpc*-eabispe*): Set tmake_file.
11143 (powerpc*-eabi*): Likewise.
11144 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11145 crtbeginS, crtendS, crtbeginT.
11146
48b09a92
KH
111472010-06-12 Kazu Hirata <kazu@codesourcery.com>
11148
11149 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11150 to tmake_file. Add crtfastmath.o to extra_parts.
11151 * config/mips/t-crtfm: New.
11152
7d296953 111532010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
11154
11155 * config.host (sparc64-*-rtems*): New target.
11156
ed104137
RO
111572010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11158
11159 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11160 assembler syntax.
11161
3f56ef8b
TS
111622010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11163
11164 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11165
8c200350
RO
111662010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11167
11168 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11169 alpha-dec-osf5.0* support.
11170
7d296953 111712010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
11172
11173 * config.host: Add lm32-*-rtems*.
11174
f128db92 111752010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 11176 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
11177
11178 PR target/39048
11179 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11180 like other remaining 32-bit x86 OSes.
11181 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11182 assembler syntax.
11183 * config/i386/libgcc-sol2.ver: New file.
11184 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11185
7d296953 111862010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
11187
11188 PR c/43553
11189 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11190 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11191 is used and substitute set_use_emutls.
11192 * configure: Regenerated.
11193
15baf7f8
TG
111942010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11195
11196 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11197
7f5441df
RO
111982010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11199
11200 PR target/38085
11201 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11202 MULTILIB_CFLAGS.
11203 ($(T)gcrt1.o): Likewise.
11204 ($(T)crt1.o): Likewise.
11205 ($(T)crti.o): Likewise.
11206 ($(T)crtn.o): Likewise.
11207
ef74edbd
RW
112082010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11209
11210 PR other/42980
11211 * Makefile.in (install): Use $(MAKE) string in rule, for
11212 parallel make.
11213
e7c914db
HPN
112142010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11215
11216 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11217 * config/mmix/t-mmix: New file.
11218 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11219
1bcb71c4
JH
112202010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11221
11222 PR java/41991
11223 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11224 SHLIB_MAPFILES.
11225
e6e50811
AG
112262010-01-04 Anthony Green <green@moxielogic.com>
11227
11228 * config/moxie/crti.asm, config/moxie/crtn.asm,
11229 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11230 config/moxie/t-moxie: New files.
11231 * config.host: Add t-moxie-softfp reference.
11232
7d296953 112332009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
11234
11235 PR other/39888
11236 * config/t-slibgcc-darwin: Fix embedded rpaths for
11237 --enable-version-specific-runtime-libs, build extension stub
11238 libs exposing features available from current libgcc_s.
11239
7d296953 112402009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 11241
d78552bd
UB
11242 * config.host: Add lm32 targets.
11243 * config/lm32: New directory.
11244 * config/lm32/libgcc_lm32.h: New file.
11245 * config/lm32/_mulsi3.c: New file.
11246 * config/lm32/_udivmodsi4.c: New file.
11247 * config/lm32/_divsi3.c: New file.
11248 * config/lm32/_modsi3.c: New file.
11249 * config/lm32/_udivsi3.c: New file.
11250 * config/lm32/_umodsi3.c: New file.
11251 * config/lm32/_lshrsi3.S: New file.
11252 * config/lm32/_ashrsi3.S: New file.
11253 * config/lm32/_ashlsi3.S: New file.
11254 * config/lm32/crti.S: New file.
11255 * config/lm32/crtn.S: New file.
11256 * config/lm32/t-lm32: New file.
11257 * config/lm32/t-elf: New file.
11258 * config/lm32/t-uclinux: New file.
aa4945c1 11259
65a324b4
NC
112602009-10-26 Nick Clifton <nickc@redhat.com>
11261
11262 * config.host: Add support for RX target.
11263 * config/rx: New directory.
11264 * config/rx/rx-abi-functions.c: New file. Supplementary
11265 functions for libgcc to support the RX ABI.
11266 * config/rx/rx-abi.h: New file. Supplementary header file for
11267 libgcc RX ABI functions.
11268 * config/rx/t-rx: New file: Makefile fragment for building
11269 libgcc for the RX.
11270
dfb3b0e3
UB
112712009-10-09 Uros Bizjak <ubizjak@gmail.com>
11272
11273 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11274 constraint of y0 to "g".
11275
81dd9fd7
AK
112762009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11277
11278 * config.host: Include the s390 makefile fragments.
11279 * config/s390/32/_fixdfdi.c: New file.
11280 * config/s390/32/_fixsfdi.c: New file.
11281 * config/s390/32/_fixtfdi.c: New file.
11282 * config/s390/32/_fixunsdfdi.c: New file.
11283 * config/s390/32/_fixunssfdi.c: New file.
11284 * config/s390/32/_fixunstfdi.c: New file.
11285 * config/s390/32/t-floattodi: New file.
11286 * config/s390/libgcc-glibc.ver: New file.
11287 * config/s390/t-crtstuff: New file.
11288 * config/s390/t-linux: New file.
11289 * config/s390/t-tpf: New file.
11290
df58e648
RW
112912009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11292
11293 * configure.ac (AC_PREREQ): Bump to 2.64.
11294
79052be3
KK
112952009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11296
11297 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11298
5213506e
RW
112992009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11300
11301 * configure: Regenerate.
11302
a9a25daa
DR
113032009-08-09 Douglas B Rupp <rupp@gnat.com>
11304
11305 * config.host (ia64-hp-*vms*): New target.
11306 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11307 with ia64-hp-*vms*.
11308
6efbd53f
RW
113092009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11310
11311 * configure.ac: Add snippet for maintainer-mode.
11312 * configure: Regenerate.
11313 * Makefile.in (AUTOCONF, configure_deps): New variables.
11314 ($(srcdir)/configure)): New rule, active only with maintainer
11315 mode turned on.
11316
7acf4da6
DD
113172009-06-23 DJ Delorie <dj@redhat.com>
11318
11319 Add MeP port.
11320 * config.host: Add mep support.
11321
54f549af
KT
113222009-06-22 Kai Tietz <kai.tietz@onevision.com>
11323
34481f28 11324 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11325 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
11326
11327 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11328 for mingw targets.
54f549af
KT
11329 * config/i386/64/_multc3.c: Likewise.
11330 * config/i386/64/_powitf2.c: Likewise.
11331 * config/i386/64/eqtf2.c: Likewise.
11332 * config/i386/64/getf2.c: Likewise.
11333 * config/i386/64/letf2.c: Likewise.
11334 * config/i386/64/letf2.c: Likewise.
34481f28
UB
11335 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11336 unsigned long long for x64 mingw targets.
11337 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11338 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 11339
fea96e25
MR
113402009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11341
11342 * config.host (vax-*-linux*): New.
11343
cceb575c
AG
113442009-05-31 Anthony Green <green@moxielogic.com>
11345
11346 * config.host: Add moxie support.
11347 * config/moxie/t-moxie: New file.
11348
7d296953 113492009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
11350
11351 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11352 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 11353
532bfb0a
AJ
113542009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11355
11356 * config.host: Add i386/${host_address}/t-fprules-softfp to
11357 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11358
748086b7
JJ
113592009-04-09 Nick Clifton <nickc@redhat.com>
11360
11361 * config/ia64/tf-signs.c: Change copyright header to refer to
11362 version 3 of the GNU General Public License with version 3.1
11363 of the GCC Runtime Library Exception and to point readers at
11364 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11365 web page.
11366 * config/i386/32/tf-signs.c: Likewise.
11367 * config/libbid/_addsub_dd.c: Likewise.
11368 * config/libbid/_addsub_sd.c: Likewise.
11369 * config/libbid/_addsub_td.c: Likewise.
11370 * config/libbid/_dd_to_df.c: Likewise.
11371 * config/libbid/_dd_to_di.c: Likewise.
11372 * config/libbid/_dd_to_sd.c: Likewise.
11373 * config/libbid/_dd_to_sf.c: Likewise.
11374 * config/libbid/_dd_to_si.c: Likewise.
11375 * config/libbid/_dd_to_td.c: Likewise.
11376 * config/libbid/_dd_to_tf.c: Likewise.
11377 * config/libbid/_dd_to_udi.c: Likewise.
11378 * config/libbid/_dd_to_usi.c: Likewise.
11379 * config/libbid/_dd_to_xf.c: Likewise.
11380 * config/libbid/_df_to_dd.c: Likewise.
11381 * config/libbid/_df_to_sd.c: Likewise.
11382 * config/libbid/_df_to_td.c: Likewise.
11383 * config/libbid/_di_to_dd.c: Likewise.
11384 * config/libbid/_di_to_sd.c: Likewise.
11385 * config/libbid/_di_to_td.c: Likewise.
11386 * config/libbid/_div_dd.c: Likewise.
11387 * config/libbid/_div_sd.c: Likewise.
11388 * config/libbid/_div_td.c: Likewise.
11389 * config/libbid/_eq_dd.c: Likewise.
11390 * config/libbid/_eq_sd.c: Likewise.
11391 * config/libbid/_eq_td.c: Likewise.
11392 * config/libbid/_ge_dd.c: Likewise.
11393 * config/libbid/_ge_sd.c: Likewise.
11394 * config/libbid/_ge_td.c: Likewise.
11395 * config/libbid/_gt_dd.c: Likewise.
11396 * config/libbid/_gt_sd.c: Likewise.
11397 * config/libbid/_gt_td.c: Likewise.
11398 * config/libbid/_isinfd128.c: Likewise.
11399 * config/libbid/_isinfd32.c: Likewise.
11400 * config/libbid/_isinfd64.c: Likewise.
11401 * config/libbid/_le_dd.c: Likewise.
11402 * config/libbid/_le_sd.c: Likewise.
11403 * config/libbid/_le_td.c: Likewise.
11404 * config/libbid/_lt_dd.c: Likewise.
11405 * config/libbid/_lt_sd.c: Likewise.
11406 * config/libbid/_lt_td.c: Likewise.
11407 * config/libbid/_mul_dd.c: Likewise.
11408 * config/libbid/_mul_sd.c: Likewise.
11409 * config/libbid/_mul_td.c: Likewise.
11410 * config/libbid/_ne_dd.c: Likewise.
11411 * config/libbid/_ne_sd.c: Likewise.
11412 * config/libbid/_ne_td.c: Likewise.
11413 * config/libbid/_sd_to_dd.c: Likewise.
11414 * config/libbid/_sd_to_df.c: Likewise.
11415 * config/libbid/_sd_to_di.c: Likewise.
11416 * config/libbid/_sd_to_sf.c: Likewise.
11417 * config/libbid/_sd_to_si.c: Likewise.
11418 * config/libbid/_sd_to_td.c: Likewise.
11419 * config/libbid/_sd_to_tf.c: Likewise.
11420 * config/libbid/_sd_to_udi.c: Likewise.
11421 * config/libbid/_sd_to_usi.c: Likewise.
11422 * config/libbid/_sd_to_xf.c: Likewise.
11423 * config/libbid/_sf_to_dd.c: Likewise.
11424 * config/libbid/_sf_to_sd.c: Likewise.
11425 * config/libbid/_sf_to_td.c: Likewise.
11426 * config/libbid/_si_to_dd.c: Likewise.
11427 * config/libbid/_si_to_sd.c: Likewise.
11428 * config/libbid/_si_to_td.c: Likewise.
11429 * config/libbid/_td_to_dd.c: Likewise.
11430 * config/libbid/_td_to_df.c: Likewise.
11431 * config/libbid/_td_to_di.c: Likewise.
11432 * config/libbid/_td_to_sd.c: Likewise.
11433 * config/libbid/_td_to_sf.c: Likewise.
11434 * config/libbid/_td_to_si.c: Likewise.
11435 * config/libbid/_td_to_tf.c: Likewise.
11436 * config/libbid/_td_to_udi.c: Likewise.
11437 * config/libbid/_td_to_usi.c: Likewise.
11438 * config/libbid/_td_to_xf.c: Likewise.
11439 * config/libbid/_tf_to_dd.c: Likewise.
11440 * config/libbid/_tf_to_sd.c: Likewise.
11441 * config/libbid/_tf_to_td.c: Likewise.
11442 * config/libbid/_udi_to_dd.c: Likewise.
11443 * config/libbid/_udi_to_sd.c: Likewise.
11444 * config/libbid/_udi_to_td.c: Likewise.
11445 * config/libbid/_unord_dd.c: Likewise.
11446 * config/libbid/_unord_sd.c: Likewise.
11447 * config/libbid/_unord_td.c: Likewise.
11448 * config/libbid/_usi_to_dd.c: Likewise.
11449 * config/libbid/_usi_to_sd.c: Likewise.
11450 * config/libbid/_usi_to_td.c: Likewise.
11451 * config/libbid/_xf_to_dd.c: Likewise.
11452 * config/libbid/_xf_to_sd.c: Likewise.
11453 * config/libbid/_xf_to_td.c: Likewise.
11454 * config/libbid/bid128.c: Likewise.
11455 * config/libbid/bid128_2_str.h: Likewise.
11456 * config/libbid/bid128_2_str_macros.h: Likewise.
11457 * config/libbid/bid128_2_str_tables.c: Likewise.
11458 * config/libbid/bid128_add.c: Likewise.
11459 * config/libbid/bid128_compare.c: Likewise.
11460 * config/libbid/bid128_div.c: Likewise.
11461 * config/libbid/bid128_fma.c: Likewise.
11462 * config/libbid/bid128_logb.c: Likewise.
11463 * config/libbid/bid128_minmax.c: Likewise.
11464 * config/libbid/bid128_mul.c: Likewise.
11465 * config/libbid/bid128_next.c: Likewise.
11466 * config/libbid/bid128_noncomp.c: Likewise.
11467 * config/libbid/bid128_quantize.c: Likewise.
11468 * config/libbid/bid128_rem.c: Likewise.
11469 * config/libbid/bid128_round_integral.c: Likewise.
11470 * config/libbid/bid128_scalb.c: Likewise.
11471 * config/libbid/bid128_sqrt.c: Likewise.
11472 * config/libbid/bid128_string.c: Likewise.
11473 * config/libbid/bid128_to_int16.c: Likewise.
11474 * config/libbid/bid128_to_int32.c: Likewise.
11475 * config/libbid/bid128_to_int64.c: Likewise.
11476 * config/libbid/bid128_to_int8.c: Likewise.
11477 * config/libbid/bid128_to_uint16.c: Likewise.
11478 * config/libbid/bid128_to_uint32.c: Likewise.
11479 * config/libbid/bid128_to_uint64.c: Likewise.
11480 * config/libbid/bid128_to_uint8.c: Likewise.
11481 * config/libbid/bid32_to_bid128.c: Likewise.
11482 * config/libbid/bid32_to_bid64.c: Likewise.
11483 * config/libbid/bid64_add.c: Likewise.
11484 * config/libbid/bid64_compare.c: Likewise.
11485 * config/libbid/bid64_div.c: Likewise.
11486 * config/libbid/bid64_fma.c: Likewise.
11487 * config/libbid/bid64_logb.c: Likewise.
11488 * config/libbid/bid64_minmax.c: Likewise.
11489 * config/libbid/bid64_mul.c: Likewise.
11490 * config/libbid/bid64_next.c: Likewise.
11491 * config/libbid/bid64_noncomp.c: Likewise.
11492 * config/libbid/bid64_quantize.c: Likewise.
11493 * config/libbid/bid64_rem.c: Likewise.
11494 * config/libbid/bid64_round_integral.c: Likewise.
11495 * config/libbid/bid64_scalb.c: Likewise.
11496 * config/libbid/bid64_sqrt.c: Likewise.
11497 * config/libbid/bid64_string.c: Likewise.
11498 * config/libbid/bid64_to_bid128.c: Likewise.
11499 * config/libbid/bid64_to_int16.c: Likewise.
11500 * config/libbid/bid64_to_int32.c: Likewise.
11501 * config/libbid/bid64_to_int64.c: Likewise.
11502 * config/libbid/bid64_to_int8.c: Likewise.
11503 * config/libbid/bid64_to_uint16.c: Likewise.
11504 * config/libbid/bid64_to_uint32.c: Likewise.
11505 * config/libbid/bid64_to_uint64.c: Likewise.
11506 * config/libbid/bid64_to_uint8.c: Likewise.
11507 * config/libbid/bid_b2d.h: Likewise.
11508 * config/libbid/bid_binarydecimal.c: Likewise.
11509 * config/libbid/bid_conf.h: Likewise.
11510 * config/libbid/bid_convert_data.c: Likewise.
11511 * config/libbid/bid_decimal_data.c: Likewise.
11512 * config/libbid/bid_decimal_globals.c: Likewise.
11513 * config/libbid/bid_div_macros.h: Likewise.
11514 * config/libbid/bid_dpd.c: Likewise.
11515 * config/libbid/bid_flag_operations.c: Likewise.
11516 * config/libbid/bid_from_int.c: Likewise.
11517 * config/libbid/bid_functions.h: Likewise.
11518 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11519 * config/libbid/bid_inline_add.h: Likewise.
11520 * config/libbid/bid_internal.h: Likewise.
11521 * config/libbid/bid_round.c: Likewise.
11522 * config/libbid/bid_sqrt_macros.h: Likewise.
11523
115242009-04-09 Jakub Jelinek <jakub@redhat.com>
11525
11526 * Makefile.in: Change copyright header to refer to version
11527 3 of the GNU General Public License and to point readers at the
11528 COPYING3 file and the FSF's license web page.
11529 * config.host: Likewise.
11530
633dd061
AM
115312009-04-07 Alan Modra <amodra@bigpond.net.au>
11532
11533 * config.host: Reorder and merge to match config.gcc change.
11534
457d1d00
AM
115352009-04-03 Alan Modra <amodra@bigpond.net.au>
11536
11537 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11538
52c0e446
JM
115392009-03-28 Joseph Myers <joseph@codesourcery.com>
11540
11541 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11542 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11543 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11544 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11545
ba181049
UB
115462009-02-12 Uros Bizjak <ubizjak@gmail.com>
11547
11548 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11549 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11550
c252db20
L
115512009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11552
ba181049
UB
11553 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11554 ia64/t-softfp-compat to tmake_file.
c252db20
L
11555
11556 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11557
11558 * config/ia64/__divxf3.asm: New.
11559 * config/ia64/_fixtfdi.asm: Likewise.
11560 * config/ia64/_fixunstfdi.asm: Likewise.
11561 * config/ia64/_floatditf.asm: Likewise.
11562 * config/ia64/t-fprules-softfp: Likewise.
11563 * config/ia64/t-softfp-compat: Likewise.
11564 * config/ia64/tf-signs.c: Likewise.
11565
c60535f9
BE
115662009-01-18 Ben Elliston <bje@au.ibm.com>
11567
11568 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11569
ce16861e
BE
115702009-01-16 Ben Elliston <bje@au.ibm.com>
11571
11572 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11573 to tmake_file.
11574
bcf4713b
BE
115752009-01-13 Ben Elliston <bje@au.ibm.com>
11576
11577 * config/t-softfp: New file.
11578 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11579 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11580
7d296953 115812009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
11582
11583 * config.host: Add m32r*-*-rtems*.
11584
7d296953 115852008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
11586
11587 * config.host: Add m32c*-*-rtems*.
11588
19523300
RO
115892008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11590
11591 PR bootstrap/33100
11592 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11593 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11594 * configure: Regenerate.
11595 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11596 tmake_file here from gcc/config.gcc.
11597 Move extra_parts here from gcc/config.gcc.
11598 * config/i386/t-sol2: Move here from gcc/config/i386.
11599 Use gcc_srcdir instead of srcdir.
11600
0a4a51c7
AN
116012008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11602
11603 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11604 case.
11605
2a761e46
TS
116062008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11607
11608 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11609
c0451df7
TS
116102008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11611
11612 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11613
358da97e
HS
116142008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11615
11616 Add picoChip port.
11617 * config.host: Add picochip-*-*.
11618
c660f132
BW
116192008-08-06 Bob Wilson <bob.wilson@acm.org>
11620
11621 * config.host: Match more processor names for Xtensa.
11622
d1349557
L
116232008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11624
11625 * config/i386/64/t-softfp-compat: Update comments.
11626
dd7b73c0
L
116272008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11628
11629 * config/i386/64/_divtc3-compat.c: Moved to ...
11630 * config/i386/64/_divtc3.c: Here.
11631
11632 * config/i386/64/_multc3-compat.c: Moved to ...
11633 * config/i386/64/_multc3.c: Here.
11634
11635 * config/i386/64/_powitf2-compat.c: Moved to ...
11636 * config/i386/64/_powitf2.c: Here.
11637
11638 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11639 .c suffix instead of -compat.c.
11640
6e1fab3d
UB
116412008-07-05 Uros Bizjak <ubizjak@gmail.com>
11642
11643 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11644 (_FP_MUL_MEAT_D): Ditto.
11645 (_FP_DIV_MEAT_S): Ditto.
11646 (_FP_DIV_MEAT_D): Ditto.
11647
f92518d7
RS
116482008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11649
11650 * Makefile.in: Add support for __sync_* libgcc functions.
11651
d0aede14
L
116522008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11653
11654 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11655
c174f11c
L
116562008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11657
11658 PR boostrap/36702
11659 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11660 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11661
11662 * config/i386/64/t-fprules-softfp: Moved to ...
11663 * config/i386/64/t-softfp-compat: This. New.
11664
5f464fa2
UB
116652008-07-02 Uros Bizjak <ubizjak@gmail.com>
11666
11667 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11668 Initialize f with 0.0.
11669
ff473280
L
116702008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11671
11672 PR target/36669
11673 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11674
11675 * config/i386/64/_divtc3-compat.c: New.
11676 * config/i386/64/_multc3-compat.c: Likewise.
11677 * config/i386/64/_powitf2-compat.c: Likewise.
11678 * config/i386/64/eqtf2.c: Likewise.
11679 * config/i386/64/getf2.c: Likewise.
11680 * config/i386/64/letf2.c: Likewise.
11681 * config/i386/64/t-fprules-softfp: Likewise.
11682
116832008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11684
11685 * config.host: Add i386/${host_address}/t-fprules-softfp to
11686 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 11687 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
11688
11689 * configure.ac: Set host_address to 64 or 32 for x86.
11690 * configure: Regenerated.
11691
11692 * Makefile.in (config.status): Also depend on
11693 $(srcdir)/config.host.
11694
11695 * config/i386/32/t-fprules-softfp: New.
11696 * config/i386/32/tf-signs.c: Likewise.
11697
11698 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11699
117002008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11701 Uros Bizjak <ubizjak@gmail.com>
11702
11703 * config/i386/32/sfp-machine.h: New.
11704
30551d99
NF
117052008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11706
11707 * config/rs6000/t-ppccomm: Remove rules that conflict with
11708 auto-generated rules.
11709
18c04407
RW
117102008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11711
11712 * configure.ac: sinclude override.m4.
11713 * configure: Regenerate.
11714
10fbe77a
BRF
117152008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11716
11717 * configure: Regenerate.
11718
bc6d4c3f
JM
117192008-06-10 Joseph Myers <joseph@codesourcery.com>
11720
11721 * Makefile.in (DECNUMINC): Remove
11722 -I$(MULTIBUILDTOP)../../libdecnumber.
11723 * gstdint.h: New.
11724
cd985f66
JM
117252008-06-07 Joseph Myers <joseph@codesourcery.com>
11726
11727 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11728 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11729 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11730 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11731 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11732 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11733 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11734 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11735 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11736 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11737 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11738 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11739 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11740 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11741
93fea8d3
AL
117422008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11743
11744 * config.host (sh2[lbe]*-*-linux*): Allow target.
11745
18724e30
NF
117462008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11747
11748 * config/rs6000/t-ppccomm: Add build rules for new files.
11749 (LIB2ADD_ST): New variable.
11750
47583040
AH
117512008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11752
11753 PR target/34210
11754 PR target/35508
11755 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11756 * config/t-avr: New file. Build 16bit libgcc functions.
11757
cf8e67fe
JJ
117582008-03-02 Jakub Jelinek <jakub@redhat.com>
11759
11760 PR target/35401
11761 * config/t-slibgcc-darwin: Make install-leaf dependent on
11762 install-darwin-libgcc-stubs instead of install.
11763
8d8da227
JM
117642008-01-25 Joseph Myers <joseph@codesourcery.com>
11765
11766 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11767 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11768 sh-*-rtemscoff*): Remove cases.
11769
edbf8b16
RS
117702007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11771
11772 * Makefile.in (all): Use install-leaf rather than install.
11773 (install): Split most of the rule into...
11774 (install-leaf): ...this new one.
11775
89deeaff
EK
117762007-12-19 Etsushi Kato <ek.kato@gmail.com>
11777 Paolo Bonzini <bonzini@gnu.org>
11778
11779 PR target/30572
5f464fa2
UB
11780 * Makefile.in: Use @shlib_slibdir@ substitution to get
11781 correct install name on darwin.
89deeaff 11782 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 11783
4081d704
HPN
117842007-12-15 Hans-Peter Nilsson <hp@axis.com>
11785
11786 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11787 cris-*-elf and cris-*-none.
11788 (crisv32-*-linux*): Similar, as cris-*-linux*.
11789
f43e89a3
RIL
117902007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11791
11792 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11793
b4e9c2c6
L
117942007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11795
11796 PR regression/33926
11797 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11798 * configure: Regenerated.
11799
b2a00c89
L
118002007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11801
11802 * Makefile.in (dfp-filenames): Replace decimal_globals,
11803 decimal_data, binarydecimal and convert_data with
11804 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11805 and bid_convert_data, respectively.
11806
8d2a9e0e
CF
118072007-09-17 Chao-ying Fu <fu@mips.com>
11808 Nigel Stephens <nigel@mips.com>
11809
11810 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11811 * Makefile.in (fixed_point): Define.
11812 Check if fixed_point is yes to build support functions.
11813 * configure.ac: Check for fixed_point support.
11814 * configure: Regenerated.
11815 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11816 funcs, modes, from, to.
11817
2b53935d
JJ
118182007-09-11 Janis Johnson <janis187@us.ibm.com
11819
11820 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11821
2533577f
JJ
118222007-09-10 Janis Johnson <janis187@us.ibm.com>
11823
11824 * Makefile.in (dfp-filenames): Remove decUtility, add
11825 decDouble, decPacked, decQuad, decSingle.
11826
3ae3dbd6
HK
118272007-08-27 Hans Kester <hans.kester@ellips.nl>
11828
11829 * config.host : Add x86_64-elf target.
11830
22867d02
L
118312007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11832
11833 * configure.ac (set_have_cc_tls): Add a missing =.
11834 * configure: Regenerated.
11835
6f461e76
L
118362007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11837
11838 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11839 and x86_64-*-linux*.
11840
11841 * config/t-tls: New file.
11842
dfb3b0e3 11843 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
11844
11845 * configure.ac: Include ../config/enable.m4 and
11846 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11847 supports TLS and substitute set_have_cc_tls.
11848 * configure: Regenerated.
11849
200359e8
L
118502007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11851
11852 * Makefile.in: Use libbid for DFP when BID is enabled.
11853
76f5e200
DS
118542007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11855
11856 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 11857 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
11858 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11859
9bd196f0 118602007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 11861 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
11862
11863 PR target/29498
11864 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11865 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11866 * config/i386/t-crtfm: Compile crtfastmath.o with
11867 -minline-all-stringops.
11868
1910440e
RS
118692007-05-10 Richard Sandiford <richard@codesourcery.com>
11870
11871 * config.host (sparc-wrs-vxworks): New target.
11872
7d33c31d
KH
118732007-04-14 Kazu Hirata <kazu@codesourcery.com>
11874
11875 * config.host: Recognize fido.
11876
96fccd0d
JJ
118772007-04-04 Janis Johnson <janis187@us.ibm.com>
11878
11879 * configure: Check host, not target, for decimal float support.
11880
577565f9
UB
118812007-04-03 Uros Bizjak <ubizjak@gmail.com>
11882
11883 * config/i386/t-crtpc: New file.
11884 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 11885 (x86_64-*-linux*): Ditto.
577565f9 11886
ccf8e764
RH
118872007-02-30 Kai Tietz <kai.tietz@onevision.com>
11888
11889 * config.host (x86_64-*-mingw*): New target.
11890
79b87c74
MM
118912007-03-23 Michael Meissner <michael.meissner@amd.com>
11892 H.J. Lu <hongjiu.lu@intel.com>
11893
11894 * Makefile.in (enable_decimal_float): New.
11895 (DECNUMINC): Add
11896 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11897 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11898 (decbits-filenames): This.
11899 (decbits-objects): New.
11900 (libgcc-objects): Add $(decbits-objects).
11901
11902 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11903 Substitute enable_decimal_float.
11904 * configure: Regenerated.
11905
8fce4e31
HPN
119062007-03-19 Hans-Peter Nilsson <hp@axis.com>
11907
11908 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11909
e8bb4597
BM
119102007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11911
11912 * Makefile.in (install-info): New dummy target.
11913
344189f9
BS
119142007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11915
11916 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11917
ac84c172
BM
119182007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11919
11920 * Makefile.in: Add install-html and install-pdf dummy
11921 targets.
11922
cd5c2357
RS
119232007-02-05 Roger Sayle <roger@eyesopen.com>
11924 Daniel Jacobowitz <dan@codesourcery.com>
11925
11926 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11927 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11928 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11929
d9a66f98
JJ
119302007-01-29 Janis Johnson <janis187@us.ibm.com>
11931
11932 * Makefile.in (dec-filenames): Add decExcept.
11933
9891ec5f
DJ
119342007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11935
11936 PR bootstrap/30469
11937 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11938 -fprofile-use.
11939
d6efbf5a
DJ
119402007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11941
11942 * configure.ac: Add --enable-version-specific-runtime-libs.
11943 Correct $slibdir default.
11944 * configure: Regenerated.
11945
17caeff2
JM
119462007-01-23 Joseph Myers <joseph@codesourcery.com>
11947
11948 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11949
5ea41e3a
AP
119502007-01-21 Andrew Pinski <pinskia@gmail.com>
11951
11952 PR target/30519
11953 * config.host (alpha*-*-linux*): Set extra_parts.
11954
26900826
KK
119552007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11956
11957 * config/sh/t-linux: New.
11958 * config.host (sh*-*-linux*): Set tmake_file.
11959
97af925b
DJ
119602007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11961
11962 * Makefile.in (install): Handle multilibs.
11963
b0088af7
BM
119642007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11965
11966 * Makefile.in: Added .PHONY entry for documentation targets.
11967
e0a9456a
BM
119682007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11969
11970 * Makefile.in: Add empty info, html, dvi, pdf targets.
11971
7fd453b4
MS
119722007-01-04 Mike Stump <mrs@apple.com>
11973
11974 * Makefile.in (MAKEINFO): Remove.
11975 (PERL): Likewise.
11976
14e8fc8b
PB
119772007-01-04 Paolo Bonzini <bonzini@gnu.org>
11978
11979 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11980 * configure: Regenerate.
11981 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 11982 (gcc_objdir): Use it.
14e8fc8b 11983
1555beba
DJ
119842007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11985
11986 * config.host (ia64*-*-linux*): Set tmake_file.
11987
79e6eaeb
DJ
119882007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11989
11990 * Makefile.in (version): Define.
11991
fa958513
DJ
119922007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11993 Paolo Bonzini <bonzini@gnu.org>
11994
11995 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11996 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11997 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11998 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11999 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12000 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12001 * configure: Generated.
818ab71a 12002\f
877e3c2a 12003Copyright (C) 2007-2022 Free Software Foundation, Inc.
818ab71a
JJ
12004
12005Copying and distribution of this file, with or without modification,
12006are permitted in any medium without royalty provided the copyright
12007notice and this notice are preserved.