Add .type and .size directives to riscv libgcc functions.
[gcc.git] / libgcc / ChangeLog
1 2017-12-08 Jim Wilson <jimw@sifive.com>
2
3 * config/riscv/div.S: Use FUNC_* macros.
4 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
5 * config/riscv/save-restore.S: Likewise.
6 * config/riscv/riscv-asm.h: New.
7
8 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
9
10 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
11 * config/rs6000/_divkc3.c (__divkc3): Likewise.
12
13 PR libgcc/83112
14 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
15 correct type for all ifunc resolvers to silence -Wattribute-alias
16 warnings. Eliminate the forward declaration of the resolver
17 functions which is no longer needed.
18 (__subkf3_resolve): Likewise.
19 (__mulkf3_resolve): Likewise.
20 (__divkf3_resolve): Likewise.
21 (__negkf2_resolve): Likewise.
22 (__eqkf2_resolve): Likewise.
23 (__nekf2_resolve): Likewise.
24 (__gekf2_resolve): Likewise.
25 (__gtkf2_resolve): Likewise.
26 (__lekf2_resolve): Likewise.
27 (__ltkf2_resolve): Likewise.
28 (__unordkf2_resolve): Likewise.
29 (__extendsfkf2_resolve): Likewise.
30 (__extenddfkf2_resolve): Likewise.
31 (__trunckfsf2_resolve): Likewise.
32 (__trunckfdf2_resolve): Likewise.
33 (__fixkfsi_resolve): Likewise.
34 (__fixkfdi_resolve): Likewise.
35 (__fixunskfsi_resolve): Likewise.
36 (__fixunskfdi_resolve): Likewise.
37 (__floatsikf_resolve): Likewise.
38 (__floatdikf_resolve): Likewise.
39 (__floatunsikf_resolve): Likewise.
40 (__floatundikf_resolve): Likewise.
41 (__extendkftf2_resolve): Likewise.
42 (__trunctfkf2_resolve): Likewise.
43
44 PR libgcc/83103
45 * config/rs6000/quad-float128.h (TF): Don't define if long double
46 is IEEE 128-bit floating point.
47 (TCtype): Define as either TCmode or KCmode, depending on whether
48 long double is IEEE 128-bit floating point.
49 (__mulkc3_sw): Add declarations for software/hardware versions of
50 complex multiply/divide.
51 (__divkc3_sw): Likewise.
52 (__mulkc3_hw): Likewise.
53 (__divkc3_hw): Likewise.
54 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
55 handlers to switch between using software emulation and hardware
56 float128 instructions, build the complex multiply/divide functions
57 for both software and hardware support.
58 * config/rs6000/_divkc3.c (_divkc3): Likewise.
59 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
60 (__divkc3_resolve): Likewise.
61 (__mulkc3): Likewise.
62 (__divkc3): Likewise.
63 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
64 (fp128_hw_src): Likewise.
65 (fp128_hw_static_obj): Likewise.
66 (fp128_hw_shared_obj): Likewise.
67 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
68 _mulkc3.c and _divkc3.c, changing the function name.
69 (_divkc3-hw.c): Likewise.
70 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
71 and _divkc3-hw.c.
72
73 2017-11-26 Julia Koval <julia.koval@intel.com>
74
75 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
76 * config/i386/cpuinfo.h (processor_subtypes): Add
77 INTEL_COREI7_CANNONLAKE.
78
79 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
80
81 PR bootstrap/83015
82 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
83 parameter.
84 * config/xtensa/unwind-dw2-xtensa.c: Likewise
85 * config/ia64/unwind-ia64.c: Add frames parameter.
86 * unwind-sjlj.c: Likewise.
87
88 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
89
90 * config/i386/linux-unwind.h: Include
91 config/i386/shadow-stack-unwind.h.
92 * config/i386/shadow-stack-unwind.h: New file.
93 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
94 pass it to _Unwind_Frames_Extra.
95 * unwind-generic.h (_Unwind_Frames_Extra): New.
96 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
97 parameter. Add local variable frames to count number of frames.
98 (_Unwind_ForcedUnwind_Phase2): Likewise.
99 (_Unwind_RaiseException): Add local variable frames to count
100 number of frames, pass it to _Unwind_RaiseException_Phase2 and
101 uw_install_context.
102 (_Unwind_ForcedUnwind): Likewise.
103 (_Unwind_Resume): Likewise.
104 (_Unwind_Resume_or_Rethrow): Likewise.
105
106 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
107
108 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
109 (CET_FLAGS): New.
110 * config/i386/morestack.S: Include <cet.h>.
111 (__morestack_large_model): Add _CET_ENDBR at function entrance.
112 * config/i386/resms64.h: Include <cet.h>.
113 * config/i386/resms64f.h: Likewise.
114 * config/i386/resms64fx.h: Likewise.
115 * config/i386/resms64x.h: Likewise.
116 * config/i386/savms64.h: Likewise.
117 * config/i386/savms64f.h: Likewise.
118 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
119 (CRTSTUFF_T_CFLAGS): Likewise.
120 * configure.ac: Include ../config/cet.m4.
121 Set and substitute CET_FLAGS.
122 * configure: Regenerated.
123
124 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
125
126 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
127 renaming.
128 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
129 * configure.ac (libgcc_cv_solaris_crts): Likewise.
130 * configure: Regenerate.
131
132 2017-11-07 Tom de Vries <tom@codesourcery.com>
133
134 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
135 after "do {} while (0)".
136
137 2017-11-07 Tom de Vries <tom@codesourcery.com>
138
139 PR other/82784
140 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
141 semicolon after "do {} while (0)".
142 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
143 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
144 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
145 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
146
147 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
148
149 PR libgcc/82635
150 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
151 sysctl to determine whether we're in a trampoline.
152 Keep the pattern matching method for systems without
153 KERN_PROC_SIGTRAMP sysctl.
154
155 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
156 Vineet Gupta <vgupta@synopsys.com>
157
158 * config.host (arc*-*-linux*): Set md_unwind_header variable.
159 * config/arc/linux-unwind-reg.def: New file.
160 * config/arc/linux-unwind-reg.h: Likewise.
161
162 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
163
164 * config/rl78/subdi3.S: New assembly file.
165 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
166
167 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
168
169 * config/rl78/adddi3.S: New assembly file.
170 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
171
172 2017-10-13 Jakub Jelinek <jakub@redhat.com>
173
174 PR target/82274
175 * libgcc2.c (__mulvDI3): If both operands have
176 the same highpart of -1 and the topmost bit of lowpart is 0,
177 multiplication overflows even if both lowparts are 0.
178
179 2017-09-28 James Bowman <james.bowman@ftdichip.com>
180
181 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
182
183 2017-09-26 Joseph Myers <joseph@codesourcery.com>
184
185 * config/microblaze/crti.S, config/microblaze/crtn.S,
186 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
187 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
188 config/microblaze/mulsi3.S,
189 config/microblaze/stack_overflow_exit.S,
190 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
191 config/pa/milli64.S: Add .note.GNU-stack section.
192
193 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
194
195 * configure.ac: Add Check for HAVE_AS_AVX.
196 * config.in: Regenerate.
197 * configure: Likewise.
198 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
199 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
200 Correct out-of-date comments.
201
202 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
203
204 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
205 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
206
207 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
208
209 * config/i386/i386-asm.h (PASTE2): New macro.
210 (ASMNAME): Modify to use PASTE2.
211 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
212 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
213 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
214 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
215 * config/i386/resms64f.S: Likewise.
216 * config/i386/resms64fx.S: Likewise.
217 * config/i386/resms64x.S: Likewise.
218 * config/i386/savms64.S: Likewise.
219 * config/i386/savms64f.S: Likewise.
220 * config/i386/avx_resms64.S: New file that only defines a macro and
221 includes it's corresponding header file.
222 * config/i386/avx_resms64f.S: Likewise.
223 * config/i386/avx_resms64fx.S: Likewise.
224 * config/i386/avx_resms64x.S: Likewise.
225 * config/i386/avx_savms64.S: Likewise.
226 * config/i386/avx_savms64f.S: Likewise.
227 * config/i386/sse_resms64.S: Likewise.
228 * config/i386/sse_resms64f.S: Likewise.
229 * config/i386/sse_resms64fx.S: Likewise.
230 * config/i386/sse_resms64x.S: Likewise.
231 * config/i386/sse_savms64.S: Likewise.
232 * config/i386/sse_savms64f.S: Likewise.
233 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
234
235 2017-09-01 Olivier Hainque <hainque@adacore.com>
236
237 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
238
239 2017-08-31 Olivier Hainque <hainque@adacore.com>
240
241 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
242 match as powerpc-wrs-vxworks*.
243
244 2017-08-07 Jonathan Yong <10walls@gmail.com>
245
246 * config.host (*-cygwin): Include file from mingw
247 config/i386/enable-execute-stack-mingw32.c
248
249 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
250 Doug Rupp <rupp@adacore.com>
251 Olivier Hainque <hainque@adacore.com>
252
253 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
254 as well as arm-wrs-vxworks.
255 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
256 LIB2ADDEH.
257 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
258 __exidx_start and __exidx_end for downloadable modules.
259
260 2017-08-01 Olivier Hainque <hainque@adacore.com>
261
262 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
263 * config/t-vxworks7: Likewise.
264
265 2017-08-01 Olivier Hainque <hainque@adacore.com>
266
267 * config/t-vxworks: Instead of redefining LIB2ADD,
268 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
269
270 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
271
272 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
273
274 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
275
276 PR testsuite/80759
277 * config.host: include i386/t-msabi for darwin and solaris.
278 * config/i386/i386-asm.h
279 (ELFFN): Rename to FN_TYPE.
280 (FN_SIZE): New macro.
281 (FN_HIDDEN): Likewise.
282 (ASMNAME): Likewise.
283 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
284 .globl.
285 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
286 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
287 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
288 .macro.
289 * config/i386/resms64f.S: Likewise.
290 * config/i386/resms64fx.S: Likewise.
291 * config/i386/resms64x.S: Likewise.
292 * config/i386/savms64.S: Likewise.
293 * config/i386/savms64f.S: Likewise.
294
295 2017-07-19 John Marino <gnugcc@marino.st>
296
297 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
298
299 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
300
301 PR target/81193
302 * configure.ac (PowerPC float128 hardware support): Test whether
303 we can use __builtin_cpu_supports before enabling the ifunc
304 handler.
305 * configure: Regenerate.
306
307 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
308
309 * config.host: Remove uclibc from arc target spec.
310
311 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
312
313 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
314
315 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
316
317 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
318 (have_ieee_hw_p): Delete function.
319 (SW_OR_HW) Use __builtin_cpu_supports().
320
321 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
322
323 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
324
325 2017-07-03 Olivier Hainque <hainque@adacore.com>
326
327 * config/t-vxworks7: New file, really.
328
329 2017-06-28 Joseph Myers <joseph@codesourcery.com>
330
331 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
332 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
333 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
334 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
335 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
336 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
337 config/pa/linux-unwind.h (pa32_fallback_frame_state),
338 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
339 config/sh/linux-unwind.h (sh_fallback_frame_state),
340 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
341 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
342 ucontext_t instead of struct ucontext.
343
344 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
345
346 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
347 (x86_64-wrs-vxworks7): Likewise.
348
349 2017-06-27 Olivier Hainque <hainque@adacore.com>
350
351 * config/t-vxworks7: New file.
352 * config.host (*-*-vxworks7): Use it.
353
354 2017-06-22 Matt Turner <mattst88@gmail.com>
355
356 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
357 skylake case.
358
359 2017-06-21 Richard Biener <rguenther@suse.de>
360
361 PR gcov-profile/81080
362 * configure.ac: Add AC_SYS_LARGEFILE.
363 * libgcov.h: Include auto-target.h before tsystem.h to pick
364 up _FILE_OFFSET_BITS which might differ for multilibs.
365 * config.in: Regenerate.
366 * configure: Likewise.
367
368 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
369
370 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
371
372 2017-06-09 Martin Liska <mliska@suse.cz>
373
374 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
375 Reset __gcov_indirect_call_callee to NULL.
376
377 2017-06-08 Olivier Hainque <hainque@adacore.com>
378
379 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
380 the set of -I options, support for direct inclusions of net/uio.h
381 by VxWorks header files via ioLib.h.
382
383 2017-06-07 Tony Reix <tony.reix@atos.net>
384 Matthieu Sarter <matthieu.sarter.external@atos.net>
385 David Edelsohn <dje.gcc@gmail.com>
386
387 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
388 unconditionally.
389 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
390 AIX 7.2 support.
391
392 2017-06-02 Olivier Hainque <hainque@adacore.com>
393
394 * config/vxlib.c (__gthread_once): Add missing value to
395 return statement.
396
397 2017-05-30 Olivier Hainque <hainque@adacore.com>
398
399 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
400 dollar sign before $(MULTIDIR).
401
402 2017-05-26 Richard Henderson <rth@redhat.com>
403
404 PR libgcc/80037
405 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
406
407 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
408
409 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
410 _Unwind_SetIP available as functions for arm*-*-freebsd*.
411 * config/arm/unwind-arm.c: Implement the above.
412
413 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
414
415 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
416 section for a non-executable stack.
417
418 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
419
420 PR target/80600
421 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
422
423 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
424
425 * config.host: Add i386/t-msabi to i386/t-linux file list.
426 * config/i386/i386-asm.h: New file.
427 * config/i386/resms64.S: New file.
428 * config/i386/resms64f.S: New file.
429 * config/i386/resms64fx.S: New file.
430 * config/i386/resms64x.S: New file.
431 * config/i386/savms64.S: New file.
432 * config/i386/savms64f.S: New file.
433 * config/i386/t-msabi: New file.
434
435 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
436
437 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
438 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
439
440 2017-05-05 Joshua Conner <joshconner@google.com>
441
442 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
443 pc-relative indirect handling for fuchsia.
444 * config/t-slibgcc-fuchsia: New file.
445 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
446 x86_64-*-fuchsia*): Add definitions.
447
448 2017-04-19 Martin Liska <mliska@suse.cz>
449
450 PR gcov-profile/80435
451 * Makefile.in: Install gcov.h.
452 * gcov.h: New file.
453 * libgcov.h: Use the header and make __gcov_flush publicly
454 visible.
455
456 2017-04-18 Martin Liska <mliska@suse.cz>
457
458 PR gcov-profile/78783
459 * libgcov-driver.c (gcov_get_filename): New function.
460
461 2017-04-07 Jeff Law <law@redhat.com>
462
463 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
464 target makefile fragment.
465 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
466
467 2017-04-07 Alan Modra <amodra@gmail.com>
468
469 PR target/45053
470 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
471
472 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
473
474 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
475
476 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
477
478 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
479
480 2017-03-10 John Marino <gnugcc@marino.st>
481
482 * config/aarch64/freebsd-unwind.h: New file.
483 * config.host: Add aarch64-*-freebsd unwinder.
484
485 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
486
487 * config/rs6000/crtrestvr.s: Use .machine altivec.
488 * config/rs6000/crtsavevr.s: Ditto.
489
490 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
491
492 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
493 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
494 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
495 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
496 * configure: Regenerate.
497 * config.in: Regenerate.
498
499 2017-03-02 Jonathan Yong <10walls@gmail.com>
500
501 * config/i386/gthr-win32.h: Define NOGDI before
502 windows.h include to prevent w32api CC_NONE macro
503 clash with libgfortran.
504
505 2017-03-02 Jonathan Yong <10walls@gmail.com>
506
507 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
508
509 2017-02-16 Andrew Pinski <apinski@cavium.com>
510
511 * config/aarch64/value-unwind.h: New file.
512 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
513 to tm_file.
514
515 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
516
517 * config.host: Add RISC-V tuples.
518 * config/riscv/atomic.c: New file.
519 * config/riscv/crti.S: Likewise.
520 * config/riscv/crtn.S: Likewise.
521 * config/riscv/div.S: Likewise.
522 * config/riscv/linux-unwind.h: Likewise.
523 * config/riscv/muldi3.S: Likewise.
524 * config/riscv/multi3.S: Likewise.
525 * config/riscv/save-restore.S: Likewise.
526 * config/riscv/sfp-machine.h: Likewise.
527 * config/riscv/t-elf: Likewise.
528 * config/riscv/t-elf32: Likewise.
529 * config/riscv/t-elf64: Likewise.
530 * config/riscv/t-softfp32: Likewise.
531 * config/riscv/t-softfp64: Likewise.
532
533 2017-01-24 Jakub Jelinek <jakub@redhat.com>
534
535 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
536 /* FALLTHRU */ comments.
537
538 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
539
540 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
541
542 2017-01-20 Jiong Wang <jiong.wang@arm.com>
543
544 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
545 * unwind-dw2.c (execute_cfa_program): Only multiplexing
546 DW_CFA_GNU_window_save for AArch64 and LP64.
547
548 2017-01-20 Jiong Wang <jiong.wang@arm.com>
549
550 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
551
552 2017-01-19 Jiong Wang <jiong.wang@arm.com>
553
554 * config/aarch64/aarch64-unwind.h: New file.
555 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
556 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
557 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
558 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
559 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
560 (aarch64_post_extract_frame_addr): New function.
561 (aarch64_post_frob_eh_handler_addr): New function.
562 (aarch64_frob_update_context): New function.
563 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
564 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
565 aarch64*-*-freebsd*):
566 Initialize md_unwind_header to include aarch64-unwind.h.
567 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
568 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
569 __aarch64__.
570 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
571 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
572 (uw_frob_return_addr): New function.
573 (uw_install_context): Use uw_frob_return_addr.
574
575 2017-01-17 Jakub Jelinek <jakub@redhat.com>
576
577 PR other/79046
578 * configure.ac: Add GCC_BASE_VER.
579 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
580 version from BASE-VER file.
581 * configure: Regenerated.
582
583 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
584
585 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
586 libmul_f5.a): Filter archived prerequisites.
587
588 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
589
590 * config/i386/cpuinfo.h (processor_features): Add
591 FEATURE_AVX512VPOPCNTDQ.
592 * config/i386/cpuinfo.c (get_available_features): Habdle new
593 feature.
594
595 2017-01-04 Joseph Myers <joseph@codesourcery.com>
596
597 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
598 payload if [__mips_nan2008].
599
600 2017-01-04 Alan Modra <amodra@gmail.com>
601
602 * Makefile.in (configure_deps): Update.
603 * configure: Regenerate.
604
605 2017-01-01 Jakub Jelinek <jakub@redhat.com>
606
607 Update copyright years.
608
609 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
610
611 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
612 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
613 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
614
615 2016-12-17 Matthias Klose <doko@ubuntu.com>
616
617 * config/arc/gmon: Remove empty directory.
618
619 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
620
621 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
622 crtgend.
623 (arc*-*-elf*): Likewise.
624 * config/arc/t-arc: Remove old gmon lib targets.
625 * config/arc/crtg.S: Remove.
626 * config/arc/crtgend.S: Likewise.
627 * config/arc/gmon/atomic.h: Likewise.
628 * config/arc/gmon/auxreg.h: Likewise.
629 * config/arc/gmon/dcache_linesz.S: Likewise.
630 * config/arc/gmon/gmon.c: Likewise.
631 * config/arc/gmon/machine-gmon.h: Likewise.
632 * config/arc/gmon/mcount.c: Likewise.
633 * config/arc/gmon/prof-freq-stub.S: Likewise.
634 * config/arc/gmon/prof-freq.c: Likewise.
635 * config/arc/gmon/profil.S: Likewise.
636 * config/arc/gmon/sys/gmon.h: Likewise.
637 * config/arc/gmon/sys/gmon_out.h: Likewise.
638 * config/arc/t-arc-newlib: Likewise.
639 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
640
641 2016-12-12 George Spelvin <linux@sciencehorizons.net>
642
643 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
644
645 2016-12-12 George Spelvin <linux@sciencehorizons.net>
646
647 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
648 R16 instead of push + pop.
649 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
650
651 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
652
653 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
654 tmake_file.
655
656 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
657
658 * config.host (arc*-*-linux-uclibc*): Use default extra
659 objects. Include linux-android header.
660 * config/arc/crti.S (_init): Declare symbol as function.
661 (_fini): Likewise.
662
663 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
664
665 PR fortran/78379
666 * config/i386/cpuinfo.c: Move denums for processor vendors,
667 processor type, processor subtypes and declaration of
668 struct __processor_model into
669 * config/i386/cpuinfo.h: New header file.
670
671 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
672 Thomas Preud'homme <thomas.preudhomme@arm.com>
673
674 * config/arm/cmse_nonsecure_call.S: New.
675 * config/arm/t-arm: Compile cmse_nonsecure_call.S
676
677 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
678 Thomas Preud'homme <thomas.preudhomme@arm.com>
679
680 * config/arm/t-arm (HAVE_CMSE): New.
681 * config/arm/cmse.c: New.
682
683 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
684
685 PR gcc/74748
686 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
687 use generic linker version information on Blackfin.
688
689 PR gcc/74748
690 * libgcc/mkmap-symver.awk: add support for skip_underscore
691
692 2016-11-27 Iain Sandoe <iain@codesourcery.com>
693 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
694
695 PR target/67710
696 * config/t-darwin: Default builds to 10.5 codegen.
697
698 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
699
700 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
701 (_FP_NANSIGN_H): Likewise.
702 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
703 (softfp_truncations): Add tfhf.
704 (softfp_extras): Add required conversion functions.
705
706 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
707 Matthew Wahab <matthew.wahab@arm.com>
708
709 * config/arm/fp16.c (binary64): New.
710 (__gnu_d2h_internal): New.
711 (__gnu_d2h_ieee): New.
712 (__gnu_d2h_alternative): New.
713
714 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
715 Matthew Wahab <matthew.wahab@arm.com>
716
717 * config/arm/fp16.c (struct format): New.
718 (binary32): New.
719 (__gnu_float2h_internal): New. Body moved from
720 __gnu_f2h_internal and generalize.
721 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
722 Call it with binary32.
723
724 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
725
726 * soft-fp/extendhftf2.c: Update from glibc.
727 * soft-fp/fixhfti.c: Likewise.
728 * soft-fp/fixunshfti.c: Likewise.
729 * soft-fp/floattihf.c: Likewise.
730 * soft-fp/floatuntihf.c: Likewise.
731 * soft-fp/half.h: Likewise.
732 * soft-fp/trunctfhf2.c: Likewise.
733
734 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
735
736 PR libgcc/77813
737 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
738 __TMC_END__ behind a passthrough asm.
739
740 2016-11-18 Walter Lee <walt@tilera.com>
741
742 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
743
744 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
745
746 * config/i386/cpuinfo.c (processor_features): Add
747 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
748
749 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
750
751 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
752 (__ARC_NORM__): Use instead ARC_OPTFPE.
753 * config/arc/fp-hack.h: Likewise.
754 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
755 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
756
757 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
758
759 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
760 * config/nvptx/mgomp.c: New file.
761 * config/nvptx/t-nvptx: Add mgomp.c
762
763 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
764
765 PR libgcc/68468
766 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
767
768 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
769
770 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
771 of checking for cpus.
772 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
773 (__modsi3, __clzsi2): Likewise.
774
775 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
776
777 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
778 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
779 * config/i386/t-cpuinfo-static: New.
780
781 2016-11-03 Martin Liska <mliska@suse.cz>
782
783 * libgcov-profiler.c (__gcov_time_profiler): Remove.
784 (__gcov_time_profiler_atomic): Likewise.
785
786 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
787
788 PR libgcc/78067
789 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
790 count_leading_zeros.
791
792 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
793
794 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
795 * libgcc2.c (__divmoddi4): New function.
796 * libgcc2.h (__divmoddi4): Declare.
797 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
798 and __PFX_divmodti4.
799
800 2016-10-24 Florian Weimer <fweimer@redhat.com>
801
802 PR libgcc/78064
803 * unwind-c.c: Include auto-target.h.
804
805 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
806
807 * config/pa/pa64-hpux-lib.h: New file.
808 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
809 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
810 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
811 hppa*64*-*-hpux11*.
812
813 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
814
815 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
816 definition.
817 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
818 definition.
819 * config/xtensa/t-windowed (LIB2ADDEH): Use
820 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
821 or xtensa/t-linux.
822
823 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
824
825 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
826 __ieee754_sqrt): New functions.
827 (__divdf3): Add implementation with new FPU instructions under
828 #if XCHAL_HAVE_DFP_DIV.
829 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
830 __ieee754_sqrtf): New functions.
831 (__divsf3): Add implementation with new FPU instructions under
832 #if XCHAL_HAVE_FP_DIV.
833 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
834 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
835
836 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
837
838 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
839 equivalent.
840 * config/tilepro/atomic.c: Likewise and stop casting model to
841 enum memmodel.
842
843 2016-10-10 Joseph Myers <joseph@codesourcery.com>
844
845 PR target/77586
846 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
847 soft-fp.
848
849 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
850
851 * config.host: Add support for aarch64-*-freebsd*.
852
853 2016-10-05 Andreas Schwab <schwab@suse.de>
854
855 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
856 (.section .init_array): Don't call __do_jv_register_classes.
857 (.section .init): Likewise.
858
859 2016-10-04 Jakub Jelinek <jakub@redhat.com>
860
861 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
862 (__JCR_LIST__): Remove.
863 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
864 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
865 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
866 * config/ia64/crtend.S (__JCR_END__): Remove.
867 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
868 conditionals.
869 (__JCR_LIST__, __JCR_END__): Remove.
870 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
871 (__do_global_ctors_1): Likewise.
872
873 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
874
875 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
876 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
877
878 2016-09-27 Martin Liska <mliska@suse.cz>
879
880 PR gcov-profile/7970
881 PR gcov-profile/16855
882 PR gcov-profile/44779
883 * libgcov-driver.c (__gcov_init): Do not register a atexit
884 handler.
885 (__gcov_exit): Rename from gcov_exit.
886 * libgcov.h (__gcov_exit): Declare.
887
888 2016-09-27 Martin Liska <mliska@suse.cz>
889
890 PR bootstrap/77749
891 * Makefile.in: Remove _gcov_merge_delta.
892 * libgcov-merge.c (void __gcov_merge_delta): Remove.
893 * libgcov-util.c (__gcov_delta_counter_op): Remove.
894 * libgcov.h: Remove declaration of __gcov_merge_delta.
895
896 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
897
898 * configure.ac: Do not create links, only substitute the filenames.
899 * configure: Regenerate.
900 * Makefile.in: Assign the substitution results to variables.
901 (LIBGCC_LINKS): Define.
902 (enable-execute-stack.c): New rule.
903 (unwind.h): Likewise.
904 (md-unwind-support.h): Likewise.
905 (sfp-machine.h): Likewise.
906 (gthr-default.h): Likewise.
907 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
908 unwind.h as prerequisite of install-unwind_h-forbuild.
909
910 2016-09-16 Jakub Jelinek <jakub@redhat.com>
911
912 PR libgcc/71744
913 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
914 is not the primary registry and atomics are available.
915 (any_objects_registered): New variable.
916 (__register_frame_info_bases, __register_frame_info_table_bases):
917 Atomically store 1 to any_objects_registered after registering first
918 unwind info.
919 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
920
921 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
922
923 PR target/63250
924 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
925 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
926 (HFtype): Likewise.
927 (HCtype): Likewise.
928 (__divhc3): Likewise.
929 (__mulhc3): Likewise.
930 * libgcc2.c: Support _mulhc3 and _divhc3.
931
932 2016-09-07 Joseph Myers <joseph@codesourcery.com>
933
934 PR libgcc/77519
935 * libgcc2.c (NOTRUNC): Invert settings.
936
937 2016-09-06 Martin Liska <mliska@suse.cz>
938
939 PR gcov-profile/77378
940 PR gcov-profile/77466
941 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
942 conditionaly enable/disable *_atomic functions.
943
944 2016-08-26 Joseph Myers <joseph@codesourcery.com>
945
946 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
947 where not already enabled.
948
949 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
950
951 * config/mips/linux-unwind.h: Use sys/syscall.h.
952
953 2016-08-16 Joseph Myers <joseph@codesourcery.com>
954
955 PR libgcc/77265
956 * soft-fp/adddf3.c: Update from glibc.
957 * soft-fp/addsf3.c: Likewise.
958 * soft-fp/addtf3.c: Likewise.
959 * soft-fp/divdf3.c: Likewise.
960 * soft-fp/divsf3.c: Likewise.
961 * soft-fp/divtf3.c: Likewise.
962 * soft-fp/double.h: Likewise.
963 * soft-fp/eqdf2.c: Likewise.
964 * soft-fp/eqsf2.c: Likewise.
965 * soft-fp/eqtf2.c: Likewise.
966 * soft-fp/extenddftf2.c: Likewise.
967 * soft-fp/extended.h: Likewise.
968 * soft-fp/extendsfdf2.c: Likewise.
969 * soft-fp/extendsftf2.c: Likewise.
970 * soft-fp/extendxftf2.c: Likewise.
971 * soft-fp/fixdfdi.c: Likewise.
972 * soft-fp/fixdfsi.c: Likewise.
973 * soft-fp/fixdfti.c: Likewise.
974 * soft-fp/fixsfdi.c: Likewise.
975 * soft-fp/fixsfsi.c: Likewise.
976 * soft-fp/fixsfti.c: Likewise.
977 * soft-fp/fixtfdi.c: Likewise.
978 * soft-fp/fixtfsi.c: Likewise.
979 * soft-fp/fixtfti.c: Likewise.
980 * soft-fp/fixunsdfdi.c: Likewise.
981 * soft-fp/fixunsdfsi.c: Likewise.
982 * soft-fp/fixunsdfti.c: Likewise.
983 * soft-fp/fixunssfdi.c: Likewise.
984 * soft-fp/fixunssfsi.c: Likewise.
985 * soft-fp/fixunssfti.c: Likewise.
986 * soft-fp/fixunstfdi.c: Likewise.
987 * soft-fp/fixunstfsi.c: Likewise.
988 * soft-fp/fixunstfti.c: Likewise.
989 * soft-fp/floatdidf.c: Likewise.
990 * soft-fp/floatdisf.c: Likewise.
991 * soft-fp/floatditf.c: Likewise.
992 * soft-fp/floatsidf.c: Likewise.
993 * soft-fp/floatsisf.c: Likewise.
994 * soft-fp/floatsitf.c: Likewise.
995 * soft-fp/floattidf.c: Likewise.
996 * soft-fp/floattisf.c: Likewise.
997 * soft-fp/floattitf.c: Likewise.
998 * soft-fp/floatundidf.c: Likewise.
999 * soft-fp/floatundisf.c: Likewise.
1000 * soft-fp/floatunditf.c: Likewise.
1001 * soft-fp/floatunsidf.c: Likewise.
1002 * soft-fp/floatunsisf.c: Likewise.
1003 * soft-fp/floatunsitf.c: Likewise.
1004 * soft-fp/floatuntidf.c: Likewise.
1005 * soft-fp/floatuntisf.c: Likewise.
1006 * soft-fp/floatuntitf.c: Likewise.
1007 * soft-fp/gedf2.c: Likewise.
1008 * soft-fp/gesf2.c: Likewise.
1009 * soft-fp/getf2.c: Likewise.
1010 * soft-fp/ledf2.c: Likewise.
1011 * soft-fp/lesf2.c: Likewise.
1012 * soft-fp/letf2.c: Likewise.
1013 * soft-fp/muldf3.c: Likewise.
1014 * soft-fp/mulsf3.c: Likewise.
1015 * soft-fp/multf3.c: Likewise.
1016 * soft-fp/negdf2.c: Likewise.
1017 * soft-fp/negsf2.c: Likewise.
1018 * soft-fp/negtf2.c: Likewise.
1019 * soft-fp/op-1.h: Likewise.
1020 * soft-fp/op-2.h: Likewise.
1021 * soft-fp/op-4.h: Likewise.
1022 * soft-fp/op-8.h: Likewise.
1023 * soft-fp/op-common.h: Likewise.
1024 * soft-fp/quad.h: Likewise.
1025 * soft-fp/single.h: Likewise.
1026 * soft-fp/soft-fp.h: Likewise.
1027 * soft-fp/subdf3.c: Likewise.
1028 * soft-fp/subsf3.c: Likewise.
1029 * soft-fp/subtf3.c: Likewise.
1030 * soft-fp/truncdfsf2.c: Likewise.
1031 * soft-fp/trunctfdf2.c: Likewise.
1032 * soft-fp/trunctfsf2.c: Likewise.
1033 * soft-fp/trunctfxf2.c: Likewise.
1034 * soft-fp/unorddf2.c: Likewise.
1035 * soft-fp/unordsf2.c: Likewise.
1036 * soft-fp/unordtf2.c: Likewise.
1037
1038 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1039
1040 PR gcov-profile/67097
1041 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1042
1043 2016-08-10 Martin Liska <mliska@suse.cz>
1044
1045 PR gcov-profile/58306
1046 * Makefile.in: New functions (modules) are added.
1047 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1048 function.
1049 (__gcov_pow2_profiler_atomic): New function.
1050 (__gcov_one_value_profiler_body): New argument is instroduced.
1051 (__gcov_one_value_profiler): Call with the new argument.
1052 (__gcov_one_value_profiler_atomic): Likewise.
1053 (__gcov_indirect_call_profiler_v2): Likewise.
1054 (__gcov_time_profiler_atomic): New function.
1055 (__gcov_average_profiler_atomic): Likewise.
1056 (__gcov_ior_profiler_atomic): Likewise.
1057 * libgcov.h: Declare the aforementioned functions.
1058
1059 2016-08-09 Martin Liska <mliska@suse.cz>
1060
1061 * libgcov-util.c: Fix typo and GNU coding style.
1062
1063 2016-08-09 Martin Liska <mliska@suse.cz>
1064
1065 * Makefile.in: Remove __gcov_indirect_call_profiler.
1066 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1067 function.
1068 * libgcov.h: And the declaration of the function.
1069
1070 2016-08-09 Martin Liska <mliska@suse.cz>
1071
1072 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1073 power of two.
1074
1075 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1076
1077 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1078 * config/rs6000/_mulkc3.c: Likewise.
1079
1080 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
1081
1082 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1083 zero_reg as previous call to __umulhisi3 already cleared it.
1084
1085 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1086
1087 PR target/59833
1088 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1089
1090 2016-07-19 Nick Clifton <nickc@redhat.com>
1091
1092 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1093 Add crtinit.o and crtfini.o to extra_parts.
1094
1095 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1096
1097 * config/rs6000/_divkc3.c: New.
1098 * config/rs6000/_mulkc3.c: New.
1099 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1100 and _divkc3.
1101 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1102 fp128_ppc_funcs.
1103
1104 2016-07-11 Hale Wang <hale.wang@arm.com>
1105 Andre Vieira <andre.simoesdiasvieira@arm.com>
1106
1107 * config/arm/lib1funcs.S: Add new wrapper.
1108
1109 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1110
1111 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1112
1113 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1114
1115 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1116 and ARMv5t* rather than for a fixed list of architectures.
1117
1118 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1119
1120 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1121 implementation suitable for.
1122 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1123 for all Thumb-1 only targets.
1124 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1125 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1126 __ARM_ARCH_6M__.
1127 (EQUIV): Likewise.
1128 (ARM_FUNC_ALIAS): Likewise.
1129 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1130 version.
1131 (modsi3): Likewise.
1132 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1133 (clzdi2): Likewise.
1134 (ctzsi2): Likewise.
1135 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1136 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1137 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1138 __ARM_ARCH_6M__ and add comment to indicate the connection between
1139 this condition and the one in gcc/config/arm/elf.h.
1140 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1141 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1142 * config/arm/t-softfp: Likewise.
1143
1144 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1145
1146 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1147 CTOR_LISTS_DEFINED_EXTERNALLY.
1148
1149 2016-06-28 Walter Lee <walt@tilera.com>
1150
1151 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1152 asm/unistd.h.
1153 (SPR_CMPEXCH_VALUE): Define for tilegx.
1154 (__NR_FAST_cmpxchg): Define for tilepro.
1155 (__NR_FAST_atomic_update): Define for tilepro.
1156 (__NR_FAST_cmpxchg64): Define for tilepro.
1157
1158 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1159
1160 * config.host: Add suport for arm*-*-phoenix* targets.
1161
1162 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1163
1164 * config.host: Remove support for mep-*.
1165 * config/mep/lib1funcs.S: Remove.
1166 * config/mep/lib2funcs.c: Remove.
1167 * config/mep/t-mep: Remove.
1168 * config/mep/tramp.c: Remove.
1169
1170 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1171
1172 * config.host: Remove support for avr-rtems.
1173 * config/avr/t-rtems: Remove.
1174
1175 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1176
1177 * config.host: Remove m32r-rtems support.
1178
1179 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1180
1181 * config.host: Remove h8300-rtems support.
1182
1183 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1184
1185 * config.host: Remove support for knetbsd.
1186
1187 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1188
1189 * config.host: Remove support for openbsd 2 and 3.
1190
1191 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1192
1193 * config.host: Remove interix support.
1194 * config/i386/t-interix: Remove.
1195
1196 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
1197
1198 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1199 least-significant bit in function pointer for fixup.
1200
1201 2016-06-05 Aaron Conole <aconole@redhat.com>
1202 Nathan Sidwell <nathan@acm.org>
1203
1204 PR libgcc/71400
1205 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1206 (get_gcov_error_file): Check __gcov_error_file before trying to
1207 initialize it.
1208 (gcov_error): Always use get_gcov_error_file.
1209
1210 2016-06-02 Aaron Conole <aconole@redhat.com>
1211
1212 * libgcov-driver-system.c (__gcov_error_file): New.
1213 (get_gcov_error_file): New.
1214 (gcov_error): Use and set __gcov_error_file.
1215 (gcov_error_exit): New.
1216 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1217
1218 2016-05-26 Nathan Sidwell <nathan@acm.org>
1219
1220 * config/nvptx/free.asm: Delete.
1221 * config/nvptx/malloc.asm: Delete.
1222 * config/nvptx/realloc.c: Delete.
1223 * t-nvptx: Update.
1224
1225 2016-05-25 Nathan Sidwell <nathan@acm.org>
1226
1227 * config/nvptx/crt0.s: Delete.
1228 * config/nvptx/crt0.c: New.
1229 * t-nvptx: Update.
1230
1231 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1232
1233 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1234 dw2/seh configuration.
1235 [x86_64-*-mingw*]: Likewise.
1236
1237 2016-05-10 Joel Sherrill <joel@rtems.org>
1238
1239 PR libgcc/70720
1240 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1241 targets so the same extra_parts are built. Also have tmake_file add
1242 on to its value rather than override.
1243
1244 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1245
1246 * config.host: Remove SH5 support.
1247 * configure: Likewise.
1248
1249 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1250
1251 * config/sh/crt1.S: Remove SH5 support.
1252 * config/sh/crti.S: Likewise.
1253 * config/sh/crtn.S: Likewise.
1254 * config/sh/lib1funcs-4-300.S: Likewise.
1255 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1256 * config/sh/lib1funcs.S: Likewise.
1257 * config/sh/linux-unwind.h: Likewise.
1258 * config/sh/t-sh64: Delete.
1259
1260 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1261
1262 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1263
1264 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1265 Joern Rennecke <joern.rennecke@embecosm.com>
1266
1267 * config/arc/crttls.S: New file.
1268 * config/arc/t-arc: New rule.
1269 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1270
1271 2016-04-25 Nick Clifton <nickc@redhat.com>
1272
1273 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1274 (__mspabi_cmpd): Likewise.
1275 * config/msp430/floathidf.c (__floathidf): Likewise.
1276 * config/msp430/floathisf.c (__floathisf): Likewise
1277 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1278 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1279 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1280 second parameter.
1281 (__ashrsi3): Likewise.
1282
1283 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1284
1285 * config/m68k/linux-atomic.c: Do not include unistd.h
1286
1287 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1288
1289 * config/arm/ieee754-df.S: Fix typos in comments.
1290
1291 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1292
1293 PR target/70381
1294 * configure.ac (powerpc*-*-linux*): Rework tests to build
1295 __float128 emulation routines to not depend on using #pragma GCC
1296 target to enable -mfloat128.
1297 * configure: Regnerate.
1298
1299 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1300
1301 PR target/67172
1302 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1303 __MINGW32__ is defined.
1304
1305 2016-03-28 James Bowman <james.bowman@ftdichip.com>
1306
1307 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1308
1309 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1310
1311 PR libgcc/70363
1312 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1313 built with an assembler that does not support ISA 3.0
1314 instructions, rename __extendkftf2_sw to __extendkftf2.
1315
1316 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1317
1318 PR target/38239
1319 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1320 call-clobbered registers.
1321 (internal_mcount): Remove __i386__ handling.
1322
1323 2016-02-26 Joel Sherrill <joel@rtems.org>
1324
1325 * config.host: Add x86_64-*-rtems*.
1326
1327 2016-02-26 Joel Sherrill <joel@rtems.org>
1328
1329 * libgcc/config.host: Add aarch64-*-rtems*.
1330
1331 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1332 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1333
1334 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1335 union of u64 and double.
1336 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1337 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1338 value.
1339 (FP_ROUNDMODE): Update the usage of _fpscr.
1340
1341 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1342
1343 PR driver/68463
1344 * Makefile.in (crtoffloadtable$(objext)): New rule.
1345 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1346 enable_offload_targets is not empty.
1347 * configure: Regenerate.
1348 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1349 crtoffloadtable.
1350
1351 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1352
1353 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1354 .literal_position before the function.
1355 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1356 Likewise.
1357
1358 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1359
1360 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1361 * config/s390/morestack.S: New file.
1362 * config/s390/t-stack-s390: New file.
1363 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1364
1365 2016-02-12 Walter Lee <walt@tilera.com>
1366
1367 * config.host (tilegx*-*-linux*): remove ti from
1368 softfp_int_modes for 32-bit configs.
1369
1370 2016-02-10 Ian Lance Taylor <iant@google.com>
1371
1372 PR go/68562
1373 * config/i386/morestack.S (__stack_split_initialize): Align
1374 stack.
1375
1376 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1377
1378 PR bootstrap/69611
1379 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1380 __FLOAT128__ to compile only for __float128 capable targets.
1381
1382 2016-01-25 Jakub Jelinek <jakub@redhat.com>
1383
1384 PR target/69444
1385 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1386 instead of ___NO_FPRS__.
1387
1388 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
1389 Steven Munroe <munroesj@linux.vnet.ibm.com>
1390 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
1391
1392 * config/rs6000/float128-sed: New files to convert TF names to KF
1393 names for PowerPC IEEE 128-bit floating point support.
1394 * config/rs6000/float128-sed-hw: Likewise.
1395
1396 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1397 floating point hardware support.
1398
1399 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1400 128-bit floating point software emulation or use ISA 3.0 hardware
1401 support if it is available.
1402
1403 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1404 floating point.
1405
1406 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1407 floating point to IBM extended double.
1408
1409 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1410 double to IEEE 128-bit floating point.
1411
1412 * config/rs6000/t-float128: New Makefile fragments to enable
1413 building __float128 emulation support.
1414 * config/rs6000/t-float128-hw: Likewise.
1415
1416 * config/rs6000/sfp-exceptions.c: New file to provide exception
1417 support for IEEE 128-bit floating point.
1418
1419 * config/rs6000/floattikf.c: New files for converting between IEEE
1420 128-bit floating point and signed/unsigned 128-bit integers.
1421 * config/rs6000/fixunskfti.c: Likewise.
1422 * config/rs6000/fixkfti.c: Likewise.
1423 * config/rs6000/floatuntikf.c: Likewise.
1424
1425 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1426 when building on 64-bit systems, or when VSX is enabled.
1427 (_FP_W_TYPE): Likewise.
1428 (_FP_WS_TYPE): Likewise.
1429 (_FP_I_TYPE): Likewise.
1430 (TItype): Define on 64-bit systems.
1431 (UTItype): Likewise.
1432 (TI_BITS): Likewise.
1433 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1434 (_FP_MUL_MEAT_Q): Likewise.
1435 (_FP_DIV_MEAT_D): Likewise.
1436 (_FP_DIV_MEAT_Q): Likewise.
1437 (_FP_NANFRAC_D): Likewise.
1438 (_FP_NANFRAC_Q): Likewise.
1439 (ISA_BIT): Add exception support if we are being compiled on a
1440 machine with hardware floating point support to build the IEEE
1441 128-bit emulation functions.
1442 (FP_EX_INVALID): Likewise.
1443 (FP_EX_OVERFLOW): Likewise.
1444 (FP_EX_UNDERFLOW): Likewise.
1445 (FP_EX_DIVZERO): Likewise.
1446 (FP_EX_INEXACT): Likewise.
1447 (FP_EX_ALL): Likewise.
1448 (__sfp_handle_exceptions): Likewise.
1449 (FP_HANDLE_EXCEPTIONS): Likewise.
1450 (FP_RND_NEAREST): Likewise.
1451 (FP_RND_ZERO): Likewise.
1452 (FP_RND_PINF): Likewise.
1453 (FP_RND_MINF): Likewise.
1454 (FP_RND_MASK): Likewise.
1455 (_FP_DECL_EX): Likewise.
1456 (FP_INIT_ROUNDMODE): Likewise.
1457 (FP_ROUNDMODE): Likewise.
1458
1459 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1460 VSX code, enable IEEE 128-bit floating point. If the compiler can
1461 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1462 floating point hardware instructions and it supports declaring
1463 functions with the ifunc attribute, enable ifunc functions to
1464 switch between software and hardware support.
1465 * configure.ac (powerpc*-*-linux*): Likewise.
1466 * configure: Regenerate.
1467
1468 2016-01-15 Nick Clifton <nickc@redhat.com>
1469
1470 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1471 dependency as the source file to be compiled.
1472 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1473 (lib2hw_mul_f5.o): Likewise.
1474
1475 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1476
1477 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1478 * libgcc/config/rs6000/fixkfti.c: Likewise.
1479 * libgcc/config/rs6000/fixunskfti.c: Likewise.
1480 * libgcc/config/rs6000/float128-hw.c: Likewise.
1481 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1482 * libgcc/config/rs6000/float128-sed: Likewise.
1483 * libgcc/config/rs6000/floattikf.c: Likewise.
1484 * libgcc/config/rs6000/floatuntikf.c: Likewise.
1485 * libgcc/config/rs6000/quad-float128.h: Likewise.
1486 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1487 * libgcc/config/rs6000/sfp-machine.h: Likewise.
1488 * libgcc/config/rs6000/t-float128: Likewise.
1489 * libgcc/config/rs6000/t-float128-hw: Likewise.
1490 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1491 * libgcc/config.host: Likewise.
1492 * libgcc/configure: Likewise.
1493 * libgcc/configure.ac: Likewise.
1494
1495 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1496 Steven Munroe <munroesj@linux.vnet.ibm.com>
1497 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
1498
1499 * config/rs6000/sfp-exceptions.c: New file to provide exception
1500 support for IEEE 128-bit floating point.
1501
1502 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1503 floating point hardware support.
1504
1505 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1506 point conversions.
1507 * config/rs6000/fixunskfti.c: Likewise.
1508 * config/rs6000/fixkfti.c: Likewise.
1509 * config/rs6000/floatuntikf.c: Likewise.
1510 * config/rs6000/extendkftf2-sw.c: Likewise.
1511 * config/rs6000/trunctfkf2-sw.c: Likewise.
1512
1513 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1514 128-bit floating point software emulation or use ISA 3.0 hardware
1515 support if it is available.
1516
1517 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1518 floating point.
1519
1520 * config/rs6000/t-float128: New Makefile fragments to enable
1521 building __float128 emulation support.
1522 * config/rs6000/t-float128-hw: Likewise.
1523
1524 * config/rs6000/float128-sed: New file to convert TF names to KF
1525 names for PowerPC IEEE 128-bit floating point support.
1526
1527 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1528 when building on 64-bit systems, or when VSX is enabled.
1529 (_FP_W_TYPE): Likewise.
1530 (_FP_WS_TYPE): Likewise.
1531 (_FP_I_TYPE): Likewise.
1532 (TItype): Define on 64-bit systems.
1533 (UTItype): Likewise.
1534 (TI_BITS): Likewise.
1535 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1536 (_FP_MUL_MEAT_Q): Likewise.
1537 (_FP_DIV_MEAT_D): Likewise.
1538 (_FP_DIV_MEAT_Q): Likewise.
1539 (_FP_NANFRAC_D): Likewise.
1540 (_FP_NANFRAC_Q): Likewise.
1541 (ISA_BIT): Add exception support if we are being compiled on a
1542 machine with hardware floating point support to build the IEEE
1543 128-bit emulation functions.
1544 (FP_EX_INVALID): Likewise.
1545 (FP_EX_OVERFLOW): Likewise.
1546 (FP_EX_UNDERFLOW): Likewise.
1547 (FP_EX_DIVZERO): Likewise.
1548 (FP_EX_INEXACT): Likewise.
1549 (FP_EX_ALL): Likewise.
1550 (__sfp_handle_exceptions): Likewise.
1551 (FP_HANDLE_EXCEPTIONS): Likewise.
1552 (FP_RND_NEAREST): Likewise.
1553 (FP_RND_ZERO): Likewise.
1554 (FP_RND_PINF): Likewise.
1555 (FP_RND_MINF): Likewise.
1556 (FP_RND_MASK): Likewise.
1557 (_FP_DECL_EX): Likewise.
1558 (FP_INIT_ROUNDMODE): Likewise.
1559 (FP_ROUNDMODE): Likewise.
1560
1561 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1562 compiler can do __float128.
1563 * configure: Regenerate.
1564
1565 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1566 VSX code, enable IEEE 128-bit floating point.
1567
1568 2016-01-05 Olivier Hainque <hainque@adacore.com>
1569
1570 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
1571 specificities.
1572
1573 2016-01-04 Jakub Jelinek <jakub@redhat.com>
1574
1575 Update copyright years.
1576
1577 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
1578
1579 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
1580 soft-fp targets.
1581
1582 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1583
1584 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1585 instead of abort to avoid dependency on stdlib.h.
1586
1587 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
1588
1589 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1590 to initialize call to __dl_fixup once.
1591
1592 2015-12-04 Nick Clifton <nickc@redhat.com>
1593
1594 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1595 Allow for the second argument being negative.
1596 * config.host (extra_parts): Define for MSP430. Create separate
1597 libraries for each of the hardware multiply formats.
1598 * config/msp430/lib2hw_mul.S: Build only the multiply routines
1599 that are needed.
1600 * config/msp430/lib2mul.c: Likewise.
1601 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1602 Add rules to build hardware multiply libraries.
1603 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1604 __mspabi_divul function.
1605 (__mspabi_divllu): New stub function.
1606
1607 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
1608
1609 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1610 fixup values if saved GOT address doesn't match runtime address.
1611 (fixup_branch_offset): Reorder list.
1612
1613 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1614
1615 * Makefile.in (VTV_CFLAGS): New variable.
1616 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1617 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1618 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1619 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1620 to extra_parts if $enable_vtable_verify = yes.
1621
1622 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
1623
1624 PR target/68059
1625 * config/arm/linux-atomic-64bit.c (__write): Rename to...
1626 (write): ...this and fix the return type.
1627
1628 2015-11-19 DJ Delorie <dj@redhat.com>
1629
1630 * config/msp430/lib2hw_mul.S: Fix alignment.
1631
1632 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
1633
1634 * config/nvptx/reduction.c: New.
1635 * config/nvptx/t-nvptx (LIB2ADD): Add it.
1636
1637 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
1638
1639 * config/rs6000/on_exit.c: New file.
1640 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1641 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1642
1643 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
1644
1645 * config/arc/dp-hack.h: Add support for ARCHS.
1646 * config/arc/ieee-754/divdf3.S: Likewise.
1647 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1648 * config/arc/ieee-754/muldf3.S: Likewise.
1649 * config/arc/ieee-754/mulsf3.S: Likewise
1650 * config/arc/lib1funcs.S: Likewise
1651 * config/arc/gmon/dcache_linesz.S: Don't read the build register
1652 for ARCv2 cores.
1653 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1654 for ARCv2 cores.
1655 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1656 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1657 cores.
1658
1659 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1660
1661 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1662 value.
1663 * config/ia64/crtend.S: Likewise.
1664
1665 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1666
1667 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1668 __CHAR_BIT__ instead of BITS_PER_UNIT.
1669 * fixed-bit.h: Likewise.
1670 * fp-bit.h: Likewise.
1671 * libgcc2.c (__popcountSI2): Likewise.
1672 (__popcountDI2): Likewise.
1673 * libgcc2.h: Likewise.
1674 * libgcov.h: Likewise.
1675
1676 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
1677
1678 * config/rs6000/atexit.c: New file.
1679 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1680 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1681 * config/rs6000/cxa_finalize.c
1682 (catomic_compare_and_exchange_bool_acq): Negate return value.
1683
1684 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1685
1686 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1687 (processor_subtypes): Add znver1.
1688 (get_amd_cpu): Detect znver1.
1689
1690 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
1691
1692 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1693 Include crtfastmath.o.
1694
1695 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
1696
1697 PR libgcc/66883
1698 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1699
1700 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
1701
1702 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1703 * config/rl78/divmodsi.S: Update return register to r8.
1704 * config/rl78/divmodhi.S: Update return register to r8,r9.
1705 Branch to main_loop_done_himode to pop registers before return.
1706
1707 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1708
1709 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1710 (__cpu_indicator_init): Fix model selection for AMD CPUs.
1711
1712 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
1713
1714 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1715
1716 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
1717
1718 * config.host (xtensa*-*-uclinux*): New configuration.
1719
1720 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
1721
1722 * config/i386/cpuinfo.c (processor_features): Add
1723 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1724
1725 2015-09-28 Joseph Myers <joseph@codesourcery.com>
1726
1727 * soft-fp/adddf3.c: Update from glibc.
1728 * soft-fp/addsf3.c: Likewise.
1729 * soft-fp/addtf3.c: Likewise.
1730 * soft-fp/divdf3.c: Likewise.
1731 * soft-fp/divsf3.c: Likewise.
1732 * soft-fp/divtf3.c: Likewise.
1733 * soft-fp/double.h: Likewise.
1734 * soft-fp/eqdf2.c: Likewise.
1735 * soft-fp/eqsf2.c: Likewise.
1736 * soft-fp/eqtf2.c: Likewise.
1737 * soft-fp/extenddftf2.c: Likewise.
1738 * soft-fp/extended.h: Likewise.
1739 * soft-fp/extendsfdf2.c: Likewise.
1740 * soft-fp/extendsftf2.c: Likewise.
1741 * soft-fp/extendxftf2.c: Likewise.
1742 * soft-fp/fixdfdi.c: Likewise.
1743 * soft-fp/fixdfsi.c: Likewise.
1744 * soft-fp/fixdfti.c: Likewise.
1745 * soft-fp/fixsfdi.c: Likewise.
1746 * soft-fp/fixsfsi.c: Likewise.
1747 * soft-fp/fixsfti.c: Likewise.
1748 * soft-fp/fixtfdi.c: Likewise.
1749 * soft-fp/fixtfsi.c: Likewise.
1750 * soft-fp/fixtfti.c: Likewise.
1751 * soft-fp/fixunsdfdi.c: Likewise.
1752 * soft-fp/fixunsdfsi.c: Likewise.
1753 * soft-fp/fixunsdfti.c: Likewise.
1754 * soft-fp/fixunssfdi.c: Likewise.
1755 * soft-fp/fixunssfsi.c: Likewise.
1756 * soft-fp/fixunssfti.c: Likewise.
1757 * soft-fp/fixunstfdi.c: Likewise.
1758 * soft-fp/fixunstfsi.c: Likewise.
1759 * soft-fp/fixunstfti.c: Likewise.
1760 * soft-fp/floatdidf.c: Likewise.
1761 * soft-fp/floatdisf.c: Likewise.
1762 * soft-fp/floatditf.c: Likewise.
1763 * soft-fp/floatsidf.c: Likewise.
1764 * soft-fp/floatsisf.c: Likewise.
1765 * soft-fp/floatsitf.c: Likewise.
1766 * soft-fp/floattidf.c: Likewise.
1767 * soft-fp/floattisf.c: Likewise.
1768 * soft-fp/floattitf.c: Likewise.
1769 * soft-fp/floatundidf.c: Likewise.
1770 * soft-fp/floatundisf.c: Likewise.
1771 * soft-fp/floatunditf.c: Likewise.
1772 * soft-fp/floatunsidf.c: Likewise.
1773 * soft-fp/floatunsisf.c: Likewise.
1774 * soft-fp/floatunsitf.c: Likewise.
1775 * soft-fp/floatuntidf.c: Likewise.
1776 * soft-fp/floatuntisf.c: Likewise.
1777 * soft-fp/floatuntitf.c: Likewise.
1778 * soft-fp/gedf2.c: Likewise.
1779 * soft-fp/gesf2.c: Likewise.
1780 * soft-fp/getf2.c: Likewise.
1781 * soft-fp/ledf2.c: Likewise.
1782 * soft-fp/lesf2.c: Likewise.
1783 * soft-fp/letf2.c: Likewise.
1784 * soft-fp/muldf3.c: Likewise.
1785 * soft-fp/mulsf3.c: Likewise.
1786 * soft-fp/multf3.c: Likewise.
1787 * soft-fp/negdf2.c: Likewise.
1788 * soft-fp/negsf2.c: Likewise.
1789 * soft-fp/negtf2.c: Likewise.
1790 * soft-fp/op-1.h: Likewise.
1791 * soft-fp/op-2.h: Likewise.
1792 * soft-fp/op-4.h: Likewise.
1793 * soft-fp/op-8.h: Likewise.
1794 * soft-fp/op-common.h: Likewise.
1795 * soft-fp/quad.h: Likewise.
1796 * soft-fp/single.h: Likewise.
1797 * soft-fp/soft-fp.h: Likewise.
1798 * soft-fp/subdf3.c: Likewise.
1799 * soft-fp/subsf3.c: Likewise.
1800 * soft-fp/subtf3.c: Likewise.
1801 * soft-fp/truncdfsf2.c: Likewise.
1802 * soft-fp/trunctfdf2.c: Likewise.
1803 * soft-fp/trunctfsf2.c: Likewise.
1804 * soft-fp/trunctfxf2.c: Likewise.
1805 * soft-fp/unorddf2.c: Likewise.
1806 * soft-fp/unordsf2.c: Likewise.
1807 * soft-fp/unordtf2.c: Likewise.
1808
1809 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
1810
1811 PR libgcc/67624
1812 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1813
1814 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1815
1816 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1817 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1818 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1819 messages.
1820 (internal_mcount): Likewise.
1821 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1822 crt_compile, add CRTSTUFF_T_CFLAGS_S.
1823
1824 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1825
1826 * configure.ac (libgcc_cv_solaris_crts): New test.
1827 * configure: Regenerate.
1828 * config.in: Regenerate.
1829 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1830 * config/gmon-sol2.c: Rename to ...
1831 * config/sol2/gmon.c: ... this.
1832 Include auto-target.h.
1833 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1834 * config/t-sol2: Rename to ...
1835 * config/sol2/t-sol2: ... this.
1836 (gmon.o): Reflect renaming.
1837 (crtp.o, crtpg.o): New rules.
1838 * config.host (*-*-solaris2*): Reflect renaming.
1839 Use system CRTs if present.
1840 Remove default CRT case.
1841
1842 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
1843
1844 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1845 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1846 __kernel_cmpxchg2.
1847 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1848 (__sync_val_compare_and_swap_##WIDTH): Likewise.
1849 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1850 (__sync_lock_test_and_set_##WIDTH): Likewise.
1851 (__sync_lock_release_##WIDTH): Likewise.
1852 (__sync_fetch_and_##OP##_4): Change result to match type of
1853 __kernel_cmpxchg.
1854 (__sync_##OP##_and_fetch_4): Likewise.
1855 (__sync_val_compare_and_swap_4): Likewise.
1856 (__sync_bool_compare_and_swap_4): likewise.
1857 (__sync_lock_test_and_set_4): Likewise.
1858 (__sync_lock_release_4): Likewise.
1859 (FETCH_AND_OP_2): Add long long variants.
1860 (OP_AND_FETCH_2): Likewise.
1861 (COMPARE_AND_SWAP_2 ): Likewise.
1862 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1863 (SYNC_LOCK_RELEASE_2): Likewise.
1864 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1865
1866 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
1867
1868 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1869 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1870 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1871 (get_available_features): Habdle new features.
1872
1873 2015-09-21 James Bowman <james.bowman@ftdichip.com>
1874
1875 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1876 memory layout. Deal correctly with BSS region larger than 32K.
1877 Handle a watchdog reset like a power-on reset. Clean up unused
1878 code.
1879
1880 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
1881 David Edelsohn <dje.gcc@gmail.com>
1882
1883 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1884 * config/rs6000/crtdbase.S: New file.
1885 * config/rs6000/t-aix-cxa: Build crtdbase.o.
1886
1887 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
1888
1889 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1890 Add support for call0 ABI.
1891
1892 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
1893
1894 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1895
1896 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
1897
1898 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1899 (__GTHREAD_HAS_COND): Likewise.
1900 (__gthread_t): Likewise.
1901 (__gthread_cond_t): Likewise.
1902 (__gthread_time_t): Likewise.
1903 (__GTHREAD_MUTEX_INIT): Likewise.
1904 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1905 (__GTHREAD_COND_INIT): Likewise.
1906 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1907 (__GTHREAD_TIME_INIT): Likewise.
1908 (__gthread_create): Likewise.
1909 (__gthread_join): Likewise.
1910 (__gthread_detach): Likewise.
1911 (__gthread_equal): Likewise.
1912 (__gthread_self): Likewise.
1913 (__gthread_yield): Likewise.
1914 (__gthread_cond_broadcast): Likewise.
1915 (__gthread_cond_signal): Likewise.
1916 (__gthread_cond_wait): Likewise.
1917 (__gthread_cond_timedwait): Likewise.
1918 (__gthread_cond_wait_recursive): Likewise.
1919 (__gthread_cond_destroy): Likewise.
1920 (rtems_gxx_once): Delete.
1921 (rtems_gxx_key_create): Likewise.
1922 (rtems_gxx_key_delete): Likewise.
1923 (rtems_gxx_getspecific): Likewise.
1924 (rtems_gxx_setspecific): Likewise.
1925 (rtems_gxx_mutex_init): Likewise.
1926 (rtems_gxx_mutex_destroy): Likewise.
1927 (rtems_gxx_mutex_lock): Likewise.
1928 (rtems_gxx_mutex_trylock): Likewise.
1929 (rtems_gxx_mutex_unlock): Likewise.
1930 (rtems_gxx_recursive_mutex_init): Likewise.
1931 (rtems_gxx_recursive_mutex_lock): Likewise.
1932 (rtems_gxx_recursive_mutex_trylock): Likewise.
1933 (rtems_gxx_recursive_mutex_unlock): Likewise.
1934 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1935 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1936 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1937 (__gthread_once): Likewise.
1938 (__gthread_key_create): Likewise.
1939 (__gthread_key_delete): Likewise.
1940 (__gthread_getspecific): Likewise.
1941 (__gthread_setspecific): Likewise.
1942 (__gthread_key_t): Use <pthread.h> type.
1943 (__gthread_once_t): Likewise
1944 (__gthread_mutex_t): Use <sys/lock.h> type.
1945 (__gthread_recursive_mutex_t): Likewise
1946 (__gthread_mutex_lock): Use <sys/lock.h> function.
1947 (__gthread_mutex_trylock): Likewise.
1948 (__gthread_mutex_timedlock): Likewise.
1949 (__gthread_mutex_unlock): Likewise.
1950 (__gthread_mutex_destroy): Likewise.
1951 (__gthread_recursive_mutex_lock): Likewise.
1952 (__gthread_recursive_mutex_trylock): Likewise.
1953 (__gthread_recursive_mutex_timedlock): Likewise.
1954 (__gthread_recursive_mutex_unlock): Likewise.
1955 (__gthread_recursive_mutex_destroy): Likewise.
1956
1957 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1958
1959 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1960 context->sp instead of context->cfa.
1961
1962 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1963
1964 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1965 with unwind-dw2-fde-dip.
1966
1967 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1968
1969 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1970 CALL12 followed by series of ENTRY to spill windowed registers.
1971 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1972 instead of making linux spill syscall.
1973
1974 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
1975
1976 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1977 (get_intel_cpu): Likewise.
1978
1979 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
1980
1981 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1982 (get_intel_cpu): Add Knights Landing support.
1983
1984 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
1985
1986 PR target/66954
1987 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1988 (get_available_features): Handle FEATURE_PCLMUL.
1989
1990 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
1991
1992 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1993 Broadwell.
1994
1995 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
1996
1997 PR target/66954
1998 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1999 (get_available_features): Handle FEATURE_AES.
2000
2001 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2002
2003 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2004 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2005
2006 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2007
2008 * offloadstuff.c: Constify host data.
2009
2010 2015-07-17 Jan Beulich <jbeulich@suse.com>
2011
2012 * config/t-softfp: Split up "else ifneq".
2013
2014 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2015 Cesar Philippidis <cesar@codesourcery.com>
2016 Chung-Lin Tang <cltang@codesourcery.com>
2017
2018 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2019 for __nios2_arch__ level.
2020
2021 2015-07-13 John Marino <gnugcc@marino.st>
2022
2023 * config/i386/t-dragonfly: New.
2024
2025 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2026
2027 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2028 better match light-weight syscall argument order.
2029 (__kernel_cmpxchg2): Likewise.
2030 Adjust callers.
2031
2032 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2033
2034 * config.host: Support i[34567]86-*-elfiamcu target.
2035 * config/t-softfp-sfdftf: New file.
2036 * config/i386/32/t-iamcu: Likewise.
2037 * configure: Regenerated.
2038
2039 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2040
2041 libgcc/config/arm/
2042 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2043
2044 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2047
2048 2015-05-27 John Marino <gnugcc@marino.st>
2049
2050 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2051 md_unwind_header
2052 * config/i386/freebsd-unwind.h: New.
2053
2054 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
2055
2056 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2057 i386/t-crtfm to tmake_file.
2058 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2059 (set_fast_math): Use set_fast_math_sse for SSE targets.
2060 * config/i386/t-crtfm: Remove.
2061
2062 2015-05-21 Alan Modra <amodra@gmail.com>
2063
2064 PR libgcc/66225
2065 * config/rs6000/morestack.S: Remove ".abiversion 1".
2066
2067 2015-05-20 Alan Modra <amodra@gmail.com>
2068
2069 * config/rs6000/morestack.S: New.
2070 * config/rs6000/t-stack-rs6000: New.
2071 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2072 to tmake_file.
2073 * generic-morestack.c: Don't build for powerpc 32-bit.
2074
2075 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2076
2077 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2078 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2079
2080 2015-05-16 James Bowman <james.bowman@ftdichip.com>
2081
2082 * config.host: FT32 target added.
2083 * config/ft32/*: New files for FT32 target.
2084
2085 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2086
2087 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2088 New macros.
2089 * config/arm/ieee754-df.S: Add CFI directives.
2090 * config/arm/ieee754-sf.S: Add CFI directives.
2091
2092 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2093
2094 * configure.ac: Include config/sjlj.m4.
2095 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2096 * config.in: Regenerate.
2097 * configure: Likewise.
2098 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2099
2100 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
2101
2102 * libgcov-util.c: Add space between string literal and macro name.
2103
2104 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2105 Chris Jones <chrisj@nvidia.com>
2106 Joshua Conner <jconner@nvidia.com>
2107
2108 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2109 (arm*-*-uclinux*): Likewise.
2110 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2111 * config/arm/crtfastmath.c: New file.
2112
2113 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2114
2115 * Makefile.in (real_host_noncanonical): New variable.
2116 (libsubdir): Use it.
2117 * configure.ac (real_host_noncanonical): Compute. Remove special
2118 case for intelmicemul.
2119 * configure: Regenerate.
2120
2121 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2122
2123 * config/frv/elf-lib.h: New file.
2124 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2125 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2126 to tm_file.
2127
2128 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2129
2130 * config/frv/frvbengin.c: Do not include defaults.h
2131 * config/frv/frvend.c: Ditto.
2132
2133 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2134
2135 * config.host: Add h8300-*-linux
2136 * config/h8300/t-linux: New file.
2137 * config/h8300/lib1funs.s: Change symbol prefix.
2138 * config/h8300/sfp-machine.h: 64bit double support.
2139
2140 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2141 Szabolcs Nagy <szabolcs.nagy@arm.com>
2142
2143 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2144 Linux if target provides dl_iterate_phdr.
2145
2146 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2147
2148 PR target/65612
2149 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2150 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2151 (__cpu_indicator_init@GCC_4.8.0): New.
2152 (__cpu_model@GCC_4.8.0): Likewise.
2153 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2154 -DUSE_ELF_SYMVER.
2155
2156 2015-04-16 Nick Clifton <nickc@redhat.com>
2157
2158 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2159 and __modhi3 functions.
2160 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2161 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2162
2163 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2164
2165 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2166 do-while loop as macro body to avoid warnings.
2167
2168 2015-04-10 Jakub Jelinek <jakub@redhat.com>
2169 Iain Sandoe <iain@codesourcery.com>
2170
2171 PR target/65351
2172 * configure: Regenerate.
2173
2174 2015-04-07 Jakub Jelinek <jakub@redhat.com>
2175 Iain Sandoe <iain@codesourcery.com>
2176
2177 PR target/65351
2178 * configure: Regenerate.
2179
2180 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2181
2182 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2183
2184 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
2185
2186 Implement call0 ABI for xtensa
2187 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2188 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2189 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2190 use ret in call0 ABI.
2191 * config/xtensa/t-windowed: New file.
2192 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2193 * libgcc/configure: Regenerated.
2194 * libgcc/configure.ac: Check if xtensa target is configured for
2195 windowed ABI and thus needs to use custom unwind code.
2196
2197 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
2198
2199 PR libgcc/64885
2200 * gthr-single.h: Use __unused__ attribute instead of unused.
2201 * config/gthr-vxworks.h: Likewise.
2202 * config/i386/gthr-win32.h: Likewise.
2203
2204 2015-02-27 Kai Tietz <ktietz@redhat.com>
2205
2206 PR target/65038
2207 * config.in: Regenerated.
2208 * configure: Likewise.
2209 * configure.ac (AC_HEADER_STDC): Added explicit.
2210 (AC_CHECK_HEADERS): Check for default headers plus
2211 for ftw.h header.
2212 * libgcov-util.c (gcov_read_profile_dir): Disable use
2213 of ftw-function, if header is not found.
2214 (ftw_read_file): Likewise.
2215
2216 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2217
2218 PR target/65181
2219 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2220 -Dinhibit_libc.
2221
2222 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2223
2224 * config/arm/bpabi.S (test_div_by_zero): Make label names
2225 consistent between thumb2 and arm mode cases. Separate the
2226 signed comparison on the high word of the numerator from the
2227 unsigned comparison on the low word.
2228 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2229 signed comparison.
2230
2231 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2232
2233 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2234 and <string.h>.
2235 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2236
2237 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2238
2239 PR gcov-profile/61889
2240 * libgcov-driver-system.c: undefine clashing macro for mkdir.
2241
2242 2015-02-02 Nick Clifton <nickc@redhat.com>
2243
2244 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2245 rounding up the fraction.
2246
2247 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
2248
2249 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2250 oldval and newval to const void *. Fix typo.
2251 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2252 (FETCH_AND_OP_WORD): Likewise.
2253 (OP_AND_FETCH_WORD): Likewise.
2254 (COMPARE_AND_SWAP_2): Likewise.
2255 (__sync_val_compare_and_swap_4): Likewise.
2256 (__sync_lock_test_and_set_4): Likewise.
2257 (SYNC_LOCK_RELEASE_2): Likewise.
2258 Remove support for long long atomic operations.
2259
2260 2015-01-27 Caroline Tice <cmtice@google.com>
2261
2262 Committing VTV Cywin/Ming patch for Patrick Wollgast
2263 * Makefile.in: Move rules to build vtv_*.o out of the check
2264 for CUSTOM_CRTSTUFF.
2265 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2266 i[34567]86-*-mingw*)
2267 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2268 enable_vtable_verify.
2269
2270 2015-01-27 Nick Clifton <nickc@redhat.com>
2271
2272 * config/rl78/cmpsi2.S: Use function start and end macros.
2273 (__gcc_bcmp): New function.
2274 * config/rl78/lshrsi3.S: Use function start and end macros.
2275 * config/rl78/mulsi3.S: Add support for G10.
2276 (__mulqi3): New function for G10.
2277 * config/rl78/signbit.S: Use function start and end macros.
2278 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2279 fpmath-sf.S.
2280 (LIB2FUNCS_EXCLUDE): Define.
2281 (LIB2FUNCS_ST): Define.
2282 * config/rl78/trampoline.S: Use function start and end macros.
2283 * config/rl78/vregs.h (START_FUNC): New macro.
2284 (START_ANOTHER_FUNC): New macro.
2285 (END_FUNC): New macro.
2286 (END_ANOTHER_FUNC): New macro.
2287 * config/rl78/bit-count.S: New file. Contains assembler
2288 implementations of the bit counting functions: ___clzhi2,
2289 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2290 __paritysi2, __popcounthi2 and __popcountsi2.
2291 * config/rl78/fpbit-sf.S: New file. Contains assembler
2292 implementationas of the math functions: __negsf2, __cmpsf2,
2293 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2294 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2295 * config/rl78/fpmath-sf.S: New file. Contains assembler
2296 implementations of the math functions: __subsf3, __addsf3,
2297 __mulsf3 and __divsf3
2298
2299 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2300
2301 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2302 Add i386/elf-lib.h to tm_file.
2303 * config/i386/elf-lib.h: Fix comment.
2304 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2305 && __sun__ && __svr4__]: Remove workaround.
2306
2307 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2308
2309 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2310 FEATURE_BMI2.
2311 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2312
2313 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2314
2315 * config/i386/cpuinfo.c (processor_subtypes): Add
2316 INTEL_COREI7_BROADWELL.
2317 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2318 model numbers.
2319
2320 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
2321
2322 * config/i386/elf-lib.h: New file.
2323 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2324 Wrap definition in #ifdef __i386__.
2325 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2326 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2327 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2328 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2329 to tm_file.
2330
2331 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2332
2333 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2334 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2335
2336 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2337
2338 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2339 Update rt_sigframe format and address for current Nios II
2340 Linux conventions.
2341
2342 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2343
2344 * config.host (arm*-*-freebsd*): Add new configuration for
2345 arm*-*-freebsd*.
2346 * config/arm/freebsd-atomic.c: New file.
2347 * config/arm/t-freebsd: Likewise.
2348 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2349 'PC-relative indirect' OS's.
2350
2351 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2352
2353 * config.host: Add Visium support.
2354 * config/visium: New directory.
2355
2356 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2357
2358 Update copyright years.
2359
2360 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2361
2362 * config.host: Support mipsisa32r6 and mipsisa64r6.
2363 * config/mips/mips16.S: Do not build for R6.
2364
2365 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2366
2367 * config/sh/crt.h: New.
2368 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2369 symbols.
2370 * config/sh/crt1.S: Likewise.
2371
2372 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
2373
2374 PR libgcc/63832
2375 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2376 func_ptr *dtor_list temporary variable to avoid "array subscript
2377 is above array bounds" warnings.
2378
2379 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
2380
2381 * Makefile.in (with_aix_soname): Define.
2382 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2383 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2384 * configure: Recreate.
2385
2386 2014-12-05 Olivier Hainque <hainque@adacore.com>
2387
2388 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2389 now provided by defaults.h.
2390
2391 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2392
2393 PR target/55351
2394 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2395 whether it's defined.
2396
2397 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2398
2399 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2400 * config/i386/cpuinfo.c (get_available_features): Detect it.
2401
2402 2014-11-27 Tony Wang <tony.wang@arm.com>
2403
2404 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2405 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2406 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2407
2408 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2409
2410 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2411
2412 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
2413
2414 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2415 instead.
2416
2417 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
2418 John David Anglin <danglin@gcc.gnu.org>
2419
2420 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2421 (FETCH_AND_OP_2): New. Use for subword and double word operations.
2422 (OP_AND_FETCH_2): Likewise.
2423 (COMPARE_AND_SWAP_2): Likewise.
2424 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2425 (SYNC_LOCK_RELEASE_2): Likewise.
2426 (SUBWORD_SYNC_OP): Remove.
2427 (SUBWORD_VAL_CAS): Likewise.
2428 (SUBWORD_BOOL_CAS): Likewise.
2429 (FETCH_AND_OP_WORD): Update.
2430 Consistently use signed types.
2431
2432 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
2433 Thomas Schwinge <thomas@codesourcery.com>
2434 Ilya Verbin <ilya.verbin@intel.com>
2435 Andrey Turetskiy <andrey.turetskiy@intel.com>
2436
2437 * Makefile.in (crtoffloadbegin$(objext)): New rule.
2438 (crtoffloadend$(objext)): Likewise.
2439 * configure: Regenerate.
2440 * configure.ac (accel_dir_suffix): Compute new variable.
2441 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2442 if enable_offload_targets is not empty.
2443 * offloadstuff.c: New file.
2444
2445 2014-11-13 Nick Clifton <nickc@redhat.com>
2446
2447 * config/rl78/divmodhi.S: Add support for the G10 architecture.
2448 Use START_FUNC and END_FUNC macros to enable linker garbage
2449 collection.
2450 * config/rl78/divmodqi.S: Likewise.
2451 * config/rl78/divmodsi.S: Likewise.
2452 * config/rl78/mulsi3.S: Likewise.
2453 * config/rl78/lib2div.c: Remove G10 functions.
2454 * config/rl78/lib2muls.c: Likewise.
2455 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2456 * config/rl78/vregs.h (START_FUNC): New macro.
2457 (END_FUNC): New macro.
2458
2459 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
2460
2461 * config/mips/mips16.S: Set .module when supported. Update O32
2462 FP64 calling convention and use for FPXX when possible. Add FPXX
2463 calling convention fallback case.
2464
2465 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2466
2467 * config.host: Handle nvptx-*-*.
2468 * shared-object.mk (as-flags-$o): Define.
2469 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2470 -xassembler-with-cpp.
2471 * static-object.mk: Identical changes.
2472 * config/nvptx/t-nvptx: New file.
2473 * config/nvptx/crt0.s: New file.
2474 * config/nvptx/free.asm: New file.
2475 * config/nvptx/malloc.asm: New file.
2476 * config/nvptx/realloc.c: New file.
2477
2478 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2479
2480 * Makefile.in (libgcc.map.in): New target.
2481 (libgcc.map): Use libgcc.map.in.
2482 * config/t-softfp (softfp_compat): New variable to be set by
2483 users.
2484 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2485 variables.
2486 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2487 directory.
2488 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2489 that use compat symbols and disable all code unless [SHARED].
2490 * config/t-softfp-compat: New file.
2491 * find-symver.awk: New file.
2492 * configure.ac (--with-glibc-version): New configure option.
2493 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2494 * configure: Regenerate.
2495 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2496 soft-float and e500.
2497
2498 2014-10-29 Joseph Myers <joseph@codesourcery.com>
2499
2500 * config/t-hardfp (hardfp_exclusions): Document new variable for
2501 user to define.
2502 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2503 * config/t-softfp (softfp_extras): Document new variable for user
2504 to define.
2505 (softfp_func_list): Add functions from $(softfp_extras).
2506 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2507 * config.host (powerpc*-*-linux*): For e500v1, use
2508 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2509 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2510 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2511
2512 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
2513
2514 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2515 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2516 memory read accesses are ok.
2517
2518 2014-10-25 Joseph Myers <joseph@codesourcery.com>
2519
2520 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2521 * configure: Regenerate.
2522 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2523 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
2524 of soft-fp for 32-bit classic hard float. Do not use
2525 t-softfp-excl for soft float.
2526
2527 2014-10-22 Joseph Myers <joseph@codesourcery.com>
2528
2529 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2530 configurations.
2531 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2532 Remove variables.
2533
2534 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
2535
2536 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2537 introduced with 2014-10-21 trunk r216525.
2538
2539 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
2540 Vidya Praveen <vidya.praveen@atmel.com>
2541 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
2542 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
2543 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
2544
2545 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2546 order.
2547
2548 Updated library functions for AVRTINY arch.
2549 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2550 Replaced occurrences of r0/r1 with tmp/zero reg macros.
2551 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2552 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2553 wsubi/wadi macors.
2554 (__mulsi3_helper): Update stack, preserve callee saved regs and
2555 argument from stack. Restore callee save registers.
2556 (__mulpsi3): Likewise.
2557 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2558 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
2559 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
2560 AVRTINY.
2561 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2562 (__do_copy_data): Added new definition for AVRTINY.
2563 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2564 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2565 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2566 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2567 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2568 macors.
2569 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
2570 AVRTINY.
2571
2572 Fix broken long multiplication on tiny arch.
2573
2574 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2575
2576 * soft-fp/double.h: Update from glibc.
2577 * soft-fp/eqdf2.c: Likewise.
2578 * soft-fp/eqsf2.c: Likewise.
2579 * soft-fp/eqtf2.c: Likewise.
2580 * soft-fp/extenddftf2.c: Likewise.
2581 * soft-fp/extended.h: Likewise.
2582 * soft-fp/extendsfdf2.c: Likewise.
2583 * soft-fp/extendsftf2.c: Likewise.
2584 * soft-fp/extendxftf2.c: Likewise.
2585 * soft-fp/gedf2.c: Likewise.
2586 * soft-fp/gesf2.c: Likewise.
2587 * soft-fp/getf2.c: Likewise.
2588 * soft-fp/ledf2.c: Likewise.
2589 * soft-fp/lesf2.c: Likewise.
2590 * soft-fp/letf2.c: Likewise.
2591 * soft-fp/op-1.h: Likewise.
2592 * soft-fp/op-2.h: Likewise.
2593 * soft-fp/op-4.h: Likewise.
2594 * soft-fp/op-8.h: Likewise.
2595 * soft-fp/op-common.h: Likewise.
2596 * soft-fp/quad.h: Likewise.
2597 * soft-fp/single.h: Likewise.
2598 * soft-fp/soft-fp.h: Likewise.
2599 * soft-fp/unorddf2.c: Likewise.
2600 * soft-fp/unordsf2.c: Likewise.
2601 * soft-fp/unordtf2.c: Likewise.
2602 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2603 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2604 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2605 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2606 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2607 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2608 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2609 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2610 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2611 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2612
2613 2014-10-08 Rong Xu <xur@google.com>
2614
2615 * libgcov-util.c (read_gcda_file): Fix format.
2616 (find_match_gcov_info): Ditto.
2617 (calculate_2_entries): New.
2618 (compute_one_gcov): Ditto.
2619 (gcov_info_count_all_cold): Ditto.
2620 (gcov_info_count_all_zero): Ditto.
2621 (extract_file_basename): Ditto.
2622 (get_file_basename): Ditto.
2623 (set_flag): Ditto.
2624 (matched_gcov_info): Ditto.
2625 (calculate_overlap): Ditto.
2626 (gcov_profile_overlap): Ditto.
2627 * libgcov-driver.c (compute_summary): Make
2628 it avavilable for external calls.
2629
2630 2014-10-06 Rong Xu <xur@google.com>
2631
2632 * Makefile.in: Ditto.
2633 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2634 (gcov_sort_icall_topn_counter): Ditto.
2635 (gcov_sort_topn_counter_arrays): Ditto.
2636 (dump_one_gcov): Sort indirect_call topn counters.
2637 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2638 function.
2639 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2640 utility function.
2641 (__gcov_indirect_call_topn_profiler): New profiler function.
2642 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2643 * libgcov.h: New decls.
2644
2645 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
2646
2647 * config.host: Remove support for score-*.
2648
2649 2014-09-22 Joseph Myers <joseph@codesourcery.com>
2650
2651 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2652 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2653 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2654 __LIBGCC_XF_MANT_DIG__.
2655 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2656 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2657 __LIBGCC_TF_MANT_DIG__.
2658 * libgcc2.c (NOTRUNC): Define in terms of
2659 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2660 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2661
2662 2014-09-22 Joseph Myers <joseph@codesourcery.com>
2663
2664 PR target/63312
2665 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2666 New macros.
2667
2668 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
2669
2670 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2671 override USE_PT_GNU_EH_FRAME.
2672 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2673 check USE_EH_FRAME_REGISTRY_ALWAYS against
2674 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2675 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2676 variable for substituted force_explicit_eh_registry.
2677 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2678 * configure.ac (explicit-exception-frame-registration):
2679 New AC_ARG_ENABLE.
2680 * configure: Regenerate.
2681
2682 2014-09-19 Olivier Hainque <hainque@adacore.com>
2683
2684 * config.host (powerpc-wrs-vxworksmils): New configuration,
2685 same as vxworksae.
2686
2687 2014-09-18 Joseph Myers <joseph@codesourcery.com>
2688
2689 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2690
2691 2014-09-18 Joseph Myers <joseph@codesourcery.com>
2692
2693 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2694 bits not set bits as indicating trapping exceptions.
2695
2696 2014-09-17 Nathan sidwell <nathan@acm.org>
2697
2698 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2699 (LIBGCOV_DRIVER): ... here.
2700 * libgcov-driver.c (gcov_master): New.
2701 (gcov_exit): Remove from master chain.
2702 (__gcov_init): Add to master chain if version compatible. Don't
2703 clear the version.
2704 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2705 (gcov_reset_int): Clear master chain, if compatible.
2706 (gcov_dump_int): New internal interface. Dump master chain, if
2707 compatible.
2708 (gcov_dump): Alias for gcov_dump_int.
2709 * libgcov.h (struct gcov_root): Add next and prev fields.
2710 (struct gcov_master): New struct.
2711 (__gcov_master): New.
2712 (gcov_dump_int): Declare.
2713
2714 2014-09-17 Olivier Hainque <hainque@adacore.com>
2715
2716 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2717 and crtbegin.o + crtend.o to extra_parts.
2718
2719 2014-09-12 Joseph Myers <joseph@codesourcery.com>
2720
2721 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2722 __LIBGCC_HAS_SF_MODE__.
2723 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2724 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2725 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2726 * config/libbid/bid_gcc_intrinsics.h
2727 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2728 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2729 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2730 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2731 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2732 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2733
2734 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
2735
2736 PR target/63223
2737 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2738 and R24 as needed. Make work for all devices and .text locations.
2739 (__do_global_ctors, __do_global_dtors): Use word addresses.
2740 (__tablejump__, __tablejump_elpm__): Remove functions.
2741 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2742 Add _tablejump2.
2743 (XICALL, XIJMP): New macros.
2744
2745 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
2746 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2747
2748 * config.host (aarch64*): Include crtfastmath.o and
2749 t-crtfm.
2750 * config/aarch64/crtfastmath.c: New file.
2751
2752 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
2753
2754 * config.host: Remove picochip support.
2755 * config/picochip/adddi3.S: Remove.
2756 * config/picochip/ashlsi3.S: Remove.
2757 * config/picochip/ashlsi3.c: Remove.
2758 * config/picochip/ashrsi3.S: Remove.
2759 * config/picochip/ashrsi3.c: Remove.
2760 * config/picochip/clzsi2.S: Remove.
2761 * config/picochip/cmpsi2.S: Remove.
2762 * config/picochip/divmod15.S: Remove.
2763 * config/picochip/divmodhi4.S: Remove.
2764 * config/picochip/divmodsi4.S: Remove.
2765 * config/picochip/lib1funcs.S: Remove.
2766 * config/picochip/longjmp.S: Remove.
2767 * config/picochip/lshrsi3.S: Remove.
2768 * config/picochip/lshrsi3.c: Remove.
2769 * config/picochip/parityhi2.S: Remove.
2770 * config/picochip/popcounthi2.S: Remove.
2771 * config/picochip/setjmp.S: Remove.
2772 * config/picochip/subdi3.S: Remove.
2773 * config/picochip/t-picochip: Remove.
2774 * config/picochip/ucmpsi2.S: Remove.
2775 * config/picochip/udivmodhi4.S: Remove.
2776 * config/picochip/udivmodsi4.S: Remove.
2777
2778 2014-09-08 Joseph Myers <joseph@codesourcery.com>
2779
2780 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2781 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2782 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2783 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2784 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
2785 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2786 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
2787 defined and LIBGCC2_HAS_DF_MODE is defined.
2788 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
2789 defined and LIBGCC2_HAS_XF_MODE is defined.
2790 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
2791 defined and LIBGCC2_HAS_TF_MODE is defined.
2792
2793 2014-09-08 Joseph Myers <joseph@codesourcery.com>
2794
2795 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2796 and ROUND_TOWARDS_ZERO conditionals.
2797
2798 2014-09-07 Nathan sidwell <nathan@acm.org>
2799
2800 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2801 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
2802
2803 2014-09-05 Joseph Myers <joseph@codesourcery.com>
2804
2805 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2806 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2807 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2808 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2809 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2810 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2811 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2812 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2813 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2814 (DWARF_FRAME_REGISTERS): Change all uses to
2815 __LIBGCC_DWARF_FRAME_REGISTERS__.
2816 (EH_RETURN_STACKADJ_RTX): Change all uses to
2817 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2818 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2819 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
2820 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2821 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2822 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2823 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2824 to __LIBGCC_EH_FRAME_SECTION_NAME__.
2825 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2826 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2827 __LIBGCC_STACK_POINTER_REGNUM__.
2828 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2829 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2830 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2831 to __LIBGCC_STACK_POINTER_REGNUM__.
2832 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2833 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2834 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2835 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2836 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2837 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2838 (STACK_POINTER_REGNUM): Change all uses to
2839 __LIBGCC_STACK_POINTER_REGNUM__.
2840 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2841 use to __LIBGCC_STACK_POINTER_REGNUM__.
2842 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2843 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2844 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2845 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2846 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2847 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2848 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2849 to __LIBGCC_STACK_POINTER_REGNUM__.
2850 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2851 Remove conditional definition.
2852 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2853 __LIBGCC_TEXT_SECTION_ASM_OP__.
2854 (EH_FRAME_SECTION_NAME): Change all uses to
2855 __LIBGCC_EH_FRAME_SECTION_NAME__.
2856 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2857 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2858 (CTORS_SECTION_ASM_OP): Change all uses to
2859 __LIBGCC_CTORS_SECTION_ASM_OP__.
2860 (DTORS_SECTION_ASM_OP): Change all uses to
2861 __LIBGCC_DTORS_SECTION_ASM_OP__.
2862 (JCR_SECTION_NAME): Change all uses to
2863 __LIBGCC_JCR_SECTION_NAME__.
2864 (INIT_SECTION_ASM_OP): Change all uses to
2865 __LIBGCC_INIT_SECTION_ASM_OP__.
2866 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2867 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2868 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2869 __LIBGCC_STACK_GROWS_DOWNWARD__.
2870 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2871 __LIBGCC_INIT_SECTION_ASM_OP__.
2872 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2873 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2874 (EH_FRAME_SECTION_NAME): Change all uses to
2875 __LIBGCC_EH_FRAME_SECTION_NAME__.
2876 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2877 definitions. Change all uses to
2878 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2879 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2880 __LIBGCC_STACK_GROWS_DOWNWARD__.
2881 (DWARF_FRAME_REGISTERS): Change all uses to
2882 __LIBGCC_DWARF_FRAME_REGISTERS__.
2883 (EH_RETURN_STACKADJ_RTX): Change all uses to
2884 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2885 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2886 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2887 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2888 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2889 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2890
2891 2014-09-02 Nathan sidwell <nathan@acm.org>
2892
2893 * libgcov-interface.c (STRONG_ALIAS): New.
2894 (__gcov_flush): Call __gcov_reset_int.
2895 (__gcov_reset): Strong alias for ...
2896 (__gcov_reset_ing): ... this renamed hidden version.
2897 * libgcov.h (__gcov_reset_int): New declaration.
2898
2899 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
2900
2901 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2902 call from here...
2903 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2904 (__dso_handle): Define on Cygwin.
2905 * config/i386/t-cygming (crtbeginS.o): New rule.
2906 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2907
2908 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2909 declaration syntax.
2910
2911 2014-08-13 Steve Ellcey <sellcey@mips.com>
2912
2913 * crtstuff.c: Undef caddr_t.
2914
2915 2014-08-12 Steve Ellcey <sellcey@mips.com>
2916
2917 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
2918
2919 2014-08-07 Nathan Sidwell <nathan@acm.org>
2920
2921 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2922 (LIBGCOV_DRIVER): ... to here.
2923 * libgcov.h (gcov_do_dump): New #define.
2924 (struct gcov_root): New.
2925 (__gcov_root): New declaration.
2926 (__gcov_dump_one): Declare.
2927 * libgcov-driver.c (gcov_list, gcov_dump_complete,
2928 run_accounted): Delete.
2929 (gcov_compute_histogram): Add LIST argument, adjust.
2930 (compute_summary): Adjust gcov_compute_histogram call.
2931 (gcov_do_dump): Not hidden, static in libgcov.
2932 (gcov_clear): Move to interface.c.
2933 (__gcov_dump_one): New, broken out of ...
2934 (gcov_exit): ... here. Make static.
2935 (__gcov_root): New.
2936 (__gcov_init): Adjust.
2937 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2938 declarations.
2939 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2940 (gcov_clear): Moved from driver.c. Add LIST argument.
2941 (__gcov_reset): Adjust for changed interfaces.
2942 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2943
2944 2014-08-04 Rohit <rohitarulraj@freescale.com>
2945
2946 PR target/60102
2947 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
2948 based on change in SPE high register numbers and 3 HTM registers.
2949
2950 2014-08-01 Nathan Sidwell <nathan@acm.org>
2951
2952 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2953 LIBGCOV_INTERFACE): Reformat.
2954 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2955 IN_GCOV_TOOL.
2956 * libgcov-interface.c: Reformat some comments.
2957 (__gcov_flush_mx): Add declaration. Tidy up definition.
2958
2959 2014-07-31 Alan Modra <amodra@gmail.com>
2960 Peter Bergner <bergner@vnet.ibm.com>
2961
2962 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2963 (pack_ldouble): New function.
2964 (__gcc_qadd): Use it.
2965 (__gcc_qmul): Likewise.
2966 (__gcc_qdiv): Likewise.
2967 (__gcc_qneg): Likewise.
2968 (__gcc_stoq): Likewise.
2969 (__gcc_dtoq): Likewise.
2970
2971 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
2972
2973 * config/s390/tpf-unwind.h: Include <stdbool.h>.
2974 (__tpf_eh_return): Add original return address as second parameter.
2975 Handle cases where unwinder routines were called directly, instead
2976 of from within the C++ library.
2977
2978 2014-07-29 Nathan Sidwell <nathan@acm.org>
2979
2980 * libgcov.h: Move renaming of entry points to lib gcov specific
2981 portion.
2982 (gcov_do_dump): New rename.
2983 (gcov_rewrite): Remove inline, make HIDDEN.
2984 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2985 (gcov_exit_compute_summary): Rename to ...
2986 (compute_summary): ... here. Add LIST argument.
2987 (gcov_exit_merge_gcda): Rename to ...
2988 (merge_one_data): ... here.
2989 (gcov_exit_write_gcda): Rename to ...
2990 (write_one_data): ... here.
2991 (gcov_exit_merge_summary): Rename to ...
2992 (merge_summary): Add RUN_COUNTED argument.
2993 (gcov_exit_dump_gcov): Rename to ...
2994 (dump_one_gcov): Add RUN_COUNTED argument.
2995 (gcov_do_dump): New function, broken out of ...
2996 (gcov_exit): ... here. Call it.
2997
2998 2014-07-27 Anthony Green <green@moxielogic.com>
2999
3000 * config.host: Add moxiebox configuration suppport.
3001
3002 2014-07-27 Nathan Sidwell <nathan@acm.org>
3003
3004 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3005 (struct gcov_filename): ... here. Include buffer and max length
3006 fields.
3007 (gcov_max_filename): Remove.
3008 (gi_filename): Remove.
3009 (gcov_exit_compute_summary): Compute max filename here.
3010 (gcov_exit_merge_gcda): Add filename parm, adjust.
3011 (gcov_exit_merge_summary): Likewise.
3012 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3013 (gcov_exit): Likewise.
3014 (__gcov_init): Don't calculate max length here.
3015 * libgcov_util.c (max_filename_len): Remove.
3016 (read_gcda_file): Don't calculate max length here.
3017 (gcov_read_profile_dir): Don't propagate here.
3018 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3019 struct gcov_filename changes.
3020 (gcov_exit_open_gcda_file): Likewise.
3021
3022 2014-07-25 Nathan Sidwell <nathan@acm.org>
3023
3024 * libgcov-driver.c (set_gcov_dump_complete,
3025 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3026 functions polluting user's namespace.
3027 (gcov_exit): Set variable directly.
3028 (gcov_clear): Reset variable directly.
3029 * libgcov-interface.c (get_gcov_dymp_complete,
3030 reset_gov_dump_complete): Remove declarations.
3031 (__gcov_reset, __gcov_dump): Don't call them.
3032
3033 2014-07-24 DJ Delorie <dj@redhat.com>
3034
3035 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3036 (__gcc_deregister_frame): Move logic to detect deregister function
3037 to ...
3038 (__gcc_register_frame): here, so it's consistent with the register
3039 logic.
3040
3041 2014-07-23 Nathan Sidwell <nathan@acm.org>
3042
3043 * libgcov-driver.c (set_gcov_list): Remove.
3044 (gcov_list): Make non-static in GCOV_TOOL.
3045 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3046
3047 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
3048
3049 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3050 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3051 Don't use SYNC_LOCK_RELEASE for int type.
3052
3053 2014-07-14 Richard Biener <rguenther@suse.de>
3054
3055 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3056
3057 2014-07-11 Rong Xu <xur@google.com>
3058
3059 * libgcov-util.c (gcov_max_filename): Fix declartion.
3060
3061 2014-07-10 Rong Xu <xur@google.com>
3062
3063 Add gcov-tool: an offline gcda profile processing tool
3064 Support.
3065 * libgcov-driver.c (gcov_max_filename): Make available
3066 to gcov-tool.
3067 * libgcov-merge.c (__gcov_merge_add): Replace
3068 gcov_read_counter() with a Macro.
3069 (__gcov_merge_ior): Ditto.
3070 (__gcov_merge_time_profile): Ditto.
3071 (__gcov_merge_single): Ditto.
3072 (__gcov_merge_delta): Ditto.
3073 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3074 in the utility functions.
3075 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3076 gcov_list object link lists.
3077 (tag_function): Ditto.
3078 (tag_blocks): Ditto.
3079 (tag_arcs): Ditto.
3080 (tag_lines): Ditto.
3081 (tag_counters): Ditto.
3082 (tag_summary): Ditto.
3083 (read_gcda_finalize): Ditto.
3084 (read_gcda_file): Ditto.
3085 (ftw_read_file): Ditto.
3086 (read_profile_dir_init): Ditto.
3087 (gcov_read_profile_dir): Ditto.
3088 (gcov_read_counter_mem): Ditto.
3089 (gcov_get_merge_weight): Ditto.
3090 (merge_wrapper): A wrapper function that calls merging handler.
3091 (gcov_merge): Merge two gcov_info objects with weights.
3092 (find_match_gcov_info): Find the matched gcov_info in the list.
3093 (gcov_profile_merge): Merge two gcov_info object lists.
3094 (__gcov_add_counter_op): Process edge profile counter values.
3095 (__gcov_ior_counter_op): Process IOR profile counter values.
3096 (__gcov_delta_counter_op): Process delta profile counter values.
3097 (__gcov_single_counter_op): Process single profile counter values.
3098 (fp_scale): Callback function for float-point scaling.
3099 (int_scale): Callback function for integer fraction scaling.
3100 (gcov_profile_scale): Scaling profile counters.
3101 (gcov_profile_normalize): Normalize profile counters.
3102 * libgcov.h: Add headers and functions for gcov-tool use.
3103 (gcov_get_counter): New.
3104 (gcov_get_counter_target): Ditto.
3105 (struct gcov_info): Make the functions field mutable in gcov-tool
3106 compilation.
3107
3108 2014-06-23 Kai Tietz <ktietz@redhat.com>
3109
3110 PR libgcc/61585
3111 * unwind-seh.c (_Unwind_GetGR): Check for proper
3112 index range.
3113 (_Unwind_SetGR): Likewise.
3114
3115 2014-05-22 Nick Clifton <nickc@redhat.com>
3116
3117 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3118 -mhwmult=none.
3119
3120 2014-05-22 Teresa Johnson <tejohnson@google.com>
3121
3122 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3123 include.
3124
3125 2014-05-20 John Marino <gnugcc@marino.st>
3126
3127 * config.host (*-*-dragonfly*): New target.
3128 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3129 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3130 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3131 * config/i386/dragonfly-unwind.h: New.
3132
3133 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3134
3135 PR libgcc/60166
3136 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3137 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3138
3139 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3140
3141 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3142 implementation.
3143
3144 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
3145
3146 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3147
3148 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3149
3150 PR libgcc/61097
3151 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3152 if --enable-shared.
3153
3154 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3155
3156 Work around for current cygwin32 build problems.
3157 * config/i386/cygming-crtbegin.c (__register_frame_info,
3158 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3159 functions only for 64-bit systems.
3160
3161 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3162
3163 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3164 (sigill_caught, sigill_hdlr): Remove.
3165
3166 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3167
3168 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3169 check.
3170 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3171 Solaris 9 single-threaded support.
3172 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3173 Solaris 9 single-threaded support. Add call_user_handler code
3174 sequences.
3175 (sparc_is_sighandler): Likewise.
3176
3177 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3178
3179 * config.host: Append t-floattodi to tmake_file depending on
3180 host_address.
3181
3182 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3183
3184 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3185
3186 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
3187
3188 PR libgcc/60472
3189 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3190 variable to avoid "array subscript is above array bounds" warnings.
3191 Use __builtin_expect when checking *jcr_list for NULL.
3192
3193 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3194
3195 PR libgcc/59339
3196 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3197 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3198 vtv_*.o to extra_parts if enable_vtable_verify.
3199
3200 2014-03-06 Nick Clifton <nickc@redhat.com>
3201
3202 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3203 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3204
3205 2014-02-28 Joey Ye <joey.ye@arm.com>
3206
3207 PR libgcc/60166
3208 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3209 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3210 Set to zero.
3211
3212 2014-02-24 Walter Lee <walt@tilera.com>
3213
3214 * config.host: Support "tilegx*" and "tilepro*" triplets.
3215 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3216 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3217
3218 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3219 Chung-Lin Tang <cltang@codesourcery.com>
3220
3221 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3222 * config/nios2/crti.S: Remove .file directive.
3223 * config/nios2/crtn.S: Likewise.
3224
3225 2014-02-18 Kai Tietz <ktietz@redhat.com>
3226 Jonathan Schleifer <js@webkeks.org>
3227
3228 PR objc/56870
3229 * unwind-seh.c (_GCC_specific_handler): Pass proper
3230 value to unwind-handler.
3231
3232 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3233
3234 * soft-fp/adddf3.c: Update from glibc.
3235 * soft-fp/addsf3.c: Likewise.
3236 * soft-fp/addtf3.c: Likewise.
3237 * soft-fp/divdf3.c: Likewise.
3238 * soft-fp/divsf3.c: Likewise.
3239 * soft-fp/divtf3.c: Likewise.
3240 * soft-fp/double.h: Likewise.
3241 * soft-fp/eqdf2.c: Likewise.
3242 * soft-fp/eqsf2.c: Likewise.
3243 * soft-fp/eqtf2.c: Likewise.
3244 * soft-fp/extenddftf2.c: Likewise.
3245 * soft-fp/extended.h: Likewise.
3246 * soft-fp/extendsfdf2.c: Likewise.
3247 * soft-fp/extendsftf2.c: Likewise.
3248 * soft-fp/extendxftf2.c: Likewise.
3249 * soft-fp/fixdfdi.c: Likewise.
3250 * soft-fp/fixdfsi.c: Likewise.
3251 * soft-fp/fixdfti.c: Likewise.
3252 * soft-fp/fixsfdi.c: Likewise.
3253 * soft-fp/fixsfsi.c: Likewise.
3254 * soft-fp/fixsfti.c: Likewise.
3255 * soft-fp/fixtfdi.c: Likewise.
3256 * soft-fp/fixtfsi.c: Likewise.
3257 * soft-fp/fixtfti.c: Likewise.
3258 * soft-fp/fixunsdfdi.c: Likewise.
3259 * soft-fp/fixunsdfsi.c: Likewise.
3260 * soft-fp/fixunsdfti.c: Likewise.
3261 * soft-fp/fixunssfdi.c: Likewise.
3262 * soft-fp/fixunssfsi.c: Likewise.
3263 * soft-fp/fixunssfti.c: Likewise.
3264 * soft-fp/fixunstfdi.c: Likewise.
3265 * soft-fp/fixunstfsi.c: Likewise.
3266 * soft-fp/fixunstfti.c: Likewise.
3267 * soft-fp/floatdidf.c: Likewise.
3268 * soft-fp/floatdisf.c: Likewise.
3269 * soft-fp/floatditf.c: Likewise.
3270 * soft-fp/floatsidf.c: Likewise.
3271 * soft-fp/floatsisf.c: Likewise.
3272 * soft-fp/floatsitf.c: Likewise.
3273 * soft-fp/floattidf.c: Likewise.
3274 * soft-fp/floattisf.c: Likewise.
3275 * soft-fp/floattitf.c: Likewise.
3276 * soft-fp/floatundidf.c: Likewise.
3277 * soft-fp/floatundisf.c: Likewise.
3278 * soft-fp/floatunditf.c: Likewise.
3279 * soft-fp/floatunsidf.c: Likewise.
3280 * soft-fp/floatunsisf.c: Likewise.
3281 * soft-fp/floatunsitf.c: Likewise.
3282 * soft-fp/floatuntidf.c: Likewise.
3283 * soft-fp/floatuntisf.c: Likewise.
3284 * soft-fp/floatuntitf.c: Likewise.
3285 * soft-fp/gedf2.c: Likewise.
3286 * soft-fp/gesf2.c: Likewise.
3287 * soft-fp/getf2.c: Likewise.
3288 * soft-fp/ledf2.c: Likewise.
3289 * soft-fp/lesf2.c: Likewise.
3290 * soft-fp/letf2.c: Likewise.
3291 * soft-fp/muldf3.c: Likewise.
3292 * soft-fp/mulsf3.c: Likewise.
3293 * soft-fp/multf3.c: Likewise.
3294 * soft-fp/negdf2.c: Likewise.
3295 * soft-fp/negsf2.c: Likewise.
3296 * soft-fp/negtf2.c: Likewise.
3297 * soft-fp/op-1.h: Likewise.
3298 * soft-fp/op-2.h: Likewise.
3299 * soft-fp/op-4.h: Likewise.
3300 * soft-fp/op-8.h: Likewise.
3301 * soft-fp/op-common.h: Likewise.
3302 * soft-fp/quad.h: Likewise.
3303 * soft-fp/single.h: Likewise.
3304 * soft-fp/soft-fp.h: Likewise.
3305 * soft-fp/subdf3.c: Likewise.
3306 * soft-fp/subsf3.c: Likewise.
3307 * soft-fp/subtf3.c: Likewise.
3308 * soft-fp/truncdfsf2.c: Likewise.
3309 * soft-fp/trunctfdf2.c: Likewise.
3310 * soft-fp/trunctfsf2.c: Likewise.
3311 * soft-fp/trunctfxf2.c: Likewise.
3312 * soft-fp/unorddf2.c: Likewise.
3313 * soft-fp/unordsf2.c: Likewise.
3314 * soft-fp/unordtf2.c: Likewise.
3315 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3316 macro.
3317 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3318 Likewise.
3319 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3320 Likewise.
3321 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3322 Likewise.
3323 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3324 Likewise.
3325 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3326 Likewise.
3327 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3328 Likewise.
3329 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3330 Likewise.
3331 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3332 Likewise.
3333 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3334 Likewise.
3335 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3336 Likewise.
3337 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3338 Likewise.
3339 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3340 Likewise.
3341 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3342 Likewise.
3343 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3344 Likewise.
3345 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3346 Likewise.
3347
3348 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3349
3350 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3351 cannot be represented.
3352 * config/s390/32/_fixsfdi.c: Likewise.
3353 * config/s390/32/_fixtfdi.c: Likewise.
3354 * config/s390/32/_fixunsdfdi.c: Likewise.
3355 * config/s390/32/_fixunssfdi.c: Likewise.
3356 * config/s390/32/_fixunstfdi.c: Likewise.
3357
3358 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3359
3360 * configure.ac (libgcc_cv_mips_hard_float): New.
3361 * configure: Regenerate.
3362 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3363 t-softfp-sfdf for hard-float targets.
3364 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3365 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3366 (softfp_truncations, softfp_exclude_libgcc2): New.
3367 * config/t-hardfp: New file.
3368 * config/t-hardfp-sfdf: Likewise.
3369 * config/hardfp.c: Likewise.
3370
3371 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3372
3373 * config.host: Include t-floattodi also for s390x.
3374 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3375 * config/s390/32/_fixsfdi.c: Likewise.
3376 * config/s390/32/_fixtfdi.c: Likewise.
3377 * config/s390/32/_fixunsdfdi.c: Likewise.
3378 * config/s390/32/_fixunssfdi.c: Likewise.
3379 * config/s390/32/_fixunstfdi.c: Likewise.
3380
3381 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3382
3383 PR target/59788
3384 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3385 (install-libgcc-unwind-map-forbuild): New target.
3386 (all): Depend on install-libgcc-unwind-map-forbuild.
3387 (install-libgcc-unwind-map): New target.
3388 (install): Depend on install-libgcc-unwind-map.
3389
3390 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
3391
3392 * config/nios2/crti.S (_init): Initialize GOT pointer from
3393 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3394
3395 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3396
3397 * configure.ac: Check __mips64 when setting host_address.
3398 * configure: Regenerate.
3399 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3400 mips/t-mips64 and t-softfp.
3401 (mips*-*-linux*): Don't add mips/t-tpbit.
3402 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3403 (DPBIT, DPBIT_CFLAGS): Delete.
3404 * config/mips/sfp-machine.h: New file.
3405 * config/mips/t-mips64: Likewise.
3406 * config/mips/t-softfp-tf: Likewise.
3407 * config/mips/t-tpbit: Delete.
3408
3409 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3410
3411 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3412 as long long.
3413
3414 2014-01-25 Walter Lee <walt@tilera.com>
3415
3416 * config/tilepro/atomic.c: Include tconfig.h. Don't include
3417 config.h or system.h.
3418 (bool) Define.
3419
3420 2014-01-25 Walter Lee <walt@tilera.com>
3421
3422 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3423 (post_atomic_barrier): Ditto.
3424 (__fetch_and_do): New macro.
3425 (__atomic_fetch_and_do): Use __fetch_and_do.
3426 (__sync_fetch_and_do): New macro.
3427 (__sync_fetch_and_add_4): New function.
3428 (__sync_fetch_and_sub_4): New function.
3429 (__sync_fetch_and_or_4): New function.
3430 (__sync_fetch_and_and_4): New function.
3431 (__sync_fetch_and_xor_4): New function.
3432 (__sync_fetch_and_nand_4): New function.
3433 (__sync_fetch_and_add_8): New function.
3434 (__sync_fetch_and_sub_8): New function.
3435 (__sync_fetch_and_or_8): New function.
3436 (__sync_fetch_and_and_8): New function.
3437 (__sync_fetch_and_xor_8): New function.
3438 (__sync_fetch_and_nand_8): New function.
3439 (__do_and_fetch): New macro.
3440 (__atomic_do_and_fetch): Use __do_and_fetch.
3441 (__sync_do_and_fetch): New macro.
3442 (__sync_add_and_fetch_4): New function.
3443 (__sync_sub_and_fetch_4): New function.
3444 (__sync_or_and_fetch_4): New function.
3445 (__sync_and_and_fetch_4): New function.
3446 (__sync_xor_and_fetch_4): New function.
3447 (__sync_nand_and_fetch_4): New function.
3448 (__sync_add_and_fetch_8): New function.
3449 (__sync_sub_and_fetch_8): New function.
3450 (__sync_or_and_fetch_8): New function.
3451 (__sync_and_and_fetch_8): New function.
3452 (__sync_xor_and_fetch_8): New function.
3453 (__sync_nand_and_fetch_8): New function.
3454 (__sync_exchange_methods): New macro.
3455 (__sync_val_compare_and_swap_4): New function.
3456 (__sync_bool_compare_and_swap_4): New function.
3457 (__sync_lock_test_and_test_4): New function.
3458 (__sync_val_compare_and_swap_8): New function.
3459 (__sync_bool_compare_and_swap_8): New function.
3460 (__sync_lock_test_and_test_8): New function.
3461 (__subword_cmpxchg_body): New macro.
3462 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3463 (__atomic_compare_exchange_2): Ditto.
3464 (__sync_subword_cmpxchg): New macro.
3465 (__sync_val_compare_and_swap_1): New function.
3466 (__sync_bool_compare_and_swap_1): New function.
3467 (__sync_val_compare_and_swap_2): New function.
3468 (__sync_bool_compare_and_swap_2): New function.
3469 (__atomic_subword): Rename to ...
3470 (__subword): ... New name.
3471 (__atomic_subword_fetch): Use __subword.
3472 (__sync_subword_fetch): New macro.
3473 (__sync_fetch_and_add_1): New function.
3474 (__sync_fetch_and_sub_1): New function.
3475 (__sync_fetch_and_or_1): New function.
3476 (__sync_fetch_and_and_1): New function.
3477 (__sync_fetch_and_xor_1): New function.
3478 (__sync_fetch_and_nand_1): New function.
3479 (__sync_fetch_and_add_2): New function.
3480 (__sync_fetch_and_sub_2): New function.
3481 (__sync_fetch_and_or_2): New function.
3482 (__sync_fetch_and_and_2): New function.
3483 (__sync_fetch_and_xor_2): New function.
3484 (__sync_fetch_and_nand_2): New function.
3485 (__sync_add_and_fetch_1): New function.
3486 (__sync_sub_and_fetch_1): New function.
3487 (__sync_or_and_fetch_1): New function.
3488 (__sync_and_and_fetch_1): New function.
3489 (__sync_xor_and_fetch_1): New function.
3490 (__sync_nand_and_fetch_1): New function.
3491 (__sync_add_and_fetch_2): New function.
3492 (__sync_sub_and_fetch_2): New function.
3493 (__sync_or_and_fetch_2): New function.
3494 (__sync_and_and_fetch_2): New function.
3495 (__sync_xor_and_fetch_2): New function.
3496 (__sync_nand_and_fetch_2): New function.
3497 (__atomic_subword_lock): Use __subword.
3498 (__sync_subword_lock): New macro.
3499 (__sync_lock_test_and_set_1): New function.
3500 (__sync_lock_test_and_set_2): New function.
3501
3502 2014-01-25 Walter Lee <walt@tilera.com>
3503
3504 * config/tilepro/atomic.c (BIT_OFFSET): Define.
3505 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3506 (__atomic_subword): Ditto.
3507
3508 2014-01-25 Walter Lee <walt@tilera.com>
3509
3510 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3511 a prefix op argument.
3512 (__atomic_nand_fetch_4): Add prefix op.
3513 (__atomic_nand_fetch_8): Ditto.
3514
3515 2014-01-21 Baruch Siach <barch@tkos.co.il>
3516
3517 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3518
3519 2014-01-09 Rong Xu <xur@google.com>
3520
3521 * libgcov-driver.c (this_prg): make it local to save
3522 bss space.
3523 (gcov_exit_compute_summary): Ditto.
3524 (gcov_exit_merge_gcda): Ditto.
3525 (gcov_exit_merge_summary): Ditto.
3526 (gcov_exit_dump_gcov): Ditto.
3527
3528 2014-01-08 Rong Xu <xur@google.com>
3529
3530 * libgcov-driver.c: Use libgcov.h.
3531 (buffer_fn_data): Use xmalloc instead of malloc.
3532 (gcov_exit_merge_gcda): Ditto.
3533 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3534 * libgcov.h: New common header files for libgcov-*.h.
3535 * libgcov-interface.c: Use libgcov.h
3536 * libgcov-merge.c: Ditto.
3537 * libgcov-profiler.c: Ditto.
3538 * Makefile.in: Add dependence to libgcov.h
3539
3540 2014-01-02 Joseph Myers <joseph@codesourcery.com>
3541
3542 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3543 case of small numerator and finite nonzero result.
3544
3545 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3546
3547 Update copyright years
3548
3549 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3550
3551 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3552 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3553 config/arc/dp-hack.h, config/arc/fp-hack.h,
3554 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3555 config/arc/ieee-754/arc600-dsp/divdf3.S,
3556 config/arc/ieee-754/arc600-dsp/divsf3.S,
3557 config/arc/ieee-754/arc600-dsp/muldf3.S,
3558 config/arc/ieee-754/arc600-dsp/mulsf3.S,
3559 config/arc/ieee-754/arc600-mul64/divdf3.S,
3560 config/arc/ieee-754/arc600-mul64/divsf3.S,
3561 config/arc/ieee-754/arc600-mul64/muldf3.S,
3562 config/arc/ieee-754/arc600-mul64/mulsf3.S,
3563 config/arc/ieee-754/arc600/divsf3.S,
3564 config/arc/ieee-754/arc600/mulsf3.S,
3565 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3566 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3567 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3568 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3569 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3570 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3571 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3572 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3573 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3574 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3575 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3576 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3577 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3578 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3579 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3580 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3581 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3582 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3583 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3584 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3585 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3586 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3587 vtv_start_preinit.c: Use the standard form for the copyright notice.
3588
3589 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
3590 Chung-Lin Tang <cltang@codesourcery.com>
3591 Based on patches from Altera Corporation
3592
3593 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3594 * config/nios2/lib2-nios2.h: New file.
3595 * config/nios2/lib2-divmod-hi.c: New file.
3596 * config/nios2/linux-unwind.h: New file.
3597 * config/nios2/lib2-divmod.c: New file.
3598 * config/nios2/linux-atomic.c: New file.
3599 * config/nios2/t-nios2: New file.
3600 * config/nios2/crti.asm: New file.
3601 * config/nios2/t-linux: New file.
3602 * config/nios2/lib2-divtable.c: New file.
3603 * config/nios2/lib2-mul.c: New file.
3604 * config/nios2/tramp.c: New file.
3605 * config/nios2/crtn.asm: New file.
3606
3607 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
3608
3609 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3610 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3611 from cpuid.h to check vendor signatures.
3612
3613 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3614
3615 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
3616 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3617 (get_amd_cpu): Likewise.
3618
3619 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
3620
3621 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3622 Haswell.
3623
3624 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3625 H.J. Lu <hongjiu.lu@intel.com>
3626
3627 PR target/59422
3628 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
3629 and AMD_JAGUAR.
3630 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3631 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3632 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
3633 FEATURE_XOP and FEATURE_FMA.
3634 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3635 AMDFAM15H_BDVER3.
3636 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
3637 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
3638 FEATURE_FMA4 and FEATURE_XOP.
3639
3640 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
3641
3642 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3643 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3644 (get_intel_cpu): Updated.
3645
3646 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
3647
3648 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3649
3650 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
3651
3652 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3653 instructions when __SSE_MATH__ is defined.
3654
3655 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
3656
3657 * config.host (microblaze-*-rtems*): New.
3658
3659 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
3660
3661 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3662 architectures that do not have hardware divide instruction.
3663 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3664
3665 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
3666
3667 * longlong.h: Delete (moved to include/).
3668
3669 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3670
3671 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3672 of normal number and qNaN to not raise an inexact exception.
3673
3674 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
3675
3676 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3677
3678 2013-11-28 Matthew Leach <matthew.leach@arm.com>
3679
3680 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3681 for correct opcodes on BE.
3682
3683 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
3684
3685 * soft-fp/op-4.h: Update from glibc.
3686
3687 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
3688
3689 * libgcc2.c (__udivmoddi4): Define new implementation when
3690 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3691 divide instructions.
3692
3693 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
3694
3695 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3696
3697 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3698
3699 * config/t-softfp (soft-fp-objects-base): New variable.
3700 (soft-fp-objects): Use it.
3701
3702 2013-11-23 David Edelson <dje.gcc@gmail.com>
3703 Andrew Dixie <andrewd@gentrack.com>
3704
3705 PR target/33704
3706 * config/rs6000/aixinitfini.c: New file.
3707 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3708 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3709 symbols.
3710
3711 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
3712
3713 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
3714
3715 2013-11-18 Jan Hubicka <jh@suse.cz>
3716
3717 * libgcov-driver.c (run_accounted): Make global level static.
3718 (gcov_exit_merge_summary): Silence warning; do not clear
3719 run_accounted here.
3720 (gcov_exit): Clear it here.
3721
3722 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3723 run_accounted.
3724
3725 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3726 (all_prg, crc32): Remove static vars.
3727 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3728 all_prg.
3729 (gcov_exit_merge_gcda): Add crc32 parameter.
3730 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3731 do not account run if it was already accounted.
3732 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3733 (gcov_exit): Initialize all_prg; update.
3734
3735 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
3736
3737 * configure: Regenerate.
3738
3739 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3740 Alan Modra <amodra@gmail.com>
3741
3742 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3743 (frob_update_context): Use it.
3744
3745 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3746 Alan Modra <amodra@gmail.com>
3747
3748 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3749 (trampoline_initial): Provide ELFv2 variant.
3750 (__trampoline_setup): Likewise.
3751
3752 * config/rs6000/linux-unwind.h (frob_update_context): Do not
3753 check for AIX indirect function call sequence if _CALL_ELF == 2.
3754
3755 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3756 Alan Modra <amodra@gmail.com>
3757
3758 * config/rs6000/linux-unwind.h (get_regs): Do not support
3759 old kernel versions if _CALL_ELF == 2.
3760 (frob_update_context): Do not support PLT stub variants only
3761 generated by old linkers if _CALL_ELF == 2.
3762
3763 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3764 Alan Modra <amodra@gmail.com>
3765
3766 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3767 location of CR save area for 64-bit little-endian systems.
3768
3769 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
3770
3771 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3772 in tmake_file.
3773 * config/arm/t-vxworks: Delete.
3774
3775 2013-11-10 Kai Tietz <ktietz@redhat.com>
3776
3777 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3778 Increment load-count on use of LIBGCC_SONAME DLL.
3779 (hmod_libgcc): New static variable to hold handle of
3780 LIBGCC_SONAME DLL.
3781 (__gcc_deregister_frame): Decrement load-count of
3782 LIBGCC_SONAME DLL.
3783
3784 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3785
3786 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3787 availability.
3788 * configure: Regenerate
3789
3790 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
3791
3792 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3793 FP_EX_DENORM. Store result to volatile location after SSE division
3794 to close interrupt window. Remove unneeded fwait after x87
3795 division since interrupt window will be closed by emitted fstp.
3796 Rewrite FP_EX_INEXACT handling.
3797
3798 2013-11-06 Joseph Myers <joseph@codesourcery.com>
3799
3800 * soft-fp/README: Update.
3801 * soft-fp/adddf3.c: Update from glibc.
3802 * soft-fp/addsf3.c: Likewise.
3803 * soft-fp/addtf3.c: Likewise.
3804 * soft-fp/divdf3.c: Likewise.
3805 * soft-fp/divsf3.c: Likewise.
3806 * soft-fp/divtf3.c: Likewise.
3807 * soft-fp/double.h: Likewise.
3808 * soft-fp/eqdf2.c: Likewise.
3809 * soft-fp/eqsf2.c: Likewise.
3810 * soft-fp/eqtf2.c: Likewise.
3811 * soft-fp/extenddftf2.c: Likewise.
3812 * soft-fp/extended.h: Likewise.
3813 * soft-fp/extendsfdf2.c: Likewise.
3814 * soft-fp/extendsftf2.c: Likewise.
3815 * soft-fp/extendxftf2.c: Likewise.
3816 * soft-fp/fixdfdi.c: Likewise.
3817 * soft-fp/fixdfsi.c: Likewise.
3818 * soft-fp/fixdfti.c: Likewise.
3819 * soft-fp/fixsfdi.c: Likewise.
3820 * soft-fp/fixsfsi.c: Likewise.
3821 * soft-fp/fixsfti.c: Likewise.
3822 * soft-fp/fixtfdi.c: Likewise.
3823 * soft-fp/fixtfsi.c: Likewise.
3824 * soft-fp/fixtfti.c: Likewise.
3825 * soft-fp/fixunsdfdi.c: Likewise.
3826 * soft-fp/fixunsdfsi.c: Likewise.
3827 * soft-fp/fixunsdfti.c: Likewise.
3828 * soft-fp/fixunssfdi.c: Likewise.
3829 * soft-fp/fixunssfsi.c: Likewise.
3830 * soft-fp/fixunssfti.c: Likewise.
3831 * soft-fp/fixunstfdi.c: Likewise.
3832 * soft-fp/fixunstfsi.c: Likewise.
3833 * soft-fp/fixunstfti.c: Likewise.
3834 * soft-fp/floatdidf.c: Likewise.
3835 * soft-fp/floatdisf.c: Likewise.
3836 * soft-fp/floatditf.c: Likewise.
3837 * soft-fp/floatsidf.c: Likewise.
3838 * soft-fp/floatsisf.c: Likewise.
3839 * soft-fp/floatsitf.c: Likewise.
3840 * soft-fp/floattidf.c: Likewise.
3841 * soft-fp/floattisf.c: Likewise.
3842 * soft-fp/floattitf.c: Likewise.
3843 * soft-fp/floatundidf.c: Likewise.
3844 * soft-fp/floatundisf.c: Likewise.
3845 * soft-fp/floatunditf.c: Likewise.
3846 * soft-fp/floatunsidf.c: Likewise.
3847 * soft-fp/floatunsisf.c: Likewise.
3848 * soft-fp/floatunsitf.c: Likewise.
3849 * soft-fp/floatuntidf.c: Likewise.
3850 * soft-fp/floatuntisf.c: Likewise.
3851 * soft-fp/floatuntitf.c: Likewise.
3852 * soft-fp/gedf2.c: Likewise.
3853 * soft-fp/gesf2.c: Likewise.
3854 * soft-fp/getf2.c: Likewise.
3855 * soft-fp/ledf2.c: Likewise.
3856 * soft-fp/lesf2.c: Likewise.
3857 * soft-fp/letf2.c: Likewise.
3858 * soft-fp/muldf3.c: Likewise.
3859 * soft-fp/mulsf3.c: Likewise.
3860 * soft-fp/multf3.c: Likewise.
3861 * soft-fp/negdf2.c: Likewise.
3862 * soft-fp/negsf2.c: Likewise.
3863 * soft-fp/negtf2.c: Likewise.
3864 * soft-fp/op-1.h: Likewise.
3865 * soft-fp/op-2.h: Likewise.
3866 * soft-fp/op-4.h: Likewise.
3867 * soft-fp/op-8.h: Likewise.
3868 * soft-fp/op-common.h: Likewise.
3869 * soft-fp/quad.h: Likewise.
3870 * soft-fp/single.h: Likewise.
3871 * soft-fp/soft-fp.h: Likewise.
3872 * soft-fp/subdf3.c: Likewise.
3873 * soft-fp/subsf3.c: Likewise.
3874 * soft-fp/subtf3.c: Likewise.
3875 * soft-fp/truncdfsf2.c: Likewise.
3876 * soft-fp/trunctfdf2.c: Likewise.
3877 * soft-fp/trunctfsf2.c: Likewise.
3878 * soft-fp/trunctfxf2.c: Likewise.
3879 * soft-fp/unorddf2.c: Likewise.
3880 * soft-fp/unordsf2.c: Likewise.
3881 * soft-fp/unordtf2.c: Likewise.
3882
3883 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
3884
3885 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3886 (_FP_MUL_MEAT_D): Ditto.
3887 (_FP_DIV_MEAT_S): Ditto.
3888 (_FP_DIV_MEAT_D): Ditto.
3889 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3890 t-softfp-sfdf and t-softfp to tmake_file.
3891
3892 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
3893
3894 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3895 * config/i386/crtprec.c: Ditto.
3896
3897 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
3898 Shiva Chen <shiva0217@gmail.com>
3899
3900 * config.host (nds32*-elf*): Add nds32 target.
3901 * config/nds32 : New directory and files.
3902
3903 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
3904
3905 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
3906 * config.host (cpu_type) <Setting default>: Add entry for
3907 crisv32-*-*.
3908 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3909 <crisv32-*-linux*>: Adjust.
3910 * longlong.h: Wrap the whole CRIS section in a single
3911 defined(__CRIS__) conditional. Add comment about add_ssaaaa
3912 and sub_ddmmss.
3913 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3914 defined.
3915 [__CRIS__] (__umulsidi3): Define.
3916 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3917 * config/cris/sfp-machine.h: New file.
3918 * config/cris/umulsidi3.S: New file.
3919 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3920 * config/cris/arit.c (SIGNMULT): New macro.
3921 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3922 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3923 saving 3 out of originally 33 cycles from the fastest
3924 path, 3 out of 54 from the medium path and one from the longest
3925 path. Improve comments.
3926
3927 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
3928
3929 * sync.c: Remove static aliases and define each function directly
3930 under its real name.
3931
3932 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
3933
3934 * config.host (hppa*64*-*-linux*): Define extra_parts.
3935 (hppa*-*-linux*): Likewise.
3936
3937 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
3938
3939 * config/arc/crtgend.S: Add 2013 to Copyright years.
3940 * config/arc/gmon/atomic.h: Likewise.
3941 * config/arc/gmon/auxreg.h: Likewise.
3942 * config/arc/gmon/sys/gmon_out.h: Likewise.
3943 * config/arc/gmon/sys/gmon.h: Likewise.
3944 * config/arc/gmon/prof-freq.c: Likewise.
3945 * config/arc/gmon/mcount.c: Likewise.
3946 * config/arc/gmon/prof-freq-stub.S: Likewise.
3947 * config/arc/gmon/gmon.c: Likewise.
3948 * config/arc/gmon/machine-gmon.h: Likewise.
3949 * config/arc/gmon/profil.S: Likewise.
3950 * config/arc/gmon/dcache_linesz.S: Likewise.
3951 * config/arc/crtg.S: Likewise.
3952 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3953 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3954 * config/arc/ieee-754/adddf3.S: Likewise.
3955 * config/arc/ieee-754/truncdfsf2.S: Likewise.
3956 * config/arc/ieee-754/fixsfsi.S: Likewise.
3957 * config/arc/ieee-754/gtsf2.S: Likewise.
3958 * config/arc/ieee-754/floatsisf.S: Likewise.
3959 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3960 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3961 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3962 * config/arc/ieee-754/fixdfsi.S: Likewise.
3963 * config/arc/ieee-754/addsf3.S: Likewise.
3964 * config/arc/ieee-754/gesf2.S: Likewise.
3965 * config/arc/ieee-754/floatsidf.S: Likewise.
3966 * config/arc/ieee-754/extendsfdf2.S: Likewise.
3967 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3968 * config/arc/ieee-754/gtdf2.S: Likewise.
3969 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3970 * config/arc/ieee-754/uneqdf2.S: Likewise.
3971 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3972 * config/arc/ieee-754/uneqsf2.S: Likewise.
3973 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3974 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3975 * config/arc/ieee-754/eqdf2.S: Likewise.
3976 * config/arc/ieee-754/ordsf2.S: Likewise.
3977 * config/arc/ieee-754/divsf3.S: Likewise.
3978 * config/arc/ieee-754/divdf3.S: Likewise.
3979 * config/arc/ieee-754/floatunsidf.S: Likewise.
3980 * config/arc/ieee-754/orddf2.S: Likewise.
3981 * config/arc/ieee-754/eqsf2.S: Likewise.
3982 * config/arc/ieee-754/gedf2.S: Likewise.
3983 * config/arc/crtn.S: Likewise.
3984 * config/arc/crti.S: Likewise.
3985 * config/arc/t-arc700-uClibc: Likewise.
3986 * config/arc/asm.h: Likewise.
3987 * config/arc/libgcc-excl.ver: Likewise.
3988 * config/arc/t-arc-newlib: Likewise.
3989 * config/arc/divtab-arc700.c: Likewise.
3990 * config/arc/initfini.c: Likewise.
3991 * config/arc/fp-hack.h: Likewise.
3992
3993 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3994 Diego Novillo <dnovillo@google.com>
3995
3996 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
3997 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3998 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3999 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4000
4001 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4002 Brendan Kehoe <brendan@zen.org>
4003 Simon Cook <simon.cook@embecosm.com>
4004
4005 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4006 * config/arc: New directory.
4007 * longlong.h [__arc__] (umul_ppmm): Remove.
4008 [__arc__] (__umulsidi3): Define.
4009 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4010 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4011
4012 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4013
4014 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4015 CreateSemaphoreA.
4016 * config/i386/gthr-win32.h: Likewise.
4017
4018 2013-09-16 DJ Delorie <dj@redhat.com>
4019
4020 * config/rl78/vregs.h: Add G10 register definitions.
4021 * config/rl78/lib2mul.c: Enable for RL78/G10.
4022 * config/rl78/lib2div.c: Likewise.
4023 * config/rl78/lshrsi3.S: Use vregs.h.
4024 * config/rl78/cmpsi2.S: Likewise.
4025 * config/rl78/trampoline.S: Likewise.
4026 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4027
4028 2013-09-14 DJ Delorie <dj@redhat.com>
4029 Nick Clifton <nickc@redhat.com>
4030
4031 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4032 * config/rl78/vregs.h: New.
4033 * config/rl78/signbit.S: New file. Implements signbit function.
4034 * config/rl78/divmodsi.S: New.
4035 * config/rl78/divmodhi.S: New.
4036 * config/rl78/divmodqi.S: New.
4037 * config/rl78/t-rl78: Build them here...
4038 * config/rl78/lib2div.c: ...but not here.
4039
4040 2013-09-12 DJ Delorie <dj@redhat.com>
4041
4042 * config.host (msp*-*-elf): New.
4043 * config/msp430/: New port.
4044
4045 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4046
4047 PR gcov-profile/58127
4048 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4049 __thread var for emulated TLS.
4050 (__gcov_indirect_call_counters): Likewise.
4051
4052 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
4053 Catherine Moore <clm@codesourcery.com>
4054 Richard Sandiford <rdsandiford@googlemail.com>
4055
4056 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4057 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4058 (CALL_STUB_NO_RET): Likewise.
4059 (CALL_STUB_RET): Likewise.
4060 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4061 __mips16_ret call/return stub symbols.
4062 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4063 to tmake_file.
4064
4065 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4066
4067 * config.host <mips*-*-linux*>: Remove a stray comment.
4068
4069 2013-08-10 Jan Hubicka <jh@suse.cz>
4070
4071 Work around binutils PR14342
4072 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4073 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4074 (L_gcov_indirect_call_profiler_v2): New.
4075
4076 2013-08-06 Jan Hubicka <jh@suse.cz>
4077
4078 * libgcov.c (__gcov_indirect_call_callee,
4079 __gcov_indirect_call_counters): New global vars.
4080 (__gcov_indirect_call_profiler): replace by ...
4081 (__gcov_indirect_call_profiler_v2) ... this one.
4082
4083 2013-08-06 Caroline Tice <cmtice@google.com>
4084
4085 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4086 vtv_start_preinit.o and vtv_end_preinit.o.
4087 * configure.ac: Add code to check/set enable_vtable_verify.
4088 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4089 true.
4090 * vtv_start_preinit.c: New file.
4091 * vtv_end_preinit.c: New file.
4092 * vtv_start.c: New file.
4093 * vtv_end.c: New file.
4094 * configure: Regenerated.
4095
4096 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4097
4098 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4099 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4100 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4101 GPL-3.0-with-GCC-exception.
4102
4103 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4104
4105 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4106 ISA and up.
4107
4108 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4109
4110 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4111 mapping for FPRs when creating the fallback framestate.
4112
4113 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
4114
4115 PR target/57516
4116 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4117 (__round_s2_const, __round_u2_const)
4118 (__round_s4_const, __round_u4_const, __round_x8):
4119 Saturate result if addition result cannot be represented.
4120
4121 2013-07-15 Matthias Klose <doko@ubuntu.com>
4122
4123 * libgcc2.c: Don't include <limits.h>.
4124
4125 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
4126
4127 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4128
4129 2013-07-06 Jakub Jelinek <jakub@redhat.com>
4130
4131 PR target/29776
4132 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4133
4134 2013-06-28 Jakub Jelinek <jakub@redhat.com>
4135
4136 PR middle-end/36041
4137 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4138 Define.
4139 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4140 instead of table lookups.
4141 (__popcountDI2): Likewise.
4142
4143 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4144
4145 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4146 correctly.
4147
4148 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4149
4150 PR other/53317
4151 * soft-fp/adddf3.c: Update from glibc.
4152 * soft-fp/addsf3.c: Likewise.
4153 * soft-fp/addtf3.c: Likewise.
4154 * soft-fp/divdf3.c: Likewise.
4155 * soft-fp/divsf3.c: Likewise.
4156 * soft-fp/divtf3.c: Likewise.
4157 * soft-fp/double.h: Likewise.
4158 * soft-fp/eqdf2.c: Likewise.
4159 * soft-fp/eqsf2.c: Likewise.
4160 * soft-fp/eqtf2.c: Likewise.
4161 * soft-fp/extenddftf2.c: Likewise.
4162 * soft-fp/extended.h: Likewise.
4163 * soft-fp/extendsfdf2.c: Likewise.
4164 * soft-fp/extendsftf2.c: Likewise.
4165 * soft-fp/fixdfdi.c: Likewise.
4166 * soft-fp/fixdfsi.c: Likewise.
4167 * soft-fp/fixsfdi.c: Likewise.
4168 * soft-fp/fixsfsi.c: Likewise.
4169 * soft-fp/fixtfdi.c: Likewise.
4170 * soft-fp/fixtfsi.c: Likewise.
4171 * soft-fp/fixunsdfdi.c: Likewise.
4172 * soft-fp/fixunsdfsi.c: Likewise.
4173 * soft-fp/fixunssfdi.c: Likewise.
4174 * soft-fp/fixunssfsi.c: Likewise.
4175 * soft-fp/fixunstfdi.c: Likewise.
4176 * soft-fp/fixunstfsi.c: Likewise.
4177 * soft-fp/floatdidf.c: Likewise.
4178 * soft-fp/floatdisf.c: Likewise.
4179 * soft-fp/floatditf.c: Likewise.
4180 * soft-fp/floatsidf.c: Likewise.
4181 * soft-fp/floatsisf.c: Likewise.
4182 * soft-fp/floatsitf.c: Likewise.
4183 * soft-fp/floatundidf.c: Likewise.
4184 * soft-fp/floatundisf.c: Likewise.
4185 * soft-fp/floatunditf.c: Likewise.
4186 * soft-fp/floatunsidf.c: Likewise.
4187 * soft-fp/floatunsisf.c: Likewise.
4188 * soft-fp/floatunsitf.c: Likewise.
4189 * soft-fp/gedf2.c: Likewise.
4190 * soft-fp/gesf2.c: Likewise.
4191 * soft-fp/getf2.c: Likewise.
4192 * soft-fp/ledf2.c: Likewise.
4193 * soft-fp/lesf2.c: Likewise.
4194 * soft-fp/letf2.c: Likewise.
4195 * soft-fp/muldf3.c: Likewise.
4196 * soft-fp/mulsf3.c: Likewise.
4197 * soft-fp/multf3.c: Likewise.
4198 * soft-fp/negdf2.c: Likewise.
4199 * soft-fp/negsf2.c: Likewise.
4200 * soft-fp/negtf2.c: Likewise.
4201 * soft-fp/op-1.h: Likewise.
4202 * soft-fp/op-2.h: Likewise.
4203 * soft-fp/op-4.h: Likewise.
4204 * soft-fp/op-8.h: Likewise.
4205 * soft-fp/op-common.h: Likewise.
4206 * soft-fp/quad.h: Likewise.
4207 * soft-fp/single.h: Likewise.
4208 * soft-fp/soft-fp.h: Likewise.
4209 * soft-fp/subdf3.c: Likewise.
4210 * soft-fp/subsf3.c: Likewise.
4211 * soft-fp/subtf3.c: Likewise.
4212 * soft-fp/truncdfsf2.c: Likewise.
4213 * soft-fp/trunctfdf2.c: Likewise.
4214 * soft-fp/trunctfsf2.c: Likewise.
4215 * soft-fp/unorddf2.c: Likewise.
4216 * soft-fp/unordsf2.c: Likewise.
4217 * soft-fp/unordtf2.c: Likewise.
4218 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4219 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4220 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4221 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4222 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4223 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4224 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4225 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4226 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4227 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4228 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4229 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4230
4231 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4232
4233 * config/mips/lib2funcs.c: New file.
4234 * config/mips/t-mips (LIB2ADD_ST): Add it.
4235
4236 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4237
4238 PR target/6526
4239 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4240 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4241
4242 2013-06-08 Walter Lee <walt@tilera.com>
4243
4244 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4245 Replace int64_t with long long. Add __extension__ where
4246 appropriate.
4247 * config/tilepro/atomic.c: Include config.h.
4248
4249 2013-06-06 Douglas B Rupp <rupp@adacore.com>
4250
4251 * config.host (arm-wrs-vxworks): Configure with other soft float.
4252
4253 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4254
4255 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4256 (mips64r5900el-*-elf*): New configurations.
4257
4258 2013-06-04 Alan Modra <amodra@gmail.com>
4259
4260 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4261
4262 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4263
4264 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4265
4266 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4267
4268 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4269 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4270 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4271
4272 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4273
4274 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4275 (powerpc-wrs-vxworks): Likewise.
4276
4277 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4278
4279 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4280 signal frames as well.
4281 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4282 STACK_BIAS to the CFA offset.
4283
4284 2013-05-17 Richard Henderson <rth@redhat.com>
4285
4286 PR target/49146
4287 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4288 (execute_cfa_program): Use it when storing to fs->regs.
4289
4290 2013-05-08 Kai Tietz <ktietz@redhat.com>
4291
4292 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4293 (__deregister_frame_info): Likewise.
4294
4295 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4296
4297 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4298 NaN's payload.
4299
4300 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4301
4302 2013-04-25 Alan Modra <amodra@gmail.com>
4303
4304 * config.host: Match little-endian powerpc-linux.
4305
4306 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4307
4308 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4309 as 'unsigned long long' instead of 'unsigned long'.
4310 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4311 'signed long'.
4312
4313 2013-04-10 Julian Brown <julian@codesourcery.com>
4314
4315 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4316 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4317 unsigned char/unsigned short.
4318 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4319
4320 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4321
4322 PR other/55274
4323 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4324
4325 2013-04-04 Meador Inge <meadori@codesourcery.com>
4326
4327 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4328 computing the location of the link register.
4329 (aeabi_uldivmod): Ditto.
4330
4331 2013-03-27 Kai Tietz <ktietz@redhat.com>
4332
4333 * config.host: Add support for cygwin x64 target.
4334 * configure: Regenerated.
4335
4336 2013-03-26 Walter Lee <walt@tilera.com>
4337
4338 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4339 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4340
4341 2013-03-25 Kai Tietz <ktietz@redhat.com>
4342
4343 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4344
4345 2013-03-20 Robert Mason <rbmj@verizon.net>
4346
4347 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4348 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4349 (__gthread_leave_tsd_dtor_context): Add prototypes.
4350 (tls_delete_hook): Update.
4351
4352 2013-03-20 Catherine Moore <clm@codesourcery.com>
4353 Joseph Myers <joseph@codesourcery.com>
4354 Chao-ying Fu <fu@mips.com>
4355
4356 * config/mips/mips16.S: Don't build for microMIPS.
4357 * config/mips/linux-unwind.h: Handle microMIPS frame.
4358 * config/mips/crtn.S (fini, init): New labels.
4359
4360 2013-03-14 Jakub Jelinek <jakub@redhat.com>
4361
4362 PR tree-optimization/53265
4363 * unwind-dw2.c (execute_cfa_program): Avoid
4364 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4365 on targets with DWARF_FRAME_REGISTERS < 32.
4366
4367 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4368
4369 PR target/49880
4370 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4371 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4372
4373 2013-03-07 Sriraman Tallam <tmsriram@google.com>
4374
4375 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4376 sandybridge processors.
4377
4378 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4379
4380 PR target/56529
4381 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4382 inclusion list.
4383
4384 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4385
4386 * config/microblaze/crti.S: Setup stack protection at entry
4387
4388 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
4389
4390 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4391 (__rotldi3): Shift bytewise if applicable.
4392
4393 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4394
4395 * config/aarch64/sync-cache.c
4396 (__aarch64_sync_cache_range): Silence warnings.
4397
4398 2013-02-25 Catherine Moore <clm@codesourcery.com>
4399
4400 Revert:
4401 2013-02-24 Catherine Moore <clm@codesourcery.com>
4402 Joseph Myers <joseph@codesourcery.com>
4403 Chao-ying Fu <fu@mips.com>
4404
4405 * config/mips/mips16.S: Don't build for microMIPS.
4406 * config/mips/linux-unwind.h: Handle microMIPS frame.
4407 * config/mips/crtn.S (fini, init): New labels.
4408
4409 2013-02-24 Catherine Moore <clm@codesourcery.com>
4410 Joseph Myers <joseph@codesourcery.com>
4411 Chao-ying Fu <fu@mips.com>
4412
4413 * config/mips/mips16.S: Don't build for microMIPS.
4414 * config/mips/linux-unwind.h: Handle microMIPS frame.
4415 * config/mips/crtn.S (fini, init): New labels.
4416
4417 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4418 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4419 as dividend.
4420
4421 2013-02-16 Alan Modra <amodra@gmail.com>
4422
4423 PR target/55431
4424 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4425 (ppc_fallback_frame_state): Always set up save locations for fp
4426 and altivec. Don't bother with non-callee-saved regs, r0-r13
4427 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4428
4429 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
4430
4431 PR target/54222
4432 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4433 _ssmulHA, _ssmulSA.
4434 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4435 _ssmulha3, _usmulusa3, _ssmulsa3.
4436 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4437 (__muldi3): XCALL __muldi3_6 instead of rcall.
4438 (__umulsidi3, __mulsidi3): New functions.
4439 (do_prologue_saves, do_epilogue_restores): New .macros.
4440 (__divdi3_moddi3): Use them.
4441 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4442 (__usmulusa3, __ssmulsa3): New functions.
4443
4444 2013-02-11 Iain Sandoe <iain@codesourcery.com>
4445 Jack Howarth <howarth@bromo.med.uc.edu>
4446 Patrick Marlier <patrick.marlier@gmail.com>
4447
4448 PR libitm/55693
4449 * config/darwin-crt-tm.c: Remove dummy functions hack.
4450
4451 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
4452
4453 PR target/54222
4454 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4455 * config/avr/lib2-object.mk: New iterator to build objects from it.
4456 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4457 lib2funcs.c.
4458 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4459 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4460 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4461 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4462 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4463 * config/avr/lib1funcs-fixed.S: Implement them.
4464
4465 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4466
4467 Update copyright years.
4468
4469 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
4470
4471 PR target/54601
4472 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4473 Add crtcxa to extra_parts.
4474 * config/rs6000/exit.h: New file.
4475 * config/rs6000/cxa_atexit.c: New file.
4476 * config/rs6000/cxa_finalize.c: New file.
4477 * config/rs6000/crtcxa.c: New file.
4478 * config/rs6000/t-aix-cxa: New file.
4479 * config/rs6000/libgcc-aix-cxa.ver: New file.
4480
4481 2013-01-31 Nick Clifton <nickc@redhat.com>
4482
4483 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4484 variant.
4485
4486 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
4487
4488 PR target/54222
4489 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4490 _mulQQ, _mulHQ, _mulHA, _mulSA,
4491 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4492 _divQQ, _divHQ, _divHA, _divSA,
4493 _divUQQ, _divUHQ, _divUHA, _divUSA.
4494
4495 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
4496
4497 * config.host(microblaze*-linux*): tmake_file: Remove
4498 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4499 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4500 to exclude functions from being built with libgcc.c and use
4501 the microblaze assembly.
4502
4503 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4504
4505 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4506 extra_parts.
4507
4508 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
4509
4510 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4511 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4512 __UINTPTR_TYPE__; also cast 'base' to the same type before the
4513 alignment operation.
4514
4515 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
4516
4517 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4518 loop start address for cache clearing.
4519
4520 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
4521
4522 * config/avr/lib1funcs.S: Remove trailing blanks.
4523 * config/avr/lib1funcs-fixed.S: Ditto.
4524
4525 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
4526
4527 * config/avr/avr-lib.h: Add GPL copyright notice.
4528
4529 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
4530
4531 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4532 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4533 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4534 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4535
4536 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
4537
4538 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4539 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
4540
4541 2013-01-04 Nick Clifton <nickc@redhat.com>
4542
4543 * config/v850/lib1funcs.S: Only provide CALLT support functions if
4544 the CALLT instruction is supported.
4545
4546 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4547
4548 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4549 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4550
4551 2012-12-13 John Tytgat <John@bass-software.com>
4552
4553 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4554 is 25.
4555
4556 2012-12-12 Jakub Jelinek <jakub@redhat.com>
4557
4558 PR libgcc/55451
4559 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4560 undefined signed overflows.
4561
4562 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
4563
4564 PR target/55344
4565 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4566
4567 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
4568
4569 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4570 (FP_TRAPPING_EXCEPTIONS): Define.
4571 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4572 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4573
4574 2012-12-04 Richard Henderson <rth@redhat.com>
4575
4576 PR bootstrap/55571
4577 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4578
4579 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
4580
4581 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
4582 (FP_EX_SHIFT): Define.
4583 (FP_TRAPPING_EXCEPTIONS): Define.
4584
4585 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
4586
4587 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4588 (FP_ROUNDMODE): Use FP_RND_MASK.
4589 * config/aarch64/sfp-exceptions.c: New.
4590 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4591 Use __sfp_handle_exceptions.
4592
4593 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
4594
4595 * config.host: (arm*-*-freebsd*): Remove.
4596 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4597 (arm*-*-elf*): Remove.
4598 (arm*-*-wince-pe*): Remove.
4599 * arm/unwind-arm.c (struct fpa_reg): Delete.
4600 (struct fpa_regs): Delete.
4601 (phase1_vrs): Remove fpa element.
4602 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4603 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4604 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4605 * ieee754-sf.S (floatundisf): Remove FPA support.
4606 (floatdisf): Likewise.
4607 * ieee75f-df.S (floatundidf): Likewise.
4608 (floatdidf): Likewise.
4609
4610 2012-11-29 Kai Tietz <ktietz@redhat.com>
4611
4612 PR target/55445
4613 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4614 * unwind-generic.h: Likewise.
4615 * unwind-seh.c: Likewise.
4616
4617 2012-11-28 Richard Henderson <rth@redhat.com>
4618
4619 PR libgcc/48076
4620 * emutls.c (__emutls_get_address): Avoid race condition between
4621 obj->loc.offset read and emutls_key initialization.
4622
4623 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
4624
4625 Adjust decimal point of signed accum mode to GCC default.
4626
4627 PR target/54222
4628 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4629 _divqq_helper.
4630 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4631 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4632 (__mulha3, __mulsa3)
4633 (__divqq3, __divha3, __divsa3): Adjust to new position of
4634 decimal point of signed accum types.
4635
4636 (__mulusa3_round): New function.
4637 (__mulusa3): Use it.
4638 (__divqq_helper): New function.
4639 (__udivuqq3): Use it.
4640
4641 2012-11-20 Jakub Jelinek <jakub@redhat.com>
4642
4643 PR bootstrap/55370
4644 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4645
4646 2012-11-18 Teresa Johnson <tejohnson@google.com>
4647
4648 PR bootstrap/55051
4649 * libgcov.c (gcov_exit): Remove merged program summary
4650 comparison unless !GCOV_LOCKED.
4651
4652 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
4653
4654 * soft-fp: Updated from glibc upstream.
4655
4656 2012-11-06 Ian Lance Taylor <iant@google.com>
4657
4658 * generic-morestack.c (__generic_morestack): Align the returned
4659 stack pointer to a 32 byte boundary.
4660 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4661 increment the return address until we have decided that we don't
4662 have a varargs function.
4663 (__morestack) [32-bit]: Align stack correctly when calling C
4664 functions.
4665 (__morestack) [64-bit]: Likewise.
4666
4667 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4668
4669 * configure: Regenerate.
4670
4671 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
4672
4673 PR target/55175
4674 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4675 * config/i386/sfp-machine.h: Guard exception handling
4676 code with _SOFT_FLOAT.
4677 * config/i386/32/sfp-machine.h: Guard rounding handling
4678 code with _SOFT_FLOAT.
4679 * config/i386/64/sfp-machine.h: Ditto.
4680
4681 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
4682
4683 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4684 as extra_parts.
4685
4686 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
4687
4688 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4689 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
4690 when appropriate. Correct structure element types.
4691 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4692 -minline-all-stringops from compile flags.
4693
4694 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
4695
4696 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4697
4698 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
4699
4700 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
4701
4702 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4703
4704 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4705 tmake_file.
4706
4707 2012-10-23 Ian Bolton <ian.bolton@arm.com>
4708 Jim MacArthur <jim.macarthur@arm.com>
4709 Marcus Shawcroft <marcus.shawcroft@arm.com>
4710 Nigel Stephens <nigel.stephens@arm.com>
4711 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4712 Richard Earnshaw <rearnsha@arm.com>
4713 Sofiane Naci <sofiane.naci@arm.com>
4714 Stephen Thomas <stephen.thomas@arm.com>
4715 Tejas Belagod <tejas.belagod@arm.com>
4716 Yufeng Zhang <yufeng.zhang@arm.com>
4717
4718 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4719 * config/aarch64/crti.S: New file.
4720 * config/aarch64/crtn.S: New file.
4721 * config/aarch64/linux-unwind.h: New file.
4722 * config/aarch64/sfp-machine.h: New file.
4723 * config/aarch64/sync-cache.c: New file.
4724 * config/aarch64/t-aarch64: New file.
4725 * config/aarch64/t-softfp: New file.
4726
4727 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
4728
4729 * config/mmix/crti.S: Mark program and data addresses using PRELD.
4730 Remove typo'd and unnecessary alignment-LOC for .data. Remove
4731 no-longer-needed LDBU insns.
4732
4733 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
4734
4735 * config.host
4736 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4737 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4738
4739 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4740
4741 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4742
4743 2012-10-15 Matthias Klose <doko@ubuntu.com>
4744
4745 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4746
4747 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
4748
4749 * configure: Regenerate.
4750 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4751
4752 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
4753
4754 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4755 instructions for 64bit targets only.
4756
4757 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
4758
4759 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4760 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4761 * config/i386/32/sfp-machine.h: ... here.
4762 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4763 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4764 New defines.
4765
4766 2012-10-07 Matthias Klose <doko@ubuntu.com>
4767
4768 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4769 as unused.
4770 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4771
4772 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
4773
4774 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4775 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4776 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4777 (ElfW): Likewise.
4778
4779 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
4780
4781 PR other/53889
4782 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4783 Fix parameter names.
4784
4785 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
4786
4787 PR target/33135
4788 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4789 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4790 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4791
4792 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
4793
4794 PR target/50457
4795 * config/sh/linux-atomic.S: Delete.
4796 * config/sh/linux-atomic.c: New.
4797 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4798 linux-atomic.c. Add cflags to disable warnings.
4799
4800 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4801
4802 PR other/53889
4803 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4804 function.
4805 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4806 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4807 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4808 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4809 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4810 Likewise.
4811 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4812 Likewise.
4813 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4814 Likewise.
4815 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4816 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4817
4818 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
4819
4820 * config.host (hppa-*-openbsd*): New target.
4821 * config/pa/t-openbsd: New file.
4822
4823 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
4824
4825 PR target/54222
4826 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4827 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4828 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4829 (__divsa3): Use __negsi2 to negate r_quoL.
4830 * config/avr/lib1funcs.S (FALIAS): New macro.
4831 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4832 (__negsi2): ...this new function.
4833 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4834 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4835 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4836 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4837 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4838 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4839
4840 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
4841
4842 PR target/54089
4843 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4844 (lshrsi3): Reimplement as lshrsi3_r0.
4845
4846 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
4847
4848 PR target/46191
4849 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4850 of libgcc.a.
4851
4852 2012-09-07 Teresa Johnson <tejohnson@google.com>
4853
4854 PR gcov-profile/54487
4855 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
4856 differences.
4857
4858 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
4859
4860 PR target/54461
4861 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4862 not configured --with-avrlibc=no.
4863 * config/avr/t-avrlibc: New file.
4864 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4865 (DPBIT_FUNCS): Ditto.
4866 (TPBIT_FUNCS): Ditto.
4867
4868 2012-09-04 Teresa Johnson <tejohnson@google.com>
4869
4870 * libgcov.c (struct gcov_summary_buffer): New structure.
4871 (gcov_histogram_insert): New function.
4872 (gcov_compute_histogram): Ditto.
4873 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4874 histograms during summary merging.
4875
4876 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
4877
4878 * config.host (x86_64-*-openbsd*): New target.
4879
4880 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
4881
4882 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4883 attribute.
4884
4885 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
4886
4887 PR target/54222
4888 * config/avr/t-avr (conv_X): Rename to func_X.
4889
4890 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
4891
4892 PR target/54222
4893 * config/avr/lib1funcs-fixed.S: New file.
4894 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
4895 after they are used.
4896 (neg2, neg4): New macros.
4897 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4898 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4899 (__umulhisi3): Speed up MUL variant if there is enough flash.
4900 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4901 avr-modes.def.
4902 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4903 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4904 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4905 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4906 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4907 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4908 (LIB2FUNCS_EXCLUDE): Add supported functions.
4909
4910 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
4911
4912 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4913 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4914 libgcc-s-objects.
4915 * fixed-obj.mk: Only expand dependency if $o is not in
4916 LIB2FUNCS_EXCLUDE.
4917
4918 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
4919
4920 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4921
4922 2012-08-22 Joseph Myers <joseph@codesourcery.com>
4923
4924 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4925 depend on --enable-shared.
4926 ($(lib1asmfuncs-o)): Use %.vis files independent of
4927 --enable-shared.
4928 * static-object.mk ($(base)$(objext), $(base).vis)
4929 ($(base)_s$(objext)): Use same rules for visibility handling as in
4930 shared-object.mk.
4931
4932 2012-08-21 Ian Lance Taylor <iant@google.com>
4933
4934 * config/i386/morestack.S (__morestack_non_split): Increase amount
4935 of space allocated for non-split code stack.
4936
4937 2012-08-19 Joseph Myers <joseph@codesourcery.com>
4938
4939 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4940 even if inhibit_libc.
4941
4942 2012-08-17 Julian Brown <julian@codesourcery.com>
4943
4944 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4945 -fexceptions -fnon-call-exceptions if not defined.
4946 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4947 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4948
4949 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
4950
4951 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4952 type.
4953
4954 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
4955
4956 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4957 rs6000/t-slibgcc-aix.
4958
4959 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4960
4961 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4962
4963 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4964
4965 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4966
4967 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
4968
4969 PR driver/54171
4970 * Makefile.in (version): Replace top_srcdir with srcdir.
4971
4972 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
4973
4974 * Makefile.in (version): set to BASE-VER file from gcc directory.
4975
4976 2012-08-01 Nick Clifton <nickc@redhat.com>
4977
4978 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4979 Implements __clrsb for an HImode argument.
4980
4981 2012-07-31 Nick Clifton <nickc@redhat.com>
4982
4983 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4984 Implements __clrsb for an HImode argument.
4985 * config/stormy16/clrsbhi2.c: New file:
4986 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4987
4988 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
4989
4990 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4991
4992 2012-07-19 Tristan Gingold <gingold@adacore.com>
4993 Richard Henderson <rth@redhat.com>
4994
4995 * unwind-seh.c: New file.
4996 * unwind-generic.h: Include windows.h for SEH.
4997 (_Unwind_Exception): Use 6 private fields for SEH.
4998 (_GCC_specific_handler): Declare.
4999 * unwind-c.c (__gcc_personality_seh0): New function.
5000 Adjust for SEH.
5001 * config/i386/libgcc-cygming.ver: New file.
5002 * config/i386/t-seh-eh: New file.
5003 * config.host (x86_64-*-mingw*): Default to seh.
5004
5005 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5006
5007 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5008
5009 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5010
5011 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5012 __builtin_expect when checking for exceptions.
5013 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5014
5015 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5016
5017 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5018 function declaration.
5019 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5020 (FP_RND_MASK): New.
5021 * config/ia64/sfp-exceptions.c: New.
5022 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5023
5024 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5025
5026 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5027 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5028 * config/i386/64/sfp-machine: ... (delete here) ...
5029 * config/i386/sfp-machine.h: ... to here.
5030 (FP_EX_MASK): Remove.
5031 (FP_RND_MASK): New.
5032 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5033
5034 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5035
5036 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5037 * config/i386/libgcc-sol2.ver: Ditto.
5038 * config/i386/libgcc-glibc.ver: Ditto.
5039
5040 2012-06-11 Roland McGrath <mcgrathr@google.com>
5041
5042 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5043 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5044 pthread_cancel.
5045
5046 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5047
5048 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5049 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5050 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5051 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5052 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5053 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5054 * config/i386/64/sfp-machine: ... (delete here) ...
5055 * config/i386/sfp-machine.h: ... to here.
5056 (FP_EX_MASK): New.
5057 (__sfp_handle_exceptions): New function declaration.
5058 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5059 * config/i386/sfp-exceptions.c: New.
5060 * config/i386/t-softfp: New.
5061 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5062 i386/t-softfp to tmake_file.
5063
5064 2012-06-03 David S. Miller <davem@davemloft.net>
5065
5066 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5067 change.
5068
5069 2012-05-31 David S. Miller <davem@davemloft.net>
5070
5071 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5072 multiply and divide instructions on 32-bit when V9.
5073 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5074
5075 2012-05-29 Joseph Myers <joseph@codesourcery.com>
5076
5077 * config/arm/ieee754-df.S: Fix typos.
5078 * config/arm/ieee754-sf.S: Fix typos.
5079 * config/c6x/libunwind.S: Fix typos.
5080 * config/epiphany/udivsi3-float.c: Fix typos.
5081 * config/microblaze/muldi3_hard.S: Fix typos.
5082 * config/picochip/adddi3.S: Fix typos.
5083 * config/picochip/ashlsi3.S: Fix typos.
5084 * config/picochip/ashrsi3.S: Fix typos.
5085 * config/picochip/clzsi2.S: Fix typos.
5086 * config/picochip/cmpsi2.S: Fix typos.
5087 * config/picochip/divmod15.S: Fix typos.
5088 * config/picochip/divmodhi4.S: Fix typos.
5089 * config/picochip/divmodsi4.S: Fix typos.
5090 * config/picochip/longjmp.S: Fix typos.
5091 * config/picochip/lshrsi3.S: Fix typos.
5092 * config/picochip/parityhi2.S: Fix typos.
5093 * config/picochip/popcounthi2.S: Fix typos.
5094 * config/picochip/setjmp.S: Fix typos.
5095 * config/picochip/subdi3.S: Fix typos.
5096 * config/picochip/ucmpsi2.S: Fix typos.
5097 * config/picochip/udivmodhi4.S: Fix typos.
5098 * config/picochip/udivmodsi4.S: Fix typos.
5099 * config/spu/divv2df3.c: Fix typos.
5100 * config/spu/mfc_multi_tag_release.c: Fix typos.
5101 * config/spu/mfc_tag_release.c: Fix typos.
5102 * configure.ac: Fix typos.
5103 * configure: Regenerate.
5104
5105 2012-05-25 Ian Lance Taylor <iant@google.com>
5106
5107 * config/i386/morestack.S (__morestack_non_split): Check whether
5108 caller is varargs and needs %bp to hold the stack frame on return.
5109
5110 2012-05-25 Olivier Hainque <hainque@adacore.com>
5111
5112 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5113 sequence in the non pic case on VxWorks.
5114
5115 2012-05-24 Olivier Hainque <hainque@adacore.com>
5116
5117 * Makefile.in: Move dependency on install-unwind_h from
5118 "install-leaf" to "install".
5119
5120 2012-05-24 Olivier Hainque <hainque@adacore.com>
5121
5122 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5123 Use a separate command for stamp removals.
5124
5125 2012-05-21 Andrew Pinski <apinski@cavium.com>
5126
5127 PR bootstrap/53183
5128 * configure.ac: Define the default includes to being none.
5129 * configure: Regenerate.
5130
5131 2012-05-16 Olivier Hainque <hainque@adacore.com>
5132
5133 * Makefile.in (install-unwind_h): Rename into ...
5134 (install-unwind_h-forbuild): New target.
5135 (all): Use it instead of the former install-unwind_h.
5136 (install-unwind_h): Reinstate, copy to user install destination
5137 for include files, not to the internal gcc object directory one.
5138 (install-leaf): Depend on it.
5139
5140 2012-05-15 Olivier Hainque <hainque@adacore.com>
5141
5142 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5143 register numbers. LR_REGNO replaces R_LR.
5144 (ucontext_for): New, helper for ...
5145 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5146 and 5.3 of ...
5147 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5148
5149 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5150
5151 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5152 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5153 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5154 i386/t-cpuinfo ...
5155 (i[34567]86-*-*, x86_64-*-*): ... here.
5156
5157 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5158 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5159
5160 * config/i386/i386-cpuinfo.c: Rename to ...
5161 * config/i386/cpuinfo.c: ... this.
5162 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5163
5164 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5165 (libgcc_cv_init_priority): New test.
5166 * configure: Regenerate.
5167 * config.in: New file.
5168 * Makefile.in (clean): Rename config.h to auto-target.h.
5169 (config.h): Likewise.
5170 (stamp-h): Likewise.
5171
5172 * config/i386/cpuinfo.c (auto-target.h): Include.
5173 (CONSTRUCTOR_PRIORITY): Define.
5174 (__cpu_indicator_init): Use it.
5175
5176 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5177
5178 * longlong.h: Use a URL instead of an FSF postal address.
5179 Replace spaces with tab.
5180
5181 2012-05-08 Teresa Johnson <tejohnson@google.com>
5182
5183 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5184 (__gcov_dump): Ditto.
5185 (gcov_dump_complete): New global variable.
5186 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5187 (__gcov_flush): Outline functionality now in gcov_clear.
5188 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5189
5190 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5191
5192 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5193 (mips*-*-linux*): Include mips/t-tpbit when long double is
5194 16 bytes long.
5195
5196 2012-04-25 Sriraman Tallam <tmsriram@google.com>
5197
5198 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5199 (get_available_features): New argument. Check for AVX2.
5200 (__cpu_indicator_init): Modify call to get_available_features.
5201
5202 2012-04-25 Alan Modra <amodra@gmail.com>
5203
5204 * config/rs6000/crtsavevr.S: New file.
5205 * config/rs6000/crtrestvr.S: New file.
5206 * config/rs6000/t-savresfgpr: Build the above.
5207 * config/rs6000/t-netbsd: Likewise.
5208
5209 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5210
5211 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5212
5213 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5214
5215 * libgcc/config/i386/i386-cpuinfo.c: New file.
5216 * libgcc/config/i386/t-cpuinfo: New file.
5217 * libgcc/config.host: Include t-cpuinfo.
5218 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5219
5220 2012-04-24 Chao-ying Fu <fu@mips.com>
5221
5222 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5223
5224 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5225
5226 struct siginfo vs. siginfo_t
5227
5228 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5229 siginfo_t instead of struct siginfo.
5230 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5231 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5232 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5233 (ia64_handle_unwabi): Likewise.
5234 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5235 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5236 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5237 (sh_fallback_frame_state): Likewise.
5238 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5239 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5240
5241 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5242
5243 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5244 system call number.
5245
5246 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5247
5248 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5249 if it hasn't been previously saved.
5250
5251 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5252
5253 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5254 only for glibc.
5255
5256 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
5257
5258 PR target/52737
5259 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5260 instead of __AVR_HAVE_8BIT_SP__.
5261
5262 2012-03-26 Tristan Gingold <gingold@adacore.com>
5263
5264 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5265 (unw_table_entry): Use unw_word instead of unsigned long.
5266 (_Unwind_FindTableEntry): Likewise.
5267 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5268 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5269 (_Unwind_FindTableEntry): Likewise.
5270 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5271 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5272 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5273 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5274 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5275 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5276 (uw_init_context_1, uw_install_context): Likewise.
5277 (unw_word): Move to unwind-ia64.h
5278
5279 2012-03-26 Tristan Gingold <gingold@adacore.com>
5280
5281 * config/vms/vms-ucrt0.c: Update copyright years.
5282 Add a sanity check.
5283 (___gcc_main_flags): Declare.
5284 (__main): Check flags to remap argv and exit code.
5285 * config.host (*-*-*vms*): Adjust extra_parts.
5286 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5287 (crt0.o): Add.
5288
5289 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
5290
5291 * arm/lib1funcs.asm (ctzsi2): New function.
5292 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5293 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5294 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5295 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5296 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5297 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5298
5299 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
5300
5301 * config.host: Add bits to support powerpc64-*-freebsd*.
5302 * config/rs6000/freebsd-unwind.h: New file.
5303 * config/rs6000/t-freebsd64: New file.
5304
5305 2012-03-20 Richard Guenther <rguenther@suse.de>
5306
5307 PR gcov-profile/52627
5308 * libgcov.c (init_mx): Fix mutex name.
5309
5310 2012-03-16 Tristan Gingold <gingold@adacore.com>
5311
5312 * config/ia64/vms-unwind.h: Remove ulong (and replace
5313 it by unw_reg where used). Define unw_reg with __int64.
5314
5315 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5316
5317 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5318 Solaris 8 handling.
5319 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5320 Solaris 8 handling.
5321 (sparc_is_sighandler): Likewise.
5322
5323 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5324
5325 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5326 <= saved reg size.
5327
5328 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5329
5330 * config/arm/crtn.S: Fix typo.
5331
5332 2012-03-13 Richard Guenther <rguenther@suse.de>
5333
5334 * libgcov.c: Remove stdio.h include and NULL un-define.
5335
5336 2012-03-13 Richard Guenther <rguenther@suse.de>
5337
5338 PR target/52569
5339 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5340
5341 2012-03-13 Richard Guenther <rguenther@suse.de>
5342
5343 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5344
5345 2012-03-13 Richard Guenther <rguenther@suse.de>
5346
5347 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5348 and __gthread_mutex_init_function definitions.
5349
5350 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5351
5352 * config.host (mips*-*-openbsd*): Remove.
5353
5354 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5355
5356 * config.host: Remove alpha*-dec-osf5.1* handling.
5357 * config/alpha/gthr-posix.c: Remove.
5358 * config/alpha/libgcc-osf5.ver: Remove.
5359 * config/alpha/osf5-unwind.h: Remove.
5360 * config/alpha/t-osf-pthread: Remove.
5361 * config/alpha/t-slibgcc-osf: Remove.
5362 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5363 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5364 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5365 * mkmap-flat.awk: Remove osf_export handling.
5366
5367 2012-03-12 Richard Guenther <rguenther@suse.de>
5368
5369 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5370 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5371 (__gthread_mutex_init_function): New function.
5372 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5373
5374 PR gcov/49484
5375 * libgcov.c: Include gthr.h.
5376 (__gcov_flush_mx): New global variable.
5377 (init_mx, init_mx_once): New functions.
5378 (__gcov_flush): Protect self with a mutex.
5379 (__gcov_fork): Re-initialize mutex after forking.
5380 * unwind-dw2-fde.c: Change condition under which to use
5381 __GTHREAD_MUTEX_INIT_FUNCTION.
5382
5383 2012-03-12 Tristan Gingold <gingold@adacore.com>
5384
5385 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5386 * config/ia64/t-vms: Likewise.
5387
5388 2012-03-11 Michael Hope <michael.hope@linaro.org>
5389
5390 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5391 for Thumb-2.
5392
5393 2012-03-07 Walter Lee <walt@tilera.com>
5394
5395 * config/tilepro/atomic.c: Rename "atomic_" prefix to
5396 "arch_atomic_".
5397 (atomic_xor): Rename and move definition to
5398 config/tilepro/atomic.h.
5399 (atomic_nand): Ditto.
5400 * config/tilepro/atomic.h: Rename "atomic_" prefix to
5401 "arch_atomic_".
5402 (arch_atomic_xor): Move from config/tilepro/atomic.c.
5403 (arch_atomic_nand): Ditto.
5404
5405 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
5406
5407 PR target/52507
5408 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5409
5410 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
5411
5412 PR target/52505
5413 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5414 from RAM.
5415
5416 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
5417
5418 PR target/52461
5419 PR target/52508
5420 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5421 if RAMPZ affects reading from RAM.
5422 (__tablejump_elpm__): Ditto.
5423 (.xload): Ditto.
5424 (__movmemx_hi): Ditto.
5425 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5426 (__do_global_dtors): Ditto.
5427 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5428 (__movmemx_hi): Ditto.
5429
5430 2012-03-05 Richard Henderson <rth@redhat.com>
5431
5432 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5433 [ARM] (count_trailing_zeros): Use the builtin.
5434
5435 2012-03-01 Kai Tietz <ktietz@redhat.com>
5436
5437 * soft-fp: Imported from glibc upstream.
5438
5439 2012-02-28 Kai Tietz <ktietz@redhat.com>
5440
5441 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5442 for mingw-targets as attribute gcc_struct.
5443
5444 2012-02-28 Ian Lance Taylor <iant@google.com>
5445
5446 * generic-morestack.c (__splitstack_releasecontext): Correct call
5447 to __morestack_release_segments.
5448
5449 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5450
5451 PR target/52390
5452 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5453 for __linux__ when removing signals from __morestack_fullmask.
5454
5455 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
5456
5457 PR target/52261
5458 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5459
5460 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5461
5462 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5463 instead of HAVE_INITFINI_ARRAY.
5464 * config/ia64/crtend.S: Likewise.
5465
5466 2012-02-20 Kai Tietz <ktietz@redhat.com>
5467
5468 PR libstdc++/52300
5469 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5470
5471 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5472 to w32-unwind.h header.
5473
5474 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5475
5476 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5477 (mips*-*-linux*): Remove t-slibgcc-libgcc.
5478 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5479 * config/mips/mips16.S (__mips16_rdhwr): Delete.
5480
5481 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5482
5483 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5484
5485 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5486
5487 PR libitm/52220
5488 * config/darwin-crt-tm.c: Correct typo.
5489
5490 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5491 Patrick Marlier <patrick.marlier@gmail.com>
5492
5493 PR libitm/52220
5494 * config/darwin-crt-tm.c: Generate dummy functions.
5495
5496 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5497 Patrick Marlier <patrick.marlier@gmail.com>
5498
5499 PR libitm/52042
5500 * config/darwin-crt-tm.c (getTMCloneTable): New function.
5501 (__doTMRegistrations): Call it.
5502 (__doTMdeRegistrations): Likewise.
5503
5504 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
5505 Anatoly Sokolov <aesok@post.ru>
5506 Eric Weddington <eric.weddington@atmel.com>
5507
5508 PR target/52261
5509 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5510 (__epilogue_restores__): Ditto.
5511
5512 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
5513
5514 PR target/51921
5515 PR target/52205
5516 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5517 Solaris 11 and slightly reformat.
5518 (sparc_is_sighandler): Likewise.
5519
5520 2012-02-14 Walter Lee <walt@tilera.com>
5521
5522 * config.host: Handle tilegx and tilepro.
5523 * config/tilegx/sfp-machine.h: New file.
5524 * config/tilegx/sfp-machine32.h: New file.
5525 * config/tilegx/sfp-machine64.h: New file.
5526 * config/tilegx/t-crtstuff: New file.
5527 * config/tilegx/t-softfp: New file.
5528 * config/tilegx/t-tilegx: New file.
5529 * config/tilepro/atomic.c: New file.
5530 * config/tilepro/atomic.h: New file.
5531 * config/tilepro/linux-unwind.h: New file.
5532 * config/tilepro/sfp-machine.h: New file.
5533 * config/tilepro/softdivide.c: New file.
5534 * config/tilepro/softmpy.S: New file.
5535 * config/tilepro/t-crtstuff: New file.
5536 * config/tilepro/t-tilepro: New file.
5537
5538 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
5539
5540 PR libstdc++/51296
5541 PR libstdc++/51906
5542 * gthr-posix.h: Allow static initializer macros to be disabled.
5543 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5544
5545 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5546
5547 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5548 Add t-slibgcc-libgcc to tmake_file.
5549 * config/mips/libgcc-mips16.ver: Revert previous patch.
5550 * config/mips/mips16.S (__mips16_rdhwr): Hide.
5551
5552 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
5553 Jayant R Sonar <jayant.sonar@kpitcummins.com>
5554
5555 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5556 * config/cr16/crti.S: New file.
5557 * config/cr16/crtlibid.S: New file.
5558 * config/cr16/crtn.S: New file.
5559 * config/cr16/lib1funcs.S: New file.
5560 * config/cr16/t-cr16: New file.
5561 * config/cr16/t-crtlibid: New file.
5562 * config/cr16/unwind-dw2.h: New file.
5563 * config/cr16/unwind-cr16.c: New file.
5564 * config/cr16/divmodhi3.c: New file.
5565
5566 2012-01-25 Alan Modra <amodra@gmail.com>
5567
5568 * config/rs6000/t-linux64: Delete. Move..
5569 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5570 * config/rs6000/t-linux: ..and libgcc flags to here.
5571
5572 2012-01-22 Douglas B Rupp <rupp@gnat.com>
5573
5574 * config.host (i[34567]86-*-interix3*):
5575 Change triplet to i[34567]86-*-interix[3-9]*.
5576 * configure: Regenerate.
5577
5578 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
5579 Richard Sandiford <rdsandiford@googlemail.com>
5580
5581 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5582 * config/mips/mips16.S (__mips16_rdhwr): New function.
5583 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5584
5585 2012-01-11 Nathan Sidwell <nathan@acm.org>
5586
5587 * libgcov.c (__gcov_init): Ignore objects with no functions.
5588
5589 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
5590
5591 PR target/49868
5592 Extend __pgmx semantics to linearize memory.
5593 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5594 * config/avr/lib1funcs.S (__xload_1): New function.
5595 (__movmemx_qi, __movmemx_hi): New functions.
5596 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5597 semantics.
5598
5599 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5600
5601 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5602 purported sigacthandler address isn't null before dereferencing it.
5603 (sparc_is_sighandler): Likewise.
5604
5605 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5606
5607 PR ada/41929
5608 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5609 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
5610 (sparc_is_sighandler): Likewise.
5611 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5612
5613 2012-01-06 Tristan Gingold <gingold@adacore.com>
5614
5615 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5616 compatibility thunks...
5617 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5618 (crtbeginS.o, crtendS.o): ... and these to ...
5619 * config/ia64/t-ia64-elf: ... this new file.
5620 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5621 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5622
5623 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5624
5625 * configure: Regenerate.
5626 * config/s390/t-crtstuff: Remove -fPIC.
5627
5628 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5629
5630 PR bootstrap/51006
5631 * enable-execute-stack-mprotect.c (getpagesize): Do not define
5632 for NetBSD.
5633
5634 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
5635
5636 PR target/51345
5637 * config/avr/lib1funcs.S: Remove FIXME comments.
5638 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5639
5640 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
5641
5642 Implement light-weight DImode support.
5643 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5644 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5645 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5646 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5647
5648 2011-12-30 Nathan Sidwell <nathan@acm.org>
5649
5650 * libgcov.c (gcov_crc32): Remove global var.
5651 (free_fn_data): New function.
5652 (buffer_fn_data): Pass in filename, more robust error recovery.
5653 (crc32_unsigned): New function.
5654 (gcov_exit): More robust detection of new program. More robust
5655 error recovery.
5656 (__gcov_init): Do not update program's crc here.
5657
5658 2011-12-21 Tristan Gingold <gingold@adacore.com>
5659
5660 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5661
5662 2011-12-21 Ian Lance Taylor <iant@google.com>
5663
5664 * config/i386/morestack.S: Simplify CFI opcodes throughout.
5665
5666 2011-12-20 Ian Lance Taylor <iant@google.com>
5667
5668 * config/i386/morestack.S (__morestack_non_split): If there is
5669 enough stack space already, don't split. Ask for more stack space
5670 than we required.
5671
5672 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
5673
5674 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5675 `sys/sdt.h'.
5676 (_Unwind_DebugHook): New function.
5677 (uw_restore_core_regs): New define.
5678 (unwind_phase2): Use uw_restore_core_regs instead of
5679 restore_core_regs.
5680 (unwind_phase2_forced): Likewise.
5681 (__gnu_Unwind_Resume): Likewise.
5682
5683 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
5684
5685 * config/alpha/linux-unwind.h: Update copyright years.
5686 (MD_FROB_UPDATE_CONTEXT): New define.
5687 (alpha_frob_update_context): New function.
5688
5689 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
5690
5691 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5692 tmake_file rather replacing it.
5693
5694 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
5695
5696 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
5697 function is not used for PPC64.
5698 (save_world): Amend comments. Update the VRsave mask to reflect the
5699 saved regs.
5700 (rest_world): Update comments, do not clobber r10, do not use r8.
5701 (eh_rest_world_r10): Amend comments, do not use r8.
5702 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5703 no longer used, move restore of CR and target address to the end of
5704 the routine.
5705
5706 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
5707
5708 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5709 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5710
5711 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
5712
5713 PR target/49313
5714 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5715 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5716
5717 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
5718
5719 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5720
5721 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
5722
5723 PR target/49313
5724 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5725 * config/avr/lib1funcs.S (__muldi3): New function.
5726
5727 2011-12-06 Andrew Pinski <apinski@cavium.com>
5728
5729 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5730 size of func_ptr.
5731 (__frame_dummy_init_array_entry): Likewise.
5732
5733 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
5734
5735 Forward-port from gcc-4_6-branch r181936 2011-12-02.
5736
5737 PR target/51345
5738 PR target/51002
5739 * config/avr/lib1funcs.S (__prologue_saves__,
5740 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5741 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
5742
5743 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
5744
5745 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5746
5747 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5748
5749 PR other/51272
5750 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5751 (_ITM_deregisterTMCloneTable): Likewise.
5752 (__register_frame_info): Fix unused warning.
5753 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5754 pthread_default_stacksize_np): Likewise.
5755 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
5756
5757 2011-11-29 DJ Delorie <dj@redhat.com>
5758
5759 * config.host (rl78-*-elf): New case.
5760 * config/rl78: New directory for the Renesas RL78.
5761
5762 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
5763
5764 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
5765 formatting.
5766
5767 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5768
5769 PR other/51022
5770 * config/rs6000/t-savresfgpr: New file.
5771 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5772 $(srcdir)/config/rs6000/eabi.S.
5773 * config/rs6000/t-ppccomm-ldbl: Remove.
5774 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5775 tmake_file.
5776 (powerpc-*-eabispe*): Likewise.
5777 (powerpc-*-eabi*): Likewise.
5778 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5779 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5780 to tmake_file, remove rs6000/t-ppccomm-ldbl.
5781 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5782 tmake_file.
5783 (powerpc-*-eabisim*): Likewise.
5784 (powerpc-*-elf*): Likewise.
5785 (powerpc-*-eabialtivec*): Likewise.
5786 (powerpc-xilinx-eabi*): Likewise.
5787 (powerpc-*-rtems*): Likewise.
5788 (powerpcle-*-elf*): Likewise.
5789 (powerpcle-*-eabisim*): Likewise.
5790 (powerpcle-*-eabi*): Likewise.
5791
5792 2011-11-27 Ian Lance Taylor <iant@google.com>
5793
5794 * generic-morestack.c (__splitstack_find): Check for NULL old
5795 stack value.
5796 (__splitstack_resetcontext): New function.
5797 (__splitstack_releasecontext): New function.
5798 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5799
5800 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5801
5802 * config/darwin-crt-tm.c: Correct comments, use correct licence.
5803
5804 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5805
5806 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5807
5808 2011-11-26 Richard Henderson <rth@redhat.com>
5809
5810 * config/m68k/linux-atomic.c: New file.
5811 * config/m68k/t-linux: New file.
5812 * config.host (m68k-uclinux, m68k-linux): Use it.
5813
5814 2011-11-26 Richard Henderson <rth@redhat.com>
5815
5816 * crtstuff.c (__TMC_LIST__): Mark used not unused.
5817 (__TMC_END__): Only declare if hidden is available; in the definition,
5818 if hidden is unavailable add a null record.
5819 (deregister_tm_clones, register_tm_clones): New.
5820 (__do_global_dtors_aux, frame_dummy): Use them.
5821 (__do_global_dtors, __do_global_ctors_1): Likewise.
5822
5823 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
5824
5825 * config/darwin-crt-tm.c: New file.
5826 * config.host (darwin): Build crttms.o crttme.o to provide
5827 startup and shutdown for tm clones.
5828 * config/t-darwin (crttms.o): New build rule.
5829 (crttme.o): Likewise.
5830
5831 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
5832
5833 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5834 et al.
5835
5836 2011-11-21 Richard Henderson <rth@redhat.com>
5837
5838 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5839 (__TMC_LIST__, __TMC_END__): New.
5840 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5841 (__do_global_dtors): Likewise.
5842 (frame_dummy): Call _ITM_registerTMCloneTable.
5843 (__do_global_ctors_1): Likewise.
5844
5845 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5846
5847 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5848 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5849 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5850 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5851 * config/i386/t-darwin64: Remove.
5852 * config/sh/t-netbsd (LIB2ADD): Remove.
5853
5854 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
5855
5856 PR target/49313
5857 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5858 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5859 * config/avr/lib1funcs.S (wmov): New assembler macro.
5860 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5861 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5862 (__udivmod64): New function.
5863 (__negdi2): New function.
5864
5865 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
5866
5867 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5868 *-*-freebsd*aout*): Remove.
5869
5870 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
5871
5872 * static-object.mk (c_flags-$o): Save c_flags.
5873 ($(base)$(objext)): Use it.
5874
5875 2011-11-18 Steve Ellcey <sje@cup.hp.com>
5876
5877 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5878
5879 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
5880
5881 PR target/49868
5882 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5883 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5884 New functions.
5885
5886 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5887
5888 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5889 functions.
5890 (aeabi_uidivmod): Likewise.
5891 (umodsi3): Likewise.
5892 (divsi3): Likewise.
5893 (aeabi_idivmod): Likewise.
5894 (modsi3): Likewise.
5895
5896 2011-11-16 Tristan Gingold <gingold@adacore.com>
5897
5898 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5899
5900 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
5901
5902 PR target/49868
5903 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
5904 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5905
5906 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5907
5908 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5909 tmake_file list.
5910 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5911 * config/pa/t-stublib64: Delete.
5912
5913 2011-11-12 Richard Henderson <rth@redhat.com>
5914
5915 * config/rs6000/linux-unwind.h (frob_update_context): Properly
5916 cast the pointer argument to _Unwind_SetGRPtr.
5917
5918 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5919
5920 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5921
5922 2011-11-09 Ian Lance Taylor <iant@google.com>
5923
5924 * generic-morestack.c: Include <string.h>.
5925 (uintptr_type): Define.
5926 (struct initial_sp): Add dont_block_signals field. Reduce size of
5927 extra array by 1.
5928 (allocate_segment): Set prev field to NULL. Don't set
5929 __morestack_current_segment or __morestack_segments.
5930 (__generic_morestack): Update current->prev and *pp after calling
5931 allocate_segment.
5932 (__morestack_block_signals): Don't do anything if
5933 dont_block_signals is set.
5934 (__morestack_unblock_signals): Likewise.
5935 (__generic_findstack): Check for initial_sp == NULL. Add casts to
5936 uintptr_type.
5937 (__splitstack_block_signals): New function.
5938 (enum __splitstack_content_offsets): Define.
5939 (__splitstack_getcontext, __splitstack_setcontext): New functions.
5940 (__splitstack_makecontext): New function.
5941 (__splitstack_block_signals_context): New function.
5942 (__splitstack_find_context): New function.
5943 * config/i386/morestack.S (__morestack_get_guard): New function.
5944 (__morestack_set_guard, __morestack_make_guard): New functions.
5945 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5946
5947 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5948
5949 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5950 (i[34567]86-*-mingw*): ... here.
5951 (x86_64-*-mingw*): ... here.
5952
5953 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5954
5955 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5956
5957 2011-11-07 Nathan Sidwell <nathan@acm.org>
5958
5959 * libgcov.c (struct gcov_fn_buffer): New struct.
5960 (buffer_fn_data): New helper.
5961 (gcov_exit): Rework for new gcov data structures.
5962
5963 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
5964
5965 PR target/49313
5966 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5967
5968 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5969
5970 * config.host (tmake_file): Correct comment.
5971 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5972 t-libgcc-pic.
5973 (bfin*-uclinux*): Likewise.
5974 (bfin*-linux-uclibc*): Likewise.
5975 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5976
5977 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5978 assigning.
5979 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5980 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5981 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5982 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5983 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5984 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5985 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5986 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5987 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5988 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5989 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5990 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5991 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5992
5993 * config/bfin/t-elf: Remove.
5994 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5995
5996 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5997
5998 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5999 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6000 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6001 (lm32-*-elf*): ... this.
6002 (lm32-*-rtems*): ... and this.
6003 Add to tmake_file.
6004 (m32r-*-rtems*): Add to tmake_file.
6005 (moxie-*-rtems*): Likewise.
6006 (sparc-*-rtems*): Likewise.
6007 Remove t-rtems from tmake_file.
6008 (sparc64-*-rtems*): Likewise.
6009 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6010 instead.
6011
6012 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6013
6014 PR bootstrap/50982
6015 * config/gthr-posix.h: Move ...
6016 * gthr-posix.h: ... here.
6017 * config/gthr-lynx.h: Reflect this.
6018 * config/gthr-vxworks.h: Likewise.
6019 * config/rs6000/gthr-aix.h: Likewise.
6020 * configure.ac (target_thread_file): Likewise.
6021 * configure: Regenerate.
6022
6023 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6024
6025 * config.host (arm*-*-rtemseabi*): New target.
6026
6027 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6028
6029 PR other/50991
6030 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6031 extra-parts.
6032
6033 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6034
6035 * config.host (epiphany-*-elf*): New configuration.
6036 * config/epiphany: New Directory.
6037
6038 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6039
6040 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6041 * config/avr/t-rtems: New.
6042 Filter out _exit from LIB1ASMFUNCS.
6043
6044 2011-11-04 David S. Miller <davem@davemloft.net>
6045
6046 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6047 * configure: Rebuild.
6048
6049 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6050
6051 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6052 variable.
6053
6054 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
6055
6056 PR target/50931
6057 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6058 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6059
6060 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6061
6062 PR target/50989
6063 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6064
6065 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6066
6067 * config/c6x/t-elf (LIB2ADDEH): Set.
6068 * config/c6x/t-c6x-elf: Remove.
6069
6070 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6071
6072 * config/i386/sol2-ci.S: Rename to ...
6073 * config/i386/crti.S: ... this.
6074 * config/i386/sol2-cn.S: Rename to ...
6075 * config/i386/crtn.S: ... this.
6076 * config/sparc/sol2-ci.S: Rename to ...
6077 * config/sparc/crti.S: ... this.
6078 * config/sparc/sol2-cn.S: Rename to ...
6079 * config/sparc/crtn.S: ... this.
6080 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6081 (crti.o, crtn.o): Remove.
6082
6083 2011-11-04 Tristan Gingold <gingold@adacore.com>
6084
6085 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6086
6087 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6088
6089 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6090
6091 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
6092
6093 * config.host (crisv32-*-none, cris-*-none): Remove.
6094 (crisv32-*-elf): Append to tmake_file, don't just set it.
6095 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6096
6097 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6098
6099 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6100 (ecrtn$(objext)): Likewise.
6101 (ncrti$(objext)): Likewise.
6102 (ncrtn$(objext)): Likewise.
6103
6104 2011-11-03 Andreas Schwab <schwab@redhat.com>
6105
6106 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6107
6108 2011-11-02 David S. Miller <davem@davemloft.net>
6109
6110 * configure.ac: Set host_address on sparc too.
6111 * configure: Regenerate.
6112 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6113 based upon host_address.
6114 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6115
6116 2011-11-02 Jason Merrill <jason@redhat.com>
6117
6118 * config/rs6000/t-ppccomm: Add missing \.
6119
6120 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6121
6122 * gthr-single.h, gthr.h: New files.
6123 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6124 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6125 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6126 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6127 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6128 * configure.ac (thread_header): New variable.
6129 Set it depending on target_thread_file.
6130 (gthr-default.h): Link from $thread_header.
6131 * configure: Regenerate.
6132 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6133
6134 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6135
6136 * configure.ac (tm_file_): New variable.
6137 Determine from tm_file.
6138 (tm_file, tm_defines): Substitute.
6139 * configure: Regenerate.
6140 * mkheader.sh: New file.
6141 * Makefile.in (clean): Remove libgcc_tm.h.
6142 ($(objects)): Depend on libgcc_tm.h.
6143 (libgcc_tm_defines, libgcc_tm_file): New variables.
6144 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6145 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6146 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6147 ($(extra-parts)): Depend on libgcc_tm.h.
6148 * config.host (tm_defines, tm_file): New variable.
6149 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6150 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6151 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6152 (avr-*-rtems*): Likewise.
6153 (avr-*-*): Likewise.
6154 (frv-*-elf): Likewise.
6155 (frv-*-*linux*): Likewise.
6156 (h8300-*-rtems*): Likewise.
6157 (h8300-*-elf*): Likewise.
6158 (i[34567]86-*-darwin*): Likewise.
6159 (x86_64-*-darwin*): Likewise.
6160 (rx-*-elf): Likewise.
6161 (tic6x-*-uclinux): Likewise.
6162 (tic6x-*-elf): Likewise.
6163 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6164 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6165 * config/i386/cygming-crtbegin.c: Likewise.
6166 * config/i386/cygming-crtend.c: Likewise.
6167 * config/ia64/fde-vms.c: Likewise.
6168 * config/ia64/unwind-ia64.c: Likewise.
6169 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6170 * config/rs6000/darwin-fallback.c: Likewise.
6171 * config/stormy16/lib2funcs.c: Likewise.
6172 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6173 * crtstuff.c: Likewise.
6174 * dfp-bit.h: Likewise.
6175 * emutls.c: Likewise.
6176 * fixed-bit.c: Likewise.
6177 * fp-bit.c: Likewise.
6178 * generic-morestack-thread.c: Likewise.
6179 * generic-morestack.c: Likewise.
6180 * libgcc2.c: Likewise.
6181 * libgcov.c: Likewise.
6182 * unwind-dw2-fde-dip.c: Likewise.
6183 * unwind-dw2-fde.c: Likewise.
6184 * unwind-dw2.c: Likewise.
6185 * unwind-sjlj.c: Likewise.
6186
6187 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6188
6189 * configure.ac: Include ../config/picflag.m4.
6190 (GCC_PICFLAG): Call it.
6191 Substitute.
6192 * configure: Regenerate.
6193 * Makefile.in (gcc_srcdir): Remove.
6194 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6195 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6196 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6197 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6198 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6199 Use $<.
6200 Remove comment.
6201 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6202 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6203 to refer to libgcc2.c.
6204 Use $<.
6205 * config/darwin-64.c: New file.
6206 * config/darwin-crt3.c: Remove comment.
6207 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6208 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6209 config/udivmodsi4.c: New files.
6210 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6211 config/memset.c: New files.
6212 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6213 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6214 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6215 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6216 * config/t-openbsd-thread: New file.
6217 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6218 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6219 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6220 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6221 qrnnd.S.
6222 Adapt filename.
6223 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6224 to refer to gthr-posix.c.
6225 * config/alpha/t-vms (LIB2ADD): Set.
6226 * config/alpha/vms-gcc_shell_handler.c: New file.
6227 * config/arm/bpabi.c, config/arm/fp16.c,
6228 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6229 config/arm/unaligned-funcs.c: New files.
6230 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6231 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6232 * config/arm/t-linux: Likewise.
6233 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6234 * config/arm/t-netbsd: New file.
6235 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6236 * config/arm/t-symbian (LIB2ADD_ST): Set.
6237 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6238 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6239 * config/bfin/t-elf: New file.
6240 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6241 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6242 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6243 config/c6x/ltf.c: New files.
6244 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6245 (HOST_LIBGCC2_CFLAGS): Set.
6246 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6247 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6248 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6249 New files.
6250 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6251 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6252 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6253 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6254 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6255 files.
6256 * config/frv/t-frv (LIB2ADD): Set.
6257 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6258 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6259 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6260 config/h8300/popcounthi2.c: New files.
6261 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6262 * config/i386/gthr-win32.c: New file.
6263 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6264 * config/i386/t-cygwin: Likewise.
6265 * config/i386/t-darwin, config/i386/t-darwin64,
6266 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6267 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6268 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6269 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6270 * config/ia64/quadlib.c: New file.
6271 * config/ia64/t-hpux (LIB2ADD): Set.
6272 * config/ia64/t-ia64: Add comment.
6273 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6274 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6275 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6276 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6277 * config/m32c/t-m32c (LIB2ADD): Set.
6278 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6279 * config/m32r/t-m32r: Likewise.
6280 * config/m68k/fpgnulib.c: New file.
6281 * config/m68k/t-floatlib (LIB2ADD): Set.
6282 (xfgnulib.c): New target.
6283 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6284 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6285 * config/mep/t-mep (LIB2ADD): Set.
6286 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6287 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6288 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6289 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6290 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6291 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6292 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6293 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6294 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6295 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6296 New files.
6297 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6298 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6299 * config/pa/fptr.c, config/pa/lib2funcs.S,
6300 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6301 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6302 (LIB2ADD, LIB2ADD_ST): Set.
6303 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6304 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6305 Set.
6306 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6307 * config/pdp11/t-pdp11: New file.
6308 * config/picochip/libgccExtras/adddi3.S,
6309 config/picochip/libgccExtras/ashlsi3.S,
6310 config/picochip/libgccExtras/ashrsi3.S,
6311 config/picochip/libgccExtras/clzsi2.S,
6312 config/picochip/libgccExtras/cmpsi2.S,
6313 config/picochip/libgccExtras/divmod15.S,
6314 config/picochip/libgccExtras/divmodhi4.S,
6315 config/picochip/libgccExtras/divmodsi4.S,
6316 config/picochip/libgccExtras/lshrsi3.S,
6317 config/picochip/libgccExtras/parityhi2.S,
6318 config/picochip/libgccExtras/popcounthi2.S,
6319 config/picochip/libgccExtras/subdi3.S,
6320 config/picochip/libgccExtras/ucmpsi2.S,
6321 config/picochip/libgccExtras/udivmodhi4.S,
6322 config/picochip/libgccExtras/udivmodsi4.S: New files.
6323 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6324 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6325 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6326 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6327 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6328 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6329 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6330 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6331 files.
6332 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6333 (HOST_LIBGCC2_CFLAGS): Set.
6334 * config/rs6000/t-darwin64: New file.
6335 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6336 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6337 * config/rs6000/t-ppccomm (LIB2ADD): Add
6338 $(srcdir)/config/rs6000/tramp.S.
6339 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6340 Add $(srcdir)/config/rs6000/eabi.S.
6341 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6342 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6343 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6344 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6345 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6346 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6347 * config/rs6000/tramp.S: New file.
6348 * config/s390/t-tpf: Remove.
6349 * config/sh/linux-atomic.S: New file.
6350 * config/sh/t-linux (LIB2ADD): Set.
6351 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6352 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6353 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6354 to unwind-dw2.c.
6355 (HOST_LIBGCC2_CFLAGS): Set.
6356 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6357 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6358 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6359 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6360 config/spu/mfc_multi_tag_release.c,
6361 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6362 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6363 config/spu/multi3.c: New files.
6364 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6365 (HOST_LIBGCC2_CFLAGS): Set.
6366 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6367 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6368 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6369 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6370 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6371 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6372 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6373 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6374 config/stormy16/umodsi3.c: New files.
6375 * config/xtensa/lib2funcs.S: New file.
6376 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6377 * config/xtensa/t-xtensa (LIB2ADD): Set.
6378 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6379 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6380 Add t-freebsd-thread to tmake_file for posix threads.
6381 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6382 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6383 (*-*-lynxos*): Likewise.
6384 (*-*-netbsd*): Likewise.
6385 (*-*-openbsd*): Likewise.
6386 Add t-openbsd-thread to tmake_file for posix threads.
6387 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6388 (*-*-vxworks*): Set tmake_file.
6389 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6390 (alpha*-*-freebsd*): Likewise.
6391 (alpha*-*-netbsd*): Likewise.
6392 (alpha*-*-openbsd*): Likewise.
6393 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6394 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6395 (alpha*-dec-*vms*): Likewise.
6396 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6397 (bfin*-elf*): Add bfin/t-elf to tmake_file.
6398 (bfin*-uclinux*): Likewise.
6399 (bfin*-linux-uclibc*): Likewise.
6400 (crisv32-*-elf): Add cris/t-cris to tmake_file.
6401 (crisv32-*-none): Likewise.
6402 (cris-*-elf): Likewise.
6403 (cris-*-none): Likewise.
6404 (cris-*-linux*, crisv32-*-linux*): Likewise.
6405 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6406 tmake_file.
6407 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6408 tmake_file.
6409 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6410 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6411 (x86_64-*-elf*): Likewise.
6412 (i[34567]86-*-nto-qnx*): Likewise.
6413 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6414 win32 threads.
6415 (x86_64-*-mingw*): Likewise.
6416 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6417 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6418 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6419 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6420 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6421 tmake_file.
6422 (mipsisa64sr71k-*-elf*): Likewise.
6423 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6424 (mips-*-elf*, mipsel-*-elf*): Likewise.
6425 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6426 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6427 (mips*-*-rtems*): Likewise.
6428 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6429 to tmake_file.
6430 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6431 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6432 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6433 (spu-*-elf*): Likewise.
6434 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6435
6436 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6437
6438 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6439 $(srcdir) to refer to $(LIB1ASMSRC).
6440 Use $<.
6441 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6442 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6443 config/arm/lib1funcs.S: New files.
6444 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6445 * config/arm/t-arm: New file.
6446 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6447 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6448 config/arm/t-strongarm-elf: New files.
6449 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6450 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6451 * config/avr/lib1funcs.S: New file.
6452 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6453 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6454 * config/c6x/lib1funcs.S: New file.
6455 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6456 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6457 * config/frv/lib1funcs.S: New file.
6458 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6459 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6460 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6461 * config/ia64/__divxf3.asm: Rename to ...
6462 * config/ia64/__divxf3.S: ... this.
6463 Adapt lib1funcs.asm filename.
6464 * config/ia64/_fixtfdi.asm: Rename to ...
6465 * config/ia64/_fixtfdi.S: ... this.
6466 Adapt lib1funcs.asm filename.
6467 * config/ia64/_fixunstfdi.asm: Rename to ...
6468 * config/ia64/_fixunstfdi.S: ... this.
6469 Adapt lib1funcs.asm filename.
6470 * config/ia64/_floatditf.asm: Rename to ...
6471 * config/ia64/_floatditf.S: ... this.
6472 Adapt lib1funcs.asm filename.
6473 * config/ia64/lib1funcs.S: New file.
6474 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6475 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6476 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6477 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6478 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6479 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6480 * config/mep/lib1funcs.S: New file.
6481 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6482 * config/mips/mips16.S: New file.
6483 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6484 * config/pa/milli64.S: New file.
6485 * config/pa/t-linux, config/pa/t-linux64: New files.
6486 * config/picochip/lib1funcs.S: New file.
6487 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6488 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6489 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6490 * config/sh/t-netbsd: New file.
6491 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6492 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6493 * config/sh/t-sh64: New file.
6494 * config/sparc/lb1spc.S: New file.
6495 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6496 filename.
6497 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6498 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6499 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6500 config/xtensa/lib1funcs.S: New files.
6501 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6502 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6503 tmake_file.
6504 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6505 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6506 (arm*-*-linux*): Likewise.
6507 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6508 arm*-*-linux-*eabi, add arm/t-linux otherwise.
6509 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6510 (arm*-*-ecos-elf): Likewise.
6511 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6512 (arm*-*-rtems*): Likewise.
6513 (arm*-*-elf): Likewise.
6514 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6515 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6516 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6517 (bfin*-uclinux*): Likewise.
6518 (bfin*-linux-uclibc*): Likewise.
6519 (bfin*-rtems*): Likewise.
6520 (bfin*-*): Likewise.
6521 (fido-*-elf): Merge into m68k-*-elf*.
6522 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6523 (frv-*-*linux*): Add frv/t-frv to tmake_file.
6524 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6525 (h8300-*-elf*): Likewise.
6526 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6527 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6528 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6529 (i[34567]86-*-mingw*): Likewise.
6530 (x86_64-*-mingw*): Likewise.
6531 (i[34567]86-*-interix3*): Likewise.
6532 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6533 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6534 (m68k-*-elf*): Also handle fido-*-elf.
6535 Add m68k/t-floatlib to tmake_file.
6536 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6537 (m68k-*-linux*): Likewise.
6538 (m68k-*-rtems*): Likewise.
6539 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6540 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6541 sh64*-*-*.
6542 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6543 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6544 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6545 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6546 sh/t-netbsd to tmake_file.
6547 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6548 (sh-*-rtems*): Add sh/t-sh to tmake_file.
6549 (sh-wrs-vxworks): Likewise.
6550 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6551 *-leon[3-9]*.
6552 (v850*-*-*): Add v850/t-v850 to tmake_file.
6553 (vax-*-linux*): Add vax/t-linux to tmake_file.
6554 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6555
6556 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6557
6558 * crtstuff.c: New file.
6559 * Makefile.in (CRTSTUFF_CFLAGS): Define.
6560 (CRTSTUFF_T_CFLAGS): Define.
6561 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6562 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6563 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6564 crtstuff.c.
6565 Use $<.
6566 (crtbeginT.o): Use $(objext).
6567 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6568 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6569 (gcc-extra-parts): Remove.
6570 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6571 Set extra_parts.
6572 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6573 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6574 Add t-crtstuff-pic to tmake_file.
6575 (*-*-lynxos*): New case.
6576 Set tmake_file, extra_parts.
6577 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6578 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6579 *-*-netbsdelf[2-9]*.
6580 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6581 (*-*-rtems*): Set extra_parts.
6582 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6583 (*-*-uclinux*): New case.
6584 Set extra_parts.
6585 (*-*-vms*): New case.
6586 Set tmake_file, extra_parts.
6587 (*-*-elf): Set extra_parts.
6588 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6589 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6590 vms/t-vms64.
6591 Set extra_parts.
6592 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6593 Set extra_parts.
6594 (arm*-*-freebsd*): Add t-crtin to tmake_file.
6595 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6596 (arm-wrs-vxworks): Append to tmake_file.
6597 Set extra_parts.
6598 (arm*-*-uclinux*): Set extra_parts.
6599 (arm*-*-ecos-elf): Likewise.
6600 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6601 arm*-*-eabi*.
6602 (arm*-*-rtems*): Set extra_parts.
6603 (arm*-*-elf): Likewise.
6604 (avr-*-rtems*): Clear extra_parts.
6605 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6606 Set extra_parts.
6607 (bfin*-uclinux*): Likewise.
6608 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6609 (bfin*-rtems*): Append to tmake_file.
6610 Set extra_parts.
6611 (bfin*-*): Likewise.
6612 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6613 (crisv32-*-elf): ... this.
6614 (crisv32-*-none): ... this.
6615 (cris-*-elf, cris-*-none): New cases.
6616 Add cris/t-elfmulti to tmake_file.
6617 (fr30-*-elf): Append to tmake_file.
6618 Set extra_parts.
6619 (frv-*-elf): Append to tmake_file, add frv/t-frv.
6620 Set extra_parts.
6621 (h8300-*-rtems*): Append to tmake_file.
6622 Set extra_parts.
6623 (h8300-*-elf*): Likewise.
6624 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6625 Set extra_parts.
6626 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6627 Set extra_parts.
6628 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6629 (x86_64-*-elf*): Likewise.
6630 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6631 (x86_64-*-freebsd*): Likewise.
6632 (x86_64-*-netbsd*): Likewise.
6633 (i[34567]86-*-linux*): Likewise.
6634 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6635 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6636 (x86_64-*-linux*): Likewise.
6637 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6638 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6639 tmake_file.
6640 Set extra_parts.
6641 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6642 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6643 Append to extra_parts, remove crtbegin.o, crtend.o.
6644 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6645 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6646 crtend.o, crtbeginS.o, crtendS.o.
6647 (ia64*-*-linux*): Comment extra_parts.
6648 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6649 Set extra_parts.
6650 (iq2000*-*-elf*): Clear extra_parts.
6651 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6652 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6653 (m32r-*-elf*, m32r-*-rtems*): Split off ...
6654 (m32r-*-rtems*): ... this.
6655 Add m32r/t-m32r to tmake_file.
6656 (m68k-*-elf*): Add t-crtin to tmake_file.
6657 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6658 (mcore-*-elf): Likewise.
6659 (microblaze*-*-*): Set extra_parts.
6660 (mips*-sde-elf*): New case.
6661 Set tmake_file, extra_parts.
6662 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6663 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6664 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6665 tmake_file.
6666 Set extra_parts.
6667 (mipsisa64sr71k-*-elf*): Likewise.
6668 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6669 (mips-*-elf*, mipsel-*-elf*): Likewise.
6670 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6671 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6672 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6673 (mips*-*-rtems*): Likewise.
6674 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6675 (moxie-*-*): Split into ...
6676 (moxie-*-elf, moxie-*-uclinux*): ... this.
6677 Add to extra_parts, remove crtbegin.o, crtend.o.
6678 (moxie-*-rtems*): New case.
6679 Set tmake_file.
6680 Clear extra_parts.
6681 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6682 Set extra_parts.
6683 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6684 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6685 tmake_file.
6686 Set extra_parts.
6687 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6688 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6689 Set extra_parts.
6690 (powerpc-*-eabisim*): Likewise.
6691 (powerpc-*-elf*): Likewise.
6692 (powerpc-*-eabialtivec*): Likewise.
6693 (powerpc-xilinx-eabi*): Likewise.
6694 (powerpc-*-eabi*): Likewise.
6695 (powerpc-*-rtems*): Likewise.
6696 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6697 tmake_file.
6698 Set extra_parts.
6699 (powerpc-*-lynxos*): Add to tmake_file.
6700 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6701 rs6000/t-crtstuff, t-crtstuff-pic.
6702 Set extra_parts.
6703 (powerpcle-*-eabisim*): Likewise.
6704 (powerpcle-*-eabi*): Likewise.
6705 (rx-*-elf): Remove extra_parts.
6706 (s390x-ibm-tpf*): Set extra_parts.
6707 (score-*-elf): Set extra_parts.
6708 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6709 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6710 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6711 (sh64l*-*-netbsd*): Split into ...
6712 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6713 Add t-crtstuff-pic to tmake_file.
6714 Set extra_parts.
6715 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6716 Set extra_parts.
6717 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6718 (sparc-*-elf*): Remove t-crtin from tmake_file.
6719 Add to extra_parts, remove crtbegin.o, crtend.o.
6720 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6721 (sparc64-*-linux*): Likewise.
6722 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6723 Add to extra_parts, remove crtbegin.o, crtend.o.
6724 (sparc64-*-elf*): Remove t-crtin from tmake_file.
6725 Add to extra_parts, remove crtbegin.o, crtend.o.
6726 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6727 Add to extra_parts, remove crtbegin.o, crtend.o.
6728 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6729 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6730 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6731 Set extra_parts.
6732 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6733 Set extra_parts.
6734 (tic6x-*-*): Change to ...
6735 (tic6x-*-elf): ... this.
6736 Set extra_parts.
6737 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6738 Set extra_parts.
6739 (am33_2.0-*-linux*): Add comment.
6740 (mep*-*-*): Add mep/t-mep to tmake_file.
6741 Set extra_parts.
6742 * config/alpha/t-vms: New file.
6743 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6744 * config/arm/crti.S, config/arm/crtn.S: New files.
6745 * config/bfin/crti.S, config/bfin/crtn.S: New files.
6746 * config/bfin/crtlibid.S: New file.
6747 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6748 * config/c6x/crti.S, config/c6x/crtn.S: New files.
6749 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6750 (crti.o, crtin.o): New rules.
6751 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6752 * config/c6x/t-uclinux: New file.
6753 * config/cris/t-elfmulti: New file.
6754 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6755 * config/fr30/crti.S, config/fr30/crtn.S: New files.
6756 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6757 * config/frv/t-frv: New file.
6758 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6759 * config/h8300/crti.S, config/h8300/crtn.S: New files.
6760 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6761 New files.
6762 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6763 refer to cygming-crtbegin.c, cygming-crtend.c.
6764 Use $<.
6765 * config/i386/t-nto: New file.
6766 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6767 * config/ia64/crti.S, config/ia64/crtn.S: New files.
6768 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6769 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6770 Use .S extension.
6771 Use $<.
6772 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6773 (crtinitS.o): New rule.
6774 * config/ia64/vms-crtinit.S: New file.
6775 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6776 * config/m32r/initfini.c: New file.
6777 * config/m32r/t-linux, config/m32r/t-m32r: New files.
6778 * config/m68k/crti.S, config/m68k/crtn.S: New files.
6779 * config/mcore/crti.S, config/mcore/crtn.S: New files.
6780 * config/mep/t-mep: New file.
6781 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6782 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6783 * config/mips/crti.S, config/mips/crtn.S: New files.
6784 * config/mips/t-crtstuff: New file.
6785 * config/mmix/crti.S, config/mmix/crtn.S: New files.
6786 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6787 (CUSTOM_CRTIN): Set.
6788 ($(T)crti.o, $(T)crtn.o): Remove $(T),
6789 dependencies.
6790 Use $(srcdir) to refer to crti.S, crtn.S.
6791 Use .S extension, $<.
6792 * config/moxie/crti.asm: Rename to ...
6793 * config/moxie/crti.S: ... this.
6794 * config/moxie/crtn.asm: Rename to ...
6795 * config/moxie/crtn.S: ... this.
6796 * config/moxie/t-moxie: Remove.
6797 * config/pa/stublib.c: New file.
6798 * config/pa/t-stublib, config/pa/t-stublib64: New files.
6799 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6800 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6801 * config/rs6000/t-crtstuff: New file.
6802 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6803 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6804 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6805 Make output file explicit.
6806 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6807 Make output file explicit.
6808 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6809 Make output file explicit.
6810 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6811 Make output file explicit.
6812 * config/score/crti.S, config/score/crtn.S: New files.
6813 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6814 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6815 files.
6816 * config/sh/t-sh, config/sh/t-superh: New files.
6817 * config/sparc/t-linux64: New file.
6818 * config/spu/cache.S, config/spu/cachemgr.c: New files.
6819 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6820 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6821 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6822 * config/t-crtin: Remove.
6823 * config/t-crtstuff-pic: New file.
6824 * config/t-sol2 (CUSTOM_CRTIN): Set.
6825 (crti.o, crtn.o): New rules.
6826 * config/vms/t-vms: New file.
6827 * config/vms/vms-ucrt0.c: New file.
6828 * config/xtensa/t-elf: New file.
6829
6830 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6831
6832 * Makefile.in (SHLIB_NM_FLAGS): Set.
6833 * mkmap-flat.awk, mkmap-symver.awk: New files.
6834 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6835 exceptions.
6836 * configure: Regenerate.
6837 * config/libgcc-glibc.ver: New file.
6838 * config/libgcc-libsystem.ver: New file.
6839 * config/t-libunwind (SHLIB_LC): Set.
6840 * config/t-linux: New file.
6841 * config/t-slibgcc (INSTALL_SHLIB): New.
6842 (SHLIB_INSTALL): Use it.
6843 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6844 to mkmap-symver.awk.
6845 (SHLIB_MAPFILES): Don't append, adapt pathname.
6846 (SHLIB_VERPFX): Set.
6847 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6848 to mkmap-symver.awk.
6849 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6850 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6851 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6852 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6853 to mkmap-flat.awk.
6854 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6855 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6856 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6857 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6858 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6859 * config/i386/libgcc-darwin.10.4.ver,
6860 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6861 New files.
6862 * config/i386/t-darwin: Remove.
6863 * config/i386/t-darwin64: Likewise.
6864 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6865 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6866 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6867 * config/i386/t-linux: New file.
6868 * config/i386/t-mingw32: New file.
6869 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6870 * config/ia64/t-glibc: Rename to ...
6871 * config/ia64/t-linux: ... this.
6872 (SHLIB_MAPFILES): Set.
6873 * config/ia64/t-glibc-libunwind: Rename to ...
6874 * config/ia64/t-linux-libunwind: ... this.
6875 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6876 * config/ia64/t-slibgcc-hpux: New file.
6877 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6878 * config/m68k/t-slibgcc-elf-ver: New file.
6879 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6880 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6881 to mkmap-flat.awk.
6882 * config/pa/t-slibgcc-hpux: New file.
6883 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6884 files.
6885 * config/rs6000/libgcc-darwin.10.4.ver,
6886 config/rs6000/libgcc-darwin.10.5.ver: New files.
6887 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6888 config/rs6000/libgcc-glibc.ver.
6889 * config/rs6000/libgcc-ppc64.ver: Rename to
6890 config/rs6000/libgcc-ibm-ldouble.ver.
6891 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6892 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6893 * config/rs6000/t-ldbl128: Rename to ...
6894 * config/rs6000/t-linux: ... this.
6895 (SHLIB_MAPFILES): Adapt filename.
6896 * config/rs6000/t-slibgcc-aix: New file.
6897 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6898 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6899 libgcc-excl.ver, libgcc-glibc.ver.
6900 (SHLIB_LINK, SHLIB_INSTALL): Remove.
6901 * config/sparc/libgcc-glibc.ver: New file.
6902 * config/sparc/t-linux: New file.
6903 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6904 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6905 t-slibgcc-elf-ver to tmake_file.
6906 Add t-slibgcc-nolc-override to tmake_file for posix threads on
6907 *-*-freebsd[34].
6908 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6909 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6910 t-slibgcc-elf-ver, t-linux to tmake_file.
6911 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6912 tmake_file.
6913 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6914 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6915 (alpha*-dec-*vms*): Likewise.
6916 (arm*-*-freebsd*): Append to tmake_file.
6917 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6918 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6919 arm*-*-linux-*eabi.
6920 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6921 tmake_file for arm*-*-symbianelf*.
6922 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6923 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6924 cris/t-linux.
6925 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6926 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6927 pa/t-slibgcc-dwarf-ver to tmake_file.
6928 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6929 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6930 (hppa*64*-*-hpux11*): Likewise.
6931 (hppa[12]*-*-hpux11*): Likewise.
6932 (x86_64-*-darwin*): Don't override tmake_file, but only keep
6933 i386/t-crtpc, i386/t-crtfm.
6934 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6935 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6936 to tmake_file.
6937 Add i386/t-cygwin to tmake_file.
6938 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6939 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6940 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6941 to tmake_file.
6942 Add i386/t-mingw32 to tmake_file.
6943 (x86_64-*-mingw*): Likewise.
6944 (ia64*-*-freebsd*): Append to tmake_file.
6945 (ia64*-*-linux*): Append to tmake_file.
6946 Replace ia64/t-glibc by ia64/t-linux.
6947 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6948 system libunwind.
6949 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6950 t-slibgcc-hpux to tmake_file.
6951 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6952 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6953 (m32rle-*-linux*): Likewise.
6954 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6955 sjlj exceptions.
6956 (microblaze*-linux*): New case.
6957 Append to tmake_file, add t-slibgcc-nolc-override.
6958 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6959 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6960 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6961 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6962 rs6000/t-slibgcc-aix to tmake_file.
6963 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6964 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6965 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6966 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6967 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6968 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6969 sh*-*-linux*.
6970 (sparc-*-linux*): Append to tmake_file for *-leon*.
6971 Add sparc/t-linux to tmake_file for non-Leon targets.
6972 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6973 (tic6x-*-uclinux): New case.
6974 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6975 (tic6x-*-*): Add c6x/t-elf to tmake_file.
6976 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6977 (am33_2.0-*-linux*): Append to tmake_file.
6978 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6979 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6980 x86_64-*-kfreebsd*-gnu.
6981 Add i386/t-linux to tmake_file.
6982
6983 2011-10-28 Ian Lance Taylor <iant@google.com>
6984
6985 * config/i386/morestack.S: Correct CFI information to do proper
6986 returns throughout function. In 32-bit mode, save %ebx so that it
6987 is restored on unwind.
6988
6989 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
6990
6991 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6992 case where B3 isn't the return register.
6993
6994 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6995 logic for doubleword pops.
6996
6997 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
6998
6999 * config/rs6000/t-freebsd: Add wildcard.
7000
7001 2011-10-21 Paul Brook <paul@codesourcery.com>
7002
7003 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7004
7005 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7006 Eric Botcazou <ebotcazou@adacore.com>
7007
7008 PR target/50737
7009 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7010 fs->signal_frame to 1.
7011
7012 2011-10-07 Ian Lance Taylor <iant@google.com>
7013
7014 * generic-morestack-thread.c: #include <errno.h>.
7015
7016 2011-10-07 Ian Lance Taylor <iant@google.com>
7017
7018 PR target/46093
7019 * generic-morestack.c (__generic_morestack): Make sure the segment
7020 is large enough for both the stack frame and the copied
7021 parameters.
7022
7023 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7024
7025 PR bootstrap/49804
7026 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7027 extra_parts.
7028
7029 2011-09-28 Nick Clifton <nickc@redhat.com>
7030
7031 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7032 64-bit doubles are not enabled.
7033 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7034 and floatunsisf functions.
7035
7036 2011-09-13 Paul Brook <paul@codesourcery.com>
7037
7038 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7039 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7040 * unwind-arm-common.inc: New file.
7041 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7042 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7043 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7044 * config/c6x/libunwind.S: New file.
7045 * config/c6x/pr-support.c: New file.
7046 * config/c6x/unwind-c6x.c: New file.
7047 * config/c6x/unwind-c6x.h: New file.
7048 * config/c6x/t-c6x-elf: New file.
7049
7050 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
7051
7052 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7053 (ASM_DIVZERO): Ditto.
7054 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7055
7056 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7057
7058 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7059
7060 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7061
7062 PR target/50090
7063 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7064 instead of an assembly one.
7065
7066 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
7067
7068 PR bootstrap/50047
7069 * Makefile.in (install-unwind_h): Create
7070 $(gcc_objdir)/include/unwind.h atomically.
7071
7072 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7073
7074 * Makefile.in (install-unwind_h): Remove destination file first.
7075
7076 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7077
7078 * sync.c: New file.
7079 * config/mips/t-mips16: New file.
7080 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7081 (mips*-*-linux*): Likewise.
7082 (mips*-sde-elf*): Likewise.
7083 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7084 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7085 Add mips/t-mips16 to tmake_file.
7086 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7087 (mips-*-elf*): Likewise.
7088 (mips64-*-elf*): Likewise.
7089 (mips64orion-*-elf*): Likewise.
7090 (mips*-*-rtems*): Likewise.
7091 (mipstx39-*-elf*): Likewise.
7092 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7093 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7094 LIBGCC_SYNC_CFLAGS.
7095 Use $(srcdir) to refer to sync.c.
7096 Use $<.
7097 ($(libgcc-sync-funcs-o)): Likewise.
7098 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7099 ($(libgcc-sync-funcs-s-o)): Likewise.
7100
7101 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7102
7103 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7104 t-libunwind.
7105
7106 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7107
7108 PR other/48007
7109 * config/i386/value-unwind.h: New.
7110
7111 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7112
7113 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7114 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7115 Add to tmake_file rather than overriding it.
7116
7117 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7118
7119 * config/t-softfp: Remove.
7120 * soft-fp: Moved from ../gcc/config.
7121 * soft-fp/README: Remove t-softfp reference.
7122 * soft-fp/t-softfp: Move to config/t-softfp.
7123 (softfp_machine_header): Remove.
7124 (softfp_file_list): Remove config subdir.
7125 (soft-fp-objects): New variable.
7126 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7127 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7128 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7129 * config/t-softfp-excl: New file.
7130 * config/t-softfp-sfdf: New file.
7131 * config/t-softfp-tf: New file.
7132 * config/no-sfp-machine.h: New file.
7133 * config/arm/sfp-machine.h: New file.
7134 * config/arm/t-softfp: New file.
7135 * config/c6x/sfp-machine.h: New file.
7136 * config/i386/32/t-fprules-softfp: Rename to ...
7137 * config/i386/32/t-softfp: ... this.
7138 (tifunctions, LIB2ADD): Remove.
7139 (softfp_int_modes): Override.
7140 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7141 subdir.
7142 * config/i386/64/eqtf2.c: Likewise.
7143 * config/i386/64/getf2.c: Likewise.
7144 * config/i386/64/letf2.c: Likewise.
7145 * config/ia64/sft-machine.h: New file.
7146 * config/ia64/t-fprules-softfp: Rename to ...
7147 * config/ia64/t-softfp: ... this.
7148 * config/lm32/sfp-machine.h: New file.
7149 * config/moxie/t-moxie-softfp: Remove.
7150 * config/rs6000/ibm-ldouble-format: New file.
7151 * config/rs6000/ibm-ldouble.c: New file.
7152 * config/rs6000/libgcc-ppc-glibc.ver: New file
7153 * config/rs6000/libgcc-ppc64.ver: New file
7154 * config/rs6000/sfp-machine.h: New file.
7155 * config/rs6000/t-freebsd: New file.
7156 * config/rs6000/t-ibm-ldouble: New file.
7157 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7158 libgcc-ppc-glibc.ver.
7159 * config/rs6000/t-linux64: New file.
7160 * config/rs6000/t-ppccomm (LIB2ADD): Add
7161 $(srcdir)/config/rs6000/ibm-ldouble.c.
7162 * config/rs6000/t-ppccomm-ldbl: New file.
7163 * config/score/sfp-machine.h: New file.
7164 * config.host (sfp_machine_header): Explain.
7165 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7166 t-softfp to tmake_file.
7167 (arm*-*-uclinux*): Likewise.
7168 (arm*-*-ecos-elf): Likewise.
7169 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7170 (arm*-*-rtems*): Likewise.
7171 (arm*-*-elf): Likewise.
7172 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7173 in tmake_file.
7174 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7175 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7176 (lm32-*-uclinux*): Likewise.
7177 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7178 t-softfp-excl, t-softfp.
7179 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7180 (powerpc64-*-darwin*): Likewise.
7181 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7182 to tmake_file.
7183 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7184 tmake_file.
7185 (powerpc-*-eabisim*): Likewise.
7186 (powerpc-*-elf*): Likewise.
7187 (powerpc-*-eabialtivec*): Likewise.
7188 (powerpc-xilinx-eabi*): Likewise.
7189 (powerpc-*-rtems*): Likewise.
7190 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7191 t-softfp-excl, t-softfp to tmake_file.
7192 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7193 rs6000/t-ppccomm-ldbl to tmake_file.
7194 (powerpcle-*-elf*): Likewise.
7195 (powerpcle-*-eabisim*): Likewise.
7196 (powerpcle-*-eabi*): Likewise.
7197 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7198 rs6000/t-ibm-ldouble to tmake_file.
7199 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7200 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7201 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7202 (tic6x-*-*): Likewise.
7203 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7204 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7205 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7206 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7207 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7208 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7209 t-softfp to tmake_file.
7210 * configure.ac (sfp_machine_header): Provide default if unset.
7211 Substitute.
7212 Link sfp-machine.h to config/$sfp_machine_header.
7213 * configure: Regenerate.
7214
7215 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7216
7217 * Makefile.in (double_type_size, long_double_type_size): Set.
7218 Remove $(fpbit-in-libgcc) support.
7219 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7220 (fpbit-src): New variable.
7221 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7222 Compile with -DFLOAT $(FPBIT_CFLAGS).
7223 Use $<.
7224 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7225 Compile with $(FPBIT_CFLAGS).
7226 Use $<.
7227 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7228 Compile with -DFLOAT $(TPBIT_CFLAGS).
7229 Use $<.
7230 * configure.ac (double_type_size, long_double_type_size):
7231 Determine and substitute.
7232 * configure: Regenerate.
7233 * fp-bit.c, fp-bit.h: New files.
7234 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7235 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7236 * config/mips/t-mips: New file.
7237 * config/mips/t-sdemtk: New file.
7238 * config/rs6000/ppc64-fp.c: New file.
7239 * config/rs6000/t-darwin (LIB2ADD): Add
7240 $(srcdir)/config/rs6000/ppc64-fp.c.
7241 * config/rs6000/t-ppc64-fp: New file.
7242 * config/rx/rx-lib.h: New file.
7243 * config/rx/t-rx (FPBIT): Set to true.
7244 ($(gcc_objdir)/fp-bit.c): Remove.
7245 (DPBIT): Set to true only with -m64bit-doubles.
7246 ($(gcc_objdir)/dp-bit.c): Remove.
7247 * config/sparc/t-softfp: Remove.
7248 * config/spu/t-elf: New file.
7249 * config/t-fdpbit, config/t-fpbit: New files.
7250 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7251 (mips*-*-*): Likewise.
7252 (arm-wrs-vxworks): Likewise.
7253 (arm*-*-freebsd*): Likewise.
7254 (avr-*-rtems*): Add t-fpbit to tmake_file.
7255 (avr-*-*): Likewise.
7256 (bfin*-elf*): Add t-fdpbit to tmake_file.
7257 (bfin*-uclinux*): Likewise.
7258 (bfin*-linux-uclibc*): Likewise.
7259 (bfin*-rtems*): New case.
7260 Add t-fdpbit to tmake_file.
7261 (bfin*-*): Add t-fdpbit to tmake_file.
7262 (crisv32-*-elf): Likewise.
7263 (cris-*-linux*): Likewise.
7264 (fr30-*-elf): Likewise.
7265 (frv-*-elf, frv-*-*linux*): Likewise.
7266 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7267 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7268 (m32r-*-elf*): Likewise.
7269 (m32rle-*-elf*): Likewise.
7270 (m32r-*-linux*): Likewise.
7271 (m32rle-*-linux*): Likewise.
7272 (mcore-*-elf): Add t-fdpbit to tmake_file.
7273 (microblaze*-*-*): Likewise.
7274 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7275 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7276 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7277 Fix typo.
7278 Add mips/t-tpbit to tmake-file.
7279 (mips*-*-linux*): Fix typo.
7280 (mips*-sde-elf*): New case
7281 Add mips/t-sdemtk unless using newlib.
7282 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7283 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7284 (mn10300-*-*): Likewise.
7285 (pdp11-*-*): Likewise.
7286 (picochip-*-*): Add t-fpbit to tmake_file.
7287 (powerpc-*-eabisimaltivec*): Likewise.
7288 (powerpc-*-eabisim*): Likewise.
7289 (powerpc-*-elf*): Likewise.
7290 (powerpc-*-eabialtivec*): Likewise.
7291 (powerpc-xilinx-eabi*): New case.
7292 Add t-fdpbit to tmake_file.
7293 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7294 (powerpc-*-rtems*): Likewise.
7295 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7296 tmake_file.
7297 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7298 tmake_file.
7299 (powerpc-*-lynxos*): Likewise.
7300 (powerpcle-*-elf*): Likewise.
7301 (powerpcle-*-eabisim*): Likewise.
7302 (powerpcle-*-eabi*): Likewise.
7303 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7304 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7305 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7306 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7307 (rx-*-elf): Add t-fdpbit to tmake_file.
7308 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7309 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7310 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7311 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7312 sh*-*-netbsd*.
7313 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7314 (sh-wrs-vxworks): Likewise.
7315 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7316 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7317 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7318 (sparc64-*-rtems*): ... new case.
7319 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7320 (spu-*-elf*): Likewise.
7321 Add spu/t-elf to tmake_file.
7322 (v850*-*-*): Add t-fdpbit to tmake_file.
7323 (xstormy16-*-elf): Likewise.
7324 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7325 (mep*-*-*): Likewise.
7326
7327 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7328
7329 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7330 variables.
7331 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7332 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7333 (install-unwind_h): New target.
7334 (all): Depend on it.
7335 * config.host (unwind_header): New variable.
7336 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7337 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7338 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7339 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7340 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7341 Set unwind_header.
7342 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7343 Set unwind_header.
7344 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7345 arm*-*-eabi*.
7346 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7347 Set unwind_header.
7348 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7349 (ia64*-*-freebsd*): Likewise.
7350 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7351 tmake_file.
7352 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7353 $with_system_libunwind.
7354 (ia64*-*-hpux*): Set tmake_file.
7355 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7356 (picochip-*-*): Set tmake_file.
7357 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7358 md_unwind_header.
7359 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7360 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7361 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7362 (xtensa*-*-elf*): Set tmake_file.
7363 (xtensa*-*-linux*): Likewise.
7364 * configure.ac: Include ../config/unwind_ipinfo.m4.
7365 Call GCC_CHECK_UNWIND_GETIPINFO.
7366 Link unwind.h to $unwind_header.
7367 * configure: Regenerate.
7368 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7369 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7370 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7371 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7372 * config/unwind-dw2-fde-darwin.c: New file.
7373 * config/arm/libunwind.S, config/arm/pr-support.c,
7374 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7375 config/arm/unwind-arm.h,: New files.
7376 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7377 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7378 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7379 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7380 config/ia64/unwind-ia64.h: New files.
7381 * config/picochip/t-picochip: New file.
7382 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7383 files.
7384 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7385 * config/s390/t-tpf (LIB2ADDEH): Remove.
7386 * config/t-darwin (LIB2ADDEH): Set.
7387 * config/t-eh-dw2-dip: New file.
7388 * config/t-libunwind, config/t-libunwind-elf: New files.
7389 * config/t-sol2 (LIB2ADDEH): Remove.
7390 * config/xtensa/t-xtensa: New file.
7391
7392 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
7393
7394 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7395 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7396 long long to check rt_sigreturn syscall.
7397
7398 2011-08-02 Alan Modra <amodra@gmail.com>
7399
7400 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7401 Restore for indirect call bcrtl from correct stack slot, and only
7402 if cfa+40 isn't valid.
7403
7404 2011-08-01 Julian Brown <julian@codesourcery.com>
7405
7406 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7407 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7408 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7409
7410 2011-08-01 Julian Brown <julian@codesourcery.com>
7411
7412 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7413 (libgcc-std.ver.in): Use above.
7414 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7415 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
7416 throughout file.
7417 * config/t-fixedpoint-gnu-prefix: New file.
7418 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7419 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7420 instead of __PFX__.
7421
7422 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
7423
7424 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7425 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7426 for x86-64. Properly check __x86_64__ and __LP64__.
7427
7428 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
7429
7430 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7431 version.
7432 (_FP_WS_TYPE): Likewise.
7433 (_FP_I_TYPE): Likewise.
7434
7435 2011-07-28 Alan Modra <amodra@gmail.com>
7436
7437 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7438 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7439 in a plt call stub. Do restore r2 if stopped on bctrl.
7440
7441 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7442
7443 * config.host (i[3456x]86-*-netware*): Remove.
7444 * config/i386/netware-crt0.c, config/i386/t-nwld,
7445 config/i386/t-slibgcc-nwld: Remove.
7446
7447 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7448
7449 * config.host: Handle tic6x-*-*.
7450 * config/c6x/c6x-abi.h: New file.
7451
7452 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7453
7454 * config/i386/crtprec.c: New file.
7455 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7456 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7457 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7458 (x86_64-*-darwin*): Likewise.
7459 (i[34567]86-*-solaris2*: Likewise.
7460
7461 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7462
7463 * config/alpha/crtfastmath.c: New file.
7464 * config/i386/crtfastmath.c: New file.
7465 * config/ia64/crtfastmath.c: New file.
7466 * config/mips/crtfastmath.c: New file.
7467 * config/sparc/crtfastmath.c: New file.
7468
7469 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7470 crtfastmath.c.
7471 Add -frandom-seed=gcc-crtfastmath.
7472 * config/alpha/t-crtfm: Remove.
7473 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7474 * config/ia64/t-ia64 (crtfastmath.o): Remove.
7475
7476 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7477 (alpha*-dec-osf5.1*): Likewise.
7478 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7479 Add crtfastmath.o to extra_parts.
7480 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7481 Add crtfastmath.o to extra_parts.
7482 (x86_64-*-darwin*): Likewise.
7483 (x86_64-*-mingw*): Likewise.
7484 (ia64*-*-elf*): Add t-crtfm to tmake_file.
7485 (ia64*-*-freebsd*): Likewise.
7486 (ia64*-*-linux*): Likewise.
7487 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7488 Add crtfastmath.o to extra_parts.
7489
7490 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7491
7492 * config/darwin-crt3.o: New file.
7493 * config/rs6000/darwin-crt2.c: New file.
7494 * config/t-darwin: New file.
7495 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7496 (crt2.o): New rule.
7497 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7498 (powerpc-*-darwin*): Add crt2.o to extra_parts.
7499 (powerpc64-*-darwin*): Likewise.
7500
7501 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7502
7503 * config/i386/netware-crt0.c: New file.
7504 * config/i386/t-nwld: Rename to ...
7505 * config/i386/t-slibgcc-nwld: ... this.
7506 * config/i386/t-nwld: New file.
7507 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7508 tmake_file.
7509 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7510 extra_parts.
7511
7512 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7513
7514 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7515 i386/t-crtstuff.
7516 * configure: Regenerate.
7517
7518 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7519
7520 * dfp-bit.c, dfp-bit.h: New files.
7521 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7522 variables.
7523 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7524 ($(d64pbit-o)): Likewise.
7525 ($(d128pbit-o)): Likewise.
7526 * config/t-dfprules: New file.
7527 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7528 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7529 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7530 (x86_64-*-linux*): Likewise.
7531 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7532 (i[34567]86-*-cygwin*): Likewise.
7533 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
7534 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7535
7536 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7537
7538 * Makfile.in (LIBGCOV): New variable.
7539 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7540 * libgcov.c: New file.
7541
7542 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7543
7544 * fixed-bit.c, fixed-bit.h: New files.
7545 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7546 refer to fixed-bit.c.
7547
7548 2011-07-07 Joseph Myers <joseph@codesourcery.com>
7549
7550 * config.host (*local*): Remove.
7551
7552 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7553
7554 PR target/39150
7555 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7556 like i?86-*-solaris2.1[0-9]*.
7557 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7558 * configure.ac (i?86-*-solaris2*): Likewise.
7559 * configure: Regenerate.
7560
7561 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
7562
7563 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7564 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7565 md_unwind_header by splitting out of...
7566 (i[34567]86-*-linux*): ... this.
7567 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7568 Remove md_unwind_header by splitting out of...
7569 (x86_64-*-linux*): ... this.
7570
7571 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
7572
7573 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7574
7575 2011-06-28 Nick Clifton <nickc@redhat.com>
7576
7577 * config.host: Recognize all V850 variants.
7578
7579 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
7580
7581 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7582
7583 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7584
7585 * shared-object.mk (c_flags-$o): Save c_flags.
7586 ($(base)$(objext)): Use it.
7587 ($(base)_s$(objext)): Likewise.
7588
7589 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
7590
7591 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7592 * libgcc-std.ver.in (GCC_4.7.0): New section.
7593
7594 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
7595
7596 PR target/49313
7597 PR target/29524
7598 * config/avr/t-avr: Fix line endings.
7599 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
7600 _parityXX2.
7601
7602 2011-06-14 Olivier Hainque <hainque@adacore.com>
7603 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7604
7605 * config/mips/irix6-unwind.h: New file.
7606 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7607
7608 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
7609
7610 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7611 (sparc64_fallback_frame_state): Use it.
7612 (sparc64_frob_update_context): Further adjust context.
7613 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7614 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7615 * config/sparc/sol2-cn.S: Likewise.
7616
7617 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7618
7619 * enable-execute-stack-empty.c: New file.
7620 * enable-execute-stack-mprotect.c: New file.
7621 * config/i386/enable-execute-stack-mingw32.c: New file.
7622 * config.host (enable_execute_stack): New variable.
7623 Select appropriate variants.
7624 * configure.ac: Link enable-execute-stack.c to
7625 $enable_execute_stack.
7626 * configure: Regenerate.
7627 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7628 (lib2funcs): Remove _enable_execute_stack.
7629
7630 2011-06-09 David S. Miller <davem@davemloft.net>
7631 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7632
7633 * config.host (sparc-*-linux*): Correct md_unwind_header
7634 filename.
7635 (s390x-ibm-tpf*): Fix typo.
7636
7637 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7638
7639 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7640 Add crtfastmath.o to extra_parts.
7641 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7642 mips/t-crtfm.
7643 * config/mips/t-crtfm: Remove.
7644
7645 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7646
7647 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7648
7649 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
7650
7651 * config.host (sh*-*-linux*): Fix typo.
7652
7653 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7654
7655 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7656 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7657 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7658 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7659 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7660 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7661 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7662 Wrap in !__MINGW64__.
7663 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7664 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7665 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7666 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7667 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7668 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7669 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7670 Wrap in !__LP64__.
7671 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7672 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7673 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7674 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7675 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7676 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7677 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7678 * config/no-unwind.h: New file.
7679 * config.host (md_unwind_header): Document.
7680 Define.
7681 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7682 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7683 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7684 hppa[12]*-*-hpux11*): Set md_unwind_header.
7685 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7686 Set md_unwind_header.
7687 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7688 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7689 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7690 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7691 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7692 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7693 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7694 md_unwind_header.
7695 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7696 * configure: Regenerate.
7697
7698 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7699
7700 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7701 Set tmake_file, extra_parts.
7702 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7703 Remove O32 support.
7704 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7705 Remove O32 support.
7706 * config/mips/t-irix6: New file.
7707 * config/mips/t-slibgcc-irix: New file.
7708
7709 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7710
7711 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7712 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7713
7714 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7715
7716 * configure.ac (target_thread_file): Determine thread model.
7717 * configure: Regenerate.
7718 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7719 * config/alpha/t-alpha: New file.
7720 * config/alpha/t-crtfm: Use $<.
7721 * config/alpha/t-ieee: New file.
7722 * config/alpha/t-osf-pthread: New file.
7723 * config/alpha/t-slibgcc-osf: New file.
7724 * config/alpha/libgcc-osf5.ver: New file.
7725
7726 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7727
7728 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7729 tmake_file.
7730 Add crtfastmath.o to extra_parts.
7731
7732 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7733
7734 * config/gmon-sol2.c: Reindent.
7735 Cleanup comments.
7736 Remove, correct casts.
7737 Use STDERR_FILENO, NULL.
7738 (BASEADDRESS): Remove.
7739 (minbrk): Remove.
7740 (errno, sbrk): Remove declarations.
7741 (monstartup) [hp300]: Remove.
7742 (mcount): Remove.
7743
7744 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7745
7746 * Makefile.in (cpu_type): Define.
7747 * config.host (i[34567]86-*-rtems*): Handle it.
7748 (i[34567]86-*-solaris2*): Move body ...
7749 (*-*-solaris2*): ... here.
7750 New case, generalize.
7751 (sparc-*-elf*): Handle it.
7752 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7753 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7754 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7755 Fold into ...
7756 (sparc*-*-solaris2*): ... this.
7757 New case.
7758 (sparc64-*-elf*): Handle it.
7759 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7760 Merge ../gcc/config/i386/gmon-sol2.c.
7761 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7762 Use C comments.
7763 Merge ../gcc/config/i386/sol2-gc1.asm.
7764 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7765 Use C comments.
7766 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7767 Use C comments.
7768 * config/i386/t-crtfm (crtfastmath.o): Use $<.
7769 * config/i386/t-crtstuff: New file.
7770 * config/i386/t-softfp: New file.
7771 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7772 $(T)crti.o, $(T)crtn.o): Remove.
7773 (gcrt1.o): New rule.
7774 (TARGET_LIBGCC2_CFLAGS): Remove.
7775 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7776 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7777 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7778 * config/sparc/t-sol2: New file.
7779 * config/sparc/t-crtfm: Move to ...
7780 * config/t-crtfm: ... this.
7781 Use $(cpu_type), $<.
7782 * config/t-crtin: New file.
7783 * config/sparc/t-softfp: New file.
7784 * config/sparc/t-softmul: New file.
7785 * config/t-rtems: New file.
7786 * config/t-slibgcc: New file.
7787 * config/t-slibgcc-elf-ver: New file.
7788 * config/t-slibgcc-gld: New file.
7789 * config/t-slibgcc-sld: New file.
7790 * config/t-sol2: New file.
7791 * configure.ac: Include ../config/lib-ld.m4.
7792 Call AC_LIB_PROG_LD_GNU.
7793 Substitute cpu_type.
7794 * configure: Regenerate.
7795
7796 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
7797
7798 PR bootstrap/49173
7799 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7800 libgcc-std.ver in the build directory.
7801 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7802 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7803
7804 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
7805
7806 * libgcc-std.ver.in: New file.
7807 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7808 variables.
7809 (libgcc-std.ver): New rule.
7810 * config/t-gnu-prefix: New file.
7811
7812 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7813
7814 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7815
7816 2011-05-10 Joseph Myers <joseph@codesourcery.com>
7817
7818 * config/i386/darwin-lib.h: New file.
7819
7820 2011-05-10 Joseph Myers <joseph@codesourcery.com>
7821
7822 * config/arm/symbian-lib.h: New.
7823
7824 2011-05-04 Chris Demetriou <cgd@google.com>
7825
7826 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7827 (__x86.get_pc_thunk.bx): ...this.
7828 (__morestack): Adjust for rename, remove undef of __i686.
7829
7830 2011-05-03 Chris Demetriou <cgd@google.com>
7831
7832 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7833
7834 2011-03-22 Joseph Myers <joseph@codesourcery.com>
7835
7836 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7837 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7838 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7839 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7840 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7841 Remove cases.
7842
7843 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
7844
7845 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7846 Adjust copyright year.
7847
7848 2011-03-07 Ian Lance Taylor <iant@google.com>
7849
7850 * generic-morestack.c (__splitstack_find): Adjust returned stack
7851 pointer to include all registers pushed by __morestack.
7852
7853 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
7854
7855 PR target/40125
7856 * configure.ac: Call ACX_NONCANONICAL_TARGET.
7857 (toolexecdir): Calculate and AC_SUBST.
7858 (toolexeclibdir): Likewise.
7859 * Makefile.in (target_noncanonical): Import.
7860 (toolexecdir): Likewise.
7861 (toolexeclibdir): Likewise.
7862 * configure: Regenerate.
7863
7864 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
7865
7866 PR target/46040
7867 * config/arm/bpabi.h: Rename to...
7868 * config/arm/bpabi-lib.h: ...this.
7869
7870 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7871
7872 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7873 appropriate.
7874 * configure: Regenerate.
7875
7876 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
7877
7878 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7879 __FLOAT_WORD_ORDER__.
7880 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7881 Delete.
7882
7883 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7884
7885 PR other/46202
7886 * Makefile.in (install-strip): New phony target.
7887
7888 2010-11-07 Ian Lance Taylor <iant@google.com>
7889
7890 PR target/46089
7891 * config/i386/morestack.S (__morestack_large_model): New
7892 function.
7893
7894 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
7895
7896 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7897 Delete.
7898 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7899
7900 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
7901
7902 * config/arm/bpabi.h: New file.
7903 * config/frv/frv-abi.h: New file.
7904
7905 2010-10-01 Ian Lance Taylor <iant@google.com>
7906
7907 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7908 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7909
7910 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
7911
7912 PR target/45858
7913 * config.host: Add the missing `$'.
7914
7915 2010-09-30 Michael Eager <eager@eagercon.com>
7916
7917 * config.host: Add microblaze*-*-*.
7918 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7919 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7920 udivsi3.asm,umodsi3.asm}: New.
7921
7922 2010-09-28 Ian Lance Taylor <iant@google.com>
7923
7924 * configure.ac: Adjust CFI test to test assembler directly rather
7925 than checking gcc preprocessor macro.
7926 * configure: Rebuild.
7927
7928 2010-09-27 Ian Lance Taylor <iant@google.com>
7929
7930 * configure.ac: Test whether assembler supports CFI directives.
7931 * config.host: Only add t-stack and i386/t-stack-i386 to
7932 tmake_file if libgcc_cv_cfi is "yes".
7933 * configure: Rebuild.
7934
7935 2010-09-27 Ian Lance Taylor <iant@google.com>
7936
7937 * generic-morestack.h: New file.
7938 * generic-morestack.c: New file.
7939 * generic-morestack-thread.c: New file.
7940 * config/i386/morestack.S: New file.
7941 * config/t-stack: New file.
7942 * config/i386/t-stack-i386: New file.
7943 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7944 i386/t-stack-i386 to tmake_file.
7945
7946 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
7947
7948 * Makefile.in (libgcc-extra-parts): Check for static archives and
7949 invoke ranlib after installing them.
7950 (gcc-extra-parts): Likewise.
7951 (install-leaf): Likewise.
7952
7953 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
7954
7955 * configure: Regenerated.
7956
7957 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
7958
7959 * configure: Regenerated.
7960
7961 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
7962 Andrew Pinski <pinskia@gmail.com>
7963
7964 PR target/40959
7965 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
7966
7967 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
7968
7969 PR target/45524
7970 * configure: Regenerated.
7971
7972 2010-09-06 Andreas Schwab <schwab@redhat.com>
7973
7974 * configure: Regenerate.
7975
7976 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
7977
7978 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7979 64bit targets.
7980 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7981 for 64bit targets.
7982
7983 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
7984 Iain Sandoe <iains@gcc.gnu.org>
7985
7986 PR target/45476
7987 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7988 LIB2FUNCS_EXCLUDE functions.
7989
7990 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7991
7992 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7993 Include dfp.m4.
7994 * configure: Regenerate.
7995
7996 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
7997
7998 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7999 i386/t-freebsd to tmake_file.
8000 * config/i386/t-freebsd: New file.
8001 * config/i386/libgcc-bsd.ver: New file.
8002
8003 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8004
8005 * config.host (powerpc*-eabispe*): Set tmake_file.
8006 (powerpc*-eabi*): Likewise.
8007 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8008 crtbeginS, crtendS, crtbeginT.
8009
8010 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8011
8012 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8013 to tmake_file. Add crtfastmath.o to extra_parts.
8014 * config/mips/t-crtfm: New.
8015
8016 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8017
8018 * config.host (sparc64-*-rtems*): New target.
8019
8020 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8021
8022 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8023 assembler syntax.
8024
8025 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8026
8027 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8028
8029 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8030
8031 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8032 alpha-dec-osf5.0* support.
8033
8034 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8035
8036 * config.host: Add lm32-*-rtems*.
8037
8038 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8039 Uros Bizjak <ubizjak@gmail.com>
8040
8041 PR target/39048
8042 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8043 like other remaining 32-bit x86 OSes.
8044 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8045 assembler syntax.
8046 * config/i386/libgcc-sol2.ver: New file.
8047 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8048
8049 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8050
8051 PR c/43553
8052 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8053 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8054 is used and substitute set_use_emutls.
8055 * configure: Regenerated.
8056
8057 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8058
8059 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8060
8061 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8062
8063 PR target/38085
8064 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8065 MULTILIB_CFLAGS.
8066 ($(T)gcrt1.o): Likewise.
8067 ($(T)crt1.o): Likewise.
8068 ($(T)crti.o): Likewise.
8069 ($(T)crtn.o): Likewise.
8070
8071 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8072
8073 PR other/42980
8074 * Makefile.in (install): Use $(MAKE) string in rule, for
8075 parallel make.
8076
8077 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8078
8079 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8080 * config/mmix/t-mmix: New file.
8081 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8082
8083 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8084
8085 PR java/41991
8086 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8087 SHLIB_MAPFILES.
8088
8089 2010-01-04 Anthony Green <green@moxielogic.com>
8090
8091 * config/moxie/crti.asm, config/moxie/crtn.asm,
8092 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8093 config/moxie/t-moxie: New files.
8094 * config.host: Add t-moxie-softfp reference.
8095
8096 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
8097
8098 PR other/39888
8099 * config/t-slibgcc-darwin: Fix embedded rpaths for
8100 --enable-version-specific-runtime-libs, build extension stub
8101 libs exposing features available from current libgcc_s.
8102
8103 2009-11-11 Jon Beniston <jon@beniston.com>
8104
8105 * config.host: Add lm32 targets.
8106 * config/lm32: New directory.
8107 * config/lm32/libgcc_lm32.h: New file.
8108 * config/lm32/_mulsi3.c: New file.
8109 * config/lm32/_udivmodsi4.c: New file.
8110 * config/lm32/_divsi3.c: New file.
8111 * config/lm32/_modsi3.c: New file.
8112 * config/lm32/_udivsi3.c: New file.
8113 * config/lm32/_umodsi3.c: New file.
8114 * config/lm32/_lshrsi3.S: New file.
8115 * config/lm32/_ashrsi3.S: New file.
8116 * config/lm32/_ashlsi3.S: New file.
8117 * config/lm32/crti.S: New file.
8118 * config/lm32/crtn.S: New file.
8119 * config/lm32/t-lm32: New file.
8120 * config/lm32/t-elf: New file.
8121 * config/lm32/t-uclinux: New file.
8122
8123 2009-10-26 Nick Clifton <nickc@redhat.com>
8124
8125 * config.host: Add support for RX target.
8126 * config/rx: New directory.
8127 * config/rx/rx-abi-functions.c: New file. Supplementary
8128 functions for libgcc to support the RX ABI.
8129 * config/rx/rx-abi.h: New file. Supplementary header file for
8130 libgcc RX ABI functions.
8131 * config/rx/t-rx: New file: Makefile fragment for building
8132 libgcc for the RX.
8133
8134 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
8135
8136 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8137 constraint of y0 to "g".
8138
8139 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8140
8141 * config.host: Include the s390 makefile fragments.
8142 * config/s390/32/_fixdfdi.c: New file.
8143 * config/s390/32/_fixsfdi.c: New file.
8144 * config/s390/32/_fixtfdi.c: New file.
8145 * config/s390/32/_fixunsdfdi.c: New file.
8146 * config/s390/32/_fixunssfdi.c: New file.
8147 * config/s390/32/_fixunstfdi.c: New file.
8148 * config/s390/32/t-floattodi: New file.
8149 * config/s390/libgcc-glibc.ver: New file.
8150 * config/s390/t-crtstuff: New file.
8151 * config/s390/t-linux: New file.
8152 * config/s390/t-tpf: New file.
8153
8154 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8155
8156 * configure.ac (AC_PREREQ): Bump to 2.64.
8157
8158 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8159
8160 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8161
8162 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8163
8164 * configure: Regenerate.
8165
8166 2009-08-09 Douglas B Rupp <rupp@gnat.com>
8167
8168 * config.host (ia64-hp-*vms*): New target.
8169 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8170 with ia64-hp-*vms*.
8171
8172 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8173
8174 * configure.ac: Add snippet for maintainer-mode.
8175 * configure: Regenerate.
8176 * Makefile.in (AUTOCONF, configure_deps): New variables.
8177 ($(srcdir)/configure)): New rule, active only with maintainer
8178 mode turned on.
8179
8180 2009-06-23 DJ Delorie <dj@redhat.com>
8181
8182 Add MeP port.
8183 * config.host: Add mep support.
8184
8185 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
8186
8187 * config.host: Add i386/${host_address}/t-fprules-softfp and
8188 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8189
8190 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8191 for mingw targets.
8192 * config/i386/64/_multc3.c: Likewise.
8193 * config/i386/64/_powitf2.c: Likewise.
8194 * config/i386/64/eqtf2.c: Likewise.
8195 * config/i386/64/getf2.c: Likewise.
8196 * config/i386/64/letf2.c: Likewise.
8197 * config/i386/64/letf2.c: Likewise.
8198 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8199 unsigned long long for x64 mingw targets.
8200 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8201 (_FP_I_TYPE): Define as long long for x64 mingw target.
8202
8203 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8204
8205 * config.host (vax-*-linux*): New.
8206
8207 2009-05-31 Anthony Green <green@moxielogic.com>
8208
8209 * config.host: Add moxie support.
8210 * config/moxie/t-moxie: New file.
8211
8212 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
8213
8214 * config.host: Add i386/${host_address}/t-fprules-softfp and
8215 t-softfp to tmake_file for i[34567]86-*-cygwin*.
8216
8217 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8218
8219 * config.host: Add i386/${host_address}/t-fprules-softfp to
8220 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8221
8222 2009-04-09 Nick Clifton <nickc@redhat.com>
8223
8224 * config/ia64/tf-signs.c: Change copyright header to refer to
8225 version 3 of the GNU General Public License with version 3.1
8226 of the GCC Runtime Library Exception and to point readers at
8227 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8228 web page.
8229 * config/i386/32/tf-signs.c: Likewise.
8230 * config/libbid/_addsub_dd.c: Likewise.
8231 * config/libbid/_addsub_sd.c: Likewise.
8232 * config/libbid/_addsub_td.c: Likewise.
8233 * config/libbid/_dd_to_df.c: Likewise.
8234 * config/libbid/_dd_to_di.c: Likewise.
8235 * config/libbid/_dd_to_sd.c: Likewise.
8236 * config/libbid/_dd_to_sf.c: Likewise.
8237 * config/libbid/_dd_to_si.c: Likewise.
8238 * config/libbid/_dd_to_td.c: Likewise.
8239 * config/libbid/_dd_to_tf.c: Likewise.
8240 * config/libbid/_dd_to_udi.c: Likewise.
8241 * config/libbid/_dd_to_usi.c: Likewise.
8242 * config/libbid/_dd_to_xf.c: Likewise.
8243 * config/libbid/_df_to_dd.c: Likewise.
8244 * config/libbid/_df_to_sd.c: Likewise.
8245 * config/libbid/_df_to_td.c: Likewise.
8246 * config/libbid/_di_to_dd.c: Likewise.
8247 * config/libbid/_di_to_sd.c: Likewise.
8248 * config/libbid/_di_to_td.c: Likewise.
8249 * config/libbid/_div_dd.c: Likewise.
8250 * config/libbid/_div_sd.c: Likewise.
8251 * config/libbid/_div_td.c: Likewise.
8252 * config/libbid/_eq_dd.c: Likewise.
8253 * config/libbid/_eq_sd.c: Likewise.
8254 * config/libbid/_eq_td.c: Likewise.
8255 * config/libbid/_ge_dd.c: Likewise.
8256 * config/libbid/_ge_sd.c: Likewise.
8257 * config/libbid/_ge_td.c: Likewise.
8258 * config/libbid/_gt_dd.c: Likewise.
8259 * config/libbid/_gt_sd.c: Likewise.
8260 * config/libbid/_gt_td.c: Likewise.
8261 * config/libbid/_isinfd128.c: Likewise.
8262 * config/libbid/_isinfd32.c: Likewise.
8263 * config/libbid/_isinfd64.c: Likewise.
8264 * config/libbid/_le_dd.c: Likewise.
8265 * config/libbid/_le_sd.c: Likewise.
8266 * config/libbid/_le_td.c: Likewise.
8267 * config/libbid/_lt_dd.c: Likewise.
8268 * config/libbid/_lt_sd.c: Likewise.
8269 * config/libbid/_lt_td.c: Likewise.
8270 * config/libbid/_mul_dd.c: Likewise.
8271 * config/libbid/_mul_sd.c: Likewise.
8272 * config/libbid/_mul_td.c: Likewise.
8273 * config/libbid/_ne_dd.c: Likewise.
8274 * config/libbid/_ne_sd.c: Likewise.
8275 * config/libbid/_ne_td.c: Likewise.
8276 * config/libbid/_sd_to_dd.c: Likewise.
8277 * config/libbid/_sd_to_df.c: Likewise.
8278 * config/libbid/_sd_to_di.c: Likewise.
8279 * config/libbid/_sd_to_sf.c: Likewise.
8280 * config/libbid/_sd_to_si.c: Likewise.
8281 * config/libbid/_sd_to_td.c: Likewise.
8282 * config/libbid/_sd_to_tf.c: Likewise.
8283 * config/libbid/_sd_to_udi.c: Likewise.
8284 * config/libbid/_sd_to_usi.c: Likewise.
8285 * config/libbid/_sd_to_xf.c: Likewise.
8286 * config/libbid/_sf_to_dd.c: Likewise.
8287 * config/libbid/_sf_to_sd.c: Likewise.
8288 * config/libbid/_sf_to_td.c: Likewise.
8289 * config/libbid/_si_to_dd.c: Likewise.
8290 * config/libbid/_si_to_sd.c: Likewise.
8291 * config/libbid/_si_to_td.c: Likewise.
8292 * config/libbid/_td_to_dd.c: Likewise.
8293 * config/libbid/_td_to_df.c: Likewise.
8294 * config/libbid/_td_to_di.c: Likewise.
8295 * config/libbid/_td_to_sd.c: Likewise.
8296 * config/libbid/_td_to_sf.c: Likewise.
8297 * config/libbid/_td_to_si.c: Likewise.
8298 * config/libbid/_td_to_tf.c: Likewise.
8299 * config/libbid/_td_to_udi.c: Likewise.
8300 * config/libbid/_td_to_usi.c: Likewise.
8301 * config/libbid/_td_to_xf.c: Likewise.
8302 * config/libbid/_tf_to_dd.c: Likewise.
8303 * config/libbid/_tf_to_sd.c: Likewise.
8304 * config/libbid/_tf_to_td.c: Likewise.
8305 * config/libbid/_udi_to_dd.c: Likewise.
8306 * config/libbid/_udi_to_sd.c: Likewise.
8307 * config/libbid/_udi_to_td.c: Likewise.
8308 * config/libbid/_unord_dd.c: Likewise.
8309 * config/libbid/_unord_sd.c: Likewise.
8310 * config/libbid/_unord_td.c: Likewise.
8311 * config/libbid/_usi_to_dd.c: Likewise.
8312 * config/libbid/_usi_to_sd.c: Likewise.
8313 * config/libbid/_usi_to_td.c: Likewise.
8314 * config/libbid/_xf_to_dd.c: Likewise.
8315 * config/libbid/_xf_to_sd.c: Likewise.
8316 * config/libbid/_xf_to_td.c: Likewise.
8317 * config/libbid/bid128.c: Likewise.
8318 * config/libbid/bid128_2_str.h: Likewise.
8319 * config/libbid/bid128_2_str_macros.h: Likewise.
8320 * config/libbid/bid128_2_str_tables.c: Likewise.
8321 * config/libbid/bid128_add.c: Likewise.
8322 * config/libbid/bid128_compare.c: Likewise.
8323 * config/libbid/bid128_div.c: Likewise.
8324 * config/libbid/bid128_fma.c: Likewise.
8325 * config/libbid/bid128_logb.c: Likewise.
8326 * config/libbid/bid128_minmax.c: Likewise.
8327 * config/libbid/bid128_mul.c: Likewise.
8328 * config/libbid/bid128_next.c: Likewise.
8329 * config/libbid/bid128_noncomp.c: Likewise.
8330 * config/libbid/bid128_quantize.c: Likewise.
8331 * config/libbid/bid128_rem.c: Likewise.
8332 * config/libbid/bid128_round_integral.c: Likewise.
8333 * config/libbid/bid128_scalb.c: Likewise.
8334 * config/libbid/bid128_sqrt.c: Likewise.
8335 * config/libbid/bid128_string.c: Likewise.
8336 * config/libbid/bid128_to_int16.c: Likewise.
8337 * config/libbid/bid128_to_int32.c: Likewise.
8338 * config/libbid/bid128_to_int64.c: Likewise.
8339 * config/libbid/bid128_to_int8.c: Likewise.
8340 * config/libbid/bid128_to_uint16.c: Likewise.
8341 * config/libbid/bid128_to_uint32.c: Likewise.
8342 * config/libbid/bid128_to_uint64.c: Likewise.
8343 * config/libbid/bid128_to_uint8.c: Likewise.
8344 * config/libbid/bid32_to_bid128.c: Likewise.
8345 * config/libbid/bid32_to_bid64.c: Likewise.
8346 * config/libbid/bid64_add.c: Likewise.
8347 * config/libbid/bid64_compare.c: Likewise.
8348 * config/libbid/bid64_div.c: Likewise.
8349 * config/libbid/bid64_fma.c: Likewise.
8350 * config/libbid/bid64_logb.c: Likewise.
8351 * config/libbid/bid64_minmax.c: Likewise.
8352 * config/libbid/bid64_mul.c: Likewise.
8353 * config/libbid/bid64_next.c: Likewise.
8354 * config/libbid/bid64_noncomp.c: Likewise.
8355 * config/libbid/bid64_quantize.c: Likewise.
8356 * config/libbid/bid64_rem.c: Likewise.
8357 * config/libbid/bid64_round_integral.c: Likewise.
8358 * config/libbid/bid64_scalb.c: Likewise.
8359 * config/libbid/bid64_sqrt.c: Likewise.
8360 * config/libbid/bid64_string.c: Likewise.
8361 * config/libbid/bid64_to_bid128.c: Likewise.
8362 * config/libbid/bid64_to_int16.c: Likewise.
8363 * config/libbid/bid64_to_int32.c: Likewise.
8364 * config/libbid/bid64_to_int64.c: Likewise.
8365 * config/libbid/bid64_to_int8.c: Likewise.
8366 * config/libbid/bid64_to_uint16.c: Likewise.
8367 * config/libbid/bid64_to_uint32.c: Likewise.
8368 * config/libbid/bid64_to_uint64.c: Likewise.
8369 * config/libbid/bid64_to_uint8.c: Likewise.
8370 * config/libbid/bid_b2d.h: Likewise.
8371 * config/libbid/bid_binarydecimal.c: Likewise.
8372 * config/libbid/bid_conf.h: Likewise.
8373 * config/libbid/bid_convert_data.c: Likewise.
8374 * config/libbid/bid_decimal_data.c: Likewise.
8375 * config/libbid/bid_decimal_globals.c: Likewise.
8376 * config/libbid/bid_div_macros.h: Likewise.
8377 * config/libbid/bid_dpd.c: Likewise.
8378 * config/libbid/bid_flag_operations.c: Likewise.
8379 * config/libbid/bid_from_int.c: Likewise.
8380 * config/libbid/bid_functions.h: Likewise.
8381 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8382 * config/libbid/bid_inline_add.h: Likewise.
8383 * config/libbid/bid_internal.h: Likewise.
8384 * config/libbid/bid_round.c: Likewise.
8385 * config/libbid/bid_sqrt_macros.h: Likewise.
8386
8387 2009-04-09 Jakub Jelinek <jakub@redhat.com>
8388
8389 * Makefile.in: Change copyright header to refer to version
8390 3 of the GNU General Public License and to point readers at the
8391 COPYING3 file and the FSF's license web page.
8392 * config.host: Likewise.
8393
8394 2009-04-07 Alan Modra <amodra@bigpond.net.au>
8395
8396 * config.host: Reorder and merge to match config.gcc change.
8397
8398 2009-04-03 Alan Modra <amodra@bigpond.net.au>
8399
8400 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8401
8402 2009-03-28 Joseph Myers <joseph@codesourcery.com>
8403
8404 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8405 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8406 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8407 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8408
8409 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
8410
8411 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8412 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8413
8414 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8415
8416 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8417 ia64/t-softfp-compat to tmake_file.
8418
8419 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8420
8421 * config/ia64/__divxf3.asm: New.
8422 * config/ia64/_fixtfdi.asm: Likewise.
8423 * config/ia64/_fixunstfdi.asm: Likewise.
8424 * config/ia64/_floatditf.asm: Likewise.
8425 * config/ia64/t-fprules-softfp: Likewise.
8426 * config/ia64/t-softfp-compat: Likewise.
8427 * config/ia64/tf-signs.c: Likewise.
8428
8429 2009-01-18 Ben Elliston <bje@au.ibm.com>
8430
8431 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8432
8433 2009-01-16 Ben Elliston <bje@au.ibm.com>
8434
8435 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8436 to tmake_file.
8437
8438 2009-01-13 Ben Elliston <bje@au.ibm.com>
8439
8440 * config/t-softfp: New file.
8441 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8442 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8443
8444 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
8445
8446 * config.host: Add m32r*-*-rtems*.
8447
8448 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
8449
8450 * config.host: Add m32c*-*-rtems*.
8451
8452 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8453
8454 PR bootstrap/33100
8455 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8456 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8457 * configure: Regenerate.
8458 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8459 tmake_file here from gcc/config.gcc.
8460 Move extra_parts here from gcc/config.gcc.
8461 * config/i386/t-sol2: Move here from gcc/config/i386.
8462 Use gcc_srcdir instead of srcdir.
8463
8464 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8465
8466 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8467 case.
8468
8469 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8470
8471 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8472
8473 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8474
8475 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8476
8477 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8478
8479 Add picoChip port.
8480 * config.host: Add picochip-*-*.
8481
8482 2008-08-06 Bob Wilson <bob.wilson@acm.org>
8483
8484 * config.host: Match more processor names for Xtensa.
8485
8486 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8487
8488 * config/i386/64/t-softfp-compat: Update comments.
8489
8490 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
8491
8492 * config/i386/64/_divtc3-compat.c: Moved to ...
8493 * config/i386/64/_divtc3.c: Here.
8494
8495 * config/i386/64/_multc3-compat.c: Moved to ...
8496 * config/i386/64/_multc3.c: Here.
8497
8498 * config/i386/64/_powitf2-compat.c: Moved to ...
8499 * config/i386/64/_powitf2.c: Here.
8500
8501 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8502 .c suffix instead of -compat.c.
8503
8504 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
8505
8506 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8507 (_FP_MUL_MEAT_D): Ditto.
8508 (_FP_DIV_MEAT_S): Ditto.
8509 (_FP_DIV_MEAT_D): Ditto.
8510
8511 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
8512
8513 * Makefile.in: Add support for __sync_* libgcc functions.
8514
8515 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
8516
8517 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8518
8519 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8520
8521 PR boostrap/36702
8522 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8523 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
8524
8525 * config/i386/64/t-fprules-softfp: Moved to ...
8526 * config/i386/64/t-softfp-compat: This. New.
8527
8528 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
8529
8530 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8531 Initialize f with 0.0.
8532
8533 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8534
8535 PR target/36669
8536 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8537
8538 * config/i386/64/_divtc3-compat.c: New.
8539 * config/i386/64/_multc3-compat.c: Likewise.
8540 * config/i386/64/_powitf2-compat.c: Likewise.
8541 * config/i386/64/eqtf2.c: Likewise.
8542 * config/i386/64/getf2.c: Likewise.
8543 * config/i386/64/letf2.c: Likewise.
8544 * config/i386/64/t-fprules-softfp: Likewise.
8545
8546 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8547
8548 * config.host: Add i386/${host_address}/t-fprules-softfp to
8549 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
8550 i[34567]86-*-linux*, x86_64-*-linux*.
8551
8552 * configure.ac: Set host_address to 64 or 32 for x86.
8553 * configure: Regenerated.
8554
8555 * Makefile.in (config.status): Also depend on
8556 $(srcdir)/config.host.
8557
8558 * config/i386/32/t-fprules-softfp: New.
8559 * config/i386/32/tf-signs.c: Likewise.
8560
8561 * config/i386/64/sfp-machine.h: New. Moved from gcc.
8562
8563 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8564 Uros Bizjak <ubizjak@gmail.com>
8565
8566 * config/i386/32/sfp-machine.h: New.
8567
8568 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
8569
8570 * config/rs6000/t-ppccomm: Remove rules that conflict with
8571 auto-generated rules.
8572
8573 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8574
8575 * configure.ac: sinclude override.m4.
8576 * configure: Regenerate.
8577
8578 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
8579
8580 * configure: Regenerate.
8581
8582 2008-06-10 Joseph Myers <joseph@codesourcery.com>
8583
8584 * Makefile.in (DECNUMINC): Remove
8585 -I$(MULTIBUILDTOP)../../libdecnumber.
8586 * gstdint.h: New.
8587
8588 2008-06-07 Joseph Myers <joseph@codesourcery.com>
8589
8590 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8591 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8592 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8593 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8594 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8595 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8596 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8597 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8598 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8599 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8600 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8601 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8602 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8603 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8604
8605 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
8606
8607 * config.host (sh2[lbe]*-*-linux*): Allow target.
8608
8609 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
8610
8611 * config/rs6000/t-ppccomm: Add build rules for new files.
8612 (LIB2ADD_ST): New variable.
8613
8614 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
8615
8616 PR target/34210
8617 PR target/35508
8618 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8619 * config/t-avr: New file. Build 16bit libgcc functions.
8620
8621 2008-03-02 Jakub Jelinek <jakub@redhat.com>
8622
8623 PR target/35401
8624 * config/t-slibgcc-darwin: Make install-leaf dependent on
8625 install-darwin-libgcc-stubs instead of install.
8626
8627 2008-01-25 Joseph Myers <joseph@codesourcery.com>
8628
8629 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8630 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8631 sh-*-rtemscoff*): Remove cases.
8632
8633 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
8634
8635 * Makefile.in (all): Use install-leaf rather than install.
8636 (install): Split most of the rule into...
8637 (install-leaf): ...this new one.
8638
8639 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
8640 Paolo Bonzini <bonzini@gnu.org>
8641
8642 PR target/30572
8643 * Makefile.in: Use @shlib_slibdir@ substitution to get
8644 correct install name on darwin.
8645 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
8646
8647 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
8648
8649 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8650 cris-*-elf and cris-*-none.
8651 (crisv32-*-linux*): Similar, as cris-*-linux*.
8652
8653 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
8654
8655 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8656
8657 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
8658
8659 PR regression/33926
8660 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8661 * configure: Regenerated.
8662
8663 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
8664
8665 * Makefile.in (dfp-filenames): Replace decimal_globals,
8666 decimal_data, binarydecimal and convert_data with
8667 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8668 and bid_convert_data, respectively.
8669
8670 2007-09-17 Chao-ying Fu <fu@mips.com>
8671 Nigel Stephens <nigel@mips.com>
8672
8673 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8674 * Makefile.in (fixed_point): Define.
8675 Check if fixed_point is yes to build support functions.
8676 * configure.ac: Check for fixed_point support.
8677 * configure: Regenerated.
8678 * gen-fixed.sh: New file to generate lists of fixed-point labels,
8679 funcs, modes, from, to.
8680
8681 2007-09-11 Janis Johnson <janis187@us.ibm.com
8682
8683 * Makefile.in (dfp-filenames): Add bid128_noncomp.
8684
8685 2007-09-10 Janis Johnson <janis187@us.ibm.com>
8686
8687 * Makefile.in (dfp-filenames): Remove decUtility, add
8688 decDouble, decPacked, decQuad, decSingle.
8689
8690 2007-08-27 Hans Kester <hans.kester@ellips.nl>
8691
8692 * config.host : Add x86_64-elf target.
8693
8694 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8695
8696 * configure.ac (set_have_cc_tls): Add a missing =.
8697 * configure: Regenerated.
8698
8699 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8700
8701 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8702 and x86_64-*-linux*.
8703
8704 * config/t-tls: New file.
8705
8706 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
8707
8708 * configure.ac: Include ../config/enable.m4 and
8709 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
8710 supports TLS and substitute set_have_cc_tls.
8711 * configure: Regenerated.
8712
8713 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
8714
8715 * Makefile.in: Use libbid for DFP when BID is enabled.
8716
8717 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
8718
8719 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
8720 extra_parts. Add config/i386/t-cygming to tmake_file.
8721 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8722
8723 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
8724 Danny Smith <dannysmith@users.sourceforge.net>
8725
8726 PR target/29498
8727 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8728 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
8729 * config/i386/t-crtfm: Compile crtfastmath.o with
8730 -minline-all-stringops.
8731
8732 2007-05-10 Richard Sandiford <richard@codesourcery.com>
8733
8734 * config.host (sparc-wrs-vxworks): New target.
8735
8736 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
8737
8738 * config.host: Recognize fido.
8739
8740 2007-04-04 Janis Johnson <janis187@us.ibm.com>
8741
8742 * configure: Check host, not target, for decimal float support.
8743
8744 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
8745
8746 * config/i386/t-crtpc: New file.
8747 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
8748 (x86_64-*-linux*): Ditto.
8749
8750 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
8751
8752 * config.host (x86_64-*-mingw*): New target.
8753
8754 2007-03-23 Michael Meissner <michael.meissner@amd.com>
8755 H.J. Lu <hongjiu.lu@intel.com>
8756
8757 * Makefile.in (enable_decimal_float): New.
8758 (DECNUMINC): Add
8759 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8760 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8761 (decbits-filenames): This.
8762 (decbits-objects): New.
8763 (libgcc-objects): Add $(decbits-objects).
8764
8765 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8766 Substitute enable_decimal_float.
8767 * configure: Regenerated.
8768
8769 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
8770
8771 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8772
8773 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
8774
8775 * Makefile.in (install-info): New dummy target.
8776
8777 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
8778
8779 * config.host (bfin*-linux-uclibc*): Set extra_parts.
8780
8781 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
8782
8783 * Makefile.in: Add install-html and install-pdf dummy
8784 targets.
8785
8786 2007-02-05 Roger Sayle <roger@eyesopen.com>
8787 Daniel Jacobowitz <dan@codesourcery.com>
8788
8789 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8790 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8791 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8792
8793 2007-01-29 Janis Johnson <janis187@us.ibm.com>
8794
8795 * Makefile.in (dec-filenames): Add decExcept.
8796
8797 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
8798
8799 PR bootstrap/30469
8800 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8801 -fprofile-use.
8802
8803 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
8804
8805 * configure.ac: Add --enable-version-specific-runtime-libs.
8806 Correct $slibdir default.
8807 * configure: Regenerated.
8808
8809 2007-01-23 Joseph Myers <joseph@codesourcery.com>
8810
8811 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8812
8813 2007-01-21 Andrew Pinski <pinskia@gmail.com>
8814
8815 PR target/30519
8816 * config.host (alpha*-*-linux*): Set extra_parts.
8817
8818 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
8819
8820 * config/sh/t-linux: New.
8821 * config.host (sh*-*-linux*): Set tmake_file.
8822
8823 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
8824
8825 * Makefile.in (install): Handle multilibs.
8826
8827 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8828
8829 * Makefile.in: Added .PHONY entry for documentation targets.
8830
8831 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8832
8833 * Makefile.in: Add empty info, html, dvi, pdf targets.
8834
8835 2007-01-04 Mike Stump <mrs@apple.com>
8836
8837 * Makefile.in (MAKEINFO): Remove.
8838 (PERL): Likewise.
8839
8840 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
8841
8842 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8843 * configure: Regenerate.
8844 * Makefile.in (host_subdir): Substitute it.
8845 (gcc_objdir): Use it.
8846
8847 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8848
8849 * config.host (ia64*-*-linux*): Set tmake_file.
8850
8851 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8852
8853 * Makefile.in (version): Define.
8854
8855 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8856 Paolo Bonzini <bonzini@gnu.org>
8857
8858 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8859 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8860 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8861 config/sparc/t-crtfm, config/t-slibgcc-darwin,
8862 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8863 shared-object.mk, siditi-object.mk, static-object.mk: New files.
8864 * configure: Generated.
8865 \f
8866 Copyright (C) 2007-2017 Free Software Foundation, Inc.
8867
8868 Copying and distribution of this file, with or without modification,
8869 are permitted in any medium without royalty provided the copyright
8870 notice and this notice are preserved.