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