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