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