]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
analyzer: further false leak fixes due to overzealous state merging [PR103217]
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
d62c8c74
GA
12021-11-27 John David Anglin <danglin@gcc.gnu.org>
2
3 * config/pa/t-dimode (lib2difuncs): Fix typo.
4
091ccc06
GA
52021-11-25 Florian Weimer <fweimer@redhat.com>
6
7 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
8 Remove func, ret.
9 (find_fde_tail): New function. Split from
10 _Unwind_IteratePhdrCallback. Move the result initialization
11 from _Unwind_Find_FDE.
12 (_Unwind_Find_FDE): Updated to call find_fde_tail.
13
06be28f6
GA
142021-11-22 Florian Weimer <fweimer@redhat.com>
15
16 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
17 (struct unw_eh_callback_data): Make dbase member conditional.
18 (unw_eh_callback_data_dbase): New function.
19 (base_from_cb_data): Simplify for the non-dbase case.
20 (_Unwind_IteratePhdrCallback): Adjust.
21 (_Unwind_Find_FDE): Likewise.
22
232021-11-22 Florian Weimer <fweimer@redhat.com>
24
25 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
26 tbase member.
27 (base_from_cb_data): Adjust.
28 (_Unwind_IteratePhdrCallback): Likewise.
29 (_Unwind_Find_FDE): Likewise.
30
9c077398
GA
312021-11-19 Iain Sandoe <iain@sandoe.co.uk>
32
33 * config.host: Add weak emutls crt to the extra_parts.
34 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
35 workaround.
36 * config/libgcc-libsystem.ver: Add exclude list for the system-
37 provided unwinder.
38 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
39 * config/i386/libgcc-darwin.10.4.ver: Removed.
40 * config/i386/libgcc-darwin.10.5.ver: Removed.
41 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
42 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
43 * config/t-darwin-noeh: New file.
44
452021-11-19 Iain Sandoe <iain@sandoe.co.uk>
46
47 * config/t-darwin: Build weak-defined emutls objects.
48 * emutls.c (__emutls_get_address): Add optional attributes.
49 (__emutls_register_common): Likewise.
50 (EMUTLS_ATTR): New.
51
b39265d4
GA
522021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
53
54 PR libgcc/103044
55 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
56 called with a null argument or at the end of the backtrace and return.
57 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
58
8d36a0d2
GA
592021-11-10 Jakub Jelinek <jakub@redhat.com>
60
61 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
62 formatting fix.
63
851dff04
GA
642021-11-05 Iain Sandoe <iain@sandoe.co.uk>
65
66 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
67 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
68
692021-11-05 John David Anglin <danglin@gcc.gnu.org>
70
71 PR libgomp/96661
72 * config.host (hppa*64*-*-linux*): Revise tmake_file.
73 (hppa*64*-*-hpux11*): Likewise.
74 * config/pa/sfp-exceptions.c: New.
75 * config/pa/sfp-machine.h: New.
76 * config/pa/t-dimode: New.
77 * config/pa/t-softfp-sfdftf: New.
78
04a2cf3f
GA
792021-10-27 John David Anglin <danglin@gcc.gnu.org>
80
81 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
82 tmake_file.
83 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
84 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
85 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
86 * config/pa/t-linux64 (LIB1ASMSRC): New define.
87 (LIB1ASMFUNCS): Revise.
88 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
89
c2bd5d8a
GA
902021-10-22 Stafford Horne <shorne@gmail.com>
91
92 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
93 Change to 0.
94
5d5885c9
GA
952021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
96
97 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
98 outside of get_regs() in order to use it in another function, this
99 is done twice: for __powerpc64__ and for !__powerpc64__.
100 (struct trace_arg): New struct.
101 (struct layout): New struct.
102 (ppc_backchain_fallback): New function.
103 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
104 state and call MD_BACKCHAIN_FALLBACK.
105
9eb28a0f
GA
1062021-10-13 Martin Liska <mliska@suse.cz>
107
108 PR gcov-profile/90364
109 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
110 checksums.
111 (write_one_data): Write also checksum.
112 * libgcov-util.c (read_gcda_file): Read also checksum field.
113 * libgcov.h (struct gcov_info): Add new field.
114
ce6eec39
GA
1152021-10-08 Ian Lance Taylor <iant@golang.org>
116
117 * config/i386/morestack.S: Use .init_array for constructor if
118 available.
119 * config/rs6000/morestack.S: Likewise.
120 * config/s390/morestack.S: Likewise.
121
154fd089
GA
1222021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
123
124 PR target/101104
125 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
126 Use more correct values for native IBM 128-bit.
127
fd133479
GA
1282021-09-28 Iain Sandoe <iain@sandoe.co.uk>
129
130 * config/i386/libgcc-darwin.ver: Add Symbols for
131 __cpu_model, __cpu_indicator_init.
132
e4777439
GA
1332021-09-22 Iain Sandoe <iain@sandoe.co.uk>
134
135 * config/i386/sfp-machine.h: Guard Mach-O-specific code
136 using __APPLE__.
137
34fac9ef
GA
1382021-09-19 Iain Sandoe <iain@sandoe.co.uk>
139
140 * config/t-slibgcc-darwin: Delete unused code.
141
1422021-09-19 Iain Sandoe <iain@sandoe.co.uk>
143
144 * config/i386/t-darwin: Add in a vers file for X86-specific
145 symbols.
146 * config/t-darwin: Add the generic symbol maps here...
147 * config/t-slibgcc-darwin: ... removing from here.
148 * config/i386/libgcc-darwin.ver: New file.
149
1502021-09-19 Iain Sandoe <iain@sandoe.co.uk>
151
152 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
153 and __mulhc3.
154
1552021-09-19 Iain Sandoe <iain@sandoe.co.uk>
156
157 * config.host: Use convenience library for Darwin10
158 unwinder shim.
159 * config/t-darwin: Build Darwin10 unwinder shim as a
160 convenience library.
161
07985c47
GA
1622021-09-13 Andrew Pinski <apinski@marvell.com>
163
164 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
165 * config/m32r/libgcc-glibc.ver: Removed.
166 * config/m32r/t-linux: Removed.
167
b6db7cd4
GA
1682021-09-08 liuhongt <hongtao.liu@intel.com>
169
170 * config/i386/t-softfp: Compile __{mul,div}hc3 into
171 libgcc_s.so.1.
172
1732021-09-08 Jakub Jelinek <jakub@redhat.com>
174 Iain Sandoe <iain@sandoe.co.uk>
175
176 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
177 and export *hf* and *hc* functions at GCC_12.0.0.
178
9f99555f
GA
1792021-09-06 liuhongt <hongtao.liu@intel.com>
180
181 * Makefile.in: Adjust to support specific CFLAGS for each
182 libgcc source file.
183 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
184 related libgcc source files.
185 * config/i386/t-softfp: Ditto.
186 * config/i386/_divhc3.c: New file.
187 * config/i386/_mulhc3.c: New file.
188
7b739540
GA
1892021-09-03 Iain Sandoe <iain@sandoe.co.uk>
190
191 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
192 alias_DFtype, alias_TFtype): New.
193 (ALIAS_SELECTOR): New.
194 (strong_alias): Use __typeof and a _Generic selector to
195 provide the type to the synthesized function.
196
9f7c2bad
GA
1972021-09-02 liuhongt <hongtao.liu@intel.com>
198
199 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
200 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
201 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
202 * config/i386/t-softfp: Add hf soft-fp.
203 * config.host: Add i386/64/t-softfp.
204 * config/i386/64/t-softfp: New file.
205
2062021-09-02 liuhongt <hongtao.liu@intel.com>
207
208 * soft-fp/eqhf2.c: New file.
209 * soft-fp/extendhfdf2.c: New file.
210 * soft-fp/extendhfsf2.c: New file.
211 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
212 * soft-fp/truncdfhf2.c: New file
213 * soft-fp/truncsfhf2.c: New file
214
e11c6046
GA
2152021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
216
217 * unwind-arm-common.inc (abort): Remove.
218
6d51ee43
GA
2192021-08-31 Richard Sandiford <richard.sandiford@arm.com>
220
221 * config/aarch64/value-unwind.h: Add missing runtime exception
222 paragraph.
223 * config/frv/frv-abi.h: Likewise.
224 * config/i386/value-unwind.h: Likewise.
225 * config/pa/pa64-hpux-lib.h: Likewise.
226
ccc19145
GA
2272021-08-26 David Edelsohn <dje.gcc@gmail.com>
228
229 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
230 __gcc_qadd.
231 (__gcc_qadd): Call ldouble_qadd_internal.
232 (__gcc_qsub): Call ldouble_qadd_internal with second long double
233 argument negated.
234
2352021-08-26 Jonathan Yong <10walls@gmail.com>
236
237 * config/i386/cygming-crtend.c: Fix register_frame_ctor
238 and register_frame_dtor warnings.
239
05ace294
GA
2402021-08-24 Richard Earnshaw <rearnsha@arm.com>
241
242 PR target/102035
243 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
244 Add vlldm erratum work-around.
245
4be4fa4e
GA
2462021-08-21 John David Anglin <danglin@gcc.gnu.org>
247
248 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
249
9d1d9fc8
GA
2502021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
251
252 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
253 (gcov_type_unsigned): Likewise.
254
7dd8f198
GA
2552021-08-14 Stafford Horne <shorne@gmail.com>
256
257 PR target/99783
258 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
259 * config/or1k/t-crtstuff: New file.
260
f92f4778
GA
2612021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
262
263 * libgcov-driver.c (#include <stdint.h>): Remove.
264 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
265
2662021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
267
268 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
269 * gcov.h (gcov_info): Declare.
270 (__gcov_info_to_gdca): Likewise.
271 * libgcov.h (gcov_write_counter): Remove.
272 (gcov_write_tag_length): Likewise.
273 * libgcov-driver.c (#include <stdint.h>): New.
274 (#include <string.h>): Remove.
275 (NEED_L_GCOV): Conditionally define.
276 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
277 (are_all_counters_zero): New.
278 (gcov_dump_handler): Likewise.
279 (gcov_allocate_handler): Likewise.
280 (dump_unsigned): Likewise.
281 (dump_counter): Likewise.
282 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
283 Use dump_unsigned() and dump_counter().
284 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
285 dump_unsigned(), dump_counter(), and are_all_counters_zero().
286 (__gcov_info_to_gcda): New.
287
8ebf4fb5
GA
2882021-08-05 Jakub Jelinek <jakub@redhat.com>
289
290 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
291 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
292 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
293 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
294
2697f832
GA
2952021-08-04 Jakub Jelinek <jakub@redhat.com>
296
297 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
298
d97d71a1
GA
2992021-07-15 Alan Modra <amodra@gmail.com>
300
301 * config/rs6000/morestack.S (R2_SAVE): Define.
302 (__morestack): Save and restore r2. Set up r2 for called
303 functions.
304
bea7c16a
GA
3052021-07-01 H.J. Lu <hjl.tools@gmail.com>
306
307 * soft-fp/extendhfxf2.c: New file.
308 * soft-fp/truncxfhf2.c: Likewise.
309
6bc18203
GA
3102021-06-29 Julian Brown <julian@codesourcery.com>
311
312 * config/gcn/lib2-bswapti2.c: New file.
313 * config/gcn/lib2-divmod-di.c: New file.
314 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
315 typedefs.
316 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
317 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
318 lib2-bswapti2.c.
319
3202021-06-29 Julian Brown <julian@codesourcery.com>
321
322 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
323 return types to USItype.
324 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
325
fcf617f0
GA
3262021-06-23 Kewen Lin <linkw@linux.ibm.com>
327
328 * configure: Regenerate.
329 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
330 typos among the name, CFLAGS and the test.
331 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
332 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
333 Remove.
334 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
335 macro FLOAT128_HW_INSNS_ISA3_1.
336 (FP128_3_1_CFLAGS_HW): Fix option typo.
337 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
338 FLOAT128_HW_INSNS_ISA3_1.
339 (__floattikf_resolve): Likewise.
340 (__floatuntikf_resolve): Likewise.
341 (__fixkfti_resolve): Likewise.
342 (__fixunskfti_resolve): Likewise.
343 (__floattikf): Likewise.
344 (__floatuntikf): Likewise.
345 (__fixkfti): Likewise.
346 (__fixunskfti): Likewise.
347
f16f65f8
GA
3482021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
349
350 PR target/99939
351 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
352 macro.
353 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
354 on passing -mcmse option.
355
43c35d0d
GA
3562021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
357
358 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
359 _ARCH_PPC64 .
360
4f625f47
GA
3612021-06-09 Carl Love <cel@us.ibm.com>
362
363 * config.host: Add if test and set for
364 libgcc_cv_powerpc_3_1_float128_hw.
365 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
366 Change calls of __fixkfti to __fixkfti_sw.
367 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
368 Change calls of __fixunskfti to __fixunskfti_sw.
369 * config/rs6000/float128-p10.c (__floattikf_hw,
370 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
371 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
372 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
373 __fixunskfti_resolve): Add resolve functions.
374 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
375 * config/rs6000/float128-sed (floattitf, __floatuntitf,
376 __fixtfti, __fixunstfti): Add editor commands to change names.
377 * config/rs6000/float128-sed-hw (__floattitf,
378 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
379 change names.
380 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
381 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
382 * config/rs6000/quad-float128.h (__floattikf_sw,
383 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
384 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
385 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
386 * config/rs6000/t-float128 (floattikf, floatuntikf,
387 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
388 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
389 file names to fp128_ppc_funcs.
390 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
391 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
392 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
393 * config/rs6000/t-float128-p10-hw: New file.
394 * configure: Update script for isa 3.1 128-bit float support.
395 * configure.ac: Add check for 128-bit float hardware support.
396 * config/rs6000/fixkfti-sw.c: New file.
397 * config/rs6000/fixunskfti-sw.c: New file.
398 * config/rs6000/floattikf-sw.c: New file.
399 * config/rs6000/floatuntikf-sw.c: New file.
400
f9af11c7
GA
4012021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
402
403 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
404
4d0385df 4052021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
406
407 * libgcov-driver.c: Fix GNU coding style.
408
aa891c56
GA
4092021-05-10 Martin Liska <mliska@suse.cz>
410
411 * libgcov-driver.c (gcov_version): Use different name that does
412 not clash with newly introduced macro.
413
3c8e539d
GA
4142021-04-29 Eric Botcazou <ebotcazou@adacore.com>
415
416 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
417 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
418 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
419
e4ff4ffb
GA
4202021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
421
422 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
423 Define.
424 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
425 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
426 Define.
427 (__divkc3): Improve complex divide.
428
05ec629f
GA
4292021-04-23 Michael Meissner <meissner@linux.ibm.com>
430
431 PR target/98952
432 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
433 trampoline size comparison in 32-bit by reversing test and
434 combining load immediate with compare.
435 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
436 in 32-bit by reversing test and combining load immediate with
437 compare.
438
b1da9916
GA
4392021-04-05 Florian Weimer <fweimer@redhat.com>
440 Michael Meissner <meissner@linux.ibm.com>
441
442 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
443 point functions for $(decimal_float) only.
444
c0756c4e
GA
4452021-04-03 Jakub Jelinek <jakub@redhat.com>
446
447 PR target/97653
448 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
449 $(objext) instead of $(object). Use _floatunditf instead of
450 _floatunsditf. Add tf <-> ti conversion objects.
451 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
452
65374af2
GA
4532021-03-29 Michael Meissner <meissner@linux.ibm.com>
454
455 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
456 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
457 (fp128_decstr_objs): Delete.
458 * dfp-bit.h: Call __sprintfieee128 to do conversions from
459 _Float128 to a Decimal type. Call __strtoieee128 to do
460 conversions from a Decimal type to _Float128.
461 * config/rs6000/_sprintfkf.c: Delete file.
462 * config/rs6000/_sprintfkf.h: Delete file.
463 * config/rs6000/_strtokf.c: Delete file.
464 * config/rs6000/_strtokf.h: Delete file.
465
bf1f3168
GA
4662021-03-23 Marcus Comstedt <marcus@mc.pp.se>
467
468 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
469 to __BYTE_ORDER__.
470
0ad6a2e2
GA
4712021-03-06 Jakub Jelinek <jakub@redhat.com>
472
473 PR gcov-profile/99406
474 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
475 defined, define these macros if not defined already.
476
67f10d28
GA
4772021-03-04 Martin Liska <mliska@suse.cz>
478
479 PR gcov-profile/99105
480 * libgcov-driver.c (write_top_counters): Rename to ...
481 (write_topn_counters): ... this.
482 (write_one_data): Pre-allocate buffer for number of items
483 in the corresponding linked lists.
484 * libgcov.h (malloc_mmap): New function.
485 (allocate_gcov_kvp): Use it.
486
4872021-03-04 Martin Liska <mliska@suse.cz>
488
489 PR gcov-profile/99385
490 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
491
f3641ac7
GA
4922021-03-03 Martin Liska <mliska@suse.cz>
493
494 PR gcov-profile/97461
495 * config.in: Regenerate.
496 * configure: Likewise.
497 * configure.ac: Check sys/mman.h header file
498 * libgcov-driver.c (struct gcov_kvp): Remove static
499 pre-allocated pool and use a dynamic one.
500 * libgcov.h (MMAP_CHUNK_SIZE): New.
501 (gcov_counter_add): Use mmap to allocate pool for struct
502 gcov_kvp.
503
d97a92dc
GA
5042021-03-02 Michael Meissner <meissner@linux.ibm.com>
505
506 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
507 the function.
508 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
509
4028d01a
GA
5102021-02-24 Jakub Jelinek <jakub@redhat.com>
511
512 PR libgcc/99236
513 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
514 negation of m in unsigned type.
515
5162021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
517 Hau Hsu <hsuhau617@gmail.com>
518
519 PR target/99157
520 * config/arm/t-arm: Fix cmse support detection.
521
2f5765cf
GA
5222021-02-22 Michael Meissner <meissner@linux.ibm.com>
523
524 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
525
5262021-02-22 Michael Meissner <meissner@linux.ibm.com>
527
528 * config/rs6000/_dd_to_kf.c: New file.
529 * config/rs6000/_kf_to_dd.c: New file.
530 * config/rs6000/_kf_to_sd.c: New file.
531 * config/rs6000/_kf_to_td.c: New file.
532 * config/rs6000/_sd_to_kf.c: New file.
533 * config/rs6000/_sprintfkf.c: New file.
534 * config/rs6000/_sprintfkf.h: New file.
535 * config/rs6000/_strtokf.h: New file.
536 * config/rs6000/_strtokf.c: New file.
537 * config/rs6000/_td_to_kf.c: New file.
538 * config/rs6000/quad-float128.h: Add new declarations.
539 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
540 (fp128_decstr_funcs): New macro.
541 (ibm128_dec_funcs): New macro.
542 (fp128_ppc_funcs): Add the new conversions.
543 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
544 compiled with -mabi=ieeelongdouble.
545 (fp128_decstr_objs): Force __float128 <-> string conversions to be
546 compiled with -mabi=ibmlongdouble.
547 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
548 compiled with -mabi=ieeelongdouble.
549 (FP128_CFLAGS_DECIMAL): New macro.
550 (IBM128_CFLAGS_DECIMAL): New macro.
551 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
552 (BFP_TO_DFP): Add PowerPC _Float128 support.
553 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
554 IEEE 128-bit floating point.
555 (DFP_TO_BFP): Add PowerPC _Float128 support.
556 (BFP_TO_DFP): Add PowerPC _Float128 support.
557 (BFP_SPRINTF): New macro.
558
aa69f0a8
GA
5592021-01-27 Jakub Jelinek <jakub@redhat.com>
560
561 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
562 * config/i386/savms64f.h: Likewise.
563 * config/i386/resms64.h: Likewise.
564 * config/i386/resms64f.h: Likewise.
565 * config/i386/resms64x.h: Likewise.
566 * config/i386/resms64fx.h: Likewise.
567
e62bb7f0
GA
5682021-01-26 Martin Liska <mliska@suse.cz>
569
570 PR gcov-profile/98739
571 * libgcov.h (gcov_topn_add_value): Do not train when
572 we have a merged profile with a negative number of total
573 value.
574
161e4c08
GA
5752021-01-25 Martin Liska <mliska@suse.cz>
576
577 PR gcov-profile/98739
578 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
579 ends with a dropped counter.
580 * libgcov.h (gcov_topn_add_value): Add return value.
581
be0851b8
GA
5822021-01-13 Stafford Horne <shorne@gmail.com>
583
584 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
585 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
586 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
587 FP_EX_ALL): New constant macros.
588 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
589 FP_HANDLE_EXCEPTIONS): New macros.
590 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
591
5922021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
593
594 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
595 posix siginfo case to struct handler_args. Detect between legacy
596 and siginfo from the second parameter, which is a small sigcode in
597 the legacy case, and a pointer in the siginfo case.
598
108beb75
GA
5992020-12-20 Max Filippov <jcmvbkbc@gmail.com>
600
601 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
602 functions.
603 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
604 _bswapdi2.
605
f6e8e279
GA
6062020-12-08 Ian Lance Taylor <iant@golang.org>
607
608 * generic-morestack-thread.c (free_segments): Block signals during
609 thread exit.
610
b8dd0ef7
GA
6112020-12-03 Michael Meissner <meissner@linux.ibm.com>
612
613 PR libgcc/97543
614 PR libgcc/97643
615 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
616 (IBM128_SHARED_OBJS): New make variable.
617 (IBM128_OBJS): New make variable. Set all objects to use the
618 explicit IBM format, and disable gnu attributes.
619 (IBM128_CFLAGS): New make variable.
620 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
621 modules.
622
6232020-12-03 Alexandre Oliva <oliva@adacore.com>
624
625 * config/t-vxworks (LIB2ADD): Drop.
626 * config/t-vxworks7 (LIB2ADD): Likewise.
627 * config/vxcache.c: Remove.
628
94358e47
GA
6292020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
630
631 * libgcc2.c (bswapsi2): Make constants unsigned.
632
360258da
GA
6332020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
634
635 * libgcc2.c (absvSI2): Simplify/improve implementation by using
636 builtin_add_overflow.
637 (absvsi2, absvDI2): Likewise.
638
82e5048e
GA
6392020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
640
641 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
642 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
643
25bb75f8
GA
6442020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
645
646 * config/msp430/lib2hw_mul.S (mult64_hw): New.
647 (if MUL_32): Use mult64_hw for __muldi3.
648 (if MUL_F5): Use mult64_hw for __muldi3.
649 * config/msp430/lib2mul.c (__muldi3): New.
650 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
651
29c5d9ce
GA
6522020-11-17 Alan Modra <amodra@gmail.com>
653
654 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
655 (LIB2_SIDITI_CONV_FUNCS): Define.
656 * config/rs6000/ppc64-fp.c: Delete file.
657
cba30651
GA
6582020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
659
660 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
661 hwmult library functions.
662
bb622641
GA
6632020-11-10 Jeff Law <law@redhat.com>
664
665 * libgcc2.c: Fix whitespace issues in most recent change.
666
6672020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
668
669 * libgcc2.c (__addvSI3): Use overflow builtins.
670 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
671 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
672 (__negvsi2, __negvDI2): Likewise.
673 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
674 generated code.
675 * libgcc2.h (__ucmpdi2): Adjust prototype.
676
fd2325ea
GA
6772020-11-03 Pat Bernardi <bernardi@adacore.com>
678 Olivier Hainque <hainque@adacore.com>
679
680 * config.host (aarch64-vxworks7*, tmake_file): Add
681 ${cpu_type}/t-lse and t-slibgcc-libgcc.
682
6832020-11-03 Martin Storsjö <martin@martin.st>
684
685 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
686 before calling the callback.
687
88ce3d5f
GA
6882020-10-30 Olivier Hainque <hainque@adacore.com>
689 Douglas Rupp <rupp@adacore.com>
690 Pat Bernardi <bernardi@adacore.com>
691
692 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
693 to apply to VxWorks 7 as well.
694
4f0606fe
GA
6952020-10-29 Olivier Hainque <hainque@adacore.com>
696
697 * config/gthr-vxworks-tls.c: Fix preprocessor logic
698 controlling the definition of VX_ENTER_TLS_DTOR and
699 VX_LEAVE_TLS_DTOR based on a version major check.
700
7012020-10-29 Olivier Hainque <hainque@adacore.com>
702
703 * config/gthr-vxworks-thread.c: Fix name of macro used
704 to condition the inclusion of an actual implementation.
705
89bb01e7
GA
7062020-10-27 Martin Liska <mliska@suse.cz>
707
708 PR gcov-profile/97461
709 * libgcov.h (gcov_counter_add): Use first static counters
710 as it should help to have malloc wrappers set up.
711
efe71fcc
GA
7122020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
713
714 * config/gthr-vxworks-thread.c: #include gthr.h before
715 testing the guard defined there.
716 * config/gthr-vxworks-cond.c: Likewise.
717
56ddd5e2
GA
7182020-10-21 Douglas Rupp <rupp@adacore.com>
719 Olivier Hainque <hainque@adacore.com>
720
721 * config.host (powerpc*-wrs-vxworks7*): New case.
722 * configure.ac: Handle powerpc*-*-vxworks7* as
723 powerpc*-*-linux* for ppc-fp_type.
724 * configure: Regenerate.
725
56e4eee9
GA
7262020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
727
728 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
729 section on VxWorks >= 6.
730 * config/gthr-vxworks-thread.c: Condition the entire
731 implementation on __GTHREAD_CXX0X.
732
7332020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
734
735 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
736 section on VxWorks >= 6.
737 * config/gthr-vxworks-cond.c: Condition the entire
738 implementation on __GTHREAD_HAS_COND.
739
7402020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
741
742 * config/gthr-vxworks.c: #include <taskLib.h>.
743
7442020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
745
746 * config/gthr-vxworks.h: Rewrite remaining occurrence
747 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
748
7492020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
750 Olivier Hainque <hainque@adacore.com>
751
752 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
753 except on VxWorks 6.
754
7552020-10-16 Olivier Hainque <hainque@adacore.com>
756
757 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
758
b2698c21
GA
7592020-10-14 Alexandre Oliva <oliva@adacore.com>
760
761 * config/gthr-vxworks-thread.c: Include stdlib.h.
762 (tls_delete_hook): Prototype it.
763 (__gthread_cond_signal): Return early if no waiters. Consume
764 signal in case the semaphore got full. Use semInfoGet instead
765 of kernel-mode-only semInfo.
766 (__gthread_cond_timedwait): Use semExchange. Always take the
767 mutex again before returning.
768 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
769
7702020-10-14 Olivier Hainque <hainque@adacore.com>
771
772 * config/t-vxworks (LIBGCC2_INCLUDES): Append
773 $(MULTISUBDIR) to the -I path for fixed headers, as we
774 arrange to have different sets of such headers for different
775 multilibs when they are activated.
776 * config/t-vxworks7: Likewise.
777
7782020-10-14 Olivier Hainque <hainque@adacore.com>
779
780 * config/t-vxworks: Add include-fixed to include search
781 paths for libgcc on VxWorks.
782 * config/t-vxworks7: Likewise.
783
c74a0e82
GA
7842020-10-09 H.J. Lu <hjl.tools@gmail.com>
785
786 PR target/97148
787 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
788 instead of <cetintrin.h>.
789
6c2675fa
GA
7902020-10-01 Alan Modra <amodra@gmail.com>
791
792 * config/rs6000/morestack.S,
793 * config/rs6000/tramp.S: Support __PCREL__ code.
794
7952020-10-01 Alan Modra <amodra@gmail.com>
796
797 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
798
93bca37c
GA
7992020-09-29 Maciej W. Rozycki <macro@wdc.com>
800
801 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
802 variable.
803
e84761c6
GA
8042020-09-28 Richard Sandiford <richard.sandiford@arm.com>
805
806 * config/aarch64/libgcc-softfp.ver: New file.
807 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
808
4383c595
GA
8092020-09-27 Clement Chigot <clement.chigot@atos.net>
810
811 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
812
521d2711
GA
8132020-09-22 Sergei Trofimovich <siarheit@google.com>
814
815 PR gcov-profile/96913
816 * libgcov-driver.c (write_one_data): Avoid function pointer
817 comparison in TOP streaming decision.
818
2aad20c0
GA
8192020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
820 Christophe Lyon <christophe.lyon@linaro.org>
821
822 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
823 qualifier.
824 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
825 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
826 missing prototypes.
827
8282020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
829
830 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
831 unused variable warning.
832
ecde1b0a
GA
8332020-09-16 Jojo R <jiejie_rong@c-sky.com>
834
835 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
836
80f86e78
GA
8372020-09-09 Tom de Vries <tdevries@suse.de>
838
839 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
840 Wbuiltin-declaration-mismatch.
841
57ea0894
GA
8422020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
843
844 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
845 * config/msp430/srai.S (__gnu_mspabi_srap): New.
846 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
847
b3cb5606
GA
8482020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
849
850 * config/nvptx/atomic.c: New.
851 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
852
6a1ad710
GA
8532020-08-03 Ian Lance Taylor <iant@golang.org>
854
855 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
856
8572020-08-03 Jakub Jelinek <jakub@redhat.com>
858
859 PR target/96402
860 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
861 of x(tmp0), x(tmp1) in STXP arguments.
862
48cc2e46
GA
8632020-07-31 Maciej W. Rozycki <macro@wdc.com>
864
865 * config/riscv/save-restore.S [__riscv_xlen == 64]
866 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
867 (__riscv_save_2): Replace negative immediates used for the final
868 stack pointer adjustment with positive ones, right-shifted by 4.
869
8702020-07-31 Martin Liska <mliska@suse.cz>
871
872 * libgcov-driver.c: Add __gcov_kvp_pool
873 and __gcov_kvp_pool_index variables.
874 * libgcov.h (allocate_gcov_kvp): New.
875 (gcov_topn_add_value): Use it.
876
53256ee3
GA
8772020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
878
879 * config/aarch64/lse.S: Add PAC property note.
880
9bb403dc
GA
8812020-07-23 Martin Liska <mliska@suse.cz>
882
883 PR gcov-profile/96035
884 * libgcov-driver-system.c: Create gcov folders with 0777
885 so that it respects a system umask.
886
8ca07a30
GA
8872020-07-14 David Edelsohn <dje.gcc@gmail.com>
888
889 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
890
ea69fcf9
GA
8912020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
892
893 PR target/94891
894 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
895 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
896 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
897 (MD_DEMANGLE_RETURN_ADDR): This.
898 (aarch64_post_extract_frame_addr): Rename to ...
899 (aarch64_demangle_return_addr): This.
900 (aarch64_post_frob_eh_handler_addr): Remove.
901 * unwind-dw2.c (uw_update_context): Demangle return address.
902 (uw_frob_return_addr): Remove.
903
3f8ca9cb
GA
9042020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
905
906 PR target/96001
907 * config/aarch64/lse.S: Add BTI marking and related definitions,
908 and add BTI c to function entries.
909
9102020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
911
912 * config/aarch64/lse.S: Add stack note.
913
b5f24739
GA
9142020-07-02 Martin Liska <mliska@suse.cz>
915
916 PR gcov-profile/95348
917 * libgcov-driver.c (merge_one_data): Merge only profiles
918 that are not of non-zero type.
919 (write_one_data): Write counters only if there's one non-zero
920 value.
921 * libgcov-util.c (tag_function): Change signature from unsigned
922 to int.
923 (tag_blocks): Likewise.
924 (tag_arcs): Likewise.
925 (tag_counters): Likewise.
926 (tag_summary): Likewise.
927 (tag_lines): Read only if COUNTERS is non-zero.
928 (read_gcda_file): Handle negative length for COUNTERS type.
929
d61ffe12
GA
9302020-06-25 Martin Liska <mliska@suse.cz>
931
932 * libgcov-driver.c (merge_summary): Remove function as its name
933 is misleading and doing something different.
934 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
935 in gcov-tool.
936 * libgcov-util.c (curr_object_summary): Remove.
937 (read_gcda_file): Remove unused curr_object_summary.
938 (gcov_merge): Merge summaries.
939 * libgcov.h: Add summary argument for gcov_info struct.
940
2e546c26
GA
9412020-06-24 H.J. Lu <hjl.tools@gmail.com>
942
943 PR target/95259
944 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
945 "common/config/i386/i386-cpuinfo.h" and
946 "common/config/i386/cpuinfo.h".
947 (__cpu_features2): Changed to array.
948 (get_amd_cpu): Removed.
949 (get_intel_cpu): Likewise.
950 (get_available_features): Likewise.
951 (__cpu_indicator_init): Call cpu_indicator_init.
952 * config/i386/cpuinfo.h: Removed.
953
4543acc8
GA
9542020-06-23 David Edelsohn <dje.gcc@gmail.com>
955
956 * Makefile.in: Remove uses of empty.mk. Use -include.
957 * config/avr/t-avr: Use -include.
958 * empty.mk: Delete.
959
f86e11a2
GA
9602020-06-21 David Edelsohn <dje.gcc@gmail.com>
961
962 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
963 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
964 and 64 bit with -maix64.
965 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
966 Build and install AIX-style FAT libraries.
967
aff95ee7
GA
9682020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
969
970 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
971 'i386/gnu-unwind.h'
972 * config/i386/gnu-unwind.h: New file.
973
9742020-06-17 Martin Liska <mliska@suse.cz>
975
976 * libgcov-util.c (read_gcda_finalize): Remove const operator.
977 (merge_wrapper): Add both counts and use them properly.
978 (topn_to_memory_representation): New function.
979 (gcov_merge): Covert on disk representation to in memory
980 representation.
981 * libgcov.h: Remove const operator.
982
6fb94d67
GA
9832020-06-15 Max Filippov <jcmvbkbc@gmail.com>
984
985 * configure: Regenerate.
986 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
987 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
988
b952c2cf
GA
9892020-06-09 Martin Liska <mliska@suse.cz>
990
991 PR gcov-profile/95494
992 * libgcov-driver.c (write_top_counters): Cast first to
993 intptr_t as sizeof(*) != sizeof(gcov_type).
994 * libgcov.h (gcov_counter_set_if_null): Remove.
995 (gcov_topn_add_value): Cast first to intptr_t and update
996 linked list directly.
997
9982020-06-09 Max Filippov <jcmvbkbc@gmail.com>
999
1000 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1001 with uw_install_context_1.
1002
3add3425
GA
10032020-06-04 Andreas Schwab <schwab@suse.de>
1004
1005 PR target/59230
1006 PR libfortran/59227
1007 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1008 soft-fp/divtf3.c.
1009 (LIB2ADD): Add config/ia64/divtf3.c.
1010 * config/ia64/divtf3.c: New file.
1011
9a5b7438
GA
10122020-06-03 Martin Liska <mliska@suse.cz>
1013
1014 PR gcov-profile/95480
1015 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1016 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1017 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1018 (gcov_counter_set_if_null): Likewise.
1019
a9312a79
GA
10202020-06-02 Jim Wilson <jimw@sifive.com>
1021
1022 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1023 to bgtz.
1024
10252020-06-02 Martin Liska <mliska@suse.cz>
1026
1027 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1028 of xmalloc.
1029
10302020-06-02 Martin Liska <mliska@suse.cz>
1031
1032 * libgcov-driver.c (prune_topn_counter): Remove.
1033 (prune_counters): Likewise.
1034 (merge_one_data): Special case TOP N counters
1035 as they have variable length.
1036 (write_top_counters): New.
1037 (write_one_data): Special case TOP N.
1038 (dump_one_gcov): Do not prune TOP N counters.
1039 * libgcov-merge.c (merge_topn_values_set): Remove.
1040 (__gcov_merge_topn): Use gcov_topn_add_value.
1041 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1042 Likewise here.
1043 * libgcov.h (gcov_counter_add): New.
1044 (gcov_counter_set_if_null): Likewise.
1045 (gcov_topn_add_value): New.
1046
4a9aa9de
GA
10472020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1048
1049 * config/i386/sfp-exceptions.c (struct fenv):
1050 Add __attribute__ ((gcc_struct)).
1051
885ef72f
GA
10522020-05-29 H.J. Lu <hjl.tools@gmail.com>
1053
1054 PR bootstrap/95413
1055 * configure: Regenerated.
1056
53ffb43a
GA
10572020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1058
1059 PR gcov-profile/95332
1060 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1061 * libgcov.h (gcov_magic): Disable GCC poison.
1062
5855bdfa
L
10632020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1064
1065 PR target/95212
1066 * config/i386/cpuinfo.h (processor_features): Move
1067 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1068
35b98036
L
10692020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1070
1071 PR target/91695
1072 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1073 check.
1074
45395445
L
10752020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 PR target/95212
1078 PR target/95220
1079 * config/i386/cpuinfo.c (get_available_features): Fix
1080 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1081 * config/i386/cpuinfo.h (processor_features): Add
1082 FEATURE_AVX512VP2INTERSECT.
1083
4c1a5d8b
L
10842020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1085
1086 PR bootstrap/95147
1087 * configure: Regenerated.
1088
8d286dd1
L
10892020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1090
1091 * configure: Regenerated.
1092
39748a89
HPN
10932020-05-09 Hans-Peter Nilsson <hp@axis.com>
1094
1095 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1096 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1097
d3a1459c
UB
10982020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1099
1100 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1101 (__math_force_eval_div): New define.
1102 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1103 generic division to generate INVALID, DIVZERO and INEXACT
1104 exceptions.
1105
12667785
KT
11062020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1107
1108 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1109 instead of getauxval.
1110 (AT_HWCAP): Define.
1111 (HWCAP_ATOMICS): Define.
1112 Guard detection on __gnu_linux__.
1113
ef836167
MM
11142020-05-05 Michael Meissner <meissner@linux.ibm.com>
1115
1116 * config.host: Delete changes meant for a private branch.
1117 * config/rs6000/t-float128: Likewise.
1118 * configure.ac: Likewise.
1119 * configure: Likewise.
1120
811b7636
ML
11212020-05-05 Martin Liska <mliska@suse.cz>
1122
1123 PR gcov-profile/93623
1124 * Makefile.in: Remove __gcov_flush.
1125 * gcov.h (__gcov_flush): Remove.
1126 * libgcov-interface.c (__gcov_flush): Remove.
1127 (init_mx): Use renamed mutex.
1128 (__gcov_lock): Likewise.
1129 (__gcov_unlock): Likewise.
1130 (__gcov_fork): Likewise.
1131 (__gcov_flush): Remove.
1132
c0532db4
ML
11332020-05-05 Martin Liska <mliska@suse.cz>
1134
1135 PR gcov-profile/93623
1136 * libgcov-interface.c (__gcov_fork): Do not flush
1137 and reset only in child process.
1138 (__gcov_execl): Dump counters only and reset them
1139 only if exec* fails.
1140 (__gcov_execlp): Likewise.
1141 (__gcov_execle): Likewise.
1142 (__gcov_execv): Likewise.
1143 (__gcov_execvp): Likewise.
1144 (__gcov_execve): Likewise.
1145
d39f7dc8
ML
11462020-05-05 Martin Liska <mliska@suse.cz>
1147
1148 PR gcov-profile/93623
1149 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1150 * libgcov-interface.c (ALIAS_void_fn): Remove.
1151 (__gcov_lock): New.
1152 (__gcov_unlock): New.
1153 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1154 (__gcov_reset): Likewise.
1155 (__gcov_dump): Likewise.
1156 * libgcov.h (__gcov_lock): New declaration.
1157 (__gcov_unlock): Likewise.
1158
afb9b710
UB
11592020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1160
1161 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 1162 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
1163 generic division to generate INVALID and DIVZERO exceptions.
1164
66711279
SH
11652020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1166
1167 * config/rs6000/crtresfpr.S: Use .machine ppc.
1168 * config/rs6000/crtresxfpr.S: Likewise.
1169 * config/rs6000/crtsavfpr.S: Likewise.
1170
fb22faf4
SN
11712020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1172
1173 PR target/94514
1174 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1175 Update context->flags accroding to the frame state.
1176
df73e584
UB
11772020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1178
1179 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1180 Remove unneeded assignments to volatile memory.
1181
5b2f76e3
JJ
11822020-04-15 Jakub Jelinek <jakub@redhat.com>
1183
1184 PR target/93053
1185 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1186 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1187 is not defined, use just .arch armv8-a.
1188 (B, M, N, OPN): Define.
1189 (COMMENT): New .macro.
1190 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1191 defined. Otherwise, move the operands right after the glue? and
1192 comment out operands where the macros are used.
1193 * configure: Regenerated.
1194 * config.in: Regenerated.
1195
50c78532
ILT
11962020-04-07 Ian Lance Taylor <iant@golang.org>
1197
1198 PR libgcc/94513
1199 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1200 syscall instead.
1201
458ca332
ILT
12022020-04-04 Ian Lance Taylor <iant@golang.org>
1203
1204 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1205
710d54ed
ILT
12062020-04-03 Ian Lance Taylor <iant@golang.org>
1207
1208 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1209 than mmap/munmap, to avoid hooks.
1210
b749b5ec
JJ
12112020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1212
1213 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1214 (TPFRA_OFFSET): Macros removed.
1215 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1216 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1217 (PG3_SKIPPING_OFFSET): New macros.
1218 (__isPATrange): Use cinfc_fast for the check.
1219 (__isSkipResetAddr): New function.
1220 (s390_fallback_frame_state): Check for skip trace addresses. Use
1221 either ICST_CRET or ICST_SRET to calculate return address
1222 location.
1223 (__tpf_eh_return): Handle skip trace addresses.
1224
a9cd2d78
RE
12252020-03-26 Richard Earnshaw <rearnsha@arm.com>
1226
1227 PR target/94220
1228 * config/arm/lib1funcs.asm (COND): Use a single definition for
1229 unified syntax.
1230 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1231 (aeabi_idivmod): Likewise.
1232 (divsi3_skip_div0_test): Likewise.
1233
f582ca0f
MI
12342020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1235
1236 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1237
068fe0a9
AK
12382020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1239
1240 * config.host: Include the new makefile fragment.
1241 * config/s390/t-tpf: New file.
1242
6b9ce2b4
RE
12432020-03-03 Richard Earnshaw <rearnsha@arm.com>
1244
1245 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1246 syntax.
1247 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1248 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1249 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1250 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1251 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1252 syntax.
1253 (divsi3, modsi3): Likewise.
1254 (clzdi2, ctzsi2): Likewise.
1255 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1256 unified syntax.
1257 (UNWIND_WRAPPER): Likewise.
1258
8dd5d8f3
ML
12592020-03-02 Martin Liska <mliska@suse.cz>
1260
1261 * libgcov-interface.c: Remove duplicate
1262 declaration of __gcov_flush_mx.
1263
ea0b1252
ML
12642020-02-18 Martin Liska <mliska@suse.cz>
1265
1266 PR ipa/92924
1267 * libgcov-merge.c (merge_topn_values_set): Record
1268 when a TOP N counter becomes invalid. When merging
1269 remove a smallest value if the space is needed.
1270
02ce382c
SL
12712020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1272
1273 PR libstdc++/79193
1274 PR libstdc++/88999
1275
1276 * configure: Regenerated.
1277
7214fce3
JL
12782020-02-10 Jeff Law <law@redhat.com>
1279
1280 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1281 sections.
1282 * config/frv/frvend.c: Similarly.
1283
cf0f07ef
L
12842020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1285
1286 PR libgcc/85334
1287 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1288 New.
1289
5602b48b
CL
12902020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1291
1292 PR target/93615
1293 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1294 _Unwind_gnu_Find_got.
1295 * unwind-pe.h: Likewise.
1296
811a475e
JJ
12972020-02-07 Jakub Jelinek <jakub@redhat.com>
1298
1299 PR target/93615
1300 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1301 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1302 trailing :s in asm. Formatting fixes.
1303 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1304
2d33dcfe
SL
13052020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1306
1307 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1308
1309 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1310 * config/nios2-elf-lib.h: New.
1311 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1312 code for finding GOT base for nios2.
1313
3ae37f92
ML
13142020-01-27 Martin Liska <mliska@suse.cz>
1315
1316 PR gcov-profile/93403
1317 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1318 Call __gcov_indirect_call_profiler_body.
1319 (__gcov_indirect_call_profiler_body): New.
1320 (__gcov_indirect_call_profiler_v4_atomic): New.
1321 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1322 New declaration.
1323
2744b8b2
CZ
13242020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1325
1326 * config/arc/crti.S: Add RF16 object attribute.
1327 * config/arc/crtn.S: Likewise.
1328 * config/arc/crttls.S: Likewise.
1329 * config/arc/lib1funcs.S: Likewise.
1330 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1331 * config/arc/lib2funcs.c: New file.
1332 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1333
e8e66971
MR
13342020-01-24 Maciej W. Rozycki <macro@wdc.com>
1335
1336 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1337 * configure.ac: Handle `--with-toolexeclibdir='.
1338 * configure: Regenerate.
1339
54b3d52c
DM
13402020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1341
1342 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1343
a3c1e1f2
DM
13442020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1345
1346 * config/mips/gnustack.h: New file.
1347 * config/mips/crti.S: Include gnustack.h.
1348 * config/mips/crtn.S: Likewise.
1349 * config/mips/mips16.S: Likewise.
1350 * config/mips/vr4120-div.S: Likewise.
1351
e9ee848d
ML
13522020-01-23 Martin Liska <mliska@suse.cz>
1353
1354 * libgcov-driver.c (prune_topn_counter): Remove
1355 check for -1 as we only prune run-time counters
1356 that do not generate an invalid state.
1357
7491c17f
ML
13582020-01-22 Martin Liska <mliska@suse.cz>
1359
1360 PR tree-optimization/92924
1361 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1362 try to find an existing value, then find an empty slot
1363 if not found.
1364
5f32f9cf
ML
13652020-01-22 Martin Liska <mliska@suse.cz>
1366
1367 PR tree-optimization/92924
1368 * libgcov-driver.c (prune_topn_counter): New.
1369 (prune_counters): Likewise.
1370 (dump_one_gcov): Prune a run-time counter.
1371 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1372 For a known value, add GCOV_TOPN_VALUES to value.
1373 Otherwise, decrement all counters by one.
1374
463f6499
HPN
13752020-01-18 Hans-Peter Nilsson <hp@axis.com>
1376
1377 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1378
84479e3a
JDA
13792020-01-18 John David Anglin <danglin@gcc.gnu.org>
1380
1381 PR libgcc/92988
1382 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1383 DEFAULT_USE_CXA_ATEXIT is true.
1384
e953433f 13852020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 1386 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
1387
1388 * config/arm/t-arm: Check return value of gcc rather than lack of
1389 output.
1390
03e87724
GJL
13912020-01-14 Georg-Johann Lay <avr@gjlay.de>
1392
1393 * config/avr/lib1funcs.S (skip): Simplify.
1394
af9bd920
KCY
13952020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1396
1397 * config/gcn/atomic.c: Remove include of stdint.h.
1398 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1399 __UINTPTR_TYPE__.
1400
d6491d15
KCY
14012020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1402
1403 * config/gcn/atomic.c: New.
1404 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1405
f30dd607
GJL
14062020-01-08 Georg-Johann Lay <avr@gjlay.de>
1407
1408 Implement 64-bit double functions.
1409
1410 PR target/92055
1411 * config.host (tmake_file) [target=avr]: Add t-libf7,
1412 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1413 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1414 depending on sizeof (double) or sizeof (long double).
1415 * config/avr/libf7: New folder.
1416
5205a445
OH
14172020-01-05 Olivier Hainque <hainque@adacore.com>
1418
1419 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1420 by IN_LIBGCC2.
1421
8d9254fc
JJ
14222020-01-01 Jakub Jelinek <jakub@redhat.com>
1423
1424 Update copyright years.
1425
abb6c3ee
OH
14262019-12-30 Olivier Hainque <hainque@adacore.com>
1427
1428 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1429 * config/gthr-vxworks-tls.c: Likewise.
1430
d7f5094a
OH
14312019-12-30 Olivier Hainque <hainque@adacore.com>
1432
1433 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1434 standard zero-initializer syntax.
1435
49cfaa2a
OH
14362019-12-30 Olivier Hainque <hainque@adacore.com>
1437
1438 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1439 reference to the internal VX_GET_TLS_DATA interface.
1440
89b9a554
OH
14412019-12-30 Olivier Hainque <hainque@adacore.com>
1442
1443 * config/vxcrtstuff.c: Fix incorrect spelling of
1444 USE_INITFINI_ARRAY in guard.
1445
e8aa9f55
JL
14462019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1447
1448 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1449 Override default "extra_parts" variable.
1450 * configure: Regenerate.
1451 * configure.ac: Disable TM clone registry by default for
1452 msp430-elfbare.
1453
a9046e98
JL
14542019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1455
1456 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1457 "extra_parts".
1458 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1459
34a53788
JL
14602019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1461
1462 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1463 true.
1464
21a098f4
JL
14652019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1466
1467 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1468 defined instead of its value.
1469
ad8b7783
JL
14702019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1471
1472 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1473 if it will have contents.
1474
08d7ff78
GJL
14752019-12-05 Georg-Johann Lay <avr@gjlay.de>
1476
1477 PR target/92055
1478 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1479
3d3a96a2
SN
14802019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1481
34b4d99d 1482 PR libgcc/91737
3d3a96a2
SN
1483 * config.host: Add t-gthr-noweak on *-*-musl*.
1484 * config/t-gthr-noweak: New file.
1485
632b5e3d
JDA
14862019-11-17 John David Anglin <danglin@gcc.gnu.org>
1487
1488 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1489 volatile void *. Remove trap check.
1490 (__kernel_cmpxchg2): Likewise.
1491 (FETCH_AND_OP_2): Adjust operand types.
1492 (OP_AND_FETCH_2): Likewise.
1493 (FETCH_AND_OP_WORD): Likewise.
1494 (OP_AND_FETCH_WORD): Likewise.
1495 (COMPARE_AND_SWAP_2): Likewise.
1496 (__sync_val_compare_and_swap_4): Likewise.
1497 (__sync_bool_compare_and_swap_4): Likewise.
1498 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1499 (__sync_lock_test_and_set_4): Likewise.
1500 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1501 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1502 for release.
1503 (__sync_lock_release_8): Remove.
1504
838fd641
SN
15052019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1506
1507 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1508 of __sigset_t.
1509
27204060
JL
15102019-11-14 Jerome Lambourg <lambourg@adacore.com>
1511 Doug Rupp <rupp@adacore.com>
1512 Olivier Hainque <hainque@adacore.com>
1513
1514 * config.host: Collapse the arm-vxworks entries into
1515 a single arm-wrs-vxworks7* one.
1516 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1517 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1518 kernel modules, to be overriden by libstdc++ when we link with
1519 it. Rely on externally provided __exidx_start/end.
1520
3004f893
DR
15212019-11-14 Doug Rupp <rupp@adacore.com>
1522 Olivier Hainque <hainque@adacore.com>
1523
1524 * config.host: Handle aarch64*-wrs-vxworks7*.
1525
36e5f4d4
OH
15262019-11-12 Olivier Hainque <hainque@adacore.com>
1527
1528 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1529 sources except the cxx0x support to LIB2ADDEH. We don't support
1530 cxx0x on AE/653.
1531 * config/t-vxworksae: New file.
1532 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1533 Makefile fragment files at their expected position in the tmake_file
1534 list, in accordance with what is done for other VxWorks variants.
1535
806dd047
CG
15362019-11-12 Corentin Gay <gay@adacore.com>
1537 Jerome Lambourg <lambourg@adacore.com>
1538 Olivier Hainque <hainque@adacore.com>
1539
1540 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1541 sources to LIB2ADDEH.
1542 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1543 * config/t-vxworks7: Likewise.
1544
1545 * config.host: Append a block at the end of the file to add the
1546 t-gthr files to the tmake_file list for VxWorks after everything
1547 else.
1548
1549 * config/vxlib.c: Rename as gthr-vxworks.c.
1550 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1551
1552 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1553 API and a basic error checking API, both internal. Simplify the
1554 __gthread_once_t type definition and initializers. Add sections
1555 for condition variables support and for the C++0x thread support,
1556 conditioned against Vx653 for the latter.
1557
1558 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1559 implementation, leveraging the TAS internal API.
1560 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1561 API, leveraging the general availability of TLS services in VxWorks7
1562 post SR6xxx.
1563 (__gthread_setspecific, __gthread_setspecific): Use it.
1564 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1565 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1566 support based on VxWorks primitives.
1567 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1568 based on VxWorks primitives.
1569
78e49fb1
JL
15702019-11-06 Jerome Lambourg <lambourg@adacore.com>
1571 Olivier Hainque <hainque@adacore.com>
1572
1573 * config/vxcrtstuff.c: New file.
1574 * config/t-vxcrtstuff: New Makefile fragment.
1575 * config.host: Append t-vxcrtstuff to the tmake_file list
1576 on all VxWorks ports using dwarf for table based EH.
1577
29f3def3
GJL
15782019-11-07 Georg-Johann Lay <avr@gjlay.de>
1579
1580 Support 64-bit double and 64-bit long double configurations.
1581
1582 PR target/92055
1583 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1584 long double is a 32-bit type.
1585 * config/avr/t-avrlibc: Copy double64 and long-double64
1586 multilib(s) from the vanilla one.
1587 * config/avr/t-copy-libgcc: New Makefile snip.
1588
62ec242e
JL
15892019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1590
1591 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1592 the target output object format is not ELF.
1593 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1594
da5c1bbe
OE
15952019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1596
1597 PR libgcc/78804
1598 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1599 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1600 FLOAT_BIT_ORDER_MISMATCH.
1601 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1602
8dc56a22
JW
16032019-11-01 Jim Wilson <jimw@sifive.com>
1604
1605 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1606
91c64455
JL
16072019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1608
1609 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1610 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1611 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1612 Define symbols for 32-bit and f5series hardware multiply
1613 register addresses.
1614 Replace hard-coded register addresses with symbols.
1615 Fix "_mspabi*" typo.
1616 Fix whitespace.
1617 * config/msp430/lib2mul.c: Add comment.
1618
85093ac6
JDA
16192019-10-15 John David Anglin <danglin@gcc.gnu.org>
1620
1621 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1622 unsigned int. Adjust callers.
1623 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1624 unsigned int *. Load relocation offset before function pointer.
1625 Add barrier to ensure ordering.
1626
1aea083d
JDA
16272019-10-12 John David Anglin <danglin@gcc.gnu.org>
1628
1629 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1630 Load PIC register after branch target. Fix white space.
1631 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1632 implementations. Load PIC register after branch target. Don't
1633 clobber function pointer when it points to function descriptor.
1634 Use nullification instead of branch in LINUX implementation.
1635
c49af82c
JDA
16362019-10-03 John David Anglin <danglin@gcc.gnu.org>
1637
1638 * config/pa/fptr.c: Disable -Warray-bounds warning.
1639
88a51d68
RH
16402019-09-25 Richard Henderson <richard.henderson@linaro.org>
1641
9e46fd07
RH
1642 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1643 not the ubuntu modified 2.69.
1644
58d169ba
RH
1645 PR target/91833
1646 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1647 initialization if !HAVE_SYS_AUXV_H.
1648 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1649 * config.in, configure: Rebuild.
1650
88a51d68
RH
1651 PR target/91834
1652 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1653 overlap the inputs.
1654
761e6bb9
SZ
16552019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1656
1657 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1658 CTR_EL0.IDC and CTR_EL0.DIC.
1659
76c93295
CL
16602019-09-20 Christophe Lyon <christophe.lyon@st.com>
1661
1662 Revert:
1663 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1664 Mickaël Guêné <mickael.guene@st.com>
1665
1666 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1667 architecture.
1668
33befddc
RH
16692019-09-19 Richard Henderson <richard.henderson@linaro.org>
1670
1671 * config/aarch64/lse-init.c: New file.
1672 * config/aarch64/lse.S: New file.
1673 * config/aarch64/t-lse: New file.
1674 * config.host: Add t-lse to all aarch64 tuples.
1675
ae1152e5
CL
16762019-09-10 Christophe Lyon <christophe.lyon@st.com>
1677 Mickaël Guêné <mickael.guene@st.com>
1678
84818dbb
CL
1679 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1680 architecture.
1681
16822019-09-10 Christophe Lyon <christophe.lyon@st.com>
1683 Mickaël Guêné <mickael.guene@st.com>
1684
ae1152e5
CL
1685 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1686 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1687 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1688 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1689 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1690 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1691 (__gnu_personality_sigframe_fdpic): New.
1692 (get_eit_entry): Add FDPIC signal frame support.
1693
5d727a4b
CL
16942019-09-10 Christophe Lyon <christophe.lyon@st.com>
1695 Mickaël Guêné <mickael.guene@st.com>
1696
1697 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1698 (__kernel_dmb): Likewise.
1699 (__fdpic_cmpxchg): New function.
1700 (__fdpic_dmb): New function.
1701 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1702 (gnu_Unwind_Find_got): New function.
1703 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1704 * unwind-arm-common.inc (UCB_PR_GOT): New.
1705 (funcdesc_t): New struct.
1706 (get_eit_entry): Add FDPIC support.
1707 (unwind_phase2): Likewise.
1708 (unwind_phase2_forced): Likewise.
1709 (__gnu_Unwind_RaiseException): Likewise.
1710 (__gnu_Unwind_Resume): Likewise.
1711 (__gnu_Unwind_Backtrace): Likewise.
1712 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1713
b1e21e5a 17142019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 1715 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 1716
11189793
CL
1717 * libgcc/crtstuff.c: Add support for FDPIC.
1718
17192019-09-10 Christophe Lyon <christophe.lyon@st.com>
1720
1721 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 1722
91dfef96
JM
17232019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1724
1725 * config.host: Set cpu_type for bpf-*-* targets.
1726 * config/bpf/t-bpf: Likewise.
1727 * config/bpf/crtn.S: Likewise.
1728 * config/bpf/crti.S: New file.
1729
2f4d8951
JW
17302019-09-06 Jim Wilson <jimw@sifive.com>
1731
1732 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1733 (riscv*-*-freebsd*): Likewise.
1734
2f2aeda9
UW
17352019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1736
1737 * config.host: Remove references to spu.
1738 * config/spu/: Remove directory.
1739
d16017da
JL
17402019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1741
1742 PR target/91306
1743 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1744 element type, instead of "sizeof" the element type.
1745 (__DTOR_LIST__): Likewise.
1746 (__TMC_LIST__): Likewise.
1747 (__do_global_dtors_aux_fini_array_entry): Likewise.
1748 (__frame_dummy_init_array_entry): Likewise.
1749 (__CTOR_END__): Likewise.
1750 (__DTOR_END__): Likweise.
1751 (__FRAME_END__): Likewise.
1752 (__TMC_END__): Likewise.
1753
a9fcfec3
HL
17542019-08-20 Lili Cui <lilicui@intel.com>
1755
1756 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1757 INTEL_COREI7_COOPERLAKE.
1758
428642b1
MT
17592019-07-31 Matt Thomas <matt@3am-software.com>
1760 Nick Hudson <nick@nthcliff.demon.co.uk>
1761 Matthew Green <mrg@eterna.com.au>
1762 Maya Rashish <coypu@sdf.org>
1763
1764 * config.host (hppa*-*-netbsd*): New case.
1765 * config/pa/t-netbsd: New file.
1766
f0efd925
JH
17672019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1768
1769 * config/arm/cmse.c (cmse_check_address_range): Add
1770 warn_unused_result attribute.
1771
a861990d
ML
17722019-07-22 Martin Liska <mliska@suse.cz>
1773
1774 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1775 * config/pa/t-stublib: Likewise.
1776
9c0dba7c
SH
17772019-07-22 Stafford Horne <shorne@gmail.com>
1778
1779 PR target/90362
1780 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1781 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1782 instructions are not available on every processor. Change a
1783 l.bnf to l.bf to fix logic issue.
1784
61afc8f8
IS
17852019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1786
1787 * config.host: Remove reference to t-darwin8.
1788
179c7ef5
IS
17892019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1790
1791 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1792 list.
1793 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1794 mmacosx-version-min for crts to run across all system versions.
1795 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1796 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1797 system versions >= 10.4.
1798
596341c7
ML
17992019-07-03 Martin Liska <mliska@suse.cz>
1800
1801 * Makefile.in: Use topn_values instead of one_value names.
1802 * libgcov-merge.c (__gcov_merge_single): Move to ...
1803 (__gcov_merge_topn): ... this.
1804 (merge_single_value_set): Move to ...
1805 (merge_topn_values_set): ... this.
1806 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1807 ...
1808 (__gcov_topn_values_profiler_body): ... this.
1809 (__gcov_one_value_profiler_v2): Move to ...
1810 (__gcov_topn_values_profiler): ... this.
1811 (__gcov_one_value_profiler_v2_atomic): Move to ...
1812 (__gcov_topn_values_profiler_atomic): ... this.
1813 (__gcov_indirect_call_profiler_v4): Remove.
1814 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1815 (__gcov_topn_counter_op): ... this.
1816 * libgcov.h (L_gcov_merge_single): Remove.
1817 (L_gcov_merge_topn): New.
1818 (__gcov_merge_single): Remove.
1819 (__gcov_merge_topn): New.
1820 (__gcov_one_value_profiler_v2): Move to ..
1821 (__gcov_topn_values_profiler): ... this.
1822 (__gcov_one_value_profiler_v2_atomic): Move to ...
1823 (__gcov_topn_values_profiler_atomic): ... this.
1824
1b309ca5
ML
18252019-07-03 Martin Liska <mliska@suse.cz>
1826
1827 * libgcov-merge.c (merge_single_value_set): Support N values.
1828 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1829
5a460280
ID
18302019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1831
1832 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1833 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1834 * configure.ac: Add --disable-tm-clone-registry option.
1835 * configure: Regenerate.
1836
45309d28
ML
18372019-06-27 Martin Liska <mliska@suse.cz>
1838
1839 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1840 dead assignments.
1841 * libgcov-util.c: Likewise.
1842
c2f7a665
ML
18432019-06-27 Martin Liska <mliska@suse.cz>
1844
1845 * libgcov-util.c (gcov_profile_merge): Release allocated
1846 memory.
1847 (calculate_overlap): Likewise.
1848
a8e55c61
IS
18492019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1850
1851 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1852 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1853 Build objects for the out of line save/restore register functions
1854 so that they can be used for any supported Darwin version.
1855 * config/t-darwin: Default the build Darwin version to Darwin8
1856 (MacOS 10.4).
1857
e5ce4cbc
ML
18582019-06-25 Martin Liska <mliska@suse.cz>
1859
1860 * libgcov-driver-system.c (replace_filename_variables): Do not
1861 call strlen with NULL argument.
1862
52a47d28
AS
18632019-06-25 Andrew Stubbs <ams@codesourcery.com>
1864
1865 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1866 * config/gcn/unwind-gcn.c: New file.
1867
76d46331
KCY
18682019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1869 Andrew Stubbs <ams@codesourcery.com>
1870
1871 * configure: Regenerate.
1872 * config/gcn/gthr-gcn.h: New.
1873
787783a0
TV
18742019-06-18 Tom de Vries <tdevries@suse.de>
1875
1876 * config/nvptx/crt0.c (__main): Declare.
1877
f32f7585
MG
18782019-06-17 Matthew Green <mrg@eterna.com.au>
1879 Maya Rashish <coypu@sdf.org>
1880
1881 * config.host (aarch64*-*-netbsd*): New case.
1882
0fcc78f7
JL
18832019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1884
1885 * config/msp430/slli.S (__mspabi_sllll): New library function for
1886 performing a logical left shift of a 64-bit value.
1887 * config/msp430/srai.S (__mspabi_srall): New library function for
1888 performing a arithmetic right shift of a 64-bit value.
1889 * config/msp430/srll.S (__mspabi_srlll): New library function for
1890 performing a logical right shift of a 64-bit value.
1891
b27c1082
MT
18922019-06-14 Matt Thomas <matt@3am-software.com>
1893 Matthew Green <mrg@eterna.com.au>
1894 Nick Hudson <skrll@netbsd.org>
1895 Maya Rashish <coypu@sdf.org>
1896
1897 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1898 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1899 functions to build.
1900 * config/arm/t-netbsd-eabi: New file.
1901
ae7deb4b
DD
19022019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1903
1904 * config.host: Add PRU target.
1905 * config/pru/asri.c: New file.
1906 * config/pru/eqd.c: New file.
1907 * config/pru/eqf.c: New file.
1908 * config/pru/ged.c: New file.
1909 * config/pru/gef.c: New file.
1910 * config/pru/gtd.c: New file.
1911 * config/pru/gtf.c: New file.
1912 * config/pru/led.c: New file.
1913 * config/pru/lef.c: New file.
1914 * config/pru/lib2bitcountHI.c: New file.
1915 * config/pru/lib2divHI.c: New file.
1916 * config/pru/lib2divQI.c: New file.
1917 * config/pru/lib2divSI.c: New file.
1918 * config/pru/libgcc-eabi.ver: New file.
1919 * config/pru/ltd.c: New file.
1920 * config/pru/ltf.c: New file.
1921 * config/pru/mpyll.S: New file.
1922 * config/pru/pru-abi.h: New file.
1923 * config/pru/pru-asm.h: New file.
1924 * config/pru/pru-divmod.h: New file.
1925 * config/pru/sfp-machine.h: New file.
1926 * config/pru/t-pru: New file.
1927
0d7b3e47
JJ
19282019-06-11 Jakub Jelinek <jakub@redhat.com>
1929
1930 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1931
54e2d83c
ML
19322019-06-10 Martin Liska <mliska@suse.cz>
1933
1934 PR bootstrap/90808
1935 * libgcov.h: Add ATTRIBUTE_UNUSED.
1936
92d41717
ML
19372019-06-10 Martin Liska <mliska@suse.cz>
1938
1939 * Makefile.in: Add __gcov_one_value_profiler_v2,
1940 __gcov_one_value_profiler_v2_atomic and
1941 __gcov_indirect_call_profiler_v4.
1942 * libgcov-merge.c (__gcov_merge_single): Change
1943 function signature.
1944 (merge_single_value_set): New.
1945 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1946 Update functionality.
1947 (__gcov_one_value_profiler): Remove.
1948 (__gcov_one_value_profiler_v2): ... this.
1949 (__gcov_one_value_profiler_atomic): Rename to ...
1950 (__gcov_one_value_profiler_v2_atomic): this.
1951 (__gcov_indirect_call_profiler_v3): Rename to ...
1952 (__gcov_indirect_call_profiler_v4): ... this.
1953 * libgcov.h (__gcov_one_value_profiler): Remove.
1954 (__gcov_one_value_profiler_atomic): Remove.
1955 (__gcov_one_value_profiler_v2_atomic): New.
1956 (__gcov_indirect_call_profiler_v3): Remove.
1957 (__gcov_one_value_profiler_v2): New.
1958 (__gcov_indirect_call_profiler_v4): New.
1959 (gcov_get_counter_ignore_scaling): New function.
1960
e37333ba
ML
19612019-06-07 Martin Liska <mliska@suse.cz>
1962
1963 * Makefile.in: Remove usage of
1964 _gcov_merge_icall_topn.
1965 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1966 (gcov_sort_icall_topn_counter): Likewise.
1967 (gcov_sort_topn_counter_arrays): Likewise.
1968 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1969 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1970 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1971 Likewise.
1972 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1973 (struct indirect_call_tuple): Remove.
1974 (__gcov_indirect_call_topn_profiler): Remove.
1975 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1976 * libgcov.h (gcov_sort_n_vals): Remove.
1977 (L_gcov_merge_icall_topn): Likewise.
1978 (__gcov_merge_icall_topn): Likewise.
1979 (__gcov_indirect_call_topn_profiler): Likewise.
1980
34a4a9c2
IS
19812019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1982
1983 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1984 altivec enabled.
1985
d1b2f85f
JL
19862019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1987
1988 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1989 section.
1990 (__mspabi_slli): Likewise.
1991 (__mspabi_slll_n): Likewise.
1992 (__mspabi_slll): Likewise.
1993 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1994 (__mspabi_srai): Likewise.
1995 (__mspabi_sral_n): Likewise.
1996 (__mspabi_sral): Likewise.
1997 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1998 (__mspabi_srli): Likewise.
1999 (__mspabi_srll_n): Likewise.
2000 (__mspabi_srll): Likewise.
2001
e69a13d1
YS
20022019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2003
2004 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2005 Add appropriate tm_file clause as well.
2006 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2007
b009eac1
JC
20082019-06-05 James Clarke <jrtc27@jrtc27.com>
2009
2010 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2011 rather than .data/.bss so it can be accessed via gp-relative
2012 addressing.
2013
781d39f2
DE
20142019-06-05 David Edelsohn <dje.gcc@gmail.com>
2015
2016 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2017 (CR2_REGNO): Rename to R_CR2.
2018 (XER_REGNO): Rename to R_XER.
2019 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2020 (VRSAVE_REGNO): Rename to R_VRSAVE.
2021 (VSCR_REGNO): R_VSCR.
2022
76aaa9cd
YS
20232019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2024
2025 * config.host (rx-*-linux*): Add new case.
2026 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2027
8fc16d72
ST
20282019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2029
2030 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2031 function.
2032 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2033 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2034 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2035 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2036 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2037 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2038 string.
2039 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2040 string.
2041 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2042
e54b1a92
RO
20432019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2044
2045 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2046 Remove Solaris 9 and 10 support.
2047 (sparc_is_sighandler): Likewise.
2048
abbb8307
JDA
20492019-05-26 John David Anglin <danglin@gcc.gnu.org>
2050
2051 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2052
2581344d
L
20532019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2054
2055 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2056 4_FP_W_TYPEs are used for IEEE quad precision.
2057 * soft-fp/extendhftf2.c: Likewise.
2058 * soft-fp/extendsftf2.c: Likewise.
2059 * soft-fp/extendxftf2.c: Likewise.
2060 * soft-fp/trunctfdf2.c: Likewise.
2061 * soft-fp/trunctfhf2.c: Likewise.
2062 * soft-fp/trunctfsf2.c: Likewise.
2063 * soft-fp/trunctfxf2.c: Likewise.
2064 * config/rs6000/ibm-ldouble.c: Likewise.
2065
ccd1242e
RO
20662019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2067
2068 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2069 *-*-solaris2*.
2070 * configure.ac: Likewise.
2071 * configure: Regenerate.
2072
2073 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2074 Solaris 10 and Solaris 11 < snv_125 handling.
2075
ef5eb79d
IS
20762019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2077
2078 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2079
4f0e90fa
HL
20802019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2081
2082 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2083 * config/i386/cpuinfo.h (enum processor_features): Add
2084 FEATURE_AVX512BF16.
2085
48528842
RR
20862019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2087 Bernd Edlinger <bernd.edlinger@hotmail.de>
2088 Jakub Jelinek <jakub@redhat.com>
2089
2090 PR target/89093
2091 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2092 * config/arm/unwind-arm.c: Likewise.
2093 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2094 attribute for ARM.
2095
887e182f
MC
20962019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2097
2098 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2099 (RT_SIGRETURN): Update.
2100 (nds32_fallback_frame_state): Update.
2101
a90b0cdd
MS
21022019-02-21 Martin Sebor <msebor@redhat.com>
2103
2104 * libgcc2.h (__clear_cache): Correct signature.
2105 * libgcc2.c (__clear_cache): Same.
2106
1ed28eda
UB
21072019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2108
2109 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2110 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2111
fe95aee9
UB
21122019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2113
2114 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2115 regno instead of index to DWARF_ZERO_REG.
2116
bf7988f1
EB
21172019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2118
2119 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2120 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2121
ba2c1ca8
UB
21222019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2123
2124 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2125 to HOST_LIBGCC2_CFLAGS.
2126
6395ba73
L
21272019-01-23 Joseph Myers <joseph@codesourcery.com>
2128
2129 PR libgcc/88931
ba2c1ca8 2130 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 2131
756721ba
ML
21322019-01-18 Martin Liska <mliska@suse.cz>
2133
2134 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2135 to ...
2136 (__gcov_indirect_call_profiler_v3): ... this.
2137 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2138 (__gcov_indirect_call_profiler_v3): Likewise.
2139 * Makefile.in: Bump function name.
2140
d273c40a
ML
21412019-01-18 Martin Liska <mliska@suse.cz>
2142
2143 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2144 (gcov_version): Use in gcov_error.
2145 (merge_one_data): Likewise.
2146 (dump_one_gcov): Likewise.
2147
be9d9fdb
ML
21482019-01-18 Martin Liska <mliska@suse.cz>
2149
2150 * libgcov-driver.c (gcov_version_string): New function.
2151 (gcov_version): Convert version integer into string.
2152
91d7b7fe
AS
21532019-01-17 Andrew Stubbs <ams@codesourcery.com>
2154 Kwok Cheung Yeung <kcy@codesourcery.com>
2155 Julian Brown <julian@codesourcery.com>
2156 Tom de Vries <tom@codesourcery.com>
2157
2158 * config.host: Recognize amdgcn*-*-amdhsa.
2159 * config/gcn/crt0.c: New file.
2160 * config/gcn/lib2-divmod-hi.c: New file.
2161 * config/gcn/lib2-divmod.c: New file.
2162 * config/gcn/lib2-gcn.h: New file.
2163 * config/gcn/sfp-machine.h: New file.
2164 * config/gcn/t-amdgcn: New file.
2165
67914693
SL
21662019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2167
2168 PR other/16615
2169
2170 * config/c6x/libunwind.S: Mechanically replace "can not" with
2171 "cannot".
2172 * config/tilepro/atomic.h: Likewise.
2173 * config/vxlib-tls.c: Likewise.
2174 * generic-morestack-thread.c: Likewise.
2175 * generic-morestack.c: Likewise.
2176 * mkmap-symver.awk: Likewise.
2177
a5544970
JJ
21782019-01-01 Jakub Jelinek <jakub@redhat.com>
2179
2180 Update copyright years.
2181
da77eace
L
21822018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2183
2184 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2185 to ignore -Waddress-of-packed-member.
2186
72e3a529
TP
21872018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2188
2189 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2190 parameter and corresponding code.
2191 (ARM_FUNC_START): Likewise in both definitions.
2192 Also update footer comment about condition that need to match with
2193 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2194 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2195 defined. Weakly define it in this case.
2196 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2197 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2198 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2199 comment to keep condition in sync with the one in
2200 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2201
5d54c798
WX
22022018-12-18 Wei Xiao <wei3.xiao@intel.com>
2203
2204 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2205 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2206
5a2580b6
RV
22072018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2208
2209 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2210 and .cfi_endproc directives for VxWorks targets.
2211
c0c5112b
PK
22122018-12-05 Paul Koning <ni1d@arrl.net>
2213
2214 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2215
1ea7ea18
AM
22162018-11-27 Alan Modra <amodra@gmail.com>
2217
2218 * config/rs6000/morestack.S (__stack_split_initialize),
2219 (__morestack_get_guard, __morestack_set_guard),
2220 (__morestack_make_guard): Provide CFI covering these functions.
2221 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2222
ff641ae1
XQ
22232018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2224
1ea7ea18 2225 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
2226 (sc_pt_regs_lr): Update for kernel.
2227 (sc_pt_regs_tls): Update for kernel.
2228
28209372
XQ
22292018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2230
2231 * config/csky/linux-unwind.h: Fix coding style.
2232
b2a71af6
XQ
22332018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2234
2235 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 2236 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
2237 instructions to adapt to changes in the kernel
2238
d929e137
SH
22392018-11-09 Stafford Horne <shorne@gmail.com>
2240 Richard Henderson <rth@twiddle.net>
2241
2242 * config.host: Add OpenRISC support.
2243 * config/or1k/*: New.
2244
222cfefa
KC
22452018-11-08 Kito Cheng <kito@andestech.com>
2246
2247 * soft-fp/adddf3.c: Update from glibc.
2248 * soft-fp/addsf3.c: Likewise.
2249 * soft-fp/addtf3.c: Likewise.
2250 * soft-fp/divdf3.c: Likewise.
2251 * soft-fp/divsf3.c: Likewise.
2252 * soft-fp/divtf3.c: Likewise.
2253 * soft-fp/double.h: Likewise.
2254 * soft-fp/eqdf2.c: Likewise.
2255 * soft-fp/eqsf2.c: Likewise.
2256 * soft-fp/eqtf2.c: Likewise.
2257 * soft-fp/extenddftf2.c: Likewise.
2258 * soft-fp/extended.h: Likewise.
2259 * soft-fp/extendhftf2.c: Likewise.
2260 * soft-fp/extendsfdf2.c: Likewise.
2261 * soft-fp/extendsftf2.c: Likewise.
2262 * soft-fp/extendxftf2.c: Likewise.
2263 * soft-fp/fixdfdi.c: Likewise.
2264 * soft-fp/fixdfsi.c: Likewise.
2265 * soft-fp/fixdfti.c: Likewise.
2266 * soft-fp/fixhfti.c: Likewise.
2267 * soft-fp/fixsfdi.c: Likewise.
2268 * soft-fp/fixsfsi.c: Likewise.
2269 * soft-fp/fixsfti.c: Likewise.
2270 * soft-fp/fixtfdi.c: Likewise.
2271 * soft-fp/fixtfsi.c: Likewise.
2272 * soft-fp/fixtfti.c: Likewise.
2273 * soft-fp/fixunsdfdi.c: Likewise.
2274 * soft-fp/fixunsdfsi.c: Likewise.
2275 * soft-fp/fixunsdfti.c: Likewise.
2276 * soft-fp/fixunshfti.c: Likewise.
2277 * soft-fp/fixunssfdi.c: Likewise.
2278 * soft-fp/fixunssfsi.c: Likewise.
2279 * soft-fp/fixunssfti.c: Likewise.
2280 * soft-fp/fixunstfdi.c: Likewise.
2281 * soft-fp/fixunstfsi.c: Likewise.
2282 * soft-fp/fixunstfti.c: Likewise.
2283 * soft-fp/floatdidf.c: Likewise.
2284 * soft-fp/floatdisf.c: Likewise.
2285 * soft-fp/floatditf.c: Likewise.
2286 * soft-fp/floatsidf.c: Likewise.
2287 * soft-fp/floatsisf.c: Likewise.
2288 * soft-fp/floatsitf.c: Likewise.
2289 * soft-fp/floattidf.c: Likewise.
2290 * soft-fp/floattihf.c: Likewise.
2291 * soft-fp/floattisf.c: Likewise.
2292 * soft-fp/floattitf.c: Likewise.
2293 * soft-fp/floatundidf.c: Likewise.
2294 * soft-fp/floatundisf.c: Likewise.
2295 * soft-fp/floatunditf.c: Likewise.
2296 * soft-fp/floatunsidf.c: Likewise.
2297 * soft-fp/floatunsisf.c: Likewise.
2298 * soft-fp/floatunsitf.c: Likewise.
2299 * soft-fp/floatuntidf.c: Likewise.
2300 * soft-fp/floatuntihf.c: Likewise.
2301 * soft-fp/floatuntisf.c: Likewise.
2302 * soft-fp/floatuntitf.c: Likewise.
2303 * soft-fp/gedf2.c: Likewise.
2304 * soft-fp/gesf2.c: Likewise.
2305 * soft-fp/getf2.c: Likewise.
2306 * soft-fp/half.h: Likewise.
2307 * soft-fp/ledf2.c: Likewise.
2308 * soft-fp/lesf2.c: Likewise.
2309 * soft-fp/letf2.c: Likewise.
2310 * soft-fp/muldf3.c: Likewise.
2311 * soft-fp/mulsf3.c: Likewise.
2312 * soft-fp/multf3.c: Likewise.
2313 * soft-fp/negdf2.c: Likewise.
2314 * soft-fp/negsf2.c: Likewise.
2315 * soft-fp/negtf2.c: Likewise.
2316 * soft-fp/op-1.h: Likewise.
2317 * soft-fp/op-2.h: Likewise.
2318 * soft-fp/op-4.h: Likewise.
2319 * soft-fp/op-8.h: Likewise.
2320 * soft-fp/op-common.h: Likewise.
2321 * soft-fp/quad.h: Likewise.
2322 * soft-fp/single.h: Likewise.
2323 * soft-fp/soft-fp.h: Likewise.
2324 * soft-fp/subdf3.c: Likewise.
2325 * soft-fp/subsf3.c: Likewise.
2326 * soft-fp/subtf3.c: Likewise.
2327 * soft-fp/truncdfsf2.c: Likewise.
2328 * soft-fp/trunctfdf2.c: Likewise.
2329 * soft-fp/trunctfhf2.c: Likewise.
2330 * soft-fp/trunctfsf2.c: Likewise.
2331 * soft-fp/trunctfxf2.c: Likewise.
2332 * soft-fp/unorddf2.c: Likewise.
2333 * soft-fp/unordsf2.c: Likewise.
2334 * soft-fp/unordtf2.c: Likewise.
2335
2901f42f
VK
23362018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2337
2338 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2339 * config/i386/cpuinfo.h (processor_types): Add znver2.
2340
4310ca66
PK
23412018-11-01 Paul Koning <ni1d@arrl.net>
2342
2343 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2344 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2345
22e05272
JM
23462018-10-31 Joseph Myers <joseph@codesourcery.com>
2347
2348 PR bootstrap/82856
2349 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2350 * configure: Regenerate.
2351
8180cde0
CZ
23522018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2353
2354 * config/arc/lib1funcs.S (_muldi3): New function.
2355 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2356
be7b071e
RV
23572018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2358
2359 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2360
3239d726
ML
23612018-10-25 Martin Liska <mliska@suse.cz>
2362
2363 PR other/87735
2364 * libgcov-profiler.c: Revert.
2365
19b55958
ML
23662018-10-24 Martin Liska <mliska@suse.cz>
2367
2368 * libgcov-profiler.c: Start from 1 in order to distinguish
2369 functions which were seen and these that were not.
2370
a9a2fddb
PK
23712018-10-18 Paul Koning <ni1d@arrl.net>
2372
2373 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2374 standard.
2375 * divmod.c: Update references to __udivmodsi4.
2376 * udivmod.c: Ditto.
2377 * udivhi3.c: New file.
2378 * udivmodhi4.c: New file.
2379 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2380
fc8abc46
RV
23812018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2382
2383 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2384
87f918e3
OH
23852018-10-12 Olivier Hainque <hainque@adacore.com>
2386
2387 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2388 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2389
be86efa7
PK
23902018-10-08 Paul Koning <ni1d@arrl.net>
2391
2392 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2393
3edbcdbe
ML
23942018-10-04 Martin Liska <mliska@suse.cz>
2395
2396 PR gcov-profile/84107
2397 * libgcov-profiler.c (__gcov_indirect_call):
2398 Change type to indirect_call_tuple.
2399 (struct indirect_call_tuple): New struct.
2400 (__gcov_indirect_call_topn_profiler): Change type.
2401 (__gcov_indirect_call_profiler_v2): Use the new
2402 variables.
2403 * libgcov.h (struct indirect_call_tuple): New struct
2404 definition.
2405
af8096fc
UB
24062018-10-03 Uros Bizjak <ubizjak@gmail.com>
2407
2408 * libgcc2.c (isnan): Use __builtin_isnan.
2409 (isfinite): Use __builtin_isfinite.
2410 (isinf): Use __builtin_isinf.
2411
0a76bba4
UB
24122018-09-26 Uros Bizjak <ubizjak@gmail.com>
2413
2414 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2415
5244089f
OH
24162018-09-21 Alexandre Oliva <oliva@adacore.com>
2417
2418 * config/vxcache.c: New file. Provide __clear_cache, based on
2419 the cacheTextUpdate VxWorks service.
2420 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2421 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2422 * config/t-vxwoks7: Likewise.
2423
512cc015
ML
24242018-09-21 Martin Liska <mliska@suse.cz>
2425
2426 * libgcov-driver.c (crc32_unsigned): Remove.
2427 (gcov_histogram_insert): Likewise.
2428 (gcov_compute_histogram): Likewise.
2429 (compute_summary): Simplify rapidly.
2430 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2431 (merge_summary): Rapidly simplify.
2432 (dump_one_gcov): Ignore gcov_summary.
2433 (gcov_do_dump): Do not handle program summary, it's not
2434 used.
2435 * libgcov-util.c (tag_summary): Remove.
2436 (read_gcda_finalize): Fix coding style.
2437 (read_gcda_file): Initialize curr_object_summary.
2438 (compute_summary): Remove.
2439 (calculate_overlap): Remove settings of run_max.
2440
36ff254b
MC
24412018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2442
2443 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2444 ucontext_t type instead.
2445 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2446
229a033d
KC
24472018-09-21 Kito Cheng <kito.cheng@gmail.com>
2448
2449 * config/nds32/t-nds32-glibc: New file.
2450
53c6feb2
RO
24512018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2452
2453 * configure.ac (solaris_ld_v2_maps): New test.
2454 * configure: Regenerate.
2455 * Makefile.in (solaris_ld_v2_maps): New variable.
2456 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2457 if supported.
2458
ebdb6f23
RE
24592018-08-23 Richard Earnshaw <rearnsha@arm.com>
2460
2461 PR target/86951
2462 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2463 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2464 to build.
2465
a49c064e
IS
24662018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2467
1ea7ea18 2468 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
2469 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2470 * config/darwin10-unwind-find-enc-func.c: … to here.
2471 * config/t-darwin: Build Darwin10 unwinder shim crt.
2472 * libgcc/config.host: Add the Darwin10 unwinder shim.
2473
9a5b8df7
RV
24742018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2475
2476 * config.host: Add crtbegin.o and crtend.o for
2477 powerpc-wrs-vxworks target.
2478
4cd0bc3b
J
24792018-08-17 Jojo <jijie_rong@c-sky.com>
2480 Huibin Wang <huibin_wang@c-sky.com>
2481 Sandra Loosemore <sandra@codesourcery.com>
2482 Chung-Lin Tang <cltang@codesourcery.com>
2483
2484 C-SKY port: libgcc
2485
2486 * config.host: Add C-SKY support.
2487 * config/csky/*: New.
2488
a4931745
CJW
24892018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2490
2491 * config/nds32/t-nds32-isr: Rearrange object dependency.
2492 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2493 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2494 and registers usage.
2495 * config/nds32/isr-library/excp_isr.S: Ditto.
2496 * config/nds32/isr-library/intr_isr.S: Ditto.
2497 * config/nds32/isr-library/reset.S: Ditto.
2498 * config/nds32/isr-library/restore_all.inc: Ditto.
2499 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2500 * config/nds32/isr-library/restore_partial.inc: Ditto.
2501 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2502 * config/nds32/isr-library/save_all.inc: Ditto.
2503 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2504 * config/nds32/isr-library/save_partial.inc: Ditto.
2505 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2506 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2507
2b1969f6
JDA
25082018-08-11 John David Anglin <danglin@gcc.gnu.org>
2509
2510 * config/pa/linux-atomic.c: Update comment.
2511 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2512 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2513 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2514 __ATOMIC_RELAXED for atomic loads.
2515 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2516 unordered store to release lock.
2517 (__sync_lock_release_8): Likewise.
2518 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 2519
89fff9cc
NP
25202018-08-02 Nicolas Pitre <nico@fluxnic.net>
2521
2522 PR libgcc/86512
2523 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2524 exponent goes negative. Update my email address.
2525 * config/arm/ieee754-sf.S: Likewise.
2526
fd2e1dcd
ML
25272018-08-01 Martin Liska <mliska@suse.cz>
2528
2529 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 2530 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 2531
b7415975
CL
25322018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2533
2534 * config/arm/ieee754-df.S: Fix comment for code working on
2535 architectures >= 4.
2536 * config/arm/ieee754-sf.S: Likewise.
2537
b72e71a3
L
25382018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2539
2540 PR libgcc/85334
2541 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2542 Removed.
2543
1c686aa4
JC
25442018-07-05 James Clarke <jrtc27@jrtc27.com>
2545
2546 * configure: Regenerated.
2547
b61c9b99
RO
25482018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2549
2550 * Makefile.in (install_leaf): Use enable_gcov instead of
2551 enable_libgcov.
2552
1765b023
RV
25532018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2554
2555 * configure.ac: Add --disable-gcov option.
2556 * configure: Regenerate.
2557 * Makefile.in: Honour @enable_gcov@.
2558
9b2e34ef
CL
25592018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2560
2561 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2562 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2563 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2564 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2565 __ARM_ARCH__.
2566 * config/arm/ieee754-sf.S: Likewise.
2567 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2568
d1b0dd54
CL
25692018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2570
2571 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2572 longer supported.
2573 * config/arm/ieee754-sf.S: Likewise.
2574
1f3fa525
TM
25752018-06-20 Than McIntosh <thanm@google.com>
2576
2577 PR libgcc/86213
2578 * generic-morestack.c (allocate_segment): Move calls to getenv and
2579 getpagesize to __morestack_load_mmap.
2580 (__morestack_load_mmap) Initialize static_pagesize and
2581 use_guard_page here so as to avoid clobbering SSE regs during a
2582 __morestack call.
2583
6a8886e4
MM
25842018-06-18 Michael Meissner <meissner@linux.ibm.com>
2585
2586 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2587 support modules with -mno-gnu-attribute.
2588 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2589
fb997097
OH
25902018-06-07 Olivier Hainque <hainque@adacore.com>
2591
2592 * config/t-vxworks (LIBGCC_INCLUDES): Add
2593 -I$(MULTIBUILDTOP)../../gcc/include.
2594 * config/t-vxworks7: Likewise. Reformat a bit to match
2595 the t-vxworks layout.
2596
a548a5a1
OM
25972018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2598
2599 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2600
244aebfd
ML
26012018-06-07 Martin Liska <mliska@suse.cz>
2602
2603 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 2604 all_prg.
244aebfd 2605
6c086e8c
ML
26062018-06-07 Martin Liska <mliska@suse.cz>
2607
92a285c1 2608 PR bootstrap/86057
6c086e8c 2609 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 2610 memcpy instead of mempcpy.
6c086e8c 2611 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 2612 prefix and set it.
6c086e8c 2613 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 2614 here and properly copy content into it.
6c086e8c 2615 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 2616 field, change prefix from size_t into char *.
6c086e8c
ML
2617 (compute_summary): Do not calculate longest filename.
2618 (gcov_do_dump): Release memory of gf.filename after each file.
2619 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 2620 compute_summary.
6c086e8c
ML
2621 (calculate_overlap): Likewise.
2622
97a53d1d
ML
26232018-06-05 Martin Liska <mliska@suse.cz>
2624
2625 PR gcov-profile/47618
2626 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 2627 function.
97a53d1d
ML
2628 (gcov_exit_open_gcda_file): Use it.
2629
7f3577f5
ML
26302018-06-05 Martin Liska <mliska@suse.cz>
2631
2632 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2633 of gcov_ctr_summary.
2634 (compute_summary): Do it just for a single summary.
2635 (merge_one_data): Likewise.
2636 (merge_summary): Simplify as we read just single summary.
2637 (dump_one_gcov): Pass proper argument.
2638 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2639 single summary.
2640 (gcov_info_count_all_cold): Likewise.
2641 (calculate_overlap): Likewise.
2642
cf3cd43d
CJW
26432018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2644 Monk Chiang <sh.chiang04@gmail.com>
2645
2646 * config.host (nds32*-linux*): New.
2647 * config/nds32/linux-atomic.c: New file.
2648 * config/nds32/linux-unwind.h: New file.
2649
8b8003ed
UB
26502018-05-31 Uros Bizjak <ubizjak@gmail.com>
2651
2652 PR target/85591
2653 * config/i386/cpuinfo.c (get_amd_cpu): Return
2654 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2655
bbdf026f
RV
26562018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2657
92a285c1 2658 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 2659
0e8f29da
ML
26602018-05-29 Martin Liska <mliska@suse.cz>
2661
92a285c1 2662 PR gcov-profile/85759
0e8f29da 2663 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 2664 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 2665 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 2666 overwrite a gcov file with a different timestamp.
0e8f29da 2667
54fd1590
K
26682018-05-23 Kalamatee <kalamatee@gmail.com>
2669
2670 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2671 path to Lf$finfty.
2672
09baee1a
KC
26732018-05-18 Kito Cheng <kito.cheng@gmail.com>
2674 Monk Chiang <sh.chiang04@gmail.com>
2675 Jim Wilson <jimw@sifive.com>
2676
2677 * config/riscv/save-restore.S: Add support for rv32e.
2678
c3f808d3
KT
26792018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2680
2681 * config/arm/libunwind.S: Update comment relating to armv5.
2682
fcf4f831
JL
26832018-05-17 Jerome Lambourg <lambourg@adacore.com>
2684
2685 * config/arm/cmse.c (cmse_check_address_range): Replace
2686 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2687
74b2bb19
OM
26882018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2689
2690 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2691 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2692
50e461df
OM
26932018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2694
2695 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2696 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2697
e5f1cdb1
AC
26982018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2699
2700 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2701
8f479d7a
AT
27022018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2703 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2704
2705 PR libgcc/84292
2706 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2707 op_and_fetch to return the right result.
2708
ae043291
AM
27092018-04-27 Alan Modra <amodra@gmail.com>
2710
2711 PR libgcc/85532
2712 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2713 -fno-asynchronous-unwind-tables.
2714
ba169b74
CJW
27152018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2716
2717 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2718 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2719
ffc2fc06
L
27202018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2721
2722 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2723 when including "config/i386/shadow-stack-unwind.h".
2724
7b47ecf2
L
27252018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2726
2727 * configure: Regenerated.
2728
661eb8f9
MM
27292018-04-20 Michael Meissner <meissner@linux.ibm.com>
2730
2731 PR target/85456
2732 * config/rs6000/_powikf2.c: New file. Add support for the
2733 __builtin_powil function when long double is IEEE 128-bit floating
2734 point.
2735 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2736 __powikf2 support.
2737 (__powikf2): Likewise.
2738 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2739 (__powikf2_hw): Likewise.
2740 (__powikf2): Likewise.
2741 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2742 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2743 (_powikf2-hw.c): Likewise.
2744
5707be3c
L
27452018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2746
2747 PR libgcc/85334
2748 * unwind-generic.h (_Unwind_Frames_Increment): New.
2749 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2750 Likewise.
2751 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2752 count with _Unwind_Frames_Increment.
2753 (_Unwind_ForcedUnwind_Phase2): Likewise.
2754
5f9ca0b8
L
27552018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2756
2757 PR libgcc/85379
2758 * config/i386/morestack.S (__stack_split_initialize): Add
2759 _CET_ENDBR.
2760
a0e1df88
JJ
27612018-04-19 Jakub Jelinek <jakub@redhat.com>
2762
2763 * configure: Regenerated.
2764
001ddaa8
DM
27652018-04-18 David Malcolm <dmalcolm@redhat.com>
2766
2767 PR jit/85384
2768 * configure: Regenerate.
2769
a57f99ba
JJ
27702018-04-16 Jakub Jelinek <jakub@redhat.com>
2771
2772 PR target/84945
2773 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2774 -Wdangling-else warnings. Mask shift counts to avoid
2775 -Wshift-count-negative and -Wshift-count-overflow false positives.
2776
4d47fe5a
RB
27772018-04-06 Ruslan Bukin <br@bsdpad.com>
2778
2779 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2780
059cc8ac
L
27812018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2782
2783 PR target/85100
2784 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2785 (XSTATE_FP): Likewise.
2786 (XSTATE_SSE): Likewise.
2787 (XSTATE_YMM): Likewise.
2788 (XSTATE_OPMASK): Likewise.
2789 (XSTATE_ZMM): Likewise.
2790 (XSTATE_HI_ZMM): Likewise.
2791 (XCR_AVX_ENABLED_MASK): Likewise.
2792 (XCR_AVX512F_ENABLED_MASK): Likewise.
2793 (get_available_features): Enable AVX and AVX512 features only
2794 if their states are supported by OSXSAVE.
2795
f2620385
IT
27962018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2797
2798 PR target/85025
2799 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2800 Fix a typo, tmp => 255.
2801
ae6dca8c
JJ
28022018-03-20 Jakub Jelinek <jakub@redhat.com>
2803
2804 PR target/84945
2805 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2806 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2807 ifndef SHARED only.
2808 (set_feature): Define.
2809 (get_available_features): Use set_feature macro. Set __cpu_features2
2810 to the second word of features ifndef SHARED.
2811
c36b04c1
JK
28122018-03-15 Julia Koval <julia.koval@intel.com>
2813
2814 * config/i386/cpuinfo.c (get_available_features): Add
2815 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2816 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2817 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2818 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2819 FEATURE_AVX512BITALG.
2820
79ab5364
JK
28212018-03-14 Julia Koval <julia.koval@intel.com>
2822
2823 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2824 icelake client and icelake server.
2825
66a00b11
JDA
28262018-03-06 John David Anglin <danglin@gcc.gnu.org>
2827
2828 * config/pa/fptr.c (_dl_read_access_allowed): New.
2829 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 2830
ce579a4f
JJ
28312018-02-28 Jakub Jelinek <jakub@redhat.com>
2832
2833 PR debug/83917
2834 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2835 $asm_hidden_op if visibility ("hidden") attribute works.
2836 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2837 * config/i386/i386-asm.h: Don't include auto-host.h.
2838 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2839 PACKAGE_URL): Don't undefine.
2840 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2841 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2842 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2843 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2844 definition instead of hardcoded .hidden.
2845 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2846 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2847 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2848 (USE_GAS_CFI_DIRECTIVES): Don't define.
2849 * configure: Regenerated.
2850 * config.in: Likewise.
2851
e5868319
JJ
28522018-02-26 Jakub Jelinek <jakub@redhat.com>
2853
2854 PR debug/83917
2855 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2856 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2857 inclusion of auto-target.h and auto-host.h.
2858 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2859 __GCC_HAVE_DWARF2_CFI_ASM.
2860 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2861 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2862 cfi_pop): Define.
2863 * config/i386/cygwin.S: Don't include auto-host.h here, just
2864 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2865 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2866 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2867 * config/i386/resms64fx.h: Add cfi_* directives.
2868 * config/i386/resms64x.h: Likewise.
2869
faef260e
MF
28702018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2871
2872 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2873 .literal_position directive.
2874 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2875
14e335ed
IT
28762018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2877
2878 PR target/84148
2879 * configure: Regenerate.
2880
95df0433
IT
28812018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2882
2883 PR target/84239
2884 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2885 Include cetintrin.h not x86intrin.h.
2886
f8de876d
IT
28872018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2888
2889 PR target/84239
95df0433 2890 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
2891 Use new _get_ssp and _inc_ssp intrinsics.
2892
02da1e9c
JK
28932018-02-02 Julia Koval <julia.koval@intel.com>
2894
2895 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2896
048c6a9a
CZ
28972018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2898
2899 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2900 option.
2901 (__divsi3): Use RF16 safe registers.
2902 (__modsi3): Likewise.
2903
0889f168
MF
29042018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2905
2906 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2907 (__divsf3): Make NaN return value quiet.
2908 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2909 (__divdf3): Make NaN return value quiet.
2910
bc8b0d04
SP
29112018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2912
2913 * config/rl78/anddi3.S: New assembly file.
2914 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2915
99cc06ea
SP
29162018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2917
2918 * config/rl78/umindi3.S: New assembly file.
2919 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2920
6e9007a0
SP
29212018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2922
2923 * config/rl78/smindi3.S: New assembly file.
2924 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2925
d975e494 29262018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2927
d975e494
SP
2928 * config/rl78/smaxdi3.S: New assembly file.
2929 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2930
6a18c146 29312018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2932
5dd16013
SP
2933 * config/rl78/umaxdi3.S: New assembly file.
2934 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 2935
07baf4a5
JDA
29362018-01-21 John David Anglin <danglin@gcc.gnu.org>
2937
2938 PR lto/83452
2939 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2940 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 2941
dbc3af4f
RS
29422018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2943
2944 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2945 (DWARF_LAZY_REGISTER_VALUE): Define.
2946 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2947 to provide a fallback register value.
2948
68df9882
MM
29492018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2950
2951 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2952 __ibm128, instead of trying to use long double.
2953 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2954 accomidate -mabi=ieeelongdouble multilibs.
2955 (CVT_IBM128_TO_FLOAT128): Likewise.
2956 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2957 the appropriate IBM extended double type.
2958 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2959 (__gcc_qsub): Likewise.
2960 (__gcc_qmul): Likewise.
2961 (__gcc_qdiv): Likewise.
2962 (pack_ldouble): Likewise.
2963 (__gcc_qneg): Likewise.
2964 (__gcc_qeq): Likewise.
2965 (__gcc_qne): Likewise.
2966 (__gcc_qge): Likewise.
2967 (__gcc_qle): Likewise.
2968 (__gcc_stoq): Likewise.
2969 (__gcc_dtoq): Likewise.
2970 (__gcc_itoq): Likewise.
2971 (__gcc_utoq): Likewise.
2972 (__gcc_qunord): Likewise.
2973 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2974 quad-float128.h for the definitions.
2975 (COPYSIGN): Use the f128 version instead of the q version.
2976 (INFINITY): Likewise.
2977 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2978 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2979 quad-float128.h for the definitions.
2980 (COPYSIGN): Use the f128 version instead of the q version.
2981 (INFINITY): Likewise.
2982 (FABS): Likewise.
2983 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2984 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2985 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2986
64b371b1
SH
29872018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2988
2989 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2990 configuration.
2991
85ec4feb
JJ
29922018-01-03 Jakub Jelinek <jakub@redhat.com>
2993
2994 Update copyright years.
2995
29962017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
2997
2998 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2999 * config/riscv/multi3.c: New file.
3000 * config/riscv/multi3.S: Remove.
3001
3a4c600f
JW
30022017-12-08 Jim Wilson <jimw@sifive.com>
3003
3004 * config/riscv/div.S: Use FUNC_* macros.
3005 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3006 * config/riscv/save-restore.S: Likewise.
3007 * config/riscv/riscv-asm.h: New.
3008
75ad35b5
MM
30092017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3010
6ae3512c
MM
3011 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3012 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3013
75ad35b5
MM
3014 PR libgcc/83112
3015 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3016 correct type for all ifunc resolvers to silence -Wattribute-alias
3017 warnings. Eliminate the forward declaration of the resolver
3018 functions which is no longer needed.
3019 (__subkf3_resolve): Likewise.
3020 (__mulkf3_resolve): Likewise.
3021 (__divkf3_resolve): Likewise.
3022 (__negkf2_resolve): Likewise.
3023 (__eqkf2_resolve): Likewise.
3024 (__nekf2_resolve): Likewise.
3025 (__gekf2_resolve): Likewise.
3026 (__gtkf2_resolve): Likewise.
3027 (__lekf2_resolve): Likewise.
3028 (__ltkf2_resolve): Likewise.
3029 (__unordkf2_resolve): Likewise.
3030 (__extendsfkf2_resolve): Likewise.
3031 (__extenddfkf2_resolve): Likewise.
3032 (__trunckfsf2_resolve): Likewise.
3033 (__trunckfdf2_resolve): Likewise.
3034 (__fixkfsi_resolve): Likewise.
3035 (__fixkfdi_resolve): Likewise.
3036 (__fixunskfsi_resolve): Likewise.
3037 (__fixunskfdi_resolve): Likewise.
3038 (__floatsikf_resolve): Likewise.
3039 (__floatdikf_resolve): Likewise.
3040 (__floatunsikf_resolve): Likewise.
3041 (__floatundikf_resolve): Likewise.
3042 (__extendkftf2_resolve): Likewise.
3043 (__trunctfkf2_resolve): Likewise.
3044
3045 PR libgcc/83103
3046 * config/rs6000/quad-float128.h (TF): Don't define if long double
3047 is IEEE 128-bit floating point.
3048 (TCtype): Define as either TCmode or KCmode, depending on whether
3049 long double is IEEE 128-bit floating point.
3050 (__mulkc3_sw): Add declarations for software/hardware versions of
3051 complex multiply/divide.
3052 (__divkc3_sw): Likewise.
3053 (__mulkc3_hw): Likewise.
3054 (__divkc3_hw): Likewise.
3055 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3056 handlers to switch between using software emulation and hardware
3057 float128 instructions, build the complex multiply/divide functions
3058 for both software and hardware support.
3059 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3060 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3061 (__divkc3_resolve): Likewise.
3062 (__mulkc3): Likewise.
3063 (__divkc3): Likewise.
3064 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3065 (fp128_hw_src): Likewise.
3066 (fp128_hw_static_obj): Likewise.
3067 (fp128_hw_shared_obj): Likewise.
3068 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3069 _mulkc3.c and _divkc3.c, changing the function name.
3070 (_divkc3-hw.c): Likewise.
3071 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3072 and _divkc3-hw.c.
3073
c234d831
UB
30742017-11-26 Julia Koval <julia.koval@intel.com>
3075
3076 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3077 * config/i386/cpuinfo.h (processor_subtypes): Add
3078 INTEL_COREI7_CANNONLAKE.
3079
1ebafce0
IT
30802017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3081
3082 PR bootstrap/83015
3083 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3084 parameter.
3085 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3086 * config/ia64/unwind-ia64.c: Add frames parameter.
3087 * unwind-sjlj.c: Likewise.
3088
6a10fff4
IT
30892017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3090
3091 * config/i386/linux-unwind.h: Include
3092 config/i386/shadow-stack-unwind.h.
3093 * config/i386/shadow-stack-unwind.h: New file.
3094 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3095 pass it to _Unwind_Frames_Extra.
3096 * unwind-generic.h (_Unwind_Frames_Extra): New.
3097 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3098 parameter. Add local variable frames to count number of frames.
3099 (_Unwind_ForcedUnwind_Phase2): Likewise.
3100 (_Unwind_RaiseException): Add local variable frames to count
3101 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3102 uw_install_context.
3103 (_Unwind_ForcedUnwind): Likewise.
3104 (_Unwind_Resume): Likewise.
3105 (_Unwind_Resume_or_Rethrow): Likewise.
3106
1ecae1fc
IT
31072017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3108
3109 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3110 (CET_FLAGS): New.
3111 * config/i386/morestack.S: Include <cet.h>.
3112 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3113 * config/i386/resms64.h: Include <cet.h>.
3114 * config/i386/resms64f.h: Likewise.
3115 * config/i386/resms64fx.h: Likewise.
3116 * config/i386/resms64x.h: Likewise.
3117 * config/i386/savms64.h: Likewise.
3118 * config/i386/savms64f.h: Likewise.
3119 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3120 (CRTSTUFF_T_CFLAGS): Likewise.
3121 * configure.ac: Include ../config/cet.m4.
3122 Set and substitute CET_FLAGS.
3123 * configure: Regenerated.
3124
f021f1d3
RO
31252017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3126
3127 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3128 renaming.
3129 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3130 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3131 * configure: Regenerate.
3132
65f480c7
TV
31332017-11-07 Tom de Vries <tom@codesourcery.com>
3134
3135 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3136 after "do {} while (0)".
3137
2a321acb
TV
31382017-11-07 Tom de Vries <tom@codesourcery.com>
3139
3140 PR other/82784
3141 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3142 semicolon after "do {} while (0)".
3143 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3144 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3145 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3146 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3147
59fcf6c3
AT
31482017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3149
3150 PR libgcc/82635
3151 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3152 sysctl to determine whether we're in a trampoline.
3153 Keep the pattern matching method for systems without
3154 KERN_PROC_SIGTRAMP sysctl.
3155
b0c7ddf8
CM
31562017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3157 Vineet Gupta <vgupta@synopsys.com>
3158
3159 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3160 * config/arc/linux-unwind-reg.def: New file.
3161 * config/arc/linux-unwind-reg.h: Likewise.
3162
5feee954
SP
31632017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3164
3165 * config/rl78/subdi3.S: New assembly file.
3166 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3167
a0bf6cf7
SP
31682017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3169
3170 * config/rl78/adddi3.S: New assembly file.
3171 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3172
e7176f75
JJ
31732017-10-13 Jakub Jelinek <jakub@redhat.com>
3174
3175 PR target/82274
3176 * libgcc2.c (__mulvDI3): If both operands have
3177 the same highpart of -1 and the topmost bit of lowpart is 0,
3178 multiplication overflows even if both lowparts are 0.
3179
db6601d2
JB
31802017-09-28 James Bowman <james.bowman@ftdichip.com>
3181
3182 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3183
938b6f1e
JM
31842017-09-26 Joseph Myers <joseph@codesourcery.com>
3185
3186 * config/microblaze/crti.S, config/microblaze/crtn.S,
3187 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3188 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3189 config/microblaze/mulsi3.S,
3190 config/microblaze/stack_overflow_exit.S,
3191 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3192 config/pa/milli64.S: Add .note.GNU-stack section.
3193
89762a83
DS
31942017-09-23 Daniel Santos <daniel.santos@pobox.com>
3195
3196 * configure.ac: Add Check for HAVE_AS_AVX.
3197 * config.in: Regenerate.
3198 * configure: Likewise.
3199 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3200 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3201 Correct out-of-date comments.
3202
cace2309
SP
32032017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3204
3205 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3206 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3207
3cb626e4
DS
32082017-09-17 Daniel Santos <daniel.santos@pobox.com>
3209
cace2309 3210 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
3211 (ASMNAME): Modify to use PASTE2.
3212 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3213 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 3214 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 3215 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
3216 * config/i386/resms64f.S: Likewise.
3217 * config/i386/resms64fx.S: Likewise.
3218 * config/i386/resms64x.S: Likewise.
3219 * config/i386/savms64.S: Likewise.
3220 * config/i386/savms64f.S: Likewise.
3221 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 3222 includes it's corresponding header file.
cace2309
SP
3223 * config/i386/avx_resms64f.S: Likewise.
3224 * config/i386/avx_resms64fx.S: Likewise.
3225 * config/i386/avx_resms64x.S: Likewise.
3226 * config/i386/avx_savms64.S: Likewise.
3227 * config/i386/avx_savms64f.S: Likewise.
3228 * config/i386/sse_resms64.S: Likewise.
3229 * config/i386/sse_resms64f.S: Likewise.
3230 * config/i386/sse_resms64fx.S: Likewise.
3231 * config/i386/sse_resms64x.S: Likewise.
3232 * config/i386/sse_savms64.S: Likewise.
3233 * config/i386/sse_savms64f.S: Likewise.
3234 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 3235
2f19c491 32362017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
3237 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3238
611e7036
OH
32392017-08-31 Olivier Hainque <hainque@adacore.com>
3240
3241 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3242 match as powerpc-wrs-vxworks*.
3243
c8f34527
JY
32442017-08-07 Jonathan Yong <10walls@gmail.com>
3245
3246 * config.host (*-cygwin): Include file from mingw
3247 config/i386/enable-execute-stack-mingw32.c
3248
0b458d2b 32492017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
3250 Doug Rupp <rupp@adacore.com>
3251 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
3252
3253 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3254 as well as arm-wrs-vxworks.
3255 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3256 LIB2ADDEH.
3257 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3258 __exidx_start and __exidx_end for downloadable modules.
3259
4df612fa
OH
32602017-08-01 Olivier Hainque <hainque@adacore.com>
3261
3262 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3263 * config/t-vxworks7: Likewise.
3264
5560e8c0
OH
32652017-08-01 Olivier Hainque <hainque@adacore.com>
3266
3267 * config/t-vxworks: Instead of redefining LIB2ADD,
3268 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3269
16bab95a
SH
32702017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3271
3272 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3273
9cbc07cc
DS
32742017-07-24 Daniel Santos <daniel.santos@pobox.com>
3275
3276 PR testsuite/80759
3277 * config.host: include i386/t-msabi for darwin and solaris.
3278 * config/i386/i386-asm.h
3279 (ELFFN): Rename to FN_TYPE.
3280 (FN_SIZE): New macro.
3281 (FN_HIDDEN): Likewise.
3282 (ASMNAME): Likewise.
3283 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3284 .globl.
3285 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3286 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3287 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3288 .macro.
3289 * config/i386/resms64f.S: Likewise.
3290 * config/i386/resms64fx.S: Likewise.
3291 * config/i386/resms64x.S: Likewise.
3292 * config/i386/savms64.S: Likewise.
3293 * config/i386/savms64f.S: Likewise.
3294
de742204
JM
32952017-07-19 John Marino <gnugcc@marino.st>
3296
3297 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3298
3787ee47
MM
32992017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3300
3301 PR target/81193
3302 * configure.ac (PowerPC float128 hardware support): Test whether
3303 we can use __builtin_cpu_supports before enabling the ifunc
3304 handler.
3305 * configure: Regenerate.
3306
b1938888
VG
33072017-07-10 Vineet Gupta <vgupta@synopsys.com>
3308
3309 * config.host: Remove uclibc from arc target spec.
3310
bec75e53
KW
33112017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3312
3313 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3314
d4391a62
PB
33152017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3316
3317 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3318 (have_ieee_hw_p): Delete function.
3319 (SW_OR_HW) Use __builtin_cpu_supports().
3320
9296dd9b
TP
33212017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3322
3323 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3324
b85a969e
OH
33252017-07-03 Olivier Hainque <hainque@adacore.com>
3326
d4391a62 3327 * config/t-vxworks7: New file, really.
b85a969e 3328
883312dc
JM
33292017-06-28 Joseph Myers <joseph@codesourcery.com>
3330
3331 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3332 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3333 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3334 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3335 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3336 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3337 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3338 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3339 config/sh/linux-unwind.h (sh_fallback_frame_state),
3340 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3341 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3342 ucontext_t instead of struct ucontext.
3343
50567938
JL
33442017-06-27 Jerome Lambourg <lambourg@adacore.com>
3345
3346 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3347 (x86_64-wrs-vxworks7): Likewise.
3348
e4b0df93
OH
33492017-06-27 Olivier Hainque <hainque@adacore.com>
3350
3351 * config/t-vxworks7: New file.
3352 * config.host (*-*-vxworks7): Use it.
3353
60edf8bb
MT
33542017-06-22 Matt Turner <mattst88@gmail.com>
3355
3356 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3357 skylake case.
3358
a51a76e5
RB
33592017-06-21 Richard Biener <rguenther@suse.de>
3360
3361 PR gcov-profile/81080
3362 * configure.ac: Add AC_SYS_LARGEFILE.
3363 * libgcov.h: Include auto-target.h before tsystem.h to pick
3364 up _FILE_OFFSET_BITS which might differ for multilibs.
3365 * config.in: Regenerate.
3366 * configure: Likewise.
3367
f0cd49c5
RE
33682017-06-16 Richard Earnshaw <rearnsha@arm.com>
3369
3370 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3371
4f751c54
ML
33722017-06-09 Martin Liska <mliska@suse.cz>
3373
3374 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3375 Reset __gcov_indirect_call_callee to NULL.
3376
1ac644c8
OH
33772017-06-08 Olivier Hainque <hainque@adacore.com>
3378
3379 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3380 the set of -I options, support for direct inclusions of net/uio.h
3381 by VxWorks header files via ioLib.h.
3382
d8b9cd27
TR
33832017-06-07 Tony Reix <tony.reix@atos.net>
3384 Matthieu Sarter <matthieu.sarter.external@atos.net>
3385 David Edelsohn <dje.gcc@gmail.com>
3386
92a285c1
ML
3387 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3388 unconditionally.
3389 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3390 AIX 7.2 support.
d8b9cd27 3391
38a75ccc
OH
33922017-06-02 Olivier Hainque <hainque@adacore.com>
3393
3394 * config/vxlib.c (__gthread_once): Add missing value to
3395 return statement.
3396
5b2edf53
OH
33972017-05-30 Olivier Hainque <hainque@adacore.com>
3398
3399 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3400 dollar sign before $(MULTIDIR).
3401
7d66e265
RH
34022017-05-26 Richard Henderson <rth@redhat.com>
3403
3404 PR libgcc/80037
3405 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3406
78eca309
AT
34072017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3408
3409 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3410 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3411 * config/arm/unwind-arm.c: Implement the above.
3412
c39d309a
AZ
34132017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3414
3415 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3416 section for a non-executable stack.
3417
eac8c9f2
KW
34182017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3419
3420 PR target/80600
3421 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3422
d6d4d770
DS
34232017-05-14 Daniel Santos <daniel.santos@pobox.com>
3424
3425 * config.host: Add i386/t-msabi to i386/t-linux file list.
3426 * config/i386/i386-asm.h: New file.
3427 * config/i386/resms64.S: New file.
3428 * config/i386/resms64f.S: New file.
3429 * config/i386/resms64fx.S: New file.
3430 * config/i386/resms64x.S: New file.
3431 * config/i386/savms64.S: New file.
3432 * config/i386/savms64f.S: New file.
3433 * config/i386/t-msabi: New file.
3434
8ef2b9a7
AT
34352017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3436
3437 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3438 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3439
7ab8766a
JC
34402017-05-05 Joshua Conner <joshconner@google.com>
3441
3442 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3443 pc-relative indirect handling for fuchsia.
3444 * config/t-slibgcc-fuchsia: New file.
3445 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 3446 x86_64-*-fuchsia*): Add definitions.
7ab8766a 3447
46928a8f
ML
34482017-04-19 Martin Liska <mliska@suse.cz>
3449
3450 PR gcov-profile/80435
3451 * Makefile.in: Install gcov.h.
3452 * gcov.h: New file.
3453 * libgcov.h: Use the header and make __gcov_flush publicly
3454 visible.
3455
63971184
ML
34562017-04-18 Martin Liska <mliska@suse.cz>
3457
3458 PR gcov-profile/78783
3459 * libgcov-driver.c (gcov_get_filename): New function.
3460
29d8aae6
JL
34612017-04-07 Jeff Law <law@redhat.com>
3462
3463 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3464 target makefile fragment.
3465 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3466
2bdf7fc6
AM
34672017-04-07 Alan Modra <amodra@gmail.com>
3468
3469 PR target/45053
3470 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3471
5764ee3c
JW
34722017-04-03 Jonathan Wakely <jwakely@redhat.com>
3473
3474 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3475
c4192ad7
CZ
34762017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3477
3478 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3479
4ccfdb28
JM
34802017-03-10 John Marino <gnugcc@marino.st>
3481
3482 * config/aarch64/freebsd-unwind.h: New file.
3483 * config.host: Add aarch64-*-freebsd unwinder.
3484
4144e4e3
SB
34852017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3486
3487 * config/rs6000/crtrestvr.s: Use .machine altivec.
3488 * config/rs6000/crtsavevr.s: Ditto.
3489
7502c597
SB
34902017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3491
3492 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3493 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3494 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3495 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3496 * configure: Regenerate.
3497 * config.in: Regenerate.
3498
db9f7f65
JY
34992017-03-02 Jonathan Yong <10walls@gmail.com>
3500
3501 * config/i386/gthr-win32.h: Define NOGDI before
3502 windows.h include to prevent w32api CC_NONE macro
3503 clash with libgfortran.
3504
126437c5
JY
35052017-03-02 Jonathan Yong <10walls@gmail.com>
3506
3507 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3508
31927af6
AP
35092017-02-16 Andrew Pinski <apinski@cavium.com>
3510
3511 * config/aarch64/value-unwind.h: New file.
3512 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3513 to tm_file.
3514
0bd99911
PD
35152017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3516
3517 * config.host: Add RISC-V tuples.
3518 * config/riscv/atomic.c: New file.
3519 * config/riscv/crti.S: Likewise.
3520 * config/riscv/crtn.S: Likewise.
3521 * config/riscv/div.S: Likewise.
3522 * config/riscv/linux-unwind.h: Likewise.
3523 * config/riscv/muldi3.S: Likewise.
3524 * config/riscv/multi3.S: Likewise.
3525 * config/riscv/save-restore.S: Likewise.
3526 * config/riscv/sfp-machine.h: Likewise.
3527 * config/riscv/t-elf: Likewise.
3528 * config/riscv/t-elf32: Likewise.
3529 * config/riscv/t-elf64: Likewise.
3530 * config/riscv/t-softfp32: Likewise.
3531 * config/riscv/t-softfp64: Likewise.
3532
a8c9ef2a
JJ
35332017-01-24 Jakub Jelinek <jakub@redhat.com>
3534
3535 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3536 /* FALLTHRU */ comments.
3537
c6c82710
GP
35382017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3539
3540 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3541
a876231c
JW
35422017-01-20 Jiong Wang <jiong.wang@arm.com>
3543
3544 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3545 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3546 DW_CFA_GNU_window_save for AArch64 and LP64.
3547
aa348be2
JW
35482017-01-20 Jiong Wang <jiong.wang@arm.com>
3549
3550 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3551
5636faf2
JW
35522017-01-19 Jiong Wang <jiong.wang@arm.com>
3553
3554 * config/aarch64/aarch64-unwind.h: New file.
3555 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3556 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3557 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3558 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3559 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3560 (aarch64_post_extract_frame_addr): New function.
3561 (aarch64_post_frob_eh_handler_addr): New function.
3562 (aarch64_frob_update_context): New function.
3563 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3564 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3565 aarch64*-*-freebsd*):
3566 Initialize md_unwind_header to include aarch64-unwind.h.
3567 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3568 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3569 __aarch64__.
3570 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3571 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3572 (uw_frob_return_addr): New function.
3573 (uw_install_context): Use uw_frob_return_addr.
3574
3c36aa6b
JJ
35752017-01-17 Jakub Jelinek <jakub@redhat.com>
3576
3577 PR other/79046
3578 * configure.ac: Add GCC_BASE_VER.
3579 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3580 version from BASE-VER file.
3581 * configure: Regenerated.
3582
829afb8f
JS
35832017-01-13 Joe Seymour <joe.s@somniumtech.com>
3584
3585 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3586 libmul_f5.a): Filter archived prerequisites.
3587
79fc8ffe
AS
35882017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3589
3590 * config/i386/cpuinfo.h (processor_features): Add
3591 FEATURE_AVX512VPOPCNTDQ.
3592 * config/i386/cpuinfo.c (get_available_features): Habdle new
3593 feature.
3594
fec5f4e0
JM
35952017-01-04 Joseph Myers <joseph@codesourcery.com>
3596
3597 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3598 payload if [__mips_nan2008].
3599
8f56cb51
AM
36002017-01-04 Alan Modra <amodra@gmail.com>
3601
3602 * Makefile.in (configure_deps): Update.
3603 * configure: Regenerate.
3604
cbe34bb5
JJ
36052017-01-01 Jakub Jelinek <jakub@redhat.com>
3606
3607 Update copyright years.
3608
ab955692
KW
36092016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3610
3611 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3612 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3613 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3614
de34320f
MK
36152016-12-17 Matthias Klose <doko@ubuntu.com>
3616
3617 * config/arc/gmon: Remove empty directory.
3618
e04ea1da
CZ
36192016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3620
3621 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3622 crtgend.
3623 (arc*-*-elf*): Likewise.
3624 * config/arc/t-arc: Remove old gmon lib targets.
3625 * config/arc/crtg.S: Remove.
3626 * config/arc/crtgend.S: Likewise.
3627 * config/arc/gmon/atomic.h: Likewise.
3628 * config/arc/gmon/auxreg.h: Likewise.
3629 * config/arc/gmon/dcache_linesz.S: Likewise.
3630 * config/arc/gmon/gmon.c: Likewise.
3631 * config/arc/gmon/machine-gmon.h: Likewise.
3632 * config/arc/gmon/mcount.c: Likewise.
3633 * config/arc/gmon/prof-freq-stub.S: Likewise.
3634 * config/arc/gmon/prof-freq.c: Likewise.
3635 * config/arc/gmon/profil.S: Likewise.
3636 * config/arc/gmon/sys/gmon.h: Likewise.
3637 * config/arc/gmon/sys/gmon_out.h: Likewise.
3638 * config/arc/t-arc-newlib: Likewise.
3639 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3640
8ae1c2c1
GS
36412016-12-12 George Spelvin <linux@sciencehorizons.net>
3642
3643 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3644
a5b947fa
GS
36452016-12-12 George Spelvin <linux@sciencehorizons.net>
3646
3647 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3648 R16 instead of push + pop.
3649 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3650
d6574dd1
KW
36512016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3652
3653 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3654 tmake_file.
3655
62440b4f
CM
36562016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3657
3658 * config.host (arc*-*-linux-uclibc*): Use default extra
3659 objects. Include linux-android header.
3660 * config/arc/crti.S (_init): Declare symbol as function.
3661 (_fini): Likewise.
3662
31cfd832
TK
36632016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3664
3665 PR fortran/78379
3666 * config/i386/cpuinfo.c: Move denums for processor vendors,
3667 processor type, processor subtypes and declaration of
3668 struct __processor_model into
3669 * config/i386/cpuinfo.h: New header file.
3670
c92e08e3
AV
36712016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3672 Thomas Preud'homme <thomas.preudhomme@arm.com>
3673
3674 * config/arm/cmse_nonsecure_call.S: New.
3675 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3676
de7b5723
AV
36772016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3678 Thomas Preud'homme <thomas.preudhomme@arm.com>
3679
3680 * config/arm/t-arm (HAVE_CMSE): New.
3681 * config/arm/cmse.c: New.
3682
7a0d2bce
TP
36832016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3684
b3a5bff4
TP
3685 PR gcc/74748
3686 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3687 use generic linker version information on Blackfin.
3688
7a0d2bce
TP
3689 PR gcc/74748
3690 * libgcc/mkmap-symver.awk: add support for skip_underscore
3691
b410cf1d
IS
36922016-11-27 Iain Sandoe <iain@codesourcery.com>
3693 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3694
3695 PR target/67710
3696 * config/t-darwin: Default builds to 10.5 codegen.
3697
2e5f8203
JG
36982016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3699
3700 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3701 (_FP_NANSIGN_H): Likewise.
3702 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3703 (softfp_truncations): Add tfhf.
3704 (softfp_extras): Add required conversion functions.
3705
bea64ca3
JG
37062016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3707 Matthew Wahab <matthew.wahab@arm.com>
3708
3709 * config/arm/fp16.c (binary64): New.
3710 (__gnu_d2h_internal): New.
3711 (__gnu_d2h_ieee): New.
3712 (__gnu_d2h_alternative): New.
3713
8630cadb
JG
37142016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3715 Matthew Wahab <matthew.wahab@arm.com>
3716
3717 * config/arm/fp16.c (struct format): New.
3718 (binary32): New.
3719 (__gnu_float2h_internal): New. Body moved from
3720 __gnu_f2h_internal and generalize.
3721 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3722 Call it with binary32.
3723
5823ef23
JG
37242016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3725
3726 * soft-fp/extendhftf2.c: Update from glibc.
3727 * soft-fp/fixhfti.c: Likewise.
3728 * soft-fp/fixunshfti.c: Likewise.
3729 * soft-fp/floattihf.c: Likewise.
3730 * soft-fp/floatuntihf.c: Likewise.
3731 * soft-fp/half.h: Likewise.
3732 * soft-fp/trunctfhf2.c: Likewise.
3733
62a7df9f
MG
37342016-11-20 Marc Glisse <marc.glisse@inria.fr>
3735
3736 PR libgcc/77813
3737 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3738 __TMC_END__ behind a passthrough asm.
3739
7a384912
WL
37402016-11-18 Walter Lee <walt@tilera.com>
3741
62a7df9f 3742 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 3743
9775c1a5
L
37442016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3745
3746 * config/i386/cpuinfo.c (processor_features): Add
3747 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3748
48c842ab
CZ
37492016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3750
3751 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3752 (__ARC_NORM__): Use instead ARC_OPTFPE.
3753 * config/arc/fp-hack.h: Likewise.
3754 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3755 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3756
5012919d
AM
37572016-11-16 Alexander Monakov <amonakov@ispras.ru>
3758
3759 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3760 * config/nvptx/mgomp.c: New file.
3761 * config/nvptx/t-nvptx: Add mgomp.c
3762
00178b98
WB
37632016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3764
3765 PR libgcc/68468
3766 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3767
d64af69f
CZ
37682016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3769
3770 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3771 of checking for cpus.
3772 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3773 (__modsi3, __clzsi2): Likewise.
3774
9d8f95de
SN
37752016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3776
3777 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3778 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3779 * config/i386/t-cpuinfo-static: New.
3780
7d29f8e3
ML
37812016-11-03 Martin Liska <mliska@suse.cz>
3782
3783 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3784 (__gcov_time_profiler_atomic): Likewise.
3785
5de3e2d8
BE
37862016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3787
3788 PR libgcc/78067
3789 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3790 count_leading_zeros.
3791
18362447
UB
37922016-11-02 Uros Bizjak <ubizjak@gmail.com>
3793
3794 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3795 * libgcc2.c (__divmoddi4): New function.
3796 * libgcc2.h (__divmoddi4): Declare.
3797 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3798 and __PFX_divmodti4.
3799
33107571
FW
38002016-10-24 Florian Weimer <fweimer@redhat.com>
3801
3802 PR libgcc/78064
3803 * unwind-c.c: Include auto-target.h.
3804
4c6d7494
JDA
38052016-10-19 John David Anglin <danglin@gcc.gnu.org>
3806
18362447 3807 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
3808 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3809 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3810 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3811 hppa*64*-*-hpux11*.
3812
2a26adf1
MF
38132016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3814
3815 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3816 definition.
3817 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3818 definition.
3819 * config/xtensa/t-windowed (LIB2ADDEH): Use
3820 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3821 or xtensa/t-linux.
3822
66192aa1
DKC
38232016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3824
3825 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3826 __ieee754_sqrt): New functions.
3827 (__divdf3): Add implementation with new FPU instructions under
3828 #if XCHAL_HAVE_DFP_DIV.
3829 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3830 __ieee754_sqrtf): New functions.
3831 (__divsf3): Add implementation with new FPU instructions under
3832 #if XCHAL_HAVE_FP_DIV.
3833 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3834 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3835
4d0cdd0c
TP
38362016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3837
3838 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3839 equivalent.
3840 * config/tilepro/atomic.c: Likewise and stop casting model to
3841 enum memmodel.
3842
73f01cca
JM
38432016-10-10 Joseph Myers <joseph@codesourcery.com>
3844
3845 PR target/77586
3846 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3847 soft-fp.
3848
b20e7532
AT
38492016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3850
3851 * config.host: Add support for aarch64-*-freebsd*.
3852
a786cec4
AS
38532016-10-05 Andreas Schwab <schwab@suse.de>
3854
3855 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3856 (.section .init_array): Don't call __do_jv_register_classes.
3857 (.section .init): Likewise.
3858
5a79befb
JJ
38592016-10-04 Jakub Jelinek <jakub@redhat.com>
3860
3861 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3862 (__JCR_LIST__): Remove.
3863 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3864 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3865 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3866 * config/ia64/crtend.S (__JCR_END__): Remove.
3867 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3868 conditionals.
3869 (__JCR_LIST__, __JCR_END__): Remove.
3870 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3871 (__do_global_ctors_1): Likewise.
3872
e0ab3753
UB
38732015-09-28 Uros Bizjak <ubizjak@gmail.com>
3874
3875 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3876 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3877
8c9434c2
ML
38782016-09-27 Martin Liska <mliska@suse.cz>
3879
3880 PR gcov-profile/7970
3881 PR gcov-profile/16855
3882 PR gcov-profile/44779
3883 * libgcov-driver.c (__gcov_init): Do not register a atexit
3884 handler.
3885 (__gcov_exit): Rename from gcov_exit.
3886 * libgcov.h (__gcov_exit): Declare.
3887
56b653f1
ML
38882016-09-27 Martin Liska <mliska@suse.cz>
3889
3890 PR bootstrap/77749
3891 * Makefile.in: Remove _gcov_merge_delta.
3892 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3893 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3894 * libgcov.h: Remove declaration of __gcov_merge_delta.
3895
7e02fd1b
EB
38962016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3897
3898 * configure.ac: Do not create links, only substitute the filenames.
3899 * configure: Regenerate.
3900 * Makefile.in: Assign the substitution results to variables.
3901 (LIBGCC_LINKS): Define.
3902 (enable-execute-stack.c): New rule.
3903 (unwind.h): Likewise.
3904 (md-unwind-support.h): Likewise.
3905 (sfp-machine.h): Likewise.
3906 (gthr-default.h): Likewise.
3907 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3908 unwind.h as prerequisite of install-unwind_h-forbuild.
3909
29991048
JJ
39102016-09-16 Jakub Jelinek <jakub@redhat.com>
3911
3912 PR libgcc/71744
3913 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3914 is not the primary registry and atomics are available.
3915 (any_objects_registered): New variable.
3916 (__register_frame_info_bases, __register_frame_info_table_bases):
3917 Atomically store 1 to any_objects_registered after registering first
3918 unwind info.
3919 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3920
0abcd6cc
JG
39212016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3922
3923 PR target/63250
3924 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3925 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3926 (HFtype): Likewise.
3927 (HCtype): Likewise.
3928 (__divhc3): Likewise.
3929 (__mulhc3): Likewise.
3930 * libgcc2.c: Support _mulhc3 and _divhc3.
3931
d758aeb5
JM
39322016-09-07 Joseph Myers <joseph@codesourcery.com>
3933
3934 PR libgcc/77519
3935 * libgcc2.c (NOTRUNC): Invert settings.
3936
7fe76f6a
ML
39372016-09-06 Martin Liska <mliska@suse.cz>
3938
3939 PR gcov-profile/77378
3940 PR gcov-profile/77466
3941 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3942 conditionaly enable/disable *_atomic functions.
3943
21184026
JM
39442016-08-26 Joseph Myers <joseph@codesourcery.com>
3945
3946 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3947 where not already enabled.
3948
726f49c3
SN
39492016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3950
3951 * config/mips/linux-unwind.h: Use sys/syscall.h.
3952
feeb6268
JM
39532016-08-16 Joseph Myers <joseph@codesourcery.com>
3954
3955 PR libgcc/77265
3956 * soft-fp/adddf3.c: Update from glibc.
3957 * soft-fp/addsf3.c: Likewise.
3958 * soft-fp/addtf3.c: Likewise.
3959 * soft-fp/divdf3.c: Likewise.
3960 * soft-fp/divsf3.c: Likewise.
3961 * soft-fp/divtf3.c: Likewise.
3962 * soft-fp/double.h: Likewise.
3963 * soft-fp/eqdf2.c: Likewise.
3964 * soft-fp/eqsf2.c: Likewise.
3965 * soft-fp/eqtf2.c: Likewise.
3966 * soft-fp/extenddftf2.c: Likewise.
3967 * soft-fp/extended.h: Likewise.
3968 * soft-fp/extendsfdf2.c: Likewise.
3969 * soft-fp/extendsftf2.c: Likewise.
3970 * soft-fp/extendxftf2.c: Likewise.
3971 * soft-fp/fixdfdi.c: Likewise.
3972 * soft-fp/fixdfsi.c: Likewise.
3973 * soft-fp/fixdfti.c: Likewise.
3974 * soft-fp/fixsfdi.c: Likewise.
3975 * soft-fp/fixsfsi.c: Likewise.
3976 * soft-fp/fixsfti.c: Likewise.
3977 * soft-fp/fixtfdi.c: Likewise.
3978 * soft-fp/fixtfsi.c: Likewise.
3979 * soft-fp/fixtfti.c: Likewise.
3980 * soft-fp/fixunsdfdi.c: Likewise.
3981 * soft-fp/fixunsdfsi.c: Likewise.
3982 * soft-fp/fixunsdfti.c: Likewise.
3983 * soft-fp/fixunssfdi.c: Likewise.
3984 * soft-fp/fixunssfsi.c: Likewise.
3985 * soft-fp/fixunssfti.c: Likewise.
3986 * soft-fp/fixunstfdi.c: Likewise.
3987 * soft-fp/fixunstfsi.c: Likewise.
3988 * soft-fp/fixunstfti.c: Likewise.
3989 * soft-fp/floatdidf.c: Likewise.
3990 * soft-fp/floatdisf.c: Likewise.
3991 * soft-fp/floatditf.c: Likewise.
3992 * soft-fp/floatsidf.c: Likewise.
3993 * soft-fp/floatsisf.c: Likewise.
3994 * soft-fp/floatsitf.c: Likewise.
3995 * soft-fp/floattidf.c: Likewise.
3996 * soft-fp/floattisf.c: Likewise.
3997 * soft-fp/floattitf.c: Likewise.
3998 * soft-fp/floatundidf.c: Likewise.
3999 * soft-fp/floatundisf.c: Likewise.
4000 * soft-fp/floatunditf.c: Likewise.
4001 * soft-fp/floatunsidf.c: Likewise.
4002 * soft-fp/floatunsisf.c: Likewise.
4003 * soft-fp/floatunsitf.c: Likewise.
4004 * soft-fp/floatuntidf.c: Likewise.
4005 * soft-fp/floatuntisf.c: Likewise.
4006 * soft-fp/floatuntitf.c: Likewise.
4007 * soft-fp/gedf2.c: Likewise.
4008 * soft-fp/gesf2.c: Likewise.
4009 * soft-fp/getf2.c: Likewise.
4010 * soft-fp/ledf2.c: Likewise.
4011 * soft-fp/lesf2.c: Likewise.
4012 * soft-fp/letf2.c: Likewise.
4013 * soft-fp/muldf3.c: Likewise.
4014 * soft-fp/mulsf3.c: Likewise.
4015 * soft-fp/multf3.c: Likewise.
4016 * soft-fp/negdf2.c: Likewise.
4017 * soft-fp/negsf2.c: Likewise.
4018 * soft-fp/negtf2.c: Likewise.
4019 * soft-fp/op-1.h: Likewise.
4020 * soft-fp/op-2.h: Likewise.
4021 * soft-fp/op-4.h: Likewise.
4022 * soft-fp/op-8.h: Likewise.
4023 * soft-fp/op-common.h: Likewise.
4024 * soft-fp/quad.h: Likewise.
4025 * soft-fp/single.h: Likewise.
4026 * soft-fp/soft-fp.h: Likewise.
4027 * soft-fp/subdf3.c: Likewise.
4028 * soft-fp/subsf3.c: Likewise.
4029 * soft-fp/subtf3.c: Likewise.
4030 * soft-fp/truncdfsf2.c: Likewise.
4031 * soft-fp/trunctfdf2.c: Likewise.
4032 * soft-fp/trunctfsf2.c: Likewise.
4033 * soft-fp/trunctfxf2.c: Likewise.
4034 * soft-fp/unorddf2.c: Likewise.
4035 * soft-fp/unordsf2.c: Likewise.
4036 * soft-fp/unordtf2.c: Likewise.
4037
2e6fc1ac
GG
40382016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4039
4040 PR gcov-profile/67097
4041 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4042
a266236e
ML
40432016-08-10 Martin Liska <mliska@suse.cz>
4044
4045 PR gcov-profile/58306
4046 * Makefile.in: New functions (modules) are added.
4047 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4048 function.
4049 (__gcov_pow2_profiler_atomic): New function.
4050 (__gcov_one_value_profiler_body): New argument is instroduced.
4051 (__gcov_one_value_profiler): Call with the new argument.
4052 (__gcov_one_value_profiler_atomic): Likewise.
4053 (__gcov_indirect_call_profiler_v2): Likewise.
4054 (__gcov_time_profiler_atomic): New function.
4055 (__gcov_average_profiler_atomic): Likewise.
4056 (__gcov_ior_profiler_atomic): Likewise.
4057 * libgcov.h: Declare the aforementioned functions.
4058
e0c8eebf
ML
40592016-08-09 Martin Liska <mliska@suse.cz>
4060
4061 * libgcov-util.c: Fix typo and GNU coding style.
4062
6dce6418
ML
40632016-08-09 Martin Liska <mliska@suse.cz>
4064
4065 * Makefile.in: Remove __gcov_indirect_call_profiler.
4066 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4067 function.
4068 * libgcov.h: And the declaration of the function.
4069
dcb1e137
ML
40702016-08-09 Martin Liska <mliska@suse.cz>
4071
4072 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4073 power of two.
4074
d6e69705
BS
40752016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4076
4077 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4078 * config/rs6000/_mulkc3.c: Likewise.
4079
96aa1f95
GJL
40802016-07-29 Georg-Johann Lay <avr@gjlay.de>
4081
4082 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4083 zero_reg as previous call to __umulhisi3 already cleared it.
4084
a1b01d34
AJ
40852016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4086
4087 PR target/59833
4088 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4089
985a47b2
NC
40902016-07-19 Nick Clifton <nickc@redhat.com>
4091
4092 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4093 Add crtinit.o and crtfini.o to extra_parts.
4094
f906f5ed
BS
40952016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4096
4097 * config/rs6000/_divkc3.c: New.
4098 * config/rs6000/_mulkc3.c: New.
4099 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4100 and _divkc3.
4101 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4102 fp128_ppc_funcs.
4103
82742404
HW
41042016-07-11 Hale Wang <hale.wang@arm.com>
4105 Andre Vieira <andre.simoesdiasvieira@arm.com>
4106
4107 * config/arm/lib1funcs.S: Add new wrapper.
4108
05a437c1
TP
41092016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4110
4111 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4112
3d16d9ec
TP
41132016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4114
4115 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4116 and ARMv5t* rather than for a fixed list of architectures.
4117
6f493951
TP
41182016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4119
4120 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4121 implementation suitable for.
4122 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4123 for all Thumb-1 only targets.
4124 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4125 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4126 __ARM_ARCH_6M__.
4127 (EQUIV): Likewise.
4128 (ARM_FUNC_ALIAS): Likewise.
4129 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4130 version.
4131 (modsi3): Likewise.
4132 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4133 (clzdi2): Likewise.
4134 (ctzsi2): Likewise.
4135 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4136 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4137 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4138 __ARM_ARCH_6M__ and add comment to indicate the connection between
4139 this condition and the one in gcc/config/arm/elf.h.
4140 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4141 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4142 * config/arm/t-softfp: Likewise.
4143
1770511a
TS
41442016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4145
4146 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4147 CTOR_LISTS_DEFINED_EXTERNALLY.
4148
ba6be749
WL
41492016-06-28 Walter Lee <walt@tilera.com>
4150
4151 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4152 asm/unistd.h.
4153 (SPR_CMPEXCH_VALUE): Define for tilegx.
4154 (__NR_FAST_cmpxchg): Define for tilepro.
4155 (__NR_FAST_atomic_update): Define for tilepro.
4156 (__NR_FAST_cmpxchg64): Define for tilepro.
4157
a34c0db5
JS
41582016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4159
18362447 4160 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 4161
0609abda
TS
41622016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4163
4164 * config.host: Remove support for mep-*.
4165 * config/mep/lib1funcs.S: Remove.
4166 * config/mep/lib2funcs.c: Remove.
4167 * config/mep/t-mep: Remove.
4168 * config/mep/tramp.c: Remove.
4169
3e326935
TS
41702016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4171
4172 * config.host: Remove support for avr-rtems.
4173 * config/avr/t-rtems: Remove.
4174
914b155c
TS
41752016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4176
4177 * config.host: Remove m32r-rtems support.
4178
5ebf89bd
TS
41792016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4180
4181 * config.host: Remove h8300-rtems support.
4182
8466af06
TS
41832016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4184
4185 * config.host: Remove support for knetbsd.
4186
d980e738
TS
41872016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4188
4189 * config.host: Remove support for openbsd 2 and 3.
4190
ee2499b4
TS
41912016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4192
4193 * config.host: Remove interix support.
4194 * config/i386/t-interix: Remove.
4195
9f92937b
JDA
41962016-06-18 John David Anglin <danglin@gcc.gnu.org>
4197
4198 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4199 least-significant bit in function pointer for fixup.
4200
0a0ec53d
AC
42012016-06-05 Aaron Conole <aconole@redhat.com>
4202 Nathan Sidwell <nathan@acm.org>
4203
4204 PR libgcc/71400
4205 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4206 (get_gcov_error_file): Check __gcov_error_file before trying to
4207 initialize it.
4208 (gcov_error): Always use get_gcov_error_file.
4209
8aa5bdd6
AC
42102016-06-02 Aaron Conole <aconole@redhat.com>
4211
4212 * libgcov-driver-system.c (__gcov_error_file): New.
4213 (get_gcov_error_file): New.
4214 (gcov_error): Use and set __gcov_error_file.
4215 (gcov_error_exit): New.
4216 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4217
40774faf
NS
42182016-05-26 Nathan Sidwell <nathan@acm.org>
4219
4220 * config/nvptx/free.asm: Delete.
4221 * config/nvptx/malloc.asm: Delete.
4222 * config/nvptx/realloc.c: Delete.
4223 * t-nvptx: Update.
4224
69a6d5ad
NS
42252016-05-25 Nathan Sidwell <nathan@acm.org>
4226
4227 * config/nvptx/crt0.s: Delete.
4228 * config/nvptx/crt0.c: New.
4229 * t-nvptx: Update.
4230
6befaff6
SL
42312016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4232
385c7747 4233 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
4234 dw2/seh configuration.
4235 [x86_64-*-mingw*]: Likewise.
4236
ad251dfd
JS
42372016-05-10 Joel Sherrill <joel@rtems.org>
4238
4239 PR libgcc/70720
4240 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4241 targets so the same extra_parts are built. Also have tmake_file add
4242 on to its value rather than override.
4243
bc6d9014
OE
42442016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4245
4246 * config.host: Remove SH5 support.
4247 * configure: Likewise.
4248
9129c8cf
OE
42492016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4250
4251 * config/sh/crt1.S: Remove SH5 support.
4252 * config/sh/crti.S: Likewise.
4253 * config/sh/crtn.S: Likewise.
4254 * config/sh/lib1funcs-4-300.S: Likewise.
4255 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4256 * config/sh/lib1funcs.S: Likewise.
4257 * config/sh/linux-unwind.h: Likewise.
4258 * config/sh/t-sh64: Delete.
4259
39d50464
CZ
42602016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4261
4262 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4263
8b48923b
CZ
42642016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4265 Joern Rennecke <joern.rennecke@embecosm.com>
4266
4267 * config/arc/crttls.S: New file.
4268 * config/arc/t-arc: New rule.
4269 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4270
2de1cf8c
NC
42712016-04-25 Nick Clifton <nickc@redhat.com>
4272
4273 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4274 (__mspabi_cmpd): Likewise.
4275 * config/msp430/floathidf.c (__floathidf): Likewise.
4276 * config/msp430/floathisf.c (__floathisf): Likewise
4277 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4278 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4279 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4280 second parameter.
4281 (__ashrsi3): Likewise.
4282
b8ce3fe2
WB
42832016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4284
4285 * config/m68k/linux-atomic.c: Do not include unistd.h
4286
4986f823
MG
42872016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4288
4289 * config/arm/ieee754-df.S: Fix typos in comments.
4290
35fbda43
MM
42912016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4292
4293 PR target/70381
4294 * configure.ac (powerpc*-*-linux*): Rework tests to build
4295 __float128 emulation routines to not depend on using #pragma GCC
4296 target to enable -mfloat128.
4297 * configure: Regnerate.
4298
72d1a48d
EB
42992016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4300
4301 PR target/67172
4302 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4303 __MINGW32__ is defined.
4304
dc2e8995
JB
43052016-03-28 James Bowman <james.bowman@ftdichip.com>
4306
385c7747 4307 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 4308
104cdaf1
MM
43092016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4310
4311 PR libgcc/70363
4312 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4313 built with an assembler that does not support ISA 3.0
4314 instructions, rename __extendkftf2_sw to __extendkftf2.
4315
a5046f48
RO
43162016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4317
4318 PR target/38239
4319 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4320 call-clobbered registers.
4321 (internal_mcount): Remove __i386__ handling.
4322
df674f74
JS
43232016-02-26 Joel Sherrill <joel@rtems.org>
4324
4325 * config.host: Add x86_64-*-rtems*.
4326
7cb065d6
JS
43272016-02-26 Joel Sherrill <joel@rtems.org>
4328
4329 * libgcc/config.host: Add aarch64-*-rtems*.
4330
47dfdc53
PM
43312016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4332 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4333
4334 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4335 union of u64 and double.
4336 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4337 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4338 value.
4339 (FP_ROUNDMODE): Update the usage of _fpscr.
4340
e6861a99
IV
43412016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4342
4343 PR driver/68463
4344 * Makefile.in (crtoffloadtable$(objext)): New rule.
4345 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4346 enable_offload_targets is not empty.
4347 * configure: Regenerate.
4348 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4349 crtoffloadtable.
4350
9bfcbdee
MF
43512016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4352
4353 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4354 .literal_position before the function.
4355 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4356 Likewise.
4357
4cb4721f
MK
43582016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4359
4360 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4361 * config/s390/morestack.S: New file.
4362 * config/s390/t-stack-s390: New file.
4363 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4364
b29d9a29
WL
43652016-02-12 Walter Lee <walt@tilera.com>
4366
4367 * config.host (tilegx*-*-linux*): remove ti from
4368 softfp_int_modes for 32-bit configs.
4369
03a0ae7d
ILT
43702016-02-10 Ian Lance Taylor <iant@google.com>
4371
4372 PR go/68562
4373 * config/i386/morestack.S (__stack_split_initialize): Align
4374 stack.
4375
68750bce
AT
43762016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4377
4378 PR bootstrap/69611
4379 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4380 __FLOAT128__ to compile only for __float128 capable targets.
4381
7d296953
JJ
43822016-01-25 Jakub Jelinek <jakub@redhat.com>
4383
4384 PR target/69444
4385 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4386 instead of ___NO_FPRS__.
4387
a71c0334 43882016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4389 Steven Munroe <munroesj@linux.vnet.ibm.com>
4390 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
4391
4392 * config/rs6000/float128-sed: New files to convert TF names to KF
4393 names for PowerPC IEEE 128-bit floating point support.
4394 * config/rs6000/float128-sed-hw: Likewise.
4395
4396 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4397 floating point hardware support.
4398
4399 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4400 128-bit floating point software emulation or use ISA 3.0 hardware
4401 support if it is available.
4402
4403 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4404 floating point.
4405
4406 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4407 floating point to IBM extended double.
4408
4409 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4410 double to IEEE 128-bit floating point.
4411
4412 * config/rs6000/t-float128: New Makefile fragments to enable
4413 building __float128 emulation support.
4414 * config/rs6000/t-float128-hw: Likewise.
4415
4416 * config/rs6000/sfp-exceptions.c: New file to provide exception
4417 support for IEEE 128-bit floating point.
4418
4419 * config/rs6000/floattikf.c: New files for converting between IEEE
4420 128-bit floating point and signed/unsigned 128-bit integers.
4421 * config/rs6000/fixunskfti.c: Likewise.
4422 * config/rs6000/fixkfti.c: Likewise.
4423 * config/rs6000/floatuntikf.c: Likewise.
4424
4425 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4426 when building on 64-bit systems, or when VSX is enabled.
4427 (_FP_W_TYPE): Likewise.
4428 (_FP_WS_TYPE): Likewise.
4429 (_FP_I_TYPE): Likewise.
4430 (TItype): Define on 64-bit systems.
4431 (UTItype): Likewise.
4432 (TI_BITS): Likewise.
4433 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4434 (_FP_MUL_MEAT_Q): Likewise.
4435 (_FP_DIV_MEAT_D): Likewise.
4436 (_FP_DIV_MEAT_Q): Likewise.
4437 (_FP_NANFRAC_D): Likewise.
4438 (_FP_NANFRAC_Q): Likewise.
4439 (ISA_BIT): Add exception support if we are being compiled on a
4440 machine with hardware floating point support to build the IEEE
4441 128-bit emulation functions.
4442 (FP_EX_INVALID): Likewise.
4443 (FP_EX_OVERFLOW): Likewise.
4444 (FP_EX_UNDERFLOW): Likewise.
4445 (FP_EX_DIVZERO): Likewise.
4446 (FP_EX_INEXACT): Likewise.
4447 (FP_EX_ALL): Likewise.
4448 (__sfp_handle_exceptions): Likewise.
4449 (FP_HANDLE_EXCEPTIONS): Likewise.
4450 (FP_RND_NEAREST): Likewise.
4451 (FP_RND_ZERO): Likewise.
4452 (FP_RND_PINF): Likewise.
4453 (FP_RND_MINF): Likewise.
4454 (FP_RND_MASK): Likewise.
4455 (_FP_DECL_EX): Likewise.
4456 (FP_INIT_ROUNDMODE): Likewise.
4457 (FP_ROUNDMODE): Likewise.
4458
4459 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4460 VSX code, enable IEEE 128-bit floating point. If the compiler can
4461 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4462 floating point hardware instructions and it supports declaring
4463 functions with the ifunc attribute, enable ifunc functions to
4464 switch between software and hardware support.
4465 * configure.ac (powerpc*-*-linux*): Likewise.
4466 * configure: Regenerate.
4467
bdc27e50
NC
44682016-01-15 Nick Clifton <nickc@redhat.com>
4469
4470 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4471 dependency as the source file to be compiled.
4472 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4473 (lib2hw_mul_f5.o): Likewise.
4474
006df05d
MM
44752016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4476
4477 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4478 * libgcc/config/rs6000/fixkfti.c: Likewise.
4479 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4480 * libgcc/config/rs6000/float128-hw.c: Likewise.
4481 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4482 * libgcc/config/rs6000/float128-sed: Likewise.
4483 * libgcc/config/rs6000/floattikf.c: Likewise.
4484 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4485 * libgcc/config/rs6000/quad-float128.h: Likewise.
4486 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4487 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4488 * libgcc/config/rs6000/t-float128: Likewise.
4489 * libgcc/config/rs6000/t-float128-hw: Likewise.
4490 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4491 * libgcc/config.host: Likewise.
4492 * libgcc/configure: Likewise.
4493 * libgcc/configure.ac: Likewise.
4494
29176d57 44952016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4496 Steven Munroe <munroesj@linux.vnet.ibm.com>
4497 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
4498
4499 * config/rs6000/sfp-exceptions.c: New file to provide exception
4500 support for IEEE 128-bit floating point.
4501
4502 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4503 floating point hardware support.
4504
4505 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4506 point conversions.
4507 * config/rs6000/fixunskfti.c: Likewise.
4508 * config/rs6000/fixkfti.c: Likewise.
4509 * config/rs6000/floatuntikf.c: Likewise.
4510 * config/rs6000/extendkftf2-sw.c: Likewise.
4511 * config/rs6000/trunctfkf2-sw.c: Likewise.
4512
4513 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4514 128-bit floating point software emulation or use ISA 3.0 hardware
4515 support if it is available.
4516
4517 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4518 floating point.
4519
4520 * config/rs6000/t-float128: New Makefile fragments to enable
4521 building __float128 emulation support.
4522 * config/rs6000/t-float128-hw: Likewise.
4523
4524 * config/rs6000/float128-sed: New file to convert TF names to KF
4525 names for PowerPC IEEE 128-bit floating point support.
4526
4527 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4528 when building on 64-bit systems, or when VSX is enabled.
4529 (_FP_W_TYPE): Likewise.
4530 (_FP_WS_TYPE): Likewise.
4531 (_FP_I_TYPE): Likewise.
4532 (TItype): Define on 64-bit systems.
4533 (UTItype): Likewise.
4534 (TI_BITS): Likewise.
4535 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4536 (_FP_MUL_MEAT_Q): Likewise.
4537 (_FP_DIV_MEAT_D): Likewise.
4538 (_FP_DIV_MEAT_Q): Likewise.
4539 (_FP_NANFRAC_D): Likewise.
4540 (_FP_NANFRAC_Q): Likewise.
4541 (ISA_BIT): Add exception support if we are being compiled on a
4542 machine with hardware floating point support to build the IEEE
4543 128-bit emulation functions.
4544 (FP_EX_INVALID): Likewise.
4545 (FP_EX_OVERFLOW): Likewise.
4546 (FP_EX_UNDERFLOW): Likewise.
4547 (FP_EX_DIVZERO): Likewise.
4548 (FP_EX_INEXACT): Likewise.
4549 (FP_EX_ALL): Likewise.
4550 (__sfp_handle_exceptions): Likewise.
4551 (FP_HANDLE_EXCEPTIONS): Likewise.
4552 (FP_RND_NEAREST): Likewise.
4553 (FP_RND_ZERO): Likewise.
4554 (FP_RND_PINF): Likewise.
4555 (FP_RND_MINF): Likewise.
4556 (FP_RND_MASK): Likewise.
4557 (_FP_DECL_EX): Likewise.
4558 (FP_INIT_ROUNDMODE): Likewise.
4559 (FP_ROUNDMODE): Likewise.
4560
4561 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4562 compiler can do __float128.
4563 * configure: Regenerate.
4564
4565 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4566 VSX code, enable IEEE 128-bit floating point.
4567
a2218983
OH
45682016-01-05 Olivier Hainque <hainque@adacore.com>
4569
4570 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 4571 specificities.
a2218983 4572
818ab71a
JJ
45732016-01-04 Jakub Jelinek <jakub@redhat.com>
4574
4575 Update copyright years.
4576
5a6c8ffa
AP
45772015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4578
4579 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 4580 soft-fp targets.
5a6c8ffa 4581
077067a5
BE
45822015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4583
4584 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4585 instead of abort to avoid dependency on stdlib.h.
4586
787c1027
JDA
45872015-12-09 John David Anglin <danglin@gcc.gnu.org>
4588
4589 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4590 to initialize call to __dl_fixup once.
4591
04a9ae28
NC
45922015-12-04 Nick Clifton <nickc@redhat.com>
4593
4594 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4595 Allow for the second argument being negative.
4596 * config.host (extra_parts): Define for MSP430. Create separate
4597 libraries for each of the hardware multiply formats.
4598 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4599 that are needed.
4600 * config/msp430/lib2mul.c: Likewise.
4601 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4602 Add rules to build hardware multiply libraries.
4603 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4604 __mspabi_divul function.
4605 (__mspabi_divllu): New stub function.
4606
9a32d437
JDA
46072015-12-01 John David Anglin <danglin@gcc.gnu.org>
4608
4609 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4610 fixup values if saved GOT address doesn't match runtime address.
4611 (fixup_branch_offset): Reorder list.
4612
e5ef217c
RO
46132015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4614
4615 * Makefile.in (VTV_CFLAGS): New variable.
4616 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4617 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4618 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4619 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4620 to extra_parts if $enable_vtable_verify = yes.
4621
78cc43a2
SN
46222015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4623
4624 PR target/68059
4625 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4626 (write): ...this and fix the return type.
4627
9afebea2
DD
46282015-11-19 DJ Delorie <dj@redhat.com>
4629
4630 * config/msp430/lib2hw_mul.S: Fix alignment.
4631
33f47f42
NS
46322015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4633
4634 * config/nvptx/reduction.c: New.
4635 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4636
d9adb476
DE
46372015-11-15 David Edelsohn <dje.gcc@gmail.com>
4638
4639 * config/rs6000/on_exit.c: New file.
4640 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4641 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4642
c0ab1970
CZ
46432015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4644
4645 * config/arc/dp-hack.h: Add support for ARCHS.
4646 * config/arc/ieee-754/divdf3.S: Likewise.
4647 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4648 * config/arc/ieee-754/muldf3.S: Likewise.
4649 * config/arc/ieee-754/mulsf3.S: Likewise
4650 * config/arc/lib1funcs.S: Likewise
4651 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4652 for ARCv2 cores.
4653 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4654 for ARCv2 cores.
4655 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4656 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4657 cores.
4658
e6b6bf09
RO
46592015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4660
4661 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4662 value.
4663 * config/ia64/crtend.S: Likewise.
4664
a153644f
TS
46652015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4666
4667 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4668 __CHAR_BIT__ instead of BITS_PER_UNIT.
4669 * fixed-bit.h: Likewise.
4670 * fp-bit.h: Likewise.
4671 * libgcc2.c (__popcountSI2): Likewise.
4672 (__popcountDI2): Likewise.
4673 * libgcc2.h: Likewise.
4674 * libgcov.h: Likewise.
4675
3dee689d
DE
46762015-11-07 David Edelsohn <dje.gcc@gmail.com>
4677
4678 * config/rs6000/atexit.c: New file.
4679 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4680 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4681 * config/rs6000/cxa_finalize.c
4682 (catomic_compare_and_exchange_bool_acq): Negate return value.
4683
2ef543e4
VK
46842015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4685
4686 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4687 (processor_subtypes): Add znver1.
4688 (get_amd_cpu): Detect znver1.
4689
1300f017
CL
46902015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4691
4692 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4693 Include crtfastmath.o.
4694
3e5bb7ee
JR
46952015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4696
4697 PR libgcc/66883
4698 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 4699
793aa938
KP
47002015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4701
4702 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4703 * config/rl78/divmodsi.S: Update return register to r8.
4704 * config/rl78/divmodhi.S: Update return register to r8,r9.
4705 Branch to main_loop_done_himode to pop registers before return.
4706
7d296953 47072015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
4708
4709 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4710 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4711
6a192b5a
KY
47122015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4713
4714 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4715
4a0a9457
MF
47162015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4717
4718 * config.host (xtensa*-*-uclinux*): New configuration.
4719
ab91c076
KY
47202015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4721
385c7747 4722 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
4723 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4724
30954527
JM
47252015-09-28 Joseph Myers <joseph@codesourcery.com>
4726
4727 * soft-fp/adddf3.c: Update from glibc.
4728 * soft-fp/addsf3.c: Likewise.
4729 * soft-fp/addtf3.c: Likewise.
4730 * soft-fp/divdf3.c: Likewise.
4731 * soft-fp/divsf3.c: Likewise.
4732 * soft-fp/divtf3.c: Likewise.
4733 * soft-fp/double.h: Likewise.
4734 * soft-fp/eqdf2.c: Likewise.
4735 * soft-fp/eqsf2.c: Likewise.
4736 * soft-fp/eqtf2.c: Likewise.
4737 * soft-fp/extenddftf2.c: Likewise.
4738 * soft-fp/extended.h: Likewise.
4739 * soft-fp/extendsfdf2.c: Likewise.
4740 * soft-fp/extendsftf2.c: Likewise.
4741 * soft-fp/extendxftf2.c: Likewise.
4742 * soft-fp/fixdfdi.c: Likewise.
4743 * soft-fp/fixdfsi.c: Likewise.
4744 * soft-fp/fixdfti.c: Likewise.
4745 * soft-fp/fixsfdi.c: Likewise.
4746 * soft-fp/fixsfsi.c: Likewise.
4747 * soft-fp/fixsfti.c: Likewise.
4748 * soft-fp/fixtfdi.c: Likewise.
4749 * soft-fp/fixtfsi.c: Likewise.
4750 * soft-fp/fixtfti.c: Likewise.
4751 * soft-fp/fixunsdfdi.c: Likewise.
4752 * soft-fp/fixunsdfsi.c: Likewise.
4753 * soft-fp/fixunsdfti.c: Likewise.
4754 * soft-fp/fixunssfdi.c: Likewise.
4755 * soft-fp/fixunssfsi.c: Likewise.
4756 * soft-fp/fixunssfti.c: Likewise.
4757 * soft-fp/fixunstfdi.c: Likewise.
4758 * soft-fp/fixunstfsi.c: Likewise.
4759 * soft-fp/fixunstfti.c: Likewise.
4760 * soft-fp/floatdidf.c: Likewise.
4761 * soft-fp/floatdisf.c: Likewise.
4762 * soft-fp/floatditf.c: Likewise.
4763 * soft-fp/floatsidf.c: Likewise.
4764 * soft-fp/floatsisf.c: Likewise.
4765 * soft-fp/floatsitf.c: Likewise.
4766 * soft-fp/floattidf.c: Likewise.
4767 * soft-fp/floattisf.c: Likewise.
4768 * soft-fp/floattitf.c: Likewise.
4769 * soft-fp/floatundidf.c: Likewise.
4770 * soft-fp/floatundisf.c: Likewise.
4771 * soft-fp/floatunditf.c: Likewise.
4772 * soft-fp/floatunsidf.c: Likewise.
4773 * soft-fp/floatunsisf.c: Likewise.
4774 * soft-fp/floatunsitf.c: Likewise.
4775 * soft-fp/floatuntidf.c: Likewise.
4776 * soft-fp/floatuntisf.c: Likewise.
4777 * soft-fp/floatuntitf.c: Likewise.
4778 * soft-fp/gedf2.c: Likewise.
4779 * soft-fp/gesf2.c: Likewise.
4780 * soft-fp/getf2.c: Likewise.
4781 * soft-fp/ledf2.c: Likewise.
4782 * soft-fp/lesf2.c: Likewise.
4783 * soft-fp/letf2.c: Likewise.
4784 * soft-fp/muldf3.c: Likewise.
4785 * soft-fp/mulsf3.c: Likewise.
4786 * soft-fp/multf3.c: Likewise.
4787 * soft-fp/negdf2.c: Likewise.
4788 * soft-fp/negsf2.c: Likewise.
4789 * soft-fp/negtf2.c: Likewise.
4790 * soft-fp/op-1.h: Likewise.
4791 * soft-fp/op-2.h: Likewise.
4792 * soft-fp/op-4.h: Likewise.
4793 * soft-fp/op-8.h: Likewise.
4794 * soft-fp/op-common.h: Likewise.
4795 * soft-fp/quad.h: Likewise.
4796 * soft-fp/single.h: Likewise.
4797 * soft-fp/soft-fp.h: Likewise.
4798 * soft-fp/subdf3.c: Likewise.
4799 * soft-fp/subsf3.c: Likewise.
4800 * soft-fp/subtf3.c: Likewise.
4801 * soft-fp/truncdfsf2.c: Likewise.
4802 * soft-fp/trunctfdf2.c: Likewise.
4803 * soft-fp/trunctfsf2.c: Likewise.
4804 * soft-fp/trunctfxf2.c: Likewise.
4805 * soft-fp/unorddf2.c: Likewise.
4806 * soft-fp/unordsf2.c: Likewise.
4807 * soft-fp/unordtf2.c: Likewise.
4808
4dfe21ac
RE
48092015-09-24 Richard Earnshaw <rearnsha@arm.com>
4810
4811 PR libgcc/67624
4812 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4813
df2a1cc4
RO
48142015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4815
4816 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4817 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4818 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4819 messages.
4820 (internal_mcount): Likewise.
4821 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4822 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4823
2d110442
RO
48242015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4825
4826 * configure.ac (libgcc_cv_solaris_crts): New test.
4827 * configure: Regenerate.
4828 * config.in: Regenerate.
4829 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4830 * config/gmon-sol2.c: Rename to ...
4831 * config/sol2/gmon.c: ... this.
4832 Include auto-target.h.
4833 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4834 * config/t-sol2: Rename to ...
4835 * config/sol2/t-sol2: ... this.
4836 (gmon.o): Reflect renaming.
4837 (crtp.o, crtpg.o): New rules.
4838 * config.host (*-*-solaris2*): Reflect renaming.
4839 Use system CRTs if present.
4840 Remove default CRT case.
4841
d572e439
JDA
48422015-09-23 John David Anglin <danglin@gcc.gnu.org>
4843
4844 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4845 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4846 __kernel_cmpxchg2.
4847 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4848 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4849 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4850 (__sync_lock_test_and_set_##WIDTH): Likewise.
4851 (__sync_lock_release_##WIDTH): Likewise.
4852 (__sync_fetch_and_##OP##_4): Change result to match type of
4853 __kernel_cmpxchg.
4854 (__sync_##OP##_and_fetch_4): Likewise.
4855 (__sync_val_compare_and_swap_4): Likewise.
4856 (__sync_bool_compare_and_swap_4): likewise.
4857 (__sync_lock_test_and_set_4): Likewise.
4858 (__sync_lock_release_4): Likewise.
4859 (FETCH_AND_OP_2): Add long long variants.
4860 (OP_AND_FETCH_2): Likewise.
4861 (COMPARE_AND_SWAP_2 ): Likewise.
4862 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4863 (SYNC_LOCK_RELEASE_2): Likewise.
4864 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4865
7d296953 48662015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
4867
4868 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4869 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4870 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4871 (get_available_features): Habdle new features.
4872
131314e1
JB
48732015-09-21 James Bowman <james.bowman@ftdichip.com>
4874
4875 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4876 memory layout. Deal correctly with BSS region larger than 32K.
4877 Handle a watchdog reset like a power-on reset. Clean up unused
4878 code.
4879
04218b35
AD
48802015-09-18 Andrew Dixie <andrewd@gentrack.com>
4881 David Edelsohn <dje.gcc@gmail.com>
4882
4883 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4884 * config/rs6000/crtdbase.S: New file.
4885 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4886
c8338173
MF
48872015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4888
4889 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4890 Add support for call0 ABI.
4891
7a84bf71
JDA
48922015-09-13 John David Anglin <danglin@gcc.gnu.org>
4893
4894 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4895
4efab402
SH
48962015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4897
4898 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4899 (__GTHREAD_HAS_COND): Likewise.
4900 (__gthread_t): Likewise.
4901 (__gthread_cond_t): Likewise.
4902 (__gthread_time_t): Likewise.
4903 (__GTHREAD_MUTEX_INIT): Likewise.
4904 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4905 (__GTHREAD_COND_INIT): Likewise.
4906 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4907 (__GTHREAD_TIME_INIT): Likewise.
4908 (__gthread_create): Likewise.
4909 (__gthread_join): Likewise.
4910 (__gthread_detach): Likewise.
4911 (__gthread_equal): Likewise.
4912 (__gthread_self): Likewise.
4913 (__gthread_yield): Likewise.
4914 (__gthread_cond_broadcast): Likewise.
4915 (__gthread_cond_signal): Likewise.
4916 (__gthread_cond_wait): Likewise.
4917 (__gthread_cond_timedwait): Likewise.
4918 (__gthread_cond_wait_recursive): Likewise.
4919 (__gthread_cond_destroy): Likewise.
4920 (rtems_gxx_once): Delete.
4921 (rtems_gxx_key_create): Likewise.
4922 (rtems_gxx_key_delete): Likewise.
4923 (rtems_gxx_getspecific): Likewise.
4924 (rtems_gxx_setspecific): Likewise.
4925 (rtems_gxx_mutex_init): Likewise.
4926 (rtems_gxx_mutex_destroy): Likewise.
4927 (rtems_gxx_mutex_lock): Likewise.
4928 (rtems_gxx_mutex_trylock): Likewise.
4929 (rtems_gxx_mutex_unlock): Likewise.
4930 (rtems_gxx_recursive_mutex_init): Likewise.
4931 (rtems_gxx_recursive_mutex_lock): Likewise.
4932 (rtems_gxx_recursive_mutex_trylock): Likewise.
4933 (rtems_gxx_recursive_mutex_unlock): Likewise.
4934 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4935 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4936 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4937 (__gthread_once): Likewise.
4938 (__gthread_key_create): Likewise.
4939 (__gthread_key_delete): Likewise.
4940 (__gthread_getspecific): Likewise.
4941 (__gthread_setspecific): Likewise.
4942 (__gthread_key_t): Use <pthread.h> type.
4943 (__gthread_once_t): Likewise
4944 (__gthread_mutex_t): Use <sys/lock.h> type.
4945 (__gthread_recursive_mutex_t): Likewise
4946 (__gthread_mutex_lock): Use <sys/lock.h> function.
4947 (__gthread_mutex_trylock): Likewise.
4948 (__gthread_mutex_timedlock): Likewise.
4949 (__gthread_mutex_unlock): Likewise.
4950 (__gthread_mutex_destroy): Likewise.
4951 (__gthread_recursive_mutex_lock): Likewise.
4952 (__gthread_recursive_mutex_trylock): Likewise.
4953 (__gthread_recursive_mutex_timedlock): Likewise.
4954 (__gthread_recursive_mutex_unlock): Likewise.
4955 (__gthread_recursive_mutex_destroy): Likewise.
4956
991995c4
MF
49572015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4958
4959 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4960 context->sp instead of context->cfa.
4961
0e19db59
MF
49622015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4963
4964 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4965 with unwind-dw2-fde-dip.
4966
b6ac5f62
MF
49672015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4968
4969 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4970 CALL12 followed by series of ENTRY to spill windowed registers.
4971 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4972 instead of making linux spill syscall.
4973
3e0f3349
YR
49742015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4975
4976 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4977 (get_intel_cpu): Likewise.
4978
51c728b1
L
49792015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4980
4981 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4982 (get_intel_cpu): Add Knights Landing support.
4983
aff4eeac
UB
49842015-08-11 Uros Bizjak <ubizjak@gmail.com>
4985
4986 PR target/66954
4987 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4988 (get_available_features): Handle FEATURE_PCLMUL.
4989
736e56da
L
49902015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4991
4992 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4993 Broadwell.
4994
54d22142
UB
49952015-07-22 Uros Bizjak <ubizjak@gmail.com>
4996
4997 PR target/66954
4998 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4999 (get_available_features): Handle FEATURE_AES.
5000
20ca17e4
CLT
50012015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5002
5003 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5004 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5005
ebe4a560
NS
50062015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5007
5008 * offloadstuff.c: Constify host data.
5009
180744c0
JB
50102015-07-17 Jan Beulich <jbeulich@suse.com>
5011
5012 * config/t-softfp: Split up "else ifneq".
5013
a03c6ae3
SL
50142015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5015 Cesar Philippidis <cesar@codesourcery.com>
5016 Chung-Lin Tang <cltang@codesourcery.com>
5017
5018 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5019 for __nios2_arch__ level.
5020
73358db5
JM
50212015-07-13 John Marino <gnugcc@marino.st>
5022
5023 * config/i386/t-dragonfly: New.
5024
f9a12f7b
JDA
50252015-07-01 John David Anglin <danglin@gcc.gnu.org>
5026
5027 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5028 better match light-weight syscall argument order.
5029 (__kernel_cmpxchg2): Likewise.
5030 Adjust callers.
5031
cb78b51c
L
50322015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5033
5034 * config.host: Support i[34567]86-*-elfiamcu target.
5035 * config/t-softfp-sfdftf: New file.
5036 * config/i386/32/t-iamcu: Likewise.
5037 * configure: Regenerated.
5038
4fa0f9ea
JL
50392015-06-23 James Lemke <jwlemke@codesourcery.com>
5040
5041 libgcc/config/arm/
5042 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5043
428b3812
L
50442015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5045
5046 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5047
7d296953 50482015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
5049
5050 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5051 md_unwind_header
5052 * config/i386/freebsd-unwind.h: New.
5053
9b789cc1
UB
50542015-05-22 Uros Bizjak <ubizjak@gmail.com>
5055
5056 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5057 i386/t-crtfm to tmake_file.
5058 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5059 (set_fast_math): Use set_fast_math_sse for SSE targets.
5060 * config/i386/t-crtfm: Remove.
5061
3dafb220
AM
50622015-05-21 Alan Modra <amodra@gmail.com>
5063
5064 PR libgcc/66225
5065 * config/rs6000/morestack.S: Remove ".abiversion 1".
5066
0f0fd745
AM
50672015-05-20 Alan Modra <amodra@gmail.com>
5068
5069 * config/rs6000/morestack.S: New.
5070 * config/rs6000/t-stack-rs6000: New.
5071 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5072 to tmake_file.
5073 * generic-morestack.c: Don't build for powerpc 32-bit.
5074
515ae71b
EB
50752015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5076
5077 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5078 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5079
36805406
JL
50802015-05-16 James Bowman <james.bowman@ftdichip.com>
5081
5082 * config.host: FT32 target added.
5083 * config/ft32/*: New files for FT32 target.
5084
ff935d0c
MG
50852015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5086
385c7747
UB
5087 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5088 New macros.
5089 * config/arm/ieee754-df.S: Add CFI directives.
5090 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 5091
9b92a9f3
EB
50922015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5093
5094 * configure.ac: Include config/sjlj.m4.
5095 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5096 * config.in: Regenerate.
5097 * configure: Likewise.
5098 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5099
98b5dc61
UB
51002015-05-12 Uros Bizjak <ubizjak@gmail.com>
5101
5102 * libgcov-util.c: Add space between string literal and macro name.
5103
5a0ff57c
SL
51042015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5105 Chris Jones <chrisj@nvidia.com>
5106 Joshua Conner <jconner@nvidia.com>
5107
5108 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5109 (arm*-*-uclinux*): Likewise.
5110 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5111 * config/arm/crtfastmath.c: New file.
5112
d28ad5d4
BS
51132014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5114
5115 * Makefile.in (real_host_noncanonical): New variable.
5116 (libsubdir): Use it.
5117 * configure.ac (real_host_noncanonical): Compute. Remove special
5118 case for intelmicemul.
5119 * configure: Regenerate.
5120
cc86234f
UB
51212015-04-28 Uros Bizjak <ubizjak@gmail.com>
5122
5123 * config/frv/elf-lib.h: New file.
5124 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5125 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5126 to tm_file.
5127
51282015-04-28 Uros Bizjak <ubizjak@gmail.com>
5129
5130 * config/frv/frvbengin.c: Do not include defaults.h
5131 * config/frv/frvend.c: Ditto.
5132
2f6bd6eb
YS
51332015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5134
5135 * config.host: Add h8300-*-linux
5136 * config/h8300/t-linux: New file.
5137 * config/h8300/lib1funs.s: Change symbol prefix.
5138 * config/h8300/sfp-machine.h: 64bit double support.
5139
15aa7b44
GR
51402015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5141 Szabolcs Nagy <szabolcs.nagy@arm.com>
5142
5143 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5144 Linux if target provides dl_iterate_phdr.
5145
abd0cdc9
L
51462015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5147
5148 PR target/65612
5149 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5150 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5151 (__cpu_indicator_init@GCC_4.8.0): New.
5152 (__cpu_model@GCC_4.8.0): Likewise.
5153 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5154 -DUSE_ELF_SYMVER.
5155
72ed1126
NC
51562015-04-16 Nick Clifton <nickc@redhat.com>
5157
5158 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5159 and __modhi3 functions.
5160 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5161 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5162
d26b2237
CG
51632015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5164
5165 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5166 do-while loop as macro body to avoid warnings.
5167
cacf1f59
JJ
51682015-04-10 Jakub Jelinek <jakub@redhat.com>
5169 Iain Sandoe <iain@codesourcery.com>
5170
5171 PR target/65351
5172 * configure: Regenerate.
5173
e8a4ed3b
JJ
51742015-04-07 Jakub Jelinek <jakub@redhat.com>
5175 Iain Sandoe <iain@codesourcery.com>
5176
5177 PR target/65351
5178 * configure: Regenerate.
5179
0341335e
CLT
51802015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5181
5182 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5183
590e2636 51842015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 5185
590e2636
MF
5186 Implement call0 ABI for xtensa
5187 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5188 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5189 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5190 use ret in call0 ABI.
5191 * config/xtensa/t-windowed: New file.
5192 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5193 * libgcc/configure: Regenerated.
5194 * libgcc/configure.ac: Check if xtensa target is configured for
5195 windowed ABI and thus needs to use custom unwind code.
5196
7727f8f2
JW
51972015-02-12 Jonathan Wakely <jwakely@redhat.com>
5198
5199 PR libgcc/64885
5200 * gthr-single.h: Use __unused__ attribute instead of unused.
5201 * config/gthr-vxworks.h: Likewise.
5202 * config/i386/gthr-win32.h: Likewise.
5203
0e4a0def
KT
52042015-02-27 Kai Tietz <ktietz@redhat.com>
5205
5206 PR target/65038
5207 * config.in: Regenerated.
5208 * configure: Likewise.
5209 * configure.ac (AC_HEADER_STDC): Added explicit.
5210 (AC_CHECK_HEADERS): Check for default headers plus
5211 for ftw.h header.
5212 * libgcov-util.c (gcov_read_profile_dir): Disable use
5213 of ftw-function, if header is not found.
5214 (ftw_read_file): Likewise.
5215
b6530d0a
TS
52162015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5217
5218 PR target/65181
5219 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5220 -Dinhibit_libc.
5221
53cfb467
SL
52222015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5223
5224 * config/arm/bpabi.S (test_div_by_zero): Make label names
5225 consistent between thumb2 and arm mode cases. Separate the
5226 signed comparison on the high word of the numerator from the
5227 unsigned comparison on the low word.
5228 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5229 signed comparison.
5230
77d10a1b
JM
52312015-02-17 Joseph Myers <joseph@codesourcery.com>
5232
5233 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5234 and <string.h>.
5235 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5236
98174188
RE
52372015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5238
5239 PR gcov-profile/61889
471274de 5240 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 5241
771bef14
NC
52422015-02-02 Nick Clifton <nickc@redhat.com>
5243
5244 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5245 rounding up the fraction.
5246
40702893
JDA
52472015-01-31 John David Anglin <danglin@gcc.gnu.org>
5248
5249 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5250 oldval and newval to const void *. Fix typo.
5251 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5252 (FETCH_AND_OP_WORD): Likewise.
5253 (OP_AND_FETCH_WORD): Likewise.
5254 (COMPARE_AND_SWAP_2): Likewise.
5255 (__sync_val_compare_and_swap_4): Likewise.
5256 (__sync_lock_test_and_set_4): Likewise.
5257 (SYNC_LOCK_RELEASE_2): Likewise.
5258 Remove support for long long atomic operations.
5259
f7f049fa
CT
52602015-01-27 Caroline Tice <cmtice@google.com>
5261
5262 Committing VTV Cywin/Ming patch for Patrick Wollgast
5263 * Makefile.in: Move rules to build vtv_*.o out of the check
5264 for CUSTOM_CRTSTUFF.
5265 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5266 i[34567]86-*-mingw*)
5267 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5268 enable_vtable_verify.
5269
8410904a
NC
52702015-01-27 Nick Clifton <nickc@redhat.com>
5271
5272 * config/rl78/cmpsi2.S: Use function start and end macros.
5273 (__gcc_bcmp): New function.
5274 * config/rl78/lshrsi3.S: Use function start and end macros.
5275 * config/rl78/mulsi3.S: Add support for G10.
5276 (__mulqi3): New function for G10.
5277 * config/rl78/signbit.S: Use function start and end macros.
5278 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5279 fpmath-sf.S.
5280 (LIB2FUNCS_EXCLUDE): Define.
5281 (LIB2FUNCS_ST): Define.
5282 * config/rl78/trampoline.S: Use function start and end macros.
5283 * config/rl78/vregs.h (START_FUNC): New macro.
5284 (START_ANOTHER_FUNC): New macro.
5285 (END_FUNC): New macro.
5286 (END_ANOTHER_FUNC): New macro.
5287 * config/rl78/bit-count.S: New file. Contains assembler
5288 implementations of the bit counting functions: ___clzhi2,
5289 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5290 __paritysi2, __popcounthi2 and __popcountsi2.
5291 * config/rl78/fpbit-sf.S: New file. Contains assembler
5292 implementationas of the math functions: __negsf2, __cmpsf2,
5293 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5294 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5295 * config/rl78/fpmath-sf.S: New file. Contains assembler
5296 implementations of the math functions: __subsf3, __addsf3,
5297 __mulsf3 and __divsf3
5298
f962fbf1
RO
52992015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5300
5301 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5302 Add i386/elf-lib.h to tm_file.
5303 * config/i386/elf-lib.h: Fix comment.
5304 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5305 && __sun__ && __svr4__]: Remove workaround.
5306
939911c5
ASJ
53072015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5308
5309 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5310 FEATURE_BMI2.
5311 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5312
c8f2dff2
L
53132015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5314
5315 * config/i386/cpuinfo.c (processor_subtypes): Add
5316 INTEL_COREI7_BROADWELL.
5317 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5318 model numbers.
5319
7bbf9734
UB
53202015-01-23 Uros Bizjak <ubizjak@gmail.com>
5321
5322 * config/i386/elf-lib.h: New file.
5323 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5324 Wrap definition in #ifdef __i386__.
5325 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5326 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5327 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5328 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5329 to tm_file.
5330
324820f1
CG
53312015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5332
5333 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5334 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5335
a9ce4e4a
CLT
53362015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5337
5338 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5339 Update rt_sigframe format and address for current Nios II
5340 Linux conventions.
5341
82a19768
AT
53422015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5343
5344 * config.host (arm*-*-freebsd*): Add new configuration for
5345 arm*-*-freebsd*.
5346 * config/arm/freebsd-atomic.c: New file.
5347 * config/arm/t-freebsd: Likewise.
5348 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5349 'PC-relative indirect' OS's.
5350
0969ec7d
EB
53512015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5352
5353 * config.host: Add Visium support.
5354 * config/visium: New directory.
5355
5624e564
JJ
53562015-01-05 Jakub Jelinek <jakub@redhat.com>
5357
5358 Update copyright years.
5359
82f84ecb
MF
53602014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5361
5362 * config.host: Support mipsisa32r6 and mipsisa64r6.
5363 * config/mips/mips16.S: Do not build for R6.
5364
69044fa9
OE
53652014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5366
5367 * config/sh/crt.h: New.
5368 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5369 symbols.
5370 * config/sh/crt1.S: Likewise.
5371
2405e0ea
UB
53722014-12-15 Uros Bizjak <ubizjak@gmail.com>
5373
5374 PR libgcc/63832
5375 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5376 func_ptr *dtor_list temporary variable to avoid "array subscript
5377 is above array bounds" warnings.
5378
7d296953 53792014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
5380
5381 * Makefile.in (with_aix_soname): Define.
5382 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5383 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5384 * configure: Recreate.
5385
a66272f6
OH
53862014-12-05 Olivier Hainque <hainque@adacore.com>
5387
5388 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5389 now provided by defaults.h.
5390
6342b2c5
OE
53912014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5392
7d0ee249 5393 PR target/55351
6342b2c5
OE
5394 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5395 whether it's defined.
5396
c17eac85
IT
53972014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5398
5399 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5400 * config/i386/cpuinfo.c (get_available_features): Detect it.
5401
1025cb6c
TW
54022014-11-27 Tony Wang <tony.wang@arm.com>
5403
5404 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5405 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5406 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5407
d19f2e38
SB
54082014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5409
5410 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5411
17f6e9a3
JDA
54122014-11-24 John David Anglin <danglin@gcc.gnu.org>
5413
5414 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5415 instead.
5416
0cd7c672
GM
54172014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5418 John David Anglin <danglin@gcc.gnu.org>
5419
5420 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5421 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5422 (OP_AND_FETCH_2): Likewise.
5423 (COMPARE_AND_SWAP_2): Likewise.
5424 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5425 (SYNC_LOCK_RELEASE_2): Likewise.
5426 (SUBWORD_SYNC_OP): Remove.
5427 (SUBWORD_VAL_CAS): Likewise.
5428 (SUBWORD_BOOL_CAS): Likewise.
5429 (FETCH_AND_OP_WORD): Update.
5430 Consistently use signed types.
cc86234f 5431
85c64bbe
BS
54322014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5433 Thomas Schwinge <thomas@codesourcery.com>
5434 Ilya Verbin <ilya.verbin@intel.com>
5435 Andrey Turetskiy <andrey.turetskiy@intel.com>
5436
5437 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5438 (crtoffloadend$(objext)): Likewise.
5439 * configure: Regenerate.
5440 * configure.ac (accel_dir_suffix): Compute new variable.
5441 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5442 if enable_offload_targets is not empty.
5443 * offloadstuff.c: New file.
5444
52a1ff8b
NC
54452014-11-13 Nick Clifton <nickc@redhat.com>
5446
5447 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5448 Use START_FUNC and END_FUNC macros to enable linker garbage
5449 collection.
5450 * config/rl78/divmodqi.S: Likewise.
5451 * config/rl78/divmodsi.S: Likewise.
5452 * config/rl78/mulsi3.S: Likewise.
5453 * config/rl78/lib2div.c: Remove G10 functions.
5454 * config/rl78/lib2muls.c: Likewise.
5455 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5456 * config/rl78/vregs.h (START_FUNC): New macro.
5457 (END_FUNC): New macro.
5458
050af144
MF
54592014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5460
5461 * config/mips/mips16.S: Set .module when supported. Update O32
5462 FP64 calling convention and use for FPXX when possible. Add FPXX
5463 calling convention fallback case.
5464
738f2522
BS
54652014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5466
5467 * config.host: Handle nvptx-*-*.
5468 * shared-object.mk (as-flags-$o): Define.
5469 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5470 -xassembler-with-cpp.
5471 * static-object.mk: Identical changes.
5472 * config/nvptx/t-nvptx: New file.
5473 * config/nvptx/crt0.s: New file.
5474 * config/nvptx/free.asm: New file.
5475 * config/nvptx/malloc.asm: New file.
5476 * config/nvptx/realloc.c: New file.
5477
e610393c
JM
54782014-10-30 Joseph Myers <joseph@codesourcery.com>
5479
5480 * Makefile.in (libgcc.map.in): New target.
5481 (libgcc.map): Use libgcc.map.in.
5482 * config/t-softfp (softfp_compat): New variable to be set by
5483 users.
5484 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5485 variables.
5486 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5487 directory.
5488 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5489 that use compat symbols and disable all code unless [SHARED].
5490 * config/t-softfp-compat: New file.
5491 * find-symver.awk: New file.
5492 * configure.ac (--with-glibc-version): New configure option.
5493 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5494 * configure: Regenerate.
5495 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5496 soft-float and e500.
5497
bc1b3a88
JM
54982014-10-29 Joseph Myers <joseph@codesourcery.com>
5499
5500 * config/t-hardfp (hardfp_exclusions): Document new variable for
5501 user to define.
5502 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5503 * config/t-softfp (softfp_extras): Document new variable for user
5504 to define.
5505 (softfp_func_list): Add functions from $(softfp_extras).
5506 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5507 * config.host (powerpc*-*-linux*): For e500v1, use
5508 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5509 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5510 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5511
ef2810c1
JDA
55122014-10-26 John David Anglin <danglin@gcc.gnu.org>
5513
5514 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5515 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5516 memory read accesses are ok.
5517
d80c2bea
JM
55182014-10-25 Joseph Myers <joseph@codesourcery.com>
5519
5520 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5521 * configure: Regenerate.
5522 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5523 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5524 of soft-fp for 32-bit classic hard float. Do not use
5525 t-softfp-excl for soft float.
5526
693b297b
JM
55272014-10-22 Joseph Myers <joseph@codesourcery.com>
5528
5529 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5530 configurations.
5531 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5532 Remove variables.
5533
18a3415e
GJL
55342014-10-22 Georg-Johann Lay <avr@gjlay.de>
5535
5536 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5537 introduced with 2014-10-21 trunk r216525.
5538
c1dd9790 55392014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
5540 Vidya Praveen <vidya.praveen@atmel.com>
5541 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5542 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5543 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
5544
5545 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5546 order.
5547
5548 Updated library functions for AVRTINY arch.
5549 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5550 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5551 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5552 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5553 wsubi/wadi macors.
5554 (__mulsi3_helper): Update stack, preserve callee saved regs and
5555 argument from stack. Restore callee save registers.
5556 (__mulpsi3): Likewise.
5557 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5558 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 5559 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
5560 AVRTINY.
5561 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5562 (__do_copy_data): Added new definition for AVRTINY.
5563 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5564 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5565 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5566 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5567 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5568 macors.
18a3415e 5569 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
5570 AVRTINY.
5571
18a3415e 5572 Fix broken long multiplication on tiny arch.
c1dd9790 5573
5f606431
JM
55742014-10-09 Joseph Myers <joseph@codesourcery.com>
5575
5576 * soft-fp/double.h: Update from glibc.
5577 * soft-fp/eqdf2.c: Likewise.
5578 * soft-fp/eqsf2.c: Likewise.
5579 * soft-fp/eqtf2.c: Likewise.
5580 * soft-fp/extenddftf2.c: Likewise.
5581 * soft-fp/extended.h: Likewise.
5582 * soft-fp/extendsfdf2.c: Likewise.
5583 * soft-fp/extendsftf2.c: Likewise.
5584 * soft-fp/extendxftf2.c: Likewise.
5585 * soft-fp/gedf2.c: Likewise.
5586 * soft-fp/gesf2.c: Likewise.
5587 * soft-fp/getf2.c: Likewise.
5588 * soft-fp/ledf2.c: Likewise.
5589 * soft-fp/lesf2.c: Likewise.
5590 * soft-fp/letf2.c: Likewise.
5591 * soft-fp/op-1.h: Likewise.
5592 * soft-fp/op-2.h: Likewise.
5593 * soft-fp/op-4.h: Likewise.
5594 * soft-fp/op-8.h: Likewise.
5595 * soft-fp/op-common.h: Likewise.
5596 * soft-fp/quad.h: Likewise.
5597 * soft-fp/single.h: Likewise.
5598 * soft-fp/soft-fp.h: Likewise.
5599 * soft-fp/unorddf2.c: Likewise.
5600 * soft-fp/unordsf2.c: Likewise.
5601 * soft-fp/unordtf2.c: Likewise.
5602 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5603 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5604 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5605 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5606 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5607 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5608 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5609 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5610 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5611 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5612
9b84e7a8
RX
56132014-10-08 Rong Xu <xur@google.com>
5614
5615 * libgcov-util.c (read_gcda_file): Fix format.
5616 (find_match_gcov_info): Ditto.
5617 (calculate_2_entries): New.
5618 (compute_one_gcov): Ditto.
5619 (gcov_info_count_all_cold): Ditto.
5620 (gcov_info_count_all_zero): Ditto.
5621 (extract_file_basename): Ditto.
5622 (get_file_basename): Ditto.
5623 (set_flag): Ditto.
5624 (matched_gcov_info): Ditto.
5625 (calculate_overlap): Ditto.
5626 (gcov_profile_overlap): Ditto.
5627 * libgcov-driver.c (compute_summary): Make
5628 it avavilable for external calls.
5629
fe1090c1
RX
56302014-10-06 Rong Xu <xur@google.com>
5631
5632 * Makefile.in: Ditto.
5633 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5634 (gcov_sort_icall_topn_counter): Ditto.
5635 (gcov_sort_topn_counter_arrays): Ditto.
5636 (dump_one_gcov): Sort indirect_call topn counters.
5637 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5638 function.
5639 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5640 utility function.
5641 (__gcov_indirect_call_topn_profiler): New profiler function.
5642 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5643 * libgcov.h: New decls.
5644
3daa7bbf
TS
56452014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5646
5647 * config.host: Remove support for score-*.
5648
9a79452d
JM
56492014-09-22 Joseph Myers <joseph@codesourcery.com>
5650
5651 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5652 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5653 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5654 __LIBGCC_XF_MANT_DIG__.
5655 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5656 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5657 __LIBGCC_TF_MANT_DIG__.
5658 * libgcc2.c (NOTRUNC): Define in terms of
5659 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5660 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5661
1a849e50
JM
56622014-09-22 Joseph Myers <joseph@codesourcery.com>
5663
5664 PR target/63312
5665 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5666 New macros.
5667
598a1586
HPN
56682014-09-22 Hans-Peter Nilsson <hp@axis.com>
5669
5670 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5671 override USE_PT_GNU_EH_FRAME.
5672 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5673 check USE_EH_FRAME_REGISTRY_ALWAYS against
5674 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5675 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5676 variable for substituted force_explicit_eh_registry.
5677 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5678 * configure.ac (explicit-exception-frame-registration):
5679 New AC_ARG_ENABLE.
5680 * configure: Regenerate.
5681
3a8fe7c6
OH
56822014-09-19 Olivier Hainque <hainque@adacore.com>
5683
5684 * config.host (powerpc-wrs-vxworksmils): New configuration,
5685 same as vxworksae.
5686
dd69f047
JM
56872014-09-18 Joseph Myers <joseph@codesourcery.com>
5688
5689 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5690
e770bfd9
JM
56912014-09-18 Joseph Myers <joseph@codesourcery.com>
5692
5693 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5694 bits not set bits as indicating trapping exceptions.
5695
cadb2b96
NS
56962014-09-17 Nathan sidwell <nathan@acm.org>
5697
5698 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5699 (LIBGCOV_DRIVER): ... here.
5700 * libgcov-driver.c (gcov_master): New.
5701 (gcov_exit): Remove from master chain.
5702 (__gcov_init): Add to master chain if version compatible. Don't
5703 clear the version.
5704 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5705 (gcov_reset_int): Clear master chain, if compatible.
5706 (gcov_dump_int): New internal interface. Dump master chain, if
5707 compatible.
5708 (gcov_dump): Alias for gcov_dump_int.
5709 * libgcov.h (struct gcov_root): Add next and prev fields.
5710 (struct gcov_master): New struct.
5711 (__gcov_master): New.
5712 (gcov_dump_int): Declare.
5713
580d22a3
OH
57142014-09-17 Olivier Hainque <hainque@adacore.com>
5715
5716 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5717 and crtbegin.o + crtend.o to extra_parts.
5718
8cc4b7a2
JM
57192014-09-12 Joseph Myers <joseph@codesourcery.com>
5720
5721 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5722 __LIBGCC_HAS_SF_MODE__.
5723 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5724 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5725 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5726 * config/libbid/bid_gcc_intrinsics.h
5727 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5728 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5729 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5730 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5731 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5732 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5733
ea3f2b24
GJL
57342014-09-11 Georg-Johann Lay <avr@gjlay.de>
5735
5736 PR target/63223
5737 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5738 and R24 as needed. Make work for all devices and .text locations.
5739 (__do_global_ctors, __do_global_dtors): Use word addresses.
5740 (__tablejump__, __tablejump_elpm__): Remove functions.
5741 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5742 Add _tablejump2.
5743 (XICALL, XIJMP): New macros.
5744
b677236a
MS
57452014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5746 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5747
5748 * config.host (aarch64*): Include crtfastmath.o and
5749 t-crtfm.
5750 * config/aarch64/crtfastmath.c: New file.
5751
157e859f
TS
57522014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5753
5754 * config.host: Remove picochip support.
5755 * config/picochip/adddi3.S: Remove.
5756 * config/picochip/ashlsi3.S: Remove.
5757 * config/picochip/ashlsi3.c: Remove.
5758 * config/picochip/ashrsi3.S: Remove.
5759 * config/picochip/ashrsi3.c: Remove.
5760 * config/picochip/clzsi2.S: Remove.
5761 * config/picochip/cmpsi2.S: Remove.
5762 * config/picochip/divmod15.S: Remove.
5763 * config/picochip/divmodhi4.S: Remove.
5764 * config/picochip/divmodsi4.S: Remove.
5765 * config/picochip/lib1funcs.S: Remove.
5766 * config/picochip/longjmp.S: Remove.
5767 * config/picochip/lshrsi3.S: Remove.
5768 * config/picochip/lshrsi3.c: Remove.
5769 * config/picochip/parityhi2.S: Remove.
5770 * config/picochip/popcounthi2.S: Remove.
5771 * config/picochip/setjmp.S: Remove.
5772 * config/picochip/subdi3.S: Remove.
5773 * config/picochip/t-picochip: Remove.
5774 * config/picochip/ucmpsi2.S: Remove.
5775 * config/picochip/udivmodhi4.S: Remove.
5776 * config/picochip/udivmodsi4.S: Remove.
5777
66bb34c0
JM
57782014-09-08 Joseph Myers <joseph@codesourcery.com>
5779
5780 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5781 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5782 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5783 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5784 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5785 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5786 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5787 defined and LIBGCC2_HAS_DF_MODE is defined.
5788 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5789 defined and LIBGCC2_HAS_XF_MODE is defined.
5790 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5791 defined and LIBGCC2_HAS_TF_MODE is defined.
5792
9686a2e6
JM
57932014-09-08 Joseph Myers <joseph@codesourcery.com>
5794
5795 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5796 and ROUND_TOWARDS_ZERO conditionals.
5797
71c3e2ef
NS
57982014-09-07 Nathan sidwell <nathan@acm.org>
5799
5800 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5801 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5802
53d68b9f
JM
58032014-09-05 Joseph Myers <joseph@codesourcery.com>
5804
5805 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5806 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5807 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5808 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5809 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5810 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5811 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5812 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5813 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5814 (DWARF_FRAME_REGISTERS): Change all uses to
5815 __LIBGCC_DWARF_FRAME_REGISTERS__.
5816 (EH_RETURN_STACKADJ_RTX): Change all uses to
5817 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5818 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5819 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5820 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5821 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5822 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5823 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5824 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5825 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5826 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5827 __LIBGCC_STACK_POINTER_REGNUM__.
5828 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5829 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5830 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5831 to __LIBGCC_STACK_POINTER_REGNUM__.
5832 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5833 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5834 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5835 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5836 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5837 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5838 (STACK_POINTER_REGNUM): Change all uses to
5839 __LIBGCC_STACK_POINTER_REGNUM__.
5840 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5841 use to __LIBGCC_STACK_POINTER_REGNUM__.
5842 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5843 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5844 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5845 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5846 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5847 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5848 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5849 to __LIBGCC_STACK_POINTER_REGNUM__.
5850 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5851 Remove conditional definition.
5852 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5853 __LIBGCC_TEXT_SECTION_ASM_OP__.
5854 (EH_FRAME_SECTION_NAME): Change all uses to
5855 __LIBGCC_EH_FRAME_SECTION_NAME__.
5856 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5857 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5858 (CTORS_SECTION_ASM_OP): Change all uses to
5859 __LIBGCC_CTORS_SECTION_ASM_OP__.
5860 (DTORS_SECTION_ASM_OP): Change all uses to
5861 __LIBGCC_DTORS_SECTION_ASM_OP__.
5862 (JCR_SECTION_NAME): Change all uses to
5863 __LIBGCC_JCR_SECTION_NAME__.
5864 (INIT_SECTION_ASM_OP): Change all uses to
5865 __LIBGCC_INIT_SECTION_ASM_OP__.
5866 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5867 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5868 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5869 __LIBGCC_STACK_GROWS_DOWNWARD__.
5870 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5871 __LIBGCC_INIT_SECTION_ASM_OP__.
5872 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5873 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5874 (EH_FRAME_SECTION_NAME): Change all uses to
5875 __LIBGCC_EH_FRAME_SECTION_NAME__.
5876 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5877 definitions. Change all uses to
5878 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5879 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5880 __LIBGCC_STACK_GROWS_DOWNWARD__.
5881 (DWARF_FRAME_REGISTERS): Change all uses to
5882 __LIBGCC_DWARF_FRAME_REGISTERS__.
5883 (EH_RETURN_STACKADJ_RTX): Change all uses to
5884 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5885 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5886 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5887 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5888 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5889 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5890
b20ee094
NS
58912014-09-02 Nathan sidwell <nathan@acm.org>
5892
5893 * libgcov-interface.c (STRONG_ALIAS): New.
5894 (__gcov_flush): Call __gcov_reset_int.
5895 (__gcov_reset): Strong alias for ...
5896 (__gcov_reset_ing): ... this renamed hidden version.
5897 * libgcov.h (__gcov_reset_int): New declaration.
5898
1ac83976
YS
58992014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5900
25efdb9f
YS
5901 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5902 call from here...
5903 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5904 (__dso_handle): Define on Cygwin.
5905 * config/i386/t-cygming (crtbeginS.o): New rule.
5906 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5907
1ac83976
YS
5908 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5909 declaration syntax.
5910
c6f9ea3b
SE
59112014-08-13 Steve Ellcey <sellcey@mips.com>
5912
5913 * crtstuff.c: Undef caddr_t.
5914
5b1ea7c5
SE
59152014-08-12 Steve Ellcey <sellcey@mips.com>
5916
5917 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5918
4303c581
NS
59192014-08-07 Nathan Sidwell <nathan@acm.org>
5920
5921 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5922 (LIBGCOV_DRIVER): ... to here.
5923 * libgcov.h (gcov_do_dump): New #define.
5924 (struct gcov_root): New.
5925 (__gcov_root): New declaration.
5926 (__gcov_dump_one): Declare.
5927 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5928 run_accounted): Delete.
5929 (gcov_compute_histogram): Add LIST argument, adjust.
5930 (compute_summary): Adjust gcov_compute_histogram call.
5931 (gcov_do_dump): Not hidden, static in libgcov.
5932 (gcov_clear): Move to interface.c.
5933 (__gcov_dump_one): New, broken out of ...
5934 (gcov_exit): ... here. Make static.
5935 (__gcov_root): New.
5936 (__gcov_init): Adjust.
5937 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5938 declarations.
5939 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5940 (gcov_clear): Moved from driver.c. Add LIST argument.
5941 (__gcov_reset): Adjust for changed interfaces.
5942 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5943
23742a9e
RAR
59442014-08-04 Rohit <rohitarulraj@freescale.com>
5945
5946 PR target/60102
5947 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 5948 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 5949
b98a872b
NS
59502014-08-01 Nathan Sidwell <nathan@acm.org>
5951
5952 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5953 LIBGCOV_INTERFACE): Reformat.
5954 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5955 IN_GCOV_TOOL.
5956 * libgcov-interface.c: Reformat some comments.
5957 (__gcov_flush_mx): Add declaration. Tidy up definition.
5958
6adaaa1d
AM
59592014-07-31 Alan Modra <amodra@gmail.com>
5960 Peter Bergner <bergner@vnet.ibm.com>
5961
5962 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5963 (pack_ldouble): New function.
5964 (__gcc_qadd): Use it.
5965 (__gcc_qmul): Likewise.
5966 (__gcc_qdiv): Likewise.
5967 (__gcc_qneg): Likewise.
5968 (__gcc_stoq): Likewise.
5969 (__gcc_dtoq): Likewise.
5970
87cb0c0c
UW
59712014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5972
5973 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5974 (__tpf_eh_return): Add original return address as second parameter.
5975 Handle cases where unwinder routines were called directly, instead
5976 of from within the C++ library.
5977
19926161
NS
59782014-07-29 Nathan Sidwell <nathan@acm.org>
5979
5980 * libgcov.h: Move renaming of entry points to lib gcov specific
5981 portion.
5982 (gcov_do_dump): New rename.
5983 (gcov_rewrite): Remove inline, make HIDDEN.
5984 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5985 (gcov_exit_compute_summary): Rename to ...
5986 (compute_summary): ... here. Add LIST argument.
5987 (gcov_exit_merge_gcda): Rename to ...
5988 (merge_one_data): ... here.
5989 (gcov_exit_write_gcda): Rename to ...
5990 (write_one_data): ... here.
5991 (gcov_exit_merge_summary): Rename to ...
5992 (merge_summary): Add RUN_COUNTED argument.
5993 (gcov_exit_dump_gcov): Rename to ...
5994 (dump_one_gcov): Add RUN_COUNTED argument.
5995 (gcov_do_dump): New function, broken out of ...
5996 (gcov_exit): ... here. Call it.
5997
17522262
AG
59982014-07-27 Anthony Green <green@moxielogic.com>
5999
6000 * config.host: Add moxiebox configuration suppport.
6001
6dc33097
NS
60022014-07-27 Nathan Sidwell <nathan@acm.org>
6003
6004 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6005 (struct gcov_filename): ... here. Include buffer and max length
6006 fields.
6007 (gcov_max_filename): Remove.
6008 (gi_filename): Remove.
6009 (gcov_exit_compute_summary): Compute max filename here.
6010 (gcov_exit_merge_gcda): Add filename parm, adjust.
6011 (gcov_exit_merge_summary): Likewise.
6012 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6013 (gcov_exit): Likewise.
6014 (__gcov_init): Don't calculate max length here.
6015 * libgcov_util.c (max_filename_len): Remove.
6016 (read_gcda_file): Don't calculate max length here.
6017 (gcov_read_profile_dir): Don't propagate here.
6018 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6019 struct gcov_filename changes.
6020 (gcov_exit_open_gcda_file): Likewise.
6021
770f687d
NS
60222014-07-25 Nathan Sidwell <nathan@acm.org>
6023
6024 * libgcov-driver.c (set_gcov_dump_complete,
6025 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6026 functions polluting user's namespace.
6027 (gcov_exit): Set variable directly.
6028 (gcov_clear): Reset variable directly.
6029 * libgcov-interface.c (get_gcov_dymp_complete,
6030 reset_gov_dump_complete): Remove declarations.
6031 (__gcov_reset, __gcov_dump): Don't call them.
6032
fabf71ba
DD
60332014-07-24 DJ Delorie <dj@redhat.com>
6034
6035 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
6036 (__gcc_deregister_frame): Move logic to detect deregister function
6037 to ...
6038 (__gcc_register_frame): here, so it's consistent with the register
6039 logic.
fabf71ba 6040
d10ee722
NS
60412014-07-23 Nathan Sidwell <nathan@acm.org>
6042
6043 * libgcov-driver.c (set_gcov_list): Remove.
6044 (gcov_list): Make non-static in GCOV_TOOL.
6045 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6046
a4137090
JDA
60472014-07-17 John David Anglin <danglin@gcc.gnu.org>
6048
6049 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6050 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6051 Don't use SYNC_LOCK_RELEASE for int type.
6052
72602c6c
RB
60532014-07-14 Richard Biener <rguenther@suse.de>
6054
6055 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6056
d5313205
RX
60572014-07-11 Rong Xu <xur@google.com>
6058
6059 * libgcov-util.c (gcov_max_filename): Fix declartion.
6060
c77556a5
RX
60612014-07-10 Rong Xu <xur@google.com>
6062
6063 Add gcov-tool: an offline gcda profile processing tool
6064 Support.
6065 * libgcov-driver.c (gcov_max_filename): Make available
6066 to gcov-tool.
6067 * libgcov-merge.c (__gcov_merge_add): Replace
6068 gcov_read_counter() with a Macro.
6069 (__gcov_merge_ior): Ditto.
6070 (__gcov_merge_time_profile): Ditto.
6071 (__gcov_merge_single): Ditto.
6072 (__gcov_merge_delta): Ditto.
6073 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6074 in the utility functions.
6075 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6076 gcov_list object link lists.
6077 (tag_function): Ditto.
6078 (tag_blocks): Ditto.
6079 (tag_arcs): Ditto.
6080 (tag_lines): Ditto.
6081 (tag_counters): Ditto.
6082 (tag_summary): Ditto.
6083 (read_gcda_finalize): Ditto.
6084 (read_gcda_file): Ditto.
6085 (ftw_read_file): Ditto.
6086 (read_profile_dir_init): Ditto.
6087 (gcov_read_profile_dir): Ditto.
6088 (gcov_read_counter_mem): Ditto.
6089 (gcov_get_merge_weight): Ditto.
6090 (merge_wrapper): A wrapper function that calls merging handler.
6091 (gcov_merge): Merge two gcov_info objects with weights.
6092 (find_match_gcov_info): Find the matched gcov_info in the list.
6093 (gcov_profile_merge): Merge two gcov_info object lists.
6094 (__gcov_add_counter_op): Process edge profile counter values.
6095 (__gcov_ior_counter_op): Process IOR profile counter values.
6096 (__gcov_delta_counter_op): Process delta profile counter values.
6097 (__gcov_single_counter_op): Process single profile counter values.
6098 (fp_scale): Callback function for float-point scaling.
cc86234f 6099 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
6100 (gcov_profile_scale): Scaling profile counters.
6101 (gcov_profile_normalize): Normalize profile counters.
6102 * libgcov.h: Add headers and functions for gcov-tool use.
6103 (gcov_get_counter): New.
6104 (gcov_get_counter_target): Ditto.
6105 (struct gcov_info): Make the functions field mutable in gcov-tool
6106 compilation.
6107
5c7dac8a
KT
61082014-06-23 Kai Tietz <ktietz@redhat.com>
6109
6110 PR libgcc/61585
6111 * unwind-seh.c (_Unwind_GetGR): Check for proper
6112 index range.
6113 (_Unwind_SetGR): Likewise.
6114
161c9312
NC
61152014-05-22 Nick Clifton <nickc@redhat.com>
6116
6117 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6118 -mhwmult=none.
6119
e3f0315f
TJ
61202014-05-22 Teresa Johnson <tejohnson@google.com>
6121
6122 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6123 include.
6124
dbed5a9b
JM
61252014-05-20 John Marino <gnugcc@marino.st>
6126
6127 * config.host (*-*-dragonfly*): New target.
6128 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6129 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6130 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6131 * config/i386/dragonfly-unwind.h: New.
6132
1ec380e5
MR
61332014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6134
6135 PR libgcc/60166
6136 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6137 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6138
54fde020
BE
61392014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6140
6141 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6142 implementation.
6143
999db125
GJL
61442014-05-12 Georg-Johann Lay <avr@gjlay.de>
6145
6146 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6147
cceaf54a
RO
61482014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6149
6150 PR libgcc/61097
6151 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6152 if --enable-shared.
6153
e3fe9b5b
BE
61542014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6155
6156 Work around for current cygwin32 build problems.
6157 * config/i386/cygming-crtbegin.c (__register_frame_info,
6158 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6159 functions only for 64-bit systems.
6160
54cf37e9
RO
61612014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6162
6163 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6164 (sigill_caught, sigill_hdlr): Remove.
6165
d9f069ab
RO
61662014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6167
6168 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6169 check.
6170 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6171 Solaris 9 single-threaded support.
6172 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6173 Solaris 9 single-threaded support. Add call_user_handler code
6174 sequences.
6175 (sparc_is_sighandler): Likewise.
6176
59976ef8
AK
61772014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6178
6179 * config.host: Append t-floattodi to tmake_file depending on
6180 host_address.
6181
d02bbcf3
JS
61822014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6183
31466bc0 6184 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 6185
c2e7e597
UB
61862014-03-10 Uros Bizjak <ubizjak@gmail.com>
6187
6188 PR libgcc/60472
6189 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 6190 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
6191 Use __builtin_expect when checking *jcr_list for NULL.
6192
227a7dc8
RO
61932014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6194
6195 PR libgcc/59339
6196 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6197 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6198 vtv_*.o to extra_parts if enable_vtable_verify.
6199
df2b279c
NC
62002014-03-06 Nick Clifton <nickc@redhat.com>
6201
6202 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6203 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6204
dc11d79b
JY
62052014-02-28 Joey Ye <joey.ye@arm.com>
6206
6207 PR libgcc/60166
6208 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6209 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6210 Set to zero.
6211
341c653c
WL
62122014-02-24 Walter Lee <walt@tilera.com>
6213
6214 * config.host: Support "tilegx*" and "tilepro*" triplets.
6215 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6216 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6217
95ce7613
CLT
62182014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6219 Chung-Lin Tang <cltang@codesourcery.com>
6220
6221 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6222 * config/nios2/crti.S: Remove .file directive.
6223 * config/nios2/crtn.S: Likewise.
6224
0bb4fc05
KT
62252014-02-18 Kai Tietz <ktietz@redhat.com>
6226 Jonathan Schleifer <js@webkeks.org>
6227
6228 PR objc/56870
6229 * unwind-seh.c (_GCC_specific_handler): Pass proper
6230 value to unwind-handler.
6231
9acf28f1
JM
62322014-02-12 Joseph Myers <joseph@codesourcery.com>
6233
6234 * soft-fp/adddf3.c: Update from glibc.
6235 * soft-fp/addsf3.c: Likewise.
6236 * soft-fp/addtf3.c: Likewise.
6237 * soft-fp/divdf3.c: Likewise.
6238 * soft-fp/divsf3.c: Likewise.
6239 * soft-fp/divtf3.c: Likewise.
6240 * soft-fp/double.h: Likewise.
6241 * soft-fp/eqdf2.c: Likewise.
6242 * soft-fp/eqsf2.c: Likewise.
6243 * soft-fp/eqtf2.c: Likewise.
6244 * soft-fp/extenddftf2.c: Likewise.
6245 * soft-fp/extended.h: Likewise.
6246 * soft-fp/extendsfdf2.c: Likewise.
6247 * soft-fp/extendsftf2.c: Likewise.
6248 * soft-fp/extendxftf2.c: Likewise.
6249 * soft-fp/fixdfdi.c: Likewise.
6250 * soft-fp/fixdfsi.c: Likewise.
6251 * soft-fp/fixdfti.c: Likewise.
6252 * soft-fp/fixsfdi.c: Likewise.
6253 * soft-fp/fixsfsi.c: Likewise.
6254 * soft-fp/fixsfti.c: Likewise.
6255 * soft-fp/fixtfdi.c: Likewise.
6256 * soft-fp/fixtfsi.c: Likewise.
6257 * soft-fp/fixtfti.c: Likewise.
6258 * soft-fp/fixunsdfdi.c: Likewise.
6259 * soft-fp/fixunsdfsi.c: Likewise.
6260 * soft-fp/fixunsdfti.c: Likewise.
6261 * soft-fp/fixunssfdi.c: Likewise.
6262 * soft-fp/fixunssfsi.c: Likewise.
6263 * soft-fp/fixunssfti.c: Likewise.
6264 * soft-fp/fixunstfdi.c: Likewise.
6265 * soft-fp/fixunstfsi.c: Likewise.
6266 * soft-fp/fixunstfti.c: Likewise.
6267 * soft-fp/floatdidf.c: Likewise.
6268 * soft-fp/floatdisf.c: Likewise.
6269 * soft-fp/floatditf.c: Likewise.
6270 * soft-fp/floatsidf.c: Likewise.
6271 * soft-fp/floatsisf.c: Likewise.
6272 * soft-fp/floatsitf.c: Likewise.
6273 * soft-fp/floattidf.c: Likewise.
6274 * soft-fp/floattisf.c: Likewise.
6275 * soft-fp/floattitf.c: Likewise.
6276 * soft-fp/floatundidf.c: Likewise.
6277 * soft-fp/floatundisf.c: Likewise.
6278 * soft-fp/floatunditf.c: Likewise.
6279 * soft-fp/floatunsidf.c: Likewise.
6280 * soft-fp/floatunsisf.c: Likewise.
6281 * soft-fp/floatunsitf.c: Likewise.
6282 * soft-fp/floatuntidf.c: Likewise.
6283 * soft-fp/floatuntisf.c: Likewise.
6284 * soft-fp/floatuntitf.c: Likewise.
6285 * soft-fp/gedf2.c: Likewise.
6286 * soft-fp/gesf2.c: Likewise.
6287 * soft-fp/getf2.c: Likewise.
6288 * soft-fp/ledf2.c: Likewise.
6289 * soft-fp/lesf2.c: Likewise.
6290 * soft-fp/letf2.c: Likewise.
6291 * soft-fp/muldf3.c: Likewise.
6292 * soft-fp/mulsf3.c: Likewise.
6293 * soft-fp/multf3.c: Likewise.
6294 * soft-fp/negdf2.c: Likewise.
6295 * soft-fp/negsf2.c: Likewise.
6296 * soft-fp/negtf2.c: Likewise.
6297 * soft-fp/op-1.h: Likewise.
6298 * soft-fp/op-2.h: Likewise.
6299 * soft-fp/op-4.h: Likewise.
6300 * soft-fp/op-8.h: Likewise.
6301 * soft-fp/op-common.h: Likewise.
6302 * soft-fp/quad.h: Likewise.
6303 * soft-fp/single.h: Likewise.
6304 * soft-fp/soft-fp.h: Likewise.
6305 * soft-fp/subdf3.c: Likewise.
6306 * soft-fp/subsf3.c: Likewise.
6307 * soft-fp/subtf3.c: Likewise.
6308 * soft-fp/truncdfsf2.c: Likewise.
6309 * soft-fp/trunctfdf2.c: Likewise.
6310 * soft-fp/trunctfsf2.c: Likewise.
6311 * soft-fp/trunctfxf2.c: Likewise.
6312 * soft-fp/unorddf2.c: Likewise.
6313 * soft-fp/unordsf2.c: Likewise.
6314 * soft-fp/unordtf2.c: Likewise.
6315 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6316 macro.
6317 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6318 Likewise.
6319 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6320 Likewise.
6321 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6322 Likewise.
6323 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6324 Likewise.
6325 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6326 Likewise.
6327 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6328 Likewise.
6329 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6330 Likewise.
6331 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6332 Likewise.
6333 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6334 Likewise.
6335 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6336 Likewise.
6337 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6338 Likewise.
6339 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6340 Likewise.
6341 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6342 Likewise.
6343 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6344 Likewise.
6345 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6346 Likewise.
6347
ce245ec6
AK
63482014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6349
6350 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6351 cannot be represented.
6352 * config/s390/32/_fixsfdi.c: Likewise.
6353 * config/s390/32/_fixtfdi.c: Likewise.
6354 * config/s390/32/_fixunsdfdi.c: Likewise.
6355 * config/s390/32/_fixunssfdi.c: Likewise.
6356 * config/s390/32/_fixunstfdi.c: Likewise.
6357
1c51d688
RS
63582014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6359
6360 * configure.ac (libgcc_cv_mips_hard_float): New.
6361 * configure: Regenerate.
6362 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6363 t-softfp-sfdf for hard-float targets.
6364 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6365 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6366 (softfp_truncations, softfp_exclude_libgcc2): New.
6367 * config/t-hardfp: New file.
6368 * config/t-hardfp-sfdf: Likewise.
6369 * config/hardfp.c: Likewise.
6370
bbf391db
AK
63712014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6372
6373 * config.host: Include t-floattodi also for s390x.
6374 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6375 * config/s390/32/_fixsfdi.c: Likewise.
6376 * config/s390/32/_fixtfdi.c: Likewise.
6377 * config/s390/32/_fixunsdfdi.c: Likewise.
6378 * config/s390/32/_fixunssfdi.c: Likewise.
6379 * config/s390/32/_fixunstfdi.c: Likewise.
6380
91da0481
RO
63812014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6382
6383 PR target/59788
6384 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6385 (install-libgcc-unwind-map-forbuild): New target.
6386 (all): Depend on install-libgcc-unwind-map-forbuild.
6387 (install-libgcc-unwind-map): New target.
6388 (install): Depend on install-libgcc-unwind-map.
6389
02b67731
SL
63902014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6391
6392 * config/nios2/crti.S (_init): Initialize GOT pointer from
6393 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6394
1ea0a651
RS
63952014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6396
6397 * configure.ac: Check __mips64 when setting host_address.
6398 * configure: Regenerate.
6399 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6400 mips/t-mips64 and t-softfp.
6401 (mips*-*-linux*): Don't add mips/t-tpbit.
6402 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6403 (DPBIT, DPBIT_CFLAGS): Delete.
6404 * config/mips/sfp-machine.h: New file.
6405 * config/mips/t-mips64: Likewise.
6406 * config/mips/t-softfp-tf: Likewise.
6407 * config/mips/t-tpbit: Delete.
6408
f32b0061
MS
64092014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6410
6411 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6412 as long long.
6413
a5420aa4
WL
64142014-01-25 Walter Lee <walt@tilera.com>
6415
6416 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6417 config.h or system.h.
6418 (bool) Define.
6419
24534912
WL
64202014-01-25 Walter Lee <walt@tilera.com>
6421
6422 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6423 (post_atomic_barrier): Ditto.
6424 (__fetch_and_do): New macro.
6425 (__atomic_fetch_and_do): Use __fetch_and_do.
6426 (__sync_fetch_and_do): New macro.
6427 (__sync_fetch_and_add_4): New function.
6428 (__sync_fetch_and_sub_4): New function.
6429 (__sync_fetch_and_or_4): New function.
6430 (__sync_fetch_and_and_4): New function.
6431 (__sync_fetch_and_xor_4): New function.
6432 (__sync_fetch_and_nand_4): New function.
6433 (__sync_fetch_and_add_8): New function.
6434 (__sync_fetch_and_sub_8): New function.
6435 (__sync_fetch_and_or_8): New function.
6436 (__sync_fetch_and_and_8): New function.
6437 (__sync_fetch_and_xor_8): New function.
6438 (__sync_fetch_and_nand_8): New function.
6439 (__do_and_fetch): New macro.
6440 (__atomic_do_and_fetch): Use __do_and_fetch.
6441 (__sync_do_and_fetch): New macro.
6442 (__sync_add_and_fetch_4): New function.
6443 (__sync_sub_and_fetch_4): New function.
6444 (__sync_or_and_fetch_4): New function.
6445 (__sync_and_and_fetch_4): New function.
6446 (__sync_xor_and_fetch_4): New function.
6447 (__sync_nand_and_fetch_4): New function.
6448 (__sync_add_and_fetch_8): New function.
6449 (__sync_sub_and_fetch_8): New function.
6450 (__sync_or_and_fetch_8): New function.
6451 (__sync_and_and_fetch_8): New function.
6452 (__sync_xor_and_fetch_8): New function.
6453 (__sync_nand_and_fetch_8): New function.
6454 (__sync_exchange_methods): New macro.
6455 (__sync_val_compare_and_swap_4): New function.
6456 (__sync_bool_compare_and_swap_4): New function.
6457 (__sync_lock_test_and_test_4): New function.
6458 (__sync_val_compare_and_swap_8): New function.
6459 (__sync_bool_compare_and_swap_8): New function.
6460 (__sync_lock_test_and_test_8): New function.
6461 (__subword_cmpxchg_body): New macro.
6462 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6463 (__atomic_compare_exchange_2): Ditto.
6464 (__sync_subword_cmpxchg): New macro.
6465 (__sync_val_compare_and_swap_1): New function.
6466 (__sync_bool_compare_and_swap_1): New function.
6467 (__sync_val_compare_and_swap_2): New function.
6468 (__sync_bool_compare_and_swap_2): New function.
6469 (__atomic_subword): Rename to ...
6470 (__subword): ... New name.
6471 (__atomic_subword_fetch): Use __subword.
6472 (__sync_subword_fetch): New macro.
6473 (__sync_fetch_and_add_1): New function.
6474 (__sync_fetch_and_sub_1): New function.
6475 (__sync_fetch_and_or_1): New function.
6476 (__sync_fetch_and_and_1): New function.
6477 (__sync_fetch_and_xor_1): New function.
6478 (__sync_fetch_and_nand_1): New function.
6479 (__sync_fetch_and_add_2): New function.
6480 (__sync_fetch_and_sub_2): New function.
6481 (__sync_fetch_and_or_2): New function.
6482 (__sync_fetch_and_and_2): New function.
6483 (__sync_fetch_and_xor_2): New function.
6484 (__sync_fetch_and_nand_2): New function.
6485 (__sync_add_and_fetch_1): New function.
6486 (__sync_sub_and_fetch_1): New function.
6487 (__sync_or_and_fetch_1): New function.
6488 (__sync_and_and_fetch_1): New function.
6489 (__sync_xor_and_fetch_1): New function.
6490 (__sync_nand_and_fetch_1): New function.
6491 (__sync_add_and_fetch_2): New function.
6492 (__sync_sub_and_fetch_2): New function.
6493 (__sync_or_and_fetch_2): New function.
6494 (__sync_and_and_fetch_2): New function.
6495 (__sync_xor_and_fetch_2): New function.
6496 (__sync_nand_and_fetch_2): New function.
6497 (__atomic_subword_lock): Use __subword.
6498 (__sync_subword_lock): New macro.
6499 (__sync_lock_test_and_set_1): New function.
6500 (__sync_lock_test_and_set_2): New function.
6501
4d6d3bc5
WL
65022014-01-25 Walter Lee <walt@tilera.com>
6503
6504 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6505 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6506 (__atomic_subword): Ditto.
6507
cbd9890e
WL
65082014-01-25 Walter Lee <walt@tilera.com>
6509
6510 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6511 a prefix op argument.
6512 (__atomic_nand_fetch_4): Add prefix op.
6513 (__atomic_nand_fetch_8): Ditto.
6514
7d296953 65152014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
6516
6517 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6518
46dd1242
L
65192014-01-09 Rong Xu <xur@google.com>
6520
6521 * libgcov-driver.c (this_prg): make it local to save
6522 bss space.
6523 (gcov_exit_compute_summary): Ditto.
6524 (gcov_exit_merge_gcda): Ditto.
6525 (gcov_exit_merge_summary): Ditto.
6526 (gcov_exit_dump_gcov): Ditto.
6527
cc86234f 65282014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
6529
6530 * libgcov-driver.c: Use libgcov.h.
6531 (buffer_fn_data): Use xmalloc instead of malloc.
6532 (gcov_exit_merge_gcda): Ditto.
6533 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6534 * libgcov.h: New common header files for libgcov-*.h.
6535 * libgcov-interface.c: Use libgcov.h
6536 * libgcov-merge.c: Ditto.
6537 * libgcov-profiler.c: Ditto.
6538 * Makefile.in: Add dependence to libgcov.h
6539
a02e7bdd
JM
65402014-01-02 Joseph Myers <joseph@codesourcery.com>
6541
6542 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6543 case of small numerator and finite nonzero result.
6544
ac1dca3c
RS
65452014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6546
6547 Update copyright years
6548
f9030485
RS
65492014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6550
6551 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6552 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6553 config/arc/dp-hack.h, config/arc/fp-hack.h,
6554 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6555 config/arc/ieee-754/arc600-dsp/divdf3.S,
6556 config/arc/ieee-754/arc600-dsp/divsf3.S,
6557 config/arc/ieee-754/arc600-dsp/muldf3.S,
6558 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6559 config/arc/ieee-754/arc600-mul64/divdf3.S,
6560 config/arc/ieee-754/arc600-mul64/divsf3.S,
6561 config/arc/ieee-754/arc600-mul64/muldf3.S,
6562 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6563 config/arc/ieee-754/arc600/divsf3.S,
6564 config/arc/ieee-754/arc600/mulsf3.S,
6565 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6566 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6567 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6568 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6569 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6570 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6571 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6572 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6573 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6574 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6575 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6576 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6577 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6578 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6579 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6580 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6581 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6582 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6583 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6584 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6585 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6586 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6587 vtv_start_preinit.c: Use the standard form for the copyright notice.
6588
e430824f
CLT
65892013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6590 Chung-Lin Tang <cltang@codesourcery.com>
6591 Based on patches from Altera Corporation
6592
6593 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6594 * config/nios2/lib2-nios2.h: New file.
6595 * config/nios2/lib2-divmod-hi.c: New file.
6596 * config/nios2/linux-unwind.h: New file.
6597 * config/nios2/lib2-divmod.c: New file.
6598 * config/nios2/linux-atomic.c: New file.
6599 * config/nios2/t-nios2: New file.
6600 * config/nios2/crti.asm: New file.
6601 * config/nios2/t-linux: New file.
6602 * config/nios2/lib2-divtable.c: New file.
6603 * config/nios2/lib2-mul.c: New file.
6604 * config/nios2/tramp.c: New file.
6605 * config/nios2/crtn.asm: New file.
6606
1879e97f
UB
66072013-12-26 Uros Bizjak <ubizjak@gmail.com>
6608
6609 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6610 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6611 from cpuid.h to check vendor signatures.
6612
f4a4bdbb
GG
66132013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6614
c2e7e597 6615 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
6616 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6617 (get_amd_cpu): Likewise.
6618
8d2ae544
L
66192013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6620
6621 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6622 Haswell.
6623
74924838
ASJ
66242013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6625 H.J. Lu <hongjiu.lu@intel.com>
6626
0bb52f25
L
6627 PR target/59422
6628 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
6629 and AMD_JAGUAR.
6630 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6631 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6632 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6633 FEATURE_XOP and FEATURE_FMA.
6634 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6635 AMDFAM15H_BDVER3.
6636 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 6637 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
6638 FEATURE_FMA4 and FEATURE_XOP.
6639
d3c11974
L
66402013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6641
6642 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6643 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6644 (get_intel_cpu): Updated.
6645
064c4ff2
ZC
66462013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6647
6648 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6649
8b02e720
UB
66502013-12-09 Uros Bizjak <ubizjak@gmail.com>
6651
6652 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 6653 instructions when __SSE_MATH__ is defined.
8b02e720 6654
3fa2ccb4
RC
66552013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6656
6657 * config.host (microblaze-*-rtems*): New.
6658
ecd78fc9
KV
66592013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6660
6661 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6662 architectures that do not have hardware divide instruction.
6663 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6664
b21fbbd2
RS
66652013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6666
6667 * longlong.h: Delete (moved to include/).
6668
b03fb8c9
AZ
66692013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6670
6671 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6672 of normal number and qNaN to not raise an inexact exception.
6673
3c716922
UB
66742013-11-28 Uros Bizjak <ubizjak@gmail.com>
6675
6676 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6677
66782013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
6679
6680 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6681 for correct opcodes on BE.
6682
a3458d22
UB
66832013-11-27 Uros Bizjak <ubizjak@gmail.com>
6684
6685 * soft-fp/op-4.h: Update from glibc.
6686
30b8f78b
KV
66872013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6688
6689 * libgcc2.c (__udivmoddi4): Define new implementation when
6690 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6691 divide instructions.
6692
82552a29
OE
66932013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6694
6695 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6696
80e87457
RO
66972013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6698
6699 * config/t-softfp (soft-fp-objects-base): New variable.
6700 (soft-fp-objects): Use it.
6701
44178879
DE
67022013-11-23 David Edelson <dje.gcc@gmail.com>
6703 Andrew Dixie <andrewd@gentrack.com>
6704
6705 PR target/33704
6706 * config/rs6000/aixinitfini.c: New file.
6707 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6708 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6709 symbols.
6710
e5287671
YR
67112013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6712
a3458d22 6713 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 6714
867c8b03
JH
67152013-11-18 Jan Hubicka <jh@suse.cz>
6716
7f369373
JH
6717 * libgcov-driver.c (run_accounted): Make global level static.
6718 (gcov_exit_merge_summary): Silence warning; do not clear
6719 run_accounted here.
6720 (gcov_exit): Clear it here.
6721
1d0b3334
JH
6722 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6723 run_accounted.
6724
867c8b03
JH
6725 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6726 (all_prg, crc32): Remove static vars.
6727 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6728 all_prg.
6729 (gcov_exit_merge_gcda): Add crc32 parameter.
6730 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6731 do not account run if it was already accounted.
6732 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6733 (gcov_exit): Initialize all_prg; update.
6734
66204992
AS
67352013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6736
6737 * configure: Regenerate.
6738
b54214fe
UW
67392013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6740 Alan Modra <amodra@gmail.com>
6741
6742 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6743 (frob_update_context): Use it.
6744
67452013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6746 Alan Modra <amodra@gmail.com>
6747
6748 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6749 (trampoline_initial): Provide ELFv2 variant.
6750 (__trampoline_setup): Likewise.
6751
6752 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6753 check for AIX indirect function call sequence if _CALL_ELF == 2.
6754
67552013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6756 Alan Modra <amodra@gmail.com>
6757
6758 * config/rs6000/linux-unwind.h (get_regs): Do not support
6759 old kernel versions if _CALL_ELF == 2.
6760 (frob_update_context): Do not support PLT stub variants only
6761 generated by old linkers if _CALL_ELF == 2.
6762
13e0981a
UW
67632013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6764 Alan Modra <amodra@gmail.com>
6765
6766 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6767 location of CR save area for 64-bit little-endian systems.
6768
1a80085d
EB
67692013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6770
6771 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6772 in tmake_file.
6773 * config/arm/t-vxworks: Delete.
6774
cabeea52
KT
67752013-11-10 Kai Tietz <ktietz@redhat.com>
6776
6777 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6778 Increment load-count on use of LIBGCC_SONAME DLL.
6779 (hmod_libgcc): New static variable to hold handle of
6780 LIBGCC_SONAME DLL.
6781 (__gcc_deregister_frame): Decrement load-count of
6782 LIBGCC_SONAME DLL.
6783
ac088ba1
BRF
67842013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6785
6786 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6787 availability.
6788 * configure: Regenerate
6789
d59a8fcc
UB
67902013-11-07 Uros Bizjak <ubizjak@gmail.com>
6791
6792 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6793 FP_EX_DENORM. Store result to volatile location after SSE division
6794 to close interrupt window. Remove unneeded fwait after x87
6795 division since interrupt window will be closed by emitted fstp.
9de84e84 6796 Rewrite FP_EX_INEXACT handling.
d59a8fcc 6797
9954c743
JM
67982013-11-06 Joseph Myers <joseph@codesourcery.com>
6799
6800 * soft-fp/README: Update.
6801 * soft-fp/adddf3.c: Update from glibc.
6802 * soft-fp/addsf3.c: Likewise.
6803 * soft-fp/addtf3.c: Likewise.
6804 * soft-fp/divdf3.c: Likewise.
6805 * soft-fp/divsf3.c: Likewise.
6806 * soft-fp/divtf3.c: Likewise.
6807 * soft-fp/double.h: Likewise.
6808 * soft-fp/eqdf2.c: Likewise.
6809 * soft-fp/eqsf2.c: Likewise.
6810 * soft-fp/eqtf2.c: Likewise.
6811 * soft-fp/extenddftf2.c: Likewise.
6812 * soft-fp/extended.h: Likewise.
6813 * soft-fp/extendsfdf2.c: Likewise.
6814 * soft-fp/extendsftf2.c: Likewise.
6815 * soft-fp/extendxftf2.c: Likewise.
6816 * soft-fp/fixdfdi.c: Likewise.
6817 * soft-fp/fixdfsi.c: Likewise.
6818 * soft-fp/fixdfti.c: Likewise.
6819 * soft-fp/fixsfdi.c: Likewise.
6820 * soft-fp/fixsfsi.c: Likewise.
6821 * soft-fp/fixsfti.c: Likewise.
6822 * soft-fp/fixtfdi.c: Likewise.
6823 * soft-fp/fixtfsi.c: Likewise.
6824 * soft-fp/fixtfti.c: Likewise.
6825 * soft-fp/fixunsdfdi.c: Likewise.
6826 * soft-fp/fixunsdfsi.c: Likewise.
6827 * soft-fp/fixunsdfti.c: Likewise.
6828 * soft-fp/fixunssfdi.c: Likewise.
6829 * soft-fp/fixunssfsi.c: Likewise.
6830 * soft-fp/fixunssfti.c: Likewise.
6831 * soft-fp/fixunstfdi.c: Likewise.
6832 * soft-fp/fixunstfsi.c: Likewise.
6833 * soft-fp/fixunstfti.c: Likewise.
6834 * soft-fp/floatdidf.c: Likewise.
6835 * soft-fp/floatdisf.c: Likewise.
6836 * soft-fp/floatditf.c: Likewise.
6837 * soft-fp/floatsidf.c: Likewise.
6838 * soft-fp/floatsisf.c: Likewise.
6839 * soft-fp/floatsitf.c: Likewise.
6840 * soft-fp/floattidf.c: Likewise.
6841 * soft-fp/floattisf.c: Likewise.
6842 * soft-fp/floattitf.c: Likewise.
6843 * soft-fp/floatundidf.c: Likewise.
6844 * soft-fp/floatundisf.c: Likewise.
6845 * soft-fp/floatunditf.c: Likewise.
6846 * soft-fp/floatunsidf.c: Likewise.
6847 * soft-fp/floatunsisf.c: Likewise.
6848 * soft-fp/floatunsitf.c: Likewise.
6849 * soft-fp/floatuntidf.c: Likewise.
6850 * soft-fp/floatuntisf.c: Likewise.
6851 * soft-fp/floatuntitf.c: Likewise.
6852 * soft-fp/gedf2.c: Likewise.
6853 * soft-fp/gesf2.c: Likewise.
6854 * soft-fp/getf2.c: Likewise.
6855 * soft-fp/ledf2.c: Likewise.
6856 * soft-fp/lesf2.c: Likewise.
6857 * soft-fp/letf2.c: Likewise.
6858 * soft-fp/muldf3.c: Likewise.
6859 * soft-fp/mulsf3.c: Likewise.
6860 * soft-fp/multf3.c: Likewise.
6861 * soft-fp/negdf2.c: Likewise.
6862 * soft-fp/negsf2.c: Likewise.
6863 * soft-fp/negtf2.c: Likewise.
6864 * soft-fp/op-1.h: Likewise.
6865 * soft-fp/op-2.h: Likewise.
6866 * soft-fp/op-4.h: Likewise.
6867 * soft-fp/op-8.h: Likewise.
6868 * soft-fp/op-common.h: Likewise.
6869 * soft-fp/quad.h: Likewise.
6870 * soft-fp/single.h: Likewise.
6871 * soft-fp/soft-fp.h: Likewise.
6872 * soft-fp/subdf3.c: Likewise.
6873 * soft-fp/subsf3.c: Likewise.
6874 * soft-fp/subtf3.c: Likewise.
6875 * soft-fp/truncdfsf2.c: Likewise.
6876 * soft-fp/trunctfdf2.c: Likewise.
6877 * soft-fp/trunctfsf2.c: Likewise.
6878 * soft-fp/trunctfxf2.c: Likewise.
6879 * soft-fp/unorddf2.c: Likewise.
6880 * soft-fp/unordsf2.c: Likewise.
6881 * soft-fp/unordtf2.c: Likewise.
6882
02ac9503
UB
68832013-11-05 Uros Bizjak <ubizjak@gmail.com>
6884
6885 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6886 (_FP_MUL_MEAT_D): Ditto.
6887 (_FP_DIV_MEAT_S): Ditto.
6888 (_FP_DIV_MEAT_D): Ditto.
6889 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6890 t-softfp-sfdf and t-softfp to tmake_file.
6891
61221141
UB
68922013-11-03 Uros Bizjak <ubizjak@gmail.com>
6893
6894 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6895 * config/i386/crtprec.c: Ditto.
6896
9304f876
CJW
68972013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6898 Shiva Chen <shiva0217@gmail.com>
6899
6900 * config.host (nds32*-elf*): Add nds32 target.
6901 * config/nds32 : New directory and files.
6902
0e499e75
HPN
69032013-10-16 Hans-Peter Nilsson <hp@axis.com>
6904
6905 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6906 * config.host (cpu_type) <Setting default>: Add entry for
6907 crisv32-*-*.
6908 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6909 <crisv32-*-linux*>: Adjust.
6910 * longlong.h: Wrap the whole CRIS section in a single
6911 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6912 and sub_ddmmss.
6913 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6914 defined.
6915 [__CRIS__] (__umulsidi3): Define.
6916 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6917 * config/cris/sfp-machine.h: New file.
6918 * config/cris/umulsidi3.S: New file.
6919 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6920 * config/cris/arit.c (SIGNMULT): New macro.
6921 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6922 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6923 saving 3 out of originally 33 cycles from the fastest
6924 path, 3 out of 54 from the medium path and one from the longest
6925 path. Improve comments.
6926
16022041
RS
69272013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6928
6929 * sync.c: Remove static aliases and define each function directly
6930 under its real name.
6931
69778659
JDA
69322013-10-02 John David Anglin <danglin@gcc.gnu.org>
6933
6934 * config.host (hppa*64*-*-linux*): Define extra_parts.
6935 (hppa*-*-linux*): Likewise.
6936
2deaf8b0
JR
69372013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6938
6939 * config/arc/crtgend.S: Add 2013 to Copyright years.
6940 * config/arc/gmon/atomic.h: Likewise.
6941 * config/arc/gmon/auxreg.h: Likewise.
6942 * config/arc/gmon/sys/gmon_out.h: Likewise.
6943 * config/arc/gmon/sys/gmon.h: Likewise.
6944 * config/arc/gmon/prof-freq.c: Likewise.
6945 * config/arc/gmon/mcount.c: Likewise.
6946 * config/arc/gmon/prof-freq-stub.S: Likewise.
6947 * config/arc/gmon/gmon.c: Likewise.
6948 * config/arc/gmon/machine-gmon.h: Likewise.
6949 * config/arc/gmon/profil.S: Likewise.
6950 * config/arc/gmon/dcache_linesz.S: Likewise.
6951 * config/arc/crtg.S: Likewise.
6952 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6953 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6954 * config/arc/ieee-754/adddf3.S: Likewise.
6955 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6956 * config/arc/ieee-754/fixsfsi.S: Likewise.
6957 * config/arc/ieee-754/gtsf2.S: Likewise.
6958 * config/arc/ieee-754/floatsisf.S: Likewise.
6959 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6960 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6961 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6962 * config/arc/ieee-754/fixdfsi.S: Likewise.
6963 * config/arc/ieee-754/addsf3.S: Likewise.
6964 * config/arc/ieee-754/gesf2.S: Likewise.
6965 * config/arc/ieee-754/floatsidf.S: Likewise.
6966 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6967 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6968 * config/arc/ieee-754/gtdf2.S: Likewise.
6969 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6970 * config/arc/ieee-754/uneqdf2.S: Likewise.
6971 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6972 * config/arc/ieee-754/uneqsf2.S: Likewise.
6973 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6974 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6975 * config/arc/ieee-754/eqdf2.S: Likewise.
6976 * config/arc/ieee-754/ordsf2.S: Likewise.
6977 * config/arc/ieee-754/divsf3.S: Likewise.
6978 * config/arc/ieee-754/divdf3.S: Likewise.
6979 * config/arc/ieee-754/floatunsidf.S: Likewise.
6980 * config/arc/ieee-754/orddf2.S: Likewise.
6981 * config/arc/ieee-754/eqsf2.S: Likewise.
6982 * config/arc/ieee-754/gedf2.S: Likewise.
6983 * config/arc/crtn.S: Likewise.
6984 * config/arc/crti.S: Likewise.
6985 * config/arc/t-arc700-uClibc: Likewise.
6986 * config/arc/asm.h: Likewise.
6987 * config/arc/libgcc-excl.ver: Likewise.
6988 * config/arc/t-arc-newlib: Likewise.
6989 * config/arc/divtab-arc700.c: Likewise.
6990 * config/arc/initfini.c: Likewise.
6991 * config/arc/fp-hack.h: Likewise.
6992
c8e318b0
JR
69932013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6994 Diego Novillo <dnovillo@google.com>
6995
6996 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
6997 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6998 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6999 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 7000
d38a64b4
JR
70012013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7002 Brendan Kehoe <brendan@zen.org>
7003 Simon Cook <simon.cook@embecosm.com>
7004
7005 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7006 * config/arc: New directory.
7007 * longlong.h [__arc__] (umul_ppmm): Remove.
7008 [__arc__] (__umulsidi3): Define.
7009 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7010 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7011
dff717d2
JC
70122013-09-17 Jacek Caban <jacek@codeweavers.com>
7013
7014 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7015 CreateSemaphoreA.
7016 * config/i386/gthr-win32.h: Likewise.
7017
5c0029de
DD
70182013-09-16 DJ Delorie <dj@redhat.com>
7019
844ad6c6 7020 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
7021 * config/rl78/lib2mul.c: Enable for RL78/G10.
7022 * config/rl78/lib2div.c: Likewise.
7023 * config/rl78/lshrsi3.S: Use vregs.h.
7024 * config/rl78/cmpsi2.S: Likewise.
7025 * config/rl78/trampoline.S: Likewise.
7026 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7027
ceb2fc49
DD
70282013-09-14 DJ Delorie <dj@redhat.com>
7029 Nick Clifton <nickc@redhat.com>
7030
7031 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7032 * config/rl78/vregs.h: New.
7033 * config/rl78/signbit.S: New file. Implements signbit function.
7034 * config/rl78/divmodsi.S: New.
7035 * config/rl78/divmodhi.S: New.
7036 * config/rl78/divmodqi.S: New.
7037 * config/rl78/t-rl78: Build them here...
7038 * config/rl78/lib2div.c: ...but not here.
7039
f6a83b4a
DD
70402013-09-12 DJ Delorie <dj@redhat.com>
7041
7042 * config.host (msp*-*-elf): New.
7043 * config/msp430/: New port.
7044
9107b096
IS
70452013-08-18 Iain Sandoe <iain@codesourcery.com>
7046
7047 PR gcov-profile/58127
7048 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7049 __thread var for emulated TLS.
7050 (__gcov_indirect_call_counters): Likewise.
7051
0f9bde1f 70522013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 7053 Catherine Moore <clm@codesourcery.com>
7d296953 7054 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
7055
7056 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7057 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7058 (CALL_STUB_NO_RET): Likewise.
7059 (CALL_STUB_RET): Likewise.
7060 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7061 __mips16_ret call/return stub symbols.
7062 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7063 to tmake_file.
7064
2dc14aac
MR
70652013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7066
7067 * config.host <mips*-*-linux*>: Remove a stray comment.
7068
748d71f3
JH
70692013-08-10 Jan Hubicka <jh@suse.cz>
7070
7071 Work around binutils PR14342
7072 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7073 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7074 (L_gcov_indirect_call_profiler_v2): New.
7075
2fa3d31b
JH
70762013-08-06 Jan Hubicka <jh@suse.cz>
7077
7078 * libgcov.c (__gcov_indirect_call_callee,
7079 __gcov_indirect_call_counters): New global vars.
7080 (__gcov_indirect_call_profiler): replace by ...
7081 (__gcov_indirect_call_profiler_v2) ... this one.
7082
2077db1b
CT
70832013-08-06 Caroline Tice <cmtice@google.com>
7084
d0595b65 7085 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 7086 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
7087 * configure.ac: Add code to check/set enable_vtable_verify.
7088 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 7089 true.
d0595b65
CT
7090 * vtv_start_preinit.c: New file.
7091 * vtv_end_preinit.c: New file.
7092 * vtv_start.c: New file.
7093 * vtv_end.c: New file.
7094 * configure: Regenerated.
2077db1b 7095
46549c20
MK
70962013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7097
7098 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7099 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7100 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7101 GPL-3.0-with-GCC-exception.
7102
72be589b
MR
71032013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7104
7105 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7106 ISA and up.
7107
902a3faf
AK
71082013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7109
7110 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7111 mapping for FPRs when creating the fallback framestate.
7112
02371798
GJL
71132013-07-19 Georg-Johann Lay <avr@gjlay.de>
7114
7115 PR target/57516
7116 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7117 (__round_s2_const, __round_u2_const)
7118 (__round_s4_const, __round_u4_const, __round_x8):
7119 Saturate result if addition result cannot be represented.
7120
ab0e8379
MK
71212013-07-15 Matthias Klose <doko@ubuntu.com>
7122
7123 * libgcc2.c: Don't include <limits.h>.
7124
7da38058
JJ
71252013-07-09 Janis Johnson <janisjo@codesourcery.com>
7126
7127 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7128
1f6eac90
JJ
71292013-07-06 Jakub Jelinek <jakub@redhat.com>
7130
7131 PR target/29776
7132 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7133
4ea3d774
JJ
71342013-06-28 Jakub Jelinek <jakub@redhat.com>
7135
7136 PR middle-end/36041
7137 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7138 Define.
7139 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7140 instead of table lookups.
7141 (__popcountDI2): Likewise.
7142
9d2cdf25
CJW
71432013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7144
7145 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7146 correctly.
7147
fa1e55b0
JM
71482013-06-21 Joseph Myers <joseph@codesourcery.com>
7149
7150 PR other/53317
7151 * soft-fp/adddf3.c: Update from glibc.
7152 * soft-fp/addsf3.c: Likewise.
7153 * soft-fp/addtf3.c: Likewise.
7154 * soft-fp/divdf3.c: Likewise.
7155 * soft-fp/divsf3.c: Likewise.
7156 * soft-fp/divtf3.c: Likewise.
7157 * soft-fp/double.h: Likewise.
7158 * soft-fp/eqdf2.c: Likewise.
7159 * soft-fp/eqsf2.c: Likewise.
7160 * soft-fp/eqtf2.c: Likewise.
7161 * soft-fp/extenddftf2.c: Likewise.
7162 * soft-fp/extended.h: Likewise.
7163 * soft-fp/extendsfdf2.c: Likewise.
7164 * soft-fp/extendsftf2.c: Likewise.
7165 * soft-fp/fixdfdi.c: Likewise.
7166 * soft-fp/fixdfsi.c: Likewise.
7167 * soft-fp/fixsfdi.c: Likewise.
7168 * soft-fp/fixsfsi.c: Likewise.
7169 * soft-fp/fixtfdi.c: Likewise.
7170 * soft-fp/fixtfsi.c: Likewise.
7171 * soft-fp/fixunsdfdi.c: Likewise.
7172 * soft-fp/fixunsdfsi.c: Likewise.
7173 * soft-fp/fixunssfdi.c: Likewise.
7174 * soft-fp/fixunssfsi.c: Likewise.
7175 * soft-fp/fixunstfdi.c: Likewise.
7176 * soft-fp/fixunstfsi.c: Likewise.
7177 * soft-fp/floatdidf.c: Likewise.
7178 * soft-fp/floatdisf.c: Likewise.
7179 * soft-fp/floatditf.c: Likewise.
7180 * soft-fp/floatsidf.c: Likewise.
7181 * soft-fp/floatsisf.c: Likewise.
7182 * soft-fp/floatsitf.c: Likewise.
7183 * soft-fp/floatundidf.c: Likewise.
7184 * soft-fp/floatundisf.c: Likewise.
7185 * soft-fp/floatunditf.c: Likewise.
7186 * soft-fp/floatunsidf.c: Likewise.
7187 * soft-fp/floatunsisf.c: Likewise.
7188 * soft-fp/floatunsitf.c: Likewise.
7189 * soft-fp/gedf2.c: Likewise.
7190 * soft-fp/gesf2.c: Likewise.
7191 * soft-fp/getf2.c: Likewise.
7192 * soft-fp/ledf2.c: Likewise.
7193 * soft-fp/lesf2.c: Likewise.
7194 * soft-fp/letf2.c: Likewise.
7195 * soft-fp/muldf3.c: Likewise.
7196 * soft-fp/mulsf3.c: Likewise.
7197 * soft-fp/multf3.c: Likewise.
7198 * soft-fp/negdf2.c: Likewise.
7199 * soft-fp/negsf2.c: Likewise.
7200 * soft-fp/negtf2.c: Likewise.
7201 * soft-fp/op-1.h: Likewise.
7202 * soft-fp/op-2.h: Likewise.
7203 * soft-fp/op-4.h: Likewise.
7204 * soft-fp/op-8.h: Likewise.
7205 * soft-fp/op-common.h: Likewise.
7206 * soft-fp/quad.h: Likewise.
7207 * soft-fp/single.h: Likewise.
7208 * soft-fp/soft-fp.h: Likewise.
7209 * soft-fp/subdf3.c: Likewise.
7210 * soft-fp/subsf3.c: Likewise.
7211 * soft-fp/subtf3.c: Likewise.
7212 * soft-fp/truncdfsf2.c: Likewise.
7213 * soft-fp/trunctfdf2.c: Likewise.
7214 * soft-fp/trunctfsf2.c: Likewise.
7215 * soft-fp/unorddf2.c: Likewise.
7216 * soft-fp/unordsf2.c: Likewise.
7217 * soft-fp/unordtf2.c: Likewise.
7218 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7219 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7220 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7221 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7222 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7223 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7224 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7225 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7226 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7227 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7228 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7229 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7230
0de86a92
JU
72312013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7232
7233 * config/mips/lib2funcs.c: New file.
7234 * config/mips/t-mips (LIB2ADD_ST): Add it.
7235
0d008882
OE
72362013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7237
7238 PR target/6526
7239 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7240 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7241
776434d1
WL
72422013-06-08 Walter Lee <walt@tilera.com>
7243
7244 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7245 Replace int64_t with long long. Add __extension__ where
7246 appropriate.
7247 * config/tilepro/atomic.c: Include config.h.
7248
6ab3ebb4
DR
72492013-06-06 Douglas B Rupp <rupp@adacore.com>
7250
7251 * config.host (arm-wrs-vxworks): Configure with other soft float.
7252
107eea2c
JU
72532013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7254
7255 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7256 (mips64r5900el-*-elf*): New configurations.
7257
5cc19c62
AM
72582013-06-04 Alan Modra <amodra@gmail.com>
7259
7260 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7261
0f1d3965
YR
72622013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7263
7264 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7265
0ba045df
EB
72662013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7267
7268 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7269 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7270 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7271
49dcafd4
EB
72722013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7273
7274 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7275 (powerpc-wrs-vxworks): Likewise.
7276
4fcb5d87
EB
72772013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7278
7279 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7280 signal frames as well.
7281 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7282 STACK_BIAS to the CFA offset.
7283
0ec33224
RH
72842013-05-17 Richard Henderson <rth@redhat.com>
7285
7286 PR target/49146
7287 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7288 (execute_cfa_program): Use it when storing to fs->regs.
7289
492a8029
KT
72902013-05-08 Kai Tietz <ktietz@redhat.com>
7291
7292 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7293 (__deregister_frame_info): Likewise.
7294
701e2f0a
TS
72952013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7296
e5123d08
TS
7297 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7298 NaN's payload.
7299
701e2f0a
TS
7300 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7301
b9a7eb5d
AM
73022013-04-25 Alan Modra <amodra@gmail.com>
7303
7304 * config.host: Match little-endian powerpc-linux.
7305
dfe192f5
YZ
73062013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7307
7308 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7309 as 'unsigned long long' instead of 'unsigned long'.
7310 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7311 'signed long'.
7312
b6b9af2f
JB
73132013-04-10 Julian Brown <julian@codesourcery.com>
7314
7315 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7316 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7317 unsigned char/unsigned short.
7318 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7319
ecabdd00
JDA
73202013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7321
7322 PR other/55274
7323 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7324
34652576
MI
73252013-04-04 Meador Inge <meadori@codesourcery.com>
7326
7327 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7328 computing the location of the link register.
7329 (aeabi_uldivmod): Ditto.
7330
e9fd8c19
KT
73312013-03-27 Kai Tietz <ktietz@redhat.com>
7332
7333 * config.host: Add support for cygwin x64 target.
7334 * configure: Regenerated.
7335
a6406324
WL
73362013-03-26 Walter Lee <walt@tilera.com>
7337
7338 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7339 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7340
55446c7e
KT
73412013-03-25 Kai Tietz <ktietz@redhat.com>
7342
7343 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7344
d2ae19d9
RM
73452013-03-20 Robert Mason <rbmj@verizon.net>
7346
7347 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7348 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7349 (__gthread_leave_tsd_dtor_context): Add prototypes.
7350 (tls_delete_hook): Update.
7351
22c4c869
CM
73522013-03-20 Catherine Moore <clm@codesourcery.com>
7353 Joseph Myers <joseph@codesourcery.com>
7354 Chao-ying Fu <fu@mips.com>
7355
7356 * config/mips/mips16.S: Don't build for microMIPS.
7357 * config/mips/linux-unwind.h: Handle microMIPS frame.
7358 * config/mips/crtn.S (fini, init): New labels.
7359
fbd28bc3
JJ
73602013-03-14 Jakub Jelinek <jakub@redhat.com>
7361
7362 PR tree-optimization/53265
7363 * unwind-dw2.c (execute_cfa_program): Avoid
7364 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7365 on targets with DWARF_FRAME_REGISTERS < 32.
7366
decc676e
OE
73672013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7368
7369 PR target/49880
7370 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7371 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7372
84ea618a
ST
73732013-03-07 Sriraman Tallam <tmsriram@google.com>
7374
7375 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7376 sandybridge processors.
7377
8f6d1c86
OE
73782013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7379
7380 PR target/56529
7381 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7382 inclusion list.
7383
ecdbd01a 73842013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
7385
7386 * config/microblaze/crti.S: Setup stack protection at entry
7387
0b4ce21b
GJL
73882013-03-04 Georg-Johann Lay <avr@gjlay.de>
7389
7390 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7391 (__rotldi3): Shift bytewise if applicable.
7392
b7c3f1ca
JG
73932013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7394
7395 * config/aarch64/sync-cache.c
7396 (__aarch64_sync_cache_range): Silence warnings.
7397
6d65e8f1
CM
73982013-02-25 Catherine Moore <clm@codesourcery.com>
7399
7400 Revert:
7401 2013-02-24 Catherine Moore <clm@codesourcery.com>
7402 Joseph Myers <joseph@codesourcery.com>
7403 Chao-ying Fu <fu@mips.com>
7404
7405 * config/mips/mips16.S: Don't build for microMIPS.
7406 * config/mips/linux-unwind.h: Handle microMIPS frame.
7407 * config/mips/crtn.S (fini, init): New labels.
7408
6941b508
CM
74092013-02-24 Catherine Moore <clm@codesourcery.com>
7410 Joseph Myers <joseph@codesourcery.com>
7411 Chao-ying Fu <fu@mips.com>
7412
7413 * config/mips/mips16.S: Don't build for microMIPS.
7414 * config/mips/linux-unwind.h: Handle microMIPS frame.
7415 * config/mips/crtn.S (fini, init): New labels.
7416
7c422dbb 74172012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 7418 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
7419 as dividend.
7420
110207ad
AM
74212013-02-16 Alan Modra <amodra@gmail.com>
7422
7423 PR target/55431
7424 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7425 (ppc_fallback_frame_state): Always set up save locations for fp
7426 and altivec. Don't bother with non-callee-saved regs, r0-r13
7427 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7428
e68a4ef6
GJL
74292013-02-12 Georg-Johann Lay <avr@gjlay.de>
7430
7431 PR target/54222
7432 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7433 _ssmulHA, _ssmulSA.
7434 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7435 _ssmulha3, _usmulusa3, _ssmulsa3.
7436 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7437 (__muldi3): XCALL __muldi3_6 instead of rcall.
7438 (__umulsidi3, __mulsidi3): New functions.
7439 (do_prologue_saves, do_epilogue_restores): New .macros.
7440 (__divdi3_moddi3): Use them.
7441 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7442 (__usmulusa3, __ssmulsa3): New functions.
7443
6c59ffd1
IS
74442013-02-11 Iain Sandoe <iain@codesourcery.com>
7445 Jack Howarth <howarth@bromo.med.uc.edu>
7446 Patrick Marlier <patrick.marlier@gmail.com>
7447
7448 PR libitm/55693
7449 * config/darwin-crt-tm.c: Remove dummy functions hack.
7450
85d768f3
GJL
74512013-02-08 Georg-Johann Lay <avr@gjlay.de>
7452
7453 PR target/54222
7454 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7455 * config/avr/lib2-object.mk: New iterator to build objects from it.
7456 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7457 lib2funcs.c.
7458 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7459 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7460 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7461 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7462 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7463 * config/avr/lib1funcs-fixed.S: Implement them.
7464
5d5bf775
RS
74652013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7466
7467 Update copyright years.
7468
99113dff
DE
74692013-02-01 David Edelsohn <dje.gcc@gmail.com>
7470
7471 PR target/54601
7472 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7473 Add crtcxa to extra_parts.
7474 * config/rs6000/exit.h: New file.
7475 * config/rs6000/cxa_atexit.c: New file.
7476 * config/rs6000/cxa_finalize.c: New file.
7477 * config/rs6000/crtcxa.c: New file.
7478 * config/rs6000/t-aix-cxa: New file.
7479 * config/rs6000/libgcc-aix-cxa.ver: New file.
7480
dbdbd982
NC
74812013-01-31 Nick Clifton <nickc@redhat.com>
7482
7483 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7484 variant.
7485
5893f158
GJL
74862013-01-29 Georg-Johann Lay <avr@gjlay.de>
7487
7488 PR target/54222
7489 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7490 _mulQQ, _mulHQ, _mulHA, _mulSA,
7491 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7492 _divQQ, _divHQ, _divHA, _divSA,
7493 _divUQQ, _divUHQ, _divUHA, _divUSA.
7494
ecdbd01a 74952013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 7496
dbdbd982 7497 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
7498 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7499 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7500 to exclude functions from being built with libgcc.c and use
7501 the microblaze assembly.
7502
ecdbd01a 75032013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
7504
7505 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7506 extra_parts.
7507
922c57d1
YZ
75082013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7509
7510 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7511 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7512 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7513 alignment operation.
7514
e0f8b6a0
SN
75152013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7516
7517 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7518 loop start address for cache clearing.
7519
00892272
GJL
75202013-01-14 Georg-Johann Lay <avr@gjlay.de>
7521
7522 * config/avr/lib1funcs.S: Remove trailing blanks.
7523 * config/avr/lib1funcs-fixed.S: Ditto.
7524
e59ec5fd
GJL
75252013-01-14 Georg-Johann Lay <avr@gjlay.de>
7526
7527 * config/avr/avr-lib.h: Add GPL copyright notice.
7528
3ffc1958
GJL
75292013-01-14 Georg-Johann Lay <avr@gjlay.de>
7530
7531 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7532 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7533 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7534 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7535
25c210f9
MK
75362013-01-07 Mark Kettenis <kettenis@openbsd.org>
7537
7538 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7539 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 7540
db59befb
NC
75412013-01-04 Nick Clifton <nickc@redhat.com>
7542
7543 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7544 the CALLT instruction is supported.
7545
5aa12dbf
JW
75462012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7547
7548 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7549 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7550
65f14117
JT
75512012-12-13 John Tytgat <John@bass-software.com>
7552
7553 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7554 is 25.
7555
ee3ae4f7
JJ
75562012-12-12 Jakub Jelinek <jakub@redhat.com>
7557
7558 PR libgcc/55451
7559 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7560 undefined signed overflows.
7561
2fcfba3d
UB
75622012-12-09 Uros Bizjak <ubizjak@gmail.com>
7563
7564 PR target/55344
7565 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7566
4f2b3dc2
UB
75672012-12-06 Uros Bizjak <ubizjak@gmail.com>
7568
7569 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7570 (FP_TRAPPING_EXCEPTIONS): Define.
7571 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7572 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7573
066161a2
RH
75742012-12-04 Richard Henderson <rth@redhat.com>
7575
7576 PR bootstrap/55571
7577 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7578
7d296953 75792012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 7580
4f2b3dc2 7581 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
7582 (FP_EX_SHIFT): Define.
7583 (FP_TRAPPING_EXCEPTIONS): Define.
7584
7d296953 75852012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
7586
7587 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7588 (FP_ROUNDMODE): Use FP_RND_MASK.
7589 * config/aarch64/sfp-exceptions.c: New.
7590 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7591 Use __sfp_handle_exceptions.
7592
5005fe22
RE
75932012-12-04 Richard Earnshaw <rearnsha@arm.com>
7594
7595 * config.host: (arm*-*-freebsd*): Remove.
7596 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7597 (arm*-*-elf*): Remove.
7598 (arm*-*-wince-pe*): Remove.
7599 * arm/unwind-arm.c (struct fpa_reg): Delete.
7600 (struct fpa_regs): Delete.
7601 (phase1_vrs): Remove fpa element.
7602 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7603 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7604 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7605 * ieee754-sf.S (floatundisf): Remove FPA support.
7606 (floatdisf): Likewise.
7607 * ieee75f-df.S (floatundidf): Likewise.
7608 (floatdidf): Likewise.
7609
e5a81c8e
KT
76102012-11-29 Kai Tietz <ktietz@redhat.com>
7611
7612 PR target/55445
7613 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7614 * unwind-generic.h: Likewise.
7615 * unwind-seh.c: Likewise.
7616
f4919e4a
RH
76172012-11-28 Richard Henderson <rth@redhat.com>
7618
7619 PR libgcc/48076
7620 * emutls.c (__emutls_get_address): Avoid race condition between
7621 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 7622
e13d9d5a
GJL
76232012-11-22 Georg-Johann Lay <avr@gjlay.de>
7624
7625 Adjust decimal point of signed accum mode to GCC default.
7626
7627 PR target/54222
7628 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7629 _divqq_helper.
7630 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7631 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7632 (__mulha3, __mulsa3)
7633 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
7634 decimal point of signed accum types.
7635
e13d9d5a
GJL
7636 (__mulusa3_round): New function.
7637 (__mulusa3): Use it.
7638 (__divqq_helper): New function.
7639 (__udivuqq3): Use it.
7640
1b845c6e
JJ
76412012-11-20 Jakub Jelinek <jakub@redhat.com>
7642
7643 PR bootstrap/55370
7644 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7645
822a258a
TJ
76462012-11-18 Teresa Johnson <tejohnson@google.com>
7647
7648 PR bootstrap/55051
7649 * libgcov.c (gcov_exit): Remove merged program summary
7650 comparison unless !GCOV_LOCKED.
7651
7d296953 76522012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
7653
7654 * soft-fp: Updated from glibc upstream.
7655
e808687a
ILT
76562012-11-06 Ian Lance Taylor <iant@google.com>
7657
7658 * generic-morestack.c (__generic_morestack): Align the returned
7659 stack pointer to a 32 byte boundary.
7660 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7661 increment the return address until we have decided that we don't
7662 have a varargs function.
7663 (__morestack) [32-bit]: Align stack correctly when calling C
7664 functions.
7665 (__morestack) [64-bit]: Likewise.
7666
460277e0
TS
76672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7668
7669 * configure: Regenerate.
7670
73edb277
UB
76712012-11-02 Uros Bizjak <ubizjak@gmail.com>
7672
7673 PR target/55175
7674 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7675 * config/i386/sfp-machine.h: Guard exception handling
7676 code with _SOFT_FLOAT.
7677 * config/i386/32/sfp-machine.h: Guard rounding handling
7678 code with _SOFT_FLOAT.
7679 * config/i386/64/sfp-machine.h: Ditto.
7680
c1d4fa04
JS
76812012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7682
7683 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7684 as extra_parts.
7685
eff6ca85
UB
76862012-10-26 Uros Bizjak <ubizjak@gmail.com>
7687
7688 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7689 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7690 when appropriate. Correct structure element types.
7691 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7692 -minline-all-stringops from compile flags.
7693
7d296953 76942012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
7695
7696 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7697
7d296953 76982012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 7699
eff6ca85 7700 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 7701
6f288860
SH
77022012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7703
7704 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7705 tmake_file.
7706
1e3d5096
IB
77072012-10-23 Ian Bolton <ian.bolton@arm.com>
7708 Jim MacArthur <jim.macarthur@arm.com>
7709 Marcus Shawcroft <marcus.shawcroft@arm.com>
7710 Nigel Stephens <nigel.stephens@arm.com>
7711 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7712 Richard Earnshaw <rearnsha@arm.com>
7713 Sofiane Naci <sofiane.naci@arm.com>
7714 Stephen Thomas <stephen.thomas@arm.com>
7715 Tejas Belagod <tejas.belagod@arm.com>
7716 Yufeng Zhang <yufeng.zhang@arm.com>
7717
7718 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7719 * config/aarch64/crti.S: New file.
7720 * config/aarch64/crtn.S: New file.
7721 * config/aarch64/linux-unwind.h: New file.
7722 * config/aarch64/sfp-machine.h: New file.
7723 * config/aarch64/sync-cache.c: New file.
7724 * config/aarch64/t-aarch64: New file.
7725 * config/aarch64/t-softfp: New file.
7726
8a740f07
HPN
77272012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7728
7729 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7730 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7731 no-longer-needed LDBU insns.
7732
7d296953 77332012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
7734
7735 * config.host
7736 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7737 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7738
595fefee
MGD
77392012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7740
7741 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7742
9945a876
MK
77432012-10-15 Matthias Klose <doko@ubuntu.com>
7744
7745 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7746
1183dc2c
PC
77472012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7748
7749 * configure: Regenerate.
7750 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7751
945a9c1f
UB
77522012-10-10 Uros Bizjak <ubizjak@gmail.com>
7753
7754 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7755 instructions for 64bit targets only.
7756
fb8bf47a
UB
77572012-10-10 Uros Bizjak <ubizjak@gmail.com>
7758
7759 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7760 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7761 * config/i386/32/sfp-machine.h: ... here.
7762 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7763 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7764 New defines.
7765
acb72498
MK
77662012-10-07 Matthias Klose <doko@ubuntu.com>
7767
7768 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7769 as unused.
7770 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7771
8eaee0f0
MK
77722012-10-06 Mark Kettenis <kettenis@openbsd.org>
7773
7774 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7775 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7776 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7777 (ElfW): Likewise.
7778
5e3e4fe8
JW
77792012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7780
7781 PR other/53889
7782 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7783 Fix parameter names.
7784
86086376
OE
77852012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7786
7787 PR target/33135
7788 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7789 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7790 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7791
9597375a
OE
77922012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7793
7794 PR target/50457
7795 * config/sh/linux-atomic.S: Delete.
7796 * config/sh/linux-atomic.c: New.
7797 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7798 linux-atomic.c. Add cflags to disable warnings.
7799
1504e3e1
JW
78002012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7801
7802 PR other/53889
7803 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7804 function.
7805 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7806 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7807 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7808 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
7809 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7810 Likewise.
1504e3e1
JW
7811 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7812 Likewise.
7813 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7814 Likewise.
7815 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7816 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7817
17f293b0
MK
78182012-09-19 Mark Kettenis <kettenis@openbsd.org>
7819
9597375a
OE
7820 * config.host (hppa-*-openbsd*): New target.
7821 * config/pa/t-openbsd: New file.
17f293b0 7822
51526856
GJL
78232012-09-15 Georg-Johann Lay <avr@gjlay.de>
7824
7825 PR target/54222
7826 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7827 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7828 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7829 (__divsa3): Use __negsi2 to negate r_quoL.
7830 * config/avr/lib1funcs.S (FALIAS): New macro.
7831 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7832 (__negsi2): ...this new function.
7833 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7834 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7835 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7836 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7837 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7838 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7839
aadb5b43
OE
78402012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7841
7842 PR target/54089
7843 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7844 (lshrsi3): Reimplement as lshrsi3_r0.
7845
d5d66749
AS
78462012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7847
7848 PR target/46191
7849 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7850 of libgcc.a.
7851
c6c36e73
TJ
78522012-09-07 Teresa Johnson <tejohnson@google.com>
7853
9597375a 7854 PR gcov-profile/54487
c6c36e73 7855 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 7856 differences.
c6c36e73 7857
b588ae30
GJL
78582012-09-05 Georg-Johann Lay <avr@gjlay.de>
7859
7860 PR target/54461
7861 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7862 not configured --with-avrlibc=no.
7863 * config/avr/t-avrlibc: New file.
7864 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7865 (DPBIT_FUNCS): Ditto.
7866 (TPBIT_FUNCS): Ditto.
7867
abd16fb1
TJ
78682012-09-04 Teresa Johnson <tejohnson@google.com>
7869
7870 * libgcov.c (struct gcov_summary_buffer): New structure.
7871 (gcov_histogram_insert): New function.
7872 (gcov_compute_histogram): Ditto.
7873 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7874 histograms during summary merging.
7875
613061fd
MK
78762012-09-01 Mark Kettenis <kettenis@openbsd.org>
7877
7878 * config.host (x86_64-*-openbsd*): New target.
73edb277 7879
867a8345
CLT
78802012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7881
7882 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7883 attribute.
7884
4aeaaca3
GJL
78852012-08-24 Georg-Johann Lay <avr@gjlay.de>
7886
7887 PR target/54222
7888 * config/avr/t-avr (conv_X): Rename to func_X.
7889
e55e4056
GJL
78902012-08-24 Georg-Johann Lay <avr@gjlay.de>
7891
7892 PR target/54222
7893 * config/avr/lib1funcs-fixed.S: New file.
7894 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7895 after they are used.
7896 (neg2, neg4): New macros.
7897 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7898 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7899 (__umulhisi3): Speed up MUL variant if there is enough flash.
7900 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7901 avr-modes.def.
7902 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7903 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7904 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7905 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7906 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7907 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7908 (LIB2FUNCS_EXCLUDE): Add supported functions.
7909
a147b6d2
GJL
79102012-08-22 Georg-Johann Lay <avr@gjlay.de>
7911
7912 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7913 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7914 libgcc-s-objects.
7915 * fixed-obj.mk: Only expand dependency if $o is not in
7916 LIB2FUNCS_EXCLUDE.
7917
c637141a
L
79182012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7919
7920 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7921
130e00bd
JM
79222012-08-22 Joseph Myers <joseph@codesourcery.com>
7923
7924 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7925 depend on --enable-shared.
7926 ($(lib1asmfuncs-o)): Use %.vis files independent of
7927 --enable-shared.
7928 * static-object.mk ($(base)$(objext), $(base).vis)
7929 ($(base)_s$(objext)): Use same rules for visibility handling as in
7930 shared-object.mk.
7931
4b1b3788
ILT
79322012-08-21 Ian Lance Taylor <iant@google.com>
7933
7934 * config/i386/morestack.S (__morestack_non_split): Increase amount
7935 of space allocated for non-split code stack.
7936
d2468141
JM
79372012-08-19 Joseph Myers <joseph@codesourcery.com>
7938
7939 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7940 even if inhibit_libc.
7941
a508e1a8
JB
79422012-08-17 Julian Brown <julian@codesourcery.com>
7943
7944 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7945 -fexceptions -fnon-call-exceptions if not defined.
7946 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7947 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7948
5615a07d
AS
79492012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7950
7951 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7952 type.
7953
138f5acd
DE
79542012-08-16 David Edelsohn <dje.gcc@gmail.com>
7955
7956 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7957 rs6000/t-slibgcc-aix.
7958
18efc0dd
SB
79592012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7960
7961 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7962
6b39bc38
SB
79632012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7964
7965 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7966
cd25dea0
L
79672012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7968
7969 PR driver/54171
7970 * Makefile.in (version): Replace top_srcdir with srcdir.
7971
a3dda30b
JY
79722012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7973
7974 * Makefile.in (version): set to BASE-VER file from gcc directory.
7975
d04aacfc
NC
79762012-08-01 Nick Clifton <nickc@redhat.com>
7977
7978 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7979 Implements __clrsb for an HImode argument.
7980
0d13c974
NC
79812012-07-31 Nick Clifton <nickc@redhat.com>
7982
7983 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7984 Implements __clrsb for an HImode argument.
7985 * config/stormy16/clrsbhi2.c: New file:
7986 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7987
efbb59b2
SB
79882012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7989
7990 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7991
bf1431e3
TG
79922012-07-19 Tristan Gingold <gingold@adacore.com>
7993 Richard Henderson <rth@redhat.com>
7994
7995 * unwind-seh.c: New file.
7996 * unwind-generic.h: Include windows.h for SEH.
7997 (_Unwind_Exception): Use 6 private fields for SEH.
7998 (_GCC_specific_handler): Declare.
7999 * unwind-c.c (__gcc_personality_seh0): New function.
8000 Adjust for SEH.
8001 * config/i386/libgcc-cygming.ver: New file.
8002 * config/i386/t-seh-eh: New file.
8003 * config.host (x86_64-*-mingw*): Default to seh.
8004
659140c8
SB
80052012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8006
8007 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8008
a20d08fd
UB
80092012-06-17 Uros Bizjak <ubizjak@gmail.com>
8010
8011 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8012 __builtin_expect when checking for exceptions.
8013 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8014
79261115
UB
80152012-06-13 Uros Bizjak <ubizjak@gmail.com>
8016
4a172156
UB
8017 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8018 function declaration.
8019 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8020 (FP_RND_MASK): New.
8021 * config/ia64/sfp-exceptions.c: New.
8022 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 8023
bb5c97d4
UB
80242012-06-13 Uros Bizjak <ubizjak@gmail.com>
8025
8026 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8027 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8028 * config/i386/64/sfp-machine: ... (delete here) ...
8029 * config/i386/sfp-machine.h: ... to here.
8030 (FP_EX_MASK): Remove.
8031 (FP_RND_MASK): New.
8032 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8033
91fe5efb
ST
80342012-06-11 Sriraman Tallam <tmsriram@google.com>
8035
8036 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8037 * config/i386/libgcc-sol2.ver: Ditto.
8038 * config/i386/libgcc-glibc.ver: Ditto.
8039
67a218c5
RM
80402012-06-11 Roland McGrath <mcgrathr@google.com>
8041
8042 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8043 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8044 pthread_cancel.
8045
492fbea1
UB
80462012-06-09 Uros Bizjak <ubizjak@gmail.com>
8047
8048 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8049 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8050 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8051 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8052 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8053 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8054 * config/i386/64/sfp-machine: ... (delete here) ...
8055 * config/i386/sfp-machine.h: ... to here.
8056 (FP_EX_MASK): New.
8057 (__sfp_handle_exceptions): New function declaration.
8058 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8059 * config/i386/sfp-exceptions.c: New.
8060 * config/i386/t-softfp: New.
8061 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8062 i386/t-softfp to tmake_file.
8063
7b4cf266
DM
80642012-06-03 David S. Miller <davem@davemloft.net>
8065
8066 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8067 change.
8068
0de0d5c6
DM
80692012-05-31 David S. Miller <davem@davemloft.net>
8070
8071 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8072 multiply and divide instructions on 32-bit when V9.
8073 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8074
d8c9d391
JM
80752012-05-29 Joseph Myers <joseph@codesourcery.com>
8076
8077 * config/arm/ieee754-df.S: Fix typos.
8078 * config/arm/ieee754-sf.S: Fix typos.
8079 * config/c6x/libunwind.S: Fix typos.
8080 * config/epiphany/udivsi3-float.c: Fix typos.
8081 * config/microblaze/muldi3_hard.S: Fix typos.
8082 * config/picochip/adddi3.S: Fix typos.
8083 * config/picochip/ashlsi3.S: Fix typos.
8084 * config/picochip/ashrsi3.S: Fix typos.
8085 * config/picochip/clzsi2.S: Fix typos.
8086 * config/picochip/cmpsi2.S: Fix typos.
8087 * config/picochip/divmod15.S: Fix typos.
8088 * config/picochip/divmodhi4.S: Fix typos.
8089 * config/picochip/divmodsi4.S: Fix typos.
8090 * config/picochip/longjmp.S: Fix typos.
8091 * config/picochip/lshrsi3.S: Fix typos.
8092 * config/picochip/parityhi2.S: Fix typos.
8093 * config/picochip/popcounthi2.S: Fix typos.
8094 * config/picochip/setjmp.S: Fix typos.
8095 * config/picochip/subdi3.S: Fix typos.
8096 * config/picochip/ucmpsi2.S: Fix typos.
8097 * config/picochip/udivmodhi4.S: Fix typos.
8098 * config/picochip/udivmodsi4.S: Fix typos.
8099 * config/spu/divv2df3.c: Fix typos.
8100 * config/spu/mfc_multi_tag_release.c: Fix typos.
8101 * config/spu/mfc_tag_release.c: Fix typos.
8102 * configure.ac: Fix typos.
8103 * configure: Regenerate.
8104
31a18a7e
ILT
81052012-05-25 Ian Lance Taylor <iant@google.com>
8106
8107 * config/i386/morestack.S (__morestack_non_split): Check whether
8108 caller is varargs and needs %bp to hold the stack frame on return.
8109
c5768510
OH
81102012-05-25 Olivier Hainque <hainque@adacore.com>
8111
8112 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8113 sequence in the non pic case on VxWorks.
8114
7c7c339b
OH
81152012-05-24 Olivier Hainque <hainque@adacore.com>
8116
73fb7630 8117 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
8118 "install-leaf" to "install".
8119
fdc1b7d3
OH
81202012-05-24 Olivier Hainque <hainque@adacore.com>
8121
8122 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8123 Use a separate command for stamp removals.
8124
07ba94b9
AP
81252012-05-21 Andrew Pinski <apinski@cavium.com>
8126
8127 PR bootstrap/53183
8128 * configure.ac: Define the default includes to being none.
8129 * configure: Regenerate.
8130
4677d2eb
OH
81312012-05-16 Olivier Hainque <hainque@adacore.com>
8132
8133 * Makefile.in (install-unwind_h): Rename into ...
8134 (install-unwind_h-forbuild): New target.
8135 (all): Use it instead of the former install-unwind_h.
8136 (install-unwind_h): Reinstate, copy to user install destination
8137 for include files, not to the internal gcc object directory one.
8138 (install-leaf): Depend on it.
8139
7d67c380
OH
81402012-05-15 Olivier Hainque <hainque@adacore.com>
8141
8142 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8143 register numbers. LR_REGNO replaces R_LR.
8144 (ucontext_for): New, helper for ...
8145 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8146 and 5.3 of ...
8147 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8148
aca06c90
RO
81492012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8150
8151 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8152 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8153 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8154 i386/t-cpuinfo ...
8155 (i[34567]86-*-*, x86_64-*-*): ... here.
8156
8157 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8158 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8159
8160 * config/i386/i386-cpuinfo.c: Rename to ...
8161 * config/i386/cpuinfo.c: ... this.
8162 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8163
8164 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8165 (libgcc_cv_init_priority): New test.
8166 * configure: Regenerate.
8167 * config.in: New file.
8168 * Makefile.in (clean): Rename config.h to auto-target.h.
8169 (config.h): Likewise.
8170 (stamp-h): Likewise.
8171
8172 * config/i386/cpuinfo.c (auto-target.h): Include.
8173 (CONSTRUCTOR_PRIORITY): Define.
8174 (__cpu_indicator_init): Use it.
8175
0d03ac1b
L
81762012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8177
8178 * longlong.h: Use a URL instead of an FSF postal address.
8179 Replace spaces with tab.
8180
4a172156 81812012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
8182
8183 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8184 (__gcov_dump): Ditto.
8185 (gcov_dump_complete): New global variable.
8186 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8187 (__gcov_flush): Outline functionality now in gcov_clear.
8188 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8189
e4bb767e
AJ
81902012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8191
31a18a7e
ILT
8192 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8193 (mips*-*-linux*): Include mips/t-tpbit when long double is
8194 16 bytes long.
e4bb767e 8195
5ddecff9
ST
81962012-04-25 Sriraman Tallam <tmsriram@google.com>
8197
8198 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8199 (get_available_features): New argument. Check for AVX2.
8200 (__cpu_indicator_init): Modify call to get_available_features.
8201
b427dd7a
AM
82022012-04-25 Alan Modra <amodra@gmail.com>
8203
8204 * config/rs6000/crtsavevr.S: New file.
8205 * config/rs6000/crtrestvr.S: New file.
8206 * config/rs6000/t-savresfgpr: Build the above.
8207 * config/rs6000/t-netbsd: Likewise.
8208
ad491329
ST
82092012-04-24 Sriraman Tallam <tmsriram@google.com>
8210
8211 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8212
792317cc
ST
82132012-04-24 Sriraman Tallam <tmsriram@google.com>
8214
8215 * libgcc/config/i386/i386-cpuinfo.c: New file.
8216 * libgcc/config/i386/t-cpuinfo: New file.
8217 * libgcc/config.host: Include t-cpuinfo.
8218 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8219
e1be98a4
CF
82202012-04-24 Chao-ying Fu <fu@mips.com>
8221
8222 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8223
1bde7dab
TS
82242012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8225
8226 struct siginfo vs. siginfo_t
8227
8228 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8229 siginfo_t instead of struct siginfo.
8230 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8231 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8232 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8233 (ia64_handle_unwabi): Likewise.
8234 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8235 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8236 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8237 (sh_fallback_frame_state): Likewise.
8238 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8239 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8240
24590f66
L
82412012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8242
8243 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8244 system call number.
8245
9a9dcce8
EB
82462012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8247
8248 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8249 if it hasn't been previously saved.
8250
6401aaf5
L
82512012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8252
8253 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8254 only for glibc.
8255
7fd6378e
GJL
82562012-03-28 Georg-Johann Lay <avr@gjlay.de>
8257
8258 PR target/52737
8259 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8260 instead of __AVR_HAVE_8BIT_SP__.
8261
9e916de7
TG
82622012-03-26 Tristan Gingold <gingold@adacore.com>
8263
8264 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8265 (unw_table_entry): Use unw_word instead of unsigned long.
8266 (_Unwind_FindTableEntry): Likewise.
8267 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8268 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8269 (_Unwind_FindTableEntry): Likewise.
8270 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8271 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8272 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8273 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8274 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8275 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8276 (uw_init_context_1, uw_install_context): Likewise.
8277 (unw_word): Move to unwind-ia64.h
8278
4b12e93d
TG
82792012-03-26 Tristan Gingold <gingold@adacore.com>
8280
8281 * config/vms/vms-ucrt0.c: Update copyright years.
8282 Add a sanity check.
8283 (___gcc_main_flags): Declare.
8284 (__main): Check flags to remap argv and exit code.
8285 * config.host (*-*-*vms*): Adjust extra_parts.
8286 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8287 (crt0.o): Add.
8288
06ea7371
RE
82892012-03-22 Richard Earnshaw <rearnsha@arm.com>
8290
8291 * arm/lib1funcs.asm (ctzsi2): New function.
8292 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8293 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8294 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8295 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8296 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8297 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8298
d82ad50d
AT
82992012-03-21 Andreas Tobler <andreast@fgznet.ch>
8300
8301 * config.host: Add bits to support powerpc64-*-freebsd*.
8302 * config/rs6000/freebsd-unwind.h: New file.
8303 * config/rs6000/t-freebsd64: New file.
8304
b260a8c0
RG
83052012-03-20 Richard Guenther <rguenther@suse.de>
8306
8307 PR gcov-profile/52627
8308 * libgcov.c (init_mx): Fix mutex name.
8309
86286a8a
TG
83102012-03-16 Tristan Gingold <gingold@adacore.com>
8311
8312 * config/ia64/vms-unwind.h: Remove ulong (and replace
8313 it by unw_reg where used). Define unw_reg with __int64.
8314
7888f266
RO
83152012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8316
8317 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8318 Solaris 8 handling.
8319 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8320 Solaris 8 handling.
8321 (sparc_is_sighandler): Likewise.
8322
f155bc64
L
83232012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8324
8325 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8326 <= saved reg size.
8327
d47657bd
RO
83282012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8329
8330 * config/arm/crtn.S: Fix typo.
8331
5bef73a1
RG
83322012-03-13 Richard Guenther <rguenther@suse.de>
8333
8334 * libgcov.c: Remove stdio.h include and NULL un-define.
8335
9c4271f3
RG
83362012-03-13 Richard Guenther <rguenther@suse.de>
8337
8338 PR target/52569
8339 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8340
c6d10e7c
RG
83412012-03-13 Richard Guenther <rguenther@suse.de>
8342
8343 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8344
074a385f
RG
83452012-03-13 Richard Guenther <rguenther@suse.de>
8346
8347 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8348 and __gthread_mutex_init_function definitions.
8349
c4bc5c25
RO
83502012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8351
8352 * config.host (mips*-*-openbsd*): Remove.
8353
5c30094f
RO
83542012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8355
8356 * config.host: Remove alpha*-dec-osf5.1* handling.
8357 * config/alpha/gthr-posix.c: Remove.
8358 * config/alpha/libgcc-osf5.ver: Remove.
8359 * config/alpha/osf5-unwind.h: Remove.
8360 * config/alpha/t-osf-pthread: Remove.
8361 * config/alpha/t-slibgcc-osf: Remove.
8362 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8363 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8364 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8365 * mkmap-flat.awk: Remove osf_export handling.
8366
33e3e24d
RG
83672012-03-12 Richard Guenther <rguenther@suse.de>
8368
8369 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8370 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8371 (__gthread_mutex_init_function): New function.
8372 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8373
8374 PR gcov/49484
8375 * libgcov.c: Include gthr.h.
8376 (__gcov_flush_mx): New global variable.
8377 (init_mx, init_mx_once): New functions.
8378 (__gcov_flush): Protect self with a mutex.
8379 (__gcov_fork): Re-initialize mutex after forking.
8380 * unwind-dw2-fde.c: Change condition under which to use
8381 __GTHREAD_MUTEX_INIT_FUNCTION.
8382
d8aba32a
TG
83832012-03-12 Tristan Gingold <gingold@adacore.com>
8384
8385 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8386 * config/ia64/t-vms: Likewise.
8387
75ffafdc
MH
83882012-03-11 Michael Hope <michael.hope@linaro.org>
8389
4a172156
UB
8390 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8391 for Thumb-2.
75ffafdc 8392
ef6c2c53
WL
83932012-03-07 Walter Lee <walt@tilera.com>
8394
8395 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8396 "arch_atomic_".
8397 (atomic_xor): Rename and move definition to
8398 config/tilepro/atomic.h.
8399 (atomic_nand): Ditto.
8400 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8401 "arch_atomic_".
8402 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8403 (arch_atomic_nand): Ditto.
8404
4e30d980
GJL
84052012-03-07 Georg-Johann Lay <avr@gjlay.de>
8406
8407 PR target/52507
8408 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8409
61108225
GJL
84102012-03-07 Georg-Johann Lay <avr@gjlay.de>
8411
8412 PR target/52505
8413 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8414 from RAM.
8415
b30e10ab
GJL
84162012-03-07 Georg-Johann Lay <avr@gjlay.de>
8417
8418 PR target/52461
8419 PR target/52508
8420 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8421 if RAMPZ affects reading from RAM.
8422 (__tablejump_elpm__): Ditto.
8423 (.xload): Ditto.
8424 (__movmemx_hi): Ditto.
8425 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8426 (__do_global_dtors): Ditto.
8427 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8428 (__movmemx_hi): Ditto.
8429
8993fde4
RH
84302012-03-05 Richard Henderson <rth@redhat.com>
8431
8432 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8433 [ARM] (count_trailing_zeros): Use the builtin.
8434
b7633ee3
KT
84352012-03-01 Kai Tietz <ktietz@redhat.com>
8436
8437 * soft-fp: Imported from glibc upstream.
8438
fbd3340c
KT
84392012-02-28 Kai Tietz <ktietz@redhat.com>
8440
8441 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8442 for mingw-targets as attribute gcc_struct.
8443
e9e053eb
ILT
84442012-02-28 Ian Lance Taylor <iant@google.com>
8445
8446 * generic-morestack.c (__splitstack_releasecontext): Correct call
8447 to __morestack_release_segments.
8448
d80c632e
ST
84492012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8450
8451 PR target/52390
8452 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8453 for __linux__ when removing signals from __morestack_fullmask.
8454
0253a8b1
GJL
84552012-02-23 Georg-Johann Lay <avr@gjlay.de>
8456
8457 PR target/52261
8458 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8459
e10e461e
UW
84602012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8461
8462 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8463 instead of HAVE_INITFINI_ARRAY.
8464 * config/ia64/crtend.S: Likewise.
8465
0c0c6398
KT
84662012-02-20 Kai Tietz <ktietz@redhat.com>
8467
d7470374
KT
8468 PR libstdc++/52300
8469 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8470
0c0c6398
KT
8471 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8472 to w32-unwind.h header.
8473
78c27266
RS
84742012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8475
8476 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8477 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8478 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8479 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8480
5adeb246
RS
84812012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8482
8483 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8484
672ed313
IS
84852012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8486
8487 PR libitm/52220
8488 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 8489
e948a1fb
IS
84902012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8491 Patrick Marlier <patrick.marlier@gmail.com>
8492
8493 PR libitm/52220
8494 * config/darwin-crt-tm.c: Generate dummy functions.
8495
6017aed3
IS
84962012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8497 Patrick Marlier <patrick.marlier@gmail.com>
8498
8499 PR libitm/52042
8500 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8501 (__doTMRegistrations): Call it.
e9e053eb 8502 (__doTMdeRegistrations): Likewise.
6017aed3 8503
2da8c1ad 85042012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
8505 Anatoly Sokolov <aesok@post.ru>
8506 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
8507
8508 PR target/52261
8509 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8510 (__epilogue_restores__): Ditto.
8511
0f952eb4
EB
85122012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8513
8514 PR target/51921
8515 PR target/52205
8516 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8517 Solaris 11 and slightly reformat.
8518 (sparc_is_sighandler): Likewise.
8519
dd552284
WL
85202012-02-14 Walter Lee <walt@tilera.com>
8521
8522 * config.host: Handle tilegx and tilepro.
8523 * config/tilegx/sfp-machine.h: New file.
8524 * config/tilegx/sfp-machine32.h: New file.
8525 * config/tilegx/sfp-machine64.h: New file.
8526 * config/tilegx/t-crtstuff: New file.
8527 * config/tilegx/t-softfp: New file.
8528 * config/tilegx/t-tilegx: New file.
8529 * config/tilepro/atomic.c: New file.
8530 * config/tilepro/atomic.h: New file.
8531 * config/tilepro/linux-unwind.h: New file.
8532 * config/tilepro/sfp-machine.h: New file.
8533 * config/tilepro/softdivide.c: New file.
8534 * config/tilepro/softmpy.S: New file.
8535 * config/tilepro/t-crtstuff: New file.
8536 * config/tilepro/t-tilepro: New file.
8537
b59cbd50
JW
85382012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8539
8540 PR libstdc++/51296
8541 PR libstdc++/51906
8542 * gthr-posix.h: Allow static initializer macros to be disabled.
8543 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8544
6caf807f
CLT
85452012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8546
8547 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8548 Add t-slibgcc-libgcc to tmake_file.
8549 * config/mips/libgcc-mips16.ver: Revert previous patch.
8550 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8551
7d296953
JJ
85522012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8553 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
8554
8555 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8556 * config/cr16/crti.S: New file.
8557 * config/cr16/crtlibid.S: New file.
8558 * config/cr16/crtn.S: New file.
8559 * config/cr16/lib1funcs.S: New file.
8560 * config/cr16/t-cr16: New file.
8561 * config/cr16/t-crtlibid: New file.
8562 * config/cr16/unwind-dw2.h: New file.
8563 * config/cr16/unwind-cr16.c: New file.
8564 * config/cr16/divmodhi3.c: New file.
8565
8ef03aa7
AM
85662012-01-25 Alan Modra <amodra@gmail.com>
8567
8568 * config/rs6000/t-linux64: Delete. Move..
8569 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8570 * config/rs6000/t-linux: ..and libgcc flags to here.
8571
daecebc8
DR
85722012-01-22 Douglas B Rupp <rupp@gnat.com>
8573
8574 * config.host (i[34567]86-*-interix3*):
8ef03aa7 8575 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
8576 * configure: Regenerate.
8577
ddaf8125
RS
85782012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8579 Richard Sandiford <rdsandiford@googlemail.com>
8580
8581 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8582 * config/mips/mips16.S (__mips16_rdhwr): New function.
8583 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8584
2cd8b32c
NS
85852012-01-11 Nathan Sidwell <nathan@acm.org>
8586
8587 * libgcov.c (__gcov_init): Ignore objects with no functions.
8588
cba300dd
GJL
85892012-01-10 Georg-Johann Lay <avr@gjlay.de>
8590
8591 PR target/49868
8592 Extend __pgmx semantics to linearize memory.
8593 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8594 * config/avr/lib1funcs.S (__xload_1): New function.
8595 (__movmemx_qi, __movmemx_hi): New functions.
8596 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8597 semantics.
9ffaf4bc 8598
3d137660
EB
85992012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8600
8601 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8602 purported sigacthandler address isn't null before dereferencing it.
8603 (sparc_is_sighandler): Likewise.
8604
bf4db96c
EB
86052012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8606
8607 PR ada/41929
8608 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8609 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8610 (sparc_is_sighandler): Likewise.
8611 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8612
1ab3568b
TG
86132012-01-06 Tristan Gingold <gingold@adacore.com>
8614
8615 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8616 compatibility thunks...
8617 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8618 (crtbeginS.o, crtendS.o): ... and these to ...
8619 * config/ia64/t-ia64-elf: ... this new file.
8620 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8621 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8622
925b0ed8
AK
86232012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8624
8625 * configure: Regenerate.
8626 * config/s390/t-crtstuff: Remove -fPIC.
8627
a99ad737
JW
86282012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8629
8630 PR bootstrap/51006
8631 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8632 for NetBSD.
8633
884f56d1
GJL
86342012-01-02 Georg-Johann Lay <avr@gjlay.de>
8635
8636 PR target/51345
8637 * config/avr/lib1funcs.S: Remove FIXME comments.
8638 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8639
8c57e547
GJL
86402012-01-02 Georg-Johann Lay <avr@gjlay.de>
8641
8642 Implement light-weight DImode support.
8643 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8644 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8645 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8646 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8647
04dbc287
NS
86482011-12-30 Nathan Sidwell <nathan@acm.org>
8649
8650 * libgcov.c (gcov_crc32): Remove global var.
8651 (free_fn_data): New function.
8652 (buffer_fn_data): Pass in filename, more robust error recovery.
8653 (crc32_unsigned): New function.
8654 (gcov_exit): More robust detection of new program. More robust
8655 error recovery.
8656 (__gcov_init): Do not update program's crc here.
8657
8e1d97d4
TG
86582011-12-21 Tristan Gingold <gingold@adacore.com>
8659
8660 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8661
9ffaf4bc
ILT
86622011-12-21 Ian Lance Taylor <iant@google.com>
8663
8664 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8665
a0c8d0c1
ILT
86662011-12-20 Ian Lance Taylor <iant@google.com>
8667
8668 * config/i386/morestack.S (__morestack_non_split): If there is
8669 enough stack space already, don't split. Ask for more stack space
8670 than we required.
8671
69048898
SDJ
86722011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8673
8674 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8675 `sys/sdt.h'.
8676 (_Unwind_DebugHook): New function.
8677 (uw_restore_core_regs): New define.
8678 (unwind_phase2): Use uw_restore_core_regs instead of
8679 restore_core_regs.
8680 (unwind_phase2_forced): Likewise.
8681 (__gnu_Unwind_Resume): Likewise.
8682
1bb4b6a3
UB
86832011-12-20 Uros Bizjak <ubizjak@gmail.com>
8684
8685 * config/alpha/linux-unwind.h: Update copyright years.
8686 (MD_FROB_UPDATE_CONTEXT): New define.
8687 (alpha_frob_update_context): New function.
8688
eb028768
RS
86892011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8690
8691 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8692 tmake_file rather replacing it.
8693
6a2045bf
IS
86942011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8695
8696 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 8697 function is not used for PPC64.
6a2045bf
IS
8698 (save_world): Amend comments. Update the VRsave mask to reflect the
8699 saved regs.
8700 (rest_world): Update comments, do not clobber r10, do not use r8.
8701 (eh_rest_world_r10): Amend comments, do not use r8.
8702 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8703 no longer used, move restore of CR and target address to the end of
8704 the routine.
8705
a13780a6
L
87062011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8707
8708 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8709 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8710
d7288dfb
GJL
87112011-12-14 Georg-Johann Lay <avr@gjlay.de>
8712
8713 PR target/49313
8714 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8715 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8716
8d2c862d
EB
87172011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8718
8719 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8720
3447cae6
GJL
87212011-12-09 Georg-Johann Lay <avr@gjlay.de>
8722
8723 PR target/49313
8724 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8725 * config/avr/lib1funcs.S (__muldi3): New function.
8726
806fc6aa
AP
87272011-12-06 Andrew Pinski <apinski@cavium.com>
8728
8729 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8730 size of func_ptr.
8731 (__frame_dummy_init_array_entry): Likewise.
8732
28c5e6b5
GJL
87332011-12-06 Georg-Johann Lay <avr@gjlay.de>
8734
8735 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8736
8737 PR target/51345
8738 PR target/51002
8739 * config/avr/lib1funcs.S (__prologue_saves__,
8740 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8741 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8742
8f90394a
IS
87432011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8744
8745 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8746
06dd33ac
JDA
87472011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8748
8749 PR other/51272
8750 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8751 (_ITM_deregisterTMCloneTable): Likewise.
8752 (__register_frame_info): Fix unused warning.
8753 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8754 pthread_default_stacksize_np): Likewise.
8755 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 8756
85b8555e
DD
87572011-11-29 DJ Delorie <dj@redhat.com>
8758
8759 * config.host (rl78-*-elf): New case.
8760 * config/rl78: New directory for the Renesas RL78.
8761
4d5ae4ea
BS
87622011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8763
8764 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8765 formatting.
8766
f9c55897
RO
87672011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8768
8769 PR other/51022
8770 * config/rs6000/t-savresfgpr: New file.
8771 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8772 $(srcdir)/config/rs6000/eabi.S.
8773 * config/rs6000/t-ppccomm-ldbl: Remove.
8774 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8775 tmake_file.
8776 (powerpc-*-eabispe*): Likewise.
8777 (powerpc-*-eabi*): Likewise.
8778 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8779 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8780 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8781 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8782 tmake_file.
8783 (powerpc-*-eabisim*): Likewise.
8784 (powerpc-*-elf*): Likewise.
8785 (powerpc-*-eabialtivec*): Likewise.
8786 (powerpc-xilinx-eabi*): Likewise.
8787 (powerpc-*-rtems*): Likewise.
8788 (powerpcle-*-elf*): Likewise.
8789 (powerpcle-*-eabisim*): Likewise.
8790 (powerpcle-*-eabi*): Likewise.
8791
a01207c4
ILT
87922011-11-27 Ian Lance Taylor <iant@google.com>
8793
8794 * generic-morestack.c (__splitstack_find): Check for NULL old
8795 stack value.
8796 (__splitstack_resetcontext): New function.
8797 (__splitstack_releasecontext): New function.
8798 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8799
2b0b8ab2
IS
88002011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8801
8802 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8803
c1d8101c
IS
88042011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8805
8806 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8807
8b281334
RH
88082011-11-26 Richard Henderson <rth@redhat.com>
8809
8810 * config/m68k/linux-atomic.c: New file.
8811 * config/m68k/t-linux: New file.
8812 * config.host (m68k-uclinux, m68k-linux): Use it.
8813
7546aa9d
RH
88142011-11-26 Richard Henderson <rth@redhat.com>
8815
8816 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8817 (__TMC_END__): Only declare if hidden is available; in the definition,
8818 if hidden is unavailable add a null record.
8819 (deregister_tm_clones, register_tm_clones): New.
8820 (__do_global_dtors_aux, frame_dummy): Use them.
8821 (__do_global_dtors, __do_global_ctors_1): Likewise.
8822
e2362f5d
IS
88232011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8824
8825 * config/darwin-crt-tm.c: New file.
8826 * config.host (darwin): Build crttms.o crttme.o to provide
8827 startup and shutdown for tm clones.
8828 * config/t-darwin (crttms.o): New build rule.
8829 (crttme.o): Likewise.
8830
6685dd96
HPN
88312011-11-21 Hans-Peter Nilsson <hp@axis.com>
8832
8833 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8834 et al.
8835
b0dc7e4c
RH
88362011-11-21 Richard Henderson <rth@redhat.com>
8837
8838 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8839 (__TMC_LIST__, __TMC_END__): New.
8840 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8841 (__do_global_dtors): Likewise.
8842 (frame_dummy): Call _ITM_registerTMCloneTable.
8843 (__do_global_ctors_1): Likewise.
8844
d4b4b542
RO
88452011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8846
8847 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8848 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8849 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8850 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8851 * config/i386/t-darwin64: Remove.
8852 * config/sh/t-netbsd (LIB2ADD): Remove.
8853
989bdb74
GJL
88542011-11-21 Georg-Johann Lay <avr@gjlay.de>
8855
8856 PR target/49313
8857 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8858 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8859 * config/avr/lib1funcs.S (wmov): New assembler macro.
8860 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8861 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8862 (__udivmod64): New function.
8863 (__negdi2): New function.
8864
515a0cfc
GP
88652011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8866
8867 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8868 *-*-freebsd*aout*): Remove.
8869
0115d17f
HPN
88702011-11-20 Hans-Peter Nilsson <hp@axis.com>
8871
8872 * static-object.mk (c_flags-$o): Save c_flags.
8873 ($(base)$(objext)): Use it.
8874
93aeb62b
SE
88752011-11-18 Steve Ellcey <sje@cup.hp.com>
8876
8877 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8878
7bc6df2c
GJL
88792011-11-18 Georg-Johann Lay <avr@gjlay.de>
8880
8881 PR target/49868
8882 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8883 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8884 New functions.
8885
425d737b
MGD
88862011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8887
8888 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8889 functions.
1bb4b6a3 8890 (aeabi_uidivmod): Likewise.
425d737b
MGD
8891 (umodsi3): Likewise.
8892 (divsi3): Likewise.
8893 (aeabi_idivmod): Likewise.
8894 (modsi3): Likewise.
8895
f2a176dc
TG
88962011-11-16 Tristan Gingold <gingold@adacore.com>
8897
8898 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8899
7c209481
GJL
89002011-11-15 Georg-Johann Lay <avr@gjlay.de>
8901
8902 PR target/49868
8903 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8904 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8905
9dfd5832
JDA
89062011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8907
8908 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8909 tmake_file list.
8910 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8911 * config/pa/t-stublib64: Delete.
8912
f77dca5d
RH
89132011-11-12 Richard Henderson <rth@redhat.com>
8914
8915 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8916 cast the pointer argument to _Unwind_SetGRPtr.
8917
902828f0
RO
89182011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8919
8920 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8921
e14304ef
ILT
89222011-11-09 Ian Lance Taylor <iant@google.com>
8923
8924 * generic-morestack.c: Include <string.h>.
8925 (uintptr_type): Define.
8926 (struct initial_sp): Add dont_block_signals field. Reduce size of
8927 extra array by 1.
8928 (allocate_segment): Set prev field to NULL. Don't set
8929 __morestack_current_segment or __morestack_segments.
8930 (__generic_morestack): Update current->prev and *pp after calling
8931 allocate_segment.
8932 (__morestack_block_signals): Don't do anything if
8933 dont_block_signals is set.
8934 (__morestack_unblock_signals): Likewise.
8935 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8936 uintptr_type.
8937 (__splitstack_block_signals): New function.
8938 (enum __splitstack_content_offsets): Define.
8939 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8940 (__splitstack_makecontext): New function.
8941 (__splitstack_block_signals_context): New function.
8942 (__splitstack_find_context): New function.
8943 * config/i386/morestack.S (__morestack_get_guard): New function.
8944 (__morestack_set_guard, __morestack_make_guard): New functions.
8945 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8946
e3d871e4
RO
89472011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8948
8949 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8950 (i[34567]86-*-mingw*): ... here.
8951 (x86_64-*-mingw*): ... here.
8952
e55cef40
RO
89532011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8954
8955 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8956
5366b186
NS
89572011-11-07 Nathan Sidwell <nathan@acm.org>
8958
8959 * libgcov.c (struct gcov_fn_buffer): New struct.
8960 (buffer_fn_data): New helper.
8961 (gcov_exit): Rework for new gcov data structures.
8962
74155a6f
GJL
89632011-11-07 Georg-Johann Lay <avr@gjlay.de>
8964
8965 PR target/49313
8966 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8967
200feb07
RO
89682011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8969
8970 * config.host (tmake_file): Correct comment.
8971 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8972 t-libgcc-pic.
8973 (bfin*-uclinux*): Likewise.
8974 (bfin*-linux-uclibc*): Likewise.
8975 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8976
8977 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8978 assigning.
8979 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8980 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8981 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8982 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8983 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8984 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8985 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8986 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8987 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8988 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8989 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8990 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8991 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8992
8993 * config/bfin/t-elf: Remove.
8994 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8995
c9cd1a07
RO
89962011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8997
8998 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8999 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9000 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9001 (lm32-*-elf*): ... this.
9002 (lm32-*-rtems*): ... and this.
9003 Add to tmake_file.
9004 (m32r-*-rtems*): Add to tmake_file.
9005 (moxie-*-rtems*): Likewise.
9006 (sparc-*-rtems*): Likewise.
9007 Remove t-rtems from tmake_file.
9008 (sparc64-*-rtems*): Likewise.
9009 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9010 instead.
9011
9fbcc75d
RO
90122011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9013
9014 PR bootstrap/50982
9015 * config/gthr-posix.h: Move ...
9016 * gthr-posix.h: ... here.
9017 * config/gthr-lynx.h: Reflect this.
9018 * config/gthr-vxworks.h: Likewise.
9019 * config/rs6000/gthr-aix.h: Likewise.
9020 * configure.ac (target_thread_file): Likewise.
9021 * configure: Regenerate.
9022
76644b68
SH
90232011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9024
9025 * config.host (arm*-*-rtemseabi*): New target.
9026
5e490f2a
JDA
90272011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9028
9029 PR other/50991
9030 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9031 extra-parts.
9032
feeeff5c
JR
90332011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9034
9035 * config.host (epiphany-*-elf*): New configuration.
9036 * config/epiphany: New Directory.
9037
d618bb2c
RC
90382011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9039
9040 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9041 * config/avr/t-rtems: New.
9042 Filter out _exit from LIB1ASMFUNCS.
9043
1bb6f778
DM
90442011-11-04 David S. Miller <davem@davemloft.net>
9045
9046 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9047 * configure: Rebuild.
9048
9a7f7422
AK
90492011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9050
9051 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9052 variable.
9053
e4fe948a
GJL
90542011-11-04 Georg-Johann Lay <avr@gjlay.de>
9055
9056 PR target/50931
9057 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9058 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9059
7084e037
JS
90602011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9061
9062 PR target/50989
9063 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9064
1a032034
RO
90652011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9066
9067 * config/c6x/t-elf (LIB2ADDEH): Set.
9068 * config/c6x/t-c6x-elf: Remove.
9069
d385f772
RO
90702011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9071
9072 * config/i386/sol2-ci.S: Rename to ...
9073 * config/i386/crti.S: ... this.
9074 * config/i386/sol2-cn.S: Rename to ...
9075 * config/i386/crtn.S: ... this.
9076 * config/sparc/sol2-ci.S: Rename to ...
9077 * config/sparc/crti.S: ... this.
9078 * config/sparc/sol2-cn.S: Rename to ...
9079 * config/sparc/crtn.S: ... this.
9080 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9081 (crti.o, crtn.o): Remove.
9082
1ba878a9
TG
90832011-11-04 Tristan Gingold <gingold@adacore.com>
9084
9085 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9086
02750c15
KK
90872011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9088
9089 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9090
bf86b067
HPN
90912011-11-03 Hans-Peter Nilsson <hp@axis.com>
9092
9093 * config.host (crisv32-*-none, cris-*-none): Remove.
9094 (crisv32-*-elf): Append to tmake_file, don't just set it.
9095 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9096
d0bc53bd
RO
90972011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9098
9099 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9100 (ecrtn$(objext)): Likewise.
9101 (ncrti$(objext)): Likewise.
9102 (ncrtn$(objext)): Likewise.
9103
036da830
AS
91042011-11-03 Andreas Schwab <schwab@redhat.com>
9105
9106 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9107
d2a7d041
DM
91082011-11-02 David S. Miller <davem@davemloft.net>
9109
9110 * configure.ac: Set host_address on sparc too.
9111 * configure: Regenerate.
9112 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9113 based upon host_address.
9114 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9115
af8ed618
JM
91162011-11-02 Jason Merrill <jason@redhat.com>
9117
9118 * config/rs6000/t-ppccomm: Add missing \.
9119
5d1c8e77
RO
91202011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9121
9122 * gthr-single.h, gthr.h: New files.
9123 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9124 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9125 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9126 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9127 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9128 * configure.ac (thread_header): New variable.
9129 Set it depending on target_thread_file.
9130 (gthr-default.h): Link from $thread_header.
9131 * configure: Regenerate.
9132 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9133
852b75ed
RO
91342011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9135
9136 * configure.ac (tm_file_): New variable.
9137 Determine from tm_file.
9138 (tm_file, tm_defines): Substitute.
9139 * configure: Regenerate.
9140 * mkheader.sh: New file.
9141 * Makefile.in (clean): Remove libgcc_tm.h.
9142 ($(objects)): Depend on libgcc_tm.h.
9143 (libgcc_tm_defines, libgcc_tm_file): New variables.
9144 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9145 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9146 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9147 ($(extra-parts)): Depend on libgcc_tm.h.
9148 * config.host (tm_defines, tm_file): New variable.
9149 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9150 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9151 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9152 (avr-*-rtems*): Likewise.
9153 (avr-*-*): Likewise.
9154 (frv-*-elf): Likewise.
9155 (frv-*-*linux*): Likewise.
9156 (h8300-*-rtems*): Likewise.
9157 (h8300-*-elf*): Likewise.
9158 (i[34567]86-*-darwin*): Likewise.
9159 (x86_64-*-darwin*): Likewise.
9160 (rx-*-elf): Likewise.
9161 (tic6x-*-uclinux): Likewise.
9162 (tic6x-*-elf): Likewise.
9163 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9164 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9165 * config/i386/cygming-crtbegin.c: Likewise.
9166 * config/i386/cygming-crtend.c: Likewise.
9167 * config/ia64/fde-vms.c: Likewise.
9168 * config/ia64/unwind-ia64.c: Likewise.
9169 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9170 * config/rs6000/darwin-fallback.c: Likewise.
9171 * config/stormy16/lib2funcs.c: Likewise.
9172 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9173 * crtstuff.c: Likewise.
9174 * dfp-bit.h: Likewise.
9175 * emutls.c: Likewise.
9176 * fixed-bit.c: Likewise.
9177 * fp-bit.c: Likewise.
9178 * generic-morestack-thread.c: Likewise.
9179 * generic-morestack.c: Likewise.
9180 * libgcc2.c: Likewise.
9181 * libgcov.c: Likewise.
9182 * unwind-dw2-fde-dip.c: Likewise.
9183 * unwind-dw2-fde.c: Likewise.
9184 * unwind-dw2.c: Likewise.
9185 * unwind-sjlj.c: Likewise.
9186
f9989b51
RO
91872011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9188
9189 * configure.ac: Include ../config/picflag.m4.
9190 (GCC_PICFLAG): Call it.
9191 Substitute.
9192 * configure: Regenerate.
9193 * Makefile.in (gcc_srcdir): Remove.
9194 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9195 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9196 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9197 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9198 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9199 Use $<.
9200 Remove comment.
9201 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9202 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9203 to refer to libgcc2.c.
9204 Use $<.
9205 * config/darwin-64.c: New file.
9206 * config/darwin-crt3.c: Remove comment.
9207 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9208 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9209 config/udivmodsi4.c: New files.
9210 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9211 config/memset.c: New files.
9212 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9213 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9214 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9215 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9216 * config/t-openbsd-thread: New file.
9217 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9218 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9219 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9220 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9221 qrnnd.S.
9222 Adapt filename.
9223 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9224 to refer to gthr-posix.c.
9225 * config/alpha/t-vms (LIB2ADD): Set.
9226 * config/alpha/vms-gcc_shell_handler.c: New file.
9227 * config/arm/bpabi.c, config/arm/fp16.c,
9228 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9229 config/arm/unaligned-funcs.c: New files.
9230 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9231 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9232 * config/arm/t-linux: Likewise.
9233 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9234 * config/arm/t-netbsd: New file.
9235 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9236 * config/arm/t-symbian (LIB2ADD_ST): Set.
9237 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9238 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9239 * config/bfin/t-elf: New file.
9240 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9241 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9242 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9243 config/c6x/ltf.c: New files.
9244 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9245 (HOST_LIBGCC2_CFLAGS): Set.
9246 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9247 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9248 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9249 New files.
9250 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9251 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9252 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9253 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9254 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9255 files.
9256 * config/frv/t-frv (LIB2ADD): Set.
9257 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9258 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9259 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9260 config/h8300/popcounthi2.c: New files.
9261 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9262 * config/i386/gthr-win32.c: New file.
9263 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9264 * config/i386/t-cygwin: Likewise.
9265 * config/i386/t-darwin, config/i386/t-darwin64,
9266 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9267 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9268 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9269 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9270 * config/ia64/quadlib.c: New file.
9271 * config/ia64/t-hpux (LIB2ADD): Set.
9272 * config/ia64/t-ia64: Add comment.
9273 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9274 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9275 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9276 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9277 * config/m32c/t-m32c (LIB2ADD): Set.
9278 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9279 * config/m32r/t-m32r: Likewise.
9280 * config/m68k/fpgnulib.c: New file.
9281 * config/m68k/t-floatlib (LIB2ADD): Set.
9282 (xfgnulib.c): New target.
9283 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9284 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9285 * config/mep/t-mep (LIB2ADD): Set.
9286 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9287 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9288 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9289 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9290 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9291 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9292 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9293 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9294 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9295 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9296 New files.
9297 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9298 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9299 * config/pa/fptr.c, config/pa/lib2funcs.S,
9300 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9301 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9302 (LIB2ADD, LIB2ADD_ST): Set.
9303 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9304 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9305 Set.
9306 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9307 * config/pdp11/t-pdp11: New file.
9308 * config/picochip/libgccExtras/adddi3.S,
9309 config/picochip/libgccExtras/ashlsi3.S,
9310 config/picochip/libgccExtras/ashrsi3.S,
9311 config/picochip/libgccExtras/clzsi2.S,
9312 config/picochip/libgccExtras/cmpsi2.S,
9313 config/picochip/libgccExtras/divmod15.S,
9314 config/picochip/libgccExtras/divmodhi4.S,
9315 config/picochip/libgccExtras/divmodsi4.S,
9316 config/picochip/libgccExtras/lshrsi3.S,
9317 config/picochip/libgccExtras/parityhi2.S,
9318 config/picochip/libgccExtras/popcounthi2.S,
9319 config/picochip/libgccExtras/subdi3.S,
9320 config/picochip/libgccExtras/ucmpsi2.S,
9321 config/picochip/libgccExtras/udivmodhi4.S,
9322 config/picochip/libgccExtras/udivmodsi4.S: New files.
9323 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9324 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9325 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9326 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9327 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9328 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9329 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9330 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9331 files.
9332 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9333 (HOST_LIBGCC2_CFLAGS): Set.
9334 * config/rs6000/t-darwin64: New file.
9335 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9336 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9337 * config/rs6000/t-ppccomm (LIB2ADD): Add
9338 $(srcdir)/config/rs6000/tramp.S.
9339 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9340 Add $(srcdir)/config/rs6000/eabi.S.
9341 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9342 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9343 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9344 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9345 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9346 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9347 * config/rs6000/tramp.S: New file.
9348 * config/s390/t-tpf: Remove.
9349 * config/sh/linux-atomic.S: New file.
9350 * config/sh/t-linux (LIB2ADD): Set.
9351 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9352 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9353 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9354 to unwind-dw2.c.
9355 (HOST_LIBGCC2_CFLAGS): Set.
9356 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9357 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9358 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9359 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9360 config/spu/mfc_multi_tag_release.c,
9361 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9362 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9363 config/spu/multi3.c: New files.
9364 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9365 (HOST_LIBGCC2_CFLAGS): Set.
9366 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9367 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9368 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9369 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9370 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9371 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9372 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9373 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9374 config/stormy16/umodsi3.c: New files.
9375 * config/xtensa/lib2funcs.S: New file.
9376 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9377 * config/xtensa/t-xtensa (LIB2ADD): Set.
9378 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9379 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9380 Add t-freebsd-thread to tmake_file for posix threads.
9381 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9382 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9383 (*-*-lynxos*): Likewise.
9384 (*-*-netbsd*): Likewise.
9385 (*-*-openbsd*): Likewise.
9386 Add t-openbsd-thread to tmake_file for posix threads.
9387 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9388 (*-*-vxworks*): Set tmake_file.
9389 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9390 (alpha*-*-freebsd*): Likewise.
9391 (alpha*-*-netbsd*): Likewise.
9392 (alpha*-*-openbsd*): Likewise.
9393 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9394 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9395 (alpha*-dec-*vms*): Likewise.
9396 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9397 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9398 (bfin*-uclinux*): Likewise.
9399 (bfin*-linux-uclibc*): Likewise.
9400 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9401 (crisv32-*-none): Likewise.
9402 (cris-*-elf): Likewise.
9403 (cris-*-none): Likewise.
9404 (cris-*-linux*, crisv32-*-linux*): Likewise.
9405 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9406 tmake_file.
9407 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9408 tmake_file.
9409 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9410 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9411 (x86_64-*-elf*): Likewise.
9412 (i[34567]86-*-nto-qnx*): Likewise.
9413 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9414 win32 threads.
9415 (x86_64-*-mingw*): Likewise.
9416 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9417 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9418 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9419 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9420 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9421 tmake_file.
9422 (mipsisa64sr71k-*-elf*): Likewise.
9423 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9424 (mips-*-elf*, mipsel-*-elf*): Likewise.
9425 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9426 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9427 (mips*-*-rtems*): Likewise.
9428 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9429 to tmake_file.
9430 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9431 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9432 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9433 (spu-*-elf*): Likewise.
9434 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9435
45b86625
RO
94362011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9437
9438 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9439 $(srcdir) to refer to $(LIB1ASMSRC).
9440 Use $<.
9441 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9442 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9443 config/arm/lib1funcs.S: New files.
9444 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9445 * config/arm/t-arm: New file.
9446 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9447 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9448 config/arm/t-strongarm-elf: New files.
9449 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9450 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9451 * config/avr/lib1funcs.S: New file.
9452 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9453 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9454 * config/c6x/lib1funcs.S: New file.
9455 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9456 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9457 * config/frv/lib1funcs.S: New file.
9458 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9459 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9460 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9461 * config/ia64/__divxf3.asm: Rename to ...
9462 * config/ia64/__divxf3.S: ... this.
9463 Adapt lib1funcs.asm filename.
9464 * config/ia64/_fixtfdi.asm: Rename to ...
9465 * config/ia64/_fixtfdi.S: ... this.
9466 Adapt lib1funcs.asm filename.
9467 * config/ia64/_fixunstfdi.asm: Rename to ...
9468 * config/ia64/_fixunstfdi.S: ... this.
9469 Adapt lib1funcs.asm filename.
9470 * config/ia64/_floatditf.asm: Rename to ...
9471 * config/ia64/_floatditf.S: ... this.
9472 Adapt lib1funcs.asm filename.
9473 * config/ia64/lib1funcs.S: New file.
9474 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9475 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9476 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9477 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9478 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9479 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9480 * config/mep/lib1funcs.S: New file.
9481 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9482 * config/mips/mips16.S: New file.
9483 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9484 * config/pa/milli64.S: New file.
9485 * config/pa/t-linux, config/pa/t-linux64: New files.
9486 * config/picochip/lib1funcs.S: New file.
9487 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9488 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9489 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9490 * config/sh/t-netbsd: New file.
9491 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9492 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9493 * config/sh/t-sh64: New file.
9494 * config/sparc/lb1spc.S: New file.
9495 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9496 filename.
9497 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9498 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9499 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9500 config/xtensa/lib1funcs.S: New files.
9501 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9502 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9503 tmake_file.
9504 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9505 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9506 (arm*-*-linux*): Likewise.
9507 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9508 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9509 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9510 (arm*-*-ecos-elf): Likewise.
9511 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9512 (arm*-*-rtems*): Likewise.
9513 (arm*-*-elf): Likewise.
9514 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9515 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9516 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9517 (bfin*-uclinux*): Likewise.
9518 (bfin*-linux-uclibc*): Likewise.
9519 (bfin*-rtems*): Likewise.
9520 (bfin*-*): Likewise.
9521 (fido-*-elf): Merge into m68k-*-elf*.
9522 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9523 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9524 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9525 (h8300-*-elf*): Likewise.
9526 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9527 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9528 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9529 (i[34567]86-*-mingw*): Likewise.
9530 (x86_64-*-mingw*): Likewise.
9531 (i[34567]86-*-interix3*): Likewise.
9532 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9533 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9534 (m68k-*-elf*): Also handle fido-*-elf.
9535 Add m68k/t-floatlib to tmake_file.
9536 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9537 (m68k-*-linux*): Likewise.
9538 (m68k-*-rtems*): Likewise.
9539 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9540 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9541 sh64*-*-*.
9542 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9543 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9544 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9545 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9546 sh/t-netbsd to tmake_file.
9547 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9548 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9549 (sh-wrs-vxworks): Likewise.
9550 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9551 *-leon[3-9]*.
9552 (v850*-*-*): Add v850/t-v850 to tmake_file.
9553 (vax-*-linux*): Add vax/t-linux to tmake_file.
9554 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9555
5f73c6cc
RO
95562011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9557
9558 * crtstuff.c: New file.
9559 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9560 (CRTSTUFF_T_CFLAGS): Define.
9561 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9562 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9563 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9564 crtstuff.c.
9565 Use $<.
9566 (crtbeginT.o): Use $(objext).
9567 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9568 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9569 (gcc-extra-parts): Remove.
9570 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9571 Set extra_parts.
9572 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9573 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9574 Add t-crtstuff-pic to tmake_file.
9575 (*-*-lynxos*): New case.
9576 Set tmake_file, extra_parts.
9577 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9578 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9579 *-*-netbsdelf[2-9]*.
9580 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9581 (*-*-rtems*): Set extra_parts.
9582 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9583 (*-*-uclinux*): New case.
9584 Set extra_parts.
9585 (*-*-vms*): New case.
9586 Set tmake_file, extra_parts.
9587 (*-*-elf): Set extra_parts.
9588 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9589 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9590 vms/t-vms64.
9591 Set extra_parts.
9592 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9593 Set extra_parts.
9594 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9595 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9596 (arm-wrs-vxworks): Append to tmake_file.
9597 Set extra_parts.
9598 (arm*-*-uclinux*): Set extra_parts.
9599 (arm*-*-ecos-elf): Likewise.
9600 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9601 arm*-*-eabi*.
9602 (arm*-*-rtems*): Set extra_parts.
9603 (arm*-*-elf): Likewise.
9604 (avr-*-rtems*): Clear extra_parts.
9605 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9606 Set extra_parts.
9607 (bfin*-uclinux*): Likewise.
9608 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9609 (bfin*-rtems*): Append to tmake_file.
9610 Set extra_parts.
9611 (bfin*-*): Likewise.
9612 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9613 (crisv32-*-elf): ... this.
9614 (crisv32-*-none): ... this.
9615 (cris-*-elf, cris-*-none): New cases.
9616 Add cris/t-elfmulti to tmake_file.
9617 (fr30-*-elf): Append to tmake_file.
9618 Set extra_parts.
9619 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9620 Set extra_parts.
9621 (h8300-*-rtems*): Append to tmake_file.
9622 Set extra_parts.
9623 (h8300-*-elf*): Likewise.
9624 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9625 Set extra_parts.
9626 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9627 Set extra_parts.
9628 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9629 (x86_64-*-elf*): Likewise.
9630 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9631 (x86_64-*-freebsd*): Likewise.
9632 (x86_64-*-netbsd*): Likewise.
9633 (i[34567]86-*-linux*): Likewise.
9634 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9635 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9636 (x86_64-*-linux*): Likewise.
9637 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9638 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9639 tmake_file.
9640 Set extra_parts.
9641 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9642 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9643 Append to extra_parts, remove crtbegin.o, crtend.o.
9644 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9645 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9646 crtend.o, crtbeginS.o, crtendS.o.
9647 (ia64*-*-linux*): Comment extra_parts.
9648 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9649 Set extra_parts.
9650 (iq2000*-*-elf*): Clear extra_parts.
9651 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9652 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9653 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9654 (m32r-*-rtems*): ... this.
9655 Add m32r/t-m32r to tmake_file.
9656 (m68k-*-elf*): Add t-crtin to tmake_file.
9657 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9658 (mcore-*-elf): Likewise.
9659 (microblaze*-*-*): Set extra_parts.
9660 (mips*-sde-elf*): New case.
9661 Set tmake_file, extra_parts.
9662 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9663 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9664 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9665 tmake_file.
9666 Set extra_parts.
9667 (mipsisa64sr71k-*-elf*): Likewise.
9668 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9669 (mips-*-elf*, mipsel-*-elf*): Likewise.
9670 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9671 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9672 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9673 (mips*-*-rtems*): Likewise.
9674 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9675 (moxie-*-*): Split into ...
9676 (moxie-*-elf, moxie-*-uclinux*): ... this.
9677 Add to extra_parts, remove crtbegin.o, crtend.o.
9678 (moxie-*-rtems*): New case.
9679 Set tmake_file.
9680 Clear extra_parts.
9681 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9682 Set extra_parts.
9683 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9684 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9685 tmake_file.
9686 Set extra_parts.
9687 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9688 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9689 Set extra_parts.
9690 (powerpc-*-eabisim*): Likewise.
9691 (powerpc-*-elf*): Likewise.
9692 (powerpc-*-eabialtivec*): Likewise.
9693 (powerpc-xilinx-eabi*): Likewise.
9694 (powerpc-*-eabi*): Likewise.
9695 (powerpc-*-rtems*): Likewise.
9696 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9697 tmake_file.
9698 Set extra_parts.
9699 (powerpc-*-lynxos*): Add to tmake_file.
9700 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9701 rs6000/t-crtstuff, t-crtstuff-pic.
9702 Set extra_parts.
9703 (powerpcle-*-eabisim*): Likewise.
9704 (powerpcle-*-eabi*): Likewise.
9705 (rx-*-elf): Remove extra_parts.
9706 (s390x-ibm-tpf*): Set extra_parts.
9707 (score-*-elf): Set extra_parts.
9708 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9709 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9710 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9711 (sh64l*-*-netbsd*): Split into ...
9712 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9713 Add t-crtstuff-pic to tmake_file.
9714 Set extra_parts.
9715 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9716 Set extra_parts.
9717 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9718 (sparc-*-elf*): Remove t-crtin from tmake_file.
9719 Add to extra_parts, remove crtbegin.o, crtend.o.
9720 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9721 (sparc64-*-linux*): Likewise.
9722 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9723 Add to extra_parts, remove crtbegin.o, crtend.o.
9724 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9725 Add to extra_parts, remove crtbegin.o, crtend.o.
9726 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9727 Add to extra_parts, remove crtbegin.o, crtend.o.
9728 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9729 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9730 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9731 Set extra_parts.
9732 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9733 Set extra_parts.
9734 (tic6x-*-*): Change to ...
9735 (tic6x-*-elf): ... this.
9736 Set extra_parts.
9737 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9738 Set extra_parts.
9739 (am33_2.0-*-linux*): Add comment.
9740 (mep*-*-*): Add mep/t-mep to tmake_file.
9741 Set extra_parts.
9742 * config/alpha/t-vms: New file.
9743 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9744 * config/arm/crti.S, config/arm/crtn.S: New files.
9745 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9746 * config/bfin/crtlibid.S: New file.
9747 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9748 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9749 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9750 (crti.o, crtin.o): New rules.
9751 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9752 * config/c6x/t-uclinux: New file.
9753 * config/cris/t-elfmulti: New file.
9754 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9755 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9756 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9757 * config/frv/t-frv: New file.
9758 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9759 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9760 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9761 New files.
9762 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9763 refer to cygming-crtbegin.c, cygming-crtend.c.
9764 Use $<.
9765 * config/i386/t-nto: New file.
9766 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9767 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9768 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9769 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9770 Use .S extension.
9771 Use $<.
9772 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9773 (crtinitS.o): New rule.
9774 * config/ia64/vms-crtinit.S: New file.
9775 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9776 * config/m32r/initfini.c: New file.
9777 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9778 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9779 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9780 * config/mep/t-mep: New file.
9781 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9782 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9783 * config/mips/crti.S, config/mips/crtn.S: New files.
9784 * config/mips/t-crtstuff: New file.
9785 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9786 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9787 (CUSTOM_CRTIN): Set.
9788 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9789 dependencies.
9790 Use $(srcdir) to refer to crti.S, crtn.S.
9791 Use .S extension, $<.
9792 * config/moxie/crti.asm: Rename to ...
9793 * config/moxie/crti.S: ... this.
9794 * config/moxie/crtn.asm: Rename to ...
9795 * config/moxie/crtn.S: ... this.
9796 * config/moxie/t-moxie: Remove.
9797 * config/pa/stublib.c: New file.
9798 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9799 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9800 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9801 * config/rs6000/t-crtstuff: New file.
9802 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9803 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9804 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9805 Make output file explicit.
9806 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9807 Make output file explicit.
9808 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9809 Make output file explicit.
9810 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9811 Make output file explicit.
9812 * config/score/crti.S, config/score/crtn.S: New files.
9813 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9814 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9815 files.
9816 * config/sh/t-sh, config/sh/t-superh: New files.
9817 * config/sparc/t-linux64: New file.
9818 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9819 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9820 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9821 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9822 * config/t-crtin: Remove.
9823 * config/t-crtstuff-pic: New file.
9824 * config/t-sol2 (CUSTOM_CRTIN): Set.
9825 (crti.o, crtn.o): New rules.
9826 * config/vms/t-vms: New file.
9827 * config/vms/vms-ucrt0.c: New file.
9828 * config/xtensa/t-elf: New file.
9829
b040f2be
RO
98302011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9831
9832 * Makefile.in (SHLIB_NM_FLAGS): Set.
9833 * mkmap-flat.awk, mkmap-symver.awk: New files.
9834 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9835 exceptions.
9836 * configure: Regenerate.
9837 * config/libgcc-glibc.ver: New file.
9838 * config/libgcc-libsystem.ver: New file.
9839 * config/t-libunwind (SHLIB_LC): Set.
9840 * config/t-linux: New file.
9841 * config/t-slibgcc (INSTALL_SHLIB): New.
9842 (SHLIB_INSTALL): Use it.
9843 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9844 to mkmap-symver.awk.
9845 (SHLIB_MAPFILES): Don't append, adapt pathname.
9846 (SHLIB_VERPFX): Set.
9847 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9848 to mkmap-symver.awk.
9849 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9850 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9851 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9852 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9853 to mkmap-flat.awk.
9854 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9855 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9856 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9857 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9858 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9859 * config/i386/libgcc-darwin.10.4.ver,
9860 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9861 New files.
9862 * config/i386/t-darwin: Remove.
9863 * config/i386/t-darwin64: Likewise.
9864 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9865 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9866 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9867 * config/i386/t-linux: New file.
9868 * config/i386/t-mingw32: New file.
9869 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9870 * config/ia64/t-glibc: Rename to ...
9871 * config/ia64/t-linux: ... this.
9872 (SHLIB_MAPFILES): Set.
9873 * config/ia64/t-glibc-libunwind: Rename to ...
9874 * config/ia64/t-linux-libunwind: ... this.
9875 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9876 * config/ia64/t-slibgcc-hpux: New file.
9877 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9878 * config/m68k/t-slibgcc-elf-ver: New file.
9879 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9880 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9881 to mkmap-flat.awk.
9882 * config/pa/t-slibgcc-hpux: New file.
9883 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9884 files.
9885 * config/rs6000/libgcc-darwin.10.4.ver,
9886 config/rs6000/libgcc-darwin.10.5.ver: New files.
9887 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9888 config/rs6000/libgcc-glibc.ver.
9889 * config/rs6000/libgcc-ppc64.ver: Rename to
9890 config/rs6000/libgcc-ibm-ldouble.ver.
9891 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9892 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9893 * config/rs6000/t-ldbl128: Rename to ...
9894 * config/rs6000/t-linux: ... this.
9895 (SHLIB_MAPFILES): Adapt filename.
9896 * config/rs6000/t-slibgcc-aix: New file.
9897 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9898 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9899 libgcc-excl.ver, libgcc-glibc.ver.
9900 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9901 * config/sparc/libgcc-glibc.ver: New file.
9902 * config/sparc/t-linux: New file.
9903 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9904 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9905 t-slibgcc-elf-ver to tmake_file.
9906 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9907 *-*-freebsd[34].
9908 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9909 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9910 t-slibgcc-elf-ver, t-linux to tmake_file.
9911 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9912 tmake_file.
9913 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9914 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9915 (alpha*-dec-*vms*): Likewise.
9916 (arm*-*-freebsd*): Append to tmake_file.
9917 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9918 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9919 arm*-*-linux-*eabi.
9920 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9921 tmake_file for arm*-*-symbianelf*.
9922 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9923 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9924 cris/t-linux.
9925 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9926 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9927 pa/t-slibgcc-dwarf-ver to tmake_file.
9928 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9929 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9930 (hppa*64*-*-hpux11*): Likewise.
9931 (hppa[12]*-*-hpux11*): Likewise.
9932 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9933 i386/t-crtpc, i386/t-crtfm.
9934 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9935 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9936 to tmake_file.
9937 Add i386/t-cygwin to tmake_file.
9938 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9939 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9940 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9941 to tmake_file.
9942 Add i386/t-mingw32 to tmake_file.
9943 (x86_64-*-mingw*): Likewise.
9944 (ia64*-*-freebsd*): Append to tmake_file.
9945 (ia64*-*-linux*): Append to tmake_file.
9946 Replace ia64/t-glibc by ia64/t-linux.
9947 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9948 system libunwind.
9949 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9950 t-slibgcc-hpux to tmake_file.
9951 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9952 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9953 (m32rle-*-linux*): Likewise.
9954 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9955 sjlj exceptions.
9956 (microblaze*-linux*): New case.
9957 Append to tmake_file, add t-slibgcc-nolc-override.
9958 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9959 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9960 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9961 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9962 rs6000/t-slibgcc-aix to tmake_file.
9963 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9964 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9965 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9966 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9967 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9968 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9969 sh*-*-linux*.
9970 (sparc-*-linux*): Append to tmake_file for *-leon*.
9971 Add sparc/t-linux to tmake_file for non-Leon targets.
9972 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9973 (tic6x-*-uclinux): New case.
9974 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9975 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9976 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9977 (am33_2.0-*-linux*): Append to tmake_file.
9978 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9979 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9980 x86_64-*-kfreebsd*-gnu.
9981 Add i386/t-linux to tmake_file.
9982
18b4bd7b
ILT
99832011-10-28 Ian Lance Taylor <iant@google.com>
9984
9985 * config/i386/morestack.S: Correct CFI information to do proper
9986 returns throughout function. In 32-bit mode, save %ebx so that it
9987 is restored on unwind.
9988
5b2d9d90
BS
99892011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9990
9991 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9992 case where B3 isn't the return register.
9993
0d53e346
BS
9994 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9995 logic for doubleword pops.
9996
cbffbd59
AT
99972011-10-25 Andreas Tobler <andreast@fgznet.ch>
9998
9999 * config/rs6000/t-freebsd: Add wildcard.
10000
56dc349e
PB
100012011-10-21 Paul Brook <paul@codesourcery.com>
10002
10003 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10004
1e06b07d
UB
100052011-10-16 Uros Bizjak <ubizjak@gmail.com>
10006 Eric Botcazou <ebotcazou@adacore.com>
10007
10008 PR target/50737
10009 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10010 fs->signal_frame to 1.
10011
b5204884
ILT
100122011-10-07 Ian Lance Taylor <iant@google.com>
10013
10014 * generic-morestack-thread.c: #include <errno.h>.
10015
91a639a1
ILT
100162011-10-07 Ian Lance Taylor <iant@google.com>
10017
10018 PR target/46093
10019 * generic-morestack.c (__generic_morestack): Make sure the segment
10020 is large enough for both the stack frame and the copied
10021 parameters.
10022
cc49116d
RO
100232011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10024
10025 PR bootstrap/49804
10026 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10027 extra_parts.
10028
2996d8c3
NC
100292011-09-28 Nick Clifton <nickc@redhat.com>
10030
10031 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10032 64-bit doubles are not enabled.
10033 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10034 and floatunsisf functions.
10035
1e874273 100362011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 10037
1e874273
PB
10038 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10039 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10040 * unwind-arm-common.inc: New file.
10041 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10042 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10043 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10044 * config/c6x/libunwind.S: New file.
10045 * config/c6x/pr-support.c: New file.
10046 * config/c6x/unwind-c6x.c: New file.
10047 * config/c6x/unwind-c6x.h: New file.
10048 * config/c6x/t-c6x-elf: New file.
10049
f70c879a
UB
100502011-08-23 Uros Bizjak <ubizjak@gmail.com>
10051
10052 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10053 (ASM_DIVZERO): Ditto.
10054 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10055
c55b374b
RS
100562011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10057
10058 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10059
1e138510
RS
100602011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10061
10062 PR target/50090
10063 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10064 instead of an assembly one.
10065
1563503d
PB
100662011-08-12 Paolo Bonzini <bonzini@gnu.org>
10067
10068 PR bootstrap/50047
10069 * Makefile.in (install-unwind_h): Create
10070 $(gcc_objdir)/include/unwind.h atomically.
10071
3627ac1a
RO
100722011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10073
10074 * Makefile.in (install-unwind_h): Remove destination file first.
10075
c6412d86
RO
100762011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10077
10078 * sync.c: New file.
10079 * config/mips/t-mips16: New file.
10080 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10081 (mips*-*-linux*): Likewise.
10082 (mips*-sde-elf*): Likewise.
10083 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10084 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10085 Add mips/t-mips16 to tmake_file.
10086 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10087 (mips-*-elf*): Likewise.
10088 (mips64-*-elf*): Likewise.
10089 (mips64orion-*-elf*): Likewise.
10090 (mips*-*-rtems*): Likewise.
10091 (mipstx39-*-elf*): Likewise.
10092 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10093 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10094 LIBGCC_SYNC_CFLAGS.
10095 Use $(srcdir) to refer to sync.c.
10096 Use $<.
10097 ($(libgcc-sync-funcs-o)): Likewise.
10098 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10099 ($(libgcc-sync-funcs-s-o)): Likewise.
10100
3cb6e5bd
AS
101012011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10102
10103 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10104 t-libunwind.
10105
cca2207a
L
101062011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10107
10108 PR other/48007
10109 * config/i386/value-unwind.h: New.
10110
ed39fbad
RS
101112011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10112
10113 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10114 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10115 Add to tmake_file rather than overriding it.
10116
aca0b0b3
RO
101172011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10118
10119 * config/t-softfp: Remove.
10120 * soft-fp: Moved from ../gcc/config.
10121 * soft-fp/README: Remove t-softfp reference.
10122 * soft-fp/t-softfp: Move to config/t-softfp.
10123 (softfp_machine_header): Remove.
10124 (softfp_file_list): Remove config subdir.
10125 (soft-fp-objects): New variable.
10126 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10127 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10128 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10129 * config/t-softfp-excl: New file.
10130 * config/t-softfp-sfdf: New file.
10131 * config/t-softfp-tf: New file.
10132 * config/no-sfp-machine.h: New file.
10133 * config/arm/sfp-machine.h: New file.
10134 * config/arm/t-softfp: New file.
10135 * config/c6x/sfp-machine.h: New file.
10136 * config/i386/32/t-fprules-softfp: Rename to ...
10137 * config/i386/32/t-softfp: ... this.
10138 (tifunctions, LIB2ADD): Remove.
10139 (softfp_int_modes): Override.
10140 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10141 subdir.
10142 * config/i386/64/eqtf2.c: Likewise.
10143 * config/i386/64/getf2.c: Likewise.
10144 * config/i386/64/letf2.c: Likewise.
10145 * config/ia64/sft-machine.h: New file.
10146 * config/ia64/t-fprules-softfp: Rename to ...
10147 * config/ia64/t-softfp: ... this.
10148 * config/lm32/sfp-machine.h: New file.
10149 * config/moxie/t-moxie-softfp: Remove.
10150 * config/rs6000/ibm-ldouble-format: New file.
10151 * config/rs6000/ibm-ldouble.c: New file.
10152 * config/rs6000/libgcc-ppc-glibc.ver: New file
10153 * config/rs6000/libgcc-ppc64.ver: New file
10154 * config/rs6000/sfp-machine.h: New file.
10155 * config/rs6000/t-freebsd: New file.
10156 * config/rs6000/t-ibm-ldouble: New file.
10157 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10158 libgcc-ppc-glibc.ver.
10159 * config/rs6000/t-linux64: New file.
10160 * config/rs6000/t-ppccomm (LIB2ADD): Add
10161 $(srcdir)/config/rs6000/ibm-ldouble.c.
10162 * config/rs6000/t-ppccomm-ldbl: New file.
10163 * config/score/sfp-machine.h: New file.
10164 * config.host (sfp_machine_header): Explain.
10165 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10166 t-softfp to tmake_file.
10167 (arm*-*-uclinux*): Likewise.
10168 (arm*-*-ecos-elf): Likewise.
10169 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10170 (arm*-*-rtems*): Likewise.
10171 (arm*-*-elf): Likewise.
10172 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10173 in tmake_file.
10174 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10175 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10176 (lm32-*-uclinux*): Likewise.
10177 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10178 t-softfp-excl, t-softfp.
10179 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10180 (powerpc64-*-darwin*): Likewise.
10181 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10182 to tmake_file.
10183 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10184 tmake_file.
10185 (powerpc-*-eabisim*): Likewise.
10186 (powerpc-*-elf*): Likewise.
10187 (powerpc-*-eabialtivec*): Likewise.
10188 (powerpc-xilinx-eabi*): Likewise.
10189 (powerpc-*-rtems*): Likewise.
10190 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10191 t-softfp-excl, t-softfp to tmake_file.
10192 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10193 rs6000/t-ppccomm-ldbl to tmake_file.
10194 (powerpcle-*-elf*): Likewise.
10195 (powerpcle-*-eabisim*): Likewise.
10196 (powerpcle-*-eabi*): Likewise.
10197 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10198 rs6000/t-ibm-ldouble to tmake_file.
10199 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10200 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10201 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10202 (tic6x-*-*): Likewise.
10203 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10204 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10205 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10206 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10207 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10208 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10209 t-softfp to tmake_file.
10210 * configure.ac (sfp_machine_header): Provide default if unset.
10211 Substitute.
10212 Link sfp-machine.h to config/$sfp_machine_header.
10213 * configure: Regenerate.
10214
569dc494
RO
102152011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10216
10217 * Makefile.in (double_type_size, long_double_type_size): Set.
10218 Remove $(fpbit-in-libgcc) support.
10219 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10220 (fpbit-src): New variable.
10221 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10222 Compile with -DFLOAT $(FPBIT_CFLAGS).
10223 Use $<.
10224 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10225 Compile with $(FPBIT_CFLAGS).
10226 Use $<.
10227 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10228 Compile with -DFLOAT $(TPBIT_CFLAGS).
10229 Use $<.
10230 * configure.ac (double_type_size, long_double_type_size):
10231 Determine and substitute.
10232 * configure: Regenerate.
10233 * fp-bit.c, fp-bit.h: New files.
10234 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10235 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10236 * config/mips/t-mips: New file.
10237 * config/mips/t-sdemtk: New file.
10238 * config/rs6000/ppc64-fp.c: New file.
10239 * config/rs6000/t-darwin (LIB2ADD): Add
10240 $(srcdir)/config/rs6000/ppc64-fp.c.
10241 * config/rs6000/t-ppc64-fp: New file.
10242 * config/rx/rx-lib.h: New file.
10243 * config/rx/t-rx (FPBIT): Set to true.
10244 ($(gcc_objdir)/fp-bit.c): Remove.
10245 (DPBIT): Set to true only with -m64bit-doubles.
10246 ($(gcc_objdir)/dp-bit.c): Remove.
10247 * config/sparc/t-softfp: Remove.
10248 * config/spu/t-elf: New file.
10249 * config/t-fdpbit, config/t-fpbit: New files.
10250 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10251 (mips*-*-*): Likewise.
10252 (arm-wrs-vxworks): Likewise.
10253 (arm*-*-freebsd*): Likewise.
10254 (avr-*-rtems*): Add t-fpbit to tmake_file.
10255 (avr-*-*): Likewise.
10256 (bfin*-elf*): Add t-fdpbit to tmake_file.
10257 (bfin*-uclinux*): Likewise.
10258 (bfin*-linux-uclibc*): Likewise.
10259 (bfin*-rtems*): New case.
10260 Add t-fdpbit to tmake_file.
10261 (bfin*-*): Add t-fdpbit to tmake_file.
10262 (crisv32-*-elf): Likewise.
10263 (cris-*-linux*): Likewise.
10264 (fr30-*-elf): Likewise.
10265 (frv-*-elf, frv-*-*linux*): Likewise.
10266 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10267 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10268 (m32r-*-elf*): Likewise.
10269 (m32rle-*-elf*): Likewise.
10270 (m32r-*-linux*): Likewise.
10271 (m32rle-*-linux*): Likewise.
10272 (mcore-*-elf): Add t-fdpbit to tmake_file.
10273 (microblaze*-*-*): Likewise.
10274 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10275 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10276 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10277 Fix typo.
10278 Add mips/t-tpbit to tmake-file.
10279 (mips*-*-linux*): Fix typo.
10280 (mips*-sde-elf*): New case
10281 Add mips/t-sdemtk unless using newlib.
10282 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10283 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10284 (mn10300-*-*): Likewise.
10285 (pdp11-*-*): Likewise.
10286 (picochip-*-*): Add t-fpbit to tmake_file.
10287 (powerpc-*-eabisimaltivec*): Likewise.
10288 (powerpc-*-eabisim*): Likewise.
10289 (powerpc-*-elf*): Likewise.
10290 (powerpc-*-eabialtivec*): Likewise.
10291 (powerpc-xilinx-eabi*): New case.
10292 Add t-fdpbit to tmake_file.
10293 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10294 (powerpc-*-rtems*): Likewise.
10295 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10296 tmake_file.
10297 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10298 tmake_file.
10299 (powerpc-*-lynxos*): Likewise.
10300 (powerpcle-*-elf*): Likewise.
10301 (powerpcle-*-eabisim*): Likewise.
10302 (powerpcle-*-eabi*): Likewise.
10303 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10304 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10305 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10306 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10307 (rx-*-elf): Add t-fdpbit to tmake_file.
10308 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10309 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10310 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10311 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10312 sh*-*-netbsd*.
10313 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10314 (sh-wrs-vxworks): Likewise.
10315 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10316 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10317 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10318 (sparc64-*-rtems*): ... new case.
10319 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10320 (spu-*-elf*): Likewise.
10321 Add spu/t-elf to tmake_file.
10322 (v850*-*-*): Add t-fdpbit to tmake_file.
10323 (xstormy16-*-elf): Likewise.
10324 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10325 (mep*-*-*): Likewise.
10326
201cdb74
RO
103272011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10328
10329 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10330 variables.
10331 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10332 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10333 (install-unwind_h): New target.
10334 (all): Depend on it.
10335 * config.host (unwind_header): New variable.
10336 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10337 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10338 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10339 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10340 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10341 Set unwind_header.
10342 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10343 Set unwind_header.
10344 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10345 arm*-*-eabi*.
10346 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10347 Set unwind_header.
10348 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10349 (ia64*-*-freebsd*): Likewise.
10350 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10351 tmake_file.
10352 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10353 $with_system_libunwind.
10354 (ia64*-*-hpux*): Set tmake_file.
10355 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10356 (picochip-*-*): Set tmake_file.
10357 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10358 md_unwind_header.
10359 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10360 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10361 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10362 (xtensa*-*-elf*): Set tmake_file.
10363 (xtensa*-*-linux*): Likewise.
10364 * configure.ac: Include ../config/unwind_ipinfo.m4.
10365 Call GCC_CHECK_UNWIND_GETIPINFO.
10366 Link unwind.h to $unwind_header.
10367 * configure: Regenerate.
10368 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10369 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10370 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10371 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10372 * config/unwind-dw2-fde-darwin.c: New file.
10373 * config/arm/libunwind.S, config/arm/pr-support.c,
10374 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10375 config/arm/unwind-arm.h,: New files.
10376 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10377 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10378 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10379 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10380 config/ia64/unwind-ia64.h: New files.
10381 * config/picochip/t-picochip: New file.
10382 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10383 files.
10384 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10385 * config/s390/t-tpf (LIB2ADDEH): Remove.
10386 * config/t-darwin (LIB2ADDEH): Set.
10387 * config/t-eh-dw2-dip: New file.
10388 * config/t-libunwind, config/t-libunwind-elf: New files.
10389 * config/t-sol2 (LIB2ADDEH): Remove.
10390 * config/xtensa/t-xtensa: New file.
10391
40f2f11f
L
103922011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10393
10394 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10395 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10396 long long to check rt_sigreturn syscall.
10397
bd15e32c
AM
103982011-08-02 Alan Modra <amodra@gmail.com>
10399
10400 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10401 Restore for indirect call bcrtl from correct stack slot, and only
10402 if cfa+40 isn't valid.
10403
655b30bf
JB
104042011-08-01 Julian Brown <julian@codesourcery.com>
10405
10406 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10407 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10408 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10409
247eb06f
JB
104102011-08-01 Julian Brown <julian@codesourcery.com>
10411
10412 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10413 (libgcc-std.ver.in): Use above.
10414 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10415 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10416 throughout file.
10417 * config/t-fixedpoint-gnu-prefix: New file.
10418 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10419 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10420 instead of __PFX__.
10421
02a8fe00
L
104222011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10423
10424 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10425 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10426 for x86-64. Properly check __x86_64__ and __LP64__.
10427
5fce9126
L
104282010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10429
10430 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10431 version.
10432 (_FP_WS_TYPE): Likewise.
10433 (_FP_I_TYPE): Likewise.
10434
2374a88a
AM
104352011-07-28 Alan Modra <amodra@gmail.com>
10436
10437 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10438 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10439 in a plt call stub. Do restore r2 if stopped on bctrl.
10440
e44dbbe1
RO
104412011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10442
10443 * config.host (i[3456x]86-*-netware*): Remove.
10444 * config/i386/netware-crt0.c, config/i386/t-nwld,
10445 config/i386/t-slibgcc-nwld: Remove.
10446
bcead286
BS
104472011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10448
10449 * config.host: Handle tic6x-*-*.
10450 * config/c6x/c6x-abi.h: New file.
10451
b3fe1584
RO
104522011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10453
10454 * config/i386/crtprec.c: New file.
10455 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10456 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10457 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10458 (x86_64-*-darwin*): Likewise.
10459 (i[34567]86-*-solaris2*: Likewise.
10460
35d8090d
RO
104612011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10462
10463 * config/alpha/crtfastmath.c: New file.
10464 * config/i386/crtfastmath.c: New file.
10465 * config/ia64/crtfastmath.c: New file.
10466 * config/mips/crtfastmath.c: New file.
10467 * config/sparc/crtfastmath.c: New file.
10468
10469 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10470 crtfastmath.c.
10471 Add -frandom-seed=gcc-crtfastmath.
10472 * config/alpha/t-crtfm: Remove.
10473 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10474 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10475
10476 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10477 (alpha*-dec-osf5.1*): Likewise.
10478 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10479 Add crtfastmath.o to extra_parts.
10480 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10481 Add crtfastmath.o to extra_parts.
10482 (x86_64-*-darwin*): Likewise.
10483 (x86_64-*-mingw*): Likewise.
10484 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10485 (ia64*-*-freebsd*): Likewise.
10486 (ia64*-*-linux*): Likewise.
10487 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10488 Add crtfastmath.o to extra_parts.
10489
e141542e
RO
104902011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10491
10492 * config/darwin-crt3.o: New file.
10493 * config/rs6000/darwin-crt2.c: New file.
10494 * config/t-darwin: New file.
10495 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10496 (crt2.o): New rule.
10497 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10498 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10499 (powerpc64-*-darwin*): Likewise.
10500
2d1efe2d
RO
105012011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10502
10503 * config/i386/netware-crt0.c: New file.
10504 * config/i386/t-nwld: Rename to ...
10505 * config/i386/t-slibgcc-nwld: ... this.
10506 * config/i386/t-nwld: New file.
10507 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10508 tmake_file.
10509 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10510 extra_parts.
10511
4a8bb046
RO
105122011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10513
10514 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10515 i386/t-crtstuff.
10516 * configure: Regenerate.
10517
2d8d5935
RO
105182011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10519
10520 * dfp-bit.c, dfp-bit.h: New files.
10521 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10522 variables.
10523 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10524 ($(d64pbit-o)): Likewise.
10525 ($(d128pbit-o)): Likewise.
10526 * config/t-dfprules: New file.
10527 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10528 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10529 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10530 (x86_64-*-linux*): Likewise.
10531 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10532 (i[34567]86-*-cygwin*): Likewise.
10533 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10534 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10535
2c50b2c3
RO
105362011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10537
10538 * Makfile.in (LIBGCOV): New variable.
10539 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10540 * libgcov.c: New file.
10541
a039d7c2
RO
105422011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10543
10544 * fixed-bit.c, fixed-bit.h: New files.
10545 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10546 refer to fixed-bit.c.
10547
1e4b2746
JM
105482011-07-07 Joseph Myers <joseph@codesourcery.com>
10549
10550 * config.host (*local*): Remove.
10551
fbdd5d87
RO
105522011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10553
10554 PR target/39150
10555 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10556 like i?86-*-solaris2.1[0-9]*.
10557 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10558 * configure.ac (i?86-*-solaris2*): Likewise.
10559 * configure: Regenerate.
10560
9e7714f4
TS
105612011-07-06 Thomas Schwinge <thomas@schwinge.name>
10562
10563 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10564 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10565 md_unwind_header by splitting out of...
10566 (i[34567]86-*-linux*): ... this.
10567 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10568 Remove md_unwind_header by splitting out of...
10569 (x86_64-*-linux*): ... this.
10570
6dab9931
GJL
105712011-07-04 Georg-Johann Lay <avr@gjlay.de>
10572
10573 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10574
4be46d19
NC
105752011-06-28 Nick Clifton <nickc@redhat.com>
10576
10577 * config.host: Recognize all V850 variants.
10578
1da9434b
UB
105792011-06-22 Uros Bizjak <ubizjak@gmail.com>
10580
10581 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10582
e4d48a4d
RO
105832011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10584
10585 * shared-object.mk (c_flags-$o): Save c_flags.
10586 ($(base)$(objext)): Use it.
10587 ($(base)_s$(objext)): Likewise.
10588
3801c801
BS
105892011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10590
10591 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10592 * libgcc-std.ver.in (GCC_4.7.0): New section.
10593
0ad8bb3b 105942011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 10595
0ad8bb3b
GJL
10596 PR target/49313
10597 PR target/29524
10598 * config/avr/t-avr: Fix line endings.
10599 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10600 _parityXX2.
10601
ea963999
OH
106022011-06-14 Olivier Hainque <hainque@adacore.com>
10603 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10604
10605 * config/mips/irix6-unwind.h: New file.
10606 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10607
b11b0904
EB
106082011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10609
10610 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10611 (sparc64_fallback_frame_state): Use it.
10612 (sparc64_frob_update_context): Further adjust context.
10613 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10614 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10615 * config/sparc/sol2-cn.S: Likewise.
10616
10e48e39
RO
106172011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10618
10619 * enable-execute-stack-empty.c: New file.
10620 * enable-execute-stack-mprotect.c: New file.
10621 * config/i386/enable-execute-stack-mingw32.c: New file.
10622 * config.host (enable_execute_stack): New variable.
10623 Select appropriate variants.
10624 * configure.ac: Link enable-execute-stack.c to
10625 $enable_execute_stack.
10626 * configure: Regenerate.
10627 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10628 (lib2funcs): Remove _enable_execute_stack.
10629
10c4cabc
DM
106302011-06-09 David S. Miller <davem@davemloft.net>
10631 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10632
10633 * config.host (sparc-*-linux*): Correct md_unwind_header
10634 filename.
10635 (s390x-ibm-tpf*): Fix typo.
10636
aa4203e7
RO
106372011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10638
10639 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10640 Add crtfastmath.o to extra_parts.
10641 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10642 mips/t-crtfm.
10643 * config/mips/t-crtfm: Remove.
10644
0defd786
JDA
106452011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10646
10647 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10648
82f247af
KK
106492011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10650
10651 * config.host (sh*-*-linux*): Fix typo.
10652
58cd1d70
RO
106532011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10654
10655 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10656 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10657 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10658 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10659 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10660 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10661 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10662 Wrap in !__MINGW64__.
10663 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10664 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10665 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10666 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10667 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10668 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10669 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10670 Wrap in !__LP64__.
10671 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10672 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10673 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10674 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10675 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10676 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10677 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10678 * config/no-unwind.h: New file.
10679 * config.host (md_unwind_header): Document.
10680 Define.
10681 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10682 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10683 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10684 hppa[12]*-*-hpux11*): Set md_unwind_header.
10685 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10686 Set md_unwind_header.
10687 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10688 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10689 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10690 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10691 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10692 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10693 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10694 md_unwind_header.
10695 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10696 * configure: Regenerate.
10697
737346fa
RO
106982011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10699
10700 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10701 Set tmake_file, extra_parts.
10702 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10703 Remove O32 support.
10704 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10705 Remove O32 support.
10706 * config/mips/t-irix6: New file.
10707 * config/mips/t-slibgcc-irix: New file.
10708
c192cee6
RO
107092011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10710
10711 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10712 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10713
ee33b5f0
RO
107142011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10715
10716 * configure.ac (target_thread_file): Determine thread model.
10717 * configure: Regenerate.
10718 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10719 * config/alpha/t-alpha: New file.
10720 * config/alpha/t-crtfm: Use $<.
10721 * config/alpha/t-ieee: New file.
10722 * config/alpha/t-osf-pthread: New file.
10723 * config/alpha/t-slibgcc-osf: New file.
10724 * config/alpha/libgcc-osf5.ver: New file.
10725
0699e415
RO
107262011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10727
10728 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10729 tmake_file.
10730 Add crtfastmath.o to extra_parts.
10731
a3fab9c2
RO
107322011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10733
10734 * config/gmon-sol2.c: Reindent.
10735 Cleanup comments.
10736 Remove, correct casts.
10737 Use STDERR_FILENO, NULL.
10738 (BASEADDRESS): Remove.
10739 (minbrk): Remove.
10740 (errno, sbrk): Remove declarations.
10741 (monstartup) [hp300]: Remove.
10742 (mcount): Remove.
10743
ca24c5ad
RO
107442011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10745
10746 * Makefile.in (cpu_type): Define.
10747 * config.host (i[34567]86-*-rtems*): Handle it.
10748 (i[34567]86-*-solaris2*): Move body ...
10749 (*-*-solaris2*): ... here.
10750 New case, generalize.
10751 (sparc-*-elf*): Handle it.
10752 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10753 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10754 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10755 Fold into ...
10756 (sparc*-*-solaris2*): ... this.
10757 New case.
10758 (sparc64-*-elf*): Handle it.
10759 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10760 Merge ../gcc/config/i386/gmon-sol2.c.
10761 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10762 Use C comments.
10763 Merge ../gcc/config/i386/sol2-gc1.asm.
10764 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10765 Use C comments.
10766 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10767 Use C comments.
10768 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10769 * config/i386/t-crtstuff: New file.
10770 * config/i386/t-softfp: New file.
10771 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10772 $(T)crti.o, $(T)crtn.o): Remove.
10773 (gcrt1.o): New rule.
10774 (TARGET_LIBGCC2_CFLAGS): Remove.
10775 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10776 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10777 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10778 * config/sparc/t-sol2: New file.
10779 * config/sparc/t-crtfm: Move to ...
10780 * config/t-crtfm: ... this.
10781 Use $(cpu_type), $<.
10782 * config/t-crtin: New file.
10783 * config/sparc/t-softfp: New file.
10784 * config/sparc/t-softmul: New file.
10785 * config/t-rtems: New file.
10786 * config/t-slibgcc: New file.
10787 * config/t-slibgcc-elf-ver: New file.
10788 * config/t-slibgcc-gld: New file.
10789 * config/t-slibgcc-sld: New file.
10790 * config/t-sol2: New file.
10791 * configure.ac: Include ../config/lib-ld.m4.
10792 Call AC_LIB_PROG_LD_GNU.
10793 Substitute cpu_type.
10794 * configure: Regenerate.
10795
ad5f3d7b
BS
107962011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10797
10798 PR bootstrap/49173
10799 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10800 libgcc-std.ver in the build directory.
10801 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10802 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10803
cdbf4541
BS
108042011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10805
10806 * libgcc-std.ver.in: New file.
10807 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10808 variables.
10809 (libgcc-std.ver): New rule.
10810 * config/t-gnu-prefix: New file.
10811
c8028650
RO
108122011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10813
10814 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10815
4a68b4ca
JM
108162011-05-10 Joseph Myers <joseph@codesourcery.com>
10817
10818 * config/i386/darwin-lib.h: New file.
10819
80cf2e08
JM
108202011-05-10 Joseph Myers <joseph@codesourcery.com>
10821
10822 * config/arm/symbian-lib.h: New.
10823
a3330c9d
CD
108242011-05-04 Chris Demetriou <cgd@google.com>
10825
10826 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10827 (__x86.get_pc_thunk.bx): ...this.
10828 (__morestack): Adjust for rename, remove undef of __i686.
10829
6ace0756
CD
108302011-05-03 Chris Demetriou <cgd@google.com>
10831
10832 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10833
ebb9f8b0
JM
108342011-03-22 Joseph Myers <joseph@codesourcery.com>
10835
10836 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10837 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10838 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10839 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10840 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10841 Remove cases.
10842
9cfa1499
AT
108432011-03-14 Andreas Tobler <andreast@fgznet.ch>
10844
10845 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10846 Adjust copyright year.
10847
457186f6
ILT
108482011-03-07 Ian Lance Taylor <iant@google.com>
10849
10850 * generic-morestack.c (__splitstack_find): Adjust returned stack
10851 pointer to include all registers pushed by __morestack.
10852
58c741a6
DK
108532011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10854
10855 PR target/40125
10856 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10857 (toolexecdir): Calculate and AC_SUBST.
10858 (toolexeclibdir): Likewise.
10859 * Makefile.in (target_noncanonical): Import.
10860 (toolexecdir): Likewise.
10861 (toolexeclibdir): Likewise.
10862 * configure: Regenerate.
10863
26716c44
NF
108642010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10865
10866 PR target/46040
10867 * config/arm/bpabi.h: Rename to...
10868 * config/arm/bpabi-lib.h: ...this.
10869
b595b1a1
RO
108702010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10871
10872 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10873 appropriate.
10874 * configure: Regenerate.
10875
a3abe41c
NF
108762010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10877
10878 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10879 __FLOAT_WORD_ORDER__.
10880 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10881 Delete.
10882
455c8f48
RW
108832010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10884
10885 PR other/46202
10886 * Makefile.in (install-strip): New phony target.
10887
f3824a8b
ILT
108882010-11-07 Ian Lance Taylor <iant@google.com>
10889
10890 PR target/46089
10891 * config/i386/morestack.S (__morestack_large_model): New
10892 function.
10893
18ed6ee4
NF
108942010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10895
10896 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10897 Delete.
10898 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10899
8ac7fdcb
NF
109002010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10901
10902 * config/arm/bpabi.h: New file.
10903 * config/frv/frv-abi.h: New file.
10904
cdb388c2
ILT
109052010-10-01 Ian Lance Taylor <iant@google.com>
10906
10907 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10908 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10909
ef7c141c
L
109102010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10911
10912 PR target/45858
10913 * config.host: Add the missing `$'.
10914
80920132
ME
109152010-09-30 Michael Eager <eager@eagercon.com>
10916
10917 * config.host: Add microblaze*-*-*.
10918 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10919 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10920 udivsi3.asm,umodsi3.asm}: New.
10921
6dace308
ILT
109222010-09-28 Ian Lance Taylor <iant@google.com>
10923
10924 * configure.ac: Adjust CFI test to test assembler directly rather
10925 than checking gcc preprocessor macro.
10926 * configure: Rebuild.
10927
b6110d6d
ILT
109282010-09-27 Ian Lance Taylor <iant@google.com>
10929
10930 * configure.ac: Test whether assembler supports CFI directives.
10931 * config.host: Only add t-stack and i386/t-stack-i386 to
10932 tmake_file if libgcc_cv_cfi is "yes".
10933 * configure: Rebuild.
10934
7458026b
ILT
109352010-09-27 Ian Lance Taylor <iant@google.com>
10936
10937 * generic-morestack.h: New file.
10938 * generic-morestack.c: New file.
10939 * generic-morestack-thread.c: New file.
10940 * config/i386/morestack.S: New file.
10941 * config/t-stack: New file.
10942 * config/i386/t-stack-i386: New file.
10943 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10944 i386/t-stack-i386 to tmake_file.
10945
5b50fc0c
IS
109462010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10947
10948 * Makefile.in (libgcc-extra-parts): Check for static archives and
10949 invoke ranlib after installing them.
10950 (gcc-extra-parts): Likewise.
10951 (install-leaf): Likewise.
10952
b93cf342
L
109532010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10954
10955 * configure: Regenerated.
10956
996b42ef
KT
109572010-09-10 Kai Tietz <kai.tietz@onevision.com>
10958
b93cf342 10959 * configure: Regenerated.
996b42ef 10960
be1c764e
GP
109612010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10962 Andrew Pinski <pinskia@gmail.com>
10963
1da9434b 10964 PR target/40959
be1c764e
GP
10965 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10966
cc0ae0ca
L
109672010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10968
10969 PR target/45524
10970 * configure: Regenerated.
10971
84f47d20
AS
109722010-09-06 Andreas Schwab <schwab@redhat.com>
10973
10974 * configure: Regenerate.
10975
4159fb8d
UB
109762010-09-03 Uros Bizjak <ubizjak@gmail.com>
10977
10978 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10979 64bit targets.
10980 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10981 for 64bit targets.
10982
0df8fcc8
UB
109832010-09-03 Uros Bizjak <ubizjak@gmail.com>
10984 Iain Sandoe <iains@gcc.gnu.org>
10985
10986 PR target/45476
10987 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10988 LIB2FUNCS_EXCLUDE functions.
10989
3c39bca6
AK
109902010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10991
10992 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10993 Include dfp.m4.
10994 * configure: Regenerate.
10995
d78552bd
UB
109962010-09-01 Uros Bizjak <ubizjak@gmail.com>
10997
10998 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10999 i386/t-freebsd to tmake_file.
11000 * config/i386/t-freebsd: New file.
11001 * config/i386/libgcc-bsd.ver: New file.
11002
c5b79d4e
NF
110032010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11004
11005 * config.host (powerpc*-eabispe*): Set tmake_file.
11006 (powerpc*-eabi*): Likewise.
11007 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11008 crtbeginS, crtendS, crtbeginT.
11009
48b09a92
KH
110102010-06-12 Kazu Hirata <kazu@codesourcery.com>
11011
11012 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11013 to tmake_file. Add crtfastmath.o to extra_parts.
11014 * config/mips/t-crtfm: New.
11015
7d296953 110162010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
11017
11018 * config.host (sparc64-*-rtems*): New target.
11019
ed104137
RO
110202010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11021
11022 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11023 assembler syntax.
11024
3f56ef8b
TS
110252010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11026
11027 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11028
8c200350
RO
110292010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11030
11031 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11032 alpha-dec-osf5.0* support.
11033
7d296953 110342010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
11035
11036 * config.host: Add lm32-*-rtems*.
11037
f128db92 110382010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 11039 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
11040
11041 PR target/39048
11042 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11043 like other remaining 32-bit x86 OSes.
11044 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11045 assembler syntax.
11046 * config/i386/libgcc-sol2.ver: New file.
11047 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11048
7d296953 110492010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
11050
11051 PR c/43553
11052 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11053 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11054 is used and substitute set_use_emutls.
11055 * configure: Regenerated.
11056
15baf7f8
TG
110572010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11058
11059 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11060
7f5441df
RO
110612010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11062
11063 PR target/38085
11064 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11065 MULTILIB_CFLAGS.
11066 ($(T)gcrt1.o): Likewise.
11067 ($(T)crt1.o): Likewise.
11068 ($(T)crti.o): Likewise.
11069 ($(T)crtn.o): Likewise.
11070
ef74edbd
RW
110712010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11072
11073 PR other/42980
11074 * Makefile.in (install): Use $(MAKE) string in rule, for
11075 parallel make.
11076
e7c914db
HPN
110772010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11078
11079 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11080 * config/mmix/t-mmix: New file.
11081 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11082
1bcb71c4
JH
110832010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11084
11085 PR java/41991
11086 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11087 SHLIB_MAPFILES.
11088
e6e50811
AG
110892010-01-04 Anthony Green <green@moxielogic.com>
11090
11091 * config/moxie/crti.asm, config/moxie/crtn.asm,
11092 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11093 config/moxie/t-moxie: New files.
11094 * config.host: Add t-moxie-softfp reference.
11095
7d296953 110962009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
11097
11098 PR other/39888
11099 * config/t-slibgcc-darwin: Fix embedded rpaths for
11100 --enable-version-specific-runtime-libs, build extension stub
11101 libs exposing features available from current libgcc_s.
11102
7d296953 111032009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 11104
d78552bd
UB
11105 * config.host: Add lm32 targets.
11106 * config/lm32: New directory.
11107 * config/lm32/libgcc_lm32.h: New file.
11108 * config/lm32/_mulsi3.c: New file.
11109 * config/lm32/_udivmodsi4.c: New file.
11110 * config/lm32/_divsi3.c: New file.
11111 * config/lm32/_modsi3.c: New file.
11112 * config/lm32/_udivsi3.c: New file.
11113 * config/lm32/_umodsi3.c: New file.
11114 * config/lm32/_lshrsi3.S: New file.
11115 * config/lm32/_ashrsi3.S: New file.
11116 * config/lm32/_ashlsi3.S: New file.
11117 * config/lm32/crti.S: New file.
11118 * config/lm32/crtn.S: New file.
11119 * config/lm32/t-lm32: New file.
11120 * config/lm32/t-elf: New file.
11121 * config/lm32/t-uclinux: New file.
aa4945c1 11122
65a324b4
NC
111232009-10-26 Nick Clifton <nickc@redhat.com>
11124
11125 * config.host: Add support for RX target.
11126 * config/rx: New directory.
11127 * config/rx/rx-abi-functions.c: New file. Supplementary
11128 functions for libgcc to support the RX ABI.
11129 * config/rx/rx-abi.h: New file. Supplementary header file for
11130 libgcc RX ABI functions.
11131 * config/rx/t-rx: New file: Makefile fragment for building
11132 libgcc for the RX.
11133
dfb3b0e3
UB
111342009-10-09 Uros Bizjak <ubizjak@gmail.com>
11135
11136 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11137 constraint of y0 to "g".
11138
81dd9fd7
AK
111392009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11140
11141 * config.host: Include the s390 makefile fragments.
11142 * config/s390/32/_fixdfdi.c: New file.
11143 * config/s390/32/_fixsfdi.c: New file.
11144 * config/s390/32/_fixtfdi.c: New file.
11145 * config/s390/32/_fixunsdfdi.c: New file.
11146 * config/s390/32/_fixunssfdi.c: New file.
11147 * config/s390/32/_fixunstfdi.c: New file.
11148 * config/s390/32/t-floattodi: New file.
11149 * config/s390/libgcc-glibc.ver: New file.
11150 * config/s390/t-crtstuff: New file.
11151 * config/s390/t-linux: New file.
11152 * config/s390/t-tpf: New file.
11153
df58e648
RW
111542009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11155
11156 * configure.ac (AC_PREREQ): Bump to 2.64.
11157
79052be3
KK
111582009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11159
11160 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11161
5213506e
RW
111622009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11163
11164 * configure: Regenerate.
11165
a9a25daa
DR
111662009-08-09 Douglas B Rupp <rupp@gnat.com>
11167
11168 * config.host (ia64-hp-*vms*): New target.
11169 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11170 with ia64-hp-*vms*.
11171
6efbd53f
RW
111722009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11173
11174 * configure.ac: Add snippet for maintainer-mode.
11175 * configure: Regenerate.
11176 * Makefile.in (AUTOCONF, configure_deps): New variables.
11177 ($(srcdir)/configure)): New rule, active only with maintainer
11178 mode turned on.
11179
7acf4da6
DD
111802009-06-23 DJ Delorie <dj@redhat.com>
11181
11182 Add MeP port.
11183 * config.host: Add mep support.
11184
54f549af
KT
111852009-06-22 Kai Tietz <kai.tietz@onevision.com>
11186
34481f28 11187 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11188 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
11189
11190 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11191 for mingw targets.
54f549af
KT
11192 * config/i386/64/_multc3.c: Likewise.
11193 * config/i386/64/_powitf2.c: Likewise.
11194 * config/i386/64/eqtf2.c: Likewise.
11195 * config/i386/64/getf2.c: Likewise.
11196 * config/i386/64/letf2.c: Likewise.
11197 * config/i386/64/letf2.c: Likewise.
34481f28
UB
11198 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11199 unsigned long long for x64 mingw targets.
11200 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11201 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 11202
fea96e25
MR
112032009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11204
11205 * config.host (vax-*-linux*): New.
11206
cceb575c
AG
112072009-05-31 Anthony Green <green@moxielogic.com>
11208
11209 * config.host: Add moxie support.
11210 * config/moxie/t-moxie: New file.
11211
7d296953 112122009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
11213
11214 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11215 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 11216
532bfb0a
AJ
112172009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11218
11219 * config.host: Add i386/${host_address}/t-fprules-softfp to
11220 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11221
748086b7
JJ
112222009-04-09 Nick Clifton <nickc@redhat.com>
11223
11224 * config/ia64/tf-signs.c: Change copyright header to refer to
11225 version 3 of the GNU General Public License with version 3.1
11226 of the GCC Runtime Library Exception and to point readers at
11227 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11228 web page.
11229 * config/i386/32/tf-signs.c: Likewise.
11230 * config/libbid/_addsub_dd.c: Likewise.
11231 * config/libbid/_addsub_sd.c: Likewise.
11232 * config/libbid/_addsub_td.c: Likewise.
11233 * config/libbid/_dd_to_df.c: Likewise.
11234 * config/libbid/_dd_to_di.c: Likewise.
11235 * config/libbid/_dd_to_sd.c: Likewise.
11236 * config/libbid/_dd_to_sf.c: Likewise.
11237 * config/libbid/_dd_to_si.c: Likewise.
11238 * config/libbid/_dd_to_td.c: Likewise.
11239 * config/libbid/_dd_to_tf.c: Likewise.
11240 * config/libbid/_dd_to_udi.c: Likewise.
11241 * config/libbid/_dd_to_usi.c: Likewise.
11242 * config/libbid/_dd_to_xf.c: Likewise.
11243 * config/libbid/_df_to_dd.c: Likewise.
11244 * config/libbid/_df_to_sd.c: Likewise.
11245 * config/libbid/_df_to_td.c: Likewise.
11246 * config/libbid/_di_to_dd.c: Likewise.
11247 * config/libbid/_di_to_sd.c: Likewise.
11248 * config/libbid/_di_to_td.c: Likewise.
11249 * config/libbid/_div_dd.c: Likewise.
11250 * config/libbid/_div_sd.c: Likewise.
11251 * config/libbid/_div_td.c: Likewise.
11252 * config/libbid/_eq_dd.c: Likewise.
11253 * config/libbid/_eq_sd.c: Likewise.
11254 * config/libbid/_eq_td.c: Likewise.
11255 * config/libbid/_ge_dd.c: Likewise.
11256 * config/libbid/_ge_sd.c: Likewise.
11257 * config/libbid/_ge_td.c: Likewise.
11258 * config/libbid/_gt_dd.c: Likewise.
11259 * config/libbid/_gt_sd.c: Likewise.
11260 * config/libbid/_gt_td.c: Likewise.
11261 * config/libbid/_isinfd128.c: Likewise.
11262 * config/libbid/_isinfd32.c: Likewise.
11263 * config/libbid/_isinfd64.c: Likewise.
11264 * config/libbid/_le_dd.c: Likewise.
11265 * config/libbid/_le_sd.c: Likewise.
11266 * config/libbid/_le_td.c: Likewise.
11267 * config/libbid/_lt_dd.c: Likewise.
11268 * config/libbid/_lt_sd.c: Likewise.
11269 * config/libbid/_lt_td.c: Likewise.
11270 * config/libbid/_mul_dd.c: Likewise.
11271 * config/libbid/_mul_sd.c: Likewise.
11272 * config/libbid/_mul_td.c: Likewise.
11273 * config/libbid/_ne_dd.c: Likewise.
11274 * config/libbid/_ne_sd.c: Likewise.
11275 * config/libbid/_ne_td.c: Likewise.
11276 * config/libbid/_sd_to_dd.c: Likewise.
11277 * config/libbid/_sd_to_df.c: Likewise.
11278 * config/libbid/_sd_to_di.c: Likewise.
11279 * config/libbid/_sd_to_sf.c: Likewise.
11280 * config/libbid/_sd_to_si.c: Likewise.
11281 * config/libbid/_sd_to_td.c: Likewise.
11282 * config/libbid/_sd_to_tf.c: Likewise.
11283 * config/libbid/_sd_to_udi.c: Likewise.
11284 * config/libbid/_sd_to_usi.c: Likewise.
11285 * config/libbid/_sd_to_xf.c: Likewise.
11286 * config/libbid/_sf_to_dd.c: Likewise.
11287 * config/libbid/_sf_to_sd.c: Likewise.
11288 * config/libbid/_sf_to_td.c: Likewise.
11289 * config/libbid/_si_to_dd.c: Likewise.
11290 * config/libbid/_si_to_sd.c: Likewise.
11291 * config/libbid/_si_to_td.c: Likewise.
11292 * config/libbid/_td_to_dd.c: Likewise.
11293 * config/libbid/_td_to_df.c: Likewise.
11294 * config/libbid/_td_to_di.c: Likewise.
11295 * config/libbid/_td_to_sd.c: Likewise.
11296 * config/libbid/_td_to_sf.c: Likewise.
11297 * config/libbid/_td_to_si.c: Likewise.
11298 * config/libbid/_td_to_tf.c: Likewise.
11299 * config/libbid/_td_to_udi.c: Likewise.
11300 * config/libbid/_td_to_usi.c: Likewise.
11301 * config/libbid/_td_to_xf.c: Likewise.
11302 * config/libbid/_tf_to_dd.c: Likewise.
11303 * config/libbid/_tf_to_sd.c: Likewise.
11304 * config/libbid/_tf_to_td.c: Likewise.
11305 * config/libbid/_udi_to_dd.c: Likewise.
11306 * config/libbid/_udi_to_sd.c: Likewise.
11307 * config/libbid/_udi_to_td.c: Likewise.
11308 * config/libbid/_unord_dd.c: Likewise.
11309 * config/libbid/_unord_sd.c: Likewise.
11310 * config/libbid/_unord_td.c: Likewise.
11311 * config/libbid/_usi_to_dd.c: Likewise.
11312 * config/libbid/_usi_to_sd.c: Likewise.
11313 * config/libbid/_usi_to_td.c: Likewise.
11314 * config/libbid/_xf_to_dd.c: Likewise.
11315 * config/libbid/_xf_to_sd.c: Likewise.
11316 * config/libbid/_xf_to_td.c: Likewise.
11317 * config/libbid/bid128.c: Likewise.
11318 * config/libbid/bid128_2_str.h: Likewise.
11319 * config/libbid/bid128_2_str_macros.h: Likewise.
11320 * config/libbid/bid128_2_str_tables.c: Likewise.
11321 * config/libbid/bid128_add.c: Likewise.
11322 * config/libbid/bid128_compare.c: Likewise.
11323 * config/libbid/bid128_div.c: Likewise.
11324 * config/libbid/bid128_fma.c: Likewise.
11325 * config/libbid/bid128_logb.c: Likewise.
11326 * config/libbid/bid128_minmax.c: Likewise.
11327 * config/libbid/bid128_mul.c: Likewise.
11328 * config/libbid/bid128_next.c: Likewise.
11329 * config/libbid/bid128_noncomp.c: Likewise.
11330 * config/libbid/bid128_quantize.c: Likewise.
11331 * config/libbid/bid128_rem.c: Likewise.
11332 * config/libbid/bid128_round_integral.c: Likewise.
11333 * config/libbid/bid128_scalb.c: Likewise.
11334 * config/libbid/bid128_sqrt.c: Likewise.
11335 * config/libbid/bid128_string.c: Likewise.
11336 * config/libbid/bid128_to_int16.c: Likewise.
11337 * config/libbid/bid128_to_int32.c: Likewise.
11338 * config/libbid/bid128_to_int64.c: Likewise.
11339 * config/libbid/bid128_to_int8.c: Likewise.
11340 * config/libbid/bid128_to_uint16.c: Likewise.
11341 * config/libbid/bid128_to_uint32.c: Likewise.
11342 * config/libbid/bid128_to_uint64.c: Likewise.
11343 * config/libbid/bid128_to_uint8.c: Likewise.
11344 * config/libbid/bid32_to_bid128.c: Likewise.
11345 * config/libbid/bid32_to_bid64.c: Likewise.
11346 * config/libbid/bid64_add.c: Likewise.
11347 * config/libbid/bid64_compare.c: Likewise.
11348 * config/libbid/bid64_div.c: Likewise.
11349 * config/libbid/bid64_fma.c: Likewise.
11350 * config/libbid/bid64_logb.c: Likewise.
11351 * config/libbid/bid64_minmax.c: Likewise.
11352 * config/libbid/bid64_mul.c: Likewise.
11353 * config/libbid/bid64_next.c: Likewise.
11354 * config/libbid/bid64_noncomp.c: Likewise.
11355 * config/libbid/bid64_quantize.c: Likewise.
11356 * config/libbid/bid64_rem.c: Likewise.
11357 * config/libbid/bid64_round_integral.c: Likewise.
11358 * config/libbid/bid64_scalb.c: Likewise.
11359 * config/libbid/bid64_sqrt.c: Likewise.
11360 * config/libbid/bid64_string.c: Likewise.
11361 * config/libbid/bid64_to_bid128.c: Likewise.
11362 * config/libbid/bid64_to_int16.c: Likewise.
11363 * config/libbid/bid64_to_int32.c: Likewise.
11364 * config/libbid/bid64_to_int64.c: Likewise.
11365 * config/libbid/bid64_to_int8.c: Likewise.
11366 * config/libbid/bid64_to_uint16.c: Likewise.
11367 * config/libbid/bid64_to_uint32.c: Likewise.
11368 * config/libbid/bid64_to_uint64.c: Likewise.
11369 * config/libbid/bid64_to_uint8.c: Likewise.
11370 * config/libbid/bid_b2d.h: Likewise.
11371 * config/libbid/bid_binarydecimal.c: Likewise.
11372 * config/libbid/bid_conf.h: Likewise.
11373 * config/libbid/bid_convert_data.c: Likewise.
11374 * config/libbid/bid_decimal_data.c: Likewise.
11375 * config/libbid/bid_decimal_globals.c: Likewise.
11376 * config/libbid/bid_div_macros.h: Likewise.
11377 * config/libbid/bid_dpd.c: Likewise.
11378 * config/libbid/bid_flag_operations.c: Likewise.
11379 * config/libbid/bid_from_int.c: Likewise.
11380 * config/libbid/bid_functions.h: Likewise.
11381 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11382 * config/libbid/bid_inline_add.h: Likewise.
11383 * config/libbid/bid_internal.h: Likewise.
11384 * config/libbid/bid_round.c: Likewise.
11385 * config/libbid/bid_sqrt_macros.h: Likewise.
11386
113872009-04-09 Jakub Jelinek <jakub@redhat.com>
11388
11389 * Makefile.in: Change copyright header to refer to version
11390 3 of the GNU General Public License and to point readers at the
11391 COPYING3 file and the FSF's license web page.
11392 * config.host: Likewise.
11393
633dd061
AM
113942009-04-07 Alan Modra <amodra@bigpond.net.au>
11395
11396 * config.host: Reorder and merge to match config.gcc change.
11397
457d1d00
AM
113982009-04-03 Alan Modra <amodra@bigpond.net.au>
11399
11400 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11401
52c0e446
JM
114022009-03-28 Joseph Myers <joseph@codesourcery.com>
11403
11404 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11405 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11406 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11407 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11408
ba181049
UB
114092009-02-12 Uros Bizjak <ubizjak@gmail.com>
11410
11411 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11412 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11413
c252db20
L
114142009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11415
ba181049
UB
11416 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11417 ia64/t-softfp-compat to tmake_file.
c252db20
L
11418
11419 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11420
11421 * config/ia64/__divxf3.asm: New.
11422 * config/ia64/_fixtfdi.asm: Likewise.
11423 * config/ia64/_fixunstfdi.asm: Likewise.
11424 * config/ia64/_floatditf.asm: Likewise.
11425 * config/ia64/t-fprules-softfp: Likewise.
11426 * config/ia64/t-softfp-compat: Likewise.
11427 * config/ia64/tf-signs.c: Likewise.
11428
c60535f9
BE
114292009-01-18 Ben Elliston <bje@au.ibm.com>
11430
11431 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11432
ce16861e
BE
114332009-01-16 Ben Elliston <bje@au.ibm.com>
11434
11435 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11436 to tmake_file.
11437
bcf4713b
BE
114382009-01-13 Ben Elliston <bje@au.ibm.com>
11439
11440 * config/t-softfp: New file.
11441 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11442 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11443
7d296953 114442009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
11445
11446 * config.host: Add m32r*-*-rtems*.
11447
7d296953 114482008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
11449
11450 * config.host: Add m32c*-*-rtems*.
11451
19523300
RO
114522008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11453
11454 PR bootstrap/33100
11455 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11456 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11457 * configure: Regenerate.
11458 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11459 tmake_file here from gcc/config.gcc.
11460 Move extra_parts here from gcc/config.gcc.
11461 * config/i386/t-sol2: Move here from gcc/config/i386.
11462 Use gcc_srcdir instead of srcdir.
11463
0a4a51c7
AN
114642008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11465
11466 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11467 case.
11468
2a761e46
TS
114692008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11470
11471 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11472
c0451df7
TS
114732008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11474
11475 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11476
358da97e
HS
114772008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11478
11479 Add picoChip port.
11480 * config.host: Add picochip-*-*.
11481
c660f132
BW
114822008-08-06 Bob Wilson <bob.wilson@acm.org>
11483
11484 * config.host: Match more processor names for Xtensa.
11485
d1349557
L
114862008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11487
11488 * config/i386/64/t-softfp-compat: Update comments.
11489
dd7b73c0
L
114902008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11491
11492 * config/i386/64/_divtc3-compat.c: Moved to ...
11493 * config/i386/64/_divtc3.c: Here.
11494
11495 * config/i386/64/_multc3-compat.c: Moved to ...
11496 * config/i386/64/_multc3.c: Here.
11497
11498 * config/i386/64/_powitf2-compat.c: Moved to ...
11499 * config/i386/64/_powitf2.c: Here.
11500
11501 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11502 .c suffix instead of -compat.c.
11503
6e1fab3d
UB
115042008-07-05 Uros Bizjak <ubizjak@gmail.com>
11505
11506 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11507 (_FP_MUL_MEAT_D): Ditto.
11508 (_FP_DIV_MEAT_S): Ditto.
11509 (_FP_DIV_MEAT_D): Ditto.
11510
f92518d7
RS
115112008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11512
11513 * Makefile.in: Add support for __sync_* libgcc functions.
11514
d0aede14
L
115152008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11516
11517 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11518
c174f11c
L
115192008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11520
11521 PR boostrap/36702
11522 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11523 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11524
11525 * config/i386/64/t-fprules-softfp: Moved to ...
11526 * config/i386/64/t-softfp-compat: This. New.
11527
5f464fa2
UB
115282008-07-02 Uros Bizjak <ubizjak@gmail.com>
11529
11530 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11531 Initialize f with 0.0.
11532
ff473280
L
115332008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11534
11535 PR target/36669
11536 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11537
11538 * config/i386/64/_divtc3-compat.c: New.
11539 * config/i386/64/_multc3-compat.c: Likewise.
11540 * config/i386/64/_powitf2-compat.c: Likewise.
11541 * config/i386/64/eqtf2.c: Likewise.
11542 * config/i386/64/getf2.c: Likewise.
11543 * config/i386/64/letf2.c: Likewise.
11544 * config/i386/64/t-fprules-softfp: Likewise.
11545
115462008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11547
11548 * config.host: Add i386/${host_address}/t-fprules-softfp to
11549 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 11550 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
11551
11552 * configure.ac: Set host_address to 64 or 32 for x86.
11553 * configure: Regenerated.
11554
11555 * Makefile.in (config.status): Also depend on
11556 $(srcdir)/config.host.
11557
11558 * config/i386/32/t-fprules-softfp: New.
11559 * config/i386/32/tf-signs.c: Likewise.
11560
11561 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11562
115632008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11564 Uros Bizjak <ubizjak@gmail.com>
11565
11566 * config/i386/32/sfp-machine.h: New.
11567
30551d99
NF
115682008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11569
11570 * config/rs6000/t-ppccomm: Remove rules that conflict with
11571 auto-generated rules.
11572
18c04407
RW
115732008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11574
11575 * configure.ac: sinclude override.m4.
11576 * configure: Regenerate.
11577
10fbe77a
BRF
115782008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11579
11580 * configure: Regenerate.
11581
bc6d4c3f
JM
115822008-06-10 Joseph Myers <joseph@codesourcery.com>
11583
11584 * Makefile.in (DECNUMINC): Remove
11585 -I$(MULTIBUILDTOP)../../libdecnumber.
11586 * gstdint.h: New.
11587
cd985f66
JM
115882008-06-07 Joseph Myers <joseph@codesourcery.com>
11589
11590 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11591 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11592 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11593 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11594 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11595 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11596 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11597 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11598 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11599 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11600 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11601 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11602 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11603 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11604
93fea8d3
AL
116052008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11606
11607 * config.host (sh2[lbe]*-*-linux*): Allow target.
11608
18724e30
NF
116092008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11610
11611 * config/rs6000/t-ppccomm: Add build rules for new files.
11612 (LIB2ADD_ST): New variable.
11613
47583040
AH
116142008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11615
11616 PR target/34210
11617 PR target/35508
11618 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11619 * config/t-avr: New file. Build 16bit libgcc functions.
11620
cf8e67fe
JJ
116212008-03-02 Jakub Jelinek <jakub@redhat.com>
11622
11623 PR target/35401
11624 * config/t-slibgcc-darwin: Make install-leaf dependent on
11625 install-darwin-libgcc-stubs instead of install.
11626
8d8da227
JM
116272008-01-25 Joseph Myers <joseph@codesourcery.com>
11628
11629 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11630 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11631 sh-*-rtemscoff*): Remove cases.
11632
edbf8b16
RS
116332007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11634
11635 * Makefile.in (all): Use install-leaf rather than install.
11636 (install): Split most of the rule into...
11637 (install-leaf): ...this new one.
11638
89deeaff
EK
116392007-12-19 Etsushi Kato <ek.kato@gmail.com>
11640 Paolo Bonzini <bonzini@gnu.org>
11641
11642 PR target/30572
5f464fa2
UB
11643 * Makefile.in: Use @shlib_slibdir@ substitution to get
11644 correct install name on darwin.
89deeaff 11645 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 11646
4081d704
HPN
116472007-12-15 Hans-Peter Nilsson <hp@axis.com>
11648
11649 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11650 cris-*-elf and cris-*-none.
11651 (crisv32-*-linux*): Similar, as cris-*-linux*.
11652
f43e89a3
RIL
116532007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11654
11655 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11656
b4e9c2c6
L
116572007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11658
11659 PR regression/33926
11660 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11661 * configure: Regenerated.
11662
b2a00c89
L
116632007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11664
11665 * Makefile.in (dfp-filenames): Replace decimal_globals,
11666 decimal_data, binarydecimal and convert_data with
11667 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11668 and bid_convert_data, respectively.
11669
8d2a9e0e
CF
116702007-09-17 Chao-ying Fu <fu@mips.com>
11671 Nigel Stephens <nigel@mips.com>
11672
11673 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11674 * Makefile.in (fixed_point): Define.
11675 Check if fixed_point is yes to build support functions.
11676 * configure.ac: Check for fixed_point support.
11677 * configure: Regenerated.
11678 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11679 funcs, modes, from, to.
11680
2b53935d
JJ
116812007-09-11 Janis Johnson <janis187@us.ibm.com
11682
11683 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11684
2533577f
JJ
116852007-09-10 Janis Johnson <janis187@us.ibm.com>
11686
11687 * Makefile.in (dfp-filenames): Remove decUtility, add
11688 decDouble, decPacked, decQuad, decSingle.
11689
3ae3dbd6
HK
116902007-08-27 Hans Kester <hans.kester@ellips.nl>
11691
11692 * config.host : Add x86_64-elf target.
11693
22867d02
L
116942007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11695
11696 * configure.ac (set_have_cc_tls): Add a missing =.
11697 * configure: Regenerated.
11698
6f461e76
L
116992007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11700
11701 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11702 and x86_64-*-linux*.
11703
11704 * config/t-tls: New file.
11705
dfb3b0e3 11706 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
11707
11708 * configure.ac: Include ../config/enable.m4 and
11709 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11710 supports TLS and substitute set_have_cc_tls.
11711 * configure: Regenerated.
11712
200359e8
L
117132007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11714
11715 * Makefile.in: Use libbid for DFP when BID is enabled.
11716
76f5e200
DS
117172007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11718
11719 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 11720 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
11721 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11722
9bd196f0 117232007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 11724 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
11725
11726 PR target/29498
11727 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11728 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11729 * config/i386/t-crtfm: Compile crtfastmath.o with
11730 -minline-all-stringops.
11731
1910440e
RS
117322007-05-10 Richard Sandiford <richard@codesourcery.com>
11733
11734 * config.host (sparc-wrs-vxworks): New target.
11735
7d33c31d
KH
117362007-04-14 Kazu Hirata <kazu@codesourcery.com>
11737
11738 * config.host: Recognize fido.
11739
96fccd0d
JJ
117402007-04-04 Janis Johnson <janis187@us.ibm.com>
11741
11742 * configure: Check host, not target, for decimal float support.
11743
577565f9
UB
117442007-04-03 Uros Bizjak <ubizjak@gmail.com>
11745
11746 * config/i386/t-crtpc: New file.
11747 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 11748 (x86_64-*-linux*): Ditto.
577565f9 11749
ccf8e764
RH
117502007-02-30 Kai Tietz <kai.tietz@onevision.com>
11751
11752 * config.host (x86_64-*-mingw*): New target.
11753
79b87c74
MM
117542007-03-23 Michael Meissner <michael.meissner@amd.com>
11755 H.J. Lu <hongjiu.lu@intel.com>
11756
11757 * Makefile.in (enable_decimal_float): New.
11758 (DECNUMINC): Add
11759 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11760 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11761 (decbits-filenames): This.
11762 (decbits-objects): New.
11763 (libgcc-objects): Add $(decbits-objects).
11764
11765 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11766 Substitute enable_decimal_float.
11767 * configure: Regenerated.
11768
8fce4e31
HPN
117692007-03-19 Hans-Peter Nilsson <hp@axis.com>
11770
11771 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11772
e8bb4597
BM
117732007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11774
11775 * Makefile.in (install-info): New dummy target.
11776
344189f9
BS
117772007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11778
11779 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11780
ac84c172
BM
117812007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11782
11783 * Makefile.in: Add install-html and install-pdf dummy
11784 targets.
11785
cd5c2357
RS
117862007-02-05 Roger Sayle <roger@eyesopen.com>
11787 Daniel Jacobowitz <dan@codesourcery.com>
11788
11789 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11790 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11791 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11792
d9a66f98
JJ
117932007-01-29 Janis Johnson <janis187@us.ibm.com>
11794
11795 * Makefile.in (dec-filenames): Add decExcept.
11796
9891ec5f
DJ
117972007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11798
11799 PR bootstrap/30469
11800 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11801 -fprofile-use.
11802
d6efbf5a
DJ
118032007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11804
11805 * configure.ac: Add --enable-version-specific-runtime-libs.
11806 Correct $slibdir default.
11807 * configure: Regenerated.
11808
17caeff2
JM
118092007-01-23 Joseph Myers <joseph@codesourcery.com>
11810
11811 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11812
5ea41e3a
AP
118132007-01-21 Andrew Pinski <pinskia@gmail.com>
11814
11815 PR target/30519
11816 * config.host (alpha*-*-linux*): Set extra_parts.
11817
26900826
KK
118182007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11819
11820 * config/sh/t-linux: New.
11821 * config.host (sh*-*-linux*): Set tmake_file.
11822
97af925b
DJ
118232007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11824
11825 * Makefile.in (install): Handle multilibs.
11826
b0088af7
BM
118272007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11828
11829 * Makefile.in: Added .PHONY entry for documentation targets.
11830
e0a9456a
BM
118312007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11832
11833 * Makefile.in: Add empty info, html, dvi, pdf targets.
11834
7fd453b4
MS
118352007-01-04 Mike Stump <mrs@apple.com>
11836
11837 * Makefile.in (MAKEINFO): Remove.
11838 (PERL): Likewise.
11839
14e8fc8b
PB
118402007-01-04 Paolo Bonzini <bonzini@gnu.org>
11841
11842 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11843 * configure: Regenerate.
11844 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 11845 (gcc_objdir): Use it.
14e8fc8b 11846
1555beba
DJ
118472007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11848
11849 * config.host (ia64*-*-linux*): Set tmake_file.
11850
79e6eaeb
DJ
118512007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11852
11853 * Makefile.in (version): Define.
11854
fa958513
DJ
118552007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11856 Paolo Bonzini <bonzini@gnu.org>
11857
11858 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11859 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11860 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11861 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11862 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11863 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11864 * configure: Generated.
818ab71a 11865\f
c48514be 11866Copyright (C) 2007-2021 Free Software Foundation, Inc.
818ab71a
JJ
11867
11868Copying and distribution of this file, with or without modification,
11869are permitted in any medium without royalty provided the copyright
11870notice and this notice are preserved.