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