]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
2
3 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
4 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
5 return is not equal _ASM_EFAULT.
6 (__kernel_cmpxchg2): Likewise.
7
8 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
9
10 * config.host: Add shim declaration header to powerpc*-darwin builds.
11 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
12 file.
13 * config/t-darwin-ehs: Add dependencies to the shared unwinder
14 objects.
15 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
16 the shared EH lib. Add all-multi to the dependencies for the
17 libgcc_s.1.dylib redirections.
18
19 2021-12-13 Olivier Hainque <hainque@adacore.com>
20
21 * config.host (powerpc*-*-vxworks7*): Remove
22 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
23
24 2021-12-13 Olivier Hainque <hainque@adacore.com>
25
26 * config.host (*vxworks*): Remove special case for
27 arm on the use of vxcrtstuff.
28
29 2021-12-13 Fred Konrad <konrad@adacore.com>
30 Olivier Hainque <hainque@adacore.com>
31
32 * config/t-vxcrtstuffS: New Makefile fragment.
33 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
34 functions for INITFINI_ARRAY support in shared libs and guard
35 the definition of eh table registration functions on conditions
36 indicating they are needed.
37
38 2021-12-13 Olivier Hainque <hainque@adacore.com>
39
40 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
41 ahead of the other files in tmake_files.
42 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
43 overriding it.
44
45 2021-12-13 Olivier Hainque <hainque@adacore.com>
46
47 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
48 both VxWorks7 and earlier.
49 * config/t-vxworks7: Remove.
50 * config.host: Remove special case for vxworks7.
51
52 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
53
54 * config/vxcrtstuff.c: Make constructor and destructor
55 functions static when possible.
56
57 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
58
59 * config/vxcrtstuff.c: Remove constructor/destructor
60 declarations.
61
62 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
63
64 * config/t-darwin: Add libgcc_tm.h to the dependencies
65 for darwin10-unwind-find-enc-func.
66
67 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
68
69 * config/rs6000/t-vxworks: New file.
70 * config.host (powerpc*-*-vxworks*): Use it instead of
71 t-ppccomm.
72
73 2021-12-09 Fred Konrad <konrad@adacore.com>
74
75 * config.host (powerpc*-wrs-vxworks7*): Fix path to
76 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
77
78 2021-12-09 Olivier Hainque <hainque@adacore.com>
79 Rasmus Villemoes <rv@rasmusvillemoes.dk>
80
81 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
82 $(LIBGCC2_INCLUDES).
83 * config/t-vxworks7: Likewise.
84
85 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
86
87 * config.host (*-*-darwin*): Add logic to build a shared
88 unwinder library for Darwin8-10.
89 * config/i386/t-darwin: Build legacy libgcc_s.1.
90 * config/rs6000/t-darwin: Likewise.
91 * config/t-darwin: Reorganise the EH fragments to place
92 them for inclusion in a shared EH lib.
93 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
94 the supporting pieces (all FAT libs).
95 * config/t-darwin-noeh: Removed.
96 * config/darwin-unwind.ver: New file.
97 * config/rs6000/t-darwin-ehs: New file.
98 * config/t-darwin-ehs: New file.
99
100 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
101
102 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
103 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
104 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
105 HIDDEN_DEF.
106
107 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
108
109 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
110 ssize_t and vfork after including auto-host.h.
111
112 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
113
114 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
115 crtend.o to extra_parts.
116
117 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
118
119 * config/pa/t-dimode (lib2difuncs): Fix typo.
120
121 2021-11-25 Florian Weimer <fweimer@redhat.com>
122
123 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
124 Remove func, ret.
125 (find_fde_tail): New function. Split from
126 _Unwind_IteratePhdrCallback. Move the result initialization
127 from _Unwind_Find_FDE.
128 (_Unwind_Find_FDE): Updated to call find_fde_tail.
129
130 2021-11-22 Florian Weimer <fweimer@redhat.com>
131
132 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
133 (struct unw_eh_callback_data): Make dbase member conditional.
134 (unw_eh_callback_data_dbase): New function.
135 (base_from_cb_data): Simplify for the non-dbase case.
136 (_Unwind_IteratePhdrCallback): Adjust.
137 (_Unwind_Find_FDE): Likewise.
138
139 2021-11-22 Florian Weimer <fweimer@redhat.com>
140
141 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
142 tbase member.
143 (base_from_cb_data): Adjust.
144 (_Unwind_IteratePhdrCallback): Likewise.
145 (_Unwind_Find_FDE): Likewise.
146
147 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
148
149 * config.host: Add weak emutls crt to the extra_parts.
150 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
151 workaround.
152 * config/libgcc-libsystem.ver: Add exclude list for the system-
153 provided unwinder.
154 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
155 * config/i386/libgcc-darwin.10.4.ver: Removed.
156 * config/i386/libgcc-darwin.10.5.ver: Removed.
157 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
158 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
159 * config/t-darwin-noeh: New file.
160
161 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
162
163 * config/t-darwin: Build weak-defined emutls objects.
164 * emutls.c (__emutls_get_address): Add optional attributes.
165 (__emutls_register_common): Likewise.
166 (EMUTLS_ATTR): New.
167
168 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
169
170 PR libgcc/103044
171 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
172 called with a null argument or at the end of the backtrace and return.
173 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
174
175 2021-11-10 Jakub Jelinek <jakub@redhat.com>
176
177 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
178 formatting fix.
179
180 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
181
182 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
183 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
184
185 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
186
187 PR libgomp/96661
188 * config.host (hppa*64*-*-linux*): Revise tmake_file.
189 (hppa*64*-*-hpux11*): Likewise.
190 * config/pa/sfp-exceptions.c: New.
191 * config/pa/sfp-machine.h: New.
192 * config/pa/t-dimode: New.
193 * config/pa/t-softfp-sfdftf: New.
194
195 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
196
197 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
198 tmake_file.
199 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
200 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
201 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
202 * config/pa/t-linux64 (LIB1ASMSRC): New define.
203 (LIB1ASMFUNCS): Revise.
204 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
205
206 2021-10-22 Stafford Horne <shorne@gmail.com>
207
208 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
209 Change to 0.
210
211 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
212
213 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
214 outside of get_regs() in order to use it in another function, this
215 is done twice: for __powerpc64__ and for !__powerpc64__.
216 (struct trace_arg): New struct.
217 (struct layout): New struct.
218 (ppc_backchain_fallback): New function.
219 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
220 state and call MD_BACKCHAIN_FALLBACK.
221
222 2021-10-13 Martin Liska <mliska@suse.cz>
223
224 PR gcov-profile/90364
225 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
226 checksums.
227 (write_one_data): Write also checksum.
228 * libgcov-util.c (read_gcda_file): Read also checksum field.
229 * libgcov.h (struct gcov_info): Add new field.
230
231 2021-10-08 Ian Lance Taylor <iant@golang.org>
232
233 * config/i386/morestack.S: Use .init_array for constructor if
234 available.
235 * config/rs6000/morestack.S: Likewise.
236 * config/s390/morestack.S: Likewise.
237
238 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
239
240 PR target/101104
241 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
242 Use more correct values for native IBM 128-bit.
243
244 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
245
246 * config/i386/libgcc-darwin.ver: Add Symbols for
247 __cpu_model, __cpu_indicator_init.
248
249 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
250
251 * config/i386/sfp-machine.h: Guard Mach-O-specific code
252 using __APPLE__.
253
254 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
255
256 * config/t-slibgcc-darwin: Delete unused code.
257
258 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
259
260 * config/i386/t-darwin: Add in a vers file for X86-specific
261 symbols.
262 * config/t-darwin: Add the generic symbol maps here...
263 * config/t-slibgcc-darwin: ... removing from here.
264 * config/i386/libgcc-darwin.ver: New file.
265
266 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
267
268 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
269 and __mulhc3.
270
271 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
272
273 * config.host: Use convenience library for Darwin10
274 unwinder shim.
275 * config/t-darwin: Build Darwin10 unwinder shim as a
276 convenience library.
277
278 2021-09-13 Andrew Pinski <apinski@marvell.com>
279
280 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
281 * config/m32r/libgcc-glibc.ver: Removed.
282 * config/m32r/t-linux: Removed.
283
284 2021-09-08 liuhongt <hongtao.liu@intel.com>
285
286 * config/i386/t-softfp: Compile __{mul,div}hc3 into
287 libgcc_s.so.1.
288
289 2021-09-08 Jakub Jelinek <jakub@redhat.com>
290 Iain Sandoe <iain@sandoe.co.uk>
291
292 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
293 and export *hf* and *hc* functions at GCC_12.0.0.
294
295 2021-09-06 liuhongt <hongtao.liu@intel.com>
296
297 * Makefile.in: Adjust to support specific CFLAGS for each
298 libgcc source file.
299 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
300 related libgcc source files.
301 * config/i386/t-softfp: Ditto.
302 * config/i386/_divhc3.c: New file.
303 * config/i386/_mulhc3.c: New file.
304
305 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
306
307 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
308 alias_DFtype, alias_TFtype): New.
309 (ALIAS_SELECTOR): New.
310 (strong_alias): Use __typeof and a _Generic selector to
311 provide the type to the synthesized function.
312
313 2021-09-02 liuhongt <hongtao.liu@intel.com>
314
315 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
316 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
317 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
318 * config/i386/t-softfp: Add hf soft-fp.
319 * config.host: Add i386/64/t-softfp.
320 * config/i386/64/t-softfp: New file.
321
322 2021-09-02 liuhongt <hongtao.liu@intel.com>
323
324 * soft-fp/eqhf2.c: New file.
325 * soft-fp/extendhfdf2.c: New file.
326 * soft-fp/extendhfsf2.c: New file.
327 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
328 * soft-fp/truncdfhf2.c: New file
329 * soft-fp/truncsfhf2.c: New file
330
331 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
332
333 * unwind-arm-common.inc (abort): Remove.
334
335 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
336
337 * config/aarch64/value-unwind.h: Add missing runtime exception
338 paragraph.
339 * config/frv/frv-abi.h: Likewise.
340 * config/i386/value-unwind.h: Likewise.
341 * config/pa/pa64-hpux-lib.h: Likewise.
342
343 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
344
345 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
346 __gcc_qadd.
347 (__gcc_qadd): Call ldouble_qadd_internal.
348 (__gcc_qsub): Call ldouble_qadd_internal with second long double
349 argument negated.
350
351 2021-08-26 Jonathan Yong <10walls@gmail.com>
352
353 * config/i386/cygming-crtend.c: Fix register_frame_ctor
354 and register_frame_dtor warnings.
355
356 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
357
358 PR target/102035
359 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
360 Add vlldm erratum work-around.
361
362 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
363
364 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
365
366 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
367
368 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
369 (gcov_type_unsigned): Likewise.
370
371 2021-08-14 Stafford Horne <shorne@gmail.com>
372
373 PR target/99783
374 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
375 * config/or1k/t-crtstuff: New file.
376
377 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
378
379 * libgcov-driver.c (#include <stdint.h>): Remove.
380 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
381
382 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
383
384 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
385 * gcov.h (gcov_info): Declare.
386 (__gcov_info_to_gdca): Likewise.
387 * libgcov.h (gcov_write_counter): Remove.
388 (gcov_write_tag_length): Likewise.
389 * libgcov-driver.c (#include <stdint.h>): New.
390 (#include <string.h>): Remove.
391 (NEED_L_GCOV): Conditionally define.
392 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
393 (are_all_counters_zero): New.
394 (gcov_dump_handler): Likewise.
395 (gcov_allocate_handler): Likewise.
396 (dump_unsigned): Likewise.
397 (dump_counter): Likewise.
398 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
399 Use dump_unsigned() and dump_counter().
400 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
401 dump_unsigned(), dump_counter(), and are_all_counters_zero().
402 (__gcov_info_to_gcda): New.
403
404 2021-08-05 Jakub Jelinek <jakub@redhat.com>
405
406 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
407 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
408 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
409 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
410
411 2021-08-04 Jakub Jelinek <jakub@redhat.com>
412
413 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
414
415 2021-07-15 Alan Modra <amodra@gmail.com>
416
417 * config/rs6000/morestack.S (R2_SAVE): Define.
418 (__morestack): Save and restore r2. Set up r2 for called
419 functions.
420
421 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
422
423 * soft-fp/extendhfxf2.c: New file.
424 * soft-fp/truncxfhf2.c: Likewise.
425
426 2021-06-29 Julian Brown <julian@codesourcery.com>
427
428 * config/gcn/lib2-bswapti2.c: New file.
429 * config/gcn/lib2-divmod-di.c: New file.
430 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
431 typedefs.
432 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
433 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
434 lib2-bswapti2.c.
435
436 2021-06-29 Julian Brown <julian@codesourcery.com>
437
438 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
439 return types to USItype.
440 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
441
442 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
443
444 * configure: Regenerate.
445 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
446 typos among the name, CFLAGS and the test.
447 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
448 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
449 Remove.
450 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
451 macro FLOAT128_HW_INSNS_ISA3_1.
452 (FP128_3_1_CFLAGS_HW): Fix option typo.
453 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
454 FLOAT128_HW_INSNS_ISA3_1.
455 (__floattikf_resolve): Likewise.
456 (__floatuntikf_resolve): Likewise.
457 (__fixkfti_resolve): Likewise.
458 (__fixunskfti_resolve): Likewise.
459 (__floattikf): Likewise.
460 (__floatuntikf): Likewise.
461 (__fixkfti): Likewise.
462 (__fixunskfti): Likewise.
463
464 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
465
466 PR target/99939
467 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
468 macro.
469 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
470 on passing -mcmse option.
471
472 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
473
474 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
475 _ARCH_PPC64 .
476
477 2021-06-09 Carl Love <cel@us.ibm.com>
478
479 * config.host: Add if test and set for
480 libgcc_cv_powerpc_3_1_float128_hw.
481 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
482 Change calls of __fixkfti to __fixkfti_sw.
483 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
484 Change calls of __fixunskfti to __fixunskfti_sw.
485 * config/rs6000/float128-p10.c (__floattikf_hw,
486 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
487 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
488 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
489 __fixunskfti_resolve): Add resolve functions.
490 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
491 * config/rs6000/float128-sed (floattitf, __floatuntitf,
492 __fixtfti, __fixunstfti): Add editor commands to change names.
493 * config/rs6000/float128-sed-hw (__floattitf,
494 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
495 change names.
496 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
497 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
498 * config/rs6000/quad-float128.h (__floattikf_sw,
499 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
500 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
501 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
502 * config/rs6000/t-float128 (floattikf, floatuntikf,
503 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
504 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
505 file names to fp128_ppc_funcs.
506 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
507 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
508 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
509 * config/rs6000/t-float128-p10-hw: New file.
510 * configure: Update script for isa 3.1 128-bit float support.
511 * configure.ac: Add check for 128-bit float hardware support.
512 * config/rs6000/fixkfti-sw.c: New file.
513 * config/rs6000/fixunskfti-sw.c: New file.
514 * config/rs6000/floattikf-sw.c: New file.
515 * config/rs6000/floatuntikf-sw.c: New file.
516
517 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
518
519 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
520
521 2021-05-13 Martin Liska <mliska@suse.cz>
522
523 * libgcov-driver.c: Fix GNU coding style.
524
525 2021-05-10 Martin Liska <mliska@suse.cz>
526
527 * libgcov-driver.c (gcov_version): Use different name that does
528 not clash with newly introduced macro.
529
530 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
531
532 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
533 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
534 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
535
536 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
537
538 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
539 Define.
540 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
541 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
542 Define.
543 (__divkc3): Improve complex divide.
544
545 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
546
547 PR target/98952
548 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
549 trampoline size comparison in 32-bit by reversing test and
550 combining load immediate with compare.
551 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
552 in 32-bit by reversing test and combining load immediate with
553 compare.
554
555 2021-04-05 Florian Weimer <fweimer@redhat.com>
556 Michael Meissner <meissner@linux.ibm.com>
557
558 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
559 point functions for $(decimal_float) only.
560
561 2021-04-03 Jakub Jelinek <jakub@redhat.com>
562
563 PR target/97653
564 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
565 $(objext) instead of $(object). Use _floatunditf instead of
566 _floatunsditf. Add tf <-> ti conversion objects.
567 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
568
569 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
570
571 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
572 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
573 (fp128_decstr_objs): Delete.
574 * dfp-bit.h: Call __sprintfieee128 to do conversions from
575 _Float128 to a Decimal type. Call __strtoieee128 to do
576 conversions from a Decimal type to _Float128.
577 * config/rs6000/_sprintfkf.c: Delete file.
578 * config/rs6000/_sprintfkf.h: Delete file.
579 * config/rs6000/_strtokf.c: Delete file.
580 * config/rs6000/_strtokf.h: Delete file.
581
582 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
583
584 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
585 to __BYTE_ORDER__.
586
587 2021-03-06 Jakub Jelinek <jakub@redhat.com>
588
589 PR gcov-profile/99406
590 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
591 defined, define these macros if not defined already.
592
593 2021-03-04 Martin Liska <mliska@suse.cz>
594
595 PR gcov-profile/99105
596 * libgcov-driver.c (write_top_counters): Rename to ...
597 (write_topn_counters): ... this.
598 (write_one_data): Pre-allocate buffer for number of items
599 in the corresponding linked lists.
600 * libgcov.h (malloc_mmap): New function.
601 (allocate_gcov_kvp): Use it.
602
603 2021-03-04 Martin Liska <mliska@suse.cz>
604
605 PR gcov-profile/99385
606 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
607
608 2021-03-03 Martin Liska <mliska@suse.cz>
609
610 PR gcov-profile/97461
611 * config.in: Regenerate.
612 * configure: Likewise.
613 * configure.ac: Check sys/mman.h header file
614 * libgcov-driver.c (struct gcov_kvp): Remove static
615 pre-allocated pool and use a dynamic one.
616 * libgcov.h (MMAP_CHUNK_SIZE): New.
617 (gcov_counter_add): Use mmap to allocate pool for struct
618 gcov_kvp.
619
620 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
621
622 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
623 the function.
624 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
625
626 2021-02-24 Jakub Jelinek <jakub@redhat.com>
627
628 PR libgcc/99236
629 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
630 negation of m in unsigned type.
631
632 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
633 Hau Hsu <hsuhau617@gmail.com>
634
635 PR target/99157
636 * config/arm/t-arm: Fix cmse support detection.
637
638 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
639
640 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
641
642 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
643
644 * config/rs6000/_dd_to_kf.c: New file.
645 * config/rs6000/_kf_to_dd.c: New file.
646 * config/rs6000/_kf_to_sd.c: New file.
647 * config/rs6000/_kf_to_td.c: New file.
648 * config/rs6000/_sd_to_kf.c: New file.
649 * config/rs6000/_sprintfkf.c: New file.
650 * config/rs6000/_sprintfkf.h: New file.
651 * config/rs6000/_strtokf.h: New file.
652 * config/rs6000/_strtokf.c: New file.
653 * config/rs6000/_td_to_kf.c: New file.
654 * config/rs6000/quad-float128.h: Add new declarations.
655 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
656 (fp128_decstr_funcs): New macro.
657 (ibm128_dec_funcs): New macro.
658 (fp128_ppc_funcs): Add the new conversions.
659 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
660 compiled with -mabi=ieeelongdouble.
661 (fp128_decstr_objs): Force __float128 <-> string conversions to be
662 compiled with -mabi=ibmlongdouble.
663 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
664 compiled with -mabi=ieeelongdouble.
665 (FP128_CFLAGS_DECIMAL): New macro.
666 (IBM128_CFLAGS_DECIMAL): New macro.
667 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
668 (BFP_TO_DFP): Add PowerPC _Float128 support.
669 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
670 IEEE 128-bit floating point.
671 (DFP_TO_BFP): Add PowerPC _Float128 support.
672 (BFP_TO_DFP): Add PowerPC _Float128 support.
673 (BFP_SPRINTF): New macro.
674
675 2021-01-27 Jakub Jelinek <jakub@redhat.com>
676
677 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
678 * config/i386/savms64f.h: Likewise.
679 * config/i386/resms64.h: Likewise.
680 * config/i386/resms64f.h: Likewise.
681 * config/i386/resms64x.h: Likewise.
682 * config/i386/resms64fx.h: Likewise.
683
684 2021-01-26 Martin Liska <mliska@suse.cz>
685
686 PR gcov-profile/98739
687 * libgcov.h (gcov_topn_add_value): Do not train when
688 we have a merged profile with a negative number of total
689 value.
690
691 2021-01-25 Martin Liska <mliska@suse.cz>
692
693 PR gcov-profile/98739
694 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
695 ends with a dropped counter.
696 * libgcov.h (gcov_topn_add_value): Add return value.
697
698 2021-01-13 Stafford Horne <shorne@gmail.com>
699
700 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
701 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
702 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
703 FP_EX_ALL): New constant macros.
704 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
705 FP_HANDLE_EXCEPTIONS): New macros.
706 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
707
708 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
709
710 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
711 posix siginfo case to struct handler_args. Detect between legacy
712 and siginfo from the second parameter, which is a small sigcode in
713 the legacy case, and a pointer in the siginfo case.
714
715 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
716
717 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
718 functions.
719 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
720 _bswapdi2.
721
722 2020-12-08 Ian Lance Taylor <iant@golang.org>
723
724 * generic-morestack-thread.c (free_segments): Block signals during
725 thread exit.
726
727 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
728
729 PR libgcc/97543
730 PR libgcc/97643
731 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
732 (IBM128_SHARED_OBJS): New make variable.
733 (IBM128_OBJS): New make variable. Set all objects to use the
734 explicit IBM format, and disable gnu attributes.
735 (IBM128_CFLAGS): New make variable.
736 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
737 modules.
738
739 2020-12-03 Alexandre Oliva <oliva@adacore.com>
740
741 * config/t-vxworks (LIB2ADD): Drop.
742 * config/t-vxworks7 (LIB2ADD): Likewise.
743 * config/vxcache.c: Remove.
744
745 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
746
747 * libgcc2.c (bswapsi2): Make constants unsigned.
748
749 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
750
751 * libgcc2.c (absvSI2): Simplify/improve implementation by using
752 builtin_add_overflow.
753 (absvsi2, absvDI2): Likewise.
754
755 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
756
757 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
758 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
759
760 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
761
762 * config/msp430/lib2hw_mul.S (mult64_hw): New.
763 (if MUL_32): Use mult64_hw for __muldi3.
764 (if MUL_F5): Use mult64_hw for __muldi3.
765 * config/msp430/lib2mul.c (__muldi3): New.
766 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
767
768 2020-11-17 Alan Modra <amodra@gmail.com>
769
770 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
771 (LIB2_SIDITI_CONV_FUNCS): Define.
772 * config/rs6000/ppc64-fp.c: Delete file.
773
774 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
775
776 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
777 hwmult library functions.
778
779 2020-11-10 Jeff Law <law@redhat.com>
780
781 * libgcc2.c: Fix whitespace issues in most recent change.
782
783 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
784
785 * libgcc2.c (__addvSI3): Use overflow builtins.
786 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
787 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
788 (__negvsi2, __negvDI2): Likewise.
789 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
790 generated code.
791 * libgcc2.h (__ucmpdi2): Adjust prototype.
792
793 2020-11-03 Pat Bernardi <bernardi@adacore.com>
794 Olivier Hainque <hainque@adacore.com>
795
796 * config.host (aarch64-vxworks7*, tmake_file): Add
797 ${cpu_type}/t-lse and t-slibgcc-libgcc.
798
799 2020-11-03 Martin Storsjö <martin@martin.st>
800
801 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
802 before calling the callback.
803
804 2020-10-30 Olivier Hainque <hainque@adacore.com>
805 Douglas Rupp <rupp@adacore.com>
806 Pat Bernardi <bernardi@adacore.com>
807
808 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
809 to apply to VxWorks 7 as well.
810
811 2020-10-29 Olivier Hainque <hainque@adacore.com>
812
813 * config/gthr-vxworks-tls.c: Fix preprocessor logic
814 controlling the definition of VX_ENTER_TLS_DTOR and
815 VX_LEAVE_TLS_DTOR based on a version major check.
816
817 2020-10-29 Olivier Hainque <hainque@adacore.com>
818
819 * config/gthr-vxworks-thread.c: Fix name of macro used
820 to condition the inclusion of an actual implementation.
821
822 2020-10-27 Martin Liska <mliska@suse.cz>
823
824 PR gcov-profile/97461
825 * libgcov.h (gcov_counter_add): Use first static counters
826 as it should help to have malloc wrappers set up.
827
828 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
829
830 * config/gthr-vxworks-thread.c: #include gthr.h before
831 testing the guard defined there.
832 * config/gthr-vxworks-cond.c: Likewise.
833
834 2020-10-21 Douglas Rupp <rupp@adacore.com>
835 Olivier Hainque <hainque@adacore.com>
836
837 * config.host (powerpc*-wrs-vxworks7*): New case.
838 * configure.ac: Handle powerpc*-*-vxworks7* as
839 powerpc*-*-linux* for ppc-fp_type.
840 * configure: Regenerate.
841
842 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
843
844 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
845 section on VxWorks >= 6.
846 * config/gthr-vxworks-thread.c: Condition the entire
847 implementation on __GTHREAD_CXX0X.
848
849 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
850
851 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
852 section on VxWorks >= 6.
853 * config/gthr-vxworks-cond.c: Condition the entire
854 implementation on __GTHREAD_HAS_COND.
855
856 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
857
858 * config/gthr-vxworks.c: #include <taskLib.h>.
859
860 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
861
862 * config/gthr-vxworks.h: Rewrite remaining occurrence
863 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
864
865 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
866 Olivier Hainque <hainque@adacore.com>
867
868 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
869 except on VxWorks 6.
870
871 2020-10-16 Olivier Hainque <hainque@adacore.com>
872
873 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
874
875 2020-10-14 Alexandre Oliva <oliva@adacore.com>
876
877 * config/gthr-vxworks-thread.c: Include stdlib.h.
878 (tls_delete_hook): Prototype it.
879 (__gthread_cond_signal): Return early if no waiters. Consume
880 signal in case the semaphore got full. Use semInfoGet instead
881 of kernel-mode-only semInfo.
882 (__gthread_cond_timedwait): Use semExchange. Always take the
883 mutex again before returning.
884 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
885
886 2020-10-14 Olivier Hainque <hainque@adacore.com>
887
888 * config/t-vxworks (LIBGCC2_INCLUDES): Append
889 $(MULTISUBDIR) to the -I path for fixed headers, as we
890 arrange to have different sets of such headers for different
891 multilibs when they are activated.
892 * config/t-vxworks7: Likewise.
893
894 2020-10-14 Olivier Hainque <hainque@adacore.com>
895
896 * config/t-vxworks: Add include-fixed to include search
897 paths for libgcc on VxWorks.
898 * config/t-vxworks7: Likewise.
899
900 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
901
902 PR target/97148
903 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
904 instead of <cetintrin.h>.
905
906 2020-10-01 Alan Modra <amodra@gmail.com>
907
908 * config/rs6000/morestack.S,
909 * config/rs6000/tramp.S: Support __PCREL__ code.
910
911 2020-10-01 Alan Modra <amodra@gmail.com>
912
913 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
914
915 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
916
917 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
918 variable.
919
920 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
921
922 * config/aarch64/libgcc-softfp.ver: New file.
923 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
924
925 2020-09-27 Clement Chigot <clement.chigot@atos.net>
926
927 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
928
929 2020-09-22 Sergei Trofimovich <siarheit@google.com>
930
931 PR gcov-profile/96913
932 * libgcov-driver.c (write_one_data): Avoid function pointer
933 comparison in TOP streaming decision.
934
935 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
936 Christophe Lyon <christophe.lyon@linaro.org>
937
938 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
939 qualifier.
940 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
941 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
942 missing prototypes.
943
944 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
945
946 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
947 unused variable warning.
948
949 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
950
951 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
952
953 2020-09-09 Tom de Vries <tdevries@suse.de>
954
955 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
956 Wbuiltin-declaration-mismatch.
957
958 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
959
960 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
961 * config/msp430/srai.S (__gnu_mspabi_srap): New.
962 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
963
964 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
965
966 * config/nvptx/atomic.c: New.
967 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
968
969 2020-08-03 Ian Lance Taylor <iant@golang.org>
970
971 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
972
973 2020-08-03 Jakub Jelinek <jakub@redhat.com>
974
975 PR target/96402
976 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
977 of x(tmp0), x(tmp1) in STXP arguments.
978
979 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
980
981 * config/riscv/save-restore.S [__riscv_xlen == 64]
982 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
983 (__riscv_save_2): Replace negative immediates used for the final
984 stack pointer adjustment with positive ones, right-shifted by 4.
985
986 2020-07-31 Martin Liska <mliska@suse.cz>
987
988 * libgcov-driver.c: Add __gcov_kvp_pool
989 and __gcov_kvp_pool_index variables.
990 * libgcov.h (allocate_gcov_kvp): New.
991 (gcov_topn_add_value): Use it.
992
993 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
994
995 * config/aarch64/lse.S: Add PAC property note.
996
997 2020-07-23 Martin Liska <mliska@suse.cz>
998
999 PR gcov-profile/96035
1000 * libgcov-driver-system.c: Create gcov folders with 0777
1001 so that it respects a system umask.
1002
1003 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
1004
1005 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1006
1007 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1008
1009 PR target/94891
1010 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1011 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1012 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1013 (MD_DEMANGLE_RETURN_ADDR): This.
1014 (aarch64_post_extract_frame_addr): Rename to ...
1015 (aarch64_demangle_return_addr): This.
1016 (aarch64_post_frob_eh_handler_addr): Remove.
1017 * unwind-dw2.c (uw_update_context): Demangle return address.
1018 (uw_frob_return_addr): Remove.
1019
1020 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1021
1022 PR target/96001
1023 * config/aarch64/lse.S: Add BTI marking and related definitions,
1024 and add BTI c to function entries.
1025
1026 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1027
1028 * config/aarch64/lse.S: Add stack note.
1029
1030 2020-07-02 Martin Liska <mliska@suse.cz>
1031
1032 PR gcov-profile/95348
1033 * libgcov-driver.c (merge_one_data): Merge only profiles
1034 that are not of non-zero type.
1035 (write_one_data): Write counters only if there's one non-zero
1036 value.
1037 * libgcov-util.c (tag_function): Change signature from unsigned
1038 to int.
1039 (tag_blocks): Likewise.
1040 (tag_arcs): Likewise.
1041 (tag_counters): Likewise.
1042 (tag_summary): Likewise.
1043 (tag_lines): Read only if COUNTERS is non-zero.
1044 (read_gcda_file): Handle negative length for COUNTERS type.
1045
1046 2020-06-25 Martin Liska <mliska@suse.cz>
1047
1048 * libgcov-driver.c (merge_summary): Remove function as its name
1049 is misleading and doing something different.
1050 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1051 in gcov-tool.
1052 * libgcov-util.c (curr_object_summary): Remove.
1053 (read_gcda_file): Remove unused curr_object_summary.
1054 (gcov_merge): Merge summaries.
1055 * libgcov.h: Add summary argument for gcov_info struct.
1056
1057 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
1058
1059 PR target/95259
1060 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1061 "common/config/i386/i386-cpuinfo.h" and
1062 "common/config/i386/cpuinfo.h".
1063 (__cpu_features2): Changed to array.
1064 (get_amd_cpu): Removed.
1065 (get_intel_cpu): Likewise.
1066 (get_available_features): Likewise.
1067 (__cpu_indicator_init): Call cpu_indicator_init.
1068 * config/i386/cpuinfo.h: Removed.
1069
1070 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
1071
1072 * Makefile.in: Remove uses of empty.mk. Use -include.
1073 * config/avr/t-avr: Use -include.
1074 * empty.mk: Delete.
1075
1076 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
1077
1078 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1079 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1080 and 64 bit with -maix64.
1081 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1082 Build and install AIX-style FAT libraries.
1083
1084 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1085
1086 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1087 'i386/gnu-unwind.h'
1088 * config/i386/gnu-unwind.h: New file.
1089
1090 2020-06-17 Martin Liska <mliska@suse.cz>
1091
1092 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1093 (merge_wrapper): Add both counts and use them properly.
1094 (topn_to_memory_representation): New function.
1095 (gcov_merge): Covert on disk representation to in memory
1096 representation.
1097 * libgcov.h: Remove const operator.
1098
1099 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1100
1101 * configure: Regenerate.
1102 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1103 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1104
1105 2020-06-09 Martin Liska <mliska@suse.cz>
1106
1107 PR gcov-profile/95494
1108 * libgcov-driver.c (write_top_counters): Cast first to
1109 intptr_t as sizeof(*) != sizeof(gcov_type).
1110 * libgcov.h (gcov_counter_set_if_null): Remove.
1111 (gcov_topn_add_value): Cast first to intptr_t and update
1112 linked list directly.
1113
1114 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1115
1116 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1117 with uw_install_context_1.
1118
1119 2020-06-04 Andreas Schwab <schwab@suse.de>
1120
1121 PR target/59230
1122 PR libfortran/59227
1123 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1124 soft-fp/divtf3.c.
1125 (LIB2ADD): Add config/ia64/divtf3.c.
1126 * config/ia64/divtf3.c: New file.
1127
1128 2020-06-03 Martin Liska <mliska@suse.cz>
1129
1130 PR gcov-profile/95480
1131 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1132 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1133 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1134 (gcov_counter_set_if_null): Likewise.
1135
1136 2020-06-02 Jim Wilson <jimw@sifive.com>
1137
1138 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1139 to bgtz.
1140
1141 2020-06-02 Martin Liska <mliska@suse.cz>
1142
1143 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1144 of xmalloc.
1145
1146 2020-06-02 Martin Liska <mliska@suse.cz>
1147
1148 * libgcov-driver.c (prune_topn_counter): Remove.
1149 (prune_counters): Likewise.
1150 (merge_one_data): Special case TOP N counters
1151 as they have variable length.
1152 (write_top_counters): New.
1153 (write_one_data): Special case TOP N.
1154 (dump_one_gcov): Do not prune TOP N counters.
1155 * libgcov-merge.c (merge_topn_values_set): Remove.
1156 (__gcov_merge_topn): Use gcov_topn_add_value.
1157 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1158 Likewise here.
1159 * libgcov.h (gcov_counter_add): New.
1160 (gcov_counter_set_if_null): Likewise.
1161 (gcov_topn_add_value): New.
1162
1163 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1164
1165 * config/i386/sfp-exceptions.c (struct fenv):
1166 Add __attribute__ ((gcc_struct)).
1167
1168 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
1169
1170 PR bootstrap/95413
1171 * configure: Regenerated.
1172
1173 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1174
1175 PR gcov-profile/95332
1176 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1177 * libgcov.h (gcov_magic): Disable GCC poison.
1178
1179 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1180
1181 PR target/95212
1182 * config/i386/cpuinfo.h (processor_features): Move
1183 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1184
1185 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1186
1187 PR target/91695
1188 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1189 check.
1190
1191 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1192
1193 PR target/95212
1194 PR target/95220
1195 * config/i386/cpuinfo.c (get_available_features): Fix
1196 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1197 * config/i386/cpuinfo.h (processor_features): Add
1198 FEATURE_AVX512VP2INTERSECT.
1199
1200 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1201
1202 PR bootstrap/95147
1203 * configure: Regenerated.
1204
1205 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1206
1207 * configure: Regenerated.
1208
1209 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
1210
1211 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1212 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1213
1214 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1215
1216 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1217 (__math_force_eval_div): New define.
1218 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1219 generic division to generate INVALID, DIVZERO and INEXACT
1220 exceptions.
1221
1222 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1223
1224 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1225 instead of getauxval.
1226 (AT_HWCAP): Define.
1227 (HWCAP_ATOMICS): Define.
1228 Guard detection on __gnu_linux__.
1229
1230 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
1231
1232 * config.host: Delete changes meant for a private branch.
1233 * config/rs6000/t-float128: Likewise.
1234 * configure.ac: Likewise.
1235 * configure: Likewise.
1236
1237 2020-05-05 Martin Liska <mliska@suse.cz>
1238
1239 PR gcov-profile/93623
1240 * Makefile.in: Remove __gcov_flush.
1241 * gcov.h (__gcov_flush): Remove.
1242 * libgcov-interface.c (__gcov_flush): Remove.
1243 (init_mx): Use renamed mutex.
1244 (__gcov_lock): Likewise.
1245 (__gcov_unlock): Likewise.
1246 (__gcov_fork): Likewise.
1247 (__gcov_flush): Remove.
1248
1249 2020-05-05 Martin Liska <mliska@suse.cz>
1250
1251 PR gcov-profile/93623
1252 * libgcov-interface.c (__gcov_fork): Do not flush
1253 and reset only in child process.
1254 (__gcov_execl): Dump counters only and reset them
1255 only if exec* fails.
1256 (__gcov_execlp): Likewise.
1257 (__gcov_execle): Likewise.
1258 (__gcov_execv): Likewise.
1259 (__gcov_execvp): Likewise.
1260 (__gcov_execve): Likewise.
1261
1262 2020-05-05 Martin Liska <mliska@suse.cz>
1263
1264 PR gcov-profile/93623
1265 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1266 * libgcov-interface.c (ALIAS_void_fn): Remove.
1267 (__gcov_lock): New.
1268 (__gcov_unlock): New.
1269 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1270 (__gcov_reset): Likewise.
1271 (__gcov_dump): Likewise.
1272 * libgcov.h (__gcov_lock): New declaration.
1273 (__gcov_unlock): Likewise.
1274
1275 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1276
1277 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1278 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1279 generic division to generate INVALID and DIVZERO exceptions.
1280
1281 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1282
1283 * config/rs6000/crtresfpr.S: Use .machine ppc.
1284 * config/rs6000/crtresxfpr.S: Likewise.
1285 * config/rs6000/crtsavfpr.S: Likewise.
1286
1287 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1288
1289 PR target/94514
1290 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1291 Update context->flags accroding to the frame state.
1292
1293 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1294
1295 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1296 Remove unneeded assignments to volatile memory.
1297
1298 2020-04-15 Jakub Jelinek <jakub@redhat.com>
1299
1300 PR target/93053
1301 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1302 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1303 is not defined, use just .arch armv8-a.
1304 (B, M, N, OPN): Define.
1305 (COMMENT): New .macro.
1306 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1307 defined. Otherwise, move the operands right after the glue? and
1308 comment out operands where the macros are used.
1309 * configure: Regenerated.
1310 * config.in: Regenerated.
1311
1312 2020-04-07 Ian Lance Taylor <iant@golang.org>
1313
1314 PR libgcc/94513
1315 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1316 syscall instead.
1317
1318 2020-04-04 Ian Lance Taylor <iant@golang.org>
1319
1320 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1321
1322 2020-04-03 Ian Lance Taylor <iant@golang.org>
1323
1324 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1325 than mmap/munmap, to avoid hooks.
1326
1327 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1328
1329 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1330 (TPFRA_OFFSET): Macros removed.
1331 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1332 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1333 (PG3_SKIPPING_OFFSET): New macros.
1334 (__isPATrange): Use cinfc_fast for the check.
1335 (__isSkipResetAddr): New function.
1336 (s390_fallback_frame_state): Check for skip trace addresses. Use
1337 either ICST_CRET or ICST_SRET to calculate return address
1338 location.
1339 (__tpf_eh_return): Handle skip trace addresses.
1340
1341 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
1342
1343 PR target/94220
1344 * config/arm/lib1funcs.asm (COND): Use a single definition for
1345 unified syntax.
1346 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1347 (aeabi_idivmod): Likewise.
1348 (divsi3_skip_div0_test): Likewise.
1349
1350 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1351
1352 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1353
1354 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1355
1356 * config.host: Include the new makefile fragment.
1357 * config/s390/t-tpf: New file.
1358
1359 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
1360
1361 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1362 syntax.
1363 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1364 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1365 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1366 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1367 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1368 syntax.
1369 (divsi3, modsi3): Likewise.
1370 (clzdi2, ctzsi2): Likewise.
1371 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1372 unified syntax.
1373 (UNWIND_WRAPPER): Likewise.
1374
1375 2020-03-02 Martin Liska <mliska@suse.cz>
1376
1377 * libgcov-interface.c: Remove duplicate
1378 declaration of __gcov_flush_mx.
1379
1380 2020-02-18 Martin Liska <mliska@suse.cz>
1381
1382 PR ipa/92924
1383 * libgcov-merge.c (merge_topn_values_set): Record
1384 when a TOP N counter becomes invalid. When merging
1385 remove a smallest value if the space is needed.
1386
1387 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1388
1389 PR libstdc++/79193
1390 PR libstdc++/88999
1391
1392 * configure: Regenerated.
1393
1394 2020-02-10 Jeff Law <law@redhat.com>
1395
1396 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1397 sections.
1398 * config/frv/frvend.c: Similarly.
1399
1400 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1401
1402 PR libgcc/85334
1403 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1404 New.
1405
1406 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1407
1408 PR target/93615
1409 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1410 _Unwind_gnu_Find_got.
1411 * unwind-pe.h: Likewise.
1412
1413 2020-02-07 Jakub Jelinek <jakub@redhat.com>
1414
1415 PR target/93615
1416 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1417 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1418 trailing :s in asm. Formatting fixes.
1419 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1420
1421 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1422
1423 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1424
1425 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1426 * config/nios2-elf-lib.h: New.
1427 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1428 code for finding GOT base for nios2.
1429
1430 2020-01-27 Martin Liska <mliska@suse.cz>
1431
1432 PR gcov-profile/93403
1433 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1434 Call __gcov_indirect_call_profiler_body.
1435 (__gcov_indirect_call_profiler_body): New.
1436 (__gcov_indirect_call_profiler_v4_atomic): New.
1437 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1438 New declaration.
1439
1440 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1441
1442 * config/arc/crti.S: Add RF16 object attribute.
1443 * config/arc/crtn.S: Likewise.
1444 * config/arc/crttls.S: Likewise.
1445 * config/arc/lib1funcs.S: Likewise.
1446 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1447 * config/arc/lib2funcs.c: New file.
1448 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1449
1450 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
1451
1452 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1453 * configure.ac: Handle `--with-toolexeclibdir='.
1454 * configure: Regenerate.
1455
1456 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1457
1458 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1459
1460 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1461
1462 * config/mips/gnustack.h: New file.
1463 * config/mips/crti.S: Include gnustack.h.
1464 * config/mips/crtn.S: Likewise.
1465 * config/mips/mips16.S: Likewise.
1466 * config/mips/vr4120-div.S: Likewise.
1467
1468 2020-01-23 Martin Liska <mliska@suse.cz>
1469
1470 * libgcov-driver.c (prune_topn_counter): Remove
1471 check for -1 as we only prune run-time counters
1472 that do not generate an invalid state.
1473
1474 2020-01-22 Martin Liska <mliska@suse.cz>
1475
1476 PR tree-optimization/92924
1477 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1478 try to find an existing value, then find an empty slot
1479 if not found.
1480
1481 2020-01-22 Martin Liska <mliska@suse.cz>
1482
1483 PR tree-optimization/92924
1484 * libgcov-driver.c (prune_topn_counter): New.
1485 (prune_counters): Likewise.
1486 (dump_one_gcov): Prune a run-time counter.
1487 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1488 For a known value, add GCOV_TOPN_VALUES to value.
1489 Otherwise, decrement all counters by one.
1490
1491 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
1492
1493 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1494
1495 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
1496
1497 PR libgcc/92988
1498 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1499 DEFAULT_USE_CXA_ATEXIT is true.
1500
1501 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
1502 Thomas Preud'homme <thomas.preudhomme@arm.com>
1503
1504 * config/arm/t-arm: Check return value of gcc rather than lack of
1505 output.
1506
1507 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
1508
1509 * config/avr/lib1funcs.S (skip): Simplify.
1510
1511 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1512
1513 * config/gcn/atomic.c: Remove include of stdint.h.
1514 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1515 __UINTPTR_TYPE__.
1516
1517 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1518
1519 * config/gcn/atomic.c: New.
1520 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1521
1522 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
1523
1524 Implement 64-bit double functions.
1525
1526 PR target/92055
1527 * config.host (tmake_file) [target=avr]: Add t-libf7,
1528 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1529 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1530 depending on sizeof (double) or sizeof (long double).
1531 * config/avr/libf7: New folder.
1532
1533 2020-01-05 Olivier Hainque <hainque@adacore.com>
1534
1535 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1536 by IN_LIBGCC2.
1537
1538 2020-01-01 Jakub Jelinek <jakub@redhat.com>
1539
1540 Update copyright years.
1541
1542 2019-12-30 Olivier Hainque <hainque@adacore.com>
1543
1544 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1545 * config/gthr-vxworks-tls.c: Likewise.
1546
1547 2019-12-30 Olivier Hainque <hainque@adacore.com>
1548
1549 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1550 standard zero-initializer syntax.
1551
1552 2019-12-30 Olivier Hainque <hainque@adacore.com>
1553
1554 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1555 reference to the internal VX_GET_TLS_DATA interface.
1556
1557 2019-12-30 Olivier Hainque <hainque@adacore.com>
1558
1559 * config/vxcrtstuff.c: Fix incorrect spelling of
1560 USE_INITFINI_ARRAY in guard.
1561
1562 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1563
1564 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1565 Override default "extra_parts" variable.
1566 * configure: Regenerate.
1567 * configure.ac: Disable TM clone registry by default for
1568 msp430-elfbare.
1569
1570 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1571
1572 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1573 "extra_parts".
1574 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1575
1576 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1577
1578 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1579 true.
1580
1581 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1582
1583 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1584 defined instead of its value.
1585
1586 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1587
1588 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1589 if it will have contents.
1590
1591 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
1592
1593 PR target/92055
1594 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1595
1596 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1597
1598 PR libgcc/91737
1599 * config.host: Add t-gthr-noweak on *-*-musl*.
1600 * config/t-gthr-noweak: New file.
1601
1602 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
1603
1604 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1605 volatile void *. Remove trap check.
1606 (__kernel_cmpxchg2): Likewise.
1607 (FETCH_AND_OP_2): Adjust operand types.
1608 (OP_AND_FETCH_2): Likewise.
1609 (FETCH_AND_OP_WORD): Likewise.
1610 (OP_AND_FETCH_WORD): Likewise.
1611 (COMPARE_AND_SWAP_2): Likewise.
1612 (__sync_val_compare_and_swap_4): Likewise.
1613 (__sync_bool_compare_and_swap_4): Likewise.
1614 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1615 (__sync_lock_test_and_set_4): Likewise.
1616 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1617 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1618 for release.
1619 (__sync_lock_release_8): Remove.
1620
1621 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1622
1623 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1624 of __sigset_t.
1625
1626 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
1627 Doug Rupp <rupp@adacore.com>
1628 Olivier Hainque <hainque@adacore.com>
1629
1630 * config.host: Collapse the arm-vxworks entries into
1631 a single arm-wrs-vxworks7* one.
1632 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1633 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1634 kernel modules, to be overriden by libstdc++ when we link with
1635 it. Rely on externally provided __exidx_start/end.
1636
1637 2019-11-14 Doug Rupp <rupp@adacore.com>
1638 Olivier Hainque <hainque@adacore.com>
1639
1640 * config.host: Handle aarch64*-wrs-vxworks7*.
1641
1642 2019-11-12 Olivier Hainque <hainque@adacore.com>
1643
1644 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1645 sources except the cxx0x support to LIB2ADDEH. We don't support
1646 cxx0x on AE/653.
1647 * config/t-vxworksae: New file.
1648 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1649 Makefile fragment files at their expected position in the tmake_file
1650 list, in accordance with what is done for other VxWorks variants.
1651
1652 2019-11-12 Corentin Gay <gay@adacore.com>
1653 Jerome Lambourg <lambourg@adacore.com>
1654 Olivier Hainque <hainque@adacore.com>
1655
1656 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1657 sources to LIB2ADDEH.
1658 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1659 * config/t-vxworks7: Likewise.
1660
1661 * config.host: Append a block at the end of the file to add the
1662 t-gthr files to the tmake_file list for VxWorks after everything
1663 else.
1664
1665 * config/vxlib.c: Rename as gthr-vxworks.c.
1666 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1667
1668 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1669 API and a basic error checking API, both internal. Simplify the
1670 __gthread_once_t type definition and initializers. Add sections
1671 for condition variables support and for the C++0x thread support,
1672 conditioned against Vx653 for the latter.
1673
1674 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1675 implementation, leveraging the TAS internal API.
1676 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1677 API, leveraging the general availability of TLS services in VxWorks7
1678 post SR6xxx.
1679 (__gthread_setspecific, __gthread_setspecific): Use it.
1680 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1681 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1682 support based on VxWorks primitives.
1683 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1684 based on VxWorks primitives.
1685
1686 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
1687 Olivier Hainque <hainque@adacore.com>
1688
1689 * config/vxcrtstuff.c: New file.
1690 * config/t-vxcrtstuff: New Makefile fragment.
1691 * config.host: Append t-vxcrtstuff to the tmake_file list
1692 on all VxWorks ports using dwarf for table based EH.
1693
1694 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
1695
1696 Support 64-bit double and 64-bit long double configurations.
1697
1698 PR target/92055
1699 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1700 long double is a 32-bit type.
1701 * config/avr/t-avrlibc: Copy double64 and long-double64
1702 multilib(s) from the vanilla one.
1703 * config/avr/t-copy-libgcc: New Makefile snip.
1704
1705 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1706
1707 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1708 the target output object format is not ELF.
1709 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1710
1711 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1712
1713 PR libgcc/78804
1714 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1715 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1716 FLOAT_BIT_ORDER_MISMATCH.
1717 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1718
1719 2019-11-01 Jim Wilson <jimw@sifive.com>
1720
1721 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1722
1723 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1724
1725 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1726 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1727 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1728 Define symbols for 32-bit and f5series hardware multiply
1729 register addresses.
1730 Replace hard-coded register addresses with symbols.
1731 Fix "_mspabi*" typo.
1732 Fix whitespace.
1733 * config/msp430/lib2mul.c: Add comment.
1734
1735 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
1736
1737 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1738 unsigned int. Adjust callers.
1739 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1740 unsigned int *. Load relocation offset before function pointer.
1741 Add barrier to ensure ordering.
1742
1743 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
1744
1745 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1746 Load PIC register after branch target. Fix white space.
1747 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1748 implementations. Load PIC register after branch target. Don't
1749 clobber function pointer when it points to function descriptor.
1750 Use nullification instead of branch in LINUX implementation.
1751
1752 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
1753
1754 * config/pa/fptr.c: Disable -Warray-bounds warning.
1755
1756 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
1757
1758 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1759 not the ubuntu modified 2.69.
1760
1761 PR target/91833
1762 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1763 initialization if !HAVE_SYS_AUXV_H.
1764 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1765 * config.in, configure: Rebuild.
1766
1767 PR target/91834
1768 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1769 overlap the inputs.
1770
1771 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1772
1773 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1774 CTR_EL0.IDC and CTR_EL0.DIC.
1775
1776 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1777
1778 Revert:
1779 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1780 Mickaël Guêné <mickael.guene@st.com>
1781
1782 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1783 architecture.
1784
1785 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1786
1787 * config/aarch64/lse-init.c: New file.
1788 * config/aarch64/lse.S: New file.
1789 * config/aarch64/t-lse: New file.
1790 * config.host: Add t-lse to all aarch64 tuples.
1791
1792 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1793 Mickaël Guêné <mickael.guene@st.com>
1794
1795 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1796 architecture.
1797
1798 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1799 Mickaël Guêné <mickael.guene@st.com>
1800
1801 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1802 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1803 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1804 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1805 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1806 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1807 (__gnu_personality_sigframe_fdpic): New.
1808 (get_eit_entry): Add FDPIC signal frame support.
1809
1810 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1811 Mickaël Guêné <mickael.guene@st.com>
1812
1813 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1814 (__kernel_dmb): Likewise.
1815 (__fdpic_cmpxchg): New function.
1816 (__fdpic_dmb): New function.
1817 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1818 (gnu_Unwind_Find_got): New function.
1819 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1820 * unwind-arm-common.inc (UCB_PR_GOT): New.
1821 (funcdesc_t): New struct.
1822 (get_eit_entry): Add FDPIC support.
1823 (unwind_phase2): Likewise.
1824 (unwind_phase2_forced): Likewise.
1825 (__gnu_Unwind_RaiseException): Likewise.
1826 (__gnu_Unwind_Resume): Likewise.
1827 (__gnu_Unwind_Backtrace): Likewise.
1828 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1829
1830 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1831 Mickaël Guêné <mickael.guene@st.com>
1832
1833 * libgcc/crtstuff.c: Add support for FDPIC.
1834
1835 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1836
1837 * config.host: Handle *-*-uclinuxfdpiceabi.
1838
1839 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1840
1841 * config.host: Set cpu_type for bpf-*-* targets.
1842 * config/bpf/t-bpf: Likewise.
1843 * config/bpf/crtn.S: Likewise.
1844 * config/bpf/crti.S: New file.
1845
1846 2019-09-06 Jim Wilson <jimw@sifive.com>
1847
1848 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1849 (riscv*-*-freebsd*): Likewise.
1850
1851 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1852
1853 * config.host: Remove references to spu.
1854 * config/spu/: Remove directory.
1855
1856 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1857
1858 PR target/91306
1859 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1860 element type, instead of "sizeof" the element type.
1861 (__DTOR_LIST__): Likewise.
1862 (__TMC_LIST__): Likewise.
1863 (__do_global_dtors_aux_fini_array_entry): Likewise.
1864 (__frame_dummy_init_array_entry): Likewise.
1865 (__CTOR_END__): Likewise.
1866 (__DTOR_END__): Likweise.
1867 (__FRAME_END__): Likewise.
1868 (__TMC_END__): Likewise.
1869
1870 2019-08-20 Lili Cui <lilicui@intel.com>
1871
1872 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1873 INTEL_COREI7_COOPERLAKE.
1874
1875 2019-07-31 Matt Thomas <matt@3am-software.com>
1876 Nick Hudson <nick@nthcliff.demon.co.uk>
1877 Matthew Green <mrg@eterna.com.au>
1878 Maya Rashish <coypu@sdf.org>
1879
1880 * config.host (hppa*-*-netbsd*): New case.
1881 * config/pa/t-netbsd: New file.
1882
1883 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1884
1885 * config/arm/cmse.c (cmse_check_address_range): Add
1886 warn_unused_result attribute.
1887
1888 2019-07-22 Martin Liska <mliska@suse.cz>
1889
1890 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1891 * config/pa/t-stublib: Likewise.
1892
1893 2019-07-22 Stafford Horne <shorne@gmail.com>
1894
1895 PR target/90362
1896 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1897 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1898 instructions are not available on every processor. Change a
1899 l.bnf to l.bf to fix logic issue.
1900
1901 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1902
1903 * config.host: Remove reference to t-darwin8.
1904
1905 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1906
1907 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1908 list.
1909 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1910 mmacosx-version-min for crts to run across all system versions.
1911 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1912 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1913 system versions >= 10.4.
1914
1915 2019-07-03 Martin Liska <mliska@suse.cz>
1916
1917 * Makefile.in: Use topn_values instead of one_value names.
1918 * libgcov-merge.c (__gcov_merge_single): Move to ...
1919 (__gcov_merge_topn): ... this.
1920 (merge_single_value_set): Move to ...
1921 (merge_topn_values_set): ... this.
1922 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1923 ...
1924 (__gcov_topn_values_profiler_body): ... this.
1925 (__gcov_one_value_profiler_v2): Move to ...
1926 (__gcov_topn_values_profiler): ... this.
1927 (__gcov_one_value_profiler_v2_atomic): Move to ...
1928 (__gcov_topn_values_profiler_atomic): ... this.
1929 (__gcov_indirect_call_profiler_v4): Remove.
1930 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1931 (__gcov_topn_counter_op): ... this.
1932 * libgcov.h (L_gcov_merge_single): Remove.
1933 (L_gcov_merge_topn): New.
1934 (__gcov_merge_single): Remove.
1935 (__gcov_merge_topn): New.
1936 (__gcov_one_value_profiler_v2): Move to ..
1937 (__gcov_topn_values_profiler): ... this.
1938 (__gcov_one_value_profiler_v2_atomic): Move to ...
1939 (__gcov_topn_values_profiler_atomic): ... this.
1940
1941 2019-07-03 Martin Liska <mliska@suse.cz>
1942
1943 * libgcov-merge.c (merge_single_value_set): Support N values.
1944 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1945
1946 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1947
1948 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1949 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1950 * configure.ac: Add --disable-tm-clone-registry option.
1951 * configure: Regenerate.
1952
1953 2019-06-27 Martin Liska <mliska@suse.cz>
1954
1955 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1956 dead assignments.
1957 * libgcov-util.c: Likewise.
1958
1959 2019-06-27 Martin Liska <mliska@suse.cz>
1960
1961 * libgcov-util.c (gcov_profile_merge): Release allocated
1962 memory.
1963 (calculate_overlap): Likewise.
1964
1965 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1966
1967 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1968 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1969 Build objects for the out of line save/restore register functions
1970 so that they can be used for any supported Darwin version.
1971 * config/t-darwin: Default the build Darwin version to Darwin8
1972 (MacOS 10.4).
1973
1974 2019-06-25 Martin Liska <mliska@suse.cz>
1975
1976 * libgcov-driver-system.c (replace_filename_variables): Do not
1977 call strlen with NULL argument.
1978
1979 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1980
1981 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1982 * config/gcn/unwind-gcn.c: New file.
1983
1984 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1985 Andrew Stubbs <ams@codesourcery.com>
1986
1987 * configure: Regenerate.
1988 * config/gcn/gthr-gcn.h: New.
1989
1990 2019-06-18 Tom de Vries <tdevries@suse.de>
1991
1992 * config/nvptx/crt0.c (__main): Declare.
1993
1994 2019-06-17 Matthew Green <mrg@eterna.com.au>
1995 Maya Rashish <coypu@sdf.org>
1996
1997 * config.host (aarch64*-*-netbsd*): New case.
1998
1999 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2000
2001 * config/msp430/slli.S (__mspabi_sllll): New library function for
2002 performing a logical left shift of a 64-bit value.
2003 * config/msp430/srai.S (__mspabi_srall): New library function for
2004 performing a arithmetic right shift of a 64-bit value.
2005 * config/msp430/srll.S (__mspabi_srlll): New library function for
2006 performing a logical right shift of a 64-bit value.
2007
2008 2019-06-14 Matt Thomas <matt@3am-software.com>
2009 Matthew Green <mrg@eterna.com.au>
2010 Nick Hudson <skrll@netbsd.org>
2011 Maya Rashish <coypu@sdf.org>
2012
2013 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2014 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2015 functions to build.
2016 * config/arm/t-netbsd-eabi: New file.
2017
2018 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2019
2020 * config.host: Add PRU target.
2021 * config/pru/asri.c: New file.
2022 * config/pru/eqd.c: New file.
2023 * config/pru/eqf.c: New file.
2024 * config/pru/ged.c: New file.
2025 * config/pru/gef.c: New file.
2026 * config/pru/gtd.c: New file.
2027 * config/pru/gtf.c: New file.
2028 * config/pru/led.c: New file.
2029 * config/pru/lef.c: New file.
2030 * config/pru/lib2bitcountHI.c: New file.
2031 * config/pru/lib2divHI.c: New file.
2032 * config/pru/lib2divQI.c: New file.
2033 * config/pru/lib2divSI.c: New file.
2034 * config/pru/libgcc-eabi.ver: New file.
2035 * config/pru/ltd.c: New file.
2036 * config/pru/ltf.c: New file.
2037 * config/pru/mpyll.S: New file.
2038 * config/pru/pru-abi.h: New file.
2039 * config/pru/pru-asm.h: New file.
2040 * config/pru/pru-divmod.h: New file.
2041 * config/pru/sfp-machine.h: New file.
2042 * config/pru/t-pru: New file.
2043
2044 2019-06-11 Jakub Jelinek <jakub@redhat.com>
2045
2046 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2047
2048 2019-06-10 Martin Liska <mliska@suse.cz>
2049
2050 PR bootstrap/90808
2051 * libgcov.h: Add ATTRIBUTE_UNUSED.
2052
2053 2019-06-10 Martin Liska <mliska@suse.cz>
2054
2055 * Makefile.in: Add __gcov_one_value_profiler_v2,
2056 __gcov_one_value_profiler_v2_atomic and
2057 __gcov_indirect_call_profiler_v4.
2058 * libgcov-merge.c (__gcov_merge_single): Change
2059 function signature.
2060 (merge_single_value_set): New.
2061 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2062 Update functionality.
2063 (__gcov_one_value_profiler): Remove.
2064 (__gcov_one_value_profiler_v2): ... this.
2065 (__gcov_one_value_profiler_atomic): Rename to ...
2066 (__gcov_one_value_profiler_v2_atomic): this.
2067 (__gcov_indirect_call_profiler_v3): Rename to ...
2068 (__gcov_indirect_call_profiler_v4): ... this.
2069 * libgcov.h (__gcov_one_value_profiler): Remove.
2070 (__gcov_one_value_profiler_atomic): Remove.
2071 (__gcov_one_value_profiler_v2_atomic): New.
2072 (__gcov_indirect_call_profiler_v3): Remove.
2073 (__gcov_one_value_profiler_v2): New.
2074 (__gcov_indirect_call_profiler_v4): New.
2075 (gcov_get_counter_ignore_scaling): New function.
2076
2077 2019-06-07 Martin Liska <mliska@suse.cz>
2078
2079 * Makefile.in: Remove usage of
2080 _gcov_merge_icall_topn.
2081 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2082 (gcov_sort_icall_topn_counter): Likewise.
2083 (gcov_sort_topn_counter_arrays): Likewise.
2084 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2085 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2086 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2087 Likewise.
2088 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2089 (struct indirect_call_tuple): Remove.
2090 (__gcov_indirect_call_topn_profiler): Remove.
2091 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2092 * libgcov.h (gcov_sort_n_vals): Remove.
2093 (L_gcov_merge_icall_topn): Likewise.
2094 (__gcov_merge_icall_topn): Likewise.
2095 (__gcov_indirect_call_topn_profiler): Likewise.
2096
2097 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2098
2099 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2100 altivec enabled.
2101
2102 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2103
2104 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2105 section.
2106 (__mspabi_slli): Likewise.
2107 (__mspabi_slll_n): Likewise.
2108 (__mspabi_slll): Likewise.
2109 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2110 (__mspabi_srai): Likewise.
2111 (__mspabi_sral_n): Likewise.
2112 (__mspabi_sral): Likewise.
2113 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2114 (__mspabi_srli): Likewise.
2115 (__mspabi_srll_n): Likewise.
2116 (__mspabi_srll): Likewise.
2117
2118 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2119
2120 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2121 Add appropriate tm_file clause as well.
2122 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2123
2124 2019-06-05 James Clarke <jrtc27@jrtc27.com>
2125
2126 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2127 rather than .data/.bss so it can be accessed via gp-relative
2128 addressing.
2129
2130 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
2131
2132 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2133 (CR2_REGNO): Rename to R_CR2.
2134 (XER_REGNO): Rename to R_XER.
2135 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2136 (VRSAVE_REGNO): Rename to R_VRSAVE.
2137 (VSCR_REGNO): R_VSCR.
2138
2139 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2140
2141 * config.host (rx-*-linux*): Add new case.
2142 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2143
2144 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2145
2146 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2147 function.
2148 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2149 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2150 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2151 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2152 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2153 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2154 string.
2155 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2156 string.
2157 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2158
2159 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2160
2161 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2162 Remove Solaris 9 and 10 support.
2163 (sparc_is_sighandler): Likewise.
2164
2165 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
2166
2167 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2168
2169 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2170
2171 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2172 4_FP_W_TYPEs are used for IEEE quad precision.
2173 * soft-fp/extendhftf2.c: Likewise.
2174 * soft-fp/extendsftf2.c: Likewise.
2175 * soft-fp/extendxftf2.c: Likewise.
2176 * soft-fp/trunctfdf2.c: Likewise.
2177 * soft-fp/trunctfhf2.c: Likewise.
2178 * soft-fp/trunctfsf2.c: Likewise.
2179 * soft-fp/trunctfxf2.c: Likewise.
2180 * config/rs6000/ibm-ldouble.c: Likewise.
2181
2182 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2183
2184 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2185 *-*-solaris2*.
2186 * configure.ac: Likewise.
2187 * configure: Regenerate.
2188
2189 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2190 Solaris 10 and Solaris 11 < snv_125 handling.
2191
2192 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2193
2194 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2195
2196 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2197
2198 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2199 * config/i386/cpuinfo.h (enum processor_features): Add
2200 FEATURE_AVX512BF16.
2201
2202 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2203 Bernd Edlinger <bernd.edlinger@hotmail.de>
2204 Jakub Jelinek <jakub@redhat.com>
2205
2206 PR target/89093
2207 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2208 * config/arm/unwind-arm.c: Likewise.
2209 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2210 attribute for ARM.
2211
2212 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2213
2214 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2215 (RT_SIGRETURN): Update.
2216 (nds32_fallback_frame_state): Update.
2217
2218 2019-02-21 Martin Sebor <msebor@redhat.com>
2219
2220 * libgcc2.h (__clear_cache): Correct signature.
2221 * libgcc2.c (__clear_cache): Same.
2222
2223 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2224
2225 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2226 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2227
2228 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2229
2230 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2231 regno instead of index to DWARF_ZERO_REG.
2232
2233 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2234
2235 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2236 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2237
2238 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2239
2240 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2241 to HOST_LIBGCC2_CFLAGS.
2242
2243 2019-01-23 Joseph Myers <joseph@codesourcery.com>
2244
2245 PR libgcc/88931
2246 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2247
2248 2019-01-18 Martin Liska <mliska@suse.cz>
2249
2250 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2251 to ...
2252 (__gcov_indirect_call_profiler_v3): ... this.
2253 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2254 (__gcov_indirect_call_profiler_v3): Likewise.
2255 * Makefile.in: Bump function name.
2256
2257 2019-01-18 Martin Liska <mliska@suse.cz>
2258
2259 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2260 (gcov_version): Use in gcov_error.
2261 (merge_one_data): Likewise.
2262 (dump_one_gcov): Likewise.
2263
2264 2019-01-18 Martin Liska <mliska@suse.cz>
2265
2266 * libgcov-driver.c (gcov_version_string): New function.
2267 (gcov_version): Convert version integer into string.
2268
2269 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
2270 Kwok Cheung Yeung <kcy@codesourcery.com>
2271 Julian Brown <julian@codesourcery.com>
2272 Tom de Vries <tom@codesourcery.com>
2273
2274 * config.host: Recognize amdgcn*-*-amdhsa.
2275 * config/gcn/crt0.c: New file.
2276 * config/gcn/lib2-divmod-hi.c: New file.
2277 * config/gcn/lib2-divmod.c: New file.
2278 * config/gcn/lib2-gcn.h: New file.
2279 * config/gcn/sfp-machine.h: New file.
2280 * config/gcn/t-amdgcn: New file.
2281
2282 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2283
2284 PR other/16615
2285
2286 * config/c6x/libunwind.S: Mechanically replace "can not" with
2287 "cannot".
2288 * config/tilepro/atomic.h: Likewise.
2289 * config/vxlib-tls.c: Likewise.
2290 * generic-morestack-thread.c: Likewise.
2291 * generic-morestack.c: Likewise.
2292 * mkmap-symver.awk: Likewise.
2293
2294 2019-01-01 Jakub Jelinek <jakub@redhat.com>
2295
2296 Update copyright years.
2297
2298 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2299
2300 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2301 to ignore -Waddress-of-packed-member.
2302
2303 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2304
2305 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2306 parameter and corresponding code.
2307 (ARM_FUNC_START): Likewise in both definitions.
2308 Also update footer comment about condition that need to match with
2309 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2310 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2311 defined. Weakly define it in this case.
2312 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2313 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2314 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2315 comment to keep condition in sync with the one in
2316 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2317
2318 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
2319
2320 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2321 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2322
2323 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2324
2325 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2326 and .cfi_endproc directives for VxWorks targets.
2327
2328 2018-12-05 Paul Koning <ni1d@arrl.net>
2329
2330 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2331
2332 2018-11-27 Alan Modra <amodra@gmail.com>
2333
2334 * config/rs6000/morestack.S (__stack_split_initialize),
2335 (__morestack_get_guard, __morestack_set_guard),
2336 (__morestack_make_guard): Provide CFI covering these functions.
2337 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2338
2339 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2340
2341 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2342 (sc_pt_regs_lr): Update for kernel.
2343 (sc_pt_regs_tls): Update for kernel.
2344
2345 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2346
2347 * config/csky/linux-unwind.h: Fix coding style.
2348
2349 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2350
2351 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2352 (csky_fallback_frame_state): Modify the check of the
2353 instructions to adapt to changes in the kernel
2354
2355 2018-11-09 Stafford Horne <shorne@gmail.com>
2356 Richard Henderson <rth@twiddle.net>
2357
2358 * config.host: Add OpenRISC support.
2359 * config/or1k/*: New.
2360
2361 2018-11-08 Kito Cheng <kito@andestech.com>
2362
2363 * soft-fp/adddf3.c: Update from glibc.
2364 * soft-fp/addsf3.c: Likewise.
2365 * soft-fp/addtf3.c: Likewise.
2366 * soft-fp/divdf3.c: Likewise.
2367 * soft-fp/divsf3.c: Likewise.
2368 * soft-fp/divtf3.c: Likewise.
2369 * soft-fp/double.h: Likewise.
2370 * soft-fp/eqdf2.c: Likewise.
2371 * soft-fp/eqsf2.c: Likewise.
2372 * soft-fp/eqtf2.c: Likewise.
2373 * soft-fp/extenddftf2.c: Likewise.
2374 * soft-fp/extended.h: Likewise.
2375 * soft-fp/extendhftf2.c: Likewise.
2376 * soft-fp/extendsfdf2.c: Likewise.
2377 * soft-fp/extendsftf2.c: Likewise.
2378 * soft-fp/extendxftf2.c: Likewise.
2379 * soft-fp/fixdfdi.c: Likewise.
2380 * soft-fp/fixdfsi.c: Likewise.
2381 * soft-fp/fixdfti.c: Likewise.
2382 * soft-fp/fixhfti.c: Likewise.
2383 * soft-fp/fixsfdi.c: Likewise.
2384 * soft-fp/fixsfsi.c: Likewise.
2385 * soft-fp/fixsfti.c: Likewise.
2386 * soft-fp/fixtfdi.c: Likewise.
2387 * soft-fp/fixtfsi.c: Likewise.
2388 * soft-fp/fixtfti.c: Likewise.
2389 * soft-fp/fixunsdfdi.c: Likewise.
2390 * soft-fp/fixunsdfsi.c: Likewise.
2391 * soft-fp/fixunsdfti.c: Likewise.
2392 * soft-fp/fixunshfti.c: Likewise.
2393 * soft-fp/fixunssfdi.c: Likewise.
2394 * soft-fp/fixunssfsi.c: Likewise.
2395 * soft-fp/fixunssfti.c: Likewise.
2396 * soft-fp/fixunstfdi.c: Likewise.
2397 * soft-fp/fixunstfsi.c: Likewise.
2398 * soft-fp/fixunstfti.c: Likewise.
2399 * soft-fp/floatdidf.c: Likewise.
2400 * soft-fp/floatdisf.c: Likewise.
2401 * soft-fp/floatditf.c: Likewise.
2402 * soft-fp/floatsidf.c: Likewise.
2403 * soft-fp/floatsisf.c: Likewise.
2404 * soft-fp/floatsitf.c: Likewise.
2405 * soft-fp/floattidf.c: Likewise.
2406 * soft-fp/floattihf.c: Likewise.
2407 * soft-fp/floattisf.c: Likewise.
2408 * soft-fp/floattitf.c: Likewise.
2409 * soft-fp/floatundidf.c: Likewise.
2410 * soft-fp/floatundisf.c: Likewise.
2411 * soft-fp/floatunditf.c: Likewise.
2412 * soft-fp/floatunsidf.c: Likewise.
2413 * soft-fp/floatunsisf.c: Likewise.
2414 * soft-fp/floatunsitf.c: Likewise.
2415 * soft-fp/floatuntidf.c: Likewise.
2416 * soft-fp/floatuntihf.c: Likewise.
2417 * soft-fp/floatuntisf.c: Likewise.
2418 * soft-fp/floatuntitf.c: Likewise.
2419 * soft-fp/gedf2.c: Likewise.
2420 * soft-fp/gesf2.c: Likewise.
2421 * soft-fp/getf2.c: Likewise.
2422 * soft-fp/half.h: Likewise.
2423 * soft-fp/ledf2.c: Likewise.
2424 * soft-fp/lesf2.c: Likewise.
2425 * soft-fp/letf2.c: Likewise.
2426 * soft-fp/muldf3.c: Likewise.
2427 * soft-fp/mulsf3.c: Likewise.
2428 * soft-fp/multf3.c: Likewise.
2429 * soft-fp/negdf2.c: Likewise.
2430 * soft-fp/negsf2.c: Likewise.
2431 * soft-fp/negtf2.c: Likewise.
2432 * soft-fp/op-1.h: Likewise.
2433 * soft-fp/op-2.h: Likewise.
2434 * soft-fp/op-4.h: Likewise.
2435 * soft-fp/op-8.h: Likewise.
2436 * soft-fp/op-common.h: Likewise.
2437 * soft-fp/quad.h: Likewise.
2438 * soft-fp/single.h: Likewise.
2439 * soft-fp/soft-fp.h: Likewise.
2440 * soft-fp/subdf3.c: Likewise.
2441 * soft-fp/subsf3.c: Likewise.
2442 * soft-fp/subtf3.c: Likewise.
2443 * soft-fp/truncdfsf2.c: Likewise.
2444 * soft-fp/trunctfdf2.c: Likewise.
2445 * soft-fp/trunctfhf2.c: Likewise.
2446 * soft-fp/trunctfsf2.c: Likewise.
2447 * soft-fp/trunctfxf2.c: Likewise.
2448 * soft-fp/unorddf2.c: Likewise.
2449 * soft-fp/unordsf2.c: Likewise.
2450 * soft-fp/unordtf2.c: Likewise.
2451
2452 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2453
2454 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2455 * config/i386/cpuinfo.h (processor_types): Add znver2.
2456
2457 2018-11-01 Paul Koning <ni1d@arrl.net>
2458
2459 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2460 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2461
2462 2018-10-31 Joseph Myers <joseph@codesourcery.com>
2463
2464 PR bootstrap/82856
2465 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2466 * configure: Regenerate.
2467
2468 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2469
2470 * config/arc/lib1funcs.S (_muldi3): New function.
2471 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2472
2473 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2474
2475 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2476
2477 2018-10-25 Martin Liska <mliska@suse.cz>
2478
2479 PR other/87735
2480 * libgcov-profiler.c: Revert.
2481
2482 2018-10-24 Martin Liska <mliska@suse.cz>
2483
2484 * libgcov-profiler.c: Start from 1 in order to distinguish
2485 functions which were seen and these that were not.
2486
2487 2018-10-18 Paul Koning <ni1d@arrl.net>
2488
2489 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2490 standard.
2491 * divmod.c: Update references to __udivmodsi4.
2492 * udivmod.c: Ditto.
2493 * udivhi3.c: New file.
2494 * udivmodhi4.c: New file.
2495 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2496
2497 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2498
2499 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2500
2501 2018-10-12 Olivier Hainque <hainque@adacore.com>
2502
2503 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2504 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2505
2506 2018-10-08 Paul Koning <ni1d@arrl.net>
2507
2508 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2509
2510 2018-10-04 Martin Liska <mliska@suse.cz>
2511
2512 PR gcov-profile/84107
2513 * libgcov-profiler.c (__gcov_indirect_call):
2514 Change type to indirect_call_tuple.
2515 (struct indirect_call_tuple): New struct.
2516 (__gcov_indirect_call_topn_profiler): Change type.
2517 (__gcov_indirect_call_profiler_v2): Use the new
2518 variables.
2519 * libgcov.h (struct indirect_call_tuple): New struct
2520 definition.
2521
2522 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
2523
2524 * libgcc2.c (isnan): Use __builtin_isnan.
2525 (isfinite): Use __builtin_isfinite.
2526 (isinf): Use __builtin_isinf.
2527
2528 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
2529
2530 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2531
2532 2018-09-21 Alexandre Oliva <oliva@adacore.com>
2533
2534 * config/vxcache.c: New file. Provide __clear_cache, based on
2535 the cacheTextUpdate VxWorks service.
2536 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2537 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2538 * config/t-vxwoks7: Likewise.
2539
2540 2018-09-21 Martin Liska <mliska@suse.cz>
2541
2542 * libgcov-driver.c (crc32_unsigned): Remove.
2543 (gcov_histogram_insert): Likewise.
2544 (gcov_compute_histogram): Likewise.
2545 (compute_summary): Simplify rapidly.
2546 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2547 (merge_summary): Rapidly simplify.
2548 (dump_one_gcov): Ignore gcov_summary.
2549 (gcov_do_dump): Do not handle program summary, it's not
2550 used.
2551 * libgcov-util.c (tag_summary): Remove.
2552 (read_gcda_finalize): Fix coding style.
2553 (read_gcda_file): Initialize curr_object_summary.
2554 (compute_summary): Remove.
2555 (calculate_overlap): Remove settings of run_max.
2556
2557 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2558
2559 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2560 ucontext_t type instead.
2561 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2562
2563 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
2564
2565 * config/nds32/t-nds32-glibc: New file.
2566
2567 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2568
2569 * configure.ac (solaris_ld_v2_maps): New test.
2570 * configure: Regenerate.
2571 * Makefile.in (solaris_ld_v2_maps): New variable.
2572 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2573 if supported.
2574
2575 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
2576
2577 PR target/86951
2578 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2579 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2580 to build.
2581
2582 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2583
2584 * config/unwind-dw2-fde-darwin.c
2585 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2586 * config/darwin10-unwind-find-enc-func.c: … to here.
2587 * config/t-darwin: Build Darwin10 unwinder shim crt.
2588 * libgcc/config.host: Add the Darwin10 unwinder shim.
2589
2590 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2591
2592 * config.host: Add crtbegin.o and crtend.o for
2593 powerpc-wrs-vxworks target.
2594
2595 2018-08-17 Jojo <jijie_rong@c-sky.com>
2596 Huibin Wang <huibin_wang@c-sky.com>
2597 Sandra Loosemore <sandra@codesourcery.com>
2598 Chung-Lin Tang <cltang@codesourcery.com>
2599
2600 C-SKY port: libgcc
2601
2602 * config.host: Add C-SKY support.
2603 * config/csky/*: New.
2604
2605 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2606
2607 * config/nds32/t-nds32-isr: Rearrange object dependency.
2608 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2609 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2610 and registers usage.
2611 * config/nds32/isr-library/excp_isr.S: Ditto.
2612 * config/nds32/isr-library/intr_isr.S: Ditto.
2613 * config/nds32/isr-library/reset.S: Ditto.
2614 * config/nds32/isr-library/restore_all.inc: Ditto.
2615 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2616 * config/nds32/isr-library/restore_partial.inc: Ditto.
2617 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2618 * config/nds32/isr-library/save_all.inc: Ditto.
2619 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2620 * config/nds32/isr-library/save_partial.inc: Ditto.
2621 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2622 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2623
2624 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
2625
2626 * config/pa/linux-atomic.c: Update comment.
2627 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2628 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2629 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2630 __ATOMIC_RELAXED for atomic loads.
2631 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2632 unordered store to release lock.
2633 (__sync_lock_release_8): Likewise.
2634 (SYNC_LOCK_RELEASE_2): Remove define.
2635
2636 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
2637
2638 PR libgcc/86512
2639 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2640 exponent goes negative. Update my email address.
2641 * config/arm/ieee754-sf.S: Likewise.
2642
2643 2018-08-01 Martin Liska <mliska@suse.cz>
2644
2645 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2646 check that __gcov_indirect_call_callee is non-null.
2647
2648 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2649
2650 * config/arm/ieee754-df.S: Fix comment for code working on
2651 architectures >= 4.
2652 * config/arm/ieee754-sf.S: Likewise.
2653
2654 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2655
2656 PR libgcc/85334
2657 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2658 Removed.
2659
2660 2018-07-05 James Clarke <jrtc27@jrtc27.com>
2661
2662 * configure: Regenerated.
2663
2664 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2665
2666 * Makefile.in (install_leaf): Use enable_gcov instead of
2667 enable_libgcov.
2668
2669 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2670
2671 * configure.ac: Add --disable-gcov option.
2672 * configure: Regenerate.
2673 * Makefile.in: Honour @enable_gcov@.
2674
2675 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2676
2677 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2678 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2679 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2680 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2681 __ARM_ARCH__.
2682 * config/arm/ieee754-sf.S: Likewise.
2683 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2684
2685 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2686
2687 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2688 longer supported.
2689 * config/arm/ieee754-sf.S: Likewise.
2690
2691 2018-06-20 Than McIntosh <thanm@google.com>
2692
2693 PR libgcc/86213
2694 * generic-morestack.c (allocate_segment): Move calls to getenv and
2695 getpagesize to __morestack_load_mmap.
2696 (__morestack_load_mmap) Initialize static_pagesize and
2697 use_guard_page here so as to avoid clobbering SSE regs during a
2698 __morestack call.
2699
2700 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
2701
2702 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2703 support modules with -mno-gnu-attribute.
2704 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2705
2706 2018-06-07 Olivier Hainque <hainque@adacore.com>
2707
2708 * config/t-vxworks (LIBGCC_INCLUDES): Add
2709 -I$(MULTIBUILDTOP)../../gcc/include.
2710 * config/t-vxworks7: Likewise. Reformat a bit to match
2711 the t-vxworks layout.
2712
2713 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2714
2715 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2716
2717 2018-06-07 Martin Liska <mliska@suse.cz>
2718
2719 * libgcov-driver.c: Rename cs_all to all and assign it from
2720 all_prg.
2721
2722 2018-06-07 Martin Liska <mliska@suse.cz>
2723
2724 PR bootstrap/86057
2725 * libgcov-driver-system.c (replace_filename_variables): Use
2726 memcpy instead of mempcpy.
2727 (allocate_filename_struct): Do not allocate filename, allocate
2728 prefix and set it.
2729 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2730 here and properly copy content into it.
2731 * libgcov-driver.c (struct gcov_filename): Remove max_length
2732 field, change prefix from size_t into char *.
2733 (compute_summary): Do not calculate longest filename.
2734 (gcov_do_dump): Release memory of gf.filename after each file.
2735 * libgcov-util.c (compute_summary): Use new signature of
2736 compute_summary.
2737 (calculate_overlap): Likewise.
2738
2739 2018-06-05 Martin Liska <mliska@suse.cz>
2740
2741 PR gcov-profile/47618
2742 * libgcov-driver-system.c (replace_filename_variables): New
2743 function.
2744 (gcov_exit_open_gcda_file): Use it.
2745
2746 2018-06-05 Martin Liska <mliska@suse.cz>
2747
2748 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2749 of gcov_ctr_summary.
2750 (compute_summary): Do it just for a single summary.
2751 (merge_one_data): Likewise.
2752 (merge_summary): Simplify as we read just single summary.
2753 (dump_one_gcov): Pass proper argument.
2754 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2755 single summary.
2756 (gcov_info_count_all_cold): Likewise.
2757 (calculate_overlap): Likewise.
2758
2759 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2760 Monk Chiang <sh.chiang04@gmail.com>
2761
2762 * config.host (nds32*-linux*): New.
2763 * config/nds32/linux-atomic.c: New file.
2764 * config/nds32/linux-unwind.h: New file.
2765
2766 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2767
2768 PR target/85591
2769 * config/i386/cpuinfo.c (get_amd_cpu): Return
2770 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2771
2772 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2773
2774 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2775
2776 2018-05-29 Martin Liska <mliska@suse.cz>
2777
2778 PR gcov-profile/85759
2779 * libgcov-driver-system.c (gcov_error): Introduce usage of
2780 GCOV_EXIT_AT_ERROR env. variable.
2781 * libgcov-driver.c (merge_one_data): Print error that we
2782 overwrite a gcov file with a different timestamp.
2783
2784 2018-05-23 Kalamatee <kalamatee@gmail.com>
2785
2786 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2787 path to Lf$finfty.
2788
2789 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2790 Monk Chiang <sh.chiang04@gmail.com>
2791 Jim Wilson <jimw@sifive.com>
2792
2793 * config/riscv/save-restore.S: Add support for rv32e.
2794
2795 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2796
2797 * config/arm/libunwind.S: Update comment relating to armv5.
2798
2799 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2800
2801 * config/arm/cmse.c (cmse_check_address_range): Replace
2802 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2803
2804 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2805
2806 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2807 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2808
2809 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2810
2811 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2812 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2813
2814 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2815
2816 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2817
2818 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2819 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2820
2821 PR libgcc/84292
2822 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2823 op_and_fetch to return the right result.
2824
2825 2018-04-27 Alan Modra <amodra@gmail.com>
2826
2827 PR libgcc/85532
2828 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2829 -fno-asynchronous-unwind-tables.
2830
2831 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2832
2833 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2834 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2835
2836 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2837
2838 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2839 when including "config/i386/shadow-stack-unwind.h".
2840
2841 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2842
2843 * configure: Regenerated.
2844
2845 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2846
2847 PR target/85456
2848 * config/rs6000/_powikf2.c: New file. Add support for the
2849 __builtin_powil function when long double is IEEE 128-bit floating
2850 point.
2851 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2852 __powikf2 support.
2853 (__powikf2): Likewise.
2854 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2855 (__powikf2_hw): Likewise.
2856 (__powikf2): Likewise.
2857 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2858 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2859 (_powikf2-hw.c): Likewise.
2860
2861 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2862
2863 PR libgcc/85334
2864 * unwind-generic.h (_Unwind_Frames_Increment): New.
2865 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2866 Likewise.
2867 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2868 count with _Unwind_Frames_Increment.
2869 (_Unwind_ForcedUnwind_Phase2): Likewise.
2870
2871 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2872
2873 PR libgcc/85379
2874 * config/i386/morestack.S (__stack_split_initialize): Add
2875 _CET_ENDBR.
2876
2877 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2878
2879 * configure: Regenerated.
2880
2881 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2882
2883 PR jit/85384
2884 * configure: Regenerate.
2885
2886 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2887
2888 PR target/84945
2889 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2890 -Wdangling-else warnings. Mask shift counts to avoid
2891 -Wshift-count-negative and -Wshift-count-overflow false positives.
2892
2893 2018-04-06 Ruslan Bukin <br@bsdpad.com>
2894
2895 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2896
2897 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2898
2899 PR target/85100
2900 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2901 (XSTATE_FP): Likewise.
2902 (XSTATE_SSE): Likewise.
2903 (XSTATE_YMM): Likewise.
2904 (XSTATE_OPMASK): Likewise.
2905 (XSTATE_ZMM): Likewise.
2906 (XSTATE_HI_ZMM): Likewise.
2907 (XCR_AVX_ENABLED_MASK): Likewise.
2908 (XCR_AVX512F_ENABLED_MASK): Likewise.
2909 (get_available_features): Enable AVX and AVX512 features only
2910 if their states are supported by OSXSAVE.
2911
2912 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2913
2914 PR target/85025
2915 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2916 Fix a typo, tmp => 255.
2917
2918 2018-03-20 Jakub Jelinek <jakub@redhat.com>
2919
2920 PR target/84945
2921 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2922 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2923 ifndef SHARED only.
2924 (set_feature): Define.
2925 (get_available_features): Use set_feature macro. Set __cpu_features2
2926 to the second word of features ifndef SHARED.
2927
2928 2018-03-15 Julia Koval <julia.koval@intel.com>
2929
2930 * config/i386/cpuinfo.c (get_available_features): Add
2931 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2932 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2933 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2934 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2935 FEATURE_AVX512BITALG.
2936
2937 2018-03-14 Julia Koval <julia.koval@intel.com>
2938
2939 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2940 icelake client and icelake server.
2941
2942 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
2943
2944 * config/pa/fptr.c (_dl_read_access_allowed): New.
2945 (__canonicalize_funcptr_for_compare): Use it.
2946
2947 2018-02-28 Jakub Jelinek <jakub@redhat.com>
2948
2949 PR debug/83917
2950 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2951 $asm_hidden_op if visibility ("hidden") attribute works.
2952 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2953 * config/i386/i386-asm.h: Don't include auto-host.h.
2954 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2955 PACKAGE_URL): Don't undefine.
2956 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2957 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2958 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2959 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2960 definition instead of hardcoded .hidden.
2961 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2962 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2963 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2964 (USE_GAS_CFI_DIRECTIVES): Don't define.
2965 * configure: Regenerated.
2966 * config.in: Likewise.
2967
2968 2018-02-26 Jakub Jelinek <jakub@redhat.com>
2969
2970 PR debug/83917
2971 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2972 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2973 inclusion of auto-target.h and auto-host.h.
2974 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2975 __GCC_HAVE_DWARF2_CFI_ASM.
2976 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2977 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2978 cfi_pop): Define.
2979 * config/i386/cygwin.S: Don't include auto-host.h here, just
2980 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2981 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2982 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2983 * config/i386/resms64fx.h: Add cfi_* directives.
2984 * config/i386/resms64x.h: Likewise.
2985
2986 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2987
2988 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2989 .literal_position directive.
2990 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2991
2992 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2993
2994 PR target/84148
2995 * configure: Regenerate.
2996
2997 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2998
2999 PR target/84239
3000 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3001 Include cetintrin.h not x86intrin.h.
3002
3003 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3004
3005 PR target/84239
3006 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3007 Use new _get_ssp and _inc_ssp intrinsics.
3008
3009 2018-02-02 Julia Koval <julia.koval@intel.com>
3010
3011 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3012
3013 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3014
3015 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3016 option.
3017 (__divsi3): Use RF16 safe registers.
3018 (__modsi3): Likewise.
3019
3020 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3021
3022 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3023 (__divsf3): Make NaN return value quiet.
3024 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3025 (__divdf3): Make NaN return value quiet.
3026
3027 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3028
3029 * config/rl78/anddi3.S: New assembly file.
3030 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3031
3032 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3033
3034 * config/rl78/umindi3.S: New assembly file.
3035 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3036
3037 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3038
3039 * config/rl78/smindi3.S: New assembly file.
3040 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3041
3042 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3043
3044 * config/rl78/smaxdi3.S: New assembly file.
3045 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3046
3047 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3048
3049 * config/rl78/umaxdi3.S: New assembly file.
3050 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3051
3052 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
3053
3054 PR lto/83452
3055 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3056 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3057
3058 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3059
3060 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3061 (DWARF_LAZY_REGISTER_VALUE): Define.
3062 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3063 to provide a fallback register value.
3064
3065 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3066
3067 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3068 __ibm128, instead of trying to use long double.
3069 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3070 accomidate -mabi=ieeelongdouble multilibs.
3071 (CVT_IBM128_TO_FLOAT128): Likewise.
3072 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3073 the appropriate IBM extended double type.
3074 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3075 (__gcc_qsub): Likewise.
3076 (__gcc_qmul): Likewise.
3077 (__gcc_qdiv): Likewise.
3078 (pack_ldouble): Likewise.
3079 (__gcc_qneg): Likewise.
3080 (__gcc_qeq): Likewise.
3081 (__gcc_qne): Likewise.
3082 (__gcc_qge): Likewise.
3083 (__gcc_qle): Likewise.
3084 (__gcc_stoq): Likewise.
3085 (__gcc_dtoq): Likewise.
3086 (__gcc_itoq): Likewise.
3087 (__gcc_utoq): Likewise.
3088 (__gcc_qunord): Likewise.
3089 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3090 quad-float128.h for the definitions.
3091 (COPYSIGN): Use the f128 version instead of the q version.
3092 (INFINITY): Likewise.
3093 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3094 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3095 quad-float128.h for the definitions.
3096 (COPYSIGN): Use the f128 version instead of the q version.
3097 (INFINITY): Likewise.
3098 (FABS): Likewise.
3099 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3100 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3101 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3102
3103 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3104
3105 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3106 configuration.
3107
3108 2018-01-03 Jakub Jelinek <jakub@redhat.com>
3109
3110 Update copyright years.
3111
3112 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
3113
3114 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3115 * config/riscv/multi3.c: New file.
3116 * config/riscv/multi3.S: Remove.
3117
3118 2017-12-08 Jim Wilson <jimw@sifive.com>
3119
3120 * config/riscv/div.S: Use FUNC_* macros.
3121 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3122 * config/riscv/save-restore.S: Likewise.
3123 * config/riscv/riscv-asm.h: New.
3124
3125 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3126
3127 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3128 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3129
3130 PR libgcc/83112
3131 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3132 correct type for all ifunc resolvers to silence -Wattribute-alias
3133 warnings. Eliminate the forward declaration of the resolver
3134 functions which is no longer needed.
3135 (__subkf3_resolve): Likewise.
3136 (__mulkf3_resolve): Likewise.
3137 (__divkf3_resolve): Likewise.
3138 (__negkf2_resolve): Likewise.
3139 (__eqkf2_resolve): Likewise.
3140 (__nekf2_resolve): Likewise.
3141 (__gekf2_resolve): Likewise.
3142 (__gtkf2_resolve): Likewise.
3143 (__lekf2_resolve): Likewise.
3144 (__ltkf2_resolve): Likewise.
3145 (__unordkf2_resolve): Likewise.
3146 (__extendsfkf2_resolve): Likewise.
3147 (__extenddfkf2_resolve): Likewise.
3148 (__trunckfsf2_resolve): Likewise.
3149 (__trunckfdf2_resolve): Likewise.
3150 (__fixkfsi_resolve): Likewise.
3151 (__fixkfdi_resolve): Likewise.
3152 (__fixunskfsi_resolve): Likewise.
3153 (__fixunskfdi_resolve): Likewise.
3154 (__floatsikf_resolve): Likewise.
3155 (__floatdikf_resolve): Likewise.
3156 (__floatunsikf_resolve): Likewise.
3157 (__floatundikf_resolve): Likewise.
3158 (__extendkftf2_resolve): Likewise.
3159 (__trunctfkf2_resolve): Likewise.
3160
3161 PR libgcc/83103
3162 * config/rs6000/quad-float128.h (TF): Don't define if long double
3163 is IEEE 128-bit floating point.
3164 (TCtype): Define as either TCmode or KCmode, depending on whether
3165 long double is IEEE 128-bit floating point.
3166 (__mulkc3_sw): Add declarations for software/hardware versions of
3167 complex multiply/divide.
3168 (__divkc3_sw): Likewise.
3169 (__mulkc3_hw): Likewise.
3170 (__divkc3_hw): Likewise.
3171 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3172 handlers to switch between using software emulation and hardware
3173 float128 instructions, build the complex multiply/divide functions
3174 for both software and hardware support.
3175 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3176 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3177 (__divkc3_resolve): Likewise.
3178 (__mulkc3): Likewise.
3179 (__divkc3): Likewise.
3180 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3181 (fp128_hw_src): Likewise.
3182 (fp128_hw_static_obj): Likewise.
3183 (fp128_hw_shared_obj): Likewise.
3184 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3185 _mulkc3.c and _divkc3.c, changing the function name.
3186 (_divkc3-hw.c): Likewise.
3187 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3188 and _divkc3-hw.c.
3189
3190 2017-11-26 Julia Koval <julia.koval@intel.com>
3191
3192 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3193 * config/i386/cpuinfo.h (processor_subtypes): Add
3194 INTEL_COREI7_CANNONLAKE.
3195
3196 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3197
3198 PR bootstrap/83015
3199 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3200 parameter.
3201 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3202 * config/ia64/unwind-ia64.c: Add frames parameter.
3203 * unwind-sjlj.c: Likewise.
3204
3205 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3206
3207 * config/i386/linux-unwind.h: Include
3208 config/i386/shadow-stack-unwind.h.
3209 * config/i386/shadow-stack-unwind.h: New file.
3210 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3211 pass it to _Unwind_Frames_Extra.
3212 * unwind-generic.h (_Unwind_Frames_Extra): New.
3213 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3214 parameter. Add local variable frames to count number of frames.
3215 (_Unwind_ForcedUnwind_Phase2): Likewise.
3216 (_Unwind_RaiseException): Add local variable frames to count
3217 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3218 uw_install_context.
3219 (_Unwind_ForcedUnwind): Likewise.
3220 (_Unwind_Resume): Likewise.
3221 (_Unwind_Resume_or_Rethrow): Likewise.
3222
3223 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3224
3225 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3226 (CET_FLAGS): New.
3227 * config/i386/morestack.S: Include <cet.h>.
3228 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3229 * config/i386/resms64.h: Include <cet.h>.
3230 * config/i386/resms64f.h: Likewise.
3231 * config/i386/resms64fx.h: Likewise.
3232 * config/i386/resms64x.h: Likewise.
3233 * config/i386/savms64.h: Likewise.
3234 * config/i386/savms64f.h: Likewise.
3235 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3236 (CRTSTUFF_T_CFLAGS): Likewise.
3237 * configure.ac: Include ../config/cet.m4.
3238 Set and substitute CET_FLAGS.
3239 * configure: Regenerated.
3240
3241 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3242
3243 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3244 renaming.
3245 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3246 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3247 * configure: Regenerate.
3248
3249 2017-11-07 Tom de Vries <tom@codesourcery.com>
3250
3251 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3252 after "do {} while (0)".
3253
3254 2017-11-07 Tom de Vries <tom@codesourcery.com>
3255
3256 PR other/82784
3257 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3258 semicolon after "do {} while (0)".
3259 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3260 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3261 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3262 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3263
3264 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3265
3266 PR libgcc/82635
3267 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3268 sysctl to determine whether we're in a trampoline.
3269 Keep the pattern matching method for systems without
3270 KERN_PROC_SIGTRAMP sysctl.
3271
3272 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3273 Vineet Gupta <vgupta@synopsys.com>
3274
3275 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3276 * config/arc/linux-unwind-reg.def: New file.
3277 * config/arc/linux-unwind-reg.h: Likewise.
3278
3279 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3280
3281 * config/rl78/subdi3.S: New assembly file.
3282 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3283
3284 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3285
3286 * config/rl78/adddi3.S: New assembly file.
3287 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3288
3289 2017-10-13 Jakub Jelinek <jakub@redhat.com>
3290
3291 PR target/82274
3292 * libgcc2.c (__mulvDI3): If both operands have
3293 the same highpart of -1 and the topmost bit of lowpart is 0,
3294 multiplication overflows even if both lowparts are 0.
3295
3296 2017-09-28 James Bowman <james.bowman@ftdichip.com>
3297
3298 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3299
3300 2017-09-26 Joseph Myers <joseph@codesourcery.com>
3301
3302 * config/microblaze/crti.S, config/microblaze/crtn.S,
3303 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3304 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3305 config/microblaze/mulsi3.S,
3306 config/microblaze/stack_overflow_exit.S,
3307 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3308 config/pa/milli64.S: Add .note.GNU-stack section.
3309
3310 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
3311
3312 * configure.ac: Add Check for HAVE_AS_AVX.
3313 * config.in: Regenerate.
3314 * configure: Likewise.
3315 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3316 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3317 Correct out-of-date comments.
3318
3319 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3320
3321 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3322 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3323
3324 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
3325
3326 * config/i386/i386-asm.h (PASTE2): New macro.
3327 (ASMNAME): Modify to use PASTE2.
3328 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3329 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3330 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3331 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3332 * config/i386/resms64f.S: Likewise.
3333 * config/i386/resms64fx.S: Likewise.
3334 * config/i386/resms64x.S: Likewise.
3335 * config/i386/savms64.S: Likewise.
3336 * config/i386/savms64f.S: Likewise.
3337 * config/i386/avx_resms64.S: New file that only defines a macro and
3338 includes it's corresponding header file.
3339 * config/i386/avx_resms64f.S: Likewise.
3340 * config/i386/avx_resms64fx.S: Likewise.
3341 * config/i386/avx_resms64x.S: Likewise.
3342 * config/i386/avx_savms64.S: Likewise.
3343 * config/i386/avx_savms64f.S: Likewise.
3344 * config/i386/sse_resms64.S: Likewise.
3345 * config/i386/sse_resms64f.S: Likewise.
3346 * config/i386/sse_resms64fx.S: Likewise.
3347 * config/i386/sse_resms64x.S: Likewise.
3348 * config/i386/sse_savms64.S: Likewise.
3349 * config/i386/sse_savms64f.S: Likewise.
3350 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3351
3352 2017-09-01 Olivier Hainque <hainque@adacore.com>
3353 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3354
3355 2017-08-31 Olivier Hainque <hainque@adacore.com>
3356
3357 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3358 match as powerpc-wrs-vxworks*.
3359
3360 2017-08-07 Jonathan Yong <10walls@gmail.com>
3361
3362 * config.host (*-cygwin): Include file from mingw
3363 config/i386/enable-execute-stack-mingw32.c
3364
3365 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
3366 Doug Rupp <rupp@adacore.com>
3367 Olivier Hainque <hainque@adacore.com>
3368
3369 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3370 as well as arm-wrs-vxworks.
3371 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3372 LIB2ADDEH.
3373 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3374 __exidx_start and __exidx_end for downloadable modules.
3375
3376 2017-08-01 Olivier Hainque <hainque@adacore.com>
3377
3378 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3379 * config/t-vxworks7: Likewise.
3380
3381 2017-08-01 Olivier Hainque <hainque@adacore.com>
3382
3383 * config/t-vxworks: Instead of redefining LIB2ADD,
3384 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3385
3386 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3387
3388 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3389
3390 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
3391
3392 PR testsuite/80759
3393 * config.host: include i386/t-msabi for darwin and solaris.
3394 * config/i386/i386-asm.h
3395 (ELFFN): Rename to FN_TYPE.
3396 (FN_SIZE): New macro.
3397 (FN_HIDDEN): Likewise.
3398 (ASMNAME): Likewise.
3399 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3400 .globl.
3401 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3402 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3403 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3404 .macro.
3405 * config/i386/resms64f.S: Likewise.
3406 * config/i386/resms64fx.S: Likewise.
3407 * config/i386/resms64x.S: Likewise.
3408 * config/i386/savms64.S: Likewise.
3409 * config/i386/savms64f.S: Likewise.
3410
3411 2017-07-19 John Marino <gnugcc@marino.st>
3412
3413 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3414
3415 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3416
3417 PR target/81193
3418 * configure.ac (PowerPC float128 hardware support): Test whether
3419 we can use __builtin_cpu_supports before enabling the ifunc
3420 handler.
3421 * configure: Regenerate.
3422
3423 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
3424
3425 * config.host: Remove uclibc from arc target spec.
3426
3427 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3428
3429 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3430
3431 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3432
3433 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3434 (have_ieee_hw_p): Delete function.
3435 (SW_OR_HW) Use __builtin_cpu_supports().
3436
3437 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3438
3439 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3440
3441 2017-07-03 Olivier Hainque <hainque@adacore.com>
3442
3443 * config/t-vxworks7: New file, really.
3444
3445 2017-06-28 Joseph Myers <joseph@codesourcery.com>
3446
3447 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3448 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3449 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3450 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3451 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3452 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3453 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3454 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3455 config/sh/linux-unwind.h (sh_fallback_frame_state),
3456 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3457 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3458 ucontext_t instead of struct ucontext.
3459
3460 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
3461
3462 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3463 (x86_64-wrs-vxworks7): Likewise.
3464
3465 2017-06-27 Olivier Hainque <hainque@adacore.com>
3466
3467 * config/t-vxworks7: New file.
3468 * config.host (*-*-vxworks7): Use it.
3469
3470 2017-06-22 Matt Turner <mattst88@gmail.com>
3471
3472 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3473 skylake case.
3474
3475 2017-06-21 Richard Biener <rguenther@suse.de>
3476
3477 PR gcov-profile/81080
3478 * configure.ac: Add AC_SYS_LARGEFILE.
3479 * libgcov.h: Include auto-target.h before tsystem.h to pick
3480 up _FILE_OFFSET_BITS which might differ for multilibs.
3481 * config.in: Regenerate.
3482 * configure: Likewise.
3483
3484 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
3485
3486 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3487
3488 2017-06-09 Martin Liska <mliska@suse.cz>
3489
3490 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3491 Reset __gcov_indirect_call_callee to NULL.
3492
3493 2017-06-08 Olivier Hainque <hainque@adacore.com>
3494
3495 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3496 the set of -I options, support for direct inclusions of net/uio.h
3497 by VxWorks header files via ioLib.h.
3498
3499 2017-06-07 Tony Reix <tony.reix@atos.net>
3500 Matthieu Sarter <matthieu.sarter.external@atos.net>
3501 David Edelsohn <dje.gcc@gmail.com>
3502
3503 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3504 unconditionally.
3505 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3506 AIX 7.2 support.
3507
3508 2017-06-02 Olivier Hainque <hainque@adacore.com>
3509
3510 * config/vxlib.c (__gthread_once): Add missing value to
3511 return statement.
3512
3513 2017-05-30 Olivier Hainque <hainque@adacore.com>
3514
3515 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3516 dollar sign before $(MULTIDIR).
3517
3518 2017-05-26 Richard Henderson <rth@redhat.com>
3519
3520 PR libgcc/80037
3521 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3522
3523 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3524
3525 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3526 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3527 * config/arm/unwind-arm.c: Implement the above.
3528
3529 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3530
3531 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3532 section for a non-executable stack.
3533
3534 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3535
3536 PR target/80600
3537 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3538
3539 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
3540
3541 * config.host: Add i386/t-msabi to i386/t-linux file list.
3542 * config/i386/i386-asm.h: New file.
3543 * config/i386/resms64.S: New file.
3544 * config/i386/resms64f.S: New file.
3545 * config/i386/resms64fx.S: New file.
3546 * config/i386/resms64x.S: New file.
3547 * config/i386/savms64.S: New file.
3548 * config/i386/savms64f.S: New file.
3549 * config/i386/t-msabi: New file.
3550
3551 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3552
3553 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3554 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3555
3556 2017-05-05 Joshua Conner <joshconner@google.com>
3557
3558 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3559 pc-relative indirect handling for fuchsia.
3560 * config/t-slibgcc-fuchsia: New file.
3561 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3562 x86_64-*-fuchsia*): Add definitions.
3563
3564 2017-04-19 Martin Liska <mliska@suse.cz>
3565
3566 PR gcov-profile/80435
3567 * Makefile.in: Install gcov.h.
3568 * gcov.h: New file.
3569 * libgcov.h: Use the header and make __gcov_flush publicly
3570 visible.
3571
3572 2017-04-18 Martin Liska <mliska@suse.cz>
3573
3574 PR gcov-profile/78783
3575 * libgcov-driver.c (gcov_get_filename): New function.
3576
3577 2017-04-07 Jeff Law <law@redhat.com>
3578
3579 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3580 target makefile fragment.
3581 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3582
3583 2017-04-07 Alan Modra <amodra@gmail.com>
3584
3585 PR target/45053
3586 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3587
3588 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
3589
3590 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3591
3592 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3593
3594 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3595
3596 2017-03-10 John Marino <gnugcc@marino.st>
3597
3598 * config/aarch64/freebsd-unwind.h: New file.
3599 * config.host: Add aarch64-*-freebsd unwinder.
3600
3601 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3602
3603 * config/rs6000/crtrestvr.s: Use .machine altivec.
3604 * config/rs6000/crtsavevr.s: Ditto.
3605
3606 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3607
3608 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3609 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3610 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3611 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3612 * configure: Regenerate.
3613 * config.in: Regenerate.
3614
3615 2017-03-02 Jonathan Yong <10walls@gmail.com>
3616
3617 * config/i386/gthr-win32.h: Define NOGDI before
3618 windows.h include to prevent w32api CC_NONE macro
3619 clash with libgfortran.
3620
3621 2017-03-02 Jonathan Yong <10walls@gmail.com>
3622
3623 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3624
3625 2017-02-16 Andrew Pinski <apinski@cavium.com>
3626
3627 * config/aarch64/value-unwind.h: New file.
3628 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3629 to tm_file.
3630
3631 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3632
3633 * config.host: Add RISC-V tuples.
3634 * config/riscv/atomic.c: New file.
3635 * config/riscv/crti.S: Likewise.
3636 * config/riscv/crtn.S: Likewise.
3637 * config/riscv/div.S: Likewise.
3638 * config/riscv/linux-unwind.h: Likewise.
3639 * config/riscv/muldi3.S: Likewise.
3640 * config/riscv/multi3.S: Likewise.
3641 * config/riscv/save-restore.S: Likewise.
3642 * config/riscv/sfp-machine.h: Likewise.
3643 * config/riscv/t-elf: Likewise.
3644 * config/riscv/t-elf32: Likewise.
3645 * config/riscv/t-elf64: Likewise.
3646 * config/riscv/t-softfp32: Likewise.
3647 * config/riscv/t-softfp64: Likewise.
3648
3649 2017-01-24 Jakub Jelinek <jakub@redhat.com>
3650
3651 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3652 /* FALLTHRU */ comments.
3653
3654 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3655
3656 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3657
3658 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3659
3660 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3661 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3662 DW_CFA_GNU_window_save for AArch64 and LP64.
3663
3664 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3665
3666 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3667
3668 2017-01-19 Jiong Wang <jiong.wang@arm.com>
3669
3670 * config/aarch64/aarch64-unwind.h: New file.
3671 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3672 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3673 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3674 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3675 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3676 (aarch64_post_extract_frame_addr): New function.
3677 (aarch64_post_frob_eh_handler_addr): New function.
3678 (aarch64_frob_update_context): New function.
3679 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3680 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3681 aarch64*-*-freebsd*):
3682 Initialize md_unwind_header to include aarch64-unwind.h.
3683 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3684 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3685 __aarch64__.
3686 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3687 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3688 (uw_frob_return_addr): New function.
3689 (uw_install_context): Use uw_frob_return_addr.
3690
3691 2017-01-17 Jakub Jelinek <jakub@redhat.com>
3692
3693 PR other/79046
3694 * configure.ac: Add GCC_BASE_VER.
3695 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3696 version from BASE-VER file.
3697 * configure: Regenerated.
3698
3699 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
3700
3701 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3702 libmul_f5.a): Filter archived prerequisites.
3703
3704 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3705
3706 * config/i386/cpuinfo.h (processor_features): Add
3707 FEATURE_AVX512VPOPCNTDQ.
3708 * config/i386/cpuinfo.c (get_available_features): Habdle new
3709 feature.
3710
3711 2017-01-04 Joseph Myers <joseph@codesourcery.com>
3712
3713 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3714 payload if [__mips_nan2008].
3715
3716 2017-01-04 Alan Modra <amodra@gmail.com>
3717
3718 * Makefile.in (configure_deps): Update.
3719 * configure: Regenerate.
3720
3721 2017-01-01 Jakub Jelinek <jakub@redhat.com>
3722
3723 Update copyright years.
3724
3725 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3726
3727 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3728 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3729 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3730
3731 2016-12-17 Matthias Klose <doko@ubuntu.com>
3732
3733 * config/arc/gmon: Remove empty directory.
3734
3735 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3736
3737 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3738 crtgend.
3739 (arc*-*-elf*): Likewise.
3740 * config/arc/t-arc: Remove old gmon lib targets.
3741 * config/arc/crtg.S: Remove.
3742 * config/arc/crtgend.S: Likewise.
3743 * config/arc/gmon/atomic.h: Likewise.
3744 * config/arc/gmon/auxreg.h: Likewise.
3745 * config/arc/gmon/dcache_linesz.S: Likewise.
3746 * config/arc/gmon/gmon.c: Likewise.
3747 * config/arc/gmon/machine-gmon.h: Likewise.
3748 * config/arc/gmon/mcount.c: Likewise.
3749 * config/arc/gmon/prof-freq-stub.S: Likewise.
3750 * config/arc/gmon/prof-freq.c: Likewise.
3751 * config/arc/gmon/profil.S: Likewise.
3752 * config/arc/gmon/sys/gmon.h: Likewise.
3753 * config/arc/gmon/sys/gmon_out.h: Likewise.
3754 * config/arc/t-arc-newlib: Likewise.
3755 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3756
3757 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3758
3759 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3760
3761 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3762
3763 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3764 R16 instead of push + pop.
3765 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3766
3767 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3768
3769 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3770 tmake_file.
3771
3772 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3773
3774 * config.host (arc*-*-linux-uclibc*): Use default extra
3775 objects. Include linux-android header.
3776 * config/arc/crti.S (_init): Declare symbol as function.
3777 (_fini): Likewise.
3778
3779 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3780
3781 PR fortran/78379
3782 * config/i386/cpuinfo.c: Move denums for processor vendors,
3783 processor type, processor subtypes and declaration of
3784 struct __processor_model into
3785 * config/i386/cpuinfo.h: New header file.
3786
3787 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3788 Thomas Preud'homme <thomas.preudhomme@arm.com>
3789
3790 * config/arm/cmse_nonsecure_call.S: New.
3791 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3792
3793 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3794 Thomas Preud'homme <thomas.preudhomme@arm.com>
3795
3796 * config/arm/t-arm (HAVE_CMSE): New.
3797 * config/arm/cmse.c: New.
3798
3799 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3800
3801 PR gcc/74748
3802 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3803 use generic linker version information on Blackfin.
3804
3805 PR gcc/74748
3806 * libgcc/mkmap-symver.awk: add support for skip_underscore
3807
3808 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3809 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3810
3811 PR target/67710
3812 * config/t-darwin: Default builds to 10.5 codegen.
3813
3814 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3815
3816 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3817 (_FP_NANSIGN_H): Likewise.
3818 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3819 (softfp_truncations): Add tfhf.
3820 (softfp_extras): Add required conversion functions.
3821
3822 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3823 Matthew Wahab <matthew.wahab@arm.com>
3824
3825 * config/arm/fp16.c (binary64): New.
3826 (__gnu_d2h_internal): New.
3827 (__gnu_d2h_ieee): New.
3828 (__gnu_d2h_alternative): New.
3829
3830 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3831 Matthew Wahab <matthew.wahab@arm.com>
3832
3833 * config/arm/fp16.c (struct format): New.
3834 (binary32): New.
3835 (__gnu_float2h_internal): New. Body moved from
3836 __gnu_f2h_internal and generalize.
3837 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3838 Call it with binary32.
3839
3840 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3841
3842 * soft-fp/extendhftf2.c: Update from glibc.
3843 * soft-fp/fixhfti.c: Likewise.
3844 * soft-fp/fixunshfti.c: Likewise.
3845 * soft-fp/floattihf.c: Likewise.
3846 * soft-fp/floatuntihf.c: Likewise.
3847 * soft-fp/half.h: Likewise.
3848 * soft-fp/trunctfhf2.c: Likewise.
3849
3850 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3851
3852 PR libgcc/77813
3853 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3854 __TMC_END__ behind a passthrough asm.
3855
3856 2016-11-18 Walter Lee <walt@tilera.com>
3857
3858 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3859
3860 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3861
3862 * config/i386/cpuinfo.c (processor_features): Add
3863 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3864
3865 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3866
3867 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3868 (__ARC_NORM__): Use instead ARC_OPTFPE.
3869 * config/arc/fp-hack.h: Likewise.
3870 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3871 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3872
3873 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3874
3875 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3876 * config/nvptx/mgomp.c: New file.
3877 * config/nvptx/t-nvptx: Add mgomp.c
3878
3879 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3880
3881 PR libgcc/68468
3882 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3883
3884 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3885
3886 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3887 of checking for cpus.
3888 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3889 (__modsi3, __clzsi2): Likewise.
3890
3891 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3892
3893 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3894 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3895 * config/i386/t-cpuinfo-static: New.
3896
3897 2016-11-03 Martin Liska <mliska@suse.cz>
3898
3899 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3900 (__gcov_time_profiler_atomic): Likewise.
3901
3902 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3903
3904 PR libgcc/78067
3905 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3906 count_leading_zeros.
3907
3908 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
3909
3910 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3911 * libgcc2.c (__divmoddi4): New function.
3912 * libgcc2.h (__divmoddi4): Declare.
3913 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3914 and __PFX_divmodti4.
3915
3916 2016-10-24 Florian Weimer <fweimer@redhat.com>
3917
3918 PR libgcc/78064
3919 * unwind-c.c: Include auto-target.h.
3920
3921 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
3922
3923 * config/pa/pa64-hpux-lib.h: New file.
3924 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3925 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3926 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3927 hppa*64*-*-hpux11*.
3928
3929 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3930
3931 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3932 definition.
3933 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3934 definition.
3935 * config/xtensa/t-windowed (LIB2ADDEH): Use
3936 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3937 or xtensa/t-linux.
3938
3939 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3940
3941 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3942 __ieee754_sqrt): New functions.
3943 (__divdf3): Add implementation with new FPU instructions under
3944 #if XCHAL_HAVE_DFP_DIV.
3945 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3946 __ieee754_sqrtf): New functions.
3947 (__divsf3): Add implementation with new FPU instructions under
3948 #if XCHAL_HAVE_FP_DIV.
3949 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3950 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3951
3952 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3953
3954 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3955 equivalent.
3956 * config/tilepro/atomic.c: Likewise and stop casting model to
3957 enum memmodel.
3958
3959 2016-10-10 Joseph Myers <joseph@codesourcery.com>
3960
3961 PR target/77586
3962 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3963 soft-fp.
3964
3965 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3966
3967 * config.host: Add support for aarch64-*-freebsd*.
3968
3969 2016-10-05 Andreas Schwab <schwab@suse.de>
3970
3971 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3972 (.section .init_array): Don't call __do_jv_register_classes.
3973 (.section .init): Likewise.
3974
3975 2016-10-04 Jakub Jelinek <jakub@redhat.com>
3976
3977 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3978 (__JCR_LIST__): Remove.
3979 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3980 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3981 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3982 * config/ia64/crtend.S (__JCR_END__): Remove.
3983 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3984 conditionals.
3985 (__JCR_LIST__, __JCR_END__): Remove.
3986 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3987 (__do_global_ctors_1): Likewise.
3988
3989 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3990
3991 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3992 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3993
3994 2016-09-27 Martin Liska <mliska@suse.cz>
3995
3996 PR gcov-profile/7970
3997 PR gcov-profile/16855
3998 PR gcov-profile/44779
3999 * libgcov-driver.c (__gcov_init): Do not register a atexit
4000 handler.
4001 (__gcov_exit): Rename from gcov_exit.
4002 * libgcov.h (__gcov_exit): Declare.
4003
4004 2016-09-27 Martin Liska <mliska@suse.cz>
4005
4006 PR bootstrap/77749
4007 * Makefile.in: Remove _gcov_merge_delta.
4008 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4009 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4010 * libgcov.h: Remove declaration of __gcov_merge_delta.
4011
4012 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4013
4014 * configure.ac: Do not create links, only substitute the filenames.
4015 * configure: Regenerate.
4016 * Makefile.in: Assign the substitution results to variables.
4017 (LIBGCC_LINKS): Define.
4018 (enable-execute-stack.c): New rule.
4019 (unwind.h): Likewise.
4020 (md-unwind-support.h): Likewise.
4021 (sfp-machine.h): Likewise.
4022 (gthr-default.h): Likewise.
4023 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4024 unwind.h as prerequisite of install-unwind_h-forbuild.
4025
4026 2016-09-16 Jakub Jelinek <jakub@redhat.com>
4027
4028 PR libgcc/71744
4029 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4030 is not the primary registry and atomics are available.
4031 (any_objects_registered): New variable.
4032 (__register_frame_info_bases, __register_frame_info_table_bases):
4033 Atomically store 1 to any_objects_registered after registering first
4034 unwind info.
4035 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4036
4037 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4038
4039 PR target/63250
4040 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4041 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4042 (HFtype): Likewise.
4043 (HCtype): Likewise.
4044 (__divhc3): Likewise.
4045 (__mulhc3): Likewise.
4046 * libgcc2.c: Support _mulhc3 and _divhc3.
4047
4048 2016-09-07 Joseph Myers <joseph@codesourcery.com>
4049
4050 PR libgcc/77519
4051 * libgcc2.c (NOTRUNC): Invert settings.
4052
4053 2016-09-06 Martin Liska <mliska@suse.cz>
4054
4055 PR gcov-profile/77378
4056 PR gcov-profile/77466
4057 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4058 conditionaly enable/disable *_atomic functions.
4059
4060 2016-08-26 Joseph Myers <joseph@codesourcery.com>
4061
4062 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4063 where not already enabled.
4064
4065 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4066
4067 * config/mips/linux-unwind.h: Use sys/syscall.h.
4068
4069 2016-08-16 Joseph Myers <joseph@codesourcery.com>
4070
4071 PR libgcc/77265
4072 * soft-fp/adddf3.c: Update from glibc.
4073 * soft-fp/addsf3.c: Likewise.
4074 * soft-fp/addtf3.c: Likewise.
4075 * soft-fp/divdf3.c: Likewise.
4076 * soft-fp/divsf3.c: Likewise.
4077 * soft-fp/divtf3.c: Likewise.
4078 * soft-fp/double.h: Likewise.
4079 * soft-fp/eqdf2.c: Likewise.
4080 * soft-fp/eqsf2.c: Likewise.
4081 * soft-fp/eqtf2.c: Likewise.
4082 * soft-fp/extenddftf2.c: Likewise.
4083 * soft-fp/extended.h: Likewise.
4084 * soft-fp/extendsfdf2.c: Likewise.
4085 * soft-fp/extendsftf2.c: Likewise.
4086 * soft-fp/extendxftf2.c: Likewise.
4087 * soft-fp/fixdfdi.c: Likewise.
4088 * soft-fp/fixdfsi.c: Likewise.
4089 * soft-fp/fixdfti.c: Likewise.
4090 * soft-fp/fixsfdi.c: Likewise.
4091 * soft-fp/fixsfsi.c: Likewise.
4092 * soft-fp/fixsfti.c: Likewise.
4093 * soft-fp/fixtfdi.c: Likewise.
4094 * soft-fp/fixtfsi.c: Likewise.
4095 * soft-fp/fixtfti.c: Likewise.
4096 * soft-fp/fixunsdfdi.c: Likewise.
4097 * soft-fp/fixunsdfsi.c: Likewise.
4098 * soft-fp/fixunsdfti.c: Likewise.
4099 * soft-fp/fixunssfdi.c: Likewise.
4100 * soft-fp/fixunssfsi.c: Likewise.
4101 * soft-fp/fixunssfti.c: Likewise.
4102 * soft-fp/fixunstfdi.c: Likewise.
4103 * soft-fp/fixunstfsi.c: Likewise.
4104 * soft-fp/fixunstfti.c: Likewise.
4105 * soft-fp/floatdidf.c: Likewise.
4106 * soft-fp/floatdisf.c: Likewise.
4107 * soft-fp/floatditf.c: Likewise.
4108 * soft-fp/floatsidf.c: Likewise.
4109 * soft-fp/floatsisf.c: Likewise.
4110 * soft-fp/floatsitf.c: Likewise.
4111 * soft-fp/floattidf.c: Likewise.
4112 * soft-fp/floattisf.c: Likewise.
4113 * soft-fp/floattitf.c: Likewise.
4114 * soft-fp/floatundidf.c: Likewise.
4115 * soft-fp/floatundisf.c: Likewise.
4116 * soft-fp/floatunditf.c: Likewise.
4117 * soft-fp/floatunsidf.c: Likewise.
4118 * soft-fp/floatunsisf.c: Likewise.
4119 * soft-fp/floatunsitf.c: Likewise.
4120 * soft-fp/floatuntidf.c: Likewise.
4121 * soft-fp/floatuntisf.c: Likewise.
4122 * soft-fp/floatuntitf.c: Likewise.
4123 * soft-fp/gedf2.c: Likewise.
4124 * soft-fp/gesf2.c: Likewise.
4125 * soft-fp/getf2.c: Likewise.
4126 * soft-fp/ledf2.c: Likewise.
4127 * soft-fp/lesf2.c: Likewise.
4128 * soft-fp/letf2.c: Likewise.
4129 * soft-fp/muldf3.c: Likewise.
4130 * soft-fp/mulsf3.c: Likewise.
4131 * soft-fp/multf3.c: Likewise.
4132 * soft-fp/negdf2.c: Likewise.
4133 * soft-fp/negsf2.c: Likewise.
4134 * soft-fp/negtf2.c: Likewise.
4135 * soft-fp/op-1.h: Likewise.
4136 * soft-fp/op-2.h: Likewise.
4137 * soft-fp/op-4.h: Likewise.
4138 * soft-fp/op-8.h: Likewise.
4139 * soft-fp/op-common.h: Likewise.
4140 * soft-fp/quad.h: Likewise.
4141 * soft-fp/single.h: Likewise.
4142 * soft-fp/soft-fp.h: Likewise.
4143 * soft-fp/subdf3.c: Likewise.
4144 * soft-fp/subsf3.c: Likewise.
4145 * soft-fp/subtf3.c: Likewise.
4146 * soft-fp/truncdfsf2.c: Likewise.
4147 * soft-fp/trunctfdf2.c: Likewise.
4148 * soft-fp/trunctfsf2.c: Likewise.
4149 * soft-fp/trunctfxf2.c: Likewise.
4150 * soft-fp/unorddf2.c: Likewise.
4151 * soft-fp/unordsf2.c: Likewise.
4152 * soft-fp/unordtf2.c: Likewise.
4153
4154 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4155
4156 PR gcov-profile/67097
4157 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4158
4159 2016-08-10 Martin Liska <mliska@suse.cz>
4160
4161 PR gcov-profile/58306
4162 * Makefile.in: New functions (modules) are added.
4163 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4164 function.
4165 (__gcov_pow2_profiler_atomic): New function.
4166 (__gcov_one_value_profiler_body): New argument is instroduced.
4167 (__gcov_one_value_profiler): Call with the new argument.
4168 (__gcov_one_value_profiler_atomic): Likewise.
4169 (__gcov_indirect_call_profiler_v2): Likewise.
4170 (__gcov_time_profiler_atomic): New function.
4171 (__gcov_average_profiler_atomic): Likewise.
4172 (__gcov_ior_profiler_atomic): Likewise.
4173 * libgcov.h: Declare the aforementioned functions.
4174
4175 2016-08-09 Martin Liska <mliska@suse.cz>
4176
4177 * libgcov-util.c: Fix typo and GNU coding style.
4178
4179 2016-08-09 Martin Liska <mliska@suse.cz>
4180
4181 * Makefile.in: Remove __gcov_indirect_call_profiler.
4182 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4183 function.
4184 * libgcov.h: And the declaration of the function.
4185
4186 2016-08-09 Martin Liska <mliska@suse.cz>
4187
4188 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4189 power of two.
4190
4191 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4192
4193 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4194 * config/rs6000/_mulkc3.c: Likewise.
4195
4196 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
4197
4198 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4199 zero_reg as previous call to __umulhisi3 already cleared it.
4200
4201 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4202
4203 PR target/59833
4204 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4205
4206 2016-07-19 Nick Clifton <nickc@redhat.com>
4207
4208 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4209 Add crtinit.o and crtfini.o to extra_parts.
4210
4211 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4212
4213 * config/rs6000/_divkc3.c: New.
4214 * config/rs6000/_mulkc3.c: New.
4215 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4216 and _divkc3.
4217 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4218 fp128_ppc_funcs.
4219
4220 2016-07-11 Hale Wang <hale.wang@arm.com>
4221 Andre Vieira <andre.simoesdiasvieira@arm.com>
4222
4223 * config/arm/lib1funcs.S: Add new wrapper.
4224
4225 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4226
4227 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4228
4229 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4230
4231 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4232 and ARMv5t* rather than for a fixed list of architectures.
4233
4234 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4235
4236 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4237 implementation suitable for.
4238 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4239 for all Thumb-1 only targets.
4240 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4241 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4242 __ARM_ARCH_6M__.
4243 (EQUIV): Likewise.
4244 (ARM_FUNC_ALIAS): Likewise.
4245 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4246 version.
4247 (modsi3): Likewise.
4248 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4249 (clzdi2): Likewise.
4250 (ctzsi2): Likewise.
4251 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4252 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4253 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4254 __ARM_ARCH_6M__ and add comment to indicate the connection between
4255 this condition and the one in gcc/config/arm/elf.h.
4256 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4257 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4258 * config/arm/t-softfp: Likewise.
4259
4260 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4261
4262 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4263 CTOR_LISTS_DEFINED_EXTERNALLY.
4264
4265 2016-06-28 Walter Lee <walt@tilera.com>
4266
4267 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4268 asm/unistd.h.
4269 (SPR_CMPEXCH_VALUE): Define for tilegx.
4270 (__NR_FAST_cmpxchg): Define for tilepro.
4271 (__NR_FAST_atomic_update): Define for tilepro.
4272 (__NR_FAST_cmpxchg64): Define for tilepro.
4273
4274 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4275
4276 * config.host: Add suport for arm*-*-phoenix* targets.
4277
4278 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4279
4280 * config.host: Remove support for mep-*.
4281 * config/mep/lib1funcs.S: Remove.
4282 * config/mep/lib2funcs.c: Remove.
4283 * config/mep/t-mep: Remove.
4284 * config/mep/tramp.c: Remove.
4285
4286 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4287
4288 * config.host: Remove support for avr-rtems.
4289 * config/avr/t-rtems: Remove.
4290
4291 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4292
4293 * config.host: Remove m32r-rtems support.
4294
4295 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4296
4297 * config.host: Remove h8300-rtems support.
4298
4299 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4300
4301 * config.host: Remove support for knetbsd.
4302
4303 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4304
4305 * config.host: Remove support for openbsd 2 and 3.
4306
4307 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4308
4309 * config.host: Remove interix support.
4310 * config/i386/t-interix: Remove.
4311
4312 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
4313
4314 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4315 least-significant bit in function pointer for fixup.
4316
4317 2016-06-05 Aaron Conole <aconole@redhat.com>
4318 Nathan Sidwell <nathan@acm.org>
4319
4320 PR libgcc/71400
4321 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4322 (get_gcov_error_file): Check __gcov_error_file before trying to
4323 initialize it.
4324 (gcov_error): Always use get_gcov_error_file.
4325
4326 2016-06-02 Aaron Conole <aconole@redhat.com>
4327
4328 * libgcov-driver-system.c (__gcov_error_file): New.
4329 (get_gcov_error_file): New.
4330 (gcov_error): Use and set __gcov_error_file.
4331 (gcov_error_exit): New.
4332 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4333
4334 2016-05-26 Nathan Sidwell <nathan@acm.org>
4335
4336 * config/nvptx/free.asm: Delete.
4337 * config/nvptx/malloc.asm: Delete.
4338 * config/nvptx/realloc.c: Delete.
4339 * t-nvptx: Update.
4340
4341 2016-05-25 Nathan Sidwell <nathan@acm.org>
4342
4343 * config/nvptx/crt0.s: Delete.
4344 * config/nvptx/crt0.c: New.
4345 * t-nvptx: Update.
4346
4347 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4348
4349 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4350 dw2/seh configuration.
4351 [x86_64-*-mingw*]: Likewise.
4352
4353 2016-05-10 Joel Sherrill <joel@rtems.org>
4354
4355 PR libgcc/70720
4356 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4357 targets so the same extra_parts are built. Also have tmake_file add
4358 on to its value rather than override.
4359
4360 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4361
4362 * config.host: Remove SH5 support.
4363 * configure: Likewise.
4364
4365 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4366
4367 * config/sh/crt1.S: Remove SH5 support.
4368 * config/sh/crti.S: Likewise.
4369 * config/sh/crtn.S: Likewise.
4370 * config/sh/lib1funcs-4-300.S: Likewise.
4371 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4372 * config/sh/lib1funcs.S: Likewise.
4373 * config/sh/linux-unwind.h: Likewise.
4374 * config/sh/t-sh64: Delete.
4375
4376 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4377
4378 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4379
4380 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4381 Joern Rennecke <joern.rennecke@embecosm.com>
4382
4383 * config/arc/crttls.S: New file.
4384 * config/arc/t-arc: New rule.
4385 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4386
4387 2016-04-25 Nick Clifton <nickc@redhat.com>
4388
4389 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4390 (__mspabi_cmpd): Likewise.
4391 * config/msp430/floathidf.c (__floathidf): Likewise.
4392 * config/msp430/floathisf.c (__floathisf): Likewise
4393 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4394 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4395 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4396 second parameter.
4397 (__ashrsi3): Likewise.
4398
4399 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4400
4401 * config/m68k/linux-atomic.c: Do not include unistd.h
4402
4403 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4404
4405 * config/arm/ieee754-df.S: Fix typos in comments.
4406
4407 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4408
4409 PR target/70381
4410 * configure.ac (powerpc*-*-linux*): Rework tests to build
4411 __float128 emulation routines to not depend on using #pragma GCC
4412 target to enable -mfloat128.
4413 * configure: Regnerate.
4414
4415 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4416
4417 PR target/67172
4418 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4419 __MINGW32__ is defined.
4420
4421 2016-03-28 James Bowman <james.bowman@ftdichip.com>
4422
4423 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4424
4425 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4426
4427 PR libgcc/70363
4428 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4429 built with an assembler that does not support ISA 3.0
4430 instructions, rename __extendkftf2_sw to __extendkftf2.
4431
4432 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4433
4434 PR target/38239
4435 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4436 call-clobbered registers.
4437 (internal_mcount): Remove __i386__ handling.
4438
4439 2016-02-26 Joel Sherrill <joel@rtems.org>
4440
4441 * config.host: Add x86_64-*-rtems*.
4442
4443 2016-02-26 Joel Sherrill <joel@rtems.org>
4444
4445 * libgcc/config.host: Add aarch64-*-rtems*.
4446
4447 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4448 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4449
4450 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4451 union of u64 and double.
4452 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4453 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4454 value.
4455 (FP_ROUNDMODE): Update the usage of _fpscr.
4456
4457 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4458
4459 PR driver/68463
4460 * Makefile.in (crtoffloadtable$(objext)): New rule.
4461 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4462 enable_offload_targets is not empty.
4463 * configure: Regenerate.
4464 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4465 crtoffloadtable.
4466
4467 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4468
4469 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4470 .literal_position before the function.
4471 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4472 Likewise.
4473
4474 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4475
4476 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4477 * config/s390/morestack.S: New file.
4478 * config/s390/t-stack-s390: New file.
4479 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4480
4481 2016-02-12 Walter Lee <walt@tilera.com>
4482
4483 * config.host (tilegx*-*-linux*): remove ti from
4484 softfp_int_modes for 32-bit configs.
4485
4486 2016-02-10 Ian Lance Taylor <iant@google.com>
4487
4488 PR go/68562
4489 * config/i386/morestack.S (__stack_split_initialize): Align
4490 stack.
4491
4492 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4493
4494 PR bootstrap/69611
4495 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4496 __FLOAT128__ to compile only for __float128 capable targets.
4497
4498 2016-01-25 Jakub Jelinek <jakub@redhat.com>
4499
4500 PR target/69444
4501 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4502 instead of ___NO_FPRS__.
4503
4504 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
4505 Steven Munroe <munroesj@linux.vnet.ibm.com>
4506 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4507
4508 * config/rs6000/float128-sed: New files to convert TF names to KF
4509 names for PowerPC IEEE 128-bit floating point support.
4510 * config/rs6000/float128-sed-hw: Likewise.
4511
4512 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4513 floating point hardware support.
4514
4515 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4516 128-bit floating point software emulation or use ISA 3.0 hardware
4517 support if it is available.
4518
4519 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4520 floating point.
4521
4522 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4523 floating point to IBM extended double.
4524
4525 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4526 double to IEEE 128-bit floating point.
4527
4528 * config/rs6000/t-float128: New Makefile fragments to enable
4529 building __float128 emulation support.
4530 * config/rs6000/t-float128-hw: Likewise.
4531
4532 * config/rs6000/sfp-exceptions.c: New file to provide exception
4533 support for IEEE 128-bit floating point.
4534
4535 * config/rs6000/floattikf.c: New files for converting between IEEE
4536 128-bit floating point and signed/unsigned 128-bit integers.
4537 * config/rs6000/fixunskfti.c: Likewise.
4538 * config/rs6000/fixkfti.c: Likewise.
4539 * config/rs6000/floatuntikf.c: Likewise.
4540
4541 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4542 when building on 64-bit systems, or when VSX is enabled.
4543 (_FP_W_TYPE): Likewise.
4544 (_FP_WS_TYPE): Likewise.
4545 (_FP_I_TYPE): Likewise.
4546 (TItype): Define on 64-bit systems.
4547 (UTItype): Likewise.
4548 (TI_BITS): Likewise.
4549 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4550 (_FP_MUL_MEAT_Q): Likewise.
4551 (_FP_DIV_MEAT_D): Likewise.
4552 (_FP_DIV_MEAT_Q): Likewise.
4553 (_FP_NANFRAC_D): Likewise.
4554 (_FP_NANFRAC_Q): Likewise.
4555 (ISA_BIT): Add exception support if we are being compiled on a
4556 machine with hardware floating point support to build the IEEE
4557 128-bit emulation functions.
4558 (FP_EX_INVALID): Likewise.
4559 (FP_EX_OVERFLOW): Likewise.
4560 (FP_EX_UNDERFLOW): Likewise.
4561 (FP_EX_DIVZERO): Likewise.
4562 (FP_EX_INEXACT): Likewise.
4563 (FP_EX_ALL): Likewise.
4564 (__sfp_handle_exceptions): Likewise.
4565 (FP_HANDLE_EXCEPTIONS): Likewise.
4566 (FP_RND_NEAREST): Likewise.
4567 (FP_RND_ZERO): Likewise.
4568 (FP_RND_PINF): Likewise.
4569 (FP_RND_MINF): Likewise.
4570 (FP_RND_MASK): Likewise.
4571 (_FP_DECL_EX): Likewise.
4572 (FP_INIT_ROUNDMODE): Likewise.
4573 (FP_ROUNDMODE): Likewise.
4574
4575 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4576 VSX code, enable IEEE 128-bit floating point. If the compiler can
4577 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4578 floating point hardware instructions and it supports declaring
4579 functions with the ifunc attribute, enable ifunc functions to
4580 switch between software and hardware support.
4581 * configure.ac (powerpc*-*-linux*): Likewise.
4582 * configure: Regenerate.
4583
4584 2016-01-15 Nick Clifton <nickc@redhat.com>
4585
4586 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4587 dependency as the source file to be compiled.
4588 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4589 (lib2hw_mul_f5.o): Likewise.
4590
4591 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4592
4593 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4594 * libgcc/config/rs6000/fixkfti.c: Likewise.
4595 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4596 * libgcc/config/rs6000/float128-hw.c: Likewise.
4597 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4598 * libgcc/config/rs6000/float128-sed: Likewise.
4599 * libgcc/config/rs6000/floattikf.c: Likewise.
4600 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4601 * libgcc/config/rs6000/quad-float128.h: Likewise.
4602 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4603 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4604 * libgcc/config/rs6000/t-float128: Likewise.
4605 * libgcc/config/rs6000/t-float128-hw: Likewise.
4606 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4607 * libgcc/config.host: Likewise.
4608 * libgcc/configure: Likewise.
4609 * libgcc/configure.ac: Likewise.
4610
4611 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4612 Steven Munroe <munroesj@linux.vnet.ibm.com>
4613 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4614
4615 * config/rs6000/sfp-exceptions.c: New file to provide exception
4616 support for IEEE 128-bit floating point.
4617
4618 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4619 floating point hardware support.
4620
4621 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4622 point conversions.
4623 * config/rs6000/fixunskfti.c: Likewise.
4624 * config/rs6000/fixkfti.c: Likewise.
4625 * config/rs6000/floatuntikf.c: Likewise.
4626 * config/rs6000/extendkftf2-sw.c: Likewise.
4627 * config/rs6000/trunctfkf2-sw.c: Likewise.
4628
4629 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4630 128-bit floating point software emulation or use ISA 3.0 hardware
4631 support if it is available.
4632
4633 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4634 floating point.
4635
4636 * config/rs6000/t-float128: New Makefile fragments to enable
4637 building __float128 emulation support.
4638 * config/rs6000/t-float128-hw: Likewise.
4639
4640 * config/rs6000/float128-sed: New file to convert TF names to KF
4641 names for PowerPC IEEE 128-bit floating point support.
4642
4643 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4644 when building on 64-bit systems, or when VSX is enabled.
4645 (_FP_W_TYPE): Likewise.
4646 (_FP_WS_TYPE): Likewise.
4647 (_FP_I_TYPE): Likewise.
4648 (TItype): Define on 64-bit systems.
4649 (UTItype): Likewise.
4650 (TI_BITS): Likewise.
4651 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4652 (_FP_MUL_MEAT_Q): Likewise.
4653 (_FP_DIV_MEAT_D): Likewise.
4654 (_FP_DIV_MEAT_Q): Likewise.
4655 (_FP_NANFRAC_D): Likewise.
4656 (_FP_NANFRAC_Q): Likewise.
4657 (ISA_BIT): Add exception support if we are being compiled on a
4658 machine with hardware floating point support to build the IEEE
4659 128-bit emulation functions.
4660 (FP_EX_INVALID): Likewise.
4661 (FP_EX_OVERFLOW): Likewise.
4662 (FP_EX_UNDERFLOW): Likewise.
4663 (FP_EX_DIVZERO): Likewise.
4664 (FP_EX_INEXACT): Likewise.
4665 (FP_EX_ALL): Likewise.
4666 (__sfp_handle_exceptions): Likewise.
4667 (FP_HANDLE_EXCEPTIONS): Likewise.
4668 (FP_RND_NEAREST): Likewise.
4669 (FP_RND_ZERO): Likewise.
4670 (FP_RND_PINF): Likewise.
4671 (FP_RND_MINF): Likewise.
4672 (FP_RND_MASK): Likewise.
4673 (_FP_DECL_EX): Likewise.
4674 (FP_INIT_ROUNDMODE): Likewise.
4675 (FP_ROUNDMODE): Likewise.
4676
4677 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4678 compiler can do __float128.
4679 * configure: Regenerate.
4680
4681 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4682 VSX code, enable IEEE 128-bit floating point.
4683
4684 2016-01-05 Olivier Hainque <hainque@adacore.com>
4685
4686 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4687 specificities.
4688
4689 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4690
4691 Update copyright years.
4692
4693 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4694
4695 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4696 soft-fp targets.
4697
4698 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4699
4700 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4701 instead of abort to avoid dependency on stdlib.h.
4702
4703 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
4704
4705 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4706 to initialize call to __dl_fixup once.
4707
4708 2015-12-04 Nick Clifton <nickc@redhat.com>
4709
4710 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4711 Allow for the second argument being negative.
4712 * config.host (extra_parts): Define for MSP430. Create separate
4713 libraries for each of the hardware multiply formats.
4714 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4715 that are needed.
4716 * config/msp430/lib2mul.c: Likewise.
4717 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4718 Add rules to build hardware multiply libraries.
4719 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4720 __mspabi_divul function.
4721 (__mspabi_divllu): New stub function.
4722
4723 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
4724
4725 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4726 fixup values if saved GOT address doesn't match runtime address.
4727 (fixup_branch_offset): Reorder list.
4728
4729 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4730
4731 * Makefile.in (VTV_CFLAGS): New variable.
4732 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4733 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4734 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4735 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4736 to extra_parts if $enable_vtable_verify = yes.
4737
4738 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4739
4740 PR target/68059
4741 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4742 (write): ...this and fix the return type.
4743
4744 2015-11-19 DJ Delorie <dj@redhat.com>
4745
4746 * config/msp430/lib2hw_mul.S: Fix alignment.
4747
4748 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4749
4750 * config/nvptx/reduction.c: New.
4751 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4752
4753 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
4754
4755 * config/rs6000/on_exit.c: New file.
4756 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4757 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4758
4759 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4760
4761 * config/arc/dp-hack.h: Add support for ARCHS.
4762 * config/arc/ieee-754/divdf3.S: Likewise.
4763 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4764 * config/arc/ieee-754/muldf3.S: Likewise.
4765 * config/arc/ieee-754/mulsf3.S: Likewise
4766 * config/arc/lib1funcs.S: Likewise
4767 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4768 for ARCv2 cores.
4769 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4770 for ARCv2 cores.
4771 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4772 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4773 cores.
4774
4775 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4776
4777 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4778 value.
4779 * config/ia64/crtend.S: Likewise.
4780
4781 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4782
4783 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4784 __CHAR_BIT__ instead of BITS_PER_UNIT.
4785 * fixed-bit.h: Likewise.
4786 * fp-bit.h: Likewise.
4787 * libgcc2.c (__popcountSI2): Likewise.
4788 (__popcountDI2): Likewise.
4789 * libgcc2.h: Likewise.
4790 * libgcov.h: Likewise.
4791
4792 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4793
4794 * config/rs6000/atexit.c: New file.
4795 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4796 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4797 * config/rs6000/cxa_finalize.c
4798 (catomic_compare_and_exchange_bool_acq): Negate return value.
4799
4800 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4801
4802 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4803 (processor_subtypes): Add znver1.
4804 (get_amd_cpu): Detect znver1.
4805
4806 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4807
4808 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4809 Include crtfastmath.o.
4810
4811 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4812
4813 PR libgcc/66883
4814 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4815
4816 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4817
4818 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4819 * config/rl78/divmodsi.S: Update return register to r8.
4820 * config/rl78/divmodhi.S: Update return register to r8,r9.
4821 Branch to main_loop_done_himode to pop registers before return.
4822
4823 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4824
4825 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4826 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4827
4828 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4829
4830 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4831
4832 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4833
4834 * config.host (xtensa*-*-uclinux*): New configuration.
4835
4836 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4837
4838 * config/i386/cpuinfo.c (processor_features): Add
4839 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4840
4841 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4842
4843 * soft-fp/adddf3.c: Update from glibc.
4844 * soft-fp/addsf3.c: Likewise.
4845 * soft-fp/addtf3.c: Likewise.
4846 * soft-fp/divdf3.c: Likewise.
4847 * soft-fp/divsf3.c: Likewise.
4848 * soft-fp/divtf3.c: Likewise.
4849 * soft-fp/double.h: Likewise.
4850 * soft-fp/eqdf2.c: Likewise.
4851 * soft-fp/eqsf2.c: Likewise.
4852 * soft-fp/eqtf2.c: Likewise.
4853 * soft-fp/extenddftf2.c: Likewise.
4854 * soft-fp/extended.h: Likewise.
4855 * soft-fp/extendsfdf2.c: Likewise.
4856 * soft-fp/extendsftf2.c: Likewise.
4857 * soft-fp/extendxftf2.c: Likewise.
4858 * soft-fp/fixdfdi.c: Likewise.
4859 * soft-fp/fixdfsi.c: Likewise.
4860 * soft-fp/fixdfti.c: Likewise.
4861 * soft-fp/fixsfdi.c: Likewise.
4862 * soft-fp/fixsfsi.c: Likewise.
4863 * soft-fp/fixsfti.c: Likewise.
4864 * soft-fp/fixtfdi.c: Likewise.
4865 * soft-fp/fixtfsi.c: Likewise.
4866 * soft-fp/fixtfti.c: Likewise.
4867 * soft-fp/fixunsdfdi.c: Likewise.
4868 * soft-fp/fixunsdfsi.c: Likewise.
4869 * soft-fp/fixunsdfti.c: Likewise.
4870 * soft-fp/fixunssfdi.c: Likewise.
4871 * soft-fp/fixunssfsi.c: Likewise.
4872 * soft-fp/fixunssfti.c: Likewise.
4873 * soft-fp/fixunstfdi.c: Likewise.
4874 * soft-fp/fixunstfsi.c: Likewise.
4875 * soft-fp/fixunstfti.c: Likewise.
4876 * soft-fp/floatdidf.c: Likewise.
4877 * soft-fp/floatdisf.c: Likewise.
4878 * soft-fp/floatditf.c: Likewise.
4879 * soft-fp/floatsidf.c: Likewise.
4880 * soft-fp/floatsisf.c: Likewise.
4881 * soft-fp/floatsitf.c: Likewise.
4882 * soft-fp/floattidf.c: Likewise.
4883 * soft-fp/floattisf.c: Likewise.
4884 * soft-fp/floattitf.c: Likewise.
4885 * soft-fp/floatundidf.c: Likewise.
4886 * soft-fp/floatundisf.c: Likewise.
4887 * soft-fp/floatunditf.c: Likewise.
4888 * soft-fp/floatunsidf.c: Likewise.
4889 * soft-fp/floatunsisf.c: Likewise.
4890 * soft-fp/floatunsitf.c: Likewise.
4891 * soft-fp/floatuntidf.c: Likewise.
4892 * soft-fp/floatuntisf.c: Likewise.
4893 * soft-fp/floatuntitf.c: Likewise.
4894 * soft-fp/gedf2.c: Likewise.
4895 * soft-fp/gesf2.c: Likewise.
4896 * soft-fp/getf2.c: Likewise.
4897 * soft-fp/ledf2.c: Likewise.
4898 * soft-fp/lesf2.c: Likewise.
4899 * soft-fp/letf2.c: Likewise.
4900 * soft-fp/muldf3.c: Likewise.
4901 * soft-fp/mulsf3.c: Likewise.
4902 * soft-fp/multf3.c: Likewise.
4903 * soft-fp/negdf2.c: Likewise.
4904 * soft-fp/negsf2.c: Likewise.
4905 * soft-fp/negtf2.c: Likewise.
4906 * soft-fp/op-1.h: Likewise.
4907 * soft-fp/op-2.h: Likewise.
4908 * soft-fp/op-4.h: Likewise.
4909 * soft-fp/op-8.h: Likewise.
4910 * soft-fp/op-common.h: Likewise.
4911 * soft-fp/quad.h: Likewise.
4912 * soft-fp/single.h: Likewise.
4913 * soft-fp/soft-fp.h: Likewise.
4914 * soft-fp/subdf3.c: Likewise.
4915 * soft-fp/subsf3.c: Likewise.
4916 * soft-fp/subtf3.c: Likewise.
4917 * soft-fp/truncdfsf2.c: Likewise.
4918 * soft-fp/trunctfdf2.c: Likewise.
4919 * soft-fp/trunctfsf2.c: Likewise.
4920 * soft-fp/trunctfxf2.c: Likewise.
4921 * soft-fp/unorddf2.c: Likewise.
4922 * soft-fp/unordsf2.c: Likewise.
4923 * soft-fp/unordtf2.c: Likewise.
4924
4925 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
4926
4927 PR libgcc/67624
4928 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4929
4930 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4931
4932 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4933 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4934 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4935 messages.
4936 (internal_mcount): Likewise.
4937 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4938 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4939
4940 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4941
4942 * configure.ac (libgcc_cv_solaris_crts): New test.
4943 * configure: Regenerate.
4944 * config.in: Regenerate.
4945 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4946 * config/gmon-sol2.c: Rename to ...
4947 * config/sol2/gmon.c: ... this.
4948 Include auto-target.h.
4949 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4950 * config/t-sol2: Rename to ...
4951 * config/sol2/t-sol2: ... this.
4952 (gmon.o): Reflect renaming.
4953 (crtp.o, crtpg.o): New rules.
4954 * config.host (*-*-solaris2*): Reflect renaming.
4955 Use system CRTs if present.
4956 Remove default CRT case.
4957
4958 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
4959
4960 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4961 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4962 __kernel_cmpxchg2.
4963 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4964 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4965 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4966 (__sync_lock_test_and_set_##WIDTH): Likewise.
4967 (__sync_lock_release_##WIDTH): Likewise.
4968 (__sync_fetch_and_##OP##_4): Change result to match type of
4969 __kernel_cmpxchg.
4970 (__sync_##OP##_and_fetch_4): Likewise.
4971 (__sync_val_compare_and_swap_4): Likewise.
4972 (__sync_bool_compare_and_swap_4): likewise.
4973 (__sync_lock_test_and_set_4): Likewise.
4974 (__sync_lock_release_4): Likewise.
4975 (FETCH_AND_OP_2): Add long long variants.
4976 (OP_AND_FETCH_2): Likewise.
4977 (COMPARE_AND_SWAP_2 ): Likewise.
4978 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4979 (SYNC_LOCK_RELEASE_2): Likewise.
4980 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4981
4982 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4983
4984 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4985 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4986 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4987 (get_available_features): Habdle new features.
4988
4989 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4990
4991 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4992 memory layout. Deal correctly with BSS region larger than 32K.
4993 Handle a watchdog reset like a power-on reset. Clean up unused
4994 code.
4995
4996 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4997 David Edelsohn <dje.gcc@gmail.com>
4998
4999 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5000 * config/rs6000/crtdbase.S: New file.
5001 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5002
5003 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5004
5005 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5006 Add support for call0 ABI.
5007
5008 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
5009
5010 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5011
5012 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5013
5014 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5015 (__GTHREAD_HAS_COND): Likewise.
5016 (__gthread_t): Likewise.
5017 (__gthread_cond_t): Likewise.
5018 (__gthread_time_t): Likewise.
5019 (__GTHREAD_MUTEX_INIT): Likewise.
5020 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5021 (__GTHREAD_COND_INIT): Likewise.
5022 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5023 (__GTHREAD_TIME_INIT): Likewise.
5024 (__gthread_create): Likewise.
5025 (__gthread_join): Likewise.
5026 (__gthread_detach): Likewise.
5027 (__gthread_equal): Likewise.
5028 (__gthread_self): Likewise.
5029 (__gthread_yield): Likewise.
5030 (__gthread_cond_broadcast): Likewise.
5031 (__gthread_cond_signal): Likewise.
5032 (__gthread_cond_wait): Likewise.
5033 (__gthread_cond_timedwait): Likewise.
5034 (__gthread_cond_wait_recursive): Likewise.
5035 (__gthread_cond_destroy): Likewise.
5036 (rtems_gxx_once): Delete.
5037 (rtems_gxx_key_create): Likewise.
5038 (rtems_gxx_key_delete): Likewise.
5039 (rtems_gxx_getspecific): Likewise.
5040 (rtems_gxx_setspecific): Likewise.
5041 (rtems_gxx_mutex_init): Likewise.
5042 (rtems_gxx_mutex_destroy): Likewise.
5043 (rtems_gxx_mutex_lock): Likewise.
5044 (rtems_gxx_mutex_trylock): Likewise.
5045 (rtems_gxx_mutex_unlock): Likewise.
5046 (rtems_gxx_recursive_mutex_init): Likewise.
5047 (rtems_gxx_recursive_mutex_lock): Likewise.
5048 (rtems_gxx_recursive_mutex_trylock): Likewise.
5049 (rtems_gxx_recursive_mutex_unlock): Likewise.
5050 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5051 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5052 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5053 (__gthread_once): Likewise.
5054 (__gthread_key_create): Likewise.
5055 (__gthread_key_delete): Likewise.
5056 (__gthread_getspecific): Likewise.
5057 (__gthread_setspecific): Likewise.
5058 (__gthread_key_t): Use <pthread.h> type.
5059 (__gthread_once_t): Likewise
5060 (__gthread_mutex_t): Use <sys/lock.h> type.
5061 (__gthread_recursive_mutex_t): Likewise
5062 (__gthread_mutex_lock): Use <sys/lock.h> function.
5063 (__gthread_mutex_trylock): Likewise.
5064 (__gthread_mutex_timedlock): Likewise.
5065 (__gthread_mutex_unlock): Likewise.
5066 (__gthread_mutex_destroy): Likewise.
5067 (__gthread_recursive_mutex_lock): Likewise.
5068 (__gthread_recursive_mutex_trylock): Likewise.
5069 (__gthread_recursive_mutex_timedlock): Likewise.
5070 (__gthread_recursive_mutex_unlock): Likewise.
5071 (__gthread_recursive_mutex_destroy): Likewise.
5072
5073 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5074
5075 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5076 context->sp instead of context->cfa.
5077
5078 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5079
5080 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5081 with unwind-dw2-fde-dip.
5082
5083 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5084
5085 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5086 CALL12 followed by series of ENTRY to spill windowed registers.
5087 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5088 instead of making linux spill syscall.
5089
5090 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5091
5092 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5093 (get_intel_cpu): Likewise.
5094
5095 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5096
5097 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5098 (get_intel_cpu): Add Knights Landing support.
5099
5100 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
5101
5102 PR target/66954
5103 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5104 (get_available_features): Handle FEATURE_PCLMUL.
5105
5106 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5107
5108 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5109 Broadwell.
5110
5111 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
5112
5113 PR target/66954
5114 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5115 (get_available_features): Handle FEATURE_AES.
5116
5117 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5118
5119 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5120 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5121
5122 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5123
5124 * offloadstuff.c: Constify host data.
5125
5126 2015-07-17 Jan Beulich <jbeulich@suse.com>
5127
5128 * config/t-softfp: Split up "else ifneq".
5129
5130 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5131 Cesar Philippidis <cesar@codesourcery.com>
5132 Chung-Lin Tang <cltang@codesourcery.com>
5133
5134 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5135 for __nios2_arch__ level.
5136
5137 2015-07-13 John Marino <gnugcc@marino.st>
5138
5139 * config/i386/t-dragonfly: New.
5140
5141 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
5142
5143 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5144 better match light-weight syscall argument order.
5145 (__kernel_cmpxchg2): Likewise.
5146 Adjust callers.
5147
5148 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5149
5150 * config.host: Support i[34567]86-*-elfiamcu target.
5151 * config/t-softfp-sfdftf: New file.
5152 * config/i386/32/t-iamcu: Likewise.
5153 * configure: Regenerated.
5154
5155 2015-06-23 James Lemke <jwlemke@codesourcery.com>
5156
5157 libgcc/config/arm/
5158 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5159
5160 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5161
5162 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5163
5164 2015-05-27 John Marino <gnugcc@marino.st>
5165
5166 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5167 md_unwind_header
5168 * config/i386/freebsd-unwind.h: New.
5169
5170 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
5171
5172 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5173 i386/t-crtfm to tmake_file.
5174 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5175 (set_fast_math): Use set_fast_math_sse for SSE targets.
5176 * config/i386/t-crtfm: Remove.
5177
5178 2015-05-21 Alan Modra <amodra@gmail.com>
5179
5180 PR libgcc/66225
5181 * config/rs6000/morestack.S: Remove ".abiversion 1".
5182
5183 2015-05-20 Alan Modra <amodra@gmail.com>
5184
5185 * config/rs6000/morestack.S: New.
5186 * config/rs6000/t-stack-rs6000: New.
5187 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5188 to tmake_file.
5189 * generic-morestack.c: Don't build for powerpc 32-bit.
5190
5191 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5192
5193 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5194 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5195
5196 2015-05-16 James Bowman <james.bowman@ftdichip.com>
5197
5198 * config.host: FT32 target added.
5199 * config/ft32/*: New files for FT32 target.
5200
5201 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5202
5203 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5204 New macros.
5205 * config/arm/ieee754-df.S: Add CFI directives.
5206 * config/arm/ieee754-sf.S: Add CFI directives.
5207
5208 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5209
5210 * configure.ac: Include config/sjlj.m4.
5211 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5212 * config.in: Regenerate.
5213 * configure: Likewise.
5214 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5215
5216 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
5217
5218 * libgcov-util.c: Add space between string literal and macro name.
5219
5220 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5221 Chris Jones <chrisj@nvidia.com>
5222 Joshua Conner <jconner@nvidia.com>
5223
5224 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5225 (arm*-*-uclinux*): Likewise.
5226 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5227 * config/arm/crtfastmath.c: New file.
5228
5229 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5230
5231 * Makefile.in (real_host_noncanonical): New variable.
5232 (libsubdir): Use it.
5233 * configure.ac (real_host_noncanonical): Compute. Remove special
5234 case for intelmicemul.
5235 * configure: Regenerate.
5236
5237 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5238
5239 * config/frv/elf-lib.h: New file.
5240 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5241 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5242 to tm_file.
5243
5244 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
5245
5246 * config/frv/frvbengin.c: Do not include defaults.h
5247 * config/frv/frvend.c: Ditto.
5248
5249 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5250
5251 * config.host: Add h8300-*-linux
5252 * config/h8300/t-linux: New file.
5253 * config/h8300/lib1funs.s: Change symbol prefix.
5254 * config/h8300/sfp-machine.h: 64bit double support.
5255
5256 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5257 Szabolcs Nagy <szabolcs.nagy@arm.com>
5258
5259 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5260 Linux if target provides dl_iterate_phdr.
5261
5262 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5263
5264 PR target/65612
5265 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5266 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5267 (__cpu_indicator_init@GCC_4.8.0): New.
5268 (__cpu_model@GCC_4.8.0): Likewise.
5269 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5270 -DUSE_ELF_SYMVER.
5271
5272 2015-04-16 Nick Clifton <nickc@redhat.com>
5273
5274 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5275 and __modhi3 functions.
5276 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5277 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5278
5279 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5280
5281 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5282 do-while loop as macro body to avoid warnings.
5283
5284 2015-04-10 Jakub Jelinek <jakub@redhat.com>
5285 Iain Sandoe <iain@codesourcery.com>
5286
5287 PR target/65351
5288 * configure: Regenerate.
5289
5290 2015-04-07 Jakub Jelinek <jakub@redhat.com>
5291 Iain Sandoe <iain@codesourcery.com>
5292
5293 PR target/65351
5294 * configure: Regenerate.
5295
5296 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5297
5298 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5299
5300 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
5301
5302 Implement call0 ABI for xtensa
5303 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5304 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5305 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5306 use ret in call0 ABI.
5307 * config/xtensa/t-windowed: New file.
5308 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5309 * libgcc/configure: Regenerated.
5310 * libgcc/configure.ac: Check if xtensa target is configured for
5311 windowed ABI and thus needs to use custom unwind code.
5312
5313 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
5314
5315 PR libgcc/64885
5316 * gthr-single.h: Use __unused__ attribute instead of unused.
5317 * config/gthr-vxworks.h: Likewise.
5318 * config/i386/gthr-win32.h: Likewise.
5319
5320 2015-02-27 Kai Tietz <ktietz@redhat.com>
5321
5322 PR target/65038
5323 * config.in: Regenerated.
5324 * configure: Likewise.
5325 * configure.ac (AC_HEADER_STDC): Added explicit.
5326 (AC_CHECK_HEADERS): Check for default headers plus
5327 for ftw.h header.
5328 * libgcov-util.c (gcov_read_profile_dir): Disable use
5329 of ftw-function, if header is not found.
5330 (ftw_read_file): Likewise.
5331
5332 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5333
5334 PR target/65181
5335 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5336 -Dinhibit_libc.
5337
5338 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5339
5340 * config/arm/bpabi.S (test_div_by_zero): Make label names
5341 consistent between thumb2 and arm mode cases. Separate the
5342 signed comparison on the high word of the numerator from the
5343 unsigned comparison on the low word.
5344 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5345 signed comparison.
5346
5347 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5348
5349 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5350 and <string.h>.
5351 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5352
5353 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5354
5355 PR gcov-profile/61889
5356 * libgcov-driver-system.c: undefine clashing macro for mkdir.
5357
5358 2015-02-02 Nick Clifton <nickc@redhat.com>
5359
5360 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5361 rounding up the fraction.
5362
5363 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
5364
5365 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5366 oldval and newval to const void *. Fix typo.
5367 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5368 (FETCH_AND_OP_WORD): Likewise.
5369 (OP_AND_FETCH_WORD): Likewise.
5370 (COMPARE_AND_SWAP_2): Likewise.
5371 (__sync_val_compare_and_swap_4): Likewise.
5372 (__sync_lock_test_and_set_4): Likewise.
5373 (SYNC_LOCK_RELEASE_2): Likewise.
5374 Remove support for long long atomic operations.
5375
5376 2015-01-27 Caroline Tice <cmtice@google.com>
5377
5378 Committing VTV Cywin/Ming patch for Patrick Wollgast
5379 * Makefile.in: Move rules to build vtv_*.o out of the check
5380 for CUSTOM_CRTSTUFF.
5381 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5382 i[34567]86-*-mingw*)
5383 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5384 enable_vtable_verify.
5385
5386 2015-01-27 Nick Clifton <nickc@redhat.com>
5387
5388 * config/rl78/cmpsi2.S: Use function start and end macros.
5389 (__gcc_bcmp): New function.
5390 * config/rl78/lshrsi3.S: Use function start and end macros.
5391 * config/rl78/mulsi3.S: Add support for G10.
5392 (__mulqi3): New function for G10.
5393 * config/rl78/signbit.S: Use function start and end macros.
5394 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5395 fpmath-sf.S.
5396 (LIB2FUNCS_EXCLUDE): Define.
5397 (LIB2FUNCS_ST): Define.
5398 * config/rl78/trampoline.S: Use function start and end macros.
5399 * config/rl78/vregs.h (START_FUNC): New macro.
5400 (START_ANOTHER_FUNC): New macro.
5401 (END_FUNC): New macro.
5402 (END_ANOTHER_FUNC): New macro.
5403 * config/rl78/bit-count.S: New file. Contains assembler
5404 implementations of the bit counting functions: ___clzhi2,
5405 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5406 __paritysi2, __popcounthi2 and __popcountsi2.
5407 * config/rl78/fpbit-sf.S: New file. Contains assembler
5408 implementationas of the math functions: __negsf2, __cmpsf2,
5409 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5410 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5411 * config/rl78/fpmath-sf.S: New file. Contains assembler
5412 implementations of the math functions: __subsf3, __addsf3,
5413 __mulsf3 and __divsf3
5414
5415 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5416
5417 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5418 Add i386/elf-lib.h to tm_file.
5419 * config/i386/elf-lib.h: Fix comment.
5420 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5421 && __sun__ && __svr4__]: Remove workaround.
5422
5423 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5424
5425 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5426 FEATURE_BMI2.
5427 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5428
5429 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5430
5431 * config/i386/cpuinfo.c (processor_subtypes): Add
5432 INTEL_COREI7_BROADWELL.
5433 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5434 model numbers.
5435
5436 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
5437
5438 * config/i386/elf-lib.h: New file.
5439 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5440 Wrap definition in #ifdef __i386__.
5441 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5442 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5443 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5444 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5445 to tm_file.
5446
5447 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5448
5449 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5450 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5451
5452 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5453
5454 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5455 Update rt_sigframe format and address for current Nios II
5456 Linux conventions.
5457
5458 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5459
5460 * config.host (arm*-*-freebsd*): Add new configuration for
5461 arm*-*-freebsd*.
5462 * config/arm/freebsd-atomic.c: New file.
5463 * config/arm/t-freebsd: Likewise.
5464 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5465 'PC-relative indirect' OS's.
5466
5467 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5468
5469 * config.host: Add Visium support.
5470 * config/visium: New directory.
5471
5472 2015-01-05 Jakub Jelinek <jakub@redhat.com>
5473
5474 Update copyright years.
5475
5476 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5477
5478 * config.host: Support mipsisa32r6 and mipsisa64r6.
5479 * config/mips/mips16.S: Do not build for R6.
5480
5481 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5482
5483 * config/sh/crt.h: New.
5484 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5485 symbols.
5486 * config/sh/crt1.S: Likewise.
5487
5488 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
5489
5490 PR libgcc/63832
5491 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5492 func_ptr *dtor_list temporary variable to avoid "array subscript
5493 is above array bounds" warnings.
5494
5495 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
5496
5497 * Makefile.in (with_aix_soname): Define.
5498 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5499 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5500 * configure: Recreate.
5501
5502 2014-12-05 Olivier Hainque <hainque@adacore.com>
5503
5504 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5505 now provided by defaults.h.
5506
5507 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5508
5509 PR target/55351
5510 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5511 whether it's defined.
5512
5513 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5514
5515 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5516 * config/i386/cpuinfo.c (get_available_features): Detect it.
5517
5518 2014-11-27 Tony Wang <tony.wang@arm.com>
5519
5520 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5521 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5522 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5523
5524 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5525
5526 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5527
5528 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
5529
5530 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5531 instead.
5532
5533 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5534 John David Anglin <danglin@gcc.gnu.org>
5535
5536 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5537 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5538 (OP_AND_FETCH_2): Likewise.
5539 (COMPARE_AND_SWAP_2): Likewise.
5540 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5541 (SYNC_LOCK_RELEASE_2): Likewise.
5542 (SUBWORD_SYNC_OP): Remove.
5543 (SUBWORD_VAL_CAS): Likewise.
5544 (SUBWORD_BOOL_CAS): Likewise.
5545 (FETCH_AND_OP_WORD): Update.
5546 Consistently use signed types.
5547
5548 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5549 Thomas Schwinge <thomas@codesourcery.com>
5550 Ilya Verbin <ilya.verbin@intel.com>
5551 Andrey Turetskiy <andrey.turetskiy@intel.com>
5552
5553 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5554 (crtoffloadend$(objext)): Likewise.
5555 * configure: Regenerate.
5556 * configure.ac (accel_dir_suffix): Compute new variable.
5557 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5558 if enable_offload_targets is not empty.
5559 * offloadstuff.c: New file.
5560
5561 2014-11-13 Nick Clifton <nickc@redhat.com>
5562
5563 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5564 Use START_FUNC and END_FUNC macros to enable linker garbage
5565 collection.
5566 * config/rl78/divmodqi.S: Likewise.
5567 * config/rl78/divmodsi.S: Likewise.
5568 * config/rl78/mulsi3.S: Likewise.
5569 * config/rl78/lib2div.c: Remove G10 functions.
5570 * config/rl78/lib2muls.c: Likewise.
5571 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5572 * config/rl78/vregs.h (START_FUNC): New macro.
5573 (END_FUNC): New macro.
5574
5575 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5576
5577 * config/mips/mips16.S: Set .module when supported. Update O32
5578 FP64 calling convention and use for FPXX when possible. Add FPXX
5579 calling convention fallback case.
5580
5581 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5582
5583 * config.host: Handle nvptx-*-*.
5584 * shared-object.mk (as-flags-$o): Define.
5585 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5586 -xassembler-with-cpp.
5587 * static-object.mk: Identical changes.
5588 * config/nvptx/t-nvptx: New file.
5589 * config/nvptx/crt0.s: New file.
5590 * config/nvptx/free.asm: New file.
5591 * config/nvptx/malloc.asm: New file.
5592 * config/nvptx/realloc.c: New file.
5593
5594 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5595
5596 * Makefile.in (libgcc.map.in): New target.
5597 (libgcc.map): Use libgcc.map.in.
5598 * config/t-softfp (softfp_compat): New variable to be set by
5599 users.
5600 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5601 variables.
5602 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5603 directory.
5604 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5605 that use compat symbols and disable all code unless [SHARED].
5606 * config/t-softfp-compat: New file.
5607 * find-symver.awk: New file.
5608 * configure.ac (--with-glibc-version): New configure option.
5609 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5610 * configure: Regenerate.
5611 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5612 soft-float and e500.
5613
5614 2014-10-29 Joseph Myers <joseph@codesourcery.com>
5615
5616 * config/t-hardfp (hardfp_exclusions): Document new variable for
5617 user to define.
5618 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5619 * config/t-softfp (softfp_extras): Document new variable for user
5620 to define.
5621 (softfp_func_list): Add functions from $(softfp_extras).
5622 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5623 * config.host (powerpc*-*-linux*): For e500v1, use
5624 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5625 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5626 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5627
5628 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
5629
5630 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5631 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5632 memory read accesses are ok.
5633
5634 2014-10-25 Joseph Myers <joseph@codesourcery.com>
5635
5636 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5637 * configure: Regenerate.
5638 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5639 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5640 of soft-fp for 32-bit classic hard float. Do not use
5641 t-softfp-excl for soft float.
5642
5643 2014-10-22 Joseph Myers <joseph@codesourcery.com>
5644
5645 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5646 configurations.
5647 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5648 Remove variables.
5649
5650 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
5651
5652 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5653 introduced with 2014-10-21 trunk r216525.
5654
5655 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
5656 Vidya Praveen <vidya.praveen@atmel.com>
5657 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5658 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5659 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
5660
5661 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5662 order.
5663
5664 Updated library functions for AVRTINY arch.
5665 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5666 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5667 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5668 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5669 wsubi/wadi macors.
5670 (__mulsi3_helper): Update stack, preserve callee saved regs and
5671 argument from stack. Restore callee save registers.
5672 (__mulpsi3): Likewise.
5673 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5674 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5675 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5676 AVRTINY.
5677 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5678 (__do_copy_data): Added new definition for AVRTINY.
5679 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5680 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5681 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5682 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5683 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5684 macors.
5685 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5686 AVRTINY.
5687
5688 Fix broken long multiplication on tiny arch.
5689
5690 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5691
5692 * soft-fp/double.h: Update from glibc.
5693 * soft-fp/eqdf2.c: Likewise.
5694 * soft-fp/eqsf2.c: Likewise.
5695 * soft-fp/eqtf2.c: Likewise.
5696 * soft-fp/extenddftf2.c: Likewise.
5697 * soft-fp/extended.h: Likewise.
5698 * soft-fp/extendsfdf2.c: Likewise.
5699 * soft-fp/extendsftf2.c: Likewise.
5700 * soft-fp/extendxftf2.c: Likewise.
5701 * soft-fp/gedf2.c: Likewise.
5702 * soft-fp/gesf2.c: Likewise.
5703 * soft-fp/getf2.c: Likewise.
5704 * soft-fp/ledf2.c: Likewise.
5705 * soft-fp/lesf2.c: Likewise.
5706 * soft-fp/letf2.c: Likewise.
5707 * soft-fp/op-1.h: Likewise.
5708 * soft-fp/op-2.h: Likewise.
5709 * soft-fp/op-4.h: Likewise.
5710 * soft-fp/op-8.h: Likewise.
5711 * soft-fp/op-common.h: Likewise.
5712 * soft-fp/quad.h: Likewise.
5713 * soft-fp/single.h: Likewise.
5714 * soft-fp/soft-fp.h: Likewise.
5715 * soft-fp/unorddf2.c: Likewise.
5716 * soft-fp/unordsf2.c: Likewise.
5717 * soft-fp/unordtf2.c: Likewise.
5718 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5719 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5720 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5721 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5722 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5723 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5724 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5725 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5726 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5727 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5728
5729 2014-10-08 Rong Xu <xur@google.com>
5730
5731 * libgcov-util.c (read_gcda_file): Fix format.
5732 (find_match_gcov_info): Ditto.
5733 (calculate_2_entries): New.
5734 (compute_one_gcov): Ditto.
5735 (gcov_info_count_all_cold): Ditto.
5736 (gcov_info_count_all_zero): Ditto.
5737 (extract_file_basename): Ditto.
5738 (get_file_basename): Ditto.
5739 (set_flag): Ditto.
5740 (matched_gcov_info): Ditto.
5741 (calculate_overlap): Ditto.
5742 (gcov_profile_overlap): Ditto.
5743 * libgcov-driver.c (compute_summary): Make
5744 it avavilable for external calls.
5745
5746 2014-10-06 Rong Xu <xur@google.com>
5747
5748 * Makefile.in: Ditto.
5749 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5750 (gcov_sort_icall_topn_counter): Ditto.
5751 (gcov_sort_topn_counter_arrays): Ditto.
5752 (dump_one_gcov): Sort indirect_call topn counters.
5753 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5754 function.
5755 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5756 utility function.
5757 (__gcov_indirect_call_topn_profiler): New profiler function.
5758 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5759 * libgcov.h: New decls.
5760
5761 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5762
5763 * config.host: Remove support for score-*.
5764
5765 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5766
5767 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5768 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5769 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5770 __LIBGCC_XF_MANT_DIG__.
5771 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5772 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5773 __LIBGCC_TF_MANT_DIG__.
5774 * libgcc2.c (NOTRUNC): Define in terms of
5775 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5776 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5777
5778 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5779
5780 PR target/63312
5781 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5782 New macros.
5783
5784 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5785
5786 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5787 override USE_PT_GNU_EH_FRAME.
5788 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5789 check USE_EH_FRAME_REGISTRY_ALWAYS against
5790 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5791 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5792 variable for substituted force_explicit_eh_registry.
5793 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5794 * configure.ac (explicit-exception-frame-registration):
5795 New AC_ARG_ENABLE.
5796 * configure: Regenerate.
5797
5798 2014-09-19 Olivier Hainque <hainque@adacore.com>
5799
5800 * config.host (powerpc-wrs-vxworksmils): New configuration,
5801 same as vxworksae.
5802
5803 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5804
5805 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5806
5807 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5808
5809 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5810 bits not set bits as indicating trapping exceptions.
5811
5812 2014-09-17 Nathan sidwell <nathan@acm.org>
5813
5814 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5815 (LIBGCOV_DRIVER): ... here.
5816 * libgcov-driver.c (gcov_master): New.
5817 (gcov_exit): Remove from master chain.
5818 (__gcov_init): Add to master chain if version compatible. Don't
5819 clear the version.
5820 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5821 (gcov_reset_int): Clear master chain, if compatible.
5822 (gcov_dump_int): New internal interface. Dump master chain, if
5823 compatible.
5824 (gcov_dump): Alias for gcov_dump_int.
5825 * libgcov.h (struct gcov_root): Add next and prev fields.
5826 (struct gcov_master): New struct.
5827 (__gcov_master): New.
5828 (gcov_dump_int): Declare.
5829
5830 2014-09-17 Olivier Hainque <hainque@adacore.com>
5831
5832 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5833 and crtbegin.o + crtend.o to extra_parts.
5834
5835 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5836
5837 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5838 __LIBGCC_HAS_SF_MODE__.
5839 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5840 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5841 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5842 * config/libbid/bid_gcc_intrinsics.h
5843 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5844 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5845 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5846 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5847 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5848 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5849
5850 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5851
5852 PR target/63223
5853 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5854 and R24 as needed. Make work for all devices and .text locations.
5855 (__do_global_ctors, __do_global_dtors): Use word addresses.
5856 (__tablejump__, __tablejump_elpm__): Remove functions.
5857 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5858 Add _tablejump2.
5859 (XICALL, XIJMP): New macros.
5860
5861 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5862 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5863
5864 * config.host (aarch64*): Include crtfastmath.o and
5865 t-crtfm.
5866 * config/aarch64/crtfastmath.c: New file.
5867
5868 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5869
5870 * config.host: Remove picochip support.
5871 * config/picochip/adddi3.S: Remove.
5872 * config/picochip/ashlsi3.S: Remove.
5873 * config/picochip/ashlsi3.c: Remove.
5874 * config/picochip/ashrsi3.S: Remove.
5875 * config/picochip/ashrsi3.c: Remove.
5876 * config/picochip/clzsi2.S: Remove.
5877 * config/picochip/cmpsi2.S: Remove.
5878 * config/picochip/divmod15.S: Remove.
5879 * config/picochip/divmodhi4.S: Remove.
5880 * config/picochip/divmodsi4.S: Remove.
5881 * config/picochip/lib1funcs.S: Remove.
5882 * config/picochip/longjmp.S: Remove.
5883 * config/picochip/lshrsi3.S: Remove.
5884 * config/picochip/lshrsi3.c: Remove.
5885 * config/picochip/parityhi2.S: Remove.
5886 * config/picochip/popcounthi2.S: Remove.
5887 * config/picochip/setjmp.S: Remove.
5888 * config/picochip/subdi3.S: Remove.
5889 * config/picochip/t-picochip: Remove.
5890 * config/picochip/ucmpsi2.S: Remove.
5891 * config/picochip/udivmodhi4.S: Remove.
5892 * config/picochip/udivmodsi4.S: Remove.
5893
5894 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5895
5896 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5897 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5898 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5899 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5900 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5901 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5902 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5903 defined and LIBGCC2_HAS_DF_MODE is defined.
5904 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5905 defined and LIBGCC2_HAS_XF_MODE is defined.
5906 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5907 defined and LIBGCC2_HAS_TF_MODE is defined.
5908
5909 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5910
5911 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5912 and ROUND_TOWARDS_ZERO conditionals.
5913
5914 2014-09-07 Nathan sidwell <nathan@acm.org>
5915
5916 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5917 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5918
5919 2014-09-05 Joseph Myers <joseph@codesourcery.com>
5920
5921 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5922 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5923 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5924 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5925 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5926 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5927 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5928 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5929 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5930 (DWARF_FRAME_REGISTERS): Change all uses to
5931 __LIBGCC_DWARF_FRAME_REGISTERS__.
5932 (EH_RETURN_STACKADJ_RTX): Change all uses to
5933 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5934 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5935 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5936 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5937 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5938 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5939 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5940 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5941 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5942 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5943 __LIBGCC_STACK_POINTER_REGNUM__.
5944 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5945 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5946 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5947 to __LIBGCC_STACK_POINTER_REGNUM__.
5948 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5949 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5950 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5951 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5952 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5953 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5954 (STACK_POINTER_REGNUM): Change all uses to
5955 __LIBGCC_STACK_POINTER_REGNUM__.
5956 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5957 use to __LIBGCC_STACK_POINTER_REGNUM__.
5958 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5959 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5960 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5961 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5962 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5963 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5964 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5965 to __LIBGCC_STACK_POINTER_REGNUM__.
5966 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5967 Remove conditional definition.
5968 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5969 __LIBGCC_TEXT_SECTION_ASM_OP__.
5970 (EH_FRAME_SECTION_NAME): Change all uses to
5971 __LIBGCC_EH_FRAME_SECTION_NAME__.
5972 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5973 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5974 (CTORS_SECTION_ASM_OP): Change all uses to
5975 __LIBGCC_CTORS_SECTION_ASM_OP__.
5976 (DTORS_SECTION_ASM_OP): Change all uses to
5977 __LIBGCC_DTORS_SECTION_ASM_OP__.
5978 (JCR_SECTION_NAME): Change all uses to
5979 __LIBGCC_JCR_SECTION_NAME__.
5980 (INIT_SECTION_ASM_OP): Change all uses to
5981 __LIBGCC_INIT_SECTION_ASM_OP__.
5982 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5983 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5984 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5985 __LIBGCC_STACK_GROWS_DOWNWARD__.
5986 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5987 __LIBGCC_INIT_SECTION_ASM_OP__.
5988 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5989 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5990 (EH_FRAME_SECTION_NAME): Change all uses to
5991 __LIBGCC_EH_FRAME_SECTION_NAME__.
5992 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5993 definitions. Change all uses to
5994 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5995 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5996 __LIBGCC_STACK_GROWS_DOWNWARD__.
5997 (DWARF_FRAME_REGISTERS): Change all uses to
5998 __LIBGCC_DWARF_FRAME_REGISTERS__.
5999 (EH_RETURN_STACKADJ_RTX): Change all uses to
6000 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6001 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6002 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6003 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6004 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6005 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6006
6007 2014-09-02 Nathan sidwell <nathan@acm.org>
6008
6009 * libgcov-interface.c (STRONG_ALIAS): New.
6010 (__gcov_flush): Call __gcov_reset_int.
6011 (__gcov_reset): Strong alias for ...
6012 (__gcov_reset_ing): ... this renamed hidden version.
6013 * libgcov.h (__gcov_reset_int): New declaration.
6014
6015 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6016
6017 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6018 call from here...
6019 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6020 (__dso_handle): Define on Cygwin.
6021 * config/i386/t-cygming (crtbeginS.o): New rule.
6022 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6023
6024 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6025 declaration syntax.
6026
6027 2014-08-13 Steve Ellcey <sellcey@mips.com>
6028
6029 * crtstuff.c: Undef caddr_t.
6030
6031 2014-08-12 Steve Ellcey <sellcey@mips.com>
6032
6033 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6034
6035 2014-08-07 Nathan Sidwell <nathan@acm.org>
6036
6037 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6038 (LIBGCOV_DRIVER): ... to here.
6039 * libgcov.h (gcov_do_dump): New #define.
6040 (struct gcov_root): New.
6041 (__gcov_root): New declaration.
6042 (__gcov_dump_one): Declare.
6043 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6044 run_accounted): Delete.
6045 (gcov_compute_histogram): Add LIST argument, adjust.
6046 (compute_summary): Adjust gcov_compute_histogram call.
6047 (gcov_do_dump): Not hidden, static in libgcov.
6048 (gcov_clear): Move to interface.c.
6049 (__gcov_dump_one): New, broken out of ...
6050 (gcov_exit): ... here. Make static.
6051 (__gcov_root): New.
6052 (__gcov_init): Adjust.
6053 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6054 declarations.
6055 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6056 (gcov_clear): Moved from driver.c. Add LIST argument.
6057 (__gcov_reset): Adjust for changed interfaces.
6058 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6059
6060 2014-08-04 Rohit <rohitarulraj@freescale.com>
6061
6062 PR target/60102
6063 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6064 based on change in SPE high register numbers and 3 HTM registers.
6065
6066 2014-08-01 Nathan Sidwell <nathan@acm.org>
6067
6068 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6069 LIBGCOV_INTERFACE): Reformat.
6070 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6071 IN_GCOV_TOOL.
6072 * libgcov-interface.c: Reformat some comments.
6073 (__gcov_flush_mx): Add declaration. Tidy up definition.
6074
6075 2014-07-31 Alan Modra <amodra@gmail.com>
6076 Peter Bergner <bergner@vnet.ibm.com>
6077
6078 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6079 (pack_ldouble): New function.
6080 (__gcc_qadd): Use it.
6081 (__gcc_qmul): Likewise.
6082 (__gcc_qdiv): Likewise.
6083 (__gcc_qneg): Likewise.
6084 (__gcc_stoq): Likewise.
6085 (__gcc_dtoq): Likewise.
6086
6087 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6088
6089 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6090 (__tpf_eh_return): Add original return address as second parameter.
6091 Handle cases where unwinder routines were called directly, instead
6092 of from within the C++ library.
6093
6094 2014-07-29 Nathan Sidwell <nathan@acm.org>
6095
6096 * libgcov.h: Move renaming of entry points to lib gcov specific
6097 portion.
6098 (gcov_do_dump): New rename.
6099 (gcov_rewrite): Remove inline, make HIDDEN.
6100 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6101 (gcov_exit_compute_summary): Rename to ...
6102 (compute_summary): ... here. Add LIST argument.
6103 (gcov_exit_merge_gcda): Rename to ...
6104 (merge_one_data): ... here.
6105 (gcov_exit_write_gcda): Rename to ...
6106 (write_one_data): ... here.
6107 (gcov_exit_merge_summary): Rename to ...
6108 (merge_summary): Add RUN_COUNTED argument.
6109 (gcov_exit_dump_gcov): Rename to ...
6110 (dump_one_gcov): Add RUN_COUNTED argument.
6111 (gcov_do_dump): New function, broken out of ...
6112 (gcov_exit): ... here. Call it.
6113
6114 2014-07-27 Anthony Green <green@moxielogic.com>
6115
6116 * config.host: Add moxiebox configuration suppport.
6117
6118 2014-07-27 Nathan Sidwell <nathan@acm.org>
6119
6120 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6121 (struct gcov_filename): ... here. Include buffer and max length
6122 fields.
6123 (gcov_max_filename): Remove.
6124 (gi_filename): Remove.
6125 (gcov_exit_compute_summary): Compute max filename here.
6126 (gcov_exit_merge_gcda): Add filename parm, adjust.
6127 (gcov_exit_merge_summary): Likewise.
6128 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6129 (gcov_exit): Likewise.
6130 (__gcov_init): Don't calculate max length here.
6131 * libgcov_util.c (max_filename_len): Remove.
6132 (read_gcda_file): Don't calculate max length here.
6133 (gcov_read_profile_dir): Don't propagate here.
6134 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6135 struct gcov_filename changes.
6136 (gcov_exit_open_gcda_file): Likewise.
6137
6138 2014-07-25 Nathan Sidwell <nathan@acm.org>
6139
6140 * libgcov-driver.c (set_gcov_dump_complete,
6141 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6142 functions polluting user's namespace.
6143 (gcov_exit): Set variable directly.
6144 (gcov_clear): Reset variable directly.
6145 * libgcov-interface.c (get_gcov_dymp_complete,
6146 reset_gov_dump_complete): Remove declarations.
6147 (__gcov_reset, __gcov_dump): Don't call them.
6148
6149 2014-07-24 DJ Delorie <dj@redhat.com>
6150
6151 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
6152 (__gcc_deregister_frame): Move logic to detect deregister function
6153 to ...
6154 (__gcc_register_frame): here, so it's consistent with the register
6155 logic.
6156
6157 2014-07-23 Nathan Sidwell <nathan@acm.org>
6158
6159 * libgcov-driver.c (set_gcov_list): Remove.
6160 (gcov_list): Make non-static in GCOV_TOOL.
6161 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6162
6163 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
6164
6165 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6166 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6167 Don't use SYNC_LOCK_RELEASE for int type.
6168
6169 2014-07-14 Richard Biener <rguenther@suse.de>
6170
6171 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6172
6173 2014-07-11 Rong Xu <xur@google.com>
6174
6175 * libgcov-util.c (gcov_max_filename): Fix declartion.
6176
6177 2014-07-10 Rong Xu <xur@google.com>
6178
6179 Add gcov-tool: an offline gcda profile processing tool
6180 Support.
6181 * libgcov-driver.c (gcov_max_filename): Make available
6182 to gcov-tool.
6183 * libgcov-merge.c (__gcov_merge_add): Replace
6184 gcov_read_counter() with a Macro.
6185 (__gcov_merge_ior): Ditto.
6186 (__gcov_merge_time_profile): Ditto.
6187 (__gcov_merge_single): Ditto.
6188 (__gcov_merge_delta): Ditto.
6189 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6190 in the utility functions.
6191 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6192 gcov_list object link lists.
6193 (tag_function): Ditto.
6194 (tag_blocks): Ditto.
6195 (tag_arcs): Ditto.
6196 (tag_lines): Ditto.
6197 (tag_counters): Ditto.
6198 (tag_summary): Ditto.
6199 (read_gcda_finalize): Ditto.
6200 (read_gcda_file): Ditto.
6201 (ftw_read_file): Ditto.
6202 (read_profile_dir_init): Ditto.
6203 (gcov_read_profile_dir): Ditto.
6204 (gcov_read_counter_mem): Ditto.
6205 (gcov_get_merge_weight): Ditto.
6206 (merge_wrapper): A wrapper function that calls merging handler.
6207 (gcov_merge): Merge two gcov_info objects with weights.
6208 (find_match_gcov_info): Find the matched gcov_info in the list.
6209 (gcov_profile_merge): Merge two gcov_info object lists.
6210 (__gcov_add_counter_op): Process edge profile counter values.
6211 (__gcov_ior_counter_op): Process IOR profile counter values.
6212 (__gcov_delta_counter_op): Process delta profile counter values.
6213 (__gcov_single_counter_op): Process single profile counter values.
6214 (fp_scale): Callback function for float-point scaling.
6215 (int_scale): Callback function for integer fraction scaling.
6216 (gcov_profile_scale): Scaling profile counters.
6217 (gcov_profile_normalize): Normalize profile counters.
6218 * libgcov.h: Add headers and functions for gcov-tool use.
6219 (gcov_get_counter): New.
6220 (gcov_get_counter_target): Ditto.
6221 (struct gcov_info): Make the functions field mutable in gcov-tool
6222 compilation.
6223
6224 2014-06-23 Kai Tietz <ktietz@redhat.com>
6225
6226 PR libgcc/61585
6227 * unwind-seh.c (_Unwind_GetGR): Check for proper
6228 index range.
6229 (_Unwind_SetGR): Likewise.
6230
6231 2014-05-22 Nick Clifton <nickc@redhat.com>
6232
6233 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6234 -mhwmult=none.
6235
6236 2014-05-22 Teresa Johnson <tejohnson@google.com>
6237
6238 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6239 include.
6240
6241 2014-05-20 John Marino <gnugcc@marino.st>
6242
6243 * config.host (*-*-dragonfly*): New target.
6244 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6245 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6246 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6247 * config/i386/dragonfly-unwind.h: New.
6248
6249 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6250
6251 PR libgcc/60166
6252 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6253 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6254
6255 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6256
6257 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6258 implementation.
6259
6260 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
6261
6262 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6263
6264 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6265
6266 PR libgcc/61097
6267 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6268 if --enable-shared.
6269
6270 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6271
6272 Work around for current cygwin32 build problems.
6273 * config/i386/cygming-crtbegin.c (__register_frame_info,
6274 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6275 functions only for 64-bit systems.
6276
6277 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6278
6279 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6280 (sigill_caught, sigill_hdlr): Remove.
6281
6282 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6283
6284 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6285 check.
6286 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6287 Solaris 9 single-threaded support.
6288 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6289 Solaris 9 single-threaded support. Add call_user_handler code
6290 sequences.
6291 (sparc_is_sighandler): Likewise.
6292
6293 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6294
6295 * config.host: Append t-floattodi to tmake_file depending on
6296 host_address.
6297
6298 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6299
6300 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6301
6302 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
6303
6304 PR libgcc/60472
6305 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6306 variable to avoid "array subscript is above array bounds" warnings.
6307 Use __builtin_expect when checking *jcr_list for NULL.
6308
6309 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6310
6311 PR libgcc/59339
6312 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6313 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6314 vtv_*.o to extra_parts if enable_vtable_verify.
6315
6316 2014-03-06 Nick Clifton <nickc@redhat.com>
6317
6318 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6319 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6320
6321 2014-02-28 Joey Ye <joey.ye@arm.com>
6322
6323 PR libgcc/60166
6324 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6325 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6326 Set to zero.
6327
6328 2014-02-24 Walter Lee <walt@tilera.com>
6329
6330 * config.host: Support "tilegx*" and "tilepro*" triplets.
6331 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6332 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6333
6334 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6335 Chung-Lin Tang <cltang@codesourcery.com>
6336
6337 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6338 * config/nios2/crti.S: Remove .file directive.
6339 * config/nios2/crtn.S: Likewise.
6340
6341 2014-02-18 Kai Tietz <ktietz@redhat.com>
6342 Jonathan Schleifer <js@webkeks.org>
6343
6344 PR objc/56870
6345 * unwind-seh.c (_GCC_specific_handler): Pass proper
6346 value to unwind-handler.
6347
6348 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6349
6350 * soft-fp/adddf3.c: Update from glibc.
6351 * soft-fp/addsf3.c: Likewise.
6352 * soft-fp/addtf3.c: Likewise.
6353 * soft-fp/divdf3.c: Likewise.
6354 * soft-fp/divsf3.c: Likewise.
6355 * soft-fp/divtf3.c: Likewise.
6356 * soft-fp/double.h: Likewise.
6357 * soft-fp/eqdf2.c: Likewise.
6358 * soft-fp/eqsf2.c: Likewise.
6359 * soft-fp/eqtf2.c: Likewise.
6360 * soft-fp/extenddftf2.c: Likewise.
6361 * soft-fp/extended.h: Likewise.
6362 * soft-fp/extendsfdf2.c: Likewise.
6363 * soft-fp/extendsftf2.c: Likewise.
6364 * soft-fp/extendxftf2.c: Likewise.
6365 * soft-fp/fixdfdi.c: Likewise.
6366 * soft-fp/fixdfsi.c: Likewise.
6367 * soft-fp/fixdfti.c: Likewise.
6368 * soft-fp/fixsfdi.c: Likewise.
6369 * soft-fp/fixsfsi.c: Likewise.
6370 * soft-fp/fixsfti.c: Likewise.
6371 * soft-fp/fixtfdi.c: Likewise.
6372 * soft-fp/fixtfsi.c: Likewise.
6373 * soft-fp/fixtfti.c: Likewise.
6374 * soft-fp/fixunsdfdi.c: Likewise.
6375 * soft-fp/fixunsdfsi.c: Likewise.
6376 * soft-fp/fixunsdfti.c: Likewise.
6377 * soft-fp/fixunssfdi.c: Likewise.
6378 * soft-fp/fixunssfsi.c: Likewise.
6379 * soft-fp/fixunssfti.c: Likewise.
6380 * soft-fp/fixunstfdi.c: Likewise.
6381 * soft-fp/fixunstfsi.c: Likewise.
6382 * soft-fp/fixunstfti.c: Likewise.
6383 * soft-fp/floatdidf.c: Likewise.
6384 * soft-fp/floatdisf.c: Likewise.
6385 * soft-fp/floatditf.c: Likewise.
6386 * soft-fp/floatsidf.c: Likewise.
6387 * soft-fp/floatsisf.c: Likewise.
6388 * soft-fp/floatsitf.c: Likewise.
6389 * soft-fp/floattidf.c: Likewise.
6390 * soft-fp/floattisf.c: Likewise.
6391 * soft-fp/floattitf.c: Likewise.
6392 * soft-fp/floatundidf.c: Likewise.
6393 * soft-fp/floatundisf.c: Likewise.
6394 * soft-fp/floatunditf.c: Likewise.
6395 * soft-fp/floatunsidf.c: Likewise.
6396 * soft-fp/floatunsisf.c: Likewise.
6397 * soft-fp/floatunsitf.c: Likewise.
6398 * soft-fp/floatuntidf.c: Likewise.
6399 * soft-fp/floatuntisf.c: Likewise.
6400 * soft-fp/floatuntitf.c: Likewise.
6401 * soft-fp/gedf2.c: Likewise.
6402 * soft-fp/gesf2.c: Likewise.
6403 * soft-fp/getf2.c: Likewise.
6404 * soft-fp/ledf2.c: Likewise.
6405 * soft-fp/lesf2.c: Likewise.
6406 * soft-fp/letf2.c: Likewise.
6407 * soft-fp/muldf3.c: Likewise.
6408 * soft-fp/mulsf3.c: Likewise.
6409 * soft-fp/multf3.c: Likewise.
6410 * soft-fp/negdf2.c: Likewise.
6411 * soft-fp/negsf2.c: Likewise.
6412 * soft-fp/negtf2.c: Likewise.
6413 * soft-fp/op-1.h: Likewise.
6414 * soft-fp/op-2.h: Likewise.
6415 * soft-fp/op-4.h: Likewise.
6416 * soft-fp/op-8.h: Likewise.
6417 * soft-fp/op-common.h: Likewise.
6418 * soft-fp/quad.h: Likewise.
6419 * soft-fp/single.h: Likewise.
6420 * soft-fp/soft-fp.h: Likewise.
6421 * soft-fp/subdf3.c: Likewise.
6422 * soft-fp/subsf3.c: Likewise.
6423 * soft-fp/subtf3.c: Likewise.
6424 * soft-fp/truncdfsf2.c: Likewise.
6425 * soft-fp/trunctfdf2.c: Likewise.
6426 * soft-fp/trunctfsf2.c: Likewise.
6427 * soft-fp/trunctfxf2.c: Likewise.
6428 * soft-fp/unorddf2.c: Likewise.
6429 * soft-fp/unordsf2.c: Likewise.
6430 * soft-fp/unordtf2.c: Likewise.
6431 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6432 macro.
6433 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6434 Likewise.
6435 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6436 Likewise.
6437 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6438 Likewise.
6439 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6440 Likewise.
6441 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6442 Likewise.
6443 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6444 Likewise.
6445 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6446 Likewise.
6447 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6448 Likewise.
6449 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6450 Likewise.
6451 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6452 Likewise.
6453 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6454 Likewise.
6455 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6456 Likewise.
6457 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6458 Likewise.
6459 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6460 Likewise.
6461 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6462 Likewise.
6463
6464 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6465
6466 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6467 cannot be represented.
6468 * config/s390/32/_fixsfdi.c: Likewise.
6469 * config/s390/32/_fixtfdi.c: Likewise.
6470 * config/s390/32/_fixunsdfdi.c: Likewise.
6471 * config/s390/32/_fixunssfdi.c: Likewise.
6472 * config/s390/32/_fixunstfdi.c: Likewise.
6473
6474 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6475
6476 * configure.ac (libgcc_cv_mips_hard_float): New.
6477 * configure: Regenerate.
6478 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6479 t-softfp-sfdf for hard-float targets.
6480 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6481 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6482 (softfp_truncations, softfp_exclude_libgcc2): New.
6483 * config/t-hardfp: New file.
6484 * config/t-hardfp-sfdf: Likewise.
6485 * config/hardfp.c: Likewise.
6486
6487 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6488
6489 * config.host: Include t-floattodi also for s390x.
6490 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6491 * config/s390/32/_fixsfdi.c: Likewise.
6492 * config/s390/32/_fixtfdi.c: Likewise.
6493 * config/s390/32/_fixunsdfdi.c: Likewise.
6494 * config/s390/32/_fixunssfdi.c: Likewise.
6495 * config/s390/32/_fixunstfdi.c: Likewise.
6496
6497 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6498
6499 PR target/59788
6500 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6501 (install-libgcc-unwind-map-forbuild): New target.
6502 (all): Depend on install-libgcc-unwind-map-forbuild.
6503 (install-libgcc-unwind-map): New target.
6504 (install): Depend on install-libgcc-unwind-map.
6505
6506 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6507
6508 * config/nios2/crti.S (_init): Initialize GOT pointer from
6509 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6510
6511 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6512
6513 * configure.ac: Check __mips64 when setting host_address.
6514 * configure: Regenerate.
6515 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6516 mips/t-mips64 and t-softfp.
6517 (mips*-*-linux*): Don't add mips/t-tpbit.
6518 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6519 (DPBIT, DPBIT_CFLAGS): Delete.
6520 * config/mips/sfp-machine.h: New file.
6521 * config/mips/t-mips64: Likewise.
6522 * config/mips/t-softfp-tf: Likewise.
6523 * config/mips/t-tpbit: Delete.
6524
6525 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6526
6527 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6528 as long long.
6529
6530 2014-01-25 Walter Lee <walt@tilera.com>
6531
6532 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6533 config.h or system.h.
6534 (bool) Define.
6535
6536 2014-01-25 Walter Lee <walt@tilera.com>
6537
6538 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6539 (post_atomic_barrier): Ditto.
6540 (__fetch_and_do): New macro.
6541 (__atomic_fetch_and_do): Use __fetch_and_do.
6542 (__sync_fetch_and_do): New macro.
6543 (__sync_fetch_and_add_4): New function.
6544 (__sync_fetch_and_sub_4): New function.
6545 (__sync_fetch_and_or_4): New function.
6546 (__sync_fetch_and_and_4): New function.
6547 (__sync_fetch_and_xor_4): New function.
6548 (__sync_fetch_and_nand_4): New function.
6549 (__sync_fetch_and_add_8): New function.
6550 (__sync_fetch_and_sub_8): New function.
6551 (__sync_fetch_and_or_8): New function.
6552 (__sync_fetch_and_and_8): New function.
6553 (__sync_fetch_and_xor_8): New function.
6554 (__sync_fetch_and_nand_8): New function.
6555 (__do_and_fetch): New macro.
6556 (__atomic_do_and_fetch): Use __do_and_fetch.
6557 (__sync_do_and_fetch): New macro.
6558 (__sync_add_and_fetch_4): New function.
6559 (__sync_sub_and_fetch_4): New function.
6560 (__sync_or_and_fetch_4): New function.
6561 (__sync_and_and_fetch_4): New function.
6562 (__sync_xor_and_fetch_4): New function.
6563 (__sync_nand_and_fetch_4): New function.
6564 (__sync_add_and_fetch_8): New function.
6565 (__sync_sub_and_fetch_8): New function.
6566 (__sync_or_and_fetch_8): New function.
6567 (__sync_and_and_fetch_8): New function.
6568 (__sync_xor_and_fetch_8): New function.
6569 (__sync_nand_and_fetch_8): New function.
6570 (__sync_exchange_methods): New macro.
6571 (__sync_val_compare_and_swap_4): New function.
6572 (__sync_bool_compare_and_swap_4): New function.
6573 (__sync_lock_test_and_test_4): New function.
6574 (__sync_val_compare_and_swap_8): New function.
6575 (__sync_bool_compare_and_swap_8): New function.
6576 (__sync_lock_test_and_test_8): New function.
6577 (__subword_cmpxchg_body): New macro.
6578 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6579 (__atomic_compare_exchange_2): Ditto.
6580 (__sync_subword_cmpxchg): New macro.
6581 (__sync_val_compare_and_swap_1): New function.
6582 (__sync_bool_compare_and_swap_1): New function.
6583 (__sync_val_compare_and_swap_2): New function.
6584 (__sync_bool_compare_and_swap_2): New function.
6585 (__atomic_subword): Rename to ...
6586 (__subword): ... New name.
6587 (__atomic_subword_fetch): Use __subword.
6588 (__sync_subword_fetch): New macro.
6589 (__sync_fetch_and_add_1): New function.
6590 (__sync_fetch_and_sub_1): New function.
6591 (__sync_fetch_and_or_1): New function.
6592 (__sync_fetch_and_and_1): New function.
6593 (__sync_fetch_and_xor_1): New function.
6594 (__sync_fetch_and_nand_1): New function.
6595 (__sync_fetch_and_add_2): New function.
6596 (__sync_fetch_and_sub_2): New function.
6597 (__sync_fetch_and_or_2): New function.
6598 (__sync_fetch_and_and_2): New function.
6599 (__sync_fetch_and_xor_2): New function.
6600 (__sync_fetch_and_nand_2): New function.
6601 (__sync_add_and_fetch_1): New function.
6602 (__sync_sub_and_fetch_1): New function.
6603 (__sync_or_and_fetch_1): New function.
6604 (__sync_and_and_fetch_1): New function.
6605 (__sync_xor_and_fetch_1): New function.
6606 (__sync_nand_and_fetch_1): New function.
6607 (__sync_add_and_fetch_2): New function.
6608 (__sync_sub_and_fetch_2): New function.
6609 (__sync_or_and_fetch_2): New function.
6610 (__sync_and_and_fetch_2): New function.
6611 (__sync_xor_and_fetch_2): New function.
6612 (__sync_nand_and_fetch_2): New function.
6613 (__atomic_subword_lock): Use __subword.
6614 (__sync_subword_lock): New macro.
6615 (__sync_lock_test_and_set_1): New function.
6616 (__sync_lock_test_and_set_2): New function.
6617
6618 2014-01-25 Walter Lee <walt@tilera.com>
6619
6620 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6621 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6622 (__atomic_subword): Ditto.
6623
6624 2014-01-25 Walter Lee <walt@tilera.com>
6625
6626 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6627 a prefix op argument.
6628 (__atomic_nand_fetch_4): Add prefix op.
6629 (__atomic_nand_fetch_8): Ditto.
6630
6631 2014-01-21 Baruch Siach <barch@tkos.co.il>
6632
6633 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6634
6635 2014-01-09 Rong Xu <xur@google.com>
6636
6637 * libgcov-driver.c (this_prg): make it local to save
6638 bss space.
6639 (gcov_exit_compute_summary): Ditto.
6640 (gcov_exit_merge_gcda): Ditto.
6641 (gcov_exit_merge_summary): Ditto.
6642 (gcov_exit_dump_gcov): Ditto.
6643
6644 2014-01-08 Rong Xu <xur@google.com>
6645
6646 * libgcov-driver.c: Use libgcov.h.
6647 (buffer_fn_data): Use xmalloc instead of malloc.
6648 (gcov_exit_merge_gcda): Ditto.
6649 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6650 * libgcov.h: New common header files for libgcov-*.h.
6651 * libgcov-interface.c: Use libgcov.h
6652 * libgcov-merge.c: Ditto.
6653 * libgcov-profiler.c: Ditto.
6654 * Makefile.in: Add dependence to libgcov.h
6655
6656 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6657
6658 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6659 case of small numerator and finite nonzero result.
6660
6661 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6662
6663 Update copyright years
6664
6665 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6666
6667 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6668 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6669 config/arc/dp-hack.h, config/arc/fp-hack.h,
6670 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6671 config/arc/ieee-754/arc600-dsp/divdf3.S,
6672 config/arc/ieee-754/arc600-dsp/divsf3.S,
6673 config/arc/ieee-754/arc600-dsp/muldf3.S,
6674 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6675 config/arc/ieee-754/arc600-mul64/divdf3.S,
6676 config/arc/ieee-754/arc600-mul64/divsf3.S,
6677 config/arc/ieee-754/arc600-mul64/muldf3.S,
6678 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6679 config/arc/ieee-754/arc600/divsf3.S,
6680 config/arc/ieee-754/arc600/mulsf3.S,
6681 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6682 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6683 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6684 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6685 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6686 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6687 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6688 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6689 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6690 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6691 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6692 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6693 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6694 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6695 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6696 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6697 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6698 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6699 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6700 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6701 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6702 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6703 vtv_start_preinit.c: Use the standard form for the copyright notice.
6704
6705 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6706 Chung-Lin Tang <cltang@codesourcery.com>
6707 Based on patches from Altera Corporation
6708
6709 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6710 * config/nios2/lib2-nios2.h: New file.
6711 * config/nios2/lib2-divmod-hi.c: New file.
6712 * config/nios2/linux-unwind.h: New file.
6713 * config/nios2/lib2-divmod.c: New file.
6714 * config/nios2/linux-atomic.c: New file.
6715 * config/nios2/t-nios2: New file.
6716 * config/nios2/crti.asm: New file.
6717 * config/nios2/t-linux: New file.
6718 * config/nios2/lib2-divtable.c: New file.
6719 * config/nios2/lib2-mul.c: New file.
6720 * config/nios2/tramp.c: New file.
6721 * config/nios2/crtn.asm: New file.
6722
6723 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
6724
6725 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6726 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6727 from cpuid.h to check vendor signatures.
6728
6729 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6730
6731 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6732 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6733 (get_amd_cpu): Likewise.
6734
6735 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6736
6737 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6738 Haswell.
6739
6740 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6741 H.J. Lu <hongjiu.lu@intel.com>
6742
6743 PR target/59422
6744 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
6745 and AMD_JAGUAR.
6746 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6747 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6748 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6749 FEATURE_XOP and FEATURE_FMA.
6750 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6751 AMDFAM15H_BDVER3.
6752 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6753 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6754 FEATURE_FMA4 and FEATURE_XOP.
6755
6756 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6757
6758 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6759 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6760 (get_intel_cpu): Updated.
6761
6762 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6763
6764 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6765
6766 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6767
6768 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6769 instructions when __SSE_MATH__ is defined.
6770
6771 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6772
6773 * config.host (microblaze-*-rtems*): New.
6774
6775 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6776
6777 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6778 architectures that do not have hardware divide instruction.
6779 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6780
6781 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6782
6783 * longlong.h: Delete (moved to include/).
6784
6785 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6786
6787 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6788 of normal number and qNaN to not raise an inexact exception.
6789
6790 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6791
6792 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6793
6794 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6795
6796 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6797 for correct opcodes on BE.
6798
6799 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6800
6801 * soft-fp/op-4.h: Update from glibc.
6802
6803 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6804
6805 * libgcc2.c (__udivmoddi4): Define new implementation when
6806 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6807 divide instructions.
6808
6809 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6810
6811 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6812
6813 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6814
6815 * config/t-softfp (soft-fp-objects-base): New variable.
6816 (soft-fp-objects): Use it.
6817
6818 2013-11-23 David Edelson <dje.gcc@gmail.com>
6819 Andrew Dixie <andrewd@gentrack.com>
6820
6821 PR target/33704
6822 * config/rs6000/aixinitfini.c: New file.
6823 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6824 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6825 symbols.
6826
6827 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6828
6829 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6830
6831 2013-11-18 Jan Hubicka <jh@suse.cz>
6832
6833 * libgcov-driver.c (run_accounted): Make global level static.
6834 (gcov_exit_merge_summary): Silence warning; do not clear
6835 run_accounted here.
6836 (gcov_exit): Clear it here.
6837
6838 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6839 run_accounted.
6840
6841 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6842 (all_prg, crc32): Remove static vars.
6843 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6844 all_prg.
6845 (gcov_exit_merge_gcda): Add crc32 parameter.
6846 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6847 do not account run if it was already accounted.
6848 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6849 (gcov_exit): Initialize all_prg; update.
6850
6851 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6852
6853 * configure: Regenerate.
6854
6855 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6856 Alan Modra <amodra@gmail.com>
6857
6858 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6859 (frob_update_context): Use it.
6860
6861 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6862 Alan Modra <amodra@gmail.com>
6863
6864 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6865 (trampoline_initial): Provide ELFv2 variant.
6866 (__trampoline_setup): Likewise.
6867
6868 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6869 check for AIX indirect function call sequence if _CALL_ELF == 2.
6870
6871 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6872 Alan Modra <amodra@gmail.com>
6873
6874 * config/rs6000/linux-unwind.h (get_regs): Do not support
6875 old kernel versions if _CALL_ELF == 2.
6876 (frob_update_context): Do not support PLT stub variants only
6877 generated by old linkers if _CALL_ELF == 2.
6878
6879 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6880 Alan Modra <amodra@gmail.com>
6881
6882 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6883 location of CR save area for 64-bit little-endian systems.
6884
6885 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6886
6887 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6888 in tmake_file.
6889 * config/arm/t-vxworks: Delete.
6890
6891 2013-11-10 Kai Tietz <ktietz@redhat.com>
6892
6893 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6894 Increment load-count on use of LIBGCC_SONAME DLL.
6895 (hmod_libgcc): New static variable to hold handle of
6896 LIBGCC_SONAME DLL.
6897 (__gcc_deregister_frame): Decrement load-count of
6898 LIBGCC_SONAME DLL.
6899
6900 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6901
6902 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6903 availability.
6904 * configure: Regenerate
6905
6906 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
6907
6908 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6909 FP_EX_DENORM. Store result to volatile location after SSE division
6910 to close interrupt window. Remove unneeded fwait after x87
6911 division since interrupt window will be closed by emitted fstp.
6912 Rewrite FP_EX_INEXACT handling.
6913
6914 2013-11-06 Joseph Myers <joseph@codesourcery.com>
6915
6916 * soft-fp/README: Update.
6917 * soft-fp/adddf3.c: Update from glibc.
6918 * soft-fp/addsf3.c: Likewise.
6919 * soft-fp/addtf3.c: Likewise.
6920 * soft-fp/divdf3.c: Likewise.
6921 * soft-fp/divsf3.c: Likewise.
6922 * soft-fp/divtf3.c: Likewise.
6923 * soft-fp/double.h: Likewise.
6924 * soft-fp/eqdf2.c: Likewise.
6925 * soft-fp/eqsf2.c: Likewise.
6926 * soft-fp/eqtf2.c: Likewise.
6927 * soft-fp/extenddftf2.c: Likewise.
6928 * soft-fp/extended.h: Likewise.
6929 * soft-fp/extendsfdf2.c: Likewise.
6930 * soft-fp/extendsftf2.c: Likewise.
6931 * soft-fp/extendxftf2.c: Likewise.
6932 * soft-fp/fixdfdi.c: Likewise.
6933 * soft-fp/fixdfsi.c: Likewise.
6934 * soft-fp/fixdfti.c: Likewise.
6935 * soft-fp/fixsfdi.c: Likewise.
6936 * soft-fp/fixsfsi.c: Likewise.
6937 * soft-fp/fixsfti.c: Likewise.
6938 * soft-fp/fixtfdi.c: Likewise.
6939 * soft-fp/fixtfsi.c: Likewise.
6940 * soft-fp/fixtfti.c: Likewise.
6941 * soft-fp/fixunsdfdi.c: Likewise.
6942 * soft-fp/fixunsdfsi.c: Likewise.
6943 * soft-fp/fixunsdfti.c: Likewise.
6944 * soft-fp/fixunssfdi.c: Likewise.
6945 * soft-fp/fixunssfsi.c: Likewise.
6946 * soft-fp/fixunssfti.c: Likewise.
6947 * soft-fp/fixunstfdi.c: Likewise.
6948 * soft-fp/fixunstfsi.c: Likewise.
6949 * soft-fp/fixunstfti.c: Likewise.
6950 * soft-fp/floatdidf.c: Likewise.
6951 * soft-fp/floatdisf.c: Likewise.
6952 * soft-fp/floatditf.c: Likewise.
6953 * soft-fp/floatsidf.c: Likewise.
6954 * soft-fp/floatsisf.c: Likewise.
6955 * soft-fp/floatsitf.c: Likewise.
6956 * soft-fp/floattidf.c: Likewise.
6957 * soft-fp/floattisf.c: Likewise.
6958 * soft-fp/floattitf.c: Likewise.
6959 * soft-fp/floatundidf.c: Likewise.
6960 * soft-fp/floatundisf.c: Likewise.
6961 * soft-fp/floatunditf.c: Likewise.
6962 * soft-fp/floatunsidf.c: Likewise.
6963 * soft-fp/floatunsisf.c: Likewise.
6964 * soft-fp/floatunsitf.c: Likewise.
6965 * soft-fp/floatuntidf.c: Likewise.
6966 * soft-fp/floatuntisf.c: Likewise.
6967 * soft-fp/floatuntitf.c: Likewise.
6968 * soft-fp/gedf2.c: Likewise.
6969 * soft-fp/gesf2.c: Likewise.
6970 * soft-fp/getf2.c: Likewise.
6971 * soft-fp/ledf2.c: Likewise.
6972 * soft-fp/lesf2.c: Likewise.
6973 * soft-fp/letf2.c: Likewise.
6974 * soft-fp/muldf3.c: Likewise.
6975 * soft-fp/mulsf3.c: Likewise.
6976 * soft-fp/multf3.c: Likewise.
6977 * soft-fp/negdf2.c: Likewise.
6978 * soft-fp/negsf2.c: Likewise.
6979 * soft-fp/negtf2.c: Likewise.
6980 * soft-fp/op-1.h: Likewise.
6981 * soft-fp/op-2.h: Likewise.
6982 * soft-fp/op-4.h: Likewise.
6983 * soft-fp/op-8.h: Likewise.
6984 * soft-fp/op-common.h: Likewise.
6985 * soft-fp/quad.h: Likewise.
6986 * soft-fp/single.h: Likewise.
6987 * soft-fp/soft-fp.h: Likewise.
6988 * soft-fp/subdf3.c: Likewise.
6989 * soft-fp/subsf3.c: Likewise.
6990 * soft-fp/subtf3.c: Likewise.
6991 * soft-fp/truncdfsf2.c: Likewise.
6992 * soft-fp/trunctfdf2.c: Likewise.
6993 * soft-fp/trunctfsf2.c: Likewise.
6994 * soft-fp/trunctfxf2.c: Likewise.
6995 * soft-fp/unorddf2.c: Likewise.
6996 * soft-fp/unordsf2.c: Likewise.
6997 * soft-fp/unordtf2.c: Likewise.
6998
6999 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
7000
7001 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7002 (_FP_MUL_MEAT_D): Ditto.
7003 (_FP_DIV_MEAT_S): Ditto.
7004 (_FP_DIV_MEAT_D): Ditto.
7005 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7006 t-softfp-sfdf and t-softfp to tmake_file.
7007
7008 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
7009
7010 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7011 * config/i386/crtprec.c: Ditto.
7012
7013 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7014 Shiva Chen <shiva0217@gmail.com>
7015
7016 * config.host (nds32*-elf*): Add nds32 target.
7017 * config/nds32 : New directory and files.
7018
7019 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
7020
7021 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7022 * config.host (cpu_type) <Setting default>: Add entry for
7023 crisv32-*-*.
7024 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7025 <crisv32-*-linux*>: Adjust.
7026 * longlong.h: Wrap the whole CRIS section in a single
7027 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7028 and sub_ddmmss.
7029 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7030 defined.
7031 [__CRIS__] (__umulsidi3): Define.
7032 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7033 * config/cris/sfp-machine.h: New file.
7034 * config/cris/umulsidi3.S: New file.
7035 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7036 * config/cris/arit.c (SIGNMULT): New macro.
7037 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7038 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7039 saving 3 out of originally 33 cycles from the fastest
7040 path, 3 out of 54 from the medium path and one from the longest
7041 path. Improve comments.
7042
7043 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7044
7045 * sync.c: Remove static aliases and define each function directly
7046 under its real name.
7047
7048 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
7049
7050 * config.host (hppa*64*-*-linux*): Define extra_parts.
7051 (hppa*-*-linux*): Likewise.
7052
7053 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7054
7055 * config/arc/crtgend.S: Add 2013 to Copyright years.
7056 * config/arc/gmon/atomic.h: Likewise.
7057 * config/arc/gmon/auxreg.h: Likewise.
7058 * config/arc/gmon/sys/gmon_out.h: Likewise.
7059 * config/arc/gmon/sys/gmon.h: Likewise.
7060 * config/arc/gmon/prof-freq.c: Likewise.
7061 * config/arc/gmon/mcount.c: Likewise.
7062 * config/arc/gmon/prof-freq-stub.S: Likewise.
7063 * config/arc/gmon/gmon.c: Likewise.
7064 * config/arc/gmon/machine-gmon.h: Likewise.
7065 * config/arc/gmon/profil.S: Likewise.
7066 * config/arc/gmon/dcache_linesz.S: Likewise.
7067 * config/arc/crtg.S: Likewise.
7068 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7069 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7070 * config/arc/ieee-754/adddf3.S: Likewise.
7071 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7072 * config/arc/ieee-754/fixsfsi.S: Likewise.
7073 * config/arc/ieee-754/gtsf2.S: Likewise.
7074 * config/arc/ieee-754/floatsisf.S: Likewise.
7075 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7076 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7077 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7078 * config/arc/ieee-754/fixdfsi.S: Likewise.
7079 * config/arc/ieee-754/addsf3.S: Likewise.
7080 * config/arc/ieee-754/gesf2.S: Likewise.
7081 * config/arc/ieee-754/floatsidf.S: Likewise.
7082 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7083 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7084 * config/arc/ieee-754/gtdf2.S: Likewise.
7085 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7086 * config/arc/ieee-754/uneqdf2.S: Likewise.
7087 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7088 * config/arc/ieee-754/uneqsf2.S: Likewise.
7089 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7090 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7091 * config/arc/ieee-754/eqdf2.S: Likewise.
7092 * config/arc/ieee-754/ordsf2.S: Likewise.
7093 * config/arc/ieee-754/divsf3.S: Likewise.
7094 * config/arc/ieee-754/divdf3.S: Likewise.
7095 * config/arc/ieee-754/floatunsidf.S: Likewise.
7096 * config/arc/ieee-754/orddf2.S: Likewise.
7097 * config/arc/ieee-754/eqsf2.S: Likewise.
7098 * config/arc/ieee-754/gedf2.S: Likewise.
7099 * config/arc/crtn.S: Likewise.
7100 * config/arc/crti.S: Likewise.
7101 * config/arc/t-arc700-uClibc: Likewise.
7102 * config/arc/asm.h: Likewise.
7103 * config/arc/libgcc-excl.ver: Likewise.
7104 * config/arc/t-arc-newlib: Likewise.
7105 * config/arc/divtab-arc700.c: Likewise.
7106 * config/arc/initfini.c: Likewise.
7107 * config/arc/fp-hack.h: Likewise.
7108
7109 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7110 Diego Novillo <dnovillo@google.com>
7111
7112 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
7113 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7114 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7115 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
7116
7117 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7118 Brendan Kehoe <brendan@zen.org>
7119 Simon Cook <simon.cook@embecosm.com>
7120
7121 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7122 * config/arc: New directory.
7123 * longlong.h [__arc__] (umul_ppmm): Remove.
7124 [__arc__] (__umulsidi3): Define.
7125 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7126 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7127
7128 2013-09-17 Jacek Caban <jacek@codeweavers.com>
7129
7130 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7131 CreateSemaphoreA.
7132 * config/i386/gthr-win32.h: Likewise.
7133
7134 2013-09-16 DJ Delorie <dj@redhat.com>
7135
7136 * config/rl78/vregs.h: Add G10 register definitions.
7137 * config/rl78/lib2mul.c: Enable for RL78/G10.
7138 * config/rl78/lib2div.c: Likewise.
7139 * config/rl78/lshrsi3.S: Use vregs.h.
7140 * config/rl78/cmpsi2.S: Likewise.
7141 * config/rl78/trampoline.S: Likewise.
7142 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7143
7144 2013-09-14 DJ Delorie <dj@redhat.com>
7145 Nick Clifton <nickc@redhat.com>
7146
7147 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7148 * config/rl78/vregs.h: New.
7149 * config/rl78/signbit.S: New file. Implements signbit function.
7150 * config/rl78/divmodsi.S: New.
7151 * config/rl78/divmodhi.S: New.
7152 * config/rl78/divmodqi.S: New.
7153 * config/rl78/t-rl78: Build them here...
7154 * config/rl78/lib2div.c: ...but not here.
7155
7156 2013-09-12 DJ Delorie <dj@redhat.com>
7157
7158 * config.host (msp*-*-elf): New.
7159 * config/msp430/: New port.
7160
7161 2013-08-18 Iain Sandoe <iain@codesourcery.com>
7162
7163 PR gcov-profile/58127
7164 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7165 __thread var for emulated TLS.
7166 (__gcov_indirect_call_counters): Likewise.
7167
7168 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
7169 Catherine Moore <clm@codesourcery.com>
7170 Richard Sandiford <rdsandiford@googlemail.com>
7171
7172 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7173 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7174 (CALL_STUB_NO_RET): Likewise.
7175 (CALL_STUB_RET): Likewise.
7176 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7177 __mips16_ret call/return stub symbols.
7178 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7179 to tmake_file.
7180
7181 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7182
7183 * config.host <mips*-*-linux*>: Remove a stray comment.
7184
7185 2013-08-10 Jan Hubicka <jh@suse.cz>
7186
7187 Work around binutils PR14342
7188 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7189 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7190 (L_gcov_indirect_call_profiler_v2): New.
7191
7192 2013-08-06 Jan Hubicka <jh@suse.cz>
7193
7194 * libgcov.c (__gcov_indirect_call_callee,
7195 __gcov_indirect_call_counters): New global vars.
7196 (__gcov_indirect_call_profiler): replace by ...
7197 (__gcov_indirect_call_profiler_v2) ... this one.
7198
7199 2013-08-06 Caroline Tice <cmtice@google.com>
7200
7201 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
7202 vtv_start_preinit.o and vtv_end_preinit.o.
7203 * configure.ac: Add code to check/set enable_vtable_verify.
7204 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7205 true.
7206 * vtv_start_preinit.c: New file.
7207 * vtv_end_preinit.c: New file.
7208 * vtv_start.c: New file.
7209 * vtv_end.c: New file.
7210 * configure: Regenerated.
7211
7212 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7213
7214 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7215 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7216 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7217 GPL-3.0-with-GCC-exception.
7218
7219 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7220
7221 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7222 ISA and up.
7223
7224 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7225
7226 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7227 mapping for FPRs when creating the fallback framestate.
7228
7229 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
7230
7231 PR target/57516
7232 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7233 (__round_s2_const, __round_u2_const)
7234 (__round_s4_const, __round_u4_const, __round_x8):
7235 Saturate result if addition result cannot be represented.
7236
7237 2013-07-15 Matthias Klose <doko@ubuntu.com>
7238
7239 * libgcc2.c: Don't include <limits.h>.
7240
7241 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
7242
7243 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7244
7245 2013-07-06 Jakub Jelinek <jakub@redhat.com>
7246
7247 PR target/29776
7248 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7249
7250 2013-06-28 Jakub Jelinek <jakub@redhat.com>
7251
7252 PR middle-end/36041
7253 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7254 Define.
7255 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7256 instead of table lookups.
7257 (__popcountDI2): Likewise.
7258
7259 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7260
7261 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7262 correctly.
7263
7264 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7265
7266 PR other/53317
7267 * soft-fp/adddf3.c: Update from glibc.
7268 * soft-fp/addsf3.c: Likewise.
7269 * soft-fp/addtf3.c: Likewise.
7270 * soft-fp/divdf3.c: Likewise.
7271 * soft-fp/divsf3.c: Likewise.
7272 * soft-fp/divtf3.c: Likewise.
7273 * soft-fp/double.h: Likewise.
7274 * soft-fp/eqdf2.c: Likewise.
7275 * soft-fp/eqsf2.c: Likewise.
7276 * soft-fp/eqtf2.c: Likewise.
7277 * soft-fp/extenddftf2.c: Likewise.
7278 * soft-fp/extended.h: Likewise.
7279 * soft-fp/extendsfdf2.c: Likewise.
7280 * soft-fp/extendsftf2.c: Likewise.
7281 * soft-fp/fixdfdi.c: Likewise.
7282 * soft-fp/fixdfsi.c: Likewise.
7283 * soft-fp/fixsfdi.c: Likewise.
7284 * soft-fp/fixsfsi.c: Likewise.
7285 * soft-fp/fixtfdi.c: Likewise.
7286 * soft-fp/fixtfsi.c: Likewise.
7287 * soft-fp/fixunsdfdi.c: Likewise.
7288 * soft-fp/fixunsdfsi.c: Likewise.
7289 * soft-fp/fixunssfdi.c: Likewise.
7290 * soft-fp/fixunssfsi.c: Likewise.
7291 * soft-fp/fixunstfdi.c: Likewise.
7292 * soft-fp/fixunstfsi.c: Likewise.
7293 * soft-fp/floatdidf.c: Likewise.
7294 * soft-fp/floatdisf.c: Likewise.
7295 * soft-fp/floatditf.c: Likewise.
7296 * soft-fp/floatsidf.c: Likewise.
7297 * soft-fp/floatsisf.c: Likewise.
7298 * soft-fp/floatsitf.c: Likewise.
7299 * soft-fp/floatundidf.c: Likewise.
7300 * soft-fp/floatundisf.c: Likewise.
7301 * soft-fp/floatunditf.c: Likewise.
7302 * soft-fp/floatunsidf.c: Likewise.
7303 * soft-fp/floatunsisf.c: Likewise.
7304 * soft-fp/floatunsitf.c: Likewise.
7305 * soft-fp/gedf2.c: Likewise.
7306 * soft-fp/gesf2.c: Likewise.
7307 * soft-fp/getf2.c: Likewise.
7308 * soft-fp/ledf2.c: Likewise.
7309 * soft-fp/lesf2.c: Likewise.
7310 * soft-fp/letf2.c: Likewise.
7311 * soft-fp/muldf3.c: Likewise.
7312 * soft-fp/mulsf3.c: Likewise.
7313 * soft-fp/multf3.c: Likewise.
7314 * soft-fp/negdf2.c: Likewise.
7315 * soft-fp/negsf2.c: Likewise.
7316 * soft-fp/negtf2.c: Likewise.
7317 * soft-fp/op-1.h: Likewise.
7318 * soft-fp/op-2.h: Likewise.
7319 * soft-fp/op-4.h: Likewise.
7320 * soft-fp/op-8.h: Likewise.
7321 * soft-fp/op-common.h: Likewise.
7322 * soft-fp/quad.h: Likewise.
7323 * soft-fp/single.h: Likewise.
7324 * soft-fp/soft-fp.h: Likewise.
7325 * soft-fp/subdf3.c: Likewise.
7326 * soft-fp/subsf3.c: Likewise.
7327 * soft-fp/subtf3.c: Likewise.
7328 * soft-fp/truncdfsf2.c: Likewise.
7329 * soft-fp/trunctfdf2.c: Likewise.
7330 * soft-fp/trunctfsf2.c: Likewise.
7331 * soft-fp/unorddf2.c: Likewise.
7332 * soft-fp/unordsf2.c: Likewise.
7333 * soft-fp/unordtf2.c: Likewise.
7334 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7335 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7336 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7337 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7338 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7339 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7340 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7341 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7342 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7343 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7344 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7345 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7346
7347 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7348
7349 * config/mips/lib2funcs.c: New file.
7350 * config/mips/t-mips (LIB2ADD_ST): Add it.
7351
7352 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7353
7354 PR target/6526
7355 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7356 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7357
7358 2013-06-08 Walter Lee <walt@tilera.com>
7359
7360 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7361 Replace int64_t with long long. Add __extension__ where
7362 appropriate.
7363 * config/tilepro/atomic.c: Include config.h.
7364
7365 2013-06-06 Douglas B Rupp <rupp@adacore.com>
7366
7367 * config.host (arm-wrs-vxworks): Configure with other soft float.
7368
7369 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7370
7371 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7372 (mips64r5900el-*-elf*): New configurations.
7373
7374 2013-06-04 Alan Modra <amodra@gmail.com>
7375
7376 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7377
7378 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7379
7380 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7381
7382 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7383
7384 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7385 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7386 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7387
7388 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7389
7390 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7391 (powerpc-wrs-vxworks): Likewise.
7392
7393 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7394
7395 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7396 signal frames as well.
7397 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7398 STACK_BIAS to the CFA offset.
7399
7400 2013-05-17 Richard Henderson <rth@redhat.com>
7401
7402 PR target/49146
7403 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7404 (execute_cfa_program): Use it when storing to fs->regs.
7405
7406 2013-05-08 Kai Tietz <ktietz@redhat.com>
7407
7408 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7409 (__deregister_frame_info): Likewise.
7410
7411 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7412
7413 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7414 NaN's payload.
7415
7416 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7417
7418 2013-04-25 Alan Modra <amodra@gmail.com>
7419
7420 * config.host: Match little-endian powerpc-linux.
7421
7422 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7423
7424 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7425 as 'unsigned long long' instead of 'unsigned long'.
7426 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7427 'signed long'.
7428
7429 2013-04-10 Julian Brown <julian@codesourcery.com>
7430
7431 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7432 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7433 unsigned char/unsigned short.
7434 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7435
7436 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7437
7438 PR other/55274
7439 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7440
7441 2013-04-04 Meador Inge <meadori@codesourcery.com>
7442
7443 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7444 computing the location of the link register.
7445 (aeabi_uldivmod): Ditto.
7446
7447 2013-03-27 Kai Tietz <ktietz@redhat.com>
7448
7449 * config.host: Add support for cygwin x64 target.
7450 * configure: Regenerated.
7451
7452 2013-03-26 Walter Lee <walt@tilera.com>
7453
7454 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7455 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7456
7457 2013-03-25 Kai Tietz <ktietz@redhat.com>
7458
7459 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7460
7461 2013-03-20 Robert Mason <rbmj@verizon.net>
7462
7463 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7464 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7465 (__gthread_leave_tsd_dtor_context): Add prototypes.
7466 (tls_delete_hook): Update.
7467
7468 2013-03-20 Catherine Moore <clm@codesourcery.com>
7469 Joseph Myers <joseph@codesourcery.com>
7470 Chao-ying Fu <fu@mips.com>
7471
7472 * config/mips/mips16.S: Don't build for microMIPS.
7473 * config/mips/linux-unwind.h: Handle microMIPS frame.
7474 * config/mips/crtn.S (fini, init): New labels.
7475
7476 2013-03-14 Jakub Jelinek <jakub@redhat.com>
7477
7478 PR tree-optimization/53265
7479 * unwind-dw2.c (execute_cfa_program): Avoid
7480 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7481 on targets with DWARF_FRAME_REGISTERS < 32.
7482
7483 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7484
7485 PR target/49880
7486 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7487 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7488
7489 2013-03-07 Sriraman Tallam <tmsriram@google.com>
7490
7491 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7492 sandybridge processors.
7493
7494 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7495
7496 PR target/56529
7497 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7498 inclusion list.
7499
7500 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7501
7502 * config/microblaze/crti.S: Setup stack protection at entry
7503
7504 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
7505
7506 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7507 (__rotldi3): Shift bytewise if applicable.
7508
7509 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7510
7511 * config/aarch64/sync-cache.c
7512 (__aarch64_sync_cache_range): Silence warnings.
7513
7514 2013-02-25 Catherine Moore <clm@codesourcery.com>
7515
7516 Revert:
7517 2013-02-24 Catherine Moore <clm@codesourcery.com>
7518 Joseph Myers <joseph@codesourcery.com>
7519 Chao-ying Fu <fu@mips.com>
7520
7521 * config/mips/mips16.S: Don't build for microMIPS.
7522 * config/mips/linux-unwind.h: Handle microMIPS frame.
7523 * config/mips/crtn.S (fini, init): New labels.
7524
7525 2013-02-24 Catherine Moore <clm@codesourcery.com>
7526 Joseph Myers <joseph@codesourcery.com>
7527 Chao-ying Fu <fu@mips.com>
7528
7529 * config/mips/mips16.S: Don't build for microMIPS.
7530 * config/mips/linux-unwind.h: Handle microMIPS frame.
7531 * config/mips/crtn.S (fini, init): New labels.
7532
7533 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7534 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7535 as dividend.
7536
7537 2013-02-16 Alan Modra <amodra@gmail.com>
7538
7539 PR target/55431
7540 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7541 (ppc_fallback_frame_state): Always set up save locations for fp
7542 and altivec. Don't bother with non-callee-saved regs, r0-r13
7543 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7544
7545 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
7546
7547 PR target/54222
7548 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7549 _ssmulHA, _ssmulSA.
7550 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7551 _ssmulha3, _usmulusa3, _ssmulsa3.
7552 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7553 (__muldi3): XCALL __muldi3_6 instead of rcall.
7554 (__umulsidi3, __mulsidi3): New functions.
7555 (do_prologue_saves, do_epilogue_restores): New .macros.
7556 (__divdi3_moddi3): Use them.
7557 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7558 (__usmulusa3, __ssmulsa3): New functions.
7559
7560 2013-02-11 Iain Sandoe <iain@codesourcery.com>
7561 Jack Howarth <howarth@bromo.med.uc.edu>
7562 Patrick Marlier <patrick.marlier@gmail.com>
7563
7564 PR libitm/55693
7565 * config/darwin-crt-tm.c: Remove dummy functions hack.
7566
7567 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
7568
7569 PR target/54222
7570 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7571 * config/avr/lib2-object.mk: New iterator to build objects from it.
7572 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7573 lib2funcs.c.
7574 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7575 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7576 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7577 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7578 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7579 * config/avr/lib1funcs-fixed.S: Implement them.
7580
7581 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7582
7583 Update copyright years.
7584
7585 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
7586
7587 PR target/54601
7588 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7589 Add crtcxa to extra_parts.
7590 * config/rs6000/exit.h: New file.
7591 * config/rs6000/cxa_atexit.c: New file.
7592 * config/rs6000/cxa_finalize.c: New file.
7593 * config/rs6000/crtcxa.c: New file.
7594 * config/rs6000/t-aix-cxa: New file.
7595 * config/rs6000/libgcc-aix-cxa.ver: New file.
7596
7597 2013-01-31 Nick Clifton <nickc@redhat.com>
7598
7599 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7600 variant.
7601
7602 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
7603
7604 PR target/54222
7605 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7606 _mulQQ, _mulHQ, _mulHA, _mulSA,
7607 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7608 _divQQ, _divHQ, _divHA, _divSA,
7609 _divUQQ, _divUHQ, _divUHA, _divUSA.
7610
7611 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
7612
7613 * config.host(microblaze*-linux*): tmake_file: Remove
7614 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7615 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7616 to exclude functions from being built with libgcc.c and use
7617 the microblaze assembly.
7618
7619 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7620
7621 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7622 extra_parts.
7623
7624 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7625
7626 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7627 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7628 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7629 alignment operation.
7630
7631 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7632
7633 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7634 loop start address for cache clearing.
7635
7636 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7637
7638 * config/avr/lib1funcs.S: Remove trailing blanks.
7639 * config/avr/lib1funcs-fixed.S: Ditto.
7640
7641 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7642
7643 * config/avr/avr-lib.h: Add GPL copyright notice.
7644
7645 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7646
7647 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7648 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7649 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7650 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7651
7652 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
7653
7654 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7655 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7656
7657 2013-01-04 Nick Clifton <nickc@redhat.com>
7658
7659 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7660 the CALLT instruction is supported.
7661
7662 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7663
7664 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7665 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7666
7667 2012-12-13 John Tytgat <John@bass-software.com>
7668
7669 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7670 is 25.
7671
7672 2012-12-12 Jakub Jelinek <jakub@redhat.com>
7673
7674 PR libgcc/55451
7675 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7676 undefined signed overflows.
7677
7678 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
7679
7680 PR target/55344
7681 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7682
7683 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
7684
7685 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7686 (FP_TRAPPING_EXCEPTIONS): Define.
7687 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7688 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7689
7690 2012-12-04 Richard Henderson <rth@redhat.com>
7691
7692 PR bootstrap/55571
7693 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7694
7695 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7696
7697 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7698 (FP_EX_SHIFT): Define.
7699 (FP_TRAPPING_EXCEPTIONS): Define.
7700
7701 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7702
7703 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7704 (FP_ROUNDMODE): Use FP_RND_MASK.
7705 * config/aarch64/sfp-exceptions.c: New.
7706 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7707 Use __sfp_handle_exceptions.
7708
7709 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
7710
7711 * config.host: (arm*-*-freebsd*): Remove.
7712 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7713 (arm*-*-elf*): Remove.
7714 (arm*-*-wince-pe*): Remove.
7715 * arm/unwind-arm.c (struct fpa_reg): Delete.
7716 (struct fpa_regs): Delete.
7717 (phase1_vrs): Remove fpa element.
7718 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7719 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7720 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7721 * ieee754-sf.S (floatundisf): Remove FPA support.
7722 (floatdisf): Likewise.
7723 * ieee75f-df.S (floatundidf): Likewise.
7724 (floatdidf): Likewise.
7725
7726 2012-11-29 Kai Tietz <ktietz@redhat.com>
7727
7728 PR target/55445
7729 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7730 * unwind-generic.h: Likewise.
7731 * unwind-seh.c: Likewise.
7732
7733 2012-11-28 Richard Henderson <rth@redhat.com>
7734
7735 PR libgcc/48076
7736 * emutls.c (__emutls_get_address): Avoid race condition between
7737 obj->loc.offset read and emutls_key initialization.
7738
7739 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
7740
7741 Adjust decimal point of signed accum mode to GCC default.
7742
7743 PR target/54222
7744 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7745 _divqq_helper.
7746 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7747 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7748 (__mulha3, __mulsa3)
7749 (__divqq3, __divha3, __divsa3): Adjust to new position of
7750 decimal point of signed accum types.
7751
7752 (__mulusa3_round): New function.
7753 (__mulusa3): Use it.
7754 (__divqq_helper): New function.
7755 (__udivuqq3): Use it.
7756
7757 2012-11-20 Jakub Jelinek <jakub@redhat.com>
7758
7759 PR bootstrap/55370
7760 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7761
7762 2012-11-18 Teresa Johnson <tejohnson@google.com>
7763
7764 PR bootstrap/55051
7765 * libgcov.c (gcov_exit): Remove merged program summary
7766 comparison unless !GCOV_LOCKED.
7767
7768 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7769
7770 * soft-fp: Updated from glibc upstream.
7771
7772 2012-11-06 Ian Lance Taylor <iant@google.com>
7773
7774 * generic-morestack.c (__generic_morestack): Align the returned
7775 stack pointer to a 32 byte boundary.
7776 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7777 increment the return address until we have decided that we don't
7778 have a varargs function.
7779 (__morestack) [32-bit]: Align stack correctly when calling C
7780 functions.
7781 (__morestack) [64-bit]: Likewise.
7782
7783 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7784
7785 * configure: Regenerate.
7786
7787 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7788
7789 PR target/55175
7790 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7791 * config/i386/sfp-machine.h: Guard exception handling
7792 code with _SOFT_FLOAT.
7793 * config/i386/32/sfp-machine.h: Guard rounding handling
7794 code with _SOFT_FLOAT.
7795 * config/i386/64/sfp-machine.h: Ditto.
7796
7797 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7798
7799 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7800 as extra_parts.
7801
7802 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7803
7804 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7805 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7806 when appropriate. Correct structure element types.
7807 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7808 -minline-all-stringops from compile flags.
7809
7810 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7811
7812 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7813
7814 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7815
7816 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7817
7818 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7819
7820 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7821 tmake_file.
7822
7823 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7824 Jim MacArthur <jim.macarthur@arm.com>
7825 Marcus Shawcroft <marcus.shawcroft@arm.com>
7826 Nigel Stephens <nigel.stephens@arm.com>
7827 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7828 Richard Earnshaw <rearnsha@arm.com>
7829 Sofiane Naci <sofiane.naci@arm.com>
7830 Stephen Thomas <stephen.thomas@arm.com>
7831 Tejas Belagod <tejas.belagod@arm.com>
7832 Yufeng Zhang <yufeng.zhang@arm.com>
7833
7834 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7835 * config/aarch64/crti.S: New file.
7836 * config/aarch64/crtn.S: New file.
7837 * config/aarch64/linux-unwind.h: New file.
7838 * config/aarch64/sfp-machine.h: New file.
7839 * config/aarch64/sync-cache.c: New file.
7840 * config/aarch64/t-aarch64: New file.
7841 * config/aarch64/t-softfp: New file.
7842
7843 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7844
7845 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7846 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7847 no-longer-needed LDBU insns.
7848
7849 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7850
7851 * config.host
7852 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7853 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7854
7855 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7856
7857 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7858
7859 2012-10-15 Matthias Klose <doko@ubuntu.com>
7860
7861 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7862
7863 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7864
7865 * configure: Regenerate.
7866 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7867
7868 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7869
7870 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7871 instructions for 64bit targets only.
7872
7873 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7874
7875 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7876 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7877 * config/i386/32/sfp-machine.h: ... here.
7878 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7879 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7880 New defines.
7881
7882 2012-10-07 Matthias Klose <doko@ubuntu.com>
7883
7884 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7885 as unused.
7886 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7887
7888 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7889
7890 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7891 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7892 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7893 (ElfW): Likewise.
7894
7895 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7896
7897 PR other/53889
7898 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7899 Fix parameter names.
7900
7901 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7902
7903 PR target/33135
7904 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7905 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7906 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7907
7908 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7909
7910 PR target/50457
7911 * config/sh/linux-atomic.S: Delete.
7912 * config/sh/linux-atomic.c: New.
7913 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7914 linux-atomic.c. Add cflags to disable warnings.
7915
7916 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7917
7918 PR other/53889
7919 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7920 function.
7921 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7922 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7923 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7924 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7925 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7926 Likewise.
7927 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7928 Likewise.
7929 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7930 Likewise.
7931 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7932 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7933
7934 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
7935
7936 * config.host (hppa-*-openbsd*): New target.
7937 * config/pa/t-openbsd: New file.
7938
7939 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
7940
7941 PR target/54222
7942 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7943 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7944 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7945 (__divsa3): Use __negsi2 to negate r_quoL.
7946 * config/avr/lib1funcs.S (FALIAS): New macro.
7947 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7948 (__negsi2): ...this new function.
7949 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7950 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7951 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7952 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7953 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7954 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7955
7956 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7957
7958 PR target/54089
7959 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7960 (lshrsi3): Reimplement as lshrsi3_r0.
7961
7962 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7963
7964 PR target/46191
7965 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7966 of libgcc.a.
7967
7968 2012-09-07 Teresa Johnson <tejohnson@google.com>
7969
7970 PR gcov-profile/54487
7971 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7972 differences.
7973
7974 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
7975
7976 PR target/54461
7977 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7978 not configured --with-avrlibc=no.
7979 * config/avr/t-avrlibc: New file.
7980 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7981 (DPBIT_FUNCS): Ditto.
7982 (TPBIT_FUNCS): Ditto.
7983
7984 2012-09-04 Teresa Johnson <tejohnson@google.com>
7985
7986 * libgcov.c (struct gcov_summary_buffer): New structure.
7987 (gcov_histogram_insert): New function.
7988 (gcov_compute_histogram): Ditto.
7989 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7990 histograms during summary merging.
7991
7992 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7993
7994 * config.host (x86_64-*-openbsd*): New target.
7995
7996 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7997
7998 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7999 attribute.
8000
8001 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8002
8003 PR target/54222
8004 * config/avr/t-avr (conv_X): Rename to func_X.
8005
8006 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
8007
8008 PR target/54222
8009 * config/avr/lib1funcs-fixed.S: New file.
8010 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8011 after they are used.
8012 (neg2, neg4): New macros.
8013 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8014 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8015 (__umulhisi3): Speed up MUL variant if there is enough flash.
8016 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8017 avr-modes.def.
8018 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8019 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8020 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8021 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8022 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8023 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8024 (LIB2FUNCS_EXCLUDE): Add supported functions.
8025
8026 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
8027
8028 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8029 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8030 libgcc-s-objects.
8031 * fixed-obj.mk: Only expand dependency if $o is not in
8032 LIB2FUNCS_EXCLUDE.
8033
8034 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8035
8036 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8037
8038 2012-08-22 Joseph Myers <joseph@codesourcery.com>
8039
8040 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8041 depend on --enable-shared.
8042 ($(lib1asmfuncs-o)): Use %.vis files independent of
8043 --enable-shared.
8044 * static-object.mk ($(base)$(objext), $(base).vis)
8045 ($(base)_s$(objext)): Use same rules for visibility handling as in
8046 shared-object.mk.
8047
8048 2012-08-21 Ian Lance Taylor <iant@google.com>
8049
8050 * config/i386/morestack.S (__morestack_non_split): Increase amount
8051 of space allocated for non-split code stack.
8052
8053 2012-08-19 Joseph Myers <joseph@codesourcery.com>
8054
8055 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8056 even if inhibit_libc.
8057
8058 2012-08-17 Julian Brown <julian@codesourcery.com>
8059
8060 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8061 -fexceptions -fnon-call-exceptions if not defined.
8062 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8063 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8064
8065 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8066
8067 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8068 type.
8069
8070 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
8071
8072 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8073 rs6000/t-slibgcc-aix.
8074
8075 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8076
8077 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8078
8079 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8080
8081 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8082
8083 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8084
8085 PR driver/54171
8086 * Makefile.in (version): Replace top_srcdir with srcdir.
8087
8088 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8089
8090 * Makefile.in (version): set to BASE-VER file from gcc directory.
8091
8092 2012-08-01 Nick Clifton <nickc@redhat.com>
8093
8094 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8095 Implements __clrsb for an HImode argument.
8096
8097 2012-07-31 Nick Clifton <nickc@redhat.com>
8098
8099 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8100 Implements __clrsb for an HImode argument.
8101 * config/stormy16/clrsbhi2.c: New file:
8102 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8103
8104 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8105
8106 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8107
8108 2012-07-19 Tristan Gingold <gingold@adacore.com>
8109 Richard Henderson <rth@redhat.com>
8110
8111 * unwind-seh.c: New file.
8112 * unwind-generic.h: Include windows.h for SEH.
8113 (_Unwind_Exception): Use 6 private fields for SEH.
8114 (_GCC_specific_handler): Declare.
8115 * unwind-c.c (__gcc_personality_seh0): New function.
8116 Adjust for SEH.
8117 * config/i386/libgcc-cygming.ver: New file.
8118 * config/i386/t-seh-eh: New file.
8119 * config.host (x86_64-*-mingw*): Default to seh.
8120
8121 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8122
8123 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8124
8125 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
8126
8127 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8128 __builtin_expect when checking for exceptions.
8129 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8130
8131 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8132
8133 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8134 function declaration.
8135 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8136 (FP_RND_MASK): New.
8137 * config/ia64/sfp-exceptions.c: New.
8138 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
8139
8140 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
8141
8142 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8143 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8144 * config/i386/64/sfp-machine: ... (delete here) ...
8145 * config/i386/sfp-machine.h: ... to here.
8146 (FP_EX_MASK): Remove.
8147 (FP_RND_MASK): New.
8148 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8149
8150 2012-06-11 Sriraman Tallam <tmsriram@google.com>
8151
8152 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8153 * config/i386/libgcc-sol2.ver: Ditto.
8154 * config/i386/libgcc-glibc.ver: Ditto.
8155
8156 2012-06-11 Roland McGrath <mcgrathr@google.com>
8157
8158 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8159 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8160 pthread_cancel.
8161
8162 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
8163
8164 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8165 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8166 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8167 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8168 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8169 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8170 * config/i386/64/sfp-machine: ... (delete here) ...
8171 * config/i386/sfp-machine.h: ... to here.
8172 (FP_EX_MASK): New.
8173 (__sfp_handle_exceptions): New function declaration.
8174 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8175 * config/i386/sfp-exceptions.c: New.
8176 * config/i386/t-softfp: New.
8177 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8178 i386/t-softfp to tmake_file.
8179
8180 2012-06-03 David S. Miller <davem@davemloft.net>
8181
8182 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8183 change.
8184
8185 2012-05-31 David S. Miller <davem@davemloft.net>
8186
8187 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8188 multiply and divide instructions on 32-bit when V9.
8189 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8190
8191 2012-05-29 Joseph Myers <joseph@codesourcery.com>
8192
8193 * config/arm/ieee754-df.S: Fix typos.
8194 * config/arm/ieee754-sf.S: Fix typos.
8195 * config/c6x/libunwind.S: Fix typos.
8196 * config/epiphany/udivsi3-float.c: Fix typos.
8197 * config/microblaze/muldi3_hard.S: Fix typos.
8198 * config/picochip/adddi3.S: Fix typos.
8199 * config/picochip/ashlsi3.S: Fix typos.
8200 * config/picochip/ashrsi3.S: Fix typos.
8201 * config/picochip/clzsi2.S: Fix typos.
8202 * config/picochip/cmpsi2.S: Fix typos.
8203 * config/picochip/divmod15.S: Fix typos.
8204 * config/picochip/divmodhi4.S: Fix typos.
8205 * config/picochip/divmodsi4.S: Fix typos.
8206 * config/picochip/longjmp.S: Fix typos.
8207 * config/picochip/lshrsi3.S: Fix typos.
8208 * config/picochip/parityhi2.S: Fix typos.
8209 * config/picochip/popcounthi2.S: Fix typos.
8210 * config/picochip/setjmp.S: Fix typos.
8211 * config/picochip/subdi3.S: Fix typos.
8212 * config/picochip/ucmpsi2.S: Fix typos.
8213 * config/picochip/udivmodhi4.S: Fix typos.
8214 * config/picochip/udivmodsi4.S: Fix typos.
8215 * config/spu/divv2df3.c: Fix typos.
8216 * config/spu/mfc_multi_tag_release.c: Fix typos.
8217 * config/spu/mfc_tag_release.c: Fix typos.
8218 * configure.ac: Fix typos.
8219 * configure: Regenerate.
8220
8221 2012-05-25 Ian Lance Taylor <iant@google.com>
8222
8223 * config/i386/morestack.S (__morestack_non_split): Check whether
8224 caller is varargs and needs %bp to hold the stack frame on return.
8225
8226 2012-05-25 Olivier Hainque <hainque@adacore.com>
8227
8228 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8229 sequence in the non pic case on VxWorks.
8230
8231 2012-05-24 Olivier Hainque <hainque@adacore.com>
8232
8233 * Makefile.in: Move dependency on install-unwind_h from
8234 "install-leaf" to "install".
8235
8236 2012-05-24 Olivier Hainque <hainque@adacore.com>
8237
8238 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8239 Use a separate command for stamp removals.
8240
8241 2012-05-21 Andrew Pinski <apinski@cavium.com>
8242
8243 PR bootstrap/53183
8244 * configure.ac: Define the default includes to being none.
8245 * configure: Regenerate.
8246
8247 2012-05-16 Olivier Hainque <hainque@adacore.com>
8248
8249 * Makefile.in (install-unwind_h): Rename into ...
8250 (install-unwind_h-forbuild): New target.
8251 (all): Use it instead of the former install-unwind_h.
8252 (install-unwind_h): Reinstate, copy to user install destination
8253 for include files, not to the internal gcc object directory one.
8254 (install-leaf): Depend on it.
8255
8256 2012-05-15 Olivier Hainque <hainque@adacore.com>
8257
8258 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8259 register numbers. LR_REGNO replaces R_LR.
8260 (ucontext_for): New, helper for ...
8261 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8262 and 5.3 of ...
8263 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8264
8265 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8266
8267 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8268 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8269 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8270 i386/t-cpuinfo ...
8271 (i[34567]86-*-*, x86_64-*-*): ... here.
8272
8273 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8274 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8275
8276 * config/i386/i386-cpuinfo.c: Rename to ...
8277 * config/i386/cpuinfo.c: ... this.
8278 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8279
8280 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8281 (libgcc_cv_init_priority): New test.
8282 * configure: Regenerate.
8283 * config.in: New file.
8284 * Makefile.in (clean): Rename config.h to auto-target.h.
8285 (config.h): Likewise.
8286 (stamp-h): Likewise.
8287
8288 * config/i386/cpuinfo.c (auto-target.h): Include.
8289 (CONSTRUCTOR_PRIORITY): Define.
8290 (__cpu_indicator_init): Use it.
8291
8292 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8293
8294 * longlong.h: Use a URL instead of an FSF postal address.
8295 Replace spaces with tab.
8296
8297 2012-05-08 Teresa Johnson <tejohnson@google.com>
8298
8299 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8300 (__gcov_dump): Ditto.
8301 (gcov_dump_complete): New global variable.
8302 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8303 (__gcov_flush): Outline functionality now in gcov_clear.
8304 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8305
8306 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8307
8308 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8309 (mips*-*-linux*): Include mips/t-tpbit when long double is
8310 16 bytes long.
8311
8312 2012-04-25 Sriraman Tallam <tmsriram@google.com>
8313
8314 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8315 (get_available_features): New argument. Check for AVX2.
8316 (__cpu_indicator_init): Modify call to get_available_features.
8317
8318 2012-04-25 Alan Modra <amodra@gmail.com>
8319
8320 * config/rs6000/crtsavevr.S: New file.
8321 * config/rs6000/crtrestvr.S: New file.
8322 * config/rs6000/t-savresfgpr: Build the above.
8323 * config/rs6000/t-netbsd: Likewise.
8324
8325 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8326
8327 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8328
8329 2012-04-24 Sriraman Tallam <tmsriram@google.com>
8330
8331 * libgcc/config/i386/i386-cpuinfo.c: New file.
8332 * libgcc/config/i386/t-cpuinfo: New file.
8333 * libgcc/config.host: Include t-cpuinfo.
8334 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8335
8336 2012-04-24 Chao-ying Fu <fu@mips.com>
8337
8338 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8339
8340 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8341
8342 struct siginfo vs. siginfo_t
8343
8344 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8345 siginfo_t instead of struct siginfo.
8346 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8347 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8348 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8349 (ia64_handle_unwabi): Likewise.
8350 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8351 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8352 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8353 (sh_fallback_frame_state): Likewise.
8354 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8355 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8356
8357 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8358
8359 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8360 system call number.
8361
8362 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8363
8364 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8365 if it hasn't been previously saved.
8366
8367 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8368
8369 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8370 only for glibc.
8371
8372 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
8373
8374 PR target/52737
8375 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8376 instead of __AVR_HAVE_8BIT_SP__.
8377
8378 2012-03-26 Tristan Gingold <gingold@adacore.com>
8379
8380 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8381 (unw_table_entry): Use unw_word instead of unsigned long.
8382 (_Unwind_FindTableEntry): Likewise.
8383 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8384 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8385 (_Unwind_FindTableEntry): Likewise.
8386 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8387 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8388 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8389 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8390 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8391 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8392 (uw_init_context_1, uw_install_context): Likewise.
8393 (unw_word): Move to unwind-ia64.h
8394
8395 2012-03-26 Tristan Gingold <gingold@adacore.com>
8396
8397 * config/vms/vms-ucrt0.c: Update copyright years.
8398 Add a sanity check.
8399 (___gcc_main_flags): Declare.
8400 (__main): Check flags to remap argv and exit code.
8401 * config.host (*-*-*vms*): Adjust extra_parts.
8402 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8403 (crt0.o): Add.
8404
8405 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
8406
8407 * arm/lib1funcs.asm (ctzsi2): New function.
8408 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8409 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8410 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8411 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8412 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8413 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8414
8415 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
8416
8417 * config.host: Add bits to support powerpc64-*-freebsd*.
8418 * config/rs6000/freebsd-unwind.h: New file.
8419 * config/rs6000/t-freebsd64: New file.
8420
8421 2012-03-20 Richard Guenther <rguenther@suse.de>
8422
8423 PR gcov-profile/52627
8424 * libgcov.c (init_mx): Fix mutex name.
8425
8426 2012-03-16 Tristan Gingold <gingold@adacore.com>
8427
8428 * config/ia64/vms-unwind.h: Remove ulong (and replace
8429 it by unw_reg where used). Define unw_reg with __int64.
8430
8431 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8432
8433 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8434 Solaris 8 handling.
8435 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8436 Solaris 8 handling.
8437 (sparc_is_sighandler): Likewise.
8438
8439 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8440
8441 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8442 <= saved reg size.
8443
8444 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8445
8446 * config/arm/crtn.S: Fix typo.
8447
8448 2012-03-13 Richard Guenther <rguenther@suse.de>
8449
8450 * libgcov.c: Remove stdio.h include and NULL un-define.
8451
8452 2012-03-13 Richard Guenther <rguenther@suse.de>
8453
8454 PR target/52569
8455 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8456
8457 2012-03-13 Richard Guenther <rguenther@suse.de>
8458
8459 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8460
8461 2012-03-13 Richard Guenther <rguenther@suse.de>
8462
8463 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8464 and __gthread_mutex_init_function definitions.
8465
8466 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8467
8468 * config.host (mips*-*-openbsd*): Remove.
8469
8470 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8471
8472 * config.host: Remove alpha*-dec-osf5.1* handling.
8473 * config/alpha/gthr-posix.c: Remove.
8474 * config/alpha/libgcc-osf5.ver: Remove.
8475 * config/alpha/osf5-unwind.h: Remove.
8476 * config/alpha/t-osf-pthread: Remove.
8477 * config/alpha/t-slibgcc-osf: Remove.
8478 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8479 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8480 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8481 * mkmap-flat.awk: Remove osf_export handling.
8482
8483 2012-03-12 Richard Guenther <rguenther@suse.de>
8484
8485 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8486 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8487 (__gthread_mutex_init_function): New function.
8488 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8489
8490 PR gcov/49484
8491 * libgcov.c: Include gthr.h.
8492 (__gcov_flush_mx): New global variable.
8493 (init_mx, init_mx_once): New functions.
8494 (__gcov_flush): Protect self with a mutex.
8495 (__gcov_fork): Re-initialize mutex after forking.
8496 * unwind-dw2-fde.c: Change condition under which to use
8497 __GTHREAD_MUTEX_INIT_FUNCTION.
8498
8499 2012-03-12 Tristan Gingold <gingold@adacore.com>
8500
8501 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8502 * config/ia64/t-vms: Likewise.
8503
8504 2012-03-11 Michael Hope <michael.hope@linaro.org>
8505
8506 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8507 for Thumb-2.
8508
8509 2012-03-07 Walter Lee <walt@tilera.com>
8510
8511 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8512 "arch_atomic_".
8513 (atomic_xor): Rename and move definition to
8514 config/tilepro/atomic.h.
8515 (atomic_nand): Ditto.
8516 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8517 "arch_atomic_".
8518 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8519 (arch_atomic_nand): Ditto.
8520
8521 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8522
8523 PR target/52507
8524 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8525
8526 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8527
8528 PR target/52505
8529 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8530 from RAM.
8531
8532 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8533
8534 PR target/52461
8535 PR target/52508
8536 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8537 if RAMPZ affects reading from RAM.
8538 (__tablejump_elpm__): Ditto.
8539 (.xload): Ditto.
8540 (__movmemx_hi): Ditto.
8541 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8542 (__do_global_dtors): Ditto.
8543 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8544 (__movmemx_hi): Ditto.
8545
8546 2012-03-05 Richard Henderson <rth@redhat.com>
8547
8548 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8549 [ARM] (count_trailing_zeros): Use the builtin.
8550
8551 2012-03-01 Kai Tietz <ktietz@redhat.com>
8552
8553 * soft-fp: Imported from glibc upstream.
8554
8555 2012-02-28 Kai Tietz <ktietz@redhat.com>
8556
8557 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8558 for mingw-targets as attribute gcc_struct.
8559
8560 2012-02-28 Ian Lance Taylor <iant@google.com>
8561
8562 * generic-morestack.c (__splitstack_releasecontext): Correct call
8563 to __morestack_release_segments.
8564
8565 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8566
8567 PR target/52390
8568 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8569 for __linux__ when removing signals from __morestack_fullmask.
8570
8571 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
8572
8573 PR target/52261
8574 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8575
8576 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8577
8578 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8579 instead of HAVE_INITFINI_ARRAY.
8580 * config/ia64/crtend.S: Likewise.
8581
8582 2012-02-20 Kai Tietz <ktietz@redhat.com>
8583
8584 PR libstdc++/52300
8585 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8586
8587 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8588 to w32-unwind.h header.
8589
8590 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8591
8592 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8593 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8594 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8595 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8596
8597 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8598
8599 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8600
8601 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8602
8603 PR libitm/52220
8604 * config/darwin-crt-tm.c: Correct typo.
8605
8606 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8607 Patrick Marlier <patrick.marlier@gmail.com>
8608
8609 PR libitm/52220
8610 * config/darwin-crt-tm.c: Generate dummy functions.
8611
8612 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8613 Patrick Marlier <patrick.marlier@gmail.com>
8614
8615 PR libitm/52042
8616 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8617 (__doTMRegistrations): Call it.
8618 (__doTMdeRegistrations): Likewise.
8619
8620 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
8621 Anatoly Sokolov <aesok@post.ru>
8622 Eric Weddington <eric.weddington@atmel.com>
8623
8624 PR target/52261
8625 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8626 (__epilogue_restores__): Ditto.
8627
8628 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8629
8630 PR target/51921
8631 PR target/52205
8632 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8633 Solaris 11 and slightly reformat.
8634 (sparc_is_sighandler): Likewise.
8635
8636 2012-02-14 Walter Lee <walt@tilera.com>
8637
8638 * config.host: Handle tilegx and tilepro.
8639 * config/tilegx/sfp-machine.h: New file.
8640 * config/tilegx/sfp-machine32.h: New file.
8641 * config/tilegx/sfp-machine64.h: New file.
8642 * config/tilegx/t-crtstuff: New file.
8643 * config/tilegx/t-softfp: New file.
8644 * config/tilegx/t-tilegx: New file.
8645 * config/tilepro/atomic.c: New file.
8646 * config/tilepro/atomic.h: New file.
8647 * config/tilepro/linux-unwind.h: New file.
8648 * config/tilepro/sfp-machine.h: New file.
8649 * config/tilepro/softdivide.c: New file.
8650 * config/tilepro/softmpy.S: New file.
8651 * config/tilepro/t-crtstuff: New file.
8652 * config/tilepro/t-tilepro: New file.
8653
8654 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8655
8656 PR libstdc++/51296
8657 PR libstdc++/51906
8658 * gthr-posix.h: Allow static initializer macros to be disabled.
8659 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8660
8661 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8662
8663 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8664 Add t-slibgcc-libgcc to tmake_file.
8665 * config/mips/libgcc-mips16.ver: Revert previous patch.
8666 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8667
8668 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8669 Jayant R Sonar <jayant.sonar@kpitcummins.com>
8670
8671 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8672 * config/cr16/crti.S: New file.
8673 * config/cr16/crtlibid.S: New file.
8674 * config/cr16/crtn.S: New file.
8675 * config/cr16/lib1funcs.S: New file.
8676 * config/cr16/t-cr16: New file.
8677 * config/cr16/t-crtlibid: New file.
8678 * config/cr16/unwind-dw2.h: New file.
8679 * config/cr16/unwind-cr16.c: New file.
8680 * config/cr16/divmodhi3.c: New file.
8681
8682 2012-01-25 Alan Modra <amodra@gmail.com>
8683
8684 * config/rs6000/t-linux64: Delete. Move..
8685 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8686 * config/rs6000/t-linux: ..and libgcc flags to here.
8687
8688 2012-01-22 Douglas B Rupp <rupp@gnat.com>
8689
8690 * config.host (i[34567]86-*-interix3*):
8691 Change triplet to i[34567]86-*-interix[3-9]*.
8692 * configure: Regenerate.
8693
8694 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8695 Richard Sandiford <rdsandiford@googlemail.com>
8696
8697 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8698 * config/mips/mips16.S (__mips16_rdhwr): New function.
8699 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8700
8701 2012-01-11 Nathan Sidwell <nathan@acm.org>
8702
8703 * libgcov.c (__gcov_init): Ignore objects with no functions.
8704
8705 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
8706
8707 PR target/49868
8708 Extend __pgmx semantics to linearize memory.
8709 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8710 * config/avr/lib1funcs.S (__xload_1): New function.
8711 (__movmemx_qi, __movmemx_hi): New functions.
8712 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8713 semantics.
8714
8715 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8716
8717 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8718 purported sigacthandler address isn't null before dereferencing it.
8719 (sparc_is_sighandler): Likewise.
8720
8721 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8722
8723 PR ada/41929
8724 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8725 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8726 (sparc_is_sighandler): Likewise.
8727 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8728
8729 2012-01-06 Tristan Gingold <gingold@adacore.com>
8730
8731 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8732 compatibility thunks...
8733 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8734 (crtbeginS.o, crtendS.o): ... and these to ...
8735 * config/ia64/t-ia64-elf: ... this new file.
8736 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8737 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8738
8739 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8740
8741 * configure: Regenerate.
8742 * config/s390/t-crtstuff: Remove -fPIC.
8743
8744 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8745
8746 PR bootstrap/51006
8747 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8748 for NetBSD.
8749
8750 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8751
8752 PR target/51345
8753 * config/avr/lib1funcs.S: Remove FIXME comments.
8754 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8755
8756 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8757
8758 Implement light-weight DImode support.
8759 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8760 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8761 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8762 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8763
8764 2011-12-30 Nathan Sidwell <nathan@acm.org>
8765
8766 * libgcov.c (gcov_crc32): Remove global var.
8767 (free_fn_data): New function.
8768 (buffer_fn_data): Pass in filename, more robust error recovery.
8769 (crc32_unsigned): New function.
8770 (gcov_exit): More robust detection of new program. More robust
8771 error recovery.
8772 (__gcov_init): Do not update program's crc here.
8773
8774 2011-12-21 Tristan Gingold <gingold@adacore.com>
8775
8776 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8777
8778 2011-12-21 Ian Lance Taylor <iant@google.com>
8779
8780 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8781
8782 2011-12-20 Ian Lance Taylor <iant@google.com>
8783
8784 * config/i386/morestack.S (__morestack_non_split): If there is
8785 enough stack space already, don't split. Ask for more stack space
8786 than we required.
8787
8788 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8789
8790 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8791 `sys/sdt.h'.
8792 (_Unwind_DebugHook): New function.
8793 (uw_restore_core_regs): New define.
8794 (unwind_phase2): Use uw_restore_core_regs instead of
8795 restore_core_regs.
8796 (unwind_phase2_forced): Likewise.
8797 (__gnu_Unwind_Resume): Likewise.
8798
8799 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8800
8801 * config/alpha/linux-unwind.h: Update copyright years.
8802 (MD_FROB_UPDATE_CONTEXT): New define.
8803 (alpha_frob_update_context): New function.
8804
8805 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8806
8807 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8808 tmake_file rather replacing it.
8809
8810 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8811
8812 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8813 function is not used for PPC64.
8814 (save_world): Amend comments. Update the VRsave mask to reflect the
8815 saved regs.
8816 (rest_world): Update comments, do not clobber r10, do not use r8.
8817 (eh_rest_world_r10): Amend comments, do not use r8.
8818 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8819 no longer used, move restore of CR and target address to the end of
8820 the routine.
8821
8822 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8823
8824 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8825 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8826
8827 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8828
8829 PR target/49313
8830 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8831 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8832
8833 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8834
8835 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8836
8837 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8838
8839 PR target/49313
8840 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8841 * config/avr/lib1funcs.S (__muldi3): New function.
8842
8843 2011-12-06 Andrew Pinski <apinski@cavium.com>
8844
8845 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8846 size of func_ptr.
8847 (__frame_dummy_init_array_entry): Likewise.
8848
8849 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8850
8851 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8852
8853 PR target/51345
8854 PR target/51002
8855 * config/avr/lib1funcs.S (__prologue_saves__,
8856 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8857 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8858
8859 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8860
8861 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8862
8863 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8864
8865 PR other/51272
8866 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8867 (_ITM_deregisterTMCloneTable): Likewise.
8868 (__register_frame_info): Fix unused warning.
8869 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8870 pthread_default_stacksize_np): Likewise.
8871 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8872
8873 2011-11-29 DJ Delorie <dj@redhat.com>
8874
8875 * config.host (rl78-*-elf): New case.
8876 * config/rl78: New directory for the Renesas RL78.
8877
8878 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8879
8880 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8881 formatting.
8882
8883 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8884
8885 PR other/51022
8886 * config/rs6000/t-savresfgpr: New file.
8887 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8888 $(srcdir)/config/rs6000/eabi.S.
8889 * config/rs6000/t-ppccomm-ldbl: Remove.
8890 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8891 tmake_file.
8892 (powerpc-*-eabispe*): Likewise.
8893 (powerpc-*-eabi*): Likewise.
8894 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8895 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8896 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8897 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8898 tmake_file.
8899 (powerpc-*-eabisim*): Likewise.
8900 (powerpc-*-elf*): Likewise.
8901 (powerpc-*-eabialtivec*): Likewise.
8902 (powerpc-xilinx-eabi*): Likewise.
8903 (powerpc-*-rtems*): Likewise.
8904 (powerpcle-*-elf*): Likewise.
8905 (powerpcle-*-eabisim*): Likewise.
8906 (powerpcle-*-eabi*): Likewise.
8907
8908 2011-11-27 Ian Lance Taylor <iant@google.com>
8909
8910 * generic-morestack.c (__splitstack_find): Check for NULL old
8911 stack value.
8912 (__splitstack_resetcontext): New function.
8913 (__splitstack_releasecontext): New function.
8914 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8915
8916 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8917
8918 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8919
8920 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8921
8922 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8923
8924 2011-11-26 Richard Henderson <rth@redhat.com>
8925
8926 * config/m68k/linux-atomic.c: New file.
8927 * config/m68k/t-linux: New file.
8928 * config.host (m68k-uclinux, m68k-linux): Use it.
8929
8930 2011-11-26 Richard Henderson <rth@redhat.com>
8931
8932 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8933 (__TMC_END__): Only declare if hidden is available; in the definition,
8934 if hidden is unavailable add a null record.
8935 (deregister_tm_clones, register_tm_clones): New.
8936 (__do_global_dtors_aux, frame_dummy): Use them.
8937 (__do_global_dtors, __do_global_ctors_1): Likewise.
8938
8939 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8940
8941 * config/darwin-crt-tm.c: New file.
8942 * config.host (darwin): Build crttms.o crttme.o to provide
8943 startup and shutdown for tm clones.
8944 * config/t-darwin (crttms.o): New build rule.
8945 (crttme.o): Likewise.
8946
8947 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
8948
8949 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8950 et al.
8951
8952 2011-11-21 Richard Henderson <rth@redhat.com>
8953
8954 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8955 (__TMC_LIST__, __TMC_END__): New.
8956 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8957 (__do_global_dtors): Likewise.
8958 (frame_dummy): Call _ITM_registerTMCloneTable.
8959 (__do_global_ctors_1): Likewise.
8960
8961 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8962
8963 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8964 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8965 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8966 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8967 * config/i386/t-darwin64: Remove.
8968 * config/sh/t-netbsd (LIB2ADD): Remove.
8969
8970 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
8971
8972 PR target/49313
8973 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8974 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8975 * config/avr/lib1funcs.S (wmov): New assembler macro.
8976 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8977 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8978 (__udivmod64): New function.
8979 (__negdi2): New function.
8980
8981 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8982
8983 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8984 *-*-freebsd*aout*): Remove.
8985
8986 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8987
8988 * static-object.mk (c_flags-$o): Save c_flags.
8989 ($(base)$(objext)): Use it.
8990
8991 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8992
8993 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8994
8995 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8996
8997 PR target/49868
8998 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8999 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9000 New functions.
9001
9002 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9003
9004 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9005 functions.
9006 (aeabi_uidivmod): Likewise.
9007 (umodsi3): Likewise.
9008 (divsi3): Likewise.
9009 (aeabi_idivmod): Likewise.
9010 (modsi3): Likewise.
9011
9012 2011-11-16 Tristan Gingold <gingold@adacore.com>
9013
9014 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9015
9016 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
9017
9018 PR target/49868
9019 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9020 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9021
9022 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9023
9024 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9025 tmake_file list.
9026 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9027 * config/pa/t-stublib64: Delete.
9028
9029 2011-11-12 Richard Henderson <rth@redhat.com>
9030
9031 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9032 cast the pointer argument to _Unwind_SetGRPtr.
9033
9034 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9035
9036 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9037
9038 2011-11-09 Ian Lance Taylor <iant@google.com>
9039
9040 * generic-morestack.c: Include <string.h>.
9041 (uintptr_type): Define.
9042 (struct initial_sp): Add dont_block_signals field. Reduce size of
9043 extra array by 1.
9044 (allocate_segment): Set prev field to NULL. Don't set
9045 __morestack_current_segment or __morestack_segments.
9046 (__generic_morestack): Update current->prev and *pp after calling
9047 allocate_segment.
9048 (__morestack_block_signals): Don't do anything if
9049 dont_block_signals is set.
9050 (__morestack_unblock_signals): Likewise.
9051 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9052 uintptr_type.
9053 (__splitstack_block_signals): New function.
9054 (enum __splitstack_content_offsets): Define.
9055 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9056 (__splitstack_makecontext): New function.
9057 (__splitstack_block_signals_context): New function.
9058 (__splitstack_find_context): New function.
9059 * config/i386/morestack.S (__morestack_get_guard): New function.
9060 (__morestack_set_guard, __morestack_make_guard): New functions.
9061 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9062
9063 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9064
9065 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9066 (i[34567]86-*-mingw*): ... here.
9067 (x86_64-*-mingw*): ... here.
9068
9069 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9070
9071 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9072
9073 2011-11-07 Nathan Sidwell <nathan@acm.org>
9074
9075 * libgcov.c (struct gcov_fn_buffer): New struct.
9076 (buffer_fn_data): New helper.
9077 (gcov_exit): Rework for new gcov data structures.
9078
9079 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
9080
9081 PR target/49313
9082 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9083
9084 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9085
9086 * config.host (tmake_file): Correct comment.
9087 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9088 t-libgcc-pic.
9089 (bfin*-uclinux*): Likewise.
9090 (bfin*-linux-uclibc*): Likewise.
9091 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9092
9093 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9094 assigning.
9095 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9096 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9097 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9098 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9099 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9100 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9101 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9102 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9103 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9104 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9105 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9106 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9107 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9108
9109 * config/bfin/t-elf: Remove.
9110 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9111
9112 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9113
9114 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9115 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9116 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9117 (lm32-*-elf*): ... this.
9118 (lm32-*-rtems*): ... and this.
9119 Add to tmake_file.
9120 (m32r-*-rtems*): Add to tmake_file.
9121 (moxie-*-rtems*): Likewise.
9122 (sparc-*-rtems*): Likewise.
9123 Remove t-rtems from tmake_file.
9124 (sparc64-*-rtems*): Likewise.
9125 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9126 instead.
9127
9128 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9129
9130 PR bootstrap/50982
9131 * config/gthr-posix.h: Move ...
9132 * gthr-posix.h: ... here.
9133 * config/gthr-lynx.h: Reflect this.
9134 * config/gthr-vxworks.h: Likewise.
9135 * config/rs6000/gthr-aix.h: Likewise.
9136 * configure.ac (target_thread_file): Likewise.
9137 * configure: Regenerate.
9138
9139 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9140
9141 * config.host (arm*-*-rtemseabi*): New target.
9142
9143 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9144
9145 PR other/50991
9146 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9147 extra-parts.
9148
9149 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9150
9151 * config.host (epiphany-*-elf*): New configuration.
9152 * config/epiphany: New Directory.
9153
9154 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9155
9156 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9157 * config/avr/t-rtems: New.
9158 Filter out _exit from LIB1ASMFUNCS.
9159
9160 2011-11-04 David S. Miller <davem@davemloft.net>
9161
9162 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9163 * configure: Rebuild.
9164
9165 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9166
9167 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9168 variable.
9169
9170 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
9171
9172 PR target/50931
9173 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9174 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9175
9176 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9177
9178 PR target/50989
9179 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9180
9181 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9182
9183 * config/c6x/t-elf (LIB2ADDEH): Set.
9184 * config/c6x/t-c6x-elf: Remove.
9185
9186 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9187
9188 * config/i386/sol2-ci.S: Rename to ...
9189 * config/i386/crti.S: ... this.
9190 * config/i386/sol2-cn.S: Rename to ...
9191 * config/i386/crtn.S: ... this.
9192 * config/sparc/sol2-ci.S: Rename to ...
9193 * config/sparc/crti.S: ... this.
9194 * config/sparc/sol2-cn.S: Rename to ...
9195 * config/sparc/crtn.S: ... this.
9196 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9197 (crti.o, crtn.o): Remove.
9198
9199 2011-11-04 Tristan Gingold <gingold@adacore.com>
9200
9201 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9202
9203 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9204
9205 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9206
9207 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
9208
9209 * config.host (crisv32-*-none, cris-*-none): Remove.
9210 (crisv32-*-elf): Append to tmake_file, don't just set it.
9211 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9212
9213 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9214
9215 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9216 (ecrtn$(objext)): Likewise.
9217 (ncrti$(objext)): Likewise.
9218 (ncrtn$(objext)): Likewise.
9219
9220 2011-11-03 Andreas Schwab <schwab@redhat.com>
9221
9222 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9223
9224 2011-11-02 David S. Miller <davem@davemloft.net>
9225
9226 * configure.ac: Set host_address on sparc too.
9227 * configure: Regenerate.
9228 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9229 based upon host_address.
9230 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9231
9232 2011-11-02 Jason Merrill <jason@redhat.com>
9233
9234 * config/rs6000/t-ppccomm: Add missing \.
9235
9236 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9237
9238 * gthr-single.h, gthr.h: New files.
9239 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9240 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9241 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9242 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9243 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9244 * configure.ac (thread_header): New variable.
9245 Set it depending on target_thread_file.
9246 (gthr-default.h): Link from $thread_header.
9247 * configure: Regenerate.
9248 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9249
9250 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9251
9252 * configure.ac (tm_file_): New variable.
9253 Determine from tm_file.
9254 (tm_file, tm_defines): Substitute.
9255 * configure: Regenerate.
9256 * mkheader.sh: New file.
9257 * Makefile.in (clean): Remove libgcc_tm.h.
9258 ($(objects)): Depend on libgcc_tm.h.
9259 (libgcc_tm_defines, libgcc_tm_file): New variables.
9260 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9261 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9262 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9263 ($(extra-parts)): Depend on libgcc_tm.h.
9264 * config.host (tm_defines, tm_file): New variable.
9265 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9266 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9267 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9268 (avr-*-rtems*): Likewise.
9269 (avr-*-*): Likewise.
9270 (frv-*-elf): Likewise.
9271 (frv-*-*linux*): Likewise.
9272 (h8300-*-rtems*): Likewise.
9273 (h8300-*-elf*): Likewise.
9274 (i[34567]86-*-darwin*): Likewise.
9275 (x86_64-*-darwin*): Likewise.
9276 (rx-*-elf): Likewise.
9277 (tic6x-*-uclinux): Likewise.
9278 (tic6x-*-elf): Likewise.
9279 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9280 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9281 * config/i386/cygming-crtbegin.c: Likewise.
9282 * config/i386/cygming-crtend.c: Likewise.
9283 * config/ia64/fde-vms.c: Likewise.
9284 * config/ia64/unwind-ia64.c: Likewise.
9285 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9286 * config/rs6000/darwin-fallback.c: Likewise.
9287 * config/stormy16/lib2funcs.c: Likewise.
9288 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9289 * crtstuff.c: Likewise.
9290 * dfp-bit.h: Likewise.
9291 * emutls.c: Likewise.
9292 * fixed-bit.c: Likewise.
9293 * fp-bit.c: Likewise.
9294 * generic-morestack-thread.c: Likewise.
9295 * generic-morestack.c: Likewise.
9296 * libgcc2.c: Likewise.
9297 * libgcov.c: Likewise.
9298 * unwind-dw2-fde-dip.c: Likewise.
9299 * unwind-dw2-fde.c: Likewise.
9300 * unwind-dw2.c: Likewise.
9301 * unwind-sjlj.c: Likewise.
9302
9303 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9304
9305 * configure.ac: Include ../config/picflag.m4.
9306 (GCC_PICFLAG): Call it.
9307 Substitute.
9308 * configure: Regenerate.
9309 * Makefile.in (gcc_srcdir): Remove.
9310 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9311 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9312 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9313 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9314 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9315 Use $<.
9316 Remove comment.
9317 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9318 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9319 to refer to libgcc2.c.
9320 Use $<.
9321 * config/darwin-64.c: New file.
9322 * config/darwin-crt3.c: Remove comment.
9323 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9324 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9325 config/udivmodsi4.c: New files.
9326 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9327 config/memset.c: New files.
9328 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9329 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9330 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9331 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9332 * config/t-openbsd-thread: New file.
9333 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9334 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9335 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9336 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9337 qrnnd.S.
9338 Adapt filename.
9339 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9340 to refer to gthr-posix.c.
9341 * config/alpha/t-vms (LIB2ADD): Set.
9342 * config/alpha/vms-gcc_shell_handler.c: New file.
9343 * config/arm/bpabi.c, config/arm/fp16.c,
9344 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9345 config/arm/unaligned-funcs.c: New files.
9346 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9347 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9348 * config/arm/t-linux: Likewise.
9349 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9350 * config/arm/t-netbsd: New file.
9351 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9352 * config/arm/t-symbian (LIB2ADD_ST): Set.
9353 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9354 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9355 * config/bfin/t-elf: New file.
9356 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9357 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9358 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9359 config/c6x/ltf.c: New files.
9360 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9361 (HOST_LIBGCC2_CFLAGS): Set.
9362 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9363 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9364 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9365 New files.
9366 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9367 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9368 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9369 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9370 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9371 files.
9372 * config/frv/t-frv (LIB2ADD): Set.
9373 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9374 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9375 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9376 config/h8300/popcounthi2.c: New files.
9377 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9378 * config/i386/gthr-win32.c: New file.
9379 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9380 * config/i386/t-cygwin: Likewise.
9381 * config/i386/t-darwin, config/i386/t-darwin64,
9382 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9383 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9384 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9385 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9386 * config/ia64/quadlib.c: New file.
9387 * config/ia64/t-hpux (LIB2ADD): Set.
9388 * config/ia64/t-ia64: Add comment.
9389 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9390 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9391 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9392 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9393 * config/m32c/t-m32c (LIB2ADD): Set.
9394 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9395 * config/m32r/t-m32r: Likewise.
9396 * config/m68k/fpgnulib.c: New file.
9397 * config/m68k/t-floatlib (LIB2ADD): Set.
9398 (xfgnulib.c): New target.
9399 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9400 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9401 * config/mep/t-mep (LIB2ADD): Set.
9402 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9403 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9404 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9405 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9406 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9407 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9408 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9409 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9410 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9411 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9412 New files.
9413 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9414 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9415 * config/pa/fptr.c, config/pa/lib2funcs.S,
9416 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9417 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9418 (LIB2ADD, LIB2ADD_ST): Set.
9419 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9420 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9421 Set.
9422 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9423 * config/pdp11/t-pdp11: New file.
9424 * config/picochip/libgccExtras/adddi3.S,
9425 config/picochip/libgccExtras/ashlsi3.S,
9426 config/picochip/libgccExtras/ashrsi3.S,
9427 config/picochip/libgccExtras/clzsi2.S,
9428 config/picochip/libgccExtras/cmpsi2.S,
9429 config/picochip/libgccExtras/divmod15.S,
9430 config/picochip/libgccExtras/divmodhi4.S,
9431 config/picochip/libgccExtras/divmodsi4.S,
9432 config/picochip/libgccExtras/lshrsi3.S,
9433 config/picochip/libgccExtras/parityhi2.S,
9434 config/picochip/libgccExtras/popcounthi2.S,
9435 config/picochip/libgccExtras/subdi3.S,
9436 config/picochip/libgccExtras/ucmpsi2.S,
9437 config/picochip/libgccExtras/udivmodhi4.S,
9438 config/picochip/libgccExtras/udivmodsi4.S: New files.
9439 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9440 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9441 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9442 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9443 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9444 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9445 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9446 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9447 files.
9448 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9449 (HOST_LIBGCC2_CFLAGS): Set.
9450 * config/rs6000/t-darwin64: New file.
9451 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9452 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9453 * config/rs6000/t-ppccomm (LIB2ADD): Add
9454 $(srcdir)/config/rs6000/tramp.S.
9455 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9456 Add $(srcdir)/config/rs6000/eabi.S.
9457 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9458 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9459 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9460 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9461 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9462 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9463 * config/rs6000/tramp.S: New file.
9464 * config/s390/t-tpf: Remove.
9465 * config/sh/linux-atomic.S: New file.
9466 * config/sh/t-linux (LIB2ADD): Set.
9467 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9468 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9469 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9470 to unwind-dw2.c.
9471 (HOST_LIBGCC2_CFLAGS): Set.
9472 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9473 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9474 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9475 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9476 config/spu/mfc_multi_tag_release.c,
9477 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9478 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9479 config/spu/multi3.c: New files.
9480 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9481 (HOST_LIBGCC2_CFLAGS): Set.
9482 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9483 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9484 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9485 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9486 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9487 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9488 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9489 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9490 config/stormy16/umodsi3.c: New files.
9491 * config/xtensa/lib2funcs.S: New file.
9492 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9493 * config/xtensa/t-xtensa (LIB2ADD): Set.
9494 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9495 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9496 Add t-freebsd-thread to tmake_file for posix threads.
9497 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9498 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9499 (*-*-lynxos*): Likewise.
9500 (*-*-netbsd*): Likewise.
9501 (*-*-openbsd*): Likewise.
9502 Add t-openbsd-thread to tmake_file for posix threads.
9503 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9504 (*-*-vxworks*): Set tmake_file.
9505 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9506 (alpha*-*-freebsd*): Likewise.
9507 (alpha*-*-netbsd*): Likewise.
9508 (alpha*-*-openbsd*): Likewise.
9509 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9510 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9511 (alpha*-dec-*vms*): Likewise.
9512 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9513 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9514 (bfin*-uclinux*): Likewise.
9515 (bfin*-linux-uclibc*): Likewise.
9516 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9517 (crisv32-*-none): Likewise.
9518 (cris-*-elf): Likewise.
9519 (cris-*-none): Likewise.
9520 (cris-*-linux*, crisv32-*-linux*): Likewise.
9521 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9522 tmake_file.
9523 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9524 tmake_file.
9525 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9526 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9527 (x86_64-*-elf*): Likewise.
9528 (i[34567]86-*-nto-qnx*): Likewise.
9529 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9530 win32 threads.
9531 (x86_64-*-mingw*): Likewise.
9532 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9533 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9534 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9535 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9536 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9537 tmake_file.
9538 (mipsisa64sr71k-*-elf*): Likewise.
9539 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9540 (mips-*-elf*, mipsel-*-elf*): Likewise.
9541 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9542 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9543 (mips*-*-rtems*): Likewise.
9544 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9545 to tmake_file.
9546 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9547 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9548 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9549 (spu-*-elf*): Likewise.
9550 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9551
9552 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9553
9554 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9555 $(srcdir) to refer to $(LIB1ASMSRC).
9556 Use $<.
9557 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9558 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9559 config/arm/lib1funcs.S: New files.
9560 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9561 * config/arm/t-arm: New file.
9562 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9563 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9564 config/arm/t-strongarm-elf: New files.
9565 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9566 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9567 * config/avr/lib1funcs.S: New file.
9568 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9569 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9570 * config/c6x/lib1funcs.S: New file.
9571 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9572 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9573 * config/frv/lib1funcs.S: New file.
9574 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9575 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9576 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9577 * config/ia64/__divxf3.asm: Rename to ...
9578 * config/ia64/__divxf3.S: ... this.
9579 Adapt lib1funcs.asm filename.
9580 * config/ia64/_fixtfdi.asm: Rename to ...
9581 * config/ia64/_fixtfdi.S: ... this.
9582 Adapt lib1funcs.asm filename.
9583 * config/ia64/_fixunstfdi.asm: Rename to ...
9584 * config/ia64/_fixunstfdi.S: ... this.
9585 Adapt lib1funcs.asm filename.
9586 * config/ia64/_floatditf.asm: Rename to ...
9587 * config/ia64/_floatditf.S: ... this.
9588 Adapt lib1funcs.asm filename.
9589 * config/ia64/lib1funcs.S: New file.
9590 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9591 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9592 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9593 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9594 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9595 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9596 * config/mep/lib1funcs.S: New file.
9597 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9598 * config/mips/mips16.S: New file.
9599 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9600 * config/pa/milli64.S: New file.
9601 * config/pa/t-linux, config/pa/t-linux64: New files.
9602 * config/picochip/lib1funcs.S: New file.
9603 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9604 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9605 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9606 * config/sh/t-netbsd: New file.
9607 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9608 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9609 * config/sh/t-sh64: New file.
9610 * config/sparc/lb1spc.S: New file.
9611 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9612 filename.
9613 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9614 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9615 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9616 config/xtensa/lib1funcs.S: New files.
9617 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9618 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9619 tmake_file.
9620 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9621 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9622 (arm*-*-linux*): Likewise.
9623 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9624 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9625 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9626 (arm*-*-ecos-elf): Likewise.
9627 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9628 (arm*-*-rtems*): Likewise.
9629 (arm*-*-elf): Likewise.
9630 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9631 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9632 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9633 (bfin*-uclinux*): Likewise.
9634 (bfin*-linux-uclibc*): Likewise.
9635 (bfin*-rtems*): Likewise.
9636 (bfin*-*): Likewise.
9637 (fido-*-elf): Merge into m68k-*-elf*.
9638 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9639 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9640 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9641 (h8300-*-elf*): Likewise.
9642 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9643 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9644 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9645 (i[34567]86-*-mingw*): Likewise.
9646 (x86_64-*-mingw*): Likewise.
9647 (i[34567]86-*-interix3*): Likewise.
9648 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9649 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9650 (m68k-*-elf*): Also handle fido-*-elf.
9651 Add m68k/t-floatlib to tmake_file.
9652 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9653 (m68k-*-linux*): Likewise.
9654 (m68k-*-rtems*): Likewise.
9655 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9656 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9657 sh64*-*-*.
9658 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9659 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9660 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9661 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9662 sh/t-netbsd to tmake_file.
9663 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9664 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9665 (sh-wrs-vxworks): Likewise.
9666 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9667 *-leon[3-9]*.
9668 (v850*-*-*): Add v850/t-v850 to tmake_file.
9669 (vax-*-linux*): Add vax/t-linux to tmake_file.
9670 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9671
9672 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9673
9674 * crtstuff.c: New file.
9675 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9676 (CRTSTUFF_T_CFLAGS): Define.
9677 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9678 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9679 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9680 crtstuff.c.
9681 Use $<.
9682 (crtbeginT.o): Use $(objext).
9683 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9684 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9685 (gcc-extra-parts): Remove.
9686 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9687 Set extra_parts.
9688 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9689 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9690 Add t-crtstuff-pic to tmake_file.
9691 (*-*-lynxos*): New case.
9692 Set tmake_file, extra_parts.
9693 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9694 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9695 *-*-netbsdelf[2-9]*.
9696 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9697 (*-*-rtems*): Set extra_parts.
9698 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9699 (*-*-uclinux*): New case.
9700 Set extra_parts.
9701 (*-*-vms*): New case.
9702 Set tmake_file, extra_parts.
9703 (*-*-elf): Set extra_parts.
9704 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9705 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9706 vms/t-vms64.
9707 Set extra_parts.
9708 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9709 Set extra_parts.
9710 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9711 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9712 (arm-wrs-vxworks): Append to tmake_file.
9713 Set extra_parts.
9714 (arm*-*-uclinux*): Set extra_parts.
9715 (arm*-*-ecos-elf): Likewise.
9716 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9717 arm*-*-eabi*.
9718 (arm*-*-rtems*): Set extra_parts.
9719 (arm*-*-elf): Likewise.
9720 (avr-*-rtems*): Clear extra_parts.
9721 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9722 Set extra_parts.
9723 (bfin*-uclinux*): Likewise.
9724 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9725 (bfin*-rtems*): Append to tmake_file.
9726 Set extra_parts.
9727 (bfin*-*): Likewise.
9728 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9729 (crisv32-*-elf): ... this.
9730 (crisv32-*-none): ... this.
9731 (cris-*-elf, cris-*-none): New cases.
9732 Add cris/t-elfmulti to tmake_file.
9733 (fr30-*-elf): Append to tmake_file.
9734 Set extra_parts.
9735 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9736 Set extra_parts.
9737 (h8300-*-rtems*): Append to tmake_file.
9738 Set extra_parts.
9739 (h8300-*-elf*): Likewise.
9740 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9741 Set extra_parts.
9742 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9743 Set extra_parts.
9744 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9745 (x86_64-*-elf*): Likewise.
9746 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9747 (x86_64-*-freebsd*): Likewise.
9748 (x86_64-*-netbsd*): Likewise.
9749 (i[34567]86-*-linux*): Likewise.
9750 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9751 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9752 (x86_64-*-linux*): Likewise.
9753 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9754 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9755 tmake_file.
9756 Set extra_parts.
9757 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9758 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9759 Append to extra_parts, remove crtbegin.o, crtend.o.
9760 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9761 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9762 crtend.o, crtbeginS.o, crtendS.o.
9763 (ia64*-*-linux*): Comment extra_parts.
9764 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9765 Set extra_parts.
9766 (iq2000*-*-elf*): Clear extra_parts.
9767 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9768 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9769 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9770 (m32r-*-rtems*): ... this.
9771 Add m32r/t-m32r to tmake_file.
9772 (m68k-*-elf*): Add t-crtin to tmake_file.
9773 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9774 (mcore-*-elf): Likewise.
9775 (microblaze*-*-*): Set extra_parts.
9776 (mips*-sde-elf*): New case.
9777 Set tmake_file, extra_parts.
9778 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9779 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9780 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9781 tmake_file.
9782 Set extra_parts.
9783 (mipsisa64sr71k-*-elf*): Likewise.
9784 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9785 (mips-*-elf*, mipsel-*-elf*): Likewise.
9786 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9787 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9788 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9789 (mips*-*-rtems*): Likewise.
9790 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9791 (moxie-*-*): Split into ...
9792 (moxie-*-elf, moxie-*-uclinux*): ... this.
9793 Add to extra_parts, remove crtbegin.o, crtend.o.
9794 (moxie-*-rtems*): New case.
9795 Set tmake_file.
9796 Clear extra_parts.
9797 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9798 Set extra_parts.
9799 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9800 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9801 tmake_file.
9802 Set extra_parts.
9803 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9804 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9805 Set extra_parts.
9806 (powerpc-*-eabisim*): Likewise.
9807 (powerpc-*-elf*): Likewise.
9808 (powerpc-*-eabialtivec*): Likewise.
9809 (powerpc-xilinx-eabi*): Likewise.
9810 (powerpc-*-eabi*): Likewise.
9811 (powerpc-*-rtems*): Likewise.
9812 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9813 tmake_file.
9814 Set extra_parts.
9815 (powerpc-*-lynxos*): Add to tmake_file.
9816 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9817 rs6000/t-crtstuff, t-crtstuff-pic.
9818 Set extra_parts.
9819 (powerpcle-*-eabisim*): Likewise.
9820 (powerpcle-*-eabi*): Likewise.
9821 (rx-*-elf): Remove extra_parts.
9822 (s390x-ibm-tpf*): Set extra_parts.
9823 (score-*-elf): Set extra_parts.
9824 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9825 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9826 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9827 (sh64l*-*-netbsd*): Split into ...
9828 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9829 Add t-crtstuff-pic to tmake_file.
9830 Set extra_parts.
9831 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9832 Set extra_parts.
9833 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9834 (sparc-*-elf*): Remove t-crtin from tmake_file.
9835 Add to extra_parts, remove crtbegin.o, crtend.o.
9836 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9837 (sparc64-*-linux*): Likewise.
9838 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9839 Add to extra_parts, remove crtbegin.o, crtend.o.
9840 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9841 Add to extra_parts, remove crtbegin.o, crtend.o.
9842 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9843 Add to extra_parts, remove crtbegin.o, crtend.o.
9844 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9845 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9846 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9847 Set extra_parts.
9848 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9849 Set extra_parts.
9850 (tic6x-*-*): Change to ...
9851 (tic6x-*-elf): ... this.
9852 Set extra_parts.
9853 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9854 Set extra_parts.
9855 (am33_2.0-*-linux*): Add comment.
9856 (mep*-*-*): Add mep/t-mep to tmake_file.
9857 Set extra_parts.
9858 * config/alpha/t-vms: New file.
9859 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9860 * config/arm/crti.S, config/arm/crtn.S: New files.
9861 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9862 * config/bfin/crtlibid.S: New file.
9863 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9864 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9865 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9866 (crti.o, crtin.o): New rules.
9867 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9868 * config/c6x/t-uclinux: New file.
9869 * config/cris/t-elfmulti: New file.
9870 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9871 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9872 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9873 * config/frv/t-frv: New file.
9874 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9875 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9876 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9877 New files.
9878 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9879 refer to cygming-crtbegin.c, cygming-crtend.c.
9880 Use $<.
9881 * config/i386/t-nto: New file.
9882 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9883 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9884 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9885 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9886 Use .S extension.
9887 Use $<.
9888 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9889 (crtinitS.o): New rule.
9890 * config/ia64/vms-crtinit.S: New file.
9891 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9892 * config/m32r/initfini.c: New file.
9893 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9894 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9895 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9896 * config/mep/t-mep: New file.
9897 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9898 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9899 * config/mips/crti.S, config/mips/crtn.S: New files.
9900 * config/mips/t-crtstuff: New file.
9901 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9902 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9903 (CUSTOM_CRTIN): Set.
9904 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9905 dependencies.
9906 Use $(srcdir) to refer to crti.S, crtn.S.
9907 Use .S extension, $<.
9908 * config/moxie/crti.asm: Rename to ...
9909 * config/moxie/crti.S: ... this.
9910 * config/moxie/crtn.asm: Rename to ...
9911 * config/moxie/crtn.S: ... this.
9912 * config/moxie/t-moxie: Remove.
9913 * config/pa/stublib.c: New file.
9914 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9915 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9916 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9917 * config/rs6000/t-crtstuff: New file.
9918 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9919 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9920 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9921 Make output file explicit.
9922 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9923 Make output file explicit.
9924 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9925 Make output file explicit.
9926 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9927 Make output file explicit.
9928 * config/score/crti.S, config/score/crtn.S: New files.
9929 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9930 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9931 files.
9932 * config/sh/t-sh, config/sh/t-superh: New files.
9933 * config/sparc/t-linux64: New file.
9934 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9935 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9936 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9937 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9938 * config/t-crtin: Remove.
9939 * config/t-crtstuff-pic: New file.
9940 * config/t-sol2 (CUSTOM_CRTIN): Set.
9941 (crti.o, crtn.o): New rules.
9942 * config/vms/t-vms: New file.
9943 * config/vms/vms-ucrt0.c: New file.
9944 * config/xtensa/t-elf: New file.
9945
9946 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9947
9948 * Makefile.in (SHLIB_NM_FLAGS): Set.
9949 * mkmap-flat.awk, mkmap-symver.awk: New files.
9950 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9951 exceptions.
9952 * configure: Regenerate.
9953 * config/libgcc-glibc.ver: New file.
9954 * config/libgcc-libsystem.ver: New file.
9955 * config/t-libunwind (SHLIB_LC): Set.
9956 * config/t-linux: New file.
9957 * config/t-slibgcc (INSTALL_SHLIB): New.
9958 (SHLIB_INSTALL): Use it.
9959 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9960 to mkmap-symver.awk.
9961 (SHLIB_MAPFILES): Don't append, adapt pathname.
9962 (SHLIB_VERPFX): Set.
9963 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9964 to mkmap-symver.awk.
9965 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9966 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9967 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9968 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9969 to mkmap-flat.awk.
9970 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9971 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9972 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9973 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9974 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9975 * config/i386/libgcc-darwin.10.4.ver,
9976 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9977 New files.
9978 * config/i386/t-darwin: Remove.
9979 * config/i386/t-darwin64: Likewise.
9980 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9981 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9982 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9983 * config/i386/t-linux: New file.
9984 * config/i386/t-mingw32: New file.
9985 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9986 * config/ia64/t-glibc: Rename to ...
9987 * config/ia64/t-linux: ... this.
9988 (SHLIB_MAPFILES): Set.
9989 * config/ia64/t-glibc-libunwind: Rename to ...
9990 * config/ia64/t-linux-libunwind: ... this.
9991 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9992 * config/ia64/t-slibgcc-hpux: New file.
9993 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9994 * config/m68k/t-slibgcc-elf-ver: New file.
9995 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9996 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9997 to mkmap-flat.awk.
9998 * config/pa/t-slibgcc-hpux: New file.
9999 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10000 files.
10001 * config/rs6000/libgcc-darwin.10.4.ver,
10002 config/rs6000/libgcc-darwin.10.5.ver: New files.
10003 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10004 config/rs6000/libgcc-glibc.ver.
10005 * config/rs6000/libgcc-ppc64.ver: Rename to
10006 config/rs6000/libgcc-ibm-ldouble.ver.
10007 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10008 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10009 * config/rs6000/t-ldbl128: Rename to ...
10010 * config/rs6000/t-linux: ... this.
10011 (SHLIB_MAPFILES): Adapt filename.
10012 * config/rs6000/t-slibgcc-aix: New file.
10013 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10014 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10015 libgcc-excl.ver, libgcc-glibc.ver.
10016 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10017 * config/sparc/libgcc-glibc.ver: New file.
10018 * config/sparc/t-linux: New file.
10019 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10020 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10021 t-slibgcc-elf-ver to tmake_file.
10022 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10023 *-*-freebsd[34].
10024 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10025 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10026 t-slibgcc-elf-ver, t-linux to tmake_file.
10027 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10028 tmake_file.
10029 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10030 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10031 (alpha*-dec-*vms*): Likewise.
10032 (arm*-*-freebsd*): Append to tmake_file.
10033 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10034 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10035 arm*-*-linux-*eabi.
10036 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10037 tmake_file for arm*-*-symbianelf*.
10038 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10039 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10040 cris/t-linux.
10041 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10042 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10043 pa/t-slibgcc-dwarf-ver to tmake_file.
10044 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10045 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10046 (hppa*64*-*-hpux11*): Likewise.
10047 (hppa[12]*-*-hpux11*): Likewise.
10048 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10049 i386/t-crtpc, i386/t-crtfm.
10050 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10051 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10052 to tmake_file.
10053 Add i386/t-cygwin to tmake_file.
10054 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10055 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10056 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10057 to tmake_file.
10058 Add i386/t-mingw32 to tmake_file.
10059 (x86_64-*-mingw*): Likewise.
10060 (ia64*-*-freebsd*): Append to tmake_file.
10061 (ia64*-*-linux*): Append to tmake_file.
10062 Replace ia64/t-glibc by ia64/t-linux.
10063 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10064 system libunwind.
10065 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10066 t-slibgcc-hpux to tmake_file.
10067 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10068 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10069 (m32rle-*-linux*): Likewise.
10070 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10071 sjlj exceptions.
10072 (microblaze*-linux*): New case.
10073 Append to tmake_file, add t-slibgcc-nolc-override.
10074 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10075 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10076 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10077 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10078 rs6000/t-slibgcc-aix to tmake_file.
10079 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10080 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10081 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10082 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10083 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10084 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10085 sh*-*-linux*.
10086 (sparc-*-linux*): Append to tmake_file for *-leon*.
10087 Add sparc/t-linux to tmake_file for non-Leon targets.
10088 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10089 (tic6x-*-uclinux): New case.
10090 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10091 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10092 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10093 (am33_2.0-*-linux*): Append to tmake_file.
10094 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10095 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10096 x86_64-*-kfreebsd*-gnu.
10097 Add i386/t-linux to tmake_file.
10098
10099 2011-10-28 Ian Lance Taylor <iant@google.com>
10100
10101 * config/i386/morestack.S: Correct CFI information to do proper
10102 returns throughout function. In 32-bit mode, save %ebx so that it
10103 is restored on unwind.
10104
10105 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10106
10107 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10108 case where B3 isn't the return register.
10109
10110 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10111 logic for doubleword pops.
10112
10113 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
10114
10115 * config/rs6000/t-freebsd: Add wildcard.
10116
10117 2011-10-21 Paul Brook <paul@codesourcery.com>
10118
10119 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10120
10121 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
10122 Eric Botcazou <ebotcazou@adacore.com>
10123
10124 PR target/50737
10125 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10126 fs->signal_frame to 1.
10127
10128 2011-10-07 Ian Lance Taylor <iant@google.com>
10129
10130 * generic-morestack-thread.c: #include <errno.h>.
10131
10132 2011-10-07 Ian Lance Taylor <iant@google.com>
10133
10134 PR target/46093
10135 * generic-morestack.c (__generic_morestack): Make sure the segment
10136 is large enough for both the stack frame and the copied
10137 parameters.
10138
10139 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10140
10141 PR bootstrap/49804
10142 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10143 extra_parts.
10144
10145 2011-09-28 Nick Clifton <nickc@redhat.com>
10146
10147 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10148 64-bit doubles are not enabled.
10149 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10150 and floatunsisf functions.
10151
10152 2011-09-13 Paul Brook <paul@codesourcery.com>
10153
10154 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10155 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10156 * unwind-arm-common.inc: New file.
10157 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10158 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10159 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10160 * config/c6x/libunwind.S: New file.
10161 * config/c6x/pr-support.c: New file.
10162 * config/c6x/unwind-c6x.c: New file.
10163 * config/c6x/unwind-c6x.h: New file.
10164 * config/c6x/t-c6x-elf: New file.
10165
10166 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
10167
10168 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10169 (ASM_DIVZERO): Ditto.
10170 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10171
10172 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10173
10174 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10175
10176 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10177
10178 PR target/50090
10179 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10180 instead of an assembly one.
10181
10182 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
10183
10184 PR bootstrap/50047
10185 * Makefile.in (install-unwind_h): Create
10186 $(gcc_objdir)/include/unwind.h atomically.
10187
10188 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10189
10190 * Makefile.in (install-unwind_h): Remove destination file first.
10191
10192 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10193
10194 * sync.c: New file.
10195 * config/mips/t-mips16: New file.
10196 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10197 (mips*-*-linux*): Likewise.
10198 (mips*-sde-elf*): Likewise.
10199 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10200 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10201 Add mips/t-mips16 to tmake_file.
10202 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10203 (mips-*-elf*): Likewise.
10204 (mips64-*-elf*): Likewise.
10205 (mips64orion-*-elf*): Likewise.
10206 (mips*-*-rtems*): Likewise.
10207 (mipstx39-*-elf*): Likewise.
10208 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10209 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10210 LIBGCC_SYNC_CFLAGS.
10211 Use $(srcdir) to refer to sync.c.
10212 Use $<.
10213 ($(libgcc-sync-funcs-o)): Likewise.
10214 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10215 ($(libgcc-sync-funcs-s-o)): Likewise.
10216
10217 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10218
10219 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10220 t-libunwind.
10221
10222 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10223
10224 PR other/48007
10225 * config/i386/value-unwind.h: New.
10226
10227 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10228
10229 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10230 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10231 Add to tmake_file rather than overriding it.
10232
10233 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10234
10235 * config/t-softfp: Remove.
10236 * soft-fp: Moved from ../gcc/config.
10237 * soft-fp/README: Remove t-softfp reference.
10238 * soft-fp/t-softfp: Move to config/t-softfp.
10239 (softfp_machine_header): Remove.
10240 (softfp_file_list): Remove config subdir.
10241 (soft-fp-objects): New variable.
10242 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10243 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10244 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10245 * config/t-softfp-excl: New file.
10246 * config/t-softfp-sfdf: New file.
10247 * config/t-softfp-tf: New file.
10248 * config/no-sfp-machine.h: New file.
10249 * config/arm/sfp-machine.h: New file.
10250 * config/arm/t-softfp: New file.
10251 * config/c6x/sfp-machine.h: New file.
10252 * config/i386/32/t-fprules-softfp: Rename to ...
10253 * config/i386/32/t-softfp: ... this.
10254 (tifunctions, LIB2ADD): Remove.
10255 (softfp_int_modes): Override.
10256 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10257 subdir.
10258 * config/i386/64/eqtf2.c: Likewise.
10259 * config/i386/64/getf2.c: Likewise.
10260 * config/i386/64/letf2.c: Likewise.
10261 * config/ia64/sft-machine.h: New file.
10262 * config/ia64/t-fprules-softfp: Rename to ...
10263 * config/ia64/t-softfp: ... this.
10264 * config/lm32/sfp-machine.h: New file.
10265 * config/moxie/t-moxie-softfp: Remove.
10266 * config/rs6000/ibm-ldouble-format: New file.
10267 * config/rs6000/ibm-ldouble.c: New file.
10268 * config/rs6000/libgcc-ppc-glibc.ver: New file
10269 * config/rs6000/libgcc-ppc64.ver: New file
10270 * config/rs6000/sfp-machine.h: New file.
10271 * config/rs6000/t-freebsd: New file.
10272 * config/rs6000/t-ibm-ldouble: New file.
10273 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10274 libgcc-ppc-glibc.ver.
10275 * config/rs6000/t-linux64: New file.
10276 * config/rs6000/t-ppccomm (LIB2ADD): Add
10277 $(srcdir)/config/rs6000/ibm-ldouble.c.
10278 * config/rs6000/t-ppccomm-ldbl: New file.
10279 * config/score/sfp-machine.h: New file.
10280 * config.host (sfp_machine_header): Explain.
10281 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10282 t-softfp to tmake_file.
10283 (arm*-*-uclinux*): Likewise.
10284 (arm*-*-ecos-elf): Likewise.
10285 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10286 (arm*-*-rtems*): Likewise.
10287 (arm*-*-elf): Likewise.
10288 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10289 in tmake_file.
10290 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10291 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10292 (lm32-*-uclinux*): Likewise.
10293 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10294 t-softfp-excl, t-softfp.
10295 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10296 (powerpc64-*-darwin*): Likewise.
10297 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10298 to tmake_file.
10299 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10300 tmake_file.
10301 (powerpc-*-eabisim*): Likewise.
10302 (powerpc-*-elf*): Likewise.
10303 (powerpc-*-eabialtivec*): Likewise.
10304 (powerpc-xilinx-eabi*): Likewise.
10305 (powerpc-*-rtems*): Likewise.
10306 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10307 t-softfp-excl, t-softfp to tmake_file.
10308 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10309 rs6000/t-ppccomm-ldbl to tmake_file.
10310 (powerpcle-*-elf*): Likewise.
10311 (powerpcle-*-eabisim*): Likewise.
10312 (powerpcle-*-eabi*): Likewise.
10313 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10314 rs6000/t-ibm-ldouble to tmake_file.
10315 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10316 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10317 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10318 (tic6x-*-*): Likewise.
10319 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10320 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10321 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10322 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10323 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10324 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10325 t-softfp to tmake_file.
10326 * configure.ac (sfp_machine_header): Provide default if unset.
10327 Substitute.
10328 Link sfp-machine.h to config/$sfp_machine_header.
10329 * configure: Regenerate.
10330
10331 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10332
10333 * Makefile.in (double_type_size, long_double_type_size): Set.
10334 Remove $(fpbit-in-libgcc) support.
10335 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10336 (fpbit-src): New variable.
10337 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10338 Compile with -DFLOAT $(FPBIT_CFLAGS).
10339 Use $<.
10340 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10341 Compile with $(FPBIT_CFLAGS).
10342 Use $<.
10343 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10344 Compile with -DFLOAT $(TPBIT_CFLAGS).
10345 Use $<.
10346 * configure.ac (double_type_size, long_double_type_size):
10347 Determine and substitute.
10348 * configure: Regenerate.
10349 * fp-bit.c, fp-bit.h: New files.
10350 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10351 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10352 * config/mips/t-mips: New file.
10353 * config/mips/t-sdemtk: New file.
10354 * config/rs6000/ppc64-fp.c: New file.
10355 * config/rs6000/t-darwin (LIB2ADD): Add
10356 $(srcdir)/config/rs6000/ppc64-fp.c.
10357 * config/rs6000/t-ppc64-fp: New file.
10358 * config/rx/rx-lib.h: New file.
10359 * config/rx/t-rx (FPBIT): Set to true.
10360 ($(gcc_objdir)/fp-bit.c): Remove.
10361 (DPBIT): Set to true only with -m64bit-doubles.
10362 ($(gcc_objdir)/dp-bit.c): Remove.
10363 * config/sparc/t-softfp: Remove.
10364 * config/spu/t-elf: New file.
10365 * config/t-fdpbit, config/t-fpbit: New files.
10366 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10367 (mips*-*-*): Likewise.
10368 (arm-wrs-vxworks): Likewise.
10369 (arm*-*-freebsd*): Likewise.
10370 (avr-*-rtems*): Add t-fpbit to tmake_file.
10371 (avr-*-*): Likewise.
10372 (bfin*-elf*): Add t-fdpbit to tmake_file.
10373 (bfin*-uclinux*): Likewise.
10374 (bfin*-linux-uclibc*): Likewise.
10375 (bfin*-rtems*): New case.
10376 Add t-fdpbit to tmake_file.
10377 (bfin*-*): Add t-fdpbit to tmake_file.
10378 (crisv32-*-elf): Likewise.
10379 (cris-*-linux*): Likewise.
10380 (fr30-*-elf): Likewise.
10381 (frv-*-elf, frv-*-*linux*): Likewise.
10382 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10383 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10384 (m32r-*-elf*): Likewise.
10385 (m32rle-*-elf*): Likewise.
10386 (m32r-*-linux*): Likewise.
10387 (m32rle-*-linux*): Likewise.
10388 (mcore-*-elf): Add t-fdpbit to tmake_file.
10389 (microblaze*-*-*): Likewise.
10390 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10391 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10392 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10393 Fix typo.
10394 Add mips/t-tpbit to tmake-file.
10395 (mips*-*-linux*): Fix typo.
10396 (mips*-sde-elf*): New case
10397 Add mips/t-sdemtk unless using newlib.
10398 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10399 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10400 (mn10300-*-*): Likewise.
10401 (pdp11-*-*): Likewise.
10402 (picochip-*-*): Add t-fpbit to tmake_file.
10403 (powerpc-*-eabisimaltivec*): Likewise.
10404 (powerpc-*-eabisim*): Likewise.
10405 (powerpc-*-elf*): Likewise.
10406 (powerpc-*-eabialtivec*): Likewise.
10407 (powerpc-xilinx-eabi*): New case.
10408 Add t-fdpbit to tmake_file.
10409 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10410 (powerpc-*-rtems*): Likewise.
10411 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10412 tmake_file.
10413 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10414 tmake_file.
10415 (powerpc-*-lynxos*): Likewise.
10416 (powerpcle-*-elf*): Likewise.
10417 (powerpcle-*-eabisim*): Likewise.
10418 (powerpcle-*-eabi*): Likewise.
10419 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10420 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10421 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10422 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10423 (rx-*-elf): Add t-fdpbit to tmake_file.
10424 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10425 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10426 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10427 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10428 sh*-*-netbsd*.
10429 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10430 (sh-wrs-vxworks): Likewise.
10431 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10432 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10433 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10434 (sparc64-*-rtems*): ... new case.
10435 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10436 (spu-*-elf*): Likewise.
10437 Add spu/t-elf to tmake_file.
10438 (v850*-*-*): Add t-fdpbit to tmake_file.
10439 (xstormy16-*-elf): Likewise.
10440 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10441 (mep*-*-*): Likewise.
10442
10443 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10444
10445 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10446 variables.
10447 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10448 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10449 (install-unwind_h): New target.
10450 (all): Depend on it.
10451 * config.host (unwind_header): New variable.
10452 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10453 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10454 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10455 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10456 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10457 Set unwind_header.
10458 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10459 Set unwind_header.
10460 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10461 arm*-*-eabi*.
10462 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10463 Set unwind_header.
10464 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10465 (ia64*-*-freebsd*): Likewise.
10466 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10467 tmake_file.
10468 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10469 $with_system_libunwind.
10470 (ia64*-*-hpux*): Set tmake_file.
10471 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10472 (picochip-*-*): Set tmake_file.
10473 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10474 md_unwind_header.
10475 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10476 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10477 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10478 (xtensa*-*-elf*): Set tmake_file.
10479 (xtensa*-*-linux*): Likewise.
10480 * configure.ac: Include ../config/unwind_ipinfo.m4.
10481 Call GCC_CHECK_UNWIND_GETIPINFO.
10482 Link unwind.h to $unwind_header.
10483 * configure: Regenerate.
10484 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10485 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10486 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10487 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10488 * config/unwind-dw2-fde-darwin.c: New file.
10489 * config/arm/libunwind.S, config/arm/pr-support.c,
10490 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10491 config/arm/unwind-arm.h,: New files.
10492 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10493 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10494 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10495 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10496 config/ia64/unwind-ia64.h: New files.
10497 * config/picochip/t-picochip: New file.
10498 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10499 files.
10500 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10501 * config/s390/t-tpf (LIB2ADDEH): Remove.
10502 * config/t-darwin (LIB2ADDEH): Set.
10503 * config/t-eh-dw2-dip: New file.
10504 * config/t-libunwind, config/t-libunwind-elf: New files.
10505 * config/t-sol2 (LIB2ADDEH): Remove.
10506 * config/xtensa/t-xtensa: New file.
10507
10508 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10509
10510 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10511 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10512 long long to check rt_sigreturn syscall.
10513
10514 2011-08-02 Alan Modra <amodra@gmail.com>
10515
10516 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10517 Restore for indirect call bcrtl from correct stack slot, and only
10518 if cfa+40 isn't valid.
10519
10520 2011-08-01 Julian Brown <julian@codesourcery.com>
10521
10522 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10523 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10524 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10525
10526 2011-08-01 Julian Brown <julian@codesourcery.com>
10527
10528 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10529 (libgcc-std.ver.in): Use above.
10530 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10531 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10532 throughout file.
10533 * config/t-fixedpoint-gnu-prefix: New file.
10534 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10535 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10536 instead of __PFX__.
10537
10538 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10539
10540 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10541 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10542 for x86-64. Properly check __x86_64__ and __LP64__.
10543
10544 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10545
10546 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10547 version.
10548 (_FP_WS_TYPE): Likewise.
10549 (_FP_I_TYPE): Likewise.
10550
10551 2011-07-28 Alan Modra <amodra@gmail.com>
10552
10553 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10554 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10555 in a plt call stub. Do restore r2 if stopped on bctrl.
10556
10557 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10558
10559 * config.host (i[3456x]86-*-netware*): Remove.
10560 * config/i386/netware-crt0.c, config/i386/t-nwld,
10561 config/i386/t-slibgcc-nwld: Remove.
10562
10563 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10564
10565 * config.host: Handle tic6x-*-*.
10566 * config/c6x/c6x-abi.h: New file.
10567
10568 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10569
10570 * config/i386/crtprec.c: New file.
10571 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10572 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10573 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10574 (x86_64-*-darwin*): Likewise.
10575 (i[34567]86-*-solaris2*: Likewise.
10576
10577 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10578
10579 * config/alpha/crtfastmath.c: New file.
10580 * config/i386/crtfastmath.c: New file.
10581 * config/ia64/crtfastmath.c: New file.
10582 * config/mips/crtfastmath.c: New file.
10583 * config/sparc/crtfastmath.c: New file.
10584
10585 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10586 crtfastmath.c.
10587 Add -frandom-seed=gcc-crtfastmath.
10588 * config/alpha/t-crtfm: Remove.
10589 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10590 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10591
10592 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10593 (alpha*-dec-osf5.1*): Likewise.
10594 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10595 Add crtfastmath.o to extra_parts.
10596 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10597 Add crtfastmath.o to extra_parts.
10598 (x86_64-*-darwin*): Likewise.
10599 (x86_64-*-mingw*): Likewise.
10600 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10601 (ia64*-*-freebsd*): Likewise.
10602 (ia64*-*-linux*): Likewise.
10603 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10604 Add crtfastmath.o to extra_parts.
10605
10606 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10607
10608 * config/darwin-crt3.o: New file.
10609 * config/rs6000/darwin-crt2.c: New file.
10610 * config/t-darwin: New file.
10611 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10612 (crt2.o): New rule.
10613 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10614 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10615 (powerpc64-*-darwin*): Likewise.
10616
10617 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10618
10619 * config/i386/netware-crt0.c: New file.
10620 * config/i386/t-nwld: Rename to ...
10621 * config/i386/t-slibgcc-nwld: ... this.
10622 * config/i386/t-nwld: New file.
10623 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10624 tmake_file.
10625 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10626 extra_parts.
10627
10628 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10629
10630 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10631 i386/t-crtstuff.
10632 * configure: Regenerate.
10633
10634 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10635
10636 * dfp-bit.c, dfp-bit.h: New files.
10637 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10638 variables.
10639 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10640 ($(d64pbit-o)): Likewise.
10641 ($(d128pbit-o)): Likewise.
10642 * config/t-dfprules: New file.
10643 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10644 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10645 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10646 (x86_64-*-linux*): Likewise.
10647 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10648 (i[34567]86-*-cygwin*): Likewise.
10649 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10650 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10651
10652 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10653
10654 * Makfile.in (LIBGCOV): New variable.
10655 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10656 * libgcov.c: New file.
10657
10658 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10659
10660 * fixed-bit.c, fixed-bit.h: New files.
10661 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10662 refer to fixed-bit.c.
10663
10664 2011-07-07 Joseph Myers <joseph@codesourcery.com>
10665
10666 * config.host (*local*): Remove.
10667
10668 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10669
10670 PR target/39150
10671 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10672 like i?86-*-solaris2.1[0-9]*.
10673 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10674 * configure.ac (i?86-*-solaris2*): Likewise.
10675 * configure: Regenerate.
10676
10677 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
10678
10679 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10680 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10681 md_unwind_header by splitting out of...
10682 (i[34567]86-*-linux*): ... this.
10683 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10684 Remove md_unwind_header by splitting out of...
10685 (x86_64-*-linux*): ... this.
10686
10687 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
10688
10689 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10690
10691 2011-06-28 Nick Clifton <nickc@redhat.com>
10692
10693 * config.host: Recognize all V850 variants.
10694
10695 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
10696
10697 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10698
10699 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10700
10701 * shared-object.mk (c_flags-$o): Save c_flags.
10702 ($(base)$(objext)): Use it.
10703 ($(base)_s$(objext)): Likewise.
10704
10705 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10706
10707 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10708 * libgcc-std.ver.in (GCC_4.7.0): New section.
10709
10710 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
10711
10712 PR target/49313
10713 PR target/29524
10714 * config/avr/t-avr: Fix line endings.
10715 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10716 _parityXX2.
10717
10718 2011-06-14 Olivier Hainque <hainque@adacore.com>
10719 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10720
10721 * config/mips/irix6-unwind.h: New file.
10722 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10723
10724 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10725
10726 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10727 (sparc64_fallback_frame_state): Use it.
10728 (sparc64_frob_update_context): Further adjust context.
10729 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10730 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10731 * config/sparc/sol2-cn.S: Likewise.
10732
10733 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10734
10735 * enable-execute-stack-empty.c: New file.
10736 * enable-execute-stack-mprotect.c: New file.
10737 * config/i386/enable-execute-stack-mingw32.c: New file.
10738 * config.host (enable_execute_stack): New variable.
10739 Select appropriate variants.
10740 * configure.ac: Link enable-execute-stack.c to
10741 $enable_execute_stack.
10742 * configure: Regenerate.
10743 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10744 (lib2funcs): Remove _enable_execute_stack.
10745
10746 2011-06-09 David S. Miller <davem@davemloft.net>
10747 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10748
10749 * config.host (sparc-*-linux*): Correct md_unwind_header
10750 filename.
10751 (s390x-ibm-tpf*): Fix typo.
10752
10753 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10754
10755 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10756 Add crtfastmath.o to extra_parts.
10757 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10758 mips/t-crtfm.
10759 * config/mips/t-crtfm: Remove.
10760
10761 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10762
10763 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10764
10765 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10766
10767 * config.host (sh*-*-linux*): Fix typo.
10768
10769 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10770
10771 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10772 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10773 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10774 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10775 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10776 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10777 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10778 Wrap in !__MINGW64__.
10779 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10780 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10781 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10782 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10783 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10784 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10785 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10786 Wrap in !__LP64__.
10787 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10788 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10789 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10790 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10791 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10792 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10793 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10794 * config/no-unwind.h: New file.
10795 * config.host (md_unwind_header): Document.
10796 Define.
10797 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10798 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10799 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10800 hppa[12]*-*-hpux11*): Set md_unwind_header.
10801 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10802 Set md_unwind_header.
10803 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10804 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10805 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10806 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10807 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10808 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10809 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10810 md_unwind_header.
10811 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10812 * configure: Regenerate.
10813
10814 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10815
10816 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10817 Set tmake_file, extra_parts.
10818 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10819 Remove O32 support.
10820 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10821 Remove O32 support.
10822 * config/mips/t-irix6: New file.
10823 * config/mips/t-slibgcc-irix: New file.
10824
10825 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10826
10827 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10828 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10829
10830 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10831
10832 * configure.ac (target_thread_file): Determine thread model.
10833 * configure: Regenerate.
10834 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10835 * config/alpha/t-alpha: New file.
10836 * config/alpha/t-crtfm: Use $<.
10837 * config/alpha/t-ieee: New file.
10838 * config/alpha/t-osf-pthread: New file.
10839 * config/alpha/t-slibgcc-osf: New file.
10840 * config/alpha/libgcc-osf5.ver: New file.
10841
10842 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10843
10844 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10845 tmake_file.
10846 Add crtfastmath.o to extra_parts.
10847
10848 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10849
10850 * config/gmon-sol2.c: Reindent.
10851 Cleanup comments.
10852 Remove, correct casts.
10853 Use STDERR_FILENO, NULL.
10854 (BASEADDRESS): Remove.
10855 (minbrk): Remove.
10856 (errno, sbrk): Remove declarations.
10857 (monstartup) [hp300]: Remove.
10858 (mcount): Remove.
10859
10860 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10861
10862 * Makefile.in (cpu_type): Define.
10863 * config.host (i[34567]86-*-rtems*): Handle it.
10864 (i[34567]86-*-solaris2*): Move body ...
10865 (*-*-solaris2*): ... here.
10866 New case, generalize.
10867 (sparc-*-elf*): Handle it.
10868 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10869 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10870 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10871 Fold into ...
10872 (sparc*-*-solaris2*): ... this.
10873 New case.
10874 (sparc64-*-elf*): Handle it.
10875 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10876 Merge ../gcc/config/i386/gmon-sol2.c.
10877 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10878 Use C comments.
10879 Merge ../gcc/config/i386/sol2-gc1.asm.
10880 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10881 Use C comments.
10882 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10883 Use C comments.
10884 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10885 * config/i386/t-crtstuff: New file.
10886 * config/i386/t-softfp: New file.
10887 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10888 $(T)crti.o, $(T)crtn.o): Remove.
10889 (gcrt1.o): New rule.
10890 (TARGET_LIBGCC2_CFLAGS): Remove.
10891 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10892 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10893 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10894 * config/sparc/t-sol2: New file.
10895 * config/sparc/t-crtfm: Move to ...
10896 * config/t-crtfm: ... this.
10897 Use $(cpu_type), $<.
10898 * config/t-crtin: New file.
10899 * config/sparc/t-softfp: New file.
10900 * config/sparc/t-softmul: New file.
10901 * config/t-rtems: New file.
10902 * config/t-slibgcc: New file.
10903 * config/t-slibgcc-elf-ver: New file.
10904 * config/t-slibgcc-gld: New file.
10905 * config/t-slibgcc-sld: New file.
10906 * config/t-sol2: New file.
10907 * configure.ac: Include ../config/lib-ld.m4.
10908 Call AC_LIB_PROG_LD_GNU.
10909 Substitute cpu_type.
10910 * configure: Regenerate.
10911
10912 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10913
10914 PR bootstrap/49173
10915 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10916 libgcc-std.ver in the build directory.
10917 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10918 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10919
10920 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10921
10922 * libgcc-std.ver.in: New file.
10923 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10924 variables.
10925 (libgcc-std.ver): New rule.
10926 * config/t-gnu-prefix: New file.
10927
10928 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10929
10930 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10931
10932 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10933
10934 * config/i386/darwin-lib.h: New file.
10935
10936 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10937
10938 * config/arm/symbian-lib.h: New.
10939
10940 2011-05-04 Chris Demetriou <cgd@google.com>
10941
10942 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10943 (__x86.get_pc_thunk.bx): ...this.
10944 (__morestack): Adjust for rename, remove undef of __i686.
10945
10946 2011-05-03 Chris Demetriou <cgd@google.com>
10947
10948 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10949
10950 2011-03-22 Joseph Myers <joseph@codesourcery.com>
10951
10952 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10953 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10954 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10955 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10956 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10957 Remove cases.
10958
10959 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
10960
10961 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10962 Adjust copyright year.
10963
10964 2011-03-07 Ian Lance Taylor <iant@google.com>
10965
10966 * generic-morestack.c (__splitstack_find): Adjust returned stack
10967 pointer to include all registers pushed by __morestack.
10968
10969 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10970
10971 PR target/40125
10972 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10973 (toolexecdir): Calculate and AC_SUBST.
10974 (toolexeclibdir): Likewise.
10975 * Makefile.in (target_noncanonical): Import.
10976 (toolexecdir): Likewise.
10977 (toolexeclibdir): Likewise.
10978 * configure: Regenerate.
10979
10980 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10981
10982 PR target/46040
10983 * config/arm/bpabi.h: Rename to...
10984 * config/arm/bpabi-lib.h: ...this.
10985
10986 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10987
10988 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10989 appropriate.
10990 * configure: Regenerate.
10991
10992 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10993
10994 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10995 __FLOAT_WORD_ORDER__.
10996 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10997 Delete.
10998
10999 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11000
11001 PR other/46202
11002 * Makefile.in (install-strip): New phony target.
11003
11004 2010-11-07 Ian Lance Taylor <iant@google.com>
11005
11006 PR target/46089
11007 * config/i386/morestack.S (__morestack_large_model): New
11008 function.
11009
11010 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11011
11012 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11013 Delete.
11014 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11015
11016 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11017
11018 * config/arm/bpabi.h: New file.
11019 * config/frv/frv-abi.h: New file.
11020
11021 2010-10-01 Ian Lance Taylor <iant@google.com>
11022
11023 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11024 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11025
11026 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11027
11028 PR target/45858
11029 * config.host: Add the missing `$'.
11030
11031 2010-09-30 Michael Eager <eager@eagercon.com>
11032
11033 * config.host: Add microblaze*-*-*.
11034 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11035 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11036 udivsi3.asm,umodsi3.asm}: New.
11037
11038 2010-09-28 Ian Lance Taylor <iant@google.com>
11039
11040 * configure.ac: Adjust CFI test to test assembler directly rather
11041 than checking gcc preprocessor macro.
11042 * configure: Rebuild.
11043
11044 2010-09-27 Ian Lance Taylor <iant@google.com>
11045
11046 * configure.ac: Test whether assembler supports CFI directives.
11047 * config.host: Only add t-stack and i386/t-stack-i386 to
11048 tmake_file if libgcc_cv_cfi is "yes".
11049 * configure: Rebuild.
11050
11051 2010-09-27 Ian Lance Taylor <iant@google.com>
11052
11053 * generic-morestack.h: New file.
11054 * generic-morestack.c: New file.
11055 * generic-morestack-thread.c: New file.
11056 * config/i386/morestack.S: New file.
11057 * config/t-stack: New file.
11058 * config/i386/t-stack-i386: New file.
11059 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11060 i386/t-stack-i386 to tmake_file.
11061
11062 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11063
11064 * Makefile.in (libgcc-extra-parts): Check for static archives and
11065 invoke ranlib after installing them.
11066 (gcc-extra-parts): Likewise.
11067 (install-leaf): Likewise.
11068
11069 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11070
11071 * configure: Regenerated.
11072
11073 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
11074
11075 * configure: Regenerated.
11076
11077 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11078 Andrew Pinski <pinskia@gmail.com>
11079
11080 PR target/40959
11081 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11082
11083 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11084
11085 PR target/45524
11086 * configure: Regenerated.
11087
11088 2010-09-06 Andreas Schwab <schwab@redhat.com>
11089
11090 * configure: Regenerate.
11091
11092 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11093
11094 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11095 64bit targets.
11096 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11097 for 64bit targets.
11098
11099 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
11100 Iain Sandoe <iains@gcc.gnu.org>
11101
11102 PR target/45476
11103 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11104 LIB2FUNCS_EXCLUDE functions.
11105
11106 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11107
11108 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11109 Include dfp.m4.
11110 * configure: Regenerate.
11111
11112 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
11113
11114 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11115 i386/t-freebsd to tmake_file.
11116 * config/i386/t-freebsd: New file.
11117 * config/i386/libgcc-bsd.ver: New file.
11118
11119 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11120
11121 * config.host (powerpc*-eabispe*): Set tmake_file.
11122 (powerpc*-eabi*): Likewise.
11123 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11124 crtbeginS, crtendS, crtbeginT.
11125
11126 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
11127
11128 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11129 to tmake_file. Add crtfastmath.o to extra_parts.
11130 * config/mips/t-crtfm: New.
11131
11132 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
11133
11134 * config.host (sparc64-*-rtems*): New target.
11135
11136 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11137
11138 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11139 assembler syntax.
11140
11141 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11142
11143 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11144
11145 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11146
11147 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11148 alpha-dec-osf5.0* support.
11149
11150 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
11151
11152 * config.host: Add lm32-*-rtems*.
11153
11154 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11155 Uros Bizjak <ubizjak@gmail.com>
11156
11157 PR target/39048
11158 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11159 like other remaining 32-bit x86 OSes.
11160 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11161 assembler syntax.
11162 * config/i386/libgcc-sol2.ver: New file.
11163 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11164
11165 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
11166
11167 PR c/43553
11168 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11169 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11170 is used and substitute set_use_emutls.
11171 * configure: Regenerated.
11172
11173 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11174
11175 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11176
11177 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11178
11179 PR target/38085
11180 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11181 MULTILIB_CFLAGS.
11182 ($(T)gcrt1.o): Likewise.
11183 ($(T)crt1.o): Likewise.
11184 ($(T)crti.o): Likewise.
11185 ($(T)crtn.o): Likewise.
11186
11187 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11188
11189 PR other/42980
11190 * Makefile.in (install): Use $(MAKE) string in rule, for
11191 parallel make.
11192
11193 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11194
11195 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11196 * config/mmix/t-mmix: New file.
11197 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11198
11199 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11200
11201 PR java/41991
11202 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11203 SHLIB_MAPFILES.
11204
11205 2010-01-04 Anthony Green <green@moxielogic.com>
11206
11207 * config/moxie/crti.asm, config/moxie/crtn.asm,
11208 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11209 config/moxie/t-moxie: New files.
11210 * config.host: Add t-moxie-softfp reference.
11211
11212 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
11213
11214 PR other/39888
11215 * config/t-slibgcc-darwin: Fix embedded rpaths for
11216 --enable-version-specific-runtime-libs, build extension stub
11217 libs exposing features available from current libgcc_s.
11218
11219 2009-11-11 Jon Beniston <jon@beniston.com>
11220
11221 * config.host: Add lm32 targets.
11222 * config/lm32: New directory.
11223 * config/lm32/libgcc_lm32.h: New file.
11224 * config/lm32/_mulsi3.c: New file.
11225 * config/lm32/_udivmodsi4.c: New file.
11226 * config/lm32/_divsi3.c: New file.
11227 * config/lm32/_modsi3.c: New file.
11228 * config/lm32/_udivsi3.c: New file.
11229 * config/lm32/_umodsi3.c: New file.
11230 * config/lm32/_lshrsi3.S: New file.
11231 * config/lm32/_ashrsi3.S: New file.
11232 * config/lm32/_ashlsi3.S: New file.
11233 * config/lm32/crti.S: New file.
11234 * config/lm32/crtn.S: New file.
11235 * config/lm32/t-lm32: New file.
11236 * config/lm32/t-elf: New file.
11237 * config/lm32/t-uclinux: New file.
11238
11239 2009-10-26 Nick Clifton <nickc@redhat.com>
11240
11241 * config.host: Add support for RX target.
11242 * config/rx: New directory.
11243 * config/rx/rx-abi-functions.c: New file. Supplementary
11244 functions for libgcc to support the RX ABI.
11245 * config/rx/rx-abi.h: New file. Supplementary header file for
11246 libgcc RX ABI functions.
11247 * config/rx/t-rx: New file: Makefile fragment for building
11248 libgcc for the RX.
11249
11250 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
11251
11252 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11253 constraint of y0 to "g".
11254
11255 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11256
11257 * config.host: Include the s390 makefile fragments.
11258 * config/s390/32/_fixdfdi.c: New file.
11259 * config/s390/32/_fixsfdi.c: New file.
11260 * config/s390/32/_fixtfdi.c: New file.
11261 * config/s390/32/_fixunsdfdi.c: New file.
11262 * config/s390/32/_fixunssfdi.c: New file.
11263 * config/s390/32/_fixunstfdi.c: New file.
11264 * config/s390/32/t-floattodi: New file.
11265 * config/s390/libgcc-glibc.ver: New file.
11266 * config/s390/t-crtstuff: New file.
11267 * config/s390/t-linux: New file.
11268 * config/s390/t-tpf: New file.
11269
11270 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11271
11272 * configure.ac (AC_PREREQ): Bump to 2.64.
11273
11274 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11275
11276 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11277
11278 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11279
11280 * configure: Regenerate.
11281
11282 2009-08-09 Douglas B Rupp <rupp@gnat.com>
11283
11284 * config.host (ia64-hp-*vms*): New target.
11285 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11286 with ia64-hp-*vms*.
11287
11288 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11289
11290 * configure.ac: Add snippet for maintainer-mode.
11291 * configure: Regenerate.
11292 * Makefile.in (AUTOCONF, configure_deps): New variables.
11293 ($(srcdir)/configure)): New rule, active only with maintainer
11294 mode turned on.
11295
11296 2009-06-23 DJ Delorie <dj@redhat.com>
11297
11298 Add MeP port.
11299 * config.host: Add mep support.
11300
11301 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
11302
11303 * config.host: Add i386/${host_address}/t-fprules-softfp and
11304 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11305
11306 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11307 for mingw targets.
11308 * config/i386/64/_multc3.c: Likewise.
11309 * config/i386/64/_powitf2.c: Likewise.
11310 * config/i386/64/eqtf2.c: Likewise.
11311 * config/i386/64/getf2.c: Likewise.
11312 * config/i386/64/letf2.c: Likewise.
11313 * config/i386/64/letf2.c: Likewise.
11314 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11315 unsigned long long for x64 mingw targets.
11316 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11317 (_FP_I_TYPE): Define as long long for x64 mingw target.
11318
11319 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11320
11321 * config.host (vax-*-linux*): New.
11322
11323 2009-05-31 Anthony Green <green@moxielogic.com>
11324
11325 * config.host: Add moxie support.
11326 * config/moxie/t-moxie: New file.
11327
11328 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
11329
11330 * config.host: Add i386/${host_address}/t-fprules-softfp and
11331 t-softfp to tmake_file for i[34567]86-*-cygwin*.
11332
11333 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11334
11335 * config.host: Add i386/${host_address}/t-fprules-softfp to
11336 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11337
11338 2009-04-09 Nick Clifton <nickc@redhat.com>
11339
11340 * config/ia64/tf-signs.c: Change copyright header to refer to
11341 version 3 of the GNU General Public License with version 3.1
11342 of the GCC Runtime Library Exception and to point readers at
11343 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11344 web page.
11345 * config/i386/32/tf-signs.c: Likewise.
11346 * config/libbid/_addsub_dd.c: Likewise.
11347 * config/libbid/_addsub_sd.c: Likewise.
11348 * config/libbid/_addsub_td.c: Likewise.
11349 * config/libbid/_dd_to_df.c: Likewise.
11350 * config/libbid/_dd_to_di.c: Likewise.
11351 * config/libbid/_dd_to_sd.c: Likewise.
11352 * config/libbid/_dd_to_sf.c: Likewise.
11353 * config/libbid/_dd_to_si.c: Likewise.
11354 * config/libbid/_dd_to_td.c: Likewise.
11355 * config/libbid/_dd_to_tf.c: Likewise.
11356 * config/libbid/_dd_to_udi.c: Likewise.
11357 * config/libbid/_dd_to_usi.c: Likewise.
11358 * config/libbid/_dd_to_xf.c: Likewise.
11359 * config/libbid/_df_to_dd.c: Likewise.
11360 * config/libbid/_df_to_sd.c: Likewise.
11361 * config/libbid/_df_to_td.c: Likewise.
11362 * config/libbid/_di_to_dd.c: Likewise.
11363 * config/libbid/_di_to_sd.c: Likewise.
11364 * config/libbid/_di_to_td.c: Likewise.
11365 * config/libbid/_div_dd.c: Likewise.
11366 * config/libbid/_div_sd.c: Likewise.
11367 * config/libbid/_div_td.c: Likewise.
11368 * config/libbid/_eq_dd.c: Likewise.
11369 * config/libbid/_eq_sd.c: Likewise.
11370 * config/libbid/_eq_td.c: Likewise.
11371 * config/libbid/_ge_dd.c: Likewise.
11372 * config/libbid/_ge_sd.c: Likewise.
11373 * config/libbid/_ge_td.c: Likewise.
11374 * config/libbid/_gt_dd.c: Likewise.
11375 * config/libbid/_gt_sd.c: Likewise.
11376 * config/libbid/_gt_td.c: Likewise.
11377 * config/libbid/_isinfd128.c: Likewise.
11378 * config/libbid/_isinfd32.c: Likewise.
11379 * config/libbid/_isinfd64.c: Likewise.
11380 * config/libbid/_le_dd.c: Likewise.
11381 * config/libbid/_le_sd.c: Likewise.
11382 * config/libbid/_le_td.c: Likewise.
11383 * config/libbid/_lt_dd.c: Likewise.
11384 * config/libbid/_lt_sd.c: Likewise.
11385 * config/libbid/_lt_td.c: Likewise.
11386 * config/libbid/_mul_dd.c: Likewise.
11387 * config/libbid/_mul_sd.c: Likewise.
11388 * config/libbid/_mul_td.c: Likewise.
11389 * config/libbid/_ne_dd.c: Likewise.
11390 * config/libbid/_ne_sd.c: Likewise.
11391 * config/libbid/_ne_td.c: Likewise.
11392 * config/libbid/_sd_to_dd.c: Likewise.
11393 * config/libbid/_sd_to_df.c: Likewise.
11394 * config/libbid/_sd_to_di.c: Likewise.
11395 * config/libbid/_sd_to_sf.c: Likewise.
11396 * config/libbid/_sd_to_si.c: Likewise.
11397 * config/libbid/_sd_to_td.c: Likewise.
11398 * config/libbid/_sd_to_tf.c: Likewise.
11399 * config/libbid/_sd_to_udi.c: Likewise.
11400 * config/libbid/_sd_to_usi.c: Likewise.
11401 * config/libbid/_sd_to_xf.c: Likewise.
11402 * config/libbid/_sf_to_dd.c: Likewise.
11403 * config/libbid/_sf_to_sd.c: Likewise.
11404 * config/libbid/_sf_to_td.c: Likewise.
11405 * config/libbid/_si_to_dd.c: Likewise.
11406 * config/libbid/_si_to_sd.c: Likewise.
11407 * config/libbid/_si_to_td.c: Likewise.
11408 * config/libbid/_td_to_dd.c: Likewise.
11409 * config/libbid/_td_to_df.c: Likewise.
11410 * config/libbid/_td_to_di.c: Likewise.
11411 * config/libbid/_td_to_sd.c: Likewise.
11412 * config/libbid/_td_to_sf.c: Likewise.
11413 * config/libbid/_td_to_si.c: Likewise.
11414 * config/libbid/_td_to_tf.c: Likewise.
11415 * config/libbid/_td_to_udi.c: Likewise.
11416 * config/libbid/_td_to_usi.c: Likewise.
11417 * config/libbid/_td_to_xf.c: Likewise.
11418 * config/libbid/_tf_to_dd.c: Likewise.
11419 * config/libbid/_tf_to_sd.c: Likewise.
11420 * config/libbid/_tf_to_td.c: Likewise.
11421 * config/libbid/_udi_to_dd.c: Likewise.
11422 * config/libbid/_udi_to_sd.c: Likewise.
11423 * config/libbid/_udi_to_td.c: Likewise.
11424 * config/libbid/_unord_dd.c: Likewise.
11425 * config/libbid/_unord_sd.c: Likewise.
11426 * config/libbid/_unord_td.c: Likewise.
11427 * config/libbid/_usi_to_dd.c: Likewise.
11428 * config/libbid/_usi_to_sd.c: Likewise.
11429 * config/libbid/_usi_to_td.c: Likewise.
11430 * config/libbid/_xf_to_dd.c: Likewise.
11431 * config/libbid/_xf_to_sd.c: Likewise.
11432 * config/libbid/_xf_to_td.c: Likewise.
11433 * config/libbid/bid128.c: Likewise.
11434 * config/libbid/bid128_2_str.h: Likewise.
11435 * config/libbid/bid128_2_str_macros.h: Likewise.
11436 * config/libbid/bid128_2_str_tables.c: Likewise.
11437 * config/libbid/bid128_add.c: Likewise.
11438 * config/libbid/bid128_compare.c: Likewise.
11439 * config/libbid/bid128_div.c: Likewise.
11440 * config/libbid/bid128_fma.c: Likewise.
11441 * config/libbid/bid128_logb.c: Likewise.
11442 * config/libbid/bid128_minmax.c: Likewise.
11443 * config/libbid/bid128_mul.c: Likewise.
11444 * config/libbid/bid128_next.c: Likewise.
11445 * config/libbid/bid128_noncomp.c: Likewise.
11446 * config/libbid/bid128_quantize.c: Likewise.
11447 * config/libbid/bid128_rem.c: Likewise.
11448 * config/libbid/bid128_round_integral.c: Likewise.
11449 * config/libbid/bid128_scalb.c: Likewise.
11450 * config/libbid/bid128_sqrt.c: Likewise.
11451 * config/libbid/bid128_string.c: Likewise.
11452 * config/libbid/bid128_to_int16.c: Likewise.
11453 * config/libbid/bid128_to_int32.c: Likewise.
11454 * config/libbid/bid128_to_int64.c: Likewise.
11455 * config/libbid/bid128_to_int8.c: Likewise.
11456 * config/libbid/bid128_to_uint16.c: Likewise.
11457 * config/libbid/bid128_to_uint32.c: Likewise.
11458 * config/libbid/bid128_to_uint64.c: Likewise.
11459 * config/libbid/bid128_to_uint8.c: Likewise.
11460 * config/libbid/bid32_to_bid128.c: Likewise.
11461 * config/libbid/bid32_to_bid64.c: Likewise.
11462 * config/libbid/bid64_add.c: Likewise.
11463 * config/libbid/bid64_compare.c: Likewise.
11464 * config/libbid/bid64_div.c: Likewise.
11465 * config/libbid/bid64_fma.c: Likewise.
11466 * config/libbid/bid64_logb.c: Likewise.
11467 * config/libbid/bid64_minmax.c: Likewise.
11468 * config/libbid/bid64_mul.c: Likewise.
11469 * config/libbid/bid64_next.c: Likewise.
11470 * config/libbid/bid64_noncomp.c: Likewise.
11471 * config/libbid/bid64_quantize.c: Likewise.
11472 * config/libbid/bid64_rem.c: Likewise.
11473 * config/libbid/bid64_round_integral.c: Likewise.
11474 * config/libbid/bid64_scalb.c: Likewise.
11475 * config/libbid/bid64_sqrt.c: Likewise.
11476 * config/libbid/bid64_string.c: Likewise.
11477 * config/libbid/bid64_to_bid128.c: Likewise.
11478 * config/libbid/bid64_to_int16.c: Likewise.
11479 * config/libbid/bid64_to_int32.c: Likewise.
11480 * config/libbid/bid64_to_int64.c: Likewise.
11481 * config/libbid/bid64_to_int8.c: Likewise.
11482 * config/libbid/bid64_to_uint16.c: Likewise.
11483 * config/libbid/bid64_to_uint32.c: Likewise.
11484 * config/libbid/bid64_to_uint64.c: Likewise.
11485 * config/libbid/bid64_to_uint8.c: Likewise.
11486 * config/libbid/bid_b2d.h: Likewise.
11487 * config/libbid/bid_binarydecimal.c: Likewise.
11488 * config/libbid/bid_conf.h: Likewise.
11489 * config/libbid/bid_convert_data.c: Likewise.
11490 * config/libbid/bid_decimal_data.c: Likewise.
11491 * config/libbid/bid_decimal_globals.c: Likewise.
11492 * config/libbid/bid_div_macros.h: Likewise.
11493 * config/libbid/bid_dpd.c: Likewise.
11494 * config/libbid/bid_flag_operations.c: Likewise.
11495 * config/libbid/bid_from_int.c: Likewise.
11496 * config/libbid/bid_functions.h: Likewise.
11497 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11498 * config/libbid/bid_inline_add.h: Likewise.
11499 * config/libbid/bid_internal.h: Likewise.
11500 * config/libbid/bid_round.c: Likewise.
11501 * config/libbid/bid_sqrt_macros.h: Likewise.
11502
11503 2009-04-09 Jakub Jelinek <jakub@redhat.com>
11504
11505 * Makefile.in: Change copyright header to refer to version
11506 3 of the GNU General Public License and to point readers at the
11507 COPYING3 file and the FSF's license web page.
11508 * config.host: Likewise.
11509
11510 2009-04-07 Alan Modra <amodra@bigpond.net.au>
11511
11512 * config.host: Reorder and merge to match config.gcc change.
11513
11514 2009-04-03 Alan Modra <amodra@bigpond.net.au>
11515
11516 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11517
11518 2009-03-28 Joseph Myers <joseph@codesourcery.com>
11519
11520 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11521 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11522 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11523 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11524
11525 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
11526
11527 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11528 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11529
11530 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11531
11532 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11533 ia64/t-softfp-compat to tmake_file.
11534
11535 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11536
11537 * config/ia64/__divxf3.asm: New.
11538 * config/ia64/_fixtfdi.asm: Likewise.
11539 * config/ia64/_fixunstfdi.asm: Likewise.
11540 * config/ia64/_floatditf.asm: Likewise.
11541 * config/ia64/t-fprules-softfp: Likewise.
11542 * config/ia64/t-softfp-compat: Likewise.
11543 * config/ia64/tf-signs.c: Likewise.
11544
11545 2009-01-18 Ben Elliston <bje@au.ibm.com>
11546
11547 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11548
11549 2009-01-16 Ben Elliston <bje@au.ibm.com>
11550
11551 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11552 to tmake_file.
11553
11554 2009-01-13 Ben Elliston <bje@au.ibm.com>
11555
11556 * config/t-softfp: New file.
11557 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11558 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11559
11560 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
11561
11562 * config.host: Add m32r*-*-rtems*.
11563
11564 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
11565
11566 * config.host: Add m32c*-*-rtems*.
11567
11568 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11569
11570 PR bootstrap/33100
11571 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11572 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11573 * configure: Regenerate.
11574 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11575 tmake_file here from gcc/config.gcc.
11576 Move extra_parts here from gcc/config.gcc.
11577 * config/i386/t-sol2: Move here from gcc/config/i386.
11578 Use gcc_srcdir instead of srcdir.
11579
11580 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11581
11582 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11583 case.
11584
11585 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11586
11587 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11588
11589 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11590
11591 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11592
11593 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11594
11595 Add picoChip port.
11596 * config.host: Add picochip-*-*.
11597
11598 2008-08-06 Bob Wilson <bob.wilson@acm.org>
11599
11600 * config.host: Match more processor names for Xtensa.
11601
11602 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11603
11604 * config/i386/64/t-softfp-compat: Update comments.
11605
11606 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11607
11608 * config/i386/64/_divtc3-compat.c: Moved to ...
11609 * config/i386/64/_divtc3.c: Here.
11610
11611 * config/i386/64/_multc3-compat.c: Moved to ...
11612 * config/i386/64/_multc3.c: Here.
11613
11614 * config/i386/64/_powitf2-compat.c: Moved to ...
11615 * config/i386/64/_powitf2.c: Here.
11616
11617 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11618 .c suffix instead of -compat.c.
11619
11620 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
11621
11622 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11623 (_FP_MUL_MEAT_D): Ditto.
11624 (_FP_DIV_MEAT_S): Ditto.
11625 (_FP_DIV_MEAT_D): Ditto.
11626
11627 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11628
11629 * Makefile.in: Add support for __sync_* libgcc functions.
11630
11631 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11632
11633 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11634
11635 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11636
11637 PR boostrap/36702
11638 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11639 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11640
11641 * config/i386/64/t-fprules-softfp: Moved to ...
11642 * config/i386/64/t-softfp-compat: This. New.
11643
11644 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
11645
11646 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11647 Initialize f with 0.0.
11648
11649 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11650
11651 PR target/36669
11652 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11653
11654 * config/i386/64/_divtc3-compat.c: New.
11655 * config/i386/64/_multc3-compat.c: Likewise.
11656 * config/i386/64/_powitf2-compat.c: Likewise.
11657 * config/i386/64/eqtf2.c: Likewise.
11658 * config/i386/64/getf2.c: Likewise.
11659 * config/i386/64/letf2.c: Likewise.
11660 * config/i386/64/t-fprules-softfp: Likewise.
11661
11662 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11663
11664 * config.host: Add i386/${host_address}/t-fprules-softfp to
11665 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11666 i[34567]86-*-linux*, x86_64-*-linux*.
11667
11668 * configure.ac: Set host_address to 64 or 32 for x86.
11669 * configure: Regenerated.
11670
11671 * Makefile.in (config.status): Also depend on
11672 $(srcdir)/config.host.
11673
11674 * config/i386/32/t-fprules-softfp: New.
11675 * config/i386/32/tf-signs.c: Likewise.
11676
11677 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11678
11679 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11680 Uros Bizjak <ubizjak@gmail.com>
11681
11682 * config/i386/32/sfp-machine.h: New.
11683
11684 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11685
11686 * config/rs6000/t-ppccomm: Remove rules that conflict with
11687 auto-generated rules.
11688
11689 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11690
11691 * configure.ac: sinclude override.m4.
11692 * configure: Regenerate.
11693
11694 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11695
11696 * configure: Regenerate.
11697
11698 2008-06-10 Joseph Myers <joseph@codesourcery.com>
11699
11700 * Makefile.in (DECNUMINC): Remove
11701 -I$(MULTIBUILDTOP)../../libdecnumber.
11702 * gstdint.h: New.
11703
11704 2008-06-07 Joseph Myers <joseph@codesourcery.com>
11705
11706 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11707 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11708 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11709 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11710 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11711 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11712 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11713 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11714 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11715 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11716 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11717 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11718 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11719 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11720
11721 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11722
11723 * config.host (sh2[lbe]*-*-linux*): Allow target.
11724
11725 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11726
11727 * config/rs6000/t-ppccomm: Add build rules for new files.
11728 (LIB2ADD_ST): New variable.
11729
11730 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11731
11732 PR target/34210
11733 PR target/35508
11734 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11735 * config/t-avr: New file. Build 16bit libgcc functions.
11736
11737 2008-03-02 Jakub Jelinek <jakub@redhat.com>
11738
11739 PR target/35401
11740 * config/t-slibgcc-darwin: Make install-leaf dependent on
11741 install-darwin-libgcc-stubs instead of install.
11742
11743 2008-01-25 Joseph Myers <joseph@codesourcery.com>
11744
11745 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11746 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11747 sh-*-rtemscoff*): Remove cases.
11748
11749 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11750
11751 * Makefile.in (all): Use install-leaf rather than install.
11752 (install): Split most of the rule into...
11753 (install-leaf): ...this new one.
11754
11755 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
11756 Paolo Bonzini <bonzini@gnu.org>
11757
11758 PR target/30572
11759 * Makefile.in: Use @shlib_slibdir@ substitution to get
11760 correct install name on darwin.
11761 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11762
11763 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
11764
11765 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11766 cris-*-elf and cris-*-none.
11767 (crisv32-*-linux*): Similar, as cris-*-linux*.
11768
11769 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11770
11771 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11772
11773 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11774
11775 PR regression/33926
11776 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11777 * configure: Regenerated.
11778
11779 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11780
11781 * Makefile.in (dfp-filenames): Replace decimal_globals,
11782 decimal_data, binarydecimal and convert_data with
11783 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11784 and bid_convert_data, respectively.
11785
11786 2007-09-17 Chao-ying Fu <fu@mips.com>
11787 Nigel Stephens <nigel@mips.com>
11788
11789 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11790 * Makefile.in (fixed_point): Define.
11791 Check if fixed_point is yes to build support functions.
11792 * configure.ac: Check for fixed_point support.
11793 * configure: Regenerated.
11794 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11795 funcs, modes, from, to.
11796
11797 2007-09-11 Janis Johnson <janis187@us.ibm.com
11798
11799 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11800
11801 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11802
11803 * Makefile.in (dfp-filenames): Remove decUtility, add
11804 decDouble, decPacked, decQuad, decSingle.
11805
11806 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11807
11808 * config.host : Add x86_64-elf target.
11809
11810 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11811
11812 * configure.ac (set_have_cc_tls): Add a missing =.
11813 * configure: Regenerated.
11814
11815 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11816
11817 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11818 and x86_64-*-linux*.
11819
11820 * config/t-tls: New file.
11821
11822 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11823
11824 * configure.ac: Include ../config/enable.m4 and
11825 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11826 supports TLS and substitute set_have_cc_tls.
11827 * configure: Regenerated.
11828
11829 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11830
11831 * Makefile.in: Use libbid for DFP when BID is enabled.
11832
11833 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11834
11835 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11836 extra_parts. Add config/i386/t-cygming to tmake_file.
11837 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11838
11839 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11840 Danny Smith <dannysmith@users.sourceforge.net>
11841
11842 PR target/29498
11843 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11844 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11845 * config/i386/t-crtfm: Compile crtfastmath.o with
11846 -minline-all-stringops.
11847
11848 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11849
11850 * config.host (sparc-wrs-vxworks): New target.
11851
11852 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11853
11854 * config.host: Recognize fido.
11855
11856 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11857
11858 * configure: Check host, not target, for decimal float support.
11859
11860 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11861
11862 * config/i386/t-crtpc: New file.
11863 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11864 (x86_64-*-linux*): Ditto.
11865
11866 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11867
11868 * config.host (x86_64-*-mingw*): New target.
11869
11870 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11871 H.J. Lu <hongjiu.lu@intel.com>
11872
11873 * Makefile.in (enable_decimal_float): New.
11874 (DECNUMINC): Add
11875 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11876 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11877 (decbits-filenames): This.
11878 (decbits-objects): New.
11879 (libgcc-objects): Add $(decbits-objects).
11880
11881 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11882 Substitute enable_decimal_float.
11883 * configure: Regenerated.
11884
11885 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11886
11887 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11888
11889 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11890
11891 * Makefile.in (install-info): New dummy target.
11892
11893 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11894
11895 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11896
11897 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11898
11899 * Makefile.in: Add install-html and install-pdf dummy
11900 targets.
11901
11902 2007-02-05 Roger Sayle <roger@eyesopen.com>
11903 Daniel Jacobowitz <dan@codesourcery.com>
11904
11905 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11906 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11907 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11908
11909 2007-01-29 Janis Johnson <janis187@us.ibm.com>
11910
11911 * Makefile.in (dec-filenames): Add decExcept.
11912
11913 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11914
11915 PR bootstrap/30469
11916 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11917 -fprofile-use.
11918
11919 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11920
11921 * configure.ac: Add --enable-version-specific-runtime-libs.
11922 Correct $slibdir default.
11923 * configure: Regenerated.
11924
11925 2007-01-23 Joseph Myers <joseph@codesourcery.com>
11926
11927 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11928
11929 2007-01-21 Andrew Pinski <pinskia@gmail.com>
11930
11931 PR target/30519
11932 * config.host (alpha*-*-linux*): Set extra_parts.
11933
11934 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11935
11936 * config/sh/t-linux: New.
11937 * config.host (sh*-*-linux*): Set tmake_file.
11938
11939 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11940
11941 * Makefile.in (install): Handle multilibs.
11942
11943 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11944
11945 * Makefile.in: Added .PHONY entry for documentation targets.
11946
11947 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11948
11949 * Makefile.in: Add empty info, html, dvi, pdf targets.
11950
11951 2007-01-04 Mike Stump <mrs@apple.com>
11952
11953 * Makefile.in (MAKEINFO): Remove.
11954 (PERL): Likewise.
11955
11956 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
11957
11958 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11959 * configure: Regenerate.
11960 * Makefile.in (host_subdir): Substitute it.
11961 (gcc_objdir): Use it.
11962
11963 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11964
11965 * config.host (ia64*-*-linux*): Set tmake_file.
11966
11967 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11968
11969 * Makefile.in (version): Define.
11970
11971 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11972 Paolo Bonzini <bonzini@gnu.org>
11973
11974 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11975 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11976 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11977 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11978 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11979 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11980 * configure: Generated.
11981 \f
11982 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11983
11984 Copying and distribution of this file, with or without modification,
11985 are permitted in any medium without royalty provided the copyright
11986 notice and this notice are preserved.