]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
[gcc/testsuite]
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
20d1a075 12018-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
07f8c7a4 112018-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
ee8fea81 172018-04-19 Jakub Jelinek <jakub@redhat.com>
18
19 * configure: Regenerated.
20
124c259e 212018-04-18 David Malcolm <dmalcolm@redhat.com>
22
23 PR jit/85384
24 * configure: Regenerate.
25
402140be 262018-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
7ea6a647 332018-04-06 Ruslan Bukin <br@bsdpad.com>
34
35 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
36
0251a2a7 372018-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
5cc47d53 522018-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
2e630204 582018-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
bae42e37 682018-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
8e9da9da 772018-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
94fc4b64 822018-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
0b118d5b 872018-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
9e8a86cf 1082018-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
372da7cd 1262018-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
5611e648 1322018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
133
134 PR target/84148
135 * configure: Regenerate.
136
d4f2cbd8 1372018-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
1c9aa9c6 1432018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
144
145 PR target/84239
d4f2cbd8 146 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1c9aa9c6 147 Use new _get_ssp and _inc_ssp intrinsics.
148
102dd700 1492018-02-02 Julia Koval <julia.koval@intel.com>
150
151 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
152
eddd4dd0 1532018-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
3815462d 1602018-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
e1192dcf 1672018-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
a2618819 1722018-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
14920f56 1772018-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
de5538ce 1822018-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
de0f3de6 1872018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
f77335d9 188
189 * config/rl78/umaxdi3.S: New assembly file.
190 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
191
fb437997 1922018-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
599c8d3e 1982018-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
2d295049 2052018-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
1c579c0e 2432018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
244
245 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
246 configuration.
247
8e8f6434 2482018-01-03 Jakub Jelinek <jakub@redhat.com>
249
250 Update copyright years.
251
2522017-12-12 Kito Cheng <kito.cheng@gmail.com>
26efd270 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
1817431e 2582017-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
0aba9567 2652017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
266
c78aa1b3 267 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
268 * config/rs6000/_divkc3.c (__divkc3): Likewise.
269
0aba9567 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
87d7483a 3302017-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
7c242f24 3362017-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
c05f99c6 3452017-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
5f42446c 3632017-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
9273bda7 3812017-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
bdcb436d 3892017-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
1ad21aef 3942017-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
c76a96ef 4042017-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
e892f4fa 4122017-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
020b1a05 4192017-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
99efc84b 4242017-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
4bed1b09 4292017-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
d56894aa 4362017-09-28 James Bowman <james.bowman@ftdichip.com>
437
438 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
439
cb442ed3 4402017-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
4d6bb87e 4502017-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
df4660d3 4592017-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
39143cf7 4642017-09-17 Daniel Santos <daniel.santos@pobox.com>
465
df4660d3 466 * config/i386/i386-asm.h (PASTE2): New macro.
39143cf7 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.
df4660d3 470 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
39143cf7 471 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
df4660d3 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
39143cf7 478 includes it's corresponding header file.
df4660d3 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.
39143cf7 491
0c11960e 4922017-09-01 Olivier Hainque <hainque@adacore.com>
493
494 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
495
061339f2 4962017-08-31 Olivier Hainque <hainque@adacore.com>
497
498 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
499 match as powerpc-wrs-vxworks*.
500
6a000628 5012017-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
17a98fea 5062017-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
fffdea9e 5172017-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
b9454236 5222017-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
f16062f7 5272017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
528
529 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
530
65e1ae67 5312017-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
25e4634a 5522017-07-19 John Marino <gnugcc@marino.st>
553
554 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
555
9f6dc184 5562017-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
927c0132 5642017-07-10 Vineet Gupta <vgupta@synopsys.com>
565
566 * config.host: Remove uclibc from arc target spec.
567
63d551af 5682017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
569
570 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
571
378ca53a 5722017-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
9b32089e 5782017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
579
580 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
581
e6c95d8f 5822017-07-03 Olivier Hainque <hainque@adacore.com>
583
378ca53a 584 * config/t-vxworks7: New file, really.
e6c95d8f 585
5266910f 5862017-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
0e50554f 6012017-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
899cdd88 6062017-06-27 Olivier Hainque <hainque@adacore.com>
607
608 * config/t-vxworks7: New file.
609 * config.host (*-*-vxworks7): Use it.
610
a4721bd0 6112017-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
27182bcd 6162017-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
73c72cdf 6252017-06-16 Richard Earnshaw <rearnsha@arm.com>
626
627 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
628
696ee0c7 6292017-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
e7fcec67 6342017-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
69bf76d9 6402017-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
b0e6722b 6492017-06-02 Olivier Hainque <hainque@adacore.com>
650
651 * config/vxlib.c (__gthread_once): Add missing value to
652 return statement.
653
78d07aaf 6542017-05-30 Olivier Hainque <hainque@adacore.com>
655
656 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
657 dollar sign before $(MULTIDIR).
658
1e9944f4 6592017-05-26 Richard Henderson <rth@redhat.com>
660
661 PR libgcc/80037
662 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
663
874dff1a 6642017-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
c57508a3 6702017-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
7303090d 6752017-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
e67d3d38 6802017-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
8b9c62ca 6922017-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
9b859c0a 6972017-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*,
e67d3d38 703 x86_64-*-fuchsia*): Add definitions.
9b859c0a 704
44d47185 7052017-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
6db59335 7132017-04-18 Martin Liska <mliska@suse.cz>
714
715 PR gcov-profile/78783
716 * libgcov-driver.c (gcov_get_filename): New function.
717
726cec5c 7182017-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
47ad90e7 7242017-04-07 Alan Modra <amodra@gmail.com>
725
726 PR target/45053
727 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
728
2fbe7a32 7292017-04-03 Jonathan Wakely <jwakely@redhat.com>
730
731 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
732
e69e67d4 7332017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
734
735 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
736
319901d0 7372017-03-10 John Marino <gnugcc@marino.st>
738
739 * config/aarch64/freebsd-unwind.h: New file.
740 * config.host: Add aarch64-*-freebsd unwinder.
741
b97c2c61 7422017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
743
744 * config/rs6000/crtrestvr.s: Use .machine altivec.
745 * config/rs6000/crtsavevr.s: Ditto.
746
8828c0f0 7472017-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
b7714375 7562017-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
3a39f4cf 7622017-03-02 Jonathan Yong <10walls@gmail.com>
763
764 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
765
9c0ca8b6 7662017-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
36387fad 7722017-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
e8c55c95 7902017-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
a0e066ed 7952017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
796
797 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
798
58c979ed 7992017-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
8657c382 8052017-01-20 Jiong Wang <jiong.wang@arm.com>
806
807 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
808
d10c58fd 8092017-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
0812bb06 8322017-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
fd961cec 8402017-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
e0aa57d6 8452017-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
4ed499e5 8522017-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
cb7a0f1d 8572017-01-04 Alan Modra <amodra@gmail.com>
858
859 * Makefile.in (configure_deps): Update.
860 * configure: Regenerate.
861
aad93da1 8622017-01-01 Jakub Jelinek <jakub@redhat.com>
863
864 Update copyright years.
865
9834d450 8662016-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
1eff8c97 8722016-12-17 Matthias Klose <doko@ubuntu.com>
873
874 * config/arc/gmon: Remove empty directory.
875
8df543e1 8762016-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
489174fc 8982016-12-12 George Spelvin <linux@sciencehorizons.net>
899
900 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
901
4d1d4dad 9022016-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
a1928e5c 9082016-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
74d8fa14 9132016-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
25df644f 9202016-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
2d3a01a7 9282016-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
0120ae30 9342016-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
6c8f362e 9402016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
941
966d046c 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
6c8f362e 946 PR gcc/74748
947 * libgcc/mkmap-symver.awk: add support for skip_underscore
948
aaa50706 9492016-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
a5987adb 9552016-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
9f58227e 9632016-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
684b17ed 9712016-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
d1b857ae 9812016-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
7dbfd9e6 9912016-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
6bf644d1 9972016-11-18 Walter Lee <walt@tilera.com>
998
7dbfd9e6 999 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
6bf644d1 1000
a28d23f0 10012016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1002
1003 * config/i386/cpuinfo.c (processor_features): Add
1004 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1005
732a947a 10062016-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
7fce8768 10142016-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
397d0e43 10202016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1021
1022 PR libgcc/68468
1023 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1024
44618e46 10252016-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
6e6c7fc1 10322016-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
36ffeeaf 10382016-11-03 Martin Liska <mliska@suse.cz>
1039
1040 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1041 (__gcov_time_profiler_atomic): Likewise.
1042
9769a02b 10432016-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
2743281b 10492016-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
7829b1ae 10572016-10-24 Florian Weimer <fweimer@redhat.com>
1058
1059 PR libgcc/78064
1060 * unwind-c.c: Include auto-target.h.
1061
677e8b73 10622016-10-19 John David Anglin <danglin@gcc.gnu.org>
1063
2743281b 1064 * config/pa/pa64-hpux-lib.h: New file.
677e8b73 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
5dc8060e 10702016-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
2b7e7fc4 10802016-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
ad7b10a2 10932016-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
dff001ee 11002016-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
88afddbc 11062016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1107
1108 * config.host: Add support for aarch64-*-freebsd*.
1109
7667e10d 11102016-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
bc6b11a7 11162016-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
4785ab74 11302015-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
db46bcd3 11352016-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
1e849229 11452016-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
c678023a 11532016-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
69ea9908 11672016-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
d1c9b60c 11782016-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
86d9b5ed 11892016-09-07 Joseph Myers <joseph@codesourcery.com>
1190
1191 PR libgcc/77519
1192 * libgcc2.c (NOTRUNC): Invert settings.
1193
4c790ba8 11942016-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
ac34f4bd 12012016-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
9cd45037 12062016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1207
1208 * config/mips/linux-unwind.h: Use sys/syscall.h.
1209
de41fc22 12102016-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
196b8968 12952016-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
2d2b4107 13002016-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
ba662a81 13162016-08-09 Martin Liska <mliska@suse.cz>
1317
1318 * libgcov-util.c: Fix typo and GNU coding style.
1319
2d917abb 13202016-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
defa7026 13272016-08-09 Martin Liska <mliska@suse.cz>
1328
1329 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1330 power of two.
1331
cc308618 13322016-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
33d428f0 13372016-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
04aca775 13422016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1343
1344 PR target/59833
1345 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1346
78c81e30 13472016-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
244f142f 13522016-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
4623d929 13612016-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
2d079cbf 13662016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1367
1368 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1369
baea7c0c 13702016-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
9e6f4af4 13752016-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
286a203d 14012016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1402
1403 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1404 CTOR_LISTS_DEFINED_EXTERNALLY.
1405
dabe3026 14062016-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
21ecea39 14152016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1416
2743281b 1417 * config.host: Add suport for arm*-*-phoenix* targets.
21ecea39 1418
03fee1f8 14192016-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
0f7d9ee5 14272016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1428
1429 * config.host: Remove support for avr-rtems.
1430 * config/avr/t-rtems: Remove.
1431
13c64cbf 14322016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1433
1434 * config.host: Remove m32r-rtems support.
1435
dac5da06 14362016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1437
1438 * config.host: Remove h8300-rtems support.
1439
79573034 14402016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1441
1442 * config.host: Remove support for knetbsd.
1443
b79c0f5e 14442016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1445
1446 * config.host: Remove support for openbsd 2 and 3.
1447
6905db52 14482016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1449
1450 * config.host: Remove interix support.
1451 * config/i386/t-interix: Remove.
1452
433e4812 14532016-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
5d4123dc 14582016-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
3237fc56 14672016-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
16dbe651 14752016-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
f6871bbd 14822016-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
51d42eb1 14882016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1489
61958e92 1490 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
51d42eb1 1491 dw2/seh configuration.
1492 [x86_64-*-mingw*]: Likewise.
1493
ffdf58db 14942016-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
9a9b5abf 15012016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1502
1503 * config.host: Remove SH5 support.
1504 * configure: Likewise.
1505
f6fac0a1 15062016-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
7238c72c 15172016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1518
1519 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1520
5caa55b9 15212016-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
10dd6506 15282016-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
1701058d 15402016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1541
1542 * config/m68k/linux-atomic.c: Do not include unistd.h
1543
9703b760 15442016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1545
1546 * config/arm/ieee754-df.S: Fix typos in comments.
1547
62735984 15482016-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
1c934c58 15562016-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
28a5f334 15622016-03-28 James Bowman <james.bowman@ftdichip.com>
1563
61958e92 1564 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
28a5f334 1565
88a2143c 15662016-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
ed3d624c 15732016-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
1e085786 15802016-02-26 Joel Sherrill <joel@rtems.org>
1581
1582 * config.host: Add x86_64-*-rtems*.
1583
05ea12a2 15842016-02-26 Joel Sherrill <joel@rtems.org>
1585
1586 * libgcc/config.host: Add aarch64-*-rtems*.
1587
9b71efb9 15882016-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
e59c8b12 15982016-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
1fa780ac 16082016-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
c6d481f7 16152016-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
d58f7073 16222016-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
43cfc88a 16272016-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
ad2fe514 16332016-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
92e91d03 16392016-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
d99eec2c 16452016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 1646 Steven Munroe <munroesj@linux.vnet.ibm.com>
1647 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
d99eec2c 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
f557f14d 17252016-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
0e0d3ecb 17322016-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
398368d8 17522016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 1753 Steven Munroe <munroesj@linux.vnet.ibm.com>
1754 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
398368d8 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
25cbccba 18252016-01-05 Olivier Hainque <hainque@adacore.com>
1826
1827 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
398368d8 1828 specificities.
25cbccba 1829
f1717362 18302016-01-04 Jakub Jelinek <jakub@redhat.com>
1831
1832 Update copyright years.
1833
444b6906 18342015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
1835
1836 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
398368d8 1837 soft-fp targets.
444b6906 1838
9ff93578 18392015-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
a59e6fa6 18442015-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
7ed86ba5 18492015-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
2ec62878 18642015-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
08de21a4 18702015-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
7824e89a 18792015-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
c0b6819e 18852015-11-19 DJ Delorie <dj@redhat.com>
1886
1887 * config/msp430/lib2hw_mul.S: Fix alignment.
1888
1927fff5 18892015-11-18 Nathan Sidwell <nathan@codesourcery.com>
1890
1891 * config/nvptx/reduction.c: New.
1892 * config/nvptx/t-nvptx (LIB2ADD): Add it.
1893
5bbad880 18942015-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
0c4d7986 19002015-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
4fa8daf5 19162015-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
d2dc729f 19222015-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
69de5ea9 19332015-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
47ce082f 19412015-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
18e98669 19472015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
1948
1949 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1950 Include crtfastmath.o.
1951
9003096f 19522015-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.
18e98669 1956
2ee6cfdb 19572015-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
92e91d03 19642015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5814084e 1965
1966 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1967 (__cpu_indicator_init): Fix model selection for AMD CPUs.
1968
6c1b774a 19692015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
1970
1971 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1972
e3c15dbe 19732015-10-03 Max Filippov <jcmvbkbc@gmail.com>
1974
1975 * config.host (xtensa*-*-uclinux*): New configuration.
1976
767110dd 19772015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
1978
61958e92 1979 * config/i386/cpuinfo.c (processor_features): Add
767110dd 1980 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1981
b576f5d8 19822015-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
0ed0ef69 20662015-09-24 Richard Earnshaw <rearnsha@arm.com>
2067
2068 PR libgcc/67624
2069 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2070
80fc7cb7 20712015-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
ba24ad38 20812015-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
c2ab7513 20992015-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
92e91d03 21232015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
f96d88a8 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
672cc719 21302015-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
552a60d3 21372015-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
f12cf9f4 21442015-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
9d8ce924 21492015-09-13 John David Anglin <danglin@gcc.gnu.org>
2150
2151 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2152
196c8383 21532015-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
15b21d23 22142015-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
8a596a77 22192015-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
863356ea 22242015-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
58bb1dbe 22312015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2232
2233 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2234 (get_intel_cpu): Likewise.
2235
cba3f034 22362015-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
aca0ff16 22412015-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
71b19c56 22472015-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
ff285c74 22522015-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
a46441d0 22582015-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
4e985e0f 22632015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2264
2265 * offloadstuff.c: Constify host data.
2266
c780eb05 22672015-07-17 Jan Beulich <jbeulich@suse.com>
2268
2269 * config/t-softfp: Split up "else ifneq".
2270
70425b26 22712015-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
6c8a3242 22782015-07-13 John Marino <gnugcc@marino.st>
2279
2280 * config/i386/t-dragonfly: New.
2281
d277282f 22822015-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
146896ec 22892015-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
58ddcdad 22962015-06-23 James Lemke <jwlemke@codesourcery.com>
2297
2298 libgcc/config/arm/
2299 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2300
e9abca4f 23012015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2302
2303 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2304
92e91d03 23052015-05-27 John Marino <gnugcc@marino.st>
328976ed 2306
2307 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2308 md_unwind_header
2309 * config/i386/freebsd-unwind.h: New.
2310
2a8549e0 23112015-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
b5d18737 23192015-05-21 Alan Modra <amodra@gmail.com>
2320
2321 PR libgcc/66225
2322 * config/rs6000/morestack.S: Remove ".abiversion 1".
2323
ec3f28c9 23242015-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
11087c28 23322015-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
f29929b5 23372015-05-16 James Bowman <james.bowman@ftdichip.com>
2338
2339 * config.host: FT32 target added.
2340 * config/ft32/*: New files for FT32 target.
2341
ce86a36a 23422015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2343
61958e92 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.
ce86a36a 2348
177cc56c 23492015-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
a8a5046c 23572015-05-12 Uros Bizjak <ubizjak@gmail.com>
2358
2359 * libgcov-util.c: Add space between string literal and macro name.
2360
1ddaa252 23612015-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
162f9d1e 23702014-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
005a5ef5 23782015-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
23852015-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
acff2768 23902015-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
a2e31d06 23972015-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
4b5fb32a 24032015-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
e98e1692 24132015-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
a0093a4f 24202015-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
fb5ccd6d 24252015-04-10 Jakub Jelinek <jakub@redhat.com>
2426 Iain Sandoe <iain@codesourcery.com>
2427
2428 PR target/65351
2429 * configure: Regenerate.
2430
b1b085e0 24312015-04-07 Jakub Jelinek <jakub@redhat.com>
2432 Iain Sandoe <iain@codesourcery.com>
2433
2434 PR target/65351
2435 * configure: Regenerate.
2436
7ca58a65 24372015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2438
2439 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2440
b89c671b 24412015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7ca58a65 2442
b89c671b 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
69831bb2 24542015-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
c905381f 24612015-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
0853f8db 24732015-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
1c55a862 24792015-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
6014aff2 24882015-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
a698bcaa 24942015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2495
2496 PR gcov-profile/61889
3083dd2f 2497 * libgcov-driver-system.c: undefine clashing macro for mkdir.
a698bcaa 2498
889a65e7 24992015-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
f3b68f27 25042015-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
5be42fa9 25172015-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
45e05b5a 25272015-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
43cbcd84 25562015-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
f8956357 25642015-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
1b738d4d 25702015-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
58ca7445 25772015-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
d4c9c88d 25882015-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
c46389f0 25932015-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
275d0a7c 25992015-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
8992df51 26082015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2609
2610 * config.host: Add Visium support.
2611 * config/visium: New directory.
2612
d353bf18 26132015-01-05 Jakub Jelinek <jakub@redhat.com>
2614
2615 Update copyright years.
2616
78645e70 26172014-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
14cc370b 26222014-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
06f29f53 26292014-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
92e91d03 26362014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4c87b50c 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
c0235a33 26432014-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
273fffd6 26482014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2649
84cf4824 2650 PR target/55351
273fffd6 2651 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2652 whether it's defined.
2653
ffbfc7c5 26542014-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
ae22ef60 26592014-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
a532bc30 26652014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2666
2667 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2668
e88ebd91 26692014-11-24 John David Anglin <danglin@gcc.gnu.org>
2670
2671 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2672 instead.
2673
422aeca3 26742014-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.
005a5ef5 2688
a3d93be3 26892014-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
97a36a5b 27022014-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
f2b55aea 27162014-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
8ce80784 27222014-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
0e36a0d7 27352014-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
d9b5cf5c 27552014-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
2de51200 27692014-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
fd1eaa27 27752014-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
e707b8cc 27842014-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
6ce12a35 27912014-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
b4e6d2e2 27962014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
92e91d03 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>
b4e6d2e2 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,
6ce12a35 2816 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
b4e6d2e2 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.
6ce12a35 2826 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
b4e6d2e2 2827 AVRTINY.
2828
6ce12a35 2829 Fix broken long multiplication on tiny arch.
b4e6d2e2 2830
d9bbc5ef 28312014-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
26054e0b 28702014-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
8a8f3988 28872014-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
f230ef81 29022014-10-04 Trevor Saunders <tsaunders@mozilla.com>
2903
2904 * config.host: Remove support for score-*.
2905
0cb69d12 29062014-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
acbb28e9 29192014-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
d0eb4a95 29252014-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
6c352a95 29392014-09-19 Olivier Hainque <hainque@adacore.com>
2940
2941 * config.host (powerpc-wrs-vxworksmils): New configuration,
2942 same as vxworksae.
2943
168dfbf0 29442014-09-18 Joseph Myers <joseph@codesourcery.com>
2945
2946 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2947
ca6c7c2e 29482014-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
bc587267 29532014-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
0624d0c7 29712014-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
d5957f0d 29762014-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
986b9a67 29912014-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
8f908dc5 30022014-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
f67c2dde 30092014-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
b660d3c6 30352014-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
2aeea855 30502014-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
a91625a6 30552014-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
325b8c3c 30602014-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
b12d2330 31482014-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
827d5daf 31562014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3157
1db4f54b 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
827d5daf 3165 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3166 declaration syntax.
3167
e3108d46 31682014-08-13 Steve Ellcey <sellcey@mips.com>
3169
3170 * crtstuff.c: Undef caddr_t.
3171
0898fffa 31722014-08-12 Steve Ellcey <sellcey@mips.com>
3173
3174 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3175
859fa1a9 31762014-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
3fa2798a 32012014-08-04 Rohit <rohitarulraj@freescale.com>
3202
3203 PR target/60102
3204 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6d88799a 3205 based on change in SPE high register numbers and 3 HTM registers.
3fa2798a 3206
cb3ea3de 32072014-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
bfd88f52 32162014-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
bcd3133e 32282014-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
1186f97a 32352014-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
ab0c4d2e 32552014-07-27 Anthony Green <green@moxielogic.com>
3256
3257 * config.host: Add moxiebox configuration suppport.
3258
6401b74d 32592014-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
0f768e5f 32792014-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
2b333d82 32902014-07-24 DJ Delorie <dj@redhat.com>
3291
3292 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
0f768e5f 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.
2b333d82 3297
145d88ea 32982014-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
307c2567 33042014-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
3dc22a01 33102014-07-14 Richard Biener <rguenther@suse.de>
3311
3312 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3313
a60d8a99 33142014-07-11 Rong Xu <xur@google.com>
3315
3316 * libgcov-util.c (gcov_max_filename): Fix declartion.
3317
e76f6040 33182014-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.
005a5ef5 3356 (int_scale): Callback function for integer fraction scaling.
e76f6040 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
761d3cae 33652014-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
b4187486 33722014-05-22 Nick Clifton <nickc@redhat.com>
3373
3374 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3375 -mhwmult=none.
3376
f1919901 33772014-05-22 Teresa Johnson <tejohnson@google.com>
3378
3379 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3380 include.
3381
463553db 33822014-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
17611fd9 33902014-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
b061dab2 33962014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3397
3398 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3399 implementation.
3400
b81ef88d 34012014-05-12 Georg-Johann Lay <avr@gjlay.de>
3402
3403 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3404
d71975a6 34052014-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
d3c4b980 34112014-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
1f912f03 34182014-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
3efb5d22 34232014-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
368b5b2c 34342014-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
0cdefccf 34392014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3440
c7285b71 3441 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
0cdefccf 3442
e5d692d7 34432014-03-10 Uros Bizjak <ubizjak@gmail.com>
3444
3445 PR libgcc/60472
3446 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
06f29f53 3447 variable to avoid "array subscript is above array bounds" warnings.
e5d692d7 3448 Use __builtin_expect when checking *jcr_list for NULL.
3449
ec5f5503 34502014-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
6dd4126d 34572014-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
c63fabc4 34622014-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
2da35515 34692014-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
73e15dfc 34752014-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
db5ce3d9 34822014-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
8f687340 34892014-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
fc1cd012 36052014-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
4b366ca9 36152014-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
896dc54c 36282014-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
48118d02 36382014-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
1fa97c89 36472014-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
9bcbf352 36522014-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
81b83e46 36662014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3667
3668 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3669 as long long.
3670
41766a5f 36712014-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
c8d04645 36772014-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
47bfa8ec 37592014-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
fcb4fe71 37652014-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
92e91d03 37722014-01-21 Baruch Siach <barch@tkos.co.il>
382e1a72 3773
3774 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3775
9c50d275 37762014-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
005a5ef5 37852014-01-08 Rong Xu <xur@google.com>
67745126 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
acf40e7e 37972014-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
f9fb6ba0 38022014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3803
3804 Update copyright years
3805
e4f22041 38062014-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
de65406d 38462013-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
a0f1278f 38642013-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
0337c8ef 38702013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3871
e5d692d7 3872 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
0337c8ef 3873 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3874 (get_amd_cpu): Likewise.
3875
03797e66 38762013-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
8a5280dc 38812013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3882 H.J. Lu <hongjiu.lu@intel.com>
3883
ed1bc9a4 3884 PR target/59422
3885 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8a5280dc 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.
ed1bc9a4 3894 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8a5280dc 3895 FEATURE_FMA4 and FEATURE_XOP.
3896
ccc305ff 38972013-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
4ef5912a 39032013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
3904
3905 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3906
62f068c6 39072013-12-09 Uros Bizjak <ubizjak@gmail.com>
3908
3909 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2cc02024 3910 instructions when __SSE_MATH__ is defined.
62f068c6 3911
d742e92d 39122013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
3913
3914 * config.host (microblaze-*-rtems*): New.
3915
706d62f5 39162013-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
81927967 39222013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
3923
3924 * longlong.h: Delete (moved to include/).
3925
085d03cc 39262013-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
1f88bc79 39312013-11-28 Uros Bizjak <ubizjak@gmail.com>
3932
3933 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3934
39352013-11-28 Matthew Leach <matthew.leach@arm.com>
de12de96 3936
3937 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3938 for correct opcodes on BE.
3939
ea9697c4 39402013-11-27 Uros Bizjak <ubizjak@gmail.com>
3941
3942 * soft-fp/op-4.h: Update from glibc.
3943
b214253d 39442013-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
334819e8 39502013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
3951
3952 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3953
2b8d95bc 39542013-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
39da7440 39592013-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
b848ffcd 39682013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
3969
ea9697c4 3970 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
b848ffcd 3971
f75db2a8 39722013-11-18 Jan Hubicka <jh@suse.cz>
3973
5dbddbd9 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
7a45fd9b 3979 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3980 run_accounted.
3981
f75db2a8 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
822f2c1b 39922013-11-15 Andreas Schwab <schwab@linux-m68k.org>
3993
3994 * configure: Regenerate.
3995
238f342d 39962013-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
40022013-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
40122013-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
771a5362 40202013-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
f4f176bd 40262013-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
024d645a 40322013-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
96ddb284 40412013-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
b4ad80db 40472013-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.
dc1dacdf 4053 Rewrite FP_EX_INEXACT handling.
b4ad80db 4054
589468a6 40552013-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
8a3edb33 41402013-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
ea151fae 41492013-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
eae21ed1 41542013-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
b4294f67 41602013-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
89432048 41842013-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
a99f9d91 41892013-10-02 John David Anglin <danglin@gcc.gnu.org>
4190
4191 * config.host (hppa*64*-*-linux*): Define extra_parts.
4192 (hppa*-*-linux*): Likewise.
4193
c6e92c43 41942013-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
8abf21c0 42502013-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.
29941397 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.
8abf21c0 4257
8eaaaea3 42582013-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
5d7073ff 42692013-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
c5a0ae5e 42752013-09-16 DJ Delorie <dj@redhat.com>
4276
3feee9ae 4277 * config/rl78/vregs.h: Add G10 register definitions.
c5a0ae5e 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
03223f89 42852013-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
e4a25868 42972013-09-12 DJ Delorie <dj@redhat.com>
4298
4299 * config.host (msp*-*-elf): New.
4300 * config/msp430/: New port.
4301
f5f1a747 43022013-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
272552a3 43092013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
ea151fae 4310 Catherine Moore <clm@codesourcery.com>
92e91d03 4311 Richard Sandiford <rdsandiford@googlemail.com>
272552a3 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
26865d30 43222013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4323
4324 * config.host <mips*-*-linux*>: Remove a stray comment.
4325
4771c0ac 43262013-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
fe37be54 43332013-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
b710ec85 43402013-08-06 Caroline Tice <cmtice@google.com>
4341
62257207 4342 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
b710ec85 4343 vtv_start_preinit.o and vtv_end_preinit.o.
62257207 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
b710ec85 4346 true.
62257207 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.
b710ec85 4352
98997678 43532013-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
b26b6f0d 43602013-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
e6270f6f 43652013-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
fdbf5b19 43702013-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
6dcb849c 43782013-07-15 Matthias Klose <doko@ubuntu.com>
4379
4380 * libgcc2.c: Don't include <limits.h>.
4381
16348e18 43822013-07-09 Janis Johnson <janisjo@codesourcery.com>
4383
4384 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4385
64b5be08 43862013-07-06 Jakub Jelinek <jakub@redhat.com>
4387
4388 PR target/29776
4389 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4390
68a09193 43912013-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
5fe358df 44002013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4401
4402 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4403 correctly.
4404
2511e9f1 44052013-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
0b4e9fcd 44882013-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
fe9c9e23 44932013-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
1c229e23 44992013-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
1a7dfb13 45062013-06-06 Douglas B Rupp <rupp@adacore.com>
4507
4508 * config.host (arm-wrs-vxworks): Configure with other soft float.
4509
60b34f30 45102013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4511
4512 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4513 (mips64r5900el-*-elf*): New configurations.
4514
ebe9cbdb 45152013-06-04 Alan Modra <amodra@gmail.com>
4516
4517 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4518
fbcee6d1 45192013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4520
4521 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4522
aad33226 45232013-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
47ab8c10 45292013-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
34a60aa2 45342013-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
be82f7a8 45412013-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
bd89d2b6 45472013-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
9e849aff 45522013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4553
dfa9a36a 4554 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4555 NaN's payload.
4556
9e849aff 4557 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4558
d80dc920 45592013-04-25 Alan Modra <amodra@gmail.com>
4560
4561 * config.host: Match little-endian powerpc-linux.
4562
d359df0c 45632013-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
912507e5 45702013-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
9dafcef4 45772013-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
11bec6e6 45822013-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
45d13ef4 45882013-03-27 Kai Tietz <ktietz@redhat.com>
4589
4590 * config.host: Add support for cygwin x64 target.
4591 * configure: Regenerated.
4592
cad8262b 45932013-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
d2adc174 45982013-03-25 Kai Tietz <ktietz@redhat.com>
4599
4600 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4601
a5487e41 46022013-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
ff9c1bc1 46092013-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
228bf2b8 46172013-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
bb057878 46242013-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
a1b2a524 46302013-03-07 Sriraman Tallam <tmsriram@google.com>
4631
4632 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4633 sandybridge processors.
4634
9fe603c3 46352013-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
21ebaa24 46412013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
02f4bd0d 4642
4643 * config/microblaze/crti.S: Setup stack protection at entry
4644
958069e9 46452013-03-04 Georg-Johann Lay <avr@gjlay.de>
4646
4647 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4648 (__rotldi3): Shift bytewise if applicable.
4649
49be16da 46502013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4651
4652 * config/aarch64/sync-cache.c
4653 (__aarch64_sync_cache_range): Silence warnings.
4654
ca7a473f 46552013-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
7fd93f9c 46662013-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
1859244f 46742012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
005a5ef5 4675 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1859244f 4676 as dividend.
4677
2a0bfd56 46782013-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
cfbcb7d5 46862013-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
48b8e70a 47012013-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
eafea251 47082013-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
64b7b462 47222013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4723
4724 Update copyright years.
4725
a8af2dd5 47262013-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
9a5788ea 47382013-01-31 Nick Clifton <nickc@redhat.com>
4739
4740 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4741 variant.
4742
63c85bd5 47432013-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
21ebaa24 47522013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
c48df545 4753
9a5788ea 4754 * config.host(microblaze*-linux*): tmake_file: Remove
c48df545 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
21ebaa24 47602013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
98f2ac05 4761
4762 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4763 extra_parts.
4764
ee4d7d9e 47652013-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
7deea711 47722013-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
0dff9558 47772013-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
d8ff1e9a 47822013-01-14 Georg-Johann Lay <avr@gjlay.de>
4783
4784 * config/avr/avr-lib.h: Add GPL copyright notice.
4785
dd509879 47862013-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
6e029611 47932013-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.
51918e06 4797
409ad634 47982013-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
1d384e02 48032012-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
cc4b03ac 48082012-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
990457e2 48132012-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
db6a9a70 48192012-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
038a6cd9 48242012-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
ef5f15fb 48312012-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
92e91d03 48362012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
09ef8b8d 4837
038a6cd9 4838 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
09ef8b8d 4839 (FP_EX_SHIFT): Define.
4840 (FP_TRAPPING_EXCEPTIONS): Define.
4841
92e91d03 48422012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1caca546 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
6a11e52b 48502012-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
a92cf445 48672012-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
f0b6dfa6 48742012-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.
038a6cd9 4879
c8ec4eb6 48802012-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
038a6cd9 4891 decimal point of signed accum types.
4892
c8ec4eb6 4893 (__mulusa3_round): New function.
4894 (__mulusa3): Use it.
4895 (__divqq_helper): New function.
4896 (__udivuqq3): Use it.
4897
ca8c4cb9 48982012-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
5d2fca09 49032012-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
92e91d03 49092012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
bfc20a3e 4910
4911 * soft-fp: Updated from glibc upstream.
4912
20f6e7a3 49132012-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
97bd2465 49242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4925
4926 * configure: Regenerate.
4927
d152ae90 49282012-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
0cd8c088 49382012-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
113702f6 49432012-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
92e91d03 49512012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
00b706f9 4952
4953 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4954
92e91d03 49552012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
57380e33 4956
113702f6 4957 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
57380e33 4958
a2397d15 49592012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4960
4961 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4962 tmake_file.
4963
1b3d2097 49642012-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
cfdcf688 49842012-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
92e91d03 49902012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
598ebe3d 4991
4992 * config.host
4993 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4994 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4995
530c2b2e 49962012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4997
4998 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4999
f49eb158 50002012-10-15 Matthias Klose <doko@ubuntu.com>
5001
5002 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5003
017f22df 50042012-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
da8b7497 50092012-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
19a23012 50142012-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
a32dc74a 50232012-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
81ae3d37 50292012-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
4e6a7cfc 50362012-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
7cc401e3 50422012-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
cfaba078 50492012-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
4854adab 50572012-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.
4e6a7cfc 5066 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5067 Likewise.
4854adab 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
07cf7615 50752012-09-19 Mark Kettenis <kettenis@openbsd.org>
5076
cfaba078 5077 * config.host (hppa-*-openbsd*): New target.
5078 * config/pa/t-openbsd: New file.
07cf7615 5079
b4ebb666 50802012-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
6e7c6395 50972012-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
5e847ded 51032012-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
7995ce5f 51092012-09-07 Teresa Johnson <tejohnson@google.com>
5110
cfaba078 5111 PR gcov-profile/54487
7995ce5f 5112 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
cfaba078 5113 differences.
7995ce5f 5114
fd28e216 51152012-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
2688cb90 51252012-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
51796b3a 51332012-09-01 Mark Kettenis <kettenis@openbsd.org>
5134
5135 * config.host (x86_64-*-openbsd*): New target.
d152ae90 5136
d36db932 51372012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5138
5139 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5140 attribute.
5141
d87654c8 51422012-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
017c5b98 51472012-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
65bcd545 51672012-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
39166195 51752012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5176
5177 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5178
b78f422e 51792012-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
66ef0f44 51892012-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
93547515 51942012-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
98d22b3c 51992012-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
2076ec4b 52062012-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
c1420b84 52112012-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
ae5b70d0 52162012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5217
5218 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5219
4ff70f1c 52202012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5221
5222 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5223
464810a0 52242012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5225
5226 PR driver/54171
5227 * Makefile.in (version): Replace top_srcdir with srcdir.
5228
d2c6da38 52292012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5230
5231 * Makefile.in (version): set to BASE-VER file from gcc directory.
5232
a575acb2 52332012-08-01 Nick Clifton <nickc@redhat.com>
5234
5235 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5236 Implements __clrsb for an HImode argument.
5237
3a44f5e6 52382012-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
56b17dd7 52452012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5246
5247 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5248
8ad0b530 52492012-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
017bf976 52622012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5263
5264 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5265
6f24586e 52662012-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
1927db1f 52722012-06-13 Uros Bizjak <ubizjak@gmail.com>
5273
7b9088d5 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.
1927db1f 5280
c3576308 52812012-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
725b956c 52912012-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
026e608e 52972012-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
2c223cf2 53032012-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
620803f2 53212012-06-03 David S. Miller <davem@davemloft.net>
5322
5323 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5324 change.
5325
38ef0978 53262012-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
e1c346e5 53322012-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
4bb0c596 53622012-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
05b6028a 53672012-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
de055a8b 53722012-05-24 Olivier Hainque <hainque@adacore.com>
5373
05c265fe 5374 * Makefile.in: Move dependency on install-unwind_h from
de055a8b 5375 "install-leaf" to "install".
5376
511797dd 53772012-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
c05436a7 53822012-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
0e0bcebd 53882012-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
4ea72f7b 53972012-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
98c9b52b 54062012-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
a7534247 54332012-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
7b9088d5 54382012-05-08 Teresa Johnson <tejohnson@google.com>
4ef7becb 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
416e60e6 54472012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5448
4bb0c596 5449 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5450 (mips*-*-linux*): Include mips/t-tpbit when long double is
5451 16 bytes long.
416e60e6 5452
d79cfc15 54532012-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
cef20746 54592012-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
0a166714 54662012-04-24 Sriraman Tallam <tmsriram@google.com>
5467
5468 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5469
f0fd108f 54702012-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
394bef3f 54772012-04-24 Chao-ying Fu <fu@mips.com>
5478
5479 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5480
5617a3db 54812012-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
49a280b5 54982012-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
6c760a69 55032012-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
59e4072c 55082012-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
d32d7e3a 55132012-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
6aadb6e2 55192012-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
784576c7 55362012-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
483ac460 55462012-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
bdd1ee48 55562012-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
df85f61c 55622012-03-20 Richard Guenther <rguenther@suse.de>
5563
5564 PR gcov-profile/52627
5565 * libgcov.c (init_mx): Fix mutex name.
5566
46da3ce5 55672012-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
264a5d11 55722012-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
42b3e3d6 55802012-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
c2c4377d 55852012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5586
5587 * config/arm/crtn.S: Fix typo.
5588
3f2da048 55892012-03-13 Richard Guenther <rguenther@suse.de>
5590
5591 * libgcov.c: Remove stdio.h include and NULL un-define.
5592
b4e1521f 55932012-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
1d110375 55982012-03-13 Richard Guenther <rguenther@suse.de>
5599
5600 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5601
0e6ad699 56022012-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
1f7e141e 56072012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5608
5609 * config.host (mips*-*-openbsd*): Remove.
5610
126b6848 56112012-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
2e7d9be1 56242012-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
8f852c44 56402012-03-12 Tristan Gingold <gingold@adacore.com>
5641
5642 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5643 * config/ia64/t-vms: Likewise.
5644
04d5d0ad 56452012-03-11 Michael Hope <michael.hope@linaro.org>
5646
7b9088d5 5647 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5648 for Thumb-2.
04d5d0ad 5649
3d14844b 56502012-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
3abce231 56622012-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
ee3ce577 56672012-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
be20cbdd 56732012-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
e9b46b49 56872012-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
2da7d23a 56922012-03-01 Kai Tietz <ktietz@redhat.com>
5693
5694 * soft-fp: Imported from glibc upstream.
5695
ed67de04 56962012-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
154b49cd 57012012-02-28 Ian Lance Taylor <iant@google.com>
5702
5703 * generic-morestack.c (__splitstack_releasecontext): Correct call
5704 to __morestack_release_segments.
5705
8d2259c8 57062012-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
97e18ae2 57122012-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
c3dd2023 57172012-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
7ed6dbef 57232012-02-20 Kai Tietz <ktietz@redhat.com>
5724
52cec843 5725 PR libstdc++/52300
5726 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5727
7ed6dbef 5728 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5729 to w32-unwind.h header.
5730
6a8f7b8b 57312012-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
7db87803 57382012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5739
5740 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5741
d114e642 57422012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5743
5744 PR libitm/52220
5745 * config/darwin-crt-tm.c: Correct typo.
154b49cd 5746
b8f45854 57472012-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
621d0dd2 57532012-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.
154b49cd 5759 (__doTMdeRegistrations): Likewise.
621d0dd2 5760
0b6cf66f 57612012-01-15 Georg-Johann Lay <avr@gjlay.de>
92e91d03 5762 Anatoly Sokolov <aesok@post.ru>
5763 Eric Weddington <eric.weddington@atmel.com>
0b6cf66f 5764
5765 PR target/52261
5766 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5767 (__epilogue_restores__): Ditto.
5768
99e0a0ad 57692012-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
7ce78e23 57772012-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
f47763a6 57952012-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
674cb359 58022012-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
92e91d03 58092012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
5810 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b9fdd12b 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
01cdc5b2 58232012-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
af8e12d0 58292012-01-22 Douglas B Rupp <rupp@gnat.com>
5830
5831 * config.host (i[34567]86-*-interix3*):
01cdc5b2 5832 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 5833 * configure: Regenerate.
5834
a657080a 58352012-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
72e76fa0 58422012-01-11 Nathan Sidwell <nathan@acm.org>
5843
5844 * libgcov.c (__gcov_init): Ignore objects with no functions.
5845
ed2541ea 58462012-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.
ddf97006 5855
6e647e51 58562012-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
af185b18 58622012-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
2ff958e6 58702012-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
ce94380e 58802012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5881
5882 * configure: Regenerate.
5883 * config/s390/t-crtstuff: Remove -fPIC.
5884
ca4c7704 58852012-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
b32bc361 58912012-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
83921eda 58972012-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
6071b85b 59052011-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
611b540a 59152011-12-21 Tristan Gingold <gingold@adacore.com>
5916
5917 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5918
ddf97006 59192011-12-21 Ian Lance Taylor <iant@google.com>
5920
5921 * config/i386/morestack.S: Simplify CFI opcodes throughout.
5922
0d84f164 59232011-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
d77ac56d 59292011-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
80898d14 59402011-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
20dbbfaf 59462011-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
d42ef213 59512011-12-15 Iain Sandoe <iains@gcc.gnu.org>
5952
5953 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 5954 function is not used for PPC64.
d42ef213 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
3efc00f6 59632011-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
fa0431fa 59682011-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
18e6a060 59742011-12-11 Eric Botcazou <ebotcazou@adacore.com>
5975
5976 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5977
0dcd7d21 59782011-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
a41e0f2d 59842011-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
8c8193e1 59902011-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
e2306166 60002011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6001
6002 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6003
61437698 60042011-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.
80898d14 6013
78e515f7 60142011-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
adce431d 60192011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6020
6021 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6022 formatting.
6023
738c50b8 60242011-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
bda4944f 60492011-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
00b708da 60572011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6058
6059 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6060
7c66781a 60612011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6062
6063 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6064
5bb27b7c 60652011-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
d9ca835b 60712011-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
8f8ba4fc 60802011-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
e426aa2b 60882011-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
2d171408 60932011-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
08417926 61022011-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
cde39152 61112011-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
30957bde 61222011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6123
6124 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6125 *-*-freebsd*aout*): Remove.
6126
a504f092 61272011-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
31da0b3d 61322011-11-18 Steve Ellcey <sje@cup.hp.com>
6133
6134 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6135
5bd39e93 61362011-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
a3bfd5b2 61432011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6144
6145 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6146 functions.
80898d14 6147 (aeabi_uidivmod): Likewise.
a3bfd5b2 6148 (umodsi3): Likewise.
6149 (divsi3): Likewise.
6150 (aeabi_idivmod): Likewise.
6151 (modsi3): Likewise.
6152
3512ee5b 61532011-11-16 Tristan Gingold <gingold@adacore.com>
6154
6155 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6156
4202ef11 61572011-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
ab4fdb3d 61632011-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
eee57ca7 61702011-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
0c74e0e8 61752011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6176
6177 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6178
23371076 61792011-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
2d00fffd 62042011-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
6886ca41 62102011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6211
6212 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6213
5014df5d 62142011-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
702a5eec 62202011-11-07 Georg-Johann Lay <avr@gjlay.de>
6221
6222 PR target/49313
6223 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6224
2219274c 62252011-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
fbb6f195 62532011-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
7336fab9 62692011-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
6c10eb68 62802011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6281
6282 * config.host (arm*-*-rtemseabi*): New target.
6283
3fe1f35b 62842011-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
d19f5793 62902011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6291
6292 * config.host (epiphany-*-elf*): New configuration.
6293 * config/epiphany: New Directory.
6294
02c5dcd9 62952011-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
f3223c0b 63012011-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
994652ec 63062011-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
02d9a2c3 63112011-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
81b973fe 63172011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6318
6319 PR target/50989
6320 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6321
ae1b140e 63222011-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
0a76a5ff 63272011-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
26f2feff 63402011-11-04 Tristan Gingold <gingold@adacore.com>
6341
6342 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6343
131667b5 63442011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6345
6346 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6347
af64ed6f 63482011-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
4dad46bd 63542011-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
37626bf8 63612011-11-03 Andreas Schwab <schwab@redhat.com>
6362
6363 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6364
95de80bc 63652011-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
b5347955 63732011-11-02 Jason Merrill <jason@redhat.com>
6374
6375 * config/rs6000/t-ppccomm: Add missing \.
6376
630d52ca 63772011-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
022a2799 63912011-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
4dc4ff49 64442011-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
9213d2eb 66932011-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
237490bf 68132011-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
a997b0d8 70872011-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
638a95a0 72402011-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
ef785e44 72462011-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
19b85223 7251 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7252 logic for doubleword pops.
7253
70f50eb0 72542011-10-25 Andreas Tobler <andreast@fgznet.ch>
7255
7256 * config/rs6000/t-freebsd: Add wildcard.
7257
ec2b386c 72582011-10-21 Paul Brook <paul@codesourcery.com>
7259
7260 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7261
b09a3f46 72622011-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
8acdf7c6 72692011-10-07 Ian Lance Taylor <iant@google.com>
7270
7271 * generic-morestack-thread.c: #include <errno.h>.
7272
1780e36e 72732011-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
f57fac72 72802011-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
6ef008f9 72862011-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
7e5fc0c4 72932011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 7294
7e5fc0c4 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
047a5c56 73072011-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
985e908e 73132011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7314
7315 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7316
c1c81358 73172011-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
7642fc98 73232011-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
392bda6f 73292011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7330
7331 * Makefile.in (install-unwind_h): Remove destination file first.
7332
21889c08 73332011-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
3569d462 73582011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7359
7360 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7361 t-libunwind.
7362
e451a093 73632011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7364
7365 PR other/48007
7366 * config/i386/value-unwind.h: New.
7367
ab3bed33 73682011-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
84600db5 73742011-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
a23b9c51 74722011-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
e59be7e3 75842011-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
b57de711 76492011-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
9a4af446 76552011-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
bbbe4599 76612011-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
ac34b7db 76672011-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
2a7dfa04 76792011-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
a232cb08 76852010-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
c54e2746 76922011-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
4d72c922 76982011-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
5aa04b01 77042011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7705
7706 * config.host: Handle tic6x-*-*.
7707 * config/c6x/c6x-abi.h: New file.
7708
ba079bc9 77092011-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
1125ba83 77182011-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
1a4a11f3 77472011-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
ef3ab47f 77582011-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
367b55f3 77692011-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
17aa03f5 77752011-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
2bc72a9f 77932011-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
36a5227d 77992011-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
689a8077 78052011-07-07 Joseph Myers <joseph@codesourcery.com>
7806
7807 * config.host (*local*): Remove.
7808
14f27bc6 78092011-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
fe27820f 78182011-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
934ca5fd 78282011-07-04 Georg-Johann Lay <avr@gjlay.de>
7829
7830 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7831
707238af 78322011-06-28 Nick Clifton <nickc@redhat.com>
7833
7834 * config.host: Recognize all V850 variants.
7835
5125dcef 78362011-06-22 Uros Bizjak <ubizjak@gmail.com>
7837
7838 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7839
f92b36a5 78402011-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
d8492bd3 78462011-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
fa72efb7 78512011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 7852
fa72efb7 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
adf7c0a1 78592011-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
47529489 78652011-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
a6f06169 78742011-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
f9cccfac 78872011-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
ee884cfb 78942011-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
01cb8ad1 79022011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7903
7904 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7905
73956a0d 79062011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
7907
7908 * config.host (sh*-*-linux*): Fix typo.
7909
1e53920f 79102011-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
8087ae75 79552011-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
506cfbc8 79662011-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
541346b9 79712011-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
43ae7603 79832011-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
f0d9a626 79892011-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
63abf89e 80012011-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
b1da9d72 80532011-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
f308a9b2 80612011-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
c177b341 80692011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8070
8071 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8072
8633828c 80732011-05-10 Joseph Myers <joseph@codesourcery.com>
8074
8075 * config/i386/darwin-lib.h: New file.
8076
3be74046 80772011-05-10 Joseph Myers <joseph@codesourcery.com>
8078
8079 * config/arm/symbian-lib.h: New.
8080
5e1a494e 80812011-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
0bb50d04 80872011-05-03 Chris Demetriou <cgd@google.com>
8088
8089 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8090
17b3d2a8 80912011-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
95525c17 81002011-03-14 Andreas Tobler <andreast@fgznet.ch>
8101
8102 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8103 Adjust copyright year.
8104
82c96609 81052011-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
abfe0c5b 81102011-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
48f93ee5 81212010-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
76aa642f 81272010-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
e8b06528 81332010-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
2b7a4d59 81402010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8141
8142 PR other/46202
8143 * Makefile.in (install-strip): New phony target.
8144
457123d6 81452010-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
f6e5e456 81512010-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
faf175ae 81572010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8158
8159 * config/arm/bpabi.h: New file.
8160 * config/frv/frv-abi.h: New file.
8161
9266176d 81622010-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
13ba4217 81672010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8168
8169 PR target/45858
8170 * config.host: Add the missing `$'.
8171
d34b0d1e 81722010-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
78ca2689 81792010-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
c9b3ebc5 81852010-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
48b14f50 81922010-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
fd80c7a1 82032010-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
70fbcd6d 82102010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8211
8212 * configure: Regenerated.
8213
19aace05 82142010-09-10 Kai Tietz <kai.tietz@onevision.com>
8215
70fbcd6d 8216 * configure: Regenerated.
19aace05 8217
279dadf5 82182010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8219 Andrew Pinski <pinskia@gmail.com>
8220
5125dcef 8221 PR target/40959
279dadf5 8222 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8223
a87eb011 82242010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8225
8226 PR target/45524
8227 * configure: Regenerated.
8228
e6425baf 82292010-09-06 Andreas Schwab <schwab@redhat.com>
8230
8231 * configure: Regenerate.
8232
e88f4c66 82332010-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
1d8139cc 82402010-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
23340821 82472010-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
278afeb5 82532010-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
952bf8bb 82602010-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
283681bb 82672010-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
92e91d03 82732010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a6180b96 8274
8275 * config.host (sparc64-*-rtems*): New target.
8276
05157f42 82772010-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
8a84c748 82822010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8283
8284 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8285
ed3e1bbc 82862010-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
92e91d03 82912010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 8292
8293 * config.host: Add lm32-*-rtems*.
8294
20be3c56 82952010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
92e91d03 8296 Uros Bizjak <ubizjak@gmail.com>
20be3c56 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
92e91d03 83062010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8f0f72c0 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
cf842d6a 83142010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8315
8316 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8317
4dcd7ab3 83182010-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
a426f025 83282010-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
8525326e 83342010-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
14a10763 83402010-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
00301a1a 83462010-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
92e91d03 83532009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
d2b1aa3d 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
92e91d03 83602009-11-11 Jon Beniston <jon@beniston.com>
f6fe91e8 8361
278afeb5 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.
f6fe91e8 8379
24833e1a 83802009-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
1d7e299f 83912009-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
e38fe738 83962009-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
81a71e2b 84112009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8412
8413 * configure.ac (AC_PREREQ): Bump to 2.64.
8414
a1ef431d 84152009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8416
8417 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8418
cd9a469c 84192009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8420
8421 * configure: Regenerate.
8422
9b9a2528 84232009-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
a2655af1 84292009-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
46222c18 84372009-06-23 DJ Delorie <dj@redhat.com>
8438
8439 Add MeP port.
8440 * config.host: Add mep support.
8441
13dc7657 84422009-06-22 Kai Tietz <kai.tietz@onevision.com>
8443
82a3cc73 8444 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 8445 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 8446
8447 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8448 for mingw targets.
13dc7657 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.
82a3cc73 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.
13dc7657 8459
63bfd172 84602009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8461
8462 * config.host (vax-*-linux*): New.
8463
be52b6d8 84642009-05-31 Anthony Green <green@moxielogic.com>
8465
8466 * config.host: Add moxie support.
8467 * config/moxie/t-moxie: New file.
8468
92e91d03 84692009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6471e33b 8470
8471 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 8472 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 8473
09ec66c8 84742009-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
6bc9506f 84792009-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
86442009-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
4e5e2802 86512009-04-07 Alan Modra <amodra@bigpond.net.au>
8652
8653 * config.host: Reorder and merge to match config.gcc change.
8654
8d40ea45 86552009-04-03 Alan Modra <amodra@bigpond.net.au>
8656
8657 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8658
f2397fc4 86592009-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
24200b28 86662009-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
8b21beb2 86712009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8672
24200b28 8673 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8674 ia64/t-softfp-compat to tmake_file.
8b21beb2 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
9df8be69 86862009-01-18 Ben Elliston <bje@au.ibm.com>
8687
8688 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8689
f2b540ae 86902009-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
5790f80a 86952009-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
92e91d03 87012009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
b8138586 8702
8703 * config.host: Add m32r*-*-rtems*.
8704
92e91d03 87052008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
7eac0a4e 8706
8707 * config.host: Add m32c*-*-rtems*.
8708
03150a33 87092008-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
77a32a8e 87212008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8722
8723 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8724 case.
8725
1eab96a6 87262008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8727
8728 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8729
74cd9df8 87302008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8731
8732 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8733
8372e9ea 87342008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8735
8736 Add picoChip port.
8737 * config.host: Add picochip-*-*.
8738
75c7ffbc 87392008-08-06 Bob Wilson <bob.wilson@acm.org>
8740
8741 * config.host: Match more processor names for Xtensa.
8742
fb4830c6 87432008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8744
8745 * config/i386/64/t-softfp-compat: Update comments.
8746
7c92db45 87472008-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
ec2e6a4e 87612008-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
fdbb505a 87682008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
8769
8770 * Makefile.in: Add support for __sync_* libgcc functions.
8771
310c48f2 87722008-07-03 H.J. Lu <hongjiu.lu@intel.com>
8773
8774 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8775
144633f4 87762008-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
e25ffafe 87852008-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
b3fd46a0 87902008-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
88032008-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*,
1d7e299f 8807 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 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
88202008-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
eaef9489 88252008-06-26 Nathan Froyd <froydnj@codesourcery.com>
8826
8827 * config/rs6000/t-ppccomm: Remove rules that conflict with
8828 auto-generated rules.
8829
5b2c7553 88302008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8831
8832 * configure.ac: sinclude override.m4.
8833 * configure: Regenerate.
8834
dde02e56 88352008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
8836
8837 * configure: Regenerate.
8838
4d6f3aad 88392008-06-10 Joseph Myers <joseph@codesourcery.com>
8840
8841 * Makefile.in (DECNUMINC): Remove
8842 -I$(MULTIBUILDTOP)../../libdecnumber.
8843 * gstdint.h: New.
8844
6af9f7ea 88452008-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
ccf1c0f1 88622008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
8863
8864 * config.host (sh2[lbe]*-*-linux*): Allow target.
8865
19872d0b 88662008-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
38dd5584 88712008-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
8e5da69c 88782008-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
99c77e32 88842008-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
8237872e 88902007-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
00a05b87 88962007-12-19 Etsushi Kato <ek.kato@gmail.com>
8897 Paolo Bonzini <bonzini@gnu.org>
8898
8899 PR target/30572
e25ffafe 8900 * Makefile.in: Use @shlib_slibdir@ substitution to get
8901 correct install name on darwin.
00a05b87 8902 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 8903
877d7f12 89042007-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
75612461 89102007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
8911
8912 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8913
f11b4169 89142007-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
84d1fc49 89202007-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
3ac0842f 89272007-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
8c72b2f9 89382007-09-11 Janis Johnson <janis187@us.ibm.com
8939
8940 * Makefile.in (dfp-filenames): Add bid128_noncomp.
8941
c8ac5d9a 89422007-09-10 Janis Johnson <janis187@us.ibm.com>
8943
8944 * Makefile.in (dfp-filenames): Remove decUtility, add
8945 decDouble, decPacked, decQuad, decSingle.
8946
cc8ebe39 89472007-08-27 Hans Kester <hans.kester@ellips.nl>
8948
8949 * config.host : Add x86_64-elf target.
8950
db1c99de 89512007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8952
8953 * configure.ac (set_have_cc_tls): Add a missing =.
8954 * configure: Regenerated.
8955
e4cbe54f 89562007-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
1d7e299f 8963 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 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
9b6b0236 89702007-07-04 H.J. Lu <hongjiu.lu@intel.com>
8971
8972 * Makefile.in: Use libbid for DFP when BID is enabled.
8973
9e51385b 89742007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
8975
8976 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 8977 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 8978 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8979
8f433c51 89802007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 8981 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 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
723e1902 89892007-05-10 Richard Sandiford <richard@codesourcery.com>
8990
8991 * config.host (sparc-wrs-vxworks): New target.
8992
278e2fd1 89932007-04-14 Kazu Hirata <kazu@codesourcery.com>
8994
8995 * config.host: Recognize fido.
8996
2968d68c 89972007-04-04 Janis Johnson <janis187@us.ibm.com>
8998
8999 * configure: Check host, not target, for decimal float support.
9000
6d057ce8 90012007-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.
e25ffafe 9005 (x86_64-*-linux*): Ditto.
6d057ce8 9006
0bbe9142 90072007-02-30 Kai Tietz <kai.tietz@onevision.com>
9008
9009 * config.host (x86_64-*-mingw*): New target.
9010
10de71e1 90112007-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
7a9b9c95 90262007-03-19 Hans-Peter Nilsson <hp@axis.com>
9027
9028 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9029
37decb40 90302007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9031
9032 * Makefile.in (install-info): New dummy target.
9033
bce94ab5 90342007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9035
9036 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9037
1403bdd1 90382007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9039
9040 * Makefile.in: Add install-html and install-pdf dummy
9041 targets.
9042
fce64ed4 90432007-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
4d863ca5 90502007-01-29 Janis Johnson <janis187@us.ibm.com>
9051
9052 * Makefile.in (dec-filenames): Add decExcept.
9053
f0356913 90542007-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
bbdcab13 90602007-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
3da0fdbc 90662007-01-23 Joseph Myers <joseph@codesourcery.com>
9067
9068 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9069
cdca0ab7 90702007-01-21 Andrew Pinski <pinskia@gmail.com>
9071
9072 PR target/30519
9073 * config.host (alpha*-*-linux*): Set extra_parts.
9074
97f1a704 90752007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9076
9077 * config/sh/t-linux: New.
9078 * config.host (sh*-*-linux*): Set tmake_file.
9079
52617116 90802007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9081
9082 * Makefile.in (install): Handle multilibs.
9083
c0e5c948 90842007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9085
9086 * Makefile.in: Added .PHONY entry for documentation targets.
9087
d62e2f2f 90882007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9089
9090 * Makefile.in: Add empty info, html, dvi, pdf targets.
9091
68cf2994 90922007-01-04 Mike Stump <mrs@apple.com>
9093
9094 * Makefile.in (MAKEINFO): Remove.
9095 (PERL): Likewise.
9096
f534b3b3 90972007-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.
1d7e299f 9102 (gcc_objdir): Use it.
f534b3b3 9103
c11c6ae3 91042007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9105
9106 * config.host (ia64*-*-linux*): Set tmake_file.
9107
d272bed8 91082007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9109
9110 * Makefile.in (version): Define.
9111
894a47b4 91122007-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.
f1717362 9122\f
8e8f6434 9123Copyright (C) 2007-2018 Free Software Foundation, Inc.
f1717362 9124
9125Copying and distribution of this file, with or without modification,
9126are permitted in any medium without royalty provided the copyright
9127notice and this notice are preserved.