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