]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
i386.md (*movti_internal): Substitute Ye constraint with Yd constraint.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
ba169b74
CJW
12018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2
3 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
5
ffc2fc06
L
62018-04-24 H.J. Lu <hongjiu.lu@intel.com>
7
8 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
9 when including "config/i386/shadow-stack-unwind.h".
10
7b47ecf2
L
112018-04-24 H.J. Lu <hongjiu.lu@intel.com>
12
13 * configure: Regenerated.
14
661eb8f9
MM
152018-04-20 Michael Meissner <meissner@linux.ibm.com>
16
17 PR target/85456
18 * config/rs6000/_powikf2.c: New file. Add support for the
19 __builtin_powil function when long double is IEEE 128-bit floating
20 point.
21 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
22 __powikf2 support.
23 (__powikf2): Likewise.
24 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
25 (__powikf2_hw): Likewise.
26 (__powikf2): Likewise.
27 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
28 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
29 (_powikf2-hw.c): Likewise.
30
5707be3c
L
312018-04-19 H.J. Lu <hongjiu.lu@intel.com>
32
33 PR libgcc/85334
34 * unwind-generic.h (_Unwind_Frames_Increment): New.
35 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
36 Likewise.
37 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
38 count with _Unwind_Frames_Increment.
39 (_Unwind_ForcedUnwind_Phase2): Likewise.
40
5f9ca0b8
L
412018-04-19 H.J. Lu <hongjiu.lu@intel.com>
42
43 PR libgcc/85379
44 * config/i386/morestack.S (__stack_split_initialize): Add
45 _CET_ENDBR.
46
a0e1df88
JJ
472018-04-19 Jakub Jelinek <jakub@redhat.com>
48
49 * configure: Regenerated.
50
001ddaa8
DM
512018-04-18 David Malcolm <dmalcolm@redhat.com>
52
53 PR jit/85384
54 * configure: Regenerate.
55
a57f99ba
JJ
562018-04-16 Jakub Jelinek <jakub@redhat.com>
57
58 PR target/84945
59 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
60 -Wdangling-else warnings. Mask shift counts to avoid
61 -Wshift-count-negative and -Wshift-count-overflow false positives.
62
4d47fe5a
RB
632018-04-06 Ruslan Bukin <br@bsdpad.com>
64
65 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
66
059cc8ac
L
672018-03-29 H.J. Lu <hongjiu.lu@intel.com>
68
69 PR target/85100
70 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
71 (XSTATE_FP): Likewise.
72 (XSTATE_SSE): Likewise.
73 (XSTATE_YMM): Likewise.
74 (XSTATE_OPMASK): Likewise.
75 (XSTATE_ZMM): Likewise.
76 (XSTATE_HI_ZMM): Likewise.
77 (XCR_AVX_ENABLED_MASK): Likewise.
78 (XCR_AVX512F_ENABLED_MASK): Likewise.
79 (get_available_features): Enable AVX and AVX512 features only
80 if their states are supported by OSXSAVE.
81
f2620385
IT
822018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
83
84 PR target/85025
85 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
86 Fix a typo, tmp => 255.
87
ae6dca8c
JJ
882018-03-20 Jakub Jelinek <jakub@redhat.com>
89
90 PR target/84945
91 * config/i386/cpuinfo.h (__cpu_features2): Declare.
92 * config/i386/cpuinfo.c (__cpu_features2): New variable for
93 ifndef SHARED only.
94 (set_feature): Define.
95 (get_available_features): Use set_feature macro. Set __cpu_features2
96 to the second word of features ifndef SHARED.
97
c36b04c1
JK
982018-03-15 Julia Koval <julia.koval@intel.com>
99
100 * config/i386/cpuinfo.c (get_available_features): Add
101 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
102 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
103 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
104 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
105 FEATURE_AVX512BITALG.
106
79ab5364
JK
1072018-03-14 Julia Koval <julia.koval@intel.com>
108
109 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
110 icelake client and icelake server.
111
66a00b11
JDA
1122018-03-06 John David Anglin <danglin@gcc.gnu.org>
113
114 * config/pa/fptr.c (_dl_read_access_allowed): New.
115 (__canonicalize_funcptr_for_compare): Use it.
116
ce579a4f
JJ
1172018-02-28 Jakub Jelinek <jakub@redhat.com>
118
119 PR debug/83917
120 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
121 $asm_hidden_op if visibility ("hidden") attribute works.
122 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
123 * config/i386/i386-asm.h: Don't include auto-host.h.
124 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
125 PACKAGE_URL): Don't undefine.
126 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
127 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
128 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
129 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
130 definition instead of hardcoded .hidden.
131 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
132 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
133 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
134 (USE_GAS_CFI_DIRECTIVES): Don't define.
135 * configure: Regenerated.
136 * config.in: Likewise.
137
e5868319
JJ
1382018-02-26 Jakub Jelinek <jakub@redhat.com>
139
140 PR debug/83917
141 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
142 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
143 inclusion of auto-target.h and auto-host.h.
144 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
145 __GCC_HAVE_DWARF2_CFI_ASM.
146 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
147 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
148 cfi_pop): Define.
149 * config/i386/cygwin.S: Don't include auto-host.h here, just
150 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
151 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
152 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
153 * config/i386/resms64fx.h: Add cfi_* directives.
154 * config/i386/resms64x.h: Likewise.
155
faef260e
MF
1562018-02-20 Max Filippov <jcmvbkbc@gmail.com>
157
158 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
159 .literal_position directive.
160 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
161
14e335ed
IT
1622018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
163
164 PR target/84148
165 * configure: Regenerate.
166
95df0433
IT
1672018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
168
169 PR target/84239
170 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
171 Include cetintrin.h not x86intrin.h.
172
f8de876d
IT
1732018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
174
175 PR target/84239
95df0433 176 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
177 Use new _get_ssp and _inc_ssp intrinsics.
178
02da1e9c
JK
1792018-02-02 Julia Koval <julia.koval@intel.com>
180
181 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
182
048c6a9a
CZ
1832018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
184
185 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
186 option.
187 (__divsi3): Use RF16 safe registers.
188 (__modsi3): Likewise.
189
0889f168
MF
1902018-01-23 Max Filippov <jcmvbkbc@gmail.com>
191
192 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
193 (__divsf3): Make NaN return value quiet.
194 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
195 (__divdf3): Make NaN return value quiet.
196
bc8b0d04
SP
1972018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
198
199 * config/rl78/anddi3.S: New assembly file.
200 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
201
99cc06ea
SP
2022018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
203
204 * config/rl78/umindi3.S: New assembly file.
205 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
206
6e9007a0
SP
2072018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
208
209 * config/rl78/smindi3.S: New assembly file.
210 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
211
d975e494
SP
2122018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
213
214 * config/rl78/smaxdi3.S: New assembly file.
215 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
216
6a18c146 2172018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
5dd16013
SP
218
219 * config/rl78/umaxdi3.S: New assembly file.
220 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
221
07baf4a5
JDA
2222018-01-21 John David Anglin <danglin@gcc.gnu.org>
223
224 PR lto/83452
225 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
226 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
227
dbc3af4f
RS
2282018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
229
230 * config/aarch64/value-unwind.h (aarch64_vg): New function.
231 (DWARF_LAZY_REGISTER_VALUE): Define.
232 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
233 to provide a fallback register value.
234
68df9882
MM
2352018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
236
237 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
238 __ibm128, instead of trying to use long double.
239 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
240 accomidate -mabi=ieeelongdouble multilibs.
241 (CVT_IBM128_TO_FLOAT128): Likewise.
242 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
243 the appropriate IBM extended double type.
244 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
245 (__gcc_qsub): Likewise.
246 (__gcc_qmul): Likewise.
247 (__gcc_qdiv): Likewise.
248 (pack_ldouble): Likewise.
249 (__gcc_qneg): Likewise.
250 (__gcc_qeq): Likewise.
251 (__gcc_qne): Likewise.
252 (__gcc_qge): Likewise.
253 (__gcc_qle): Likewise.
254 (__gcc_stoq): Likewise.
255 (__gcc_dtoq): Likewise.
256 (__gcc_itoq): Likewise.
257 (__gcc_utoq): Likewise.
258 (__gcc_qunord): Likewise.
259 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
260 quad-float128.h for the definitions.
261 (COPYSIGN): Use the f128 version instead of the q version.
262 (INFINITY): Likewise.
263 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
264 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
265 quad-float128.h for the definitions.
266 (COPYSIGN): Use the f128 version instead of the q version.
267 (INFINITY): Likewise.
268 (FABS): Likewise.
269 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
270 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
271 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
272
64b371b1
SH
2732018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
274
275 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
276 configuration.
277
85ec4feb
JJ
2782018-01-03 Jakub Jelinek <jakub@redhat.com>
279
280 Update copyright years.
281
2822017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
283
284 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
285 * config/riscv/multi3.c: New file.
286 * config/riscv/multi3.S: Remove.
287
3a4c600f
JW
2882017-12-08 Jim Wilson <jimw@sifive.com>
289
290 * config/riscv/div.S: Use FUNC_* macros.
291 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
292 * config/riscv/save-restore.S: Likewise.
293 * config/riscv/riscv-asm.h: New.
294
75ad35b5
MM
2952017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
296
6ae3512c
MM
297 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
298 * config/rs6000/_divkc3.c (__divkc3): Likewise.
299
75ad35b5
MM
300 PR libgcc/83112
301 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
302 correct type for all ifunc resolvers to silence -Wattribute-alias
303 warnings. Eliminate the forward declaration of the resolver
304 functions which is no longer needed.
305 (__subkf3_resolve): Likewise.
306 (__mulkf3_resolve): Likewise.
307 (__divkf3_resolve): Likewise.
308 (__negkf2_resolve): Likewise.
309 (__eqkf2_resolve): Likewise.
310 (__nekf2_resolve): Likewise.
311 (__gekf2_resolve): Likewise.
312 (__gtkf2_resolve): Likewise.
313 (__lekf2_resolve): Likewise.
314 (__ltkf2_resolve): Likewise.
315 (__unordkf2_resolve): Likewise.
316 (__extendsfkf2_resolve): Likewise.
317 (__extenddfkf2_resolve): Likewise.
318 (__trunckfsf2_resolve): Likewise.
319 (__trunckfdf2_resolve): Likewise.
320 (__fixkfsi_resolve): Likewise.
321 (__fixkfdi_resolve): Likewise.
322 (__fixunskfsi_resolve): Likewise.
323 (__fixunskfdi_resolve): Likewise.
324 (__floatsikf_resolve): Likewise.
325 (__floatdikf_resolve): Likewise.
326 (__floatunsikf_resolve): Likewise.
327 (__floatundikf_resolve): Likewise.
328 (__extendkftf2_resolve): Likewise.
329 (__trunctfkf2_resolve): Likewise.
330
331 PR libgcc/83103
332 * config/rs6000/quad-float128.h (TF): Don't define if long double
333 is IEEE 128-bit floating point.
334 (TCtype): Define as either TCmode or KCmode, depending on whether
335 long double is IEEE 128-bit floating point.
336 (__mulkc3_sw): Add declarations for software/hardware versions of
337 complex multiply/divide.
338 (__divkc3_sw): Likewise.
339 (__mulkc3_hw): Likewise.
340 (__divkc3_hw): Likewise.
341 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
342 handlers to switch between using software emulation and hardware
343 float128 instructions, build the complex multiply/divide functions
344 for both software and hardware support.
345 * config/rs6000/_divkc3.c (_divkc3): Likewise.
346 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
347 (__divkc3_resolve): Likewise.
348 (__mulkc3): Likewise.
349 (__divkc3): Likewise.
350 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
351 (fp128_hw_src): Likewise.
352 (fp128_hw_static_obj): Likewise.
353 (fp128_hw_shared_obj): Likewise.
354 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
355 _mulkc3.c and _divkc3.c, changing the function name.
356 (_divkc3-hw.c): Likewise.
357 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
358 and _divkc3-hw.c.
359
c234d831
UB
3602017-11-26 Julia Koval <julia.koval@intel.com>
361
362 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
363 * config/i386/cpuinfo.h (processor_subtypes): Add
364 INTEL_COREI7_CANNONLAKE.
365
1ebafce0
IT
3662017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
367
368 PR bootstrap/83015
369 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
370 parameter.
371 * config/xtensa/unwind-dw2-xtensa.c: Likewise
372 * config/ia64/unwind-ia64.c: Add frames parameter.
373 * unwind-sjlj.c: Likewise.
374
6a10fff4
IT
3752017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
376
377 * config/i386/linux-unwind.h: Include
378 config/i386/shadow-stack-unwind.h.
379 * config/i386/shadow-stack-unwind.h: New file.
380 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
381 pass it to _Unwind_Frames_Extra.
382 * unwind-generic.h (_Unwind_Frames_Extra): New.
383 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
384 parameter. Add local variable frames to count number of frames.
385 (_Unwind_ForcedUnwind_Phase2): Likewise.
386 (_Unwind_RaiseException): Add local variable frames to count
387 number of frames, pass it to _Unwind_RaiseException_Phase2 and
388 uw_install_context.
389 (_Unwind_ForcedUnwind): Likewise.
390 (_Unwind_Resume): Likewise.
391 (_Unwind_Resume_or_Rethrow): Likewise.
392
1ecae1fc
IT
3932017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
394
395 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
396 (CET_FLAGS): New.
397 * config/i386/morestack.S: Include <cet.h>.
398 (__morestack_large_model): Add _CET_ENDBR at function entrance.
399 * config/i386/resms64.h: Include <cet.h>.
400 * config/i386/resms64f.h: Likewise.
401 * config/i386/resms64fx.h: Likewise.
402 * config/i386/resms64x.h: Likewise.
403 * config/i386/savms64.h: Likewise.
404 * config/i386/savms64f.h: Likewise.
405 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
406 (CRTSTUFF_T_CFLAGS): Likewise.
407 * configure.ac: Include ../config/cet.m4.
408 Set and substitute CET_FLAGS.
409 * configure: Regenerated.
410
f021f1d3
RO
4112017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
412
413 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
414 renaming.
415 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
416 * configure.ac (libgcc_cv_solaris_crts): Likewise.
417 * configure: Regenerate.
418
65f480c7
TV
4192017-11-07 Tom de Vries <tom@codesourcery.com>
420
421 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
422 after "do {} while (0)".
423
2a321acb
TV
4242017-11-07 Tom de Vries <tom@codesourcery.com>
425
426 PR other/82784
427 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
428 semicolon after "do {} while (0)".
429 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
430 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
431 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
432 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
433
59fcf6c3
AT
4342017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
435
436 PR libgcc/82635
437 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
438 sysctl to determine whether we're in a trampoline.
439 Keep the pattern matching method for systems without
440 KERN_PROC_SIGTRAMP sysctl.
441
b0c7ddf8
CM
4422017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
443 Vineet Gupta <vgupta@synopsys.com>
444
445 * config.host (arc*-*-linux*): Set md_unwind_header variable.
446 * config/arc/linux-unwind-reg.def: New file.
447 * config/arc/linux-unwind-reg.h: Likewise.
448
5feee954
SP
4492017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
450
451 * config/rl78/subdi3.S: New assembly file.
452 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
453
a0bf6cf7
SP
4542017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
455
456 * config/rl78/adddi3.S: New assembly file.
457 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
458
e7176f75
JJ
4592017-10-13 Jakub Jelinek <jakub@redhat.com>
460
461 PR target/82274
462 * libgcc2.c (__mulvDI3): If both operands have
463 the same highpart of -1 and the topmost bit of lowpart is 0,
464 multiplication overflows even if both lowparts are 0.
465
db6601d2
JB
4662017-09-28 James Bowman <james.bowman@ftdichip.com>
467
468 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
469
938b6f1e
JM
4702017-09-26 Joseph Myers <joseph@codesourcery.com>
471
472 * config/microblaze/crti.S, config/microblaze/crtn.S,
473 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
474 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
475 config/microblaze/mulsi3.S,
476 config/microblaze/stack_overflow_exit.S,
477 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
478 config/pa/milli64.S: Add .note.GNU-stack section.
479
89762a83
DS
4802017-09-23 Daniel Santos <daniel.santos@pobox.com>
481
482 * configure.ac: Add Check for HAVE_AS_AVX.
483 * config.in: Regenerate.
484 * configure: Likewise.
485 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
486 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
487 Correct out-of-date comments.
488
cace2309
SP
4892017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
490
491 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
492 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
493
3cb626e4
DS
4942017-09-17 Daniel Santos <daniel.santos@pobox.com>
495
cace2309 496 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
497 (ASMNAME): Modify to use PASTE2.
498 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
499 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 500 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 501 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
502 * config/i386/resms64f.S: Likewise.
503 * config/i386/resms64fx.S: Likewise.
504 * config/i386/resms64x.S: Likewise.
505 * config/i386/savms64.S: Likewise.
506 * config/i386/savms64f.S: Likewise.
507 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 508 includes it's corresponding header file.
cace2309
SP
509 * config/i386/avx_resms64f.S: Likewise.
510 * config/i386/avx_resms64fx.S: Likewise.
511 * config/i386/avx_resms64x.S: Likewise.
512 * config/i386/avx_savms64.S: Likewise.
513 * config/i386/avx_savms64f.S: Likewise.
514 * config/i386/sse_resms64.S: Likewise.
515 * config/i386/sse_resms64f.S: Likewise.
516 * config/i386/sse_resms64fx.S: Likewise.
517 * config/i386/sse_resms64x.S: Likewise.
518 * config/i386/sse_savms64.S: Likewise.
519 * config/i386/sse_savms64f.S: Likewise.
520 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 521
2f19c491
OH
5222017-09-01 Olivier Hainque <hainque@adacore.com>
523
524 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
525
611e7036
OH
5262017-08-31 Olivier Hainque <hainque@adacore.com>
527
528 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
529 match as powerpc-wrs-vxworks*.
530
c8f34527
JY
5312017-08-07 Jonathan Yong <10walls@gmail.com>
532
533 * config.host (*-cygwin): Include file from mingw
534 config/i386/enable-execute-stack-mingw32.c
535
0b458d2b
JL
5362017-08-01 Jerome Lambourg <lambourg@adacore.com>
537 Doug Rupp <rupp@adacore.com>
538 Olivier Hainque <hainque@adacore.com>
539
540 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
541 as well as arm-wrs-vxworks.
542 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
543 LIB2ADDEH.
544 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
545 __exidx_start and __exidx_end for downloadable modules.
546
4df612fa
OH
5472017-08-01 Olivier Hainque <hainque@adacore.com>
548
549 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
550 * config/t-vxworks7: Likewise.
551
5560e8c0
OH
5522017-08-01 Olivier Hainque <hainque@adacore.com>
553
554 * config/t-vxworks: Instead of redefining LIB2ADD,
555 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
556
16bab95a
SH
5572017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
558
559 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
560
9cbc07cc
DS
5612017-07-24 Daniel Santos <daniel.santos@pobox.com>
562
563 PR testsuite/80759
564 * config.host: include i386/t-msabi for darwin and solaris.
565 * config/i386/i386-asm.h
566 (ELFFN): Rename to FN_TYPE.
567 (FN_SIZE): New macro.
568 (FN_HIDDEN): Likewise.
569 (ASMNAME): Likewise.
570 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
571 .globl.
572 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
573 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
574 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
575 .macro.
576 * config/i386/resms64f.S: Likewise.
577 * config/i386/resms64fx.S: Likewise.
578 * config/i386/resms64x.S: Likewise.
579 * config/i386/savms64.S: Likewise.
580 * config/i386/savms64f.S: Likewise.
581
de742204
JM
5822017-07-19 John Marino <gnugcc@marino.st>
583
584 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
585
3787ee47
MM
5862017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
587
588 PR target/81193
589 * configure.ac (PowerPC float128 hardware support): Test whether
590 we can use __builtin_cpu_supports before enabling the ifunc
591 handler.
592 * configure: Regenerate.
593
b1938888
VG
5942017-07-10 Vineet Gupta <vgupta@synopsys.com>
595
596 * config.host: Remove uclibc from arc target spec.
597
bec75e53
KW
5982017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
599
600 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
601
d4391a62
PB
6022017-07-07 Peter Bergner <bergner@vnet.ibm.com>
603
604 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
605 (have_ieee_hw_p): Delete function.
606 (SW_OR_HW) Use __builtin_cpu_supports().
607
9296dd9b
TP
6082017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
609
610 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
611
b85a969e
OH
6122017-07-03 Olivier Hainque <hainque@adacore.com>
613
d4391a62 614 * config/t-vxworks7: New file, really.
b85a969e 615
883312dc
JM
6162017-06-28 Joseph Myers <joseph@codesourcery.com>
617
618 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
619 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
620 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
621 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
622 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
623 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
624 config/pa/linux-unwind.h (pa32_fallback_frame_state),
625 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
626 config/sh/linux-unwind.h (sh_fallback_frame_state),
627 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
628 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
629 ucontext_t instead of struct ucontext.
630
50567938
JL
6312017-06-27 Jerome Lambourg <lambourg@adacore.com>
632
633 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
634 (x86_64-wrs-vxworks7): Likewise.
635
e4b0df93
OH
6362017-06-27 Olivier Hainque <hainque@adacore.com>
637
638 * config/t-vxworks7: New file.
639 * config.host (*-*-vxworks7): Use it.
640
60edf8bb
MT
6412017-06-22 Matt Turner <mattst88@gmail.com>
642
643 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
644 skylake case.
645
a51a76e5
RB
6462017-06-21 Richard Biener <rguenther@suse.de>
647
648 PR gcov-profile/81080
649 * configure.ac: Add AC_SYS_LARGEFILE.
650 * libgcov.h: Include auto-target.h before tsystem.h to pick
651 up _FILE_OFFSET_BITS which might differ for multilibs.
652 * config.in: Regenerate.
653 * configure: Likewise.
654
f0cd49c5
RE
6552017-06-16 Richard Earnshaw <rearnsha@arm.com>
656
657 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
658
4f751c54
ML
6592017-06-09 Martin Liska <mliska@suse.cz>
660
661 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
662 Reset __gcov_indirect_call_callee to NULL.
663
1ac644c8
OH
6642017-06-08 Olivier Hainque <hainque@adacore.com>
665
666 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
667 the set of -I options, support for direct inclusions of net/uio.h
668 by VxWorks header files via ioLib.h.
669
d8b9cd27
TR
6702017-06-07 Tony Reix <tony.reix@atos.net>
671 Matthieu Sarter <matthieu.sarter.external@atos.net>
672 David Edelsohn <dje.gcc@gmail.com>
673
674 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
675 unconditionally.
676 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
677 AIX 7.2 support.
678
38a75ccc
OH
6792017-06-02 Olivier Hainque <hainque@adacore.com>
680
681 * config/vxlib.c (__gthread_once): Add missing value to
682 return statement.
683
5b2edf53
OH
6842017-05-30 Olivier Hainque <hainque@adacore.com>
685
686 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
687 dollar sign before $(MULTIDIR).
688
7d66e265
RH
6892017-05-26 Richard Henderson <rth@redhat.com>
690
691 PR libgcc/80037
692 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
693
78eca309
AT
6942017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
695
696 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
697 _Unwind_SetIP available as functions for arm*-*-freebsd*.
698 * config/arm/unwind-arm.c: Implement the above.
699
c39d309a
AZ
7002017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
701
702 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
703 section for a non-executable stack.
704
eac8c9f2
KW
7052017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
706
707 PR target/80600
708 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
709
d6d4d770
DS
7102017-05-14 Daniel Santos <daniel.santos@pobox.com>
711
712 * config.host: Add i386/t-msabi to i386/t-linux file list.
713 * config/i386/i386-asm.h: New file.
714 * config/i386/resms64.S: New file.
715 * config/i386/resms64f.S: New file.
716 * config/i386/resms64fx.S: New file.
717 * config/i386/resms64x.S: New file.
718 * config/i386/savms64.S: New file.
719 * config/i386/savms64f.S: New file.
720 * config/i386/t-msabi: New file.
721
8ef2b9a7
AT
7222017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
723
724 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
725 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
726
7ab8766a
JC
7272017-05-05 Joshua Conner <joshconner@google.com>
728
729 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
730 pc-relative indirect handling for fuchsia.
731 * config/t-slibgcc-fuchsia: New file.
732 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 733 x86_64-*-fuchsia*): Add definitions.
7ab8766a 734
46928a8f
ML
7352017-04-19 Martin Liska <mliska@suse.cz>
736
737 PR gcov-profile/80435
738 * Makefile.in: Install gcov.h.
739 * gcov.h: New file.
740 * libgcov.h: Use the header and make __gcov_flush publicly
741 visible.
742
63971184
ML
7432017-04-18 Martin Liska <mliska@suse.cz>
744
745 PR gcov-profile/78783
746 * libgcov-driver.c (gcov_get_filename): New function.
747
29d8aae6
JL
7482017-04-07 Jeff Law <law@redhat.com>
749
750 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
751 target makefile fragment.
752 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
753
2bdf7fc6
AM
7542017-04-07 Alan Modra <amodra@gmail.com>
755
756 PR target/45053
757 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
758
5764ee3c
JW
7592017-04-03 Jonathan Wakely <jwakely@redhat.com>
760
761 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
762
c4192ad7
CZ
7632017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
764
765 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
766
4ccfdb28
JM
7672017-03-10 John Marino <gnugcc@marino.st>
768
769 * config/aarch64/freebsd-unwind.h: New file.
770 * config.host: Add aarch64-*-freebsd unwinder.
771
4144e4e3
SB
7722017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
773
774 * config/rs6000/crtrestvr.s: Use .machine altivec.
775 * config/rs6000/crtsavevr.s: Ditto.
776
7502c597
SB
7772017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
778
779 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
780 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
781 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
782 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
783 * configure: Regenerate.
784 * config.in: Regenerate.
785
db9f7f65
JY
7862017-03-02 Jonathan Yong <10walls@gmail.com>
787
788 * config/i386/gthr-win32.h: Define NOGDI before
789 windows.h include to prevent w32api CC_NONE macro
790 clash with libgfortran.
791
126437c5
JY
7922017-03-02 Jonathan Yong <10walls@gmail.com>
793
794 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
795
31927af6
AP
7962017-02-16 Andrew Pinski <apinski@cavium.com>
797
798 * config/aarch64/value-unwind.h: New file.
799 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
800 to tm_file.
801
0bd99911
PD
8022017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
803
804 * config.host: Add RISC-V tuples.
805 * config/riscv/atomic.c: New file.
806 * config/riscv/crti.S: Likewise.
807 * config/riscv/crtn.S: Likewise.
808 * config/riscv/div.S: Likewise.
809 * config/riscv/linux-unwind.h: Likewise.
810 * config/riscv/muldi3.S: Likewise.
811 * config/riscv/multi3.S: Likewise.
812 * config/riscv/save-restore.S: Likewise.
813 * config/riscv/sfp-machine.h: Likewise.
814 * config/riscv/t-elf: Likewise.
815 * config/riscv/t-elf32: Likewise.
816 * config/riscv/t-elf64: Likewise.
817 * config/riscv/t-softfp32: Likewise.
818 * config/riscv/t-softfp64: Likewise.
819
a8c9ef2a
JJ
8202017-01-24 Jakub Jelinek <jakub@redhat.com>
821
822 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
823 /* FALLTHRU */ comments.
824
c6c82710
GP
8252017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
826
827 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
828
a876231c
JW
8292017-01-20 Jiong Wang <jiong.wang@arm.com>
830
831 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
832 * unwind-dw2.c (execute_cfa_program): Only multiplexing
833 DW_CFA_GNU_window_save for AArch64 and LP64.
834
aa348be2
JW
8352017-01-20 Jiong Wang <jiong.wang@arm.com>
836
837 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
838
5636faf2
JW
8392017-01-19 Jiong Wang <jiong.wang@arm.com>
840
841 * config/aarch64/aarch64-unwind.h: New file.
842 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
843 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
844 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
845 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
846 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
847 (aarch64_post_extract_frame_addr): New function.
848 (aarch64_post_frob_eh_handler_addr): New function.
849 (aarch64_frob_update_context): New function.
850 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
851 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
852 aarch64*-*-freebsd*):
853 Initialize md_unwind_header to include aarch64-unwind.h.
854 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
855 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
856 __aarch64__.
857 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
858 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
859 (uw_frob_return_addr): New function.
860 (uw_install_context): Use uw_frob_return_addr.
861
3c36aa6b
JJ
8622017-01-17 Jakub Jelinek <jakub@redhat.com>
863
864 PR other/79046
865 * configure.ac: Add GCC_BASE_VER.
866 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
867 version from BASE-VER file.
868 * configure: Regenerated.
869
829afb8f
JS
8702017-01-13 Joe Seymour <joe.s@somniumtech.com>
871
872 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
873 libmul_f5.a): Filter archived prerequisites.
874
79fc8ffe
AS
8752017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
876
877 * config/i386/cpuinfo.h (processor_features): Add
878 FEATURE_AVX512VPOPCNTDQ.
879 * config/i386/cpuinfo.c (get_available_features): Habdle new
880 feature.
881
fec5f4e0
JM
8822017-01-04 Joseph Myers <joseph@codesourcery.com>
883
884 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
885 payload if [__mips_nan2008].
886
8f56cb51
AM
8872017-01-04 Alan Modra <amodra@gmail.com>
888
889 * Makefile.in (configure_deps): Update.
890 * configure: Regenerate.
891
cbe34bb5
JJ
8922017-01-01 Jakub Jelinek <jakub@redhat.com>
893
894 Update copyright years.
895
ab955692
KW
8962016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
897
898 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
899 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
900 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
901
de34320f
MK
9022016-12-17 Matthias Klose <doko@ubuntu.com>
903
904 * config/arc/gmon: Remove empty directory.
905
e04ea1da
CZ
9062016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
907
908 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
909 crtgend.
910 (arc*-*-elf*): Likewise.
911 * config/arc/t-arc: Remove old gmon lib targets.
912 * config/arc/crtg.S: Remove.
913 * config/arc/crtgend.S: Likewise.
914 * config/arc/gmon/atomic.h: Likewise.
915 * config/arc/gmon/auxreg.h: Likewise.
916 * config/arc/gmon/dcache_linesz.S: Likewise.
917 * config/arc/gmon/gmon.c: Likewise.
918 * config/arc/gmon/machine-gmon.h: Likewise.
919 * config/arc/gmon/mcount.c: Likewise.
920 * config/arc/gmon/prof-freq-stub.S: Likewise.
921 * config/arc/gmon/prof-freq.c: Likewise.
922 * config/arc/gmon/profil.S: Likewise.
923 * config/arc/gmon/sys/gmon.h: Likewise.
924 * config/arc/gmon/sys/gmon_out.h: Likewise.
925 * config/arc/t-arc-newlib: Likewise.
926 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
927
8ae1c2c1
GS
9282016-12-12 George Spelvin <linux@sciencehorizons.net>
929
930 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
931
a5b947fa
GS
9322016-12-12 George Spelvin <linux@sciencehorizons.net>
933
934 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
935 R16 instead of push + pop.
936 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
937
d6574dd1
KW
9382016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
939
940 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
941 tmake_file.
942
62440b4f
CM
9432016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
944
945 * config.host (arc*-*-linux-uclibc*): Use default extra
946 objects. Include linux-android header.
947 * config/arc/crti.S (_init): Declare symbol as function.
948 (_fini): Likewise.
949
31cfd832
TK
9502016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
951
952 PR fortran/78379
953 * config/i386/cpuinfo.c: Move denums for processor vendors,
954 processor type, processor subtypes and declaration of
955 struct __processor_model into
956 * config/i386/cpuinfo.h: New header file.
957
c92e08e3
AV
9582016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
959 Thomas Preud'homme <thomas.preudhomme@arm.com>
960
961 * config/arm/cmse_nonsecure_call.S: New.
962 * config/arm/t-arm: Compile cmse_nonsecure_call.S
963
de7b5723
AV
9642016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
965 Thomas Preud'homme <thomas.preudhomme@arm.com>
966
967 * config/arm/t-arm (HAVE_CMSE): New.
968 * config/arm/cmse.c: New.
969
7a0d2bce
TP
9702016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
971
b3a5bff4
TP
972 PR gcc/74748
973 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
974 use generic linker version information on Blackfin.
975
7a0d2bce
TP
976 PR gcc/74748
977 * libgcc/mkmap-symver.awk: add support for skip_underscore
978
b410cf1d
IS
9792016-11-27 Iain Sandoe <iain@codesourcery.com>
980 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
981
982 PR target/67710
983 * config/t-darwin: Default builds to 10.5 codegen.
984
2e5f8203
JG
9852016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
986
987 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
988 (_FP_NANSIGN_H): Likewise.
989 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
990 (softfp_truncations): Add tfhf.
991 (softfp_extras): Add required conversion functions.
992
bea64ca3
JG
9932016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
994 Matthew Wahab <matthew.wahab@arm.com>
995
996 * config/arm/fp16.c (binary64): New.
997 (__gnu_d2h_internal): New.
998 (__gnu_d2h_ieee): New.
999 (__gnu_d2h_alternative): New.
1000
8630cadb
JG
10012016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1002 Matthew Wahab <matthew.wahab@arm.com>
1003
1004 * config/arm/fp16.c (struct format): New.
1005 (binary32): New.
1006 (__gnu_float2h_internal): New. Body moved from
1007 __gnu_f2h_internal and generalize.
1008 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1009 Call it with binary32.
1010
5823ef23
JG
10112016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1012
1013 * soft-fp/extendhftf2.c: Update from glibc.
1014 * soft-fp/fixhfti.c: Likewise.
1015 * soft-fp/fixunshfti.c: Likewise.
1016 * soft-fp/floattihf.c: Likewise.
1017 * soft-fp/floatuntihf.c: Likewise.
1018 * soft-fp/half.h: Likewise.
1019 * soft-fp/trunctfhf2.c: Likewise.
1020
62a7df9f
MG
10212016-11-20 Marc Glisse <marc.glisse@inria.fr>
1022
1023 PR libgcc/77813
1024 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1025 __TMC_END__ behind a passthrough asm.
1026
7a384912
WL
10272016-11-18 Walter Lee <walt@tilera.com>
1028
62a7df9f 1029 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1030
9775c1a5
L
10312016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1032
1033 * config/i386/cpuinfo.c (processor_features): Add
1034 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1035
48c842ab
CZ
10362016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1037
1038 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1039 (__ARC_NORM__): Use instead ARC_OPTFPE.
1040 * config/arc/fp-hack.h: Likewise.
1041 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1042 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1043
5012919d
AM
10442016-11-16 Alexander Monakov <amonakov@ispras.ru>
1045
1046 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1047 * config/nvptx/mgomp.c: New file.
1048 * config/nvptx/t-nvptx: Add mgomp.c
1049
00178b98
WB
10502016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1051
1052 PR libgcc/68468
1053 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1054
d64af69f
CZ
10552016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1056
1057 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1058 of checking for cpus.
1059 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1060 (__modsi3, __clzsi2): Likewise.
1061
9d8f95de
SN
10622016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1063
1064 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1065 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1066 * config/i386/t-cpuinfo-static: New.
1067
7d29f8e3
ML
10682016-11-03 Martin Liska <mliska@suse.cz>
1069
1070 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1071 (__gcov_time_profiler_atomic): Likewise.
1072
5de3e2d8
BE
10732016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1074
1075 PR libgcc/78067
1076 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1077 count_leading_zeros.
1078
18362447
UB
10792016-11-02 Uros Bizjak <ubizjak@gmail.com>
1080
1081 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1082 * libgcc2.c (__divmoddi4): New function.
1083 * libgcc2.h (__divmoddi4): Declare.
1084 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1085 and __PFX_divmodti4.
1086
33107571
FW
10872016-10-24 Florian Weimer <fweimer@redhat.com>
1088
1089 PR libgcc/78064
1090 * unwind-c.c: Include auto-target.h.
1091
4c6d7494
JDA
10922016-10-19 John David Anglin <danglin@gcc.gnu.org>
1093
18362447 1094 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1095 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1096 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1097 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1098 hppa*64*-*-hpux11*.
1099
2a26adf1
MF
11002016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1101
1102 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1103 definition.
1104 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1105 definition.
1106 * config/xtensa/t-windowed (LIB2ADDEH): Use
1107 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1108 or xtensa/t-linux.
1109
66192aa1
DKC
11102016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1111
1112 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1113 __ieee754_sqrt): New functions.
1114 (__divdf3): Add implementation with new FPU instructions under
1115 #if XCHAL_HAVE_DFP_DIV.
1116 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1117 __ieee754_sqrtf): New functions.
1118 (__divsf3): Add implementation with new FPU instructions under
1119 #if XCHAL_HAVE_FP_DIV.
1120 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1121 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1122
4d0cdd0c
TP
11232016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1124
1125 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1126 equivalent.
1127 * config/tilepro/atomic.c: Likewise and stop casting model to
1128 enum memmodel.
1129
73f01cca
JM
11302016-10-10 Joseph Myers <joseph@codesourcery.com>
1131
1132 PR target/77586
1133 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1134 soft-fp.
1135
b20e7532
AT
11362016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1137
1138 * config.host: Add support for aarch64-*-freebsd*.
1139
a786cec4
AS
11402016-10-05 Andreas Schwab <schwab@suse.de>
1141
1142 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1143 (.section .init_array): Don't call __do_jv_register_classes.
1144 (.section .init): Likewise.
1145
5a79befb
JJ
11462016-10-04 Jakub Jelinek <jakub@redhat.com>
1147
1148 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1149 (__JCR_LIST__): Remove.
1150 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1151 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1152 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1153 * config/ia64/crtend.S (__JCR_END__): Remove.
1154 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1155 conditionals.
1156 (__JCR_LIST__, __JCR_END__): Remove.
1157 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1158 (__do_global_ctors_1): Likewise.
1159
e0ab3753
UB
11602015-09-28 Uros Bizjak <ubizjak@gmail.com>
1161
1162 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1163 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1164
8c9434c2
ML
11652016-09-27 Martin Liska <mliska@suse.cz>
1166
1167 PR gcov-profile/7970
1168 PR gcov-profile/16855
1169 PR gcov-profile/44779
1170 * libgcov-driver.c (__gcov_init): Do not register a atexit
1171 handler.
1172 (__gcov_exit): Rename from gcov_exit.
1173 * libgcov.h (__gcov_exit): Declare.
1174
56b653f1
ML
11752016-09-27 Martin Liska <mliska@suse.cz>
1176
1177 PR bootstrap/77749
1178 * Makefile.in: Remove _gcov_merge_delta.
1179 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1180 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1181 * libgcov.h: Remove declaration of __gcov_merge_delta.
1182
7e02fd1b
EB
11832016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1184
1185 * configure.ac: Do not create links, only substitute the filenames.
1186 * configure: Regenerate.
1187 * Makefile.in: Assign the substitution results to variables.
1188 (LIBGCC_LINKS): Define.
1189 (enable-execute-stack.c): New rule.
1190 (unwind.h): Likewise.
1191 (md-unwind-support.h): Likewise.
1192 (sfp-machine.h): Likewise.
1193 (gthr-default.h): Likewise.
1194 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1195 unwind.h as prerequisite of install-unwind_h-forbuild.
1196
29991048
JJ
11972016-09-16 Jakub Jelinek <jakub@redhat.com>
1198
1199 PR libgcc/71744
1200 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1201 is not the primary registry and atomics are available.
1202 (any_objects_registered): New variable.
1203 (__register_frame_info_bases, __register_frame_info_table_bases):
1204 Atomically store 1 to any_objects_registered after registering first
1205 unwind info.
1206 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1207
0abcd6cc
JG
12082016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1209
1210 PR target/63250
1211 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1212 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1213 (HFtype): Likewise.
1214 (HCtype): Likewise.
1215 (__divhc3): Likewise.
1216 (__mulhc3): Likewise.
1217 * libgcc2.c: Support _mulhc3 and _divhc3.
1218
d758aeb5
JM
12192016-09-07 Joseph Myers <joseph@codesourcery.com>
1220
1221 PR libgcc/77519
1222 * libgcc2.c (NOTRUNC): Invert settings.
1223
7fe76f6a
ML
12242016-09-06 Martin Liska <mliska@suse.cz>
1225
1226 PR gcov-profile/77378
1227 PR gcov-profile/77466
1228 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1229 conditionaly enable/disable *_atomic functions.
1230
21184026
JM
12312016-08-26 Joseph Myers <joseph@codesourcery.com>
1232
1233 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1234 where not already enabled.
1235
726f49c3
SN
12362016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1237
1238 * config/mips/linux-unwind.h: Use sys/syscall.h.
1239
feeb6268
JM
12402016-08-16 Joseph Myers <joseph@codesourcery.com>
1241
1242 PR libgcc/77265
1243 * soft-fp/adddf3.c: Update from glibc.
1244 * soft-fp/addsf3.c: Likewise.
1245 * soft-fp/addtf3.c: Likewise.
1246 * soft-fp/divdf3.c: Likewise.
1247 * soft-fp/divsf3.c: Likewise.
1248 * soft-fp/divtf3.c: Likewise.
1249 * soft-fp/double.h: Likewise.
1250 * soft-fp/eqdf2.c: Likewise.
1251 * soft-fp/eqsf2.c: Likewise.
1252 * soft-fp/eqtf2.c: Likewise.
1253 * soft-fp/extenddftf2.c: Likewise.
1254 * soft-fp/extended.h: Likewise.
1255 * soft-fp/extendsfdf2.c: Likewise.
1256 * soft-fp/extendsftf2.c: Likewise.
1257 * soft-fp/extendxftf2.c: Likewise.
1258 * soft-fp/fixdfdi.c: Likewise.
1259 * soft-fp/fixdfsi.c: Likewise.
1260 * soft-fp/fixdfti.c: Likewise.
1261 * soft-fp/fixsfdi.c: Likewise.
1262 * soft-fp/fixsfsi.c: Likewise.
1263 * soft-fp/fixsfti.c: Likewise.
1264 * soft-fp/fixtfdi.c: Likewise.
1265 * soft-fp/fixtfsi.c: Likewise.
1266 * soft-fp/fixtfti.c: Likewise.
1267 * soft-fp/fixunsdfdi.c: Likewise.
1268 * soft-fp/fixunsdfsi.c: Likewise.
1269 * soft-fp/fixunsdfti.c: Likewise.
1270 * soft-fp/fixunssfdi.c: Likewise.
1271 * soft-fp/fixunssfsi.c: Likewise.
1272 * soft-fp/fixunssfti.c: Likewise.
1273 * soft-fp/fixunstfdi.c: Likewise.
1274 * soft-fp/fixunstfsi.c: Likewise.
1275 * soft-fp/fixunstfti.c: Likewise.
1276 * soft-fp/floatdidf.c: Likewise.
1277 * soft-fp/floatdisf.c: Likewise.
1278 * soft-fp/floatditf.c: Likewise.
1279 * soft-fp/floatsidf.c: Likewise.
1280 * soft-fp/floatsisf.c: Likewise.
1281 * soft-fp/floatsitf.c: Likewise.
1282 * soft-fp/floattidf.c: Likewise.
1283 * soft-fp/floattisf.c: Likewise.
1284 * soft-fp/floattitf.c: Likewise.
1285 * soft-fp/floatundidf.c: Likewise.
1286 * soft-fp/floatundisf.c: Likewise.
1287 * soft-fp/floatunditf.c: Likewise.
1288 * soft-fp/floatunsidf.c: Likewise.
1289 * soft-fp/floatunsisf.c: Likewise.
1290 * soft-fp/floatunsitf.c: Likewise.
1291 * soft-fp/floatuntidf.c: Likewise.
1292 * soft-fp/floatuntisf.c: Likewise.
1293 * soft-fp/floatuntitf.c: Likewise.
1294 * soft-fp/gedf2.c: Likewise.
1295 * soft-fp/gesf2.c: Likewise.
1296 * soft-fp/getf2.c: Likewise.
1297 * soft-fp/ledf2.c: Likewise.
1298 * soft-fp/lesf2.c: Likewise.
1299 * soft-fp/letf2.c: Likewise.
1300 * soft-fp/muldf3.c: Likewise.
1301 * soft-fp/mulsf3.c: Likewise.
1302 * soft-fp/multf3.c: Likewise.
1303 * soft-fp/negdf2.c: Likewise.
1304 * soft-fp/negsf2.c: Likewise.
1305 * soft-fp/negtf2.c: Likewise.
1306 * soft-fp/op-1.h: Likewise.
1307 * soft-fp/op-2.h: Likewise.
1308 * soft-fp/op-4.h: Likewise.
1309 * soft-fp/op-8.h: Likewise.
1310 * soft-fp/op-common.h: Likewise.
1311 * soft-fp/quad.h: Likewise.
1312 * soft-fp/single.h: Likewise.
1313 * soft-fp/soft-fp.h: Likewise.
1314 * soft-fp/subdf3.c: Likewise.
1315 * soft-fp/subsf3.c: Likewise.
1316 * soft-fp/subtf3.c: Likewise.
1317 * soft-fp/truncdfsf2.c: Likewise.
1318 * soft-fp/trunctfdf2.c: Likewise.
1319 * soft-fp/trunctfsf2.c: Likewise.
1320 * soft-fp/trunctfxf2.c: Likewise.
1321 * soft-fp/unorddf2.c: Likewise.
1322 * soft-fp/unordsf2.c: Likewise.
1323 * soft-fp/unordtf2.c: Likewise.
1324
2e6fc1ac
GG
13252016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1326
1327 PR gcov-profile/67097
1328 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1329
a266236e
ML
13302016-08-10 Martin Liska <mliska@suse.cz>
1331
1332 PR gcov-profile/58306
1333 * Makefile.in: New functions (modules) are added.
1334 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1335 function.
1336 (__gcov_pow2_profiler_atomic): New function.
1337 (__gcov_one_value_profiler_body): New argument is instroduced.
1338 (__gcov_one_value_profiler): Call with the new argument.
1339 (__gcov_one_value_profiler_atomic): Likewise.
1340 (__gcov_indirect_call_profiler_v2): Likewise.
1341 (__gcov_time_profiler_atomic): New function.
1342 (__gcov_average_profiler_atomic): Likewise.
1343 (__gcov_ior_profiler_atomic): Likewise.
1344 * libgcov.h: Declare the aforementioned functions.
1345
e0c8eebf
ML
13462016-08-09 Martin Liska <mliska@suse.cz>
1347
1348 * libgcov-util.c: Fix typo and GNU coding style.
1349
6dce6418
ML
13502016-08-09 Martin Liska <mliska@suse.cz>
1351
1352 * Makefile.in: Remove __gcov_indirect_call_profiler.
1353 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1354 function.
1355 * libgcov.h: And the declaration of the function.
1356
dcb1e137
ML
13572016-08-09 Martin Liska <mliska@suse.cz>
1358
1359 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1360 power of two.
1361
d6e69705
BS
13622016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1363
1364 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1365 * config/rs6000/_mulkc3.c: Likewise.
1366
96aa1f95
GJL
13672016-07-29 Georg-Johann Lay <avr@gjlay.de>
1368
1369 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1370 zero_reg as previous call to __umulhisi3 already cleared it.
1371
a1b01d34
AJ
13722016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1373
1374 PR target/59833
1375 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1376
985a47b2
NC
13772016-07-19 Nick Clifton <nickc@redhat.com>
1378
1379 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1380 Add crtinit.o and crtfini.o to extra_parts.
1381
f906f5ed
BS
13822016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1383
1384 * config/rs6000/_divkc3.c: New.
1385 * config/rs6000/_mulkc3.c: New.
1386 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1387 and _divkc3.
1388 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1389 fp128_ppc_funcs.
1390
82742404
HW
13912016-07-11 Hale Wang <hale.wang@arm.com>
1392 Andre Vieira <andre.simoesdiasvieira@arm.com>
1393
1394 * config/arm/lib1funcs.S: Add new wrapper.
1395
05a437c1
TP
13962016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1397
1398 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1399
3d16d9ec
TP
14002016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1401
1402 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1403 and ARMv5t* rather than for a fixed list of architectures.
1404
6f493951
TP
14052016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1406
1407 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1408 implementation suitable for.
1409 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1410 for all Thumb-1 only targets.
1411 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1412 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1413 __ARM_ARCH_6M__.
1414 (EQUIV): Likewise.
1415 (ARM_FUNC_ALIAS): Likewise.
1416 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1417 version.
1418 (modsi3): Likewise.
1419 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1420 (clzdi2): Likewise.
1421 (ctzsi2): Likewise.
1422 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1423 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1424 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1425 __ARM_ARCH_6M__ and add comment to indicate the connection between
1426 this condition and the one in gcc/config/arm/elf.h.
1427 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1428 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1429 * config/arm/t-softfp: Likewise.
1430
1770511a
TS
14312016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1432
1433 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1434 CTOR_LISTS_DEFINED_EXTERNALLY.
1435
ba6be749
WL
14362016-06-28 Walter Lee <walt@tilera.com>
1437
1438 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1439 asm/unistd.h.
1440 (SPR_CMPEXCH_VALUE): Define for tilegx.
1441 (__NR_FAST_cmpxchg): Define for tilepro.
1442 (__NR_FAST_atomic_update): Define for tilepro.
1443 (__NR_FAST_cmpxchg64): Define for tilepro.
1444
a34c0db5
JS
14452016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1446
18362447 1447 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 1448
0609abda
TS
14492016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1450
1451 * config.host: Remove support for mep-*.
1452 * config/mep/lib1funcs.S: Remove.
1453 * config/mep/lib2funcs.c: Remove.
1454 * config/mep/t-mep: Remove.
1455 * config/mep/tramp.c: Remove.
1456
3e326935
TS
14572016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1458
1459 * config.host: Remove support for avr-rtems.
1460 * config/avr/t-rtems: Remove.
1461
914b155c
TS
14622016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1463
1464 * config.host: Remove m32r-rtems support.
1465
5ebf89bd
TS
14662016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1467
1468 * config.host: Remove h8300-rtems support.
1469
8466af06
TS
14702016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1471
1472 * config.host: Remove support for knetbsd.
1473
d980e738
TS
14742016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1475
1476 * config.host: Remove support for openbsd 2 and 3.
1477
ee2499b4
TS
14782016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1479
1480 * config.host: Remove interix support.
1481 * config/i386/t-interix: Remove.
1482
9f92937b
JDA
14832016-06-18 John David Anglin <danglin@gcc.gnu.org>
1484
1485 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1486 least-significant bit in function pointer for fixup.
1487
0a0ec53d
AC
14882016-06-05 Aaron Conole <aconole@redhat.com>
1489 Nathan Sidwell <nathan@acm.org>
1490
1491 PR libgcc/71400
1492 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1493 (get_gcov_error_file): Check __gcov_error_file before trying to
1494 initialize it.
1495 (gcov_error): Always use get_gcov_error_file.
1496
8aa5bdd6
AC
14972016-06-02 Aaron Conole <aconole@redhat.com>
1498
1499 * libgcov-driver-system.c (__gcov_error_file): New.
1500 (get_gcov_error_file): New.
1501 (gcov_error): Use and set __gcov_error_file.
1502 (gcov_error_exit): New.
1503 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1504
40774faf
NS
15052016-05-26 Nathan Sidwell <nathan@acm.org>
1506
1507 * config/nvptx/free.asm: Delete.
1508 * config/nvptx/malloc.asm: Delete.
1509 * config/nvptx/realloc.c: Delete.
1510 * t-nvptx: Update.
1511
69a6d5ad
NS
15122016-05-25 Nathan Sidwell <nathan@acm.org>
1513
1514 * config/nvptx/crt0.s: Delete.
1515 * config/nvptx/crt0.c: New.
1516 * t-nvptx: Update.
1517
6befaff6
SL
15182016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1519
385c7747 1520 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
1521 dw2/seh configuration.
1522 [x86_64-*-mingw*]: Likewise.
1523
ad251dfd
JS
15242016-05-10 Joel Sherrill <joel@rtems.org>
1525
1526 PR libgcc/70720
1527 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1528 targets so the same extra_parts are built. Also have tmake_file add
1529 on to its value rather than override.
1530
bc6d9014
OE
15312016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1532
1533 * config.host: Remove SH5 support.
1534 * configure: Likewise.
1535
9129c8cf
OE
15362016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1537
1538 * config/sh/crt1.S: Remove SH5 support.
1539 * config/sh/crti.S: Likewise.
1540 * config/sh/crtn.S: Likewise.
1541 * config/sh/lib1funcs-4-300.S: Likewise.
1542 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1543 * config/sh/lib1funcs.S: Likewise.
1544 * config/sh/linux-unwind.h: Likewise.
1545 * config/sh/t-sh64: Delete.
1546
39d50464
CZ
15472016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1548
1549 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1550
8b48923b
CZ
15512016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1552 Joern Rennecke <joern.rennecke@embecosm.com>
1553
1554 * config/arc/crttls.S: New file.
1555 * config/arc/t-arc: New rule.
1556 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1557
2de1cf8c
NC
15582016-04-25 Nick Clifton <nickc@redhat.com>
1559
1560 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1561 (__mspabi_cmpd): Likewise.
1562 * config/msp430/floathidf.c (__floathidf): Likewise.
1563 * config/msp430/floathisf.c (__floathisf): Likewise
1564 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1565 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1566 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1567 second parameter.
1568 (__ashrsi3): Likewise.
1569
b8ce3fe2
WB
15702016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1571
1572 * config/m68k/linux-atomic.c: Do not include unistd.h
1573
4986f823
MG
15742016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1575
1576 * config/arm/ieee754-df.S: Fix typos in comments.
1577
35fbda43
MM
15782016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1579
1580 PR target/70381
1581 * configure.ac (powerpc*-*-linux*): Rework tests to build
1582 __float128 emulation routines to not depend on using #pragma GCC
1583 target to enable -mfloat128.
1584 * configure: Regnerate.
1585
72d1a48d
EB
15862016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1587
1588 PR target/67172
1589 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1590 __MINGW32__ is defined.
1591
dc2e8995
JB
15922016-03-28 James Bowman <james.bowman@ftdichip.com>
1593
385c7747 1594 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 1595
104cdaf1
MM
15962016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1597
1598 PR libgcc/70363
1599 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1600 built with an assembler that does not support ISA 3.0
1601 instructions, rename __extendkftf2_sw to __extendkftf2.
1602
a5046f48
RO
16032016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1604
1605 PR target/38239
1606 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1607 call-clobbered registers.
1608 (internal_mcount): Remove __i386__ handling.
1609
df674f74
JS
16102016-02-26 Joel Sherrill <joel@rtems.org>
1611
1612 * config.host: Add x86_64-*-rtems*.
1613
7cb065d6
JS
16142016-02-26 Joel Sherrill <joel@rtems.org>
1615
1616 * libgcc/config.host: Add aarch64-*-rtems*.
1617
47dfdc53
PM
16182016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1619 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1620
1621 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1622 union of u64 and double.
1623 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1624 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1625 value.
1626 (FP_ROUNDMODE): Update the usage of _fpscr.
1627
e6861a99
IV
16282016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1629
1630 PR driver/68463
1631 * Makefile.in (crtoffloadtable$(objext)): New rule.
1632 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1633 enable_offload_targets is not empty.
1634 * configure: Regenerate.
1635 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1636 crtoffloadtable.
1637
9bfcbdee
MF
16382016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1639
1640 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1641 .literal_position before the function.
1642 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1643 Likewise.
1644
4cb4721f
MK
16452016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1646
1647 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1648 * config/s390/morestack.S: New file.
1649 * config/s390/t-stack-s390: New file.
1650 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1651
b29d9a29
WL
16522016-02-12 Walter Lee <walt@tilera.com>
1653
1654 * config.host (tilegx*-*-linux*): remove ti from
1655 softfp_int_modes for 32-bit configs.
1656
03a0ae7d
ILT
16572016-02-10 Ian Lance Taylor <iant@google.com>
1658
1659 PR go/68562
1660 * config/i386/morestack.S (__stack_split_initialize): Align
1661 stack.
1662
68750bce
AT
16632016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1664
1665 PR bootstrap/69611
1666 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1667 __FLOAT128__ to compile only for __float128 capable targets.
1668
7d296953
JJ
16692016-01-25 Jakub Jelinek <jakub@redhat.com>
1670
1671 PR target/69444
1672 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1673 instead of ___NO_FPRS__.
1674
a71c0334 16752016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
1676 Steven Munroe <munroesj@linux.vnet.ibm.com>
1677 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
1678
1679 * config/rs6000/float128-sed: New files to convert TF names to KF
1680 names for PowerPC IEEE 128-bit floating point support.
1681 * config/rs6000/float128-sed-hw: Likewise.
1682
1683 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1684 floating point hardware support.
1685
1686 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1687 128-bit floating point software emulation or use ISA 3.0 hardware
1688 support if it is available.
1689
1690 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1691 floating point.
1692
1693 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1694 floating point to IBM extended double.
1695
1696 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1697 double to IEEE 128-bit floating point.
1698
1699 * config/rs6000/t-float128: New Makefile fragments to enable
1700 building __float128 emulation support.
1701 * config/rs6000/t-float128-hw: Likewise.
1702
1703 * config/rs6000/sfp-exceptions.c: New file to provide exception
1704 support for IEEE 128-bit floating point.
1705
1706 * config/rs6000/floattikf.c: New files for converting between IEEE
1707 128-bit floating point and signed/unsigned 128-bit integers.
1708 * config/rs6000/fixunskfti.c: Likewise.
1709 * config/rs6000/fixkfti.c: Likewise.
1710 * config/rs6000/floatuntikf.c: Likewise.
1711
1712 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1713 when building on 64-bit systems, or when VSX is enabled.
1714 (_FP_W_TYPE): Likewise.
1715 (_FP_WS_TYPE): Likewise.
1716 (_FP_I_TYPE): Likewise.
1717 (TItype): Define on 64-bit systems.
1718 (UTItype): Likewise.
1719 (TI_BITS): Likewise.
1720 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1721 (_FP_MUL_MEAT_Q): Likewise.
1722 (_FP_DIV_MEAT_D): Likewise.
1723 (_FP_DIV_MEAT_Q): Likewise.
1724 (_FP_NANFRAC_D): Likewise.
1725 (_FP_NANFRAC_Q): Likewise.
1726 (ISA_BIT): Add exception support if we are being compiled on a
1727 machine with hardware floating point support to build the IEEE
1728 128-bit emulation functions.
1729 (FP_EX_INVALID): Likewise.
1730 (FP_EX_OVERFLOW): Likewise.
1731 (FP_EX_UNDERFLOW): Likewise.
1732 (FP_EX_DIVZERO): Likewise.
1733 (FP_EX_INEXACT): Likewise.
1734 (FP_EX_ALL): Likewise.
1735 (__sfp_handle_exceptions): Likewise.
1736 (FP_HANDLE_EXCEPTIONS): Likewise.
1737 (FP_RND_NEAREST): Likewise.
1738 (FP_RND_ZERO): Likewise.
1739 (FP_RND_PINF): Likewise.
1740 (FP_RND_MINF): Likewise.
1741 (FP_RND_MASK): Likewise.
1742 (_FP_DECL_EX): Likewise.
1743 (FP_INIT_ROUNDMODE): Likewise.
1744 (FP_ROUNDMODE): Likewise.
1745
1746 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1747 VSX code, enable IEEE 128-bit floating point. If the compiler can
1748 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1749 floating point hardware instructions and it supports declaring
1750 functions with the ifunc attribute, enable ifunc functions to
1751 switch between software and hardware support.
1752 * configure.ac (powerpc*-*-linux*): Likewise.
1753 * configure: Regenerate.
1754
bdc27e50
NC
17552016-01-15 Nick Clifton <nickc@redhat.com>
1756
1757 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1758 dependency as the source file to be compiled.
1759 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1760 (lib2hw_mul_f5.o): Likewise.
1761
006df05d
MM
17622016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1763
1764 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1765 * libgcc/config/rs6000/fixkfti.c: Likewise.
1766 * libgcc/config/rs6000/fixunskfti.c: Likewise.
1767 * libgcc/config/rs6000/float128-hw.c: Likewise.
1768 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1769 * libgcc/config/rs6000/float128-sed: Likewise.
1770 * libgcc/config/rs6000/floattikf.c: Likewise.
1771 * libgcc/config/rs6000/floatuntikf.c: Likewise.
1772 * libgcc/config/rs6000/quad-float128.h: Likewise.
1773 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1774 * libgcc/config/rs6000/sfp-machine.h: Likewise.
1775 * libgcc/config/rs6000/t-float128: Likewise.
1776 * libgcc/config/rs6000/t-float128-hw: Likewise.
1777 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1778 * libgcc/config.host: Likewise.
1779 * libgcc/configure: Likewise.
1780 * libgcc/configure.ac: Likewise.
1781
29176d57 17822016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
1783 Steven Munroe <munroesj@linux.vnet.ibm.com>
1784 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
1785
1786 * config/rs6000/sfp-exceptions.c: New file to provide exception
1787 support for IEEE 128-bit floating point.
1788
1789 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1790 floating point hardware support.
1791
1792 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1793 point conversions.
1794 * config/rs6000/fixunskfti.c: Likewise.
1795 * config/rs6000/fixkfti.c: Likewise.
1796 * config/rs6000/floatuntikf.c: Likewise.
1797 * config/rs6000/extendkftf2-sw.c: Likewise.
1798 * config/rs6000/trunctfkf2-sw.c: Likewise.
1799
1800 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1801 128-bit floating point software emulation or use ISA 3.0 hardware
1802 support if it is available.
1803
1804 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1805 floating point.
1806
1807 * config/rs6000/t-float128: New Makefile fragments to enable
1808 building __float128 emulation support.
1809 * config/rs6000/t-float128-hw: Likewise.
1810
1811 * config/rs6000/float128-sed: New file to convert TF names to KF
1812 names for PowerPC IEEE 128-bit floating point support.
1813
1814 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1815 when building on 64-bit systems, or when VSX is enabled.
1816 (_FP_W_TYPE): Likewise.
1817 (_FP_WS_TYPE): Likewise.
1818 (_FP_I_TYPE): Likewise.
1819 (TItype): Define on 64-bit systems.
1820 (UTItype): Likewise.
1821 (TI_BITS): Likewise.
1822 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1823 (_FP_MUL_MEAT_Q): Likewise.
1824 (_FP_DIV_MEAT_D): Likewise.
1825 (_FP_DIV_MEAT_Q): Likewise.
1826 (_FP_NANFRAC_D): Likewise.
1827 (_FP_NANFRAC_Q): Likewise.
1828 (ISA_BIT): Add exception support if we are being compiled on a
1829 machine with hardware floating point support to build the IEEE
1830 128-bit emulation functions.
1831 (FP_EX_INVALID): Likewise.
1832 (FP_EX_OVERFLOW): Likewise.
1833 (FP_EX_UNDERFLOW): Likewise.
1834 (FP_EX_DIVZERO): Likewise.
1835 (FP_EX_INEXACT): Likewise.
1836 (FP_EX_ALL): Likewise.
1837 (__sfp_handle_exceptions): Likewise.
1838 (FP_HANDLE_EXCEPTIONS): Likewise.
1839 (FP_RND_NEAREST): Likewise.
1840 (FP_RND_ZERO): Likewise.
1841 (FP_RND_PINF): Likewise.
1842 (FP_RND_MINF): Likewise.
1843 (FP_RND_MASK): Likewise.
1844 (_FP_DECL_EX): Likewise.
1845 (FP_INIT_ROUNDMODE): Likewise.
1846 (FP_ROUNDMODE): Likewise.
1847
1848 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1849 compiler can do __float128.
1850 * configure: Regenerate.
1851
1852 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1853 VSX code, enable IEEE 128-bit floating point.
1854
a2218983
OH
18552016-01-05 Olivier Hainque <hainque@adacore.com>
1856
1857 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 1858 specificities.
a2218983 1859
818ab71a
JJ
18602016-01-04 Jakub Jelinek <jakub@redhat.com>
1861
1862 Update copyright years.
1863
5a6c8ffa
AP
18642015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
1865
1866 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 1867 soft-fp targets.
5a6c8ffa 1868
077067a5
BE
18692015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1870
1871 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1872 instead of abort to avoid dependency on stdlib.h.
1873
787c1027
JDA
18742015-12-09 John David Anglin <danglin@gcc.gnu.org>
1875
1876 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1877 to initialize call to __dl_fixup once.
1878
04a9ae28
NC
18792015-12-04 Nick Clifton <nickc@redhat.com>
1880
1881 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1882 Allow for the second argument being negative.
1883 * config.host (extra_parts): Define for MSP430. Create separate
1884 libraries for each of the hardware multiply formats.
1885 * config/msp430/lib2hw_mul.S: Build only the multiply routines
1886 that are needed.
1887 * config/msp430/lib2mul.c: Likewise.
1888 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1889 Add rules to build hardware multiply libraries.
1890 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1891 __mspabi_divul function.
1892 (__mspabi_divllu): New stub function.
1893
9a32d437
JDA
18942015-12-01 John David Anglin <danglin@gcc.gnu.org>
1895
1896 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1897 fixup values if saved GOT address doesn't match runtime address.
1898 (fixup_branch_offset): Reorder list.
1899
e5ef217c
RO
19002015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1901
1902 * Makefile.in (VTV_CFLAGS): New variable.
1903 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1904 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1905 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1906 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1907 to extra_parts if $enable_vtable_verify = yes.
1908
78cc43a2
SN
19092015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
1910
1911 PR target/68059
1912 * config/arm/linux-atomic-64bit.c (__write): Rename to...
1913 (write): ...this and fix the return type.
1914
9afebea2
DD
19152015-11-19 DJ Delorie <dj@redhat.com>
1916
1917 * config/msp430/lib2hw_mul.S: Fix alignment.
1918
33f47f42
NS
19192015-11-18 Nathan Sidwell <nathan@codesourcery.com>
1920
1921 * config/nvptx/reduction.c: New.
1922 * config/nvptx/t-nvptx (LIB2ADD): Add it.
1923
d9adb476
DE
19242015-11-15 David Edelsohn <dje.gcc@gmail.com>
1925
1926 * config/rs6000/on_exit.c: New file.
1927 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1928 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1929
c0ab1970
CZ
19302015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
1931
1932 * config/arc/dp-hack.h: Add support for ARCHS.
1933 * config/arc/ieee-754/divdf3.S: Likewise.
1934 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1935 * config/arc/ieee-754/muldf3.S: Likewise.
1936 * config/arc/ieee-754/mulsf3.S: Likewise
1937 * config/arc/lib1funcs.S: Likewise
1938 * config/arc/gmon/dcache_linesz.S: Don't read the build register
1939 for ARCv2 cores.
1940 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1941 for ARCv2 cores.
1942 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1943 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1944 cores.
1945
e6b6bf09
RO
19462015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1947
1948 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1949 value.
1950 * config/ia64/crtend.S: Likewise.
1951
a153644f
TS
19522015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1953
1954 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1955 __CHAR_BIT__ instead of BITS_PER_UNIT.
1956 * fixed-bit.h: Likewise.
1957 * fp-bit.h: Likewise.
1958 * libgcc2.c (__popcountSI2): Likewise.
1959 (__popcountDI2): Likewise.
1960 * libgcc2.h: Likewise.
1961 * libgcov.h: Likewise.
1962
3dee689d
DE
19632015-11-07 David Edelsohn <dje.gcc@gmail.com>
1964
1965 * config/rs6000/atexit.c: New file.
1966 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1967 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1968 * config/rs6000/cxa_finalize.c
1969 (catomic_compare_and_exchange_bool_acq): Negate return value.
1970
2ef543e4
VK
19712015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1972
1973 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1974 (processor_subtypes): Add znver1.
1975 (get_amd_cpu): Detect znver1.
1976
1300f017
CL
19772015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
1978
1979 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1980 Include crtfastmath.o.
1981
3e5bb7ee
JR
19822015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
1983
1984 PR libgcc/66883
1985 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 1986
793aa938
KP
19872015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
1988
1989 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1990 * config/rl78/divmodsi.S: Update return register to r8.
1991 * config/rl78/divmodhi.S: Update return register to r8,r9.
1992 Branch to main_loop_done_himode to pop registers before return.
1993
7d296953 19942015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
1995
1996 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1997 (__cpu_indicator_init): Fix model selection for AMD CPUs.
1998
6a192b5a
KY
19992015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2000
2001 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2002
4a0a9457
MF
20032015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2004
2005 * config.host (xtensa*-*-uclinux*): New configuration.
2006
ab91c076
KY
20072015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2008
385c7747 2009 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2010 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2011
30954527
JM
20122015-09-28 Joseph Myers <joseph@codesourcery.com>
2013
2014 * soft-fp/adddf3.c: Update from glibc.
2015 * soft-fp/addsf3.c: Likewise.
2016 * soft-fp/addtf3.c: Likewise.
2017 * soft-fp/divdf3.c: Likewise.
2018 * soft-fp/divsf3.c: Likewise.
2019 * soft-fp/divtf3.c: Likewise.
2020 * soft-fp/double.h: Likewise.
2021 * soft-fp/eqdf2.c: Likewise.
2022 * soft-fp/eqsf2.c: Likewise.
2023 * soft-fp/eqtf2.c: Likewise.
2024 * soft-fp/extenddftf2.c: Likewise.
2025 * soft-fp/extended.h: Likewise.
2026 * soft-fp/extendsfdf2.c: Likewise.
2027 * soft-fp/extendsftf2.c: Likewise.
2028 * soft-fp/extendxftf2.c: Likewise.
2029 * soft-fp/fixdfdi.c: Likewise.
2030 * soft-fp/fixdfsi.c: Likewise.
2031 * soft-fp/fixdfti.c: Likewise.
2032 * soft-fp/fixsfdi.c: Likewise.
2033 * soft-fp/fixsfsi.c: Likewise.
2034 * soft-fp/fixsfti.c: Likewise.
2035 * soft-fp/fixtfdi.c: Likewise.
2036 * soft-fp/fixtfsi.c: Likewise.
2037 * soft-fp/fixtfti.c: Likewise.
2038 * soft-fp/fixunsdfdi.c: Likewise.
2039 * soft-fp/fixunsdfsi.c: Likewise.
2040 * soft-fp/fixunsdfti.c: Likewise.
2041 * soft-fp/fixunssfdi.c: Likewise.
2042 * soft-fp/fixunssfsi.c: Likewise.
2043 * soft-fp/fixunssfti.c: Likewise.
2044 * soft-fp/fixunstfdi.c: Likewise.
2045 * soft-fp/fixunstfsi.c: Likewise.
2046 * soft-fp/fixunstfti.c: Likewise.
2047 * soft-fp/floatdidf.c: Likewise.
2048 * soft-fp/floatdisf.c: Likewise.
2049 * soft-fp/floatditf.c: Likewise.
2050 * soft-fp/floatsidf.c: Likewise.
2051 * soft-fp/floatsisf.c: Likewise.
2052 * soft-fp/floatsitf.c: Likewise.
2053 * soft-fp/floattidf.c: Likewise.
2054 * soft-fp/floattisf.c: Likewise.
2055 * soft-fp/floattitf.c: Likewise.
2056 * soft-fp/floatundidf.c: Likewise.
2057 * soft-fp/floatundisf.c: Likewise.
2058 * soft-fp/floatunditf.c: Likewise.
2059 * soft-fp/floatunsidf.c: Likewise.
2060 * soft-fp/floatunsisf.c: Likewise.
2061 * soft-fp/floatunsitf.c: Likewise.
2062 * soft-fp/floatuntidf.c: Likewise.
2063 * soft-fp/floatuntisf.c: Likewise.
2064 * soft-fp/floatuntitf.c: Likewise.
2065 * soft-fp/gedf2.c: Likewise.
2066 * soft-fp/gesf2.c: Likewise.
2067 * soft-fp/getf2.c: Likewise.
2068 * soft-fp/ledf2.c: Likewise.
2069 * soft-fp/lesf2.c: Likewise.
2070 * soft-fp/letf2.c: Likewise.
2071 * soft-fp/muldf3.c: Likewise.
2072 * soft-fp/mulsf3.c: Likewise.
2073 * soft-fp/multf3.c: Likewise.
2074 * soft-fp/negdf2.c: Likewise.
2075 * soft-fp/negsf2.c: Likewise.
2076 * soft-fp/negtf2.c: Likewise.
2077 * soft-fp/op-1.h: Likewise.
2078 * soft-fp/op-2.h: Likewise.
2079 * soft-fp/op-4.h: Likewise.
2080 * soft-fp/op-8.h: Likewise.
2081 * soft-fp/op-common.h: Likewise.
2082 * soft-fp/quad.h: Likewise.
2083 * soft-fp/single.h: Likewise.
2084 * soft-fp/soft-fp.h: Likewise.
2085 * soft-fp/subdf3.c: Likewise.
2086 * soft-fp/subsf3.c: Likewise.
2087 * soft-fp/subtf3.c: Likewise.
2088 * soft-fp/truncdfsf2.c: Likewise.
2089 * soft-fp/trunctfdf2.c: Likewise.
2090 * soft-fp/trunctfsf2.c: Likewise.
2091 * soft-fp/trunctfxf2.c: Likewise.
2092 * soft-fp/unorddf2.c: Likewise.
2093 * soft-fp/unordsf2.c: Likewise.
2094 * soft-fp/unordtf2.c: Likewise.
2095
4dfe21ac
RE
20962015-09-24 Richard Earnshaw <rearnsha@arm.com>
2097
2098 PR libgcc/67624
2099 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2100
df2a1cc4
RO
21012015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2102
2103 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2104 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2105 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2106 messages.
2107 (internal_mcount): Likewise.
2108 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2109 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2110
2d110442
RO
21112015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2112
2113 * configure.ac (libgcc_cv_solaris_crts): New test.
2114 * configure: Regenerate.
2115 * config.in: Regenerate.
2116 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2117 * config/gmon-sol2.c: Rename to ...
2118 * config/sol2/gmon.c: ... this.
2119 Include auto-target.h.
2120 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2121 * config/t-sol2: Rename to ...
2122 * config/sol2/t-sol2: ... this.
2123 (gmon.o): Reflect renaming.
2124 (crtp.o, crtpg.o): New rules.
2125 * config.host (*-*-solaris2*): Reflect renaming.
2126 Use system CRTs if present.
2127 Remove default CRT case.
2128
d572e439
JDA
21292015-09-23 John David Anglin <danglin@gcc.gnu.org>
2130
2131 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2132 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2133 __kernel_cmpxchg2.
2134 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2135 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2136 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2137 (__sync_lock_test_and_set_##WIDTH): Likewise.
2138 (__sync_lock_release_##WIDTH): Likewise.
2139 (__sync_fetch_and_##OP##_4): Change result to match type of
2140 __kernel_cmpxchg.
2141 (__sync_##OP##_and_fetch_4): Likewise.
2142 (__sync_val_compare_and_swap_4): Likewise.
2143 (__sync_bool_compare_and_swap_4): likewise.
2144 (__sync_lock_test_and_set_4): Likewise.
2145 (__sync_lock_release_4): Likewise.
2146 (FETCH_AND_OP_2): Add long long variants.
2147 (OP_AND_FETCH_2): Likewise.
2148 (COMPARE_AND_SWAP_2 ): Likewise.
2149 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2150 (SYNC_LOCK_RELEASE_2): Likewise.
2151 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2152
7d296953 21532015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2154
2155 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2156 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2157 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2158 (get_available_features): Habdle new features.
2159
131314e1
JB
21602015-09-21 James Bowman <james.bowman@ftdichip.com>
2161
2162 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2163 memory layout. Deal correctly with BSS region larger than 32K.
2164 Handle a watchdog reset like a power-on reset. Clean up unused
2165 code.
2166
04218b35
AD
21672015-09-18 Andrew Dixie <andrewd@gentrack.com>
2168 David Edelsohn <dje.gcc@gmail.com>
2169
2170 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2171 * config/rs6000/crtdbase.S: New file.
2172 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2173
c8338173
MF
21742015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2175
2176 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2177 Add support for call0 ABI.
2178
7a84bf71
JDA
21792015-09-13 John David Anglin <danglin@gcc.gnu.org>
2180
2181 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2182
4efab402
SH
21832015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2184
2185 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2186 (__GTHREAD_HAS_COND): Likewise.
2187 (__gthread_t): Likewise.
2188 (__gthread_cond_t): Likewise.
2189 (__gthread_time_t): Likewise.
2190 (__GTHREAD_MUTEX_INIT): Likewise.
2191 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2192 (__GTHREAD_COND_INIT): Likewise.
2193 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2194 (__GTHREAD_TIME_INIT): Likewise.
2195 (__gthread_create): Likewise.
2196 (__gthread_join): Likewise.
2197 (__gthread_detach): Likewise.
2198 (__gthread_equal): Likewise.
2199 (__gthread_self): Likewise.
2200 (__gthread_yield): Likewise.
2201 (__gthread_cond_broadcast): Likewise.
2202 (__gthread_cond_signal): Likewise.
2203 (__gthread_cond_wait): Likewise.
2204 (__gthread_cond_timedwait): Likewise.
2205 (__gthread_cond_wait_recursive): Likewise.
2206 (__gthread_cond_destroy): Likewise.
2207 (rtems_gxx_once): Delete.
2208 (rtems_gxx_key_create): Likewise.
2209 (rtems_gxx_key_delete): Likewise.
2210 (rtems_gxx_getspecific): Likewise.
2211 (rtems_gxx_setspecific): Likewise.
2212 (rtems_gxx_mutex_init): Likewise.
2213 (rtems_gxx_mutex_destroy): Likewise.
2214 (rtems_gxx_mutex_lock): Likewise.
2215 (rtems_gxx_mutex_trylock): Likewise.
2216 (rtems_gxx_mutex_unlock): Likewise.
2217 (rtems_gxx_recursive_mutex_init): Likewise.
2218 (rtems_gxx_recursive_mutex_lock): Likewise.
2219 (rtems_gxx_recursive_mutex_trylock): Likewise.
2220 (rtems_gxx_recursive_mutex_unlock): Likewise.
2221 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2222 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2223 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2224 (__gthread_once): Likewise.
2225 (__gthread_key_create): Likewise.
2226 (__gthread_key_delete): Likewise.
2227 (__gthread_getspecific): Likewise.
2228 (__gthread_setspecific): Likewise.
2229 (__gthread_key_t): Use <pthread.h> type.
2230 (__gthread_once_t): Likewise
2231 (__gthread_mutex_t): Use <sys/lock.h> type.
2232 (__gthread_recursive_mutex_t): Likewise
2233 (__gthread_mutex_lock): Use <sys/lock.h> function.
2234 (__gthread_mutex_trylock): Likewise.
2235 (__gthread_mutex_timedlock): Likewise.
2236 (__gthread_mutex_unlock): Likewise.
2237 (__gthread_mutex_destroy): Likewise.
2238 (__gthread_recursive_mutex_lock): Likewise.
2239 (__gthread_recursive_mutex_trylock): Likewise.
2240 (__gthread_recursive_mutex_timedlock): Likewise.
2241 (__gthread_recursive_mutex_unlock): Likewise.
2242 (__gthread_recursive_mutex_destroy): Likewise.
2243
991995c4
MF
22442015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2245
2246 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2247 context->sp instead of context->cfa.
2248
0e19db59
MF
22492015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2250
2251 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2252 with unwind-dw2-fde-dip.
2253
b6ac5f62
MF
22542015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2255
2256 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2257 CALL12 followed by series of ENTRY to spill windowed registers.
2258 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2259 instead of making linux spill syscall.
2260
3e0f3349
YR
22612015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2262
2263 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2264 (get_intel_cpu): Likewise.
2265
51c728b1
L
22662015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2267
2268 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2269 (get_intel_cpu): Add Knights Landing support.
2270
aff4eeac
UB
22712015-08-11 Uros Bizjak <ubizjak@gmail.com>
2272
2273 PR target/66954
2274 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2275 (get_available_features): Handle FEATURE_PCLMUL.
2276
736e56da
L
22772015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2278
2279 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2280 Broadwell.
2281
54d22142
UB
22822015-07-22 Uros Bizjak <ubizjak@gmail.com>
2283
2284 PR target/66954
2285 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2286 (get_available_features): Handle FEATURE_AES.
2287
20ca17e4
CLT
22882015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2289
2290 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2291 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2292
ebe4a560
NS
22932015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2294
2295 * offloadstuff.c: Constify host data.
2296
180744c0
JB
22972015-07-17 Jan Beulich <jbeulich@suse.com>
2298
2299 * config/t-softfp: Split up "else ifneq".
2300
a03c6ae3
SL
23012015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2302 Cesar Philippidis <cesar@codesourcery.com>
2303 Chung-Lin Tang <cltang@codesourcery.com>
2304
2305 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2306 for __nios2_arch__ level.
2307
73358db5
JM
23082015-07-13 John Marino <gnugcc@marino.st>
2309
2310 * config/i386/t-dragonfly: New.
2311
f9a12f7b
JDA
23122015-07-01 John David Anglin <danglin@gcc.gnu.org>
2313
2314 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2315 better match light-weight syscall argument order.
2316 (__kernel_cmpxchg2): Likewise.
2317 Adjust callers.
2318
cb78b51c
L
23192015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2320
2321 * config.host: Support i[34567]86-*-elfiamcu target.
2322 * config/t-softfp-sfdftf: New file.
2323 * config/i386/32/t-iamcu: Likewise.
2324 * configure: Regenerated.
2325
4fa0f9ea
JL
23262015-06-23 James Lemke <jwlemke@codesourcery.com>
2327
2328 libgcc/config/arm/
2329 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2330
428b3812
L
23312015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2332
2333 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2334
7d296953 23352015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
2336
2337 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2338 md_unwind_header
2339 * config/i386/freebsd-unwind.h: New.
2340
9b789cc1
UB
23412015-05-22 Uros Bizjak <ubizjak@gmail.com>
2342
2343 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2344 i386/t-crtfm to tmake_file.
2345 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2346 (set_fast_math): Use set_fast_math_sse for SSE targets.
2347 * config/i386/t-crtfm: Remove.
2348
3dafb220
AM
23492015-05-21 Alan Modra <amodra@gmail.com>
2350
2351 PR libgcc/66225
2352 * config/rs6000/morestack.S: Remove ".abiversion 1".
2353
0f0fd745
AM
23542015-05-20 Alan Modra <amodra@gmail.com>
2355
2356 * config/rs6000/morestack.S: New.
2357 * config/rs6000/t-stack-rs6000: New.
2358 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2359 to tmake_file.
2360 * generic-morestack.c: Don't build for powerpc 32-bit.
2361
515ae71b
EB
23622015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2363
2364 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2365 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2366
36805406
JL
23672015-05-16 James Bowman <james.bowman@ftdichip.com>
2368
2369 * config.host: FT32 target added.
2370 * config/ft32/*: New files for FT32 target.
2371
ff935d0c
MG
23722015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2373
385c7747
UB
2374 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2375 New macros.
2376 * config/arm/ieee754-df.S: Add CFI directives.
2377 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 2378
9b92a9f3
EB
23792015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2380
2381 * configure.ac: Include config/sjlj.m4.
2382 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2383 * config.in: Regenerate.
2384 * configure: Likewise.
2385 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2386
98b5dc61
UB
23872015-05-12 Uros Bizjak <ubizjak@gmail.com>
2388
2389 * libgcov-util.c: Add space between string literal and macro name.
2390
5a0ff57c
SL
23912015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2392 Chris Jones <chrisj@nvidia.com>
2393 Joshua Conner <jconner@nvidia.com>
2394
2395 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2396 (arm*-*-uclinux*): Likewise.
2397 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2398 * config/arm/crtfastmath.c: New file.
2399
d28ad5d4
BS
24002014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2401
2402 * Makefile.in (real_host_noncanonical): New variable.
2403 (libsubdir): Use it.
2404 * configure.ac (real_host_noncanonical): Compute. Remove special
2405 case for intelmicemul.
2406 * configure: Regenerate.
2407
cc86234f
UB
24082015-04-28 Uros Bizjak <ubizjak@gmail.com>
2409
2410 * config/frv/elf-lib.h: New file.
2411 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2412 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2413 to tm_file.
2414
24152015-04-28 Uros Bizjak <ubizjak@gmail.com>
2416
2417 * config/frv/frvbengin.c: Do not include defaults.h
2418 * config/frv/frvend.c: Ditto.
2419
2f6bd6eb
YS
24202015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2421
2422 * config.host: Add h8300-*-linux
2423 * config/h8300/t-linux: New file.
2424 * config/h8300/lib1funs.s: Change symbol prefix.
2425 * config/h8300/sfp-machine.h: 64bit double support.
2426
15aa7b44
GR
24272015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2428 Szabolcs Nagy <szabolcs.nagy@arm.com>
2429
2430 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2431 Linux if target provides dl_iterate_phdr.
2432
abd0cdc9
L
24332015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2434
2435 PR target/65612
2436 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2437 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2438 (__cpu_indicator_init@GCC_4.8.0): New.
2439 (__cpu_model@GCC_4.8.0): Likewise.
2440 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2441 -DUSE_ELF_SYMVER.
2442
72ed1126
NC
24432015-04-16 Nick Clifton <nickc@redhat.com>
2444
2445 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2446 and __modhi3 functions.
2447 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2448 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2449
d26b2237
CG
24502015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2451
2452 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2453 do-while loop as macro body to avoid warnings.
2454
cacf1f59
JJ
24552015-04-10 Jakub Jelinek <jakub@redhat.com>
2456 Iain Sandoe <iain@codesourcery.com>
2457
2458 PR target/65351
2459 * configure: Regenerate.
2460
e8a4ed3b
JJ
24612015-04-07 Jakub Jelinek <jakub@redhat.com>
2462 Iain Sandoe <iain@codesourcery.com>
2463
2464 PR target/65351
2465 * configure: Regenerate.
2466
0341335e
CLT
24672015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2468
2469 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2470
590e2636 24712015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 2472
590e2636
MF
2473 Implement call0 ABI for xtensa
2474 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2475 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2476 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2477 use ret in call0 ABI.
2478 * config/xtensa/t-windowed: New file.
2479 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2480 * libgcc/configure: Regenerated.
2481 * libgcc/configure.ac: Check if xtensa target is configured for
2482 windowed ABI and thus needs to use custom unwind code.
2483
7727f8f2
JW
24842015-02-12 Jonathan Wakely <jwakely@redhat.com>
2485
2486 PR libgcc/64885
2487 * gthr-single.h: Use __unused__ attribute instead of unused.
2488 * config/gthr-vxworks.h: Likewise.
2489 * config/i386/gthr-win32.h: Likewise.
2490
0e4a0def
KT
24912015-02-27 Kai Tietz <ktietz@redhat.com>
2492
2493 PR target/65038
2494 * config.in: Regenerated.
2495 * configure: Likewise.
2496 * configure.ac (AC_HEADER_STDC): Added explicit.
2497 (AC_CHECK_HEADERS): Check for default headers plus
2498 for ftw.h header.
2499 * libgcov-util.c (gcov_read_profile_dir): Disable use
2500 of ftw-function, if header is not found.
2501 (ftw_read_file): Likewise.
2502
b6530d0a
TS
25032015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2504
2505 PR target/65181
2506 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2507 -Dinhibit_libc.
2508
53cfb467
SL
25092015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2510
2511 * config/arm/bpabi.S (test_div_by_zero): Make label names
2512 consistent between thumb2 and arm mode cases. Separate the
2513 signed comparison on the high word of the numerator from the
2514 unsigned comparison on the low word.
2515 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2516 signed comparison.
2517
77d10a1b
JM
25182015-02-17 Joseph Myers <joseph@codesourcery.com>
2519
2520 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2521 and <string.h>.
2522 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2523
98174188
RE
25242015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2525
2526 PR gcov-profile/61889
471274de 2527 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 2528
771bef14
NC
25292015-02-02 Nick Clifton <nickc@redhat.com>
2530
2531 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2532 rounding up the fraction.
2533
40702893
JDA
25342015-01-31 John David Anglin <danglin@gcc.gnu.org>
2535
2536 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2537 oldval and newval to const void *. Fix typo.
2538 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2539 (FETCH_AND_OP_WORD): Likewise.
2540 (OP_AND_FETCH_WORD): Likewise.
2541 (COMPARE_AND_SWAP_2): Likewise.
2542 (__sync_val_compare_and_swap_4): Likewise.
2543 (__sync_lock_test_and_set_4): Likewise.
2544 (SYNC_LOCK_RELEASE_2): Likewise.
2545 Remove support for long long atomic operations.
2546
f7f049fa
CT
25472015-01-27 Caroline Tice <cmtice@google.com>
2548
2549 Committing VTV Cywin/Ming patch for Patrick Wollgast
2550 * Makefile.in: Move rules to build vtv_*.o out of the check
2551 for CUSTOM_CRTSTUFF.
2552 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2553 i[34567]86-*-mingw*)
2554 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2555 enable_vtable_verify.
2556
8410904a
NC
25572015-01-27 Nick Clifton <nickc@redhat.com>
2558
2559 * config/rl78/cmpsi2.S: Use function start and end macros.
2560 (__gcc_bcmp): New function.
2561 * config/rl78/lshrsi3.S: Use function start and end macros.
2562 * config/rl78/mulsi3.S: Add support for G10.
2563 (__mulqi3): New function for G10.
2564 * config/rl78/signbit.S: Use function start and end macros.
2565 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2566 fpmath-sf.S.
2567 (LIB2FUNCS_EXCLUDE): Define.
2568 (LIB2FUNCS_ST): Define.
2569 * config/rl78/trampoline.S: Use function start and end macros.
2570 * config/rl78/vregs.h (START_FUNC): New macro.
2571 (START_ANOTHER_FUNC): New macro.
2572 (END_FUNC): New macro.
2573 (END_ANOTHER_FUNC): New macro.
2574 * config/rl78/bit-count.S: New file. Contains assembler
2575 implementations of the bit counting functions: ___clzhi2,
2576 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2577 __paritysi2, __popcounthi2 and __popcountsi2.
2578 * config/rl78/fpbit-sf.S: New file. Contains assembler
2579 implementationas of the math functions: __negsf2, __cmpsf2,
2580 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2581 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2582 * config/rl78/fpmath-sf.S: New file. Contains assembler
2583 implementations of the math functions: __subsf3, __addsf3,
2584 __mulsf3 and __divsf3
2585
f962fbf1
RO
25862015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2587
2588 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2589 Add i386/elf-lib.h to tm_file.
2590 * config/i386/elf-lib.h: Fix comment.
2591 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2592 && __sun__ && __svr4__]: Remove workaround.
2593
939911c5
ASJ
25942015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2595
2596 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2597 FEATURE_BMI2.
2598 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2599
c8f2dff2
L
26002015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2601
2602 * config/i386/cpuinfo.c (processor_subtypes): Add
2603 INTEL_COREI7_BROADWELL.
2604 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2605 model numbers.
2606
7bbf9734
UB
26072015-01-23 Uros Bizjak <ubizjak@gmail.com>
2608
2609 * config/i386/elf-lib.h: New file.
2610 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2611 Wrap definition in #ifdef __i386__.
2612 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2613 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2614 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2615 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2616 to tm_file.
2617
324820f1
CG
26182015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2619
2620 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2621 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2622
a9ce4e4a
CLT
26232015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2624
2625 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2626 Update rt_sigframe format and address for current Nios II
2627 Linux conventions.
2628
82a19768
AT
26292015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2630
2631 * config.host (arm*-*-freebsd*): Add new configuration for
2632 arm*-*-freebsd*.
2633 * config/arm/freebsd-atomic.c: New file.
2634 * config/arm/t-freebsd: Likewise.
2635 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2636 'PC-relative indirect' OS's.
2637
0969ec7d
EB
26382015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2639
2640 * config.host: Add Visium support.
2641 * config/visium: New directory.
2642
5624e564
JJ
26432015-01-05 Jakub Jelinek <jakub@redhat.com>
2644
2645 Update copyright years.
2646
82f84ecb
MF
26472014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2648
2649 * config.host: Support mipsisa32r6 and mipsisa64r6.
2650 * config/mips/mips16.S: Do not build for R6.
2651
69044fa9
OE
26522014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2653
2654 * config/sh/crt.h: New.
2655 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2656 symbols.
2657 * config/sh/crt1.S: Likewise.
2658
2405e0ea
UB
26592014-12-15 Uros Bizjak <ubizjak@gmail.com>
2660
2661 PR libgcc/63832
2662 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2663 func_ptr *dtor_list temporary variable to avoid "array subscript
2664 is above array bounds" warnings.
2665
7d296953 26662014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
2667
2668 * Makefile.in (with_aix_soname): Define.
2669 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2670 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2671 * configure: Recreate.
2672
a66272f6
OH
26732014-12-05 Olivier Hainque <hainque@adacore.com>
2674
2675 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2676 now provided by defaults.h.
2677
6342b2c5
OE
26782014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2679
7d0ee249 2680 PR target/55351
6342b2c5
OE
2681 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2682 whether it's defined.
2683
c17eac85
IT
26842014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2685
2686 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2687 * config/i386/cpuinfo.c (get_available_features): Detect it.
2688
1025cb6c
TW
26892014-11-27 Tony Wang <tony.wang@arm.com>
2690
2691 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2692 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2693 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2694
d19f2e38
SB
26952014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2696
2697 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2698
17f6e9a3
JDA
26992014-11-24 John David Anglin <danglin@gcc.gnu.org>
2700
2701 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2702 instead.
2703
0cd7c672
GM
27042014-11-21 Guy Martin <gmsoft@tuxicoman.be>
2705 John David Anglin <danglin@gcc.gnu.org>
2706
2707 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2708 (FETCH_AND_OP_2): New. Use for subword and double word operations.
2709 (OP_AND_FETCH_2): Likewise.
2710 (COMPARE_AND_SWAP_2): Likewise.
2711 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2712 (SYNC_LOCK_RELEASE_2): Likewise.
2713 (SUBWORD_SYNC_OP): Remove.
2714 (SUBWORD_VAL_CAS): Likewise.
2715 (SUBWORD_BOOL_CAS): Likewise.
2716 (FETCH_AND_OP_WORD): Update.
2717 Consistently use signed types.
cc86234f 2718
85c64bbe
BS
27192014-11-13 Bernd Schmidt <bernds@codesourcery.com>
2720 Thomas Schwinge <thomas@codesourcery.com>
2721 Ilya Verbin <ilya.verbin@intel.com>
2722 Andrey Turetskiy <andrey.turetskiy@intel.com>
2723
2724 * Makefile.in (crtoffloadbegin$(objext)): New rule.
2725 (crtoffloadend$(objext)): Likewise.
2726 * configure: Regenerate.
2727 * configure.ac (accel_dir_suffix): Compute new variable.
2728 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2729 if enable_offload_targets is not empty.
2730 * offloadstuff.c: New file.
2731
52a1ff8b
NC
27322014-11-13 Nick Clifton <nickc@redhat.com>
2733
2734 * config/rl78/divmodhi.S: Add support for the G10 architecture.
2735 Use START_FUNC and END_FUNC macros to enable linker garbage
2736 collection.
2737 * config/rl78/divmodqi.S: Likewise.
2738 * config/rl78/divmodsi.S: Likewise.
2739 * config/rl78/mulsi3.S: Likewise.
2740 * config/rl78/lib2div.c: Remove G10 functions.
2741 * config/rl78/lib2muls.c: Likewise.
2742 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2743 * config/rl78/vregs.h (START_FUNC): New macro.
2744 (END_FUNC): New macro.
2745
050af144
MF
27462014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
2747
2748 * config/mips/mips16.S: Set .module when supported. Update O32
2749 FP64 calling convention and use for FPXX when possible. Add FPXX
2750 calling convention fallback case.
2751
738f2522
BS
27522014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2753
2754 * config.host: Handle nvptx-*-*.
2755 * shared-object.mk (as-flags-$o): Define.
2756 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2757 -xassembler-with-cpp.
2758 * static-object.mk: Identical changes.
2759 * config/nvptx/t-nvptx: New file.
2760 * config/nvptx/crt0.s: New file.
2761 * config/nvptx/free.asm: New file.
2762 * config/nvptx/malloc.asm: New file.
2763 * config/nvptx/realloc.c: New file.
2764
e610393c
JM
27652014-10-30 Joseph Myers <joseph@codesourcery.com>
2766
2767 * Makefile.in (libgcc.map.in): New target.
2768 (libgcc.map): Use libgcc.map.in.
2769 * config/t-softfp (softfp_compat): New variable to be set by
2770 users.
2771 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2772 variables.
2773 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2774 directory.
2775 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2776 that use compat symbols and disable all code unless [SHARED].
2777 * config/t-softfp-compat: New file.
2778 * find-symver.awk: New file.
2779 * configure.ac (--with-glibc-version): New configure option.
2780 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2781 * configure: Regenerate.
2782 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2783 soft-float and e500.
2784
bc1b3a88
JM
27852014-10-29 Joseph Myers <joseph@codesourcery.com>
2786
2787 * config/t-hardfp (hardfp_exclusions): Document new variable for
2788 user to define.
2789 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2790 * config/t-softfp (softfp_extras): Document new variable for user
2791 to define.
2792 (softfp_func_list): Add functions from $(softfp_extras).
2793 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2794 * config.host (powerpc*-*-linux*): For e500v1, use
2795 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2796 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2797 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2798
ef2810c1
JDA
27992014-10-26 John David Anglin <danglin@gcc.gnu.org>
2800
2801 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2802 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2803 memory read accesses are ok.
2804
d80c2bea
JM
28052014-10-25 Joseph Myers <joseph@codesourcery.com>
2806
2807 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2808 * configure: Regenerate.
2809 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2810 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
2811 of soft-fp for 32-bit classic hard float. Do not use
2812 t-softfp-excl for soft float.
2813
693b297b
JM
28142014-10-22 Joseph Myers <joseph@codesourcery.com>
2815
2816 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2817 configurations.
2818 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2819 Remove variables.
2820
18a3415e
GJL
28212014-10-22 Georg-Johann Lay <avr@gjlay.de>
2822
2823 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2824 introduced with 2014-10-21 trunk r216525.
2825
c1dd9790 28262014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
2827 Vidya Praveen <vidya.praveen@atmel.com>
2828 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
2829 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
2830 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
2831
2832 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2833 order.
2834
2835 Updated library functions for AVRTINY arch.
2836 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2837 Replaced occurrences of r0/r1 with tmp/zero reg macros.
2838 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2839 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2840 wsubi/wadi macors.
2841 (__mulsi3_helper): Update stack, preserve callee saved regs and
2842 argument from stack. Restore callee save registers.
2843 (__mulpsi3): Likewise.
2844 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2845 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 2846 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
2847 AVRTINY.
2848 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2849 (__do_copy_data): Added new definition for AVRTINY.
2850 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2851 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2852 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2853 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2854 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2855 macors.
18a3415e 2856 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
2857 AVRTINY.
2858
18a3415e 2859 Fix broken long multiplication on tiny arch.
c1dd9790 2860
5f606431
JM
28612014-10-09 Joseph Myers <joseph@codesourcery.com>
2862
2863 * soft-fp/double.h: Update from glibc.
2864 * soft-fp/eqdf2.c: Likewise.
2865 * soft-fp/eqsf2.c: Likewise.
2866 * soft-fp/eqtf2.c: Likewise.
2867 * soft-fp/extenddftf2.c: Likewise.
2868 * soft-fp/extended.h: Likewise.
2869 * soft-fp/extendsfdf2.c: Likewise.
2870 * soft-fp/extendsftf2.c: Likewise.
2871 * soft-fp/extendxftf2.c: Likewise.
2872 * soft-fp/gedf2.c: Likewise.
2873 * soft-fp/gesf2.c: Likewise.
2874 * soft-fp/getf2.c: Likewise.
2875 * soft-fp/ledf2.c: Likewise.
2876 * soft-fp/lesf2.c: Likewise.
2877 * soft-fp/letf2.c: Likewise.
2878 * soft-fp/op-1.h: Likewise.
2879 * soft-fp/op-2.h: Likewise.
2880 * soft-fp/op-4.h: Likewise.
2881 * soft-fp/op-8.h: Likewise.
2882 * soft-fp/op-common.h: Likewise.
2883 * soft-fp/quad.h: Likewise.
2884 * soft-fp/single.h: Likewise.
2885 * soft-fp/soft-fp.h: Likewise.
2886 * soft-fp/unorddf2.c: Likewise.
2887 * soft-fp/unordsf2.c: Likewise.
2888 * soft-fp/unordtf2.c: Likewise.
2889 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2890 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2891 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2892 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2893 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2894 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2895 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2896 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2897 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2898 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2899
9b84e7a8
RX
29002014-10-08 Rong Xu <xur@google.com>
2901
2902 * libgcov-util.c (read_gcda_file): Fix format.
2903 (find_match_gcov_info): Ditto.
2904 (calculate_2_entries): New.
2905 (compute_one_gcov): Ditto.
2906 (gcov_info_count_all_cold): Ditto.
2907 (gcov_info_count_all_zero): Ditto.
2908 (extract_file_basename): Ditto.
2909 (get_file_basename): Ditto.
2910 (set_flag): Ditto.
2911 (matched_gcov_info): Ditto.
2912 (calculate_overlap): Ditto.
2913 (gcov_profile_overlap): Ditto.
2914 * libgcov-driver.c (compute_summary): Make
2915 it avavilable for external calls.
2916
fe1090c1
RX
29172014-10-06 Rong Xu <xur@google.com>
2918
2919 * Makefile.in: Ditto.
2920 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2921 (gcov_sort_icall_topn_counter): Ditto.
2922 (gcov_sort_topn_counter_arrays): Ditto.
2923 (dump_one_gcov): Sort indirect_call topn counters.
2924 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2925 function.
2926 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2927 utility function.
2928 (__gcov_indirect_call_topn_profiler): New profiler function.
2929 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2930 * libgcov.h: New decls.
2931
3daa7bbf
TS
29322014-10-04 Trevor Saunders <tsaunders@mozilla.com>
2933
2934 * config.host: Remove support for score-*.
2935
9a79452d
JM
29362014-09-22 Joseph Myers <joseph@codesourcery.com>
2937
2938 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2939 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2940 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2941 __LIBGCC_XF_MANT_DIG__.
2942 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2943 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2944 __LIBGCC_TF_MANT_DIG__.
2945 * libgcc2.c (NOTRUNC): Define in terms of
2946 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2947 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2948
1a849e50
JM
29492014-09-22 Joseph Myers <joseph@codesourcery.com>
2950
2951 PR target/63312
2952 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2953 New macros.
2954
598a1586
HPN
29552014-09-22 Hans-Peter Nilsson <hp@axis.com>
2956
2957 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2958 override USE_PT_GNU_EH_FRAME.
2959 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2960 check USE_EH_FRAME_REGISTRY_ALWAYS against
2961 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2962 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2963 variable for substituted force_explicit_eh_registry.
2964 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2965 * configure.ac (explicit-exception-frame-registration):
2966 New AC_ARG_ENABLE.
2967 * configure: Regenerate.
2968
3a8fe7c6
OH
29692014-09-19 Olivier Hainque <hainque@adacore.com>
2970
2971 * config.host (powerpc-wrs-vxworksmils): New configuration,
2972 same as vxworksae.
2973
dd69f047
JM
29742014-09-18 Joseph Myers <joseph@codesourcery.com>
2975
2976 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2977
e770bfd9
JM
29782014-09-18 Joseph Myers <joseph@codesourcery.com>
2979
2980 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2981 bits not set bits as indicating trapping exceptions.
2982
cadb2b96
NS
29832014-09-17 Nathan sidwell <nathan@acm.org>
2984
2985 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2986 (LIBGCOV_DRIVER): ... here.
2987 * libgcov-driver.c (gcov_master): New.
2988 (gcov_exit): Remove from master chain.
2989 (__gcov_init): Add to master chain if version compatible. Don't
2990 clear the version.
2991 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2992 (gcov_reset_int): Clear master chain, if compatible.
2993 (gcov_dump_int): New internal interface. Dump master chain, if
2994 compatible.
2995 (gcov_dump): Alias for gcov_dump_int.
2996 * libgcov.h (struct gcov_root): Add next and prev fields.
2997 (struct gcov_master): New struct.
2998 (__gcov_master): New.
2999 (gcov_dump_int): Declare.
3000
580d22a3
OH
30012014-09-17 Olivier Hainque <hainque@adacore.com>
3002
3003 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3004 and crtbegin.o + crtend.o to extra_parts.
3005
8cc4b7a2
JM
30062014-09-12 Joseph Myers <joseph@codesourcery.com>
3007
3008 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3009 __LIBGCC_HAS_SF_MODE__.
3010 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3011 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3012 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3013 * config/libbid/bid_gcc_intrinsics.h
3014 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3015 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3016 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3017 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3018 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3019 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3020
ea3f2b24
GJL
30212014-09-11 Georg-Johann Lay <avr@gjlay.de>
3022
3023 PR target/63223
3024 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3025 and R24 as needed. Make work for all devices and .text locations.
3026 (__do_global_ctors, __do_global_dtors): Use word addresses.
3027 (__tablejump__, __tablejump_elpm__): Remove functions.
3028 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3029 Add _tablejump2.
3030 (XICALL, XIJMP): New macros.
3031
b677236a
MS
30322014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3033 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3034
3035 * config.host (aarch64*): Include crtfastmath.o and
3036 t-crtfm.
3037 * config/aarch64/crtfastmath.c: New file.
3038
157e859f
TS
30392014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3040
3041 * config.host: Remove picochip support.
3042 * config/picochip/adddi3.S: Remove.
3043 * config/picochip/ashlsi3.S: Remove.
3044 * config/picochip/ashlsi3.c: Remove.
3045 * config/picochip/ashrsi3.S: Remove.
3046 * config/picochip/ashrsi3.c: Remove.
3047 * config/picochip/clzsi2.S: Remove.
3048 * config/picochip/cmpsi2.S: Remove.
3049 * config/picochip/divmod15.S: Remove.
3050 * config/picochip/divmodhi4.S: Remove.
3051 * config/picochip/divmodsi4.S: Remove.
3052 * config/picochip/lib1funcs.S: Remove.
3053 * config/picochip/longjmp.S: Remove.
3054 * config/picochip/lshrsi3.S: Remove.
3055 * config/picochip/lshrsi3.c: Remove.
3056 * config/picochip/parityhi2.S: Remove.
3057 * config/picochip/popcounthi2.S: Remove.
3058 * config/picochip/setjmp.S: Remove.
3059 * config/picochip/subdi3.S: Remove.
3060 * config/picochip/t-picochip: Remove.
3061 * config/picochip/ucmpsi2.S: Remove.
3062 * config/picochip/udivmodhi4.S: Remove.
3063 * config/picochip/udivmodsi4.S: Remove.
3064
66bb34c0
JM
30652014-09-08 Joseph Myers <joseph@codesourcery.com>
3066
3067 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3068 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3069 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3070 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3071 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3072 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3073 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3074 defined and LIBGCC2_HAS_DF_MODE is defined.
3075 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3076 defined and LIBGCC2_HAS_XF_MODE is defined.
3077 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3078 defined and LIBGCC2_HAS_TF_MODE is defined.
3079
9686a2e6
JM
30802014-09-08 Joseph Myers <joseph@codesourcery.com>
3081
3082 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3083 and ROUND_TOWARDS_ZERO conditionals.
3084
71c3e2ef
NS
30852014-09-07 Nathan sidwell <nathan@acm.org>
3086
3087 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3088 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3089
53d68b9f
JM
30902014-09-05 Joseph Myers <joseph@codesourcery.com>
3091
3092 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3093 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3094 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3095 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3096 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3097 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3098 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3099 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3100 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3101 (DWARF_FRAME_REGISTERS): Change all uses to
3102 __LIBGCC_DWARF_FRAME_REGISTERS__.
3103 (EH_RETURN_STACKADJ_RTX): Change all uses to
3104 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3105 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3106 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3107 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3108 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3109 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3110 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3111 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3112 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3113 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3114 __LIBGCC_STACK_POINTER_REGNUM__.
3115 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3116 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3117 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3118 to __LIBGCC_STACK_POINTER_REGNUM__.
3119 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3120 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3121 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3122 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3123 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3124 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3125 (STACK_POINTER_REGNUM): Change all uses to
3126 __LIBGCC_STACK_POINTER_REGNUM__.
3127 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3128 use to __LIBGCC_STACK_POINTER_REGNUM__.
3129 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3130 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3131 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3132 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3133 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3134 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3135 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3136 to __LIBGCC_STACK_POINTER_REGNUM__.
3137 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3138 Remove conditional definition.
3139 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3140 __LIBGCC_TEXT_SECTION_ASM_OP__.
3141 (EH_FRAME_SECTION_NAME): Change all uses to
3142 __LIBGCC_EH_FRAME_SECTION_NAME__.
3143 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3144 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3145 (CTORS_SECTION_ASM_OP): Change all uses to
3146 __LIBGCC_CTORS_SECTION_ASM_OP__.
3147 (DTORS_SECTION_ASM_OP): Change all uses to
3148 __LIBGCC_DTORS_SECTION_ASM_OP__.
3149 (JCR_SECTION_NAME): Change all uses to
3150 __LIBGCC_JCR_SECTION_NAME__.
3151 (INIT_SECTION_ASM_OP): Change all uses to
3152 __LIBGCC_INIT_SECTION_ASM_OP__.
3153 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3154 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3155 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3156 __LIBGCC_STACK_GROWS_DOWNWARD__.
3157 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3158 __LIBGCC_INIT_SECTION_ASM_OP__.
3159 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3160 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3161 (EH_FRAME_SECTION_NAME): Change all uses to
3162 __LIBGCC_EH_FRAME_SECTION_NAME__.
3163 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3164 definitions. Change all uses to
3165 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3166 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3167 __LIBGCC_STACK_GROWS_DOWNWARD__.
3168 (DWARF_FRAME_REGISTERS): Change all uses to
3169 __LIBGCC_DWARF_FRAME_REGISTERS__.
3170 (EH_RETURN_STACKADJ_RTX): Change all uses to
3171 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3172 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3173 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3174 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3175 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3176 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3177
b20ee094
NS
31782014-09-02 Nathan sidwell <nathan@acm.org>
3179
3180 * libgcov-interface.c (STRONG_ALIAS): New.
3181 (__gcov_flush): Call __gcov_reset_int.
3182 (__gcov_reset): Strong alias for ...
3183 (__gcov_reset_ing): ... this renamed hidden version.
3184 * libgcov.h (__gcov_reset_int): New declaration.
3185
1ac83976
YS
31862014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3187
25efdb9f
YS
3188 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3189 call from here...
3190 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3191 (__dso_handle): Define on Cygwin.
3192 * config/i386/t-cygming (crtbeginS.o): New rule.
3193 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3194
1ac83976
YS
3195 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3196 declaration syntax.
3197
c6f9ea3b
SE
31982014-08-13 Steve Ellcey <sellcey@mips.com>
3199
3200 * crtstuff.c: Undef caddr_t.
3201
5b1ea7c5
SE
32022014-08-12 Steve Ellcey <sellcey@mips.com>
3203
3204 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3205
4303c581
NS
32062014-08-07 Nathan Sidwell <nathan@acm.org>
3207
3208 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3209 (LIBGCOV_DRIVER): ... to here.
3210 * libgcov.h (gcov_do_dump): New #define.
3211 (struct gcov_root): New.
3212 (__gcov_root): New declaration.
3213 (__gcov_dump_one): Declare.
3214 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3215 run_accounted): Delete.
3216 (gcov_compute_histogram): Add LIST argument, adjust.
3217 (compute_summary): Adjust gcov_compute_histogram call.
3218 (gcov_do_dump): Not hidden, static in libgcov.
3219 (gcov_clear): Move to interface.c.
3220 (__gcov_dump_one): New, broken out of ...
3221 (gcov_exit): ... here. Make static.
3222 (__gcov_root): New.
3223 (__gcov_init): Adjust.
3224 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3225 declarations.
3226 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3227 (gcov_clear): Moved from driver.c. Add LIST argument.
3228 (__gcov_reset): Adjust for changed interfaces.
3229 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3230
23742a9e
RAR
32312014-08-04 Rohit <rohitarulraj@freescale.com>
3232
3233 PR target/60102
3234 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3235 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3236
b98a872b
NS
32372014-08-01 Nathan Sidwell <nathan@acm.org>
3238
3239 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3240 LIBGCOV_INTERFACE): Reformat.
3241 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3242 IN_GCOV_TOOL.
3243 * libgcov-interface.c: Reformat some comments.
3244 (__gcov_flush_mx): Add declaration. Tidy up definition.
3245
6adaaa1d
AM
32462014-07-31 Alan Modra <amodra@gmail.com>
3247 Peter Bergner <bergner@vnet.ibm.com>
3248
3249 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3250 (pack_ldouble): New function.
3251 (__gcc_qadd): Use it.
3252 (__gcc_qmul): Likewise.
3253 (__gcc_qdiv): Likewise.
3254 (__gcc_qneg): Likewise.
3255 (__gcc_stoq): Likewise.
3256 (__gcc_dtoq): Likewise.
3257
87cb0c0c
UW
32582014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3259
3260 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3261 (__tpf_eh_return): Add original return address as second parameter.
3262 Handle cases where unwinder routines were called directly, instead
3263 of from within the C++ library.
3264
19926161
NS
32652014-07-29 Nathan Sidwell <nathan@acm.org>
3266
3267 * libgcov.h: Move renaming of entry points to lib gcov specific
3268 portion.
3269 (gcov_do_dump): New rename.
3270 (gcov_rewrite): Remove inline, make HIDDEN.
3271 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3272 (gcov_exit_compute_summary): Rename to ...
3273 (compute_summary): ... here. Add LIST argument.
3274 (gcov_exit_merge_gcda): Rename to ...
3275 (merge_one_data): ... here.
3276 (gcov_exit_write_gcda): Rename to ...
3277 (write_one_data): ... here.
3278 (gcov_exit_merge_summary): Rename to ...
3279 (merge_summary): Add RUN_COUNTED argument.
3280 (gcov_exit_dump_gcov): Rename to ...
3281 (dump_one_gcov): Add RUN_COUNTED argument.
3282 (gcov_do_dump): New function, broken out of ...
3283 (gcov_exit): ... here. Call it.
3284
17522262
AG
32852014-07-27 Anthony Green <green@moxielogic.com>
3286
3287 * config.host: Add moxiebox configuration suppport.
3288
6dc33097
NS
32892014-07-27 Nathan Sidwell <nathan@acm.org>
3290
3291 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3292 (struct gcov_filename): ... here. Include buffer and max length
3293 fields.
3294 (gcov_max_filename): Remove.
3295 (gi_filename): Remove.
3296 (gcov_exit_compute_summary): Compute max filename here.
3297 (gcov_exit_merge_gcda): Add filename parm, adjust.
3298 (gcov_exit_merge_summary): Likewise.
3299 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3300 (gcov_exit): Likewise.
3301 (__gcov_init): Don't calculate max length here.
3302 * libgcov_util.c (max_filename_len): Remove.
3303 (read_gcda_file): Don't calculate max length here.
3304 (gcov_read_profile_dir): Don't propagate here.
3305 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3306 struct gcov_filename changes.
3307 (gcov_exit_open_gcda_file): Likewise.
3308
770f687d
NS
33092014-07-25 Nathan Sidwell <nathan@acm.org>
3310
3311 * libgcov-driver.c (set_gcov_dump_complete,
3312 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3313 functions polluting user's namespace.
3314 (gcov_exit): Set variable directly.
3315 (gcov_clear): Reset variable directly.
3316 * libgcov-interface.c (get_gcov_dymp_complete,
3317 reset_gov_dump_complete): Remove declarations.
3318 (__gcov_reset, __gcov_dump): Don't call them.
3319
fabf71ba
DD
33202014-07-24 DJ Delorie <dj@redhat.com>
3321
3322 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
3323 (__gcc_deregister_frame): Move logic to detect deregister function
3324 to ...
3325 (__gcc_register_frame): here, so it's consistent with the register
3326 logic.
fabf71ba 3327
d10ee722
NS
33282014-07-23 Nathan Sidwell <nathan@acm.org>
3329
3330 * libgcov-driver.c (set_gcov_list): Remove.
3331 (gcov_list): Make non-static in GCOV_TOOL.
3332 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3333
a4137090
JDA
33342014-07-17 John David Anglin <danglin@gcc.gnu.org>
3335
3336 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3337 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3338 Don't use SYNC_LOCK_RELEASE for int type.
3339
72602c6c
RB
33402014-07-14 Richard Biener <rguenther@suse.de>
3341
3342 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3343
d5313205
RX
33442014-07-11 Rong Xu <xur@google.com>
3345
3346 * libgcov-util.c (gcov_max_filename): Fix declartion.
3347
c77556a5
RX
33482014-07-10 Rong Xu <xur@google.com>
3349
3350 Add gcov-tool: an offline gcda profile processing tool
3351 Support.
3352 * libgcov-driver.c (gcov_max_filename): Make available
3353 to gcov-tool.
3354 * libgcov-merge.c (__gcov_merge_add): Replace
3355 gcov_read_counter() with a Macro.
3356 (__gcov_merge_ior): Ditto.
3357 (__gcov_merge_time_profile): Ditto.
3358 (__gcov_merge_single): Ditto.
3359 (__gcov_merge_delta): Ditto.
3360 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3361 in the utility functions.
3362 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3363 gcov_list object link lists.
3364 (tag_function): Ditto.
3365 (tag_blocks): Ditto.
3366 (tag_arcs): Ditto.
3367 (tag_lines): Ditto.
3368 (tag_counters): Ditto.
3369 (tag_summary): Ditto.
3370 (read_gcda_finalize): Ditto.
3371 (read_gcda_file): Ditto.
3372 (ftw_read_file): Ditto.
3373 (read_profile_dir_init): Ditto.
3374 (gcov_read_profile_dir): Ditto.
3375 (gcov_read_counter_mem): Ditto.
3376 (gcov_get_merge_weight): Ditto.
3377 (merge_wrapper): A wrapper function that calls merging handler.
3378 (gcov_merge): Merge two gcov_info objects with weights.
3379 (find_match_gcov_info): Find the matched gcov_info in the list.
3380 (gcov_profile_merge): Merge two gcov_info object lists.
3381 (__gcov_add_counter_op): Process edge profile counter values.
3382 (__gcov_ior_counter_op): Process IOR profile counter values.
3383 (__gcov_delta_counter_op): Process delta profile counter values.
3384 (__gcov_single_counter_op): Process single profile counter values.
3385 (fp_scale): Callback function for float-point scaling.
cc86234f 3386 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
3387 (gcov_profile_scale): Scaling profile counters.
3388 (gcov_profile_normalize): Normalize profile counters.
3389 * libgcov.h: Add headers and functions for gcov-tool use.
3390 (gcov_get_counter): New.
3391 (gcov_get_counter_target): Ditto.
3392 (struct gcov_info): Make the functions field mutable in gcov-tool
3393 compilation.
3394
5c7dac8a
KT
33952014-06-23 Kai Tietz <ktietz@redhat.com>
3396
3397 PR libgcc/61585
3398 * unwind-seh.c (_Unwind_GetGR): Check for proper
3399 index range.
3400 (_Unwind_SetGR): Likewise.
3401
161c9312
NC
34022014-05-22 Nick Clifton <nickc@redhat.com>
3403
3404 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3405 -mhwmult=none.
3406
e3f0315f
TJ
34072014-05-22 Teresa Johnson <tejohnson@google.com>
3408
3409 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3410 include.
3411
dbed5a9b
JM
34122014-05-20 John Marino <gnugcc@marino.st>
3413
3414 * config.host (*-*-dragonfly*): New target.
3415 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3416 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3417 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3418 * config/i386/dragonfly-unwind.h: New.
3419
1ec380e5
MR
34202014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3421
3422 PR libgcc/60166
3423 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3424 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3425
54fde020
BE
34262014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3427
3428 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3429 implementation.
3430
999db125
GJL
34312014-05-12 Georg-Johann Lay <avr@gjlay.de>
3432
3433 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3434
cceaf54a
RO
34352014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3436
3437 PR libgcc/61097
3438 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3439 if --enable-shared.
3440
e3fe9b5b
BE
34412014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3442
3443 Work around for current cygwin32 build problems.
3444 * config/i386/cygming-crtbegin.c (__register_frame_info,
3445 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3446 functions only for 64-bit systems.
3447
54cf37e9
RO
34482014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3449
3450 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3451 (sigill_caught, sigill_hdlr): Remove.
3452
d9f069ab
RO
34532014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3454
3455 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3456 check.
3457 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3458 Solaris 9 single-threaded support.
3459 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3460 Solaris 9 single-threaded support. Add call_user_handler code
3461 sequences.
3462 (sparc_is_sighandler): Likewise.
3463
59976ef8
AK
34642014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3465
3466 * config.host: Append t-floattodi to tmake_file depending on
3467 host_address.
3468
d02bbcf3
JS
34692014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3470
31466bc0 3471 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 3472
c2e7e597
UB
34732014-03-10 Uros Bizjak <ubizjak@gmail.com>
3474
3475 PR libgcc/60472
3476 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 3477 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
3478 Use __builtin_expect when checking *jcr_list for NULL.
3479
227a7dc8
RO
34802014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3481
3482 PR libgcc/59339
3483 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3484 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3485 vtv_*.o to extra_parts if enable_vtable_verify.
3486
df2b279c
NC
34872014-03-06 Nick Clifton <nickc@redhat.com>
3488
3489 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3490 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3491
dc11d79b
JY
34922014-02-28 Joey Ye <joey.ye@arm.com>
3493
3494 PR libgcc/60166
3495 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3496 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3497 Set to zero.
3498
341c653c
WL
34992014-02-24 Walter Lee <walt@tilera.com>
3500
3501 * config.host: Support "tilegx*" and "tilepro*" triplets.
3502 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3503 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3504
95ce7613
CLT
35052014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3506 Chung-Lin Tang <cltang@codesourcery.com>
3507
3508 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3509 * config/nios2/crti.S: Remove .file directive.
3510 * config/nios2/crtn.S: Likewise.
3511
0bb4fc05
KT
35122014-02-18 Kai Tietz <ktietz@redhat.com>
3513 Jonathan Schleifer <js@webkeks.org>
3514
3515 PR objc/56870
3516 * unwind-seh.c (_GCC_specific_handler): Pass proper
3517 value to unwind-handler.
3518
9acf28f1
JM
35192014-02-12 Joseph Myers <joseph@codesourcery.com>
3520
3521 * soft-fp/adddf3.c: Update from glibc.
3522 * soft-fp/addsf3.c: Likewise.
3523 * soft-fp/addtf3.c: Likewise.
3524 * soft-fp/divdf3.c: Likewise.
3525 * soft-fp/divsf3.c: Likewise.
3526 * soft-fp/divtf3.c: Likewise.
3527 * soft-fp/double.h: Likewise.
3528 * soft-fp/eqdf2.c: Likewise.
3529 * soft-fp/eqsf2.c: Likewise.
3530 * soft-fp/eqtf2.c: Likewise.
3531 * soft-fp/extenddftf2.c: Likewise.
3532 * soft-fp/extended.h: Likewise.
3533 * soft-fp/extendsfdf2.c: Likewise.
3534 * soft-fp/extendsftf2.c: Likewise.
3535 * soft-fp/extendxftf2.c: Likewise.
3536 * soft-fp/fixdfdi.c: Likewise.
3537 * soft-fp/fixdfsi.c: Likewise.
3538 * soft-fp/fixdfti.c: Likewise.
3539 * soft-fp/fixsfdi.c: Likewise.
3540 * soft-fp/fixsfsi.c: Likewise.
3541 * soft-fp/fixsfti.c: Likewise.
3542 * soft-fp/fixtfdi.c: Likewise.
3543 * soft-fp/fixtfsi.c: Likewise.
3544 * soft-fp/fixtfti.c: Likewise.
3545 * soft-fp/fixunsdfdi.c: Likewise.
3546 * soft-fp/fixunsdfsi.c: Likewise.
3547 * soft-fp/fixunsdfti.c: Likewise.
3548 * soft-fp/fixunssfdi.c: Likewise.
3549 * soft-fp/fixunssfsi.c: Likewise.
3550 * soft-fp/fixunssfti.c: Likewise.
3551 * soft-fp/fixunstfdi.c: Likewise.
3552 * soft-fp/fixunstfsi.c: Likewise.
3553 * soft-fp/fixunstfti.c: Likewise.
3554 * soft-fp/floatdidf.c: Likewise.
3555 * soft-fp/floatdisf.c: Likewise.
3556 * soft-fp/floatditf.c: Likewise.
3557 * soft-fp/floatsidf.c: Likewise.
3558 * soft-fp/floatsisf.c: Likewise.
3559 * soft-fp/floatsitf.c: Likewise.
3560 * soft-fp/floattidf.c: Likewise.
3561 * soft-fp/floattisf.c: Likewise.
3562 * soft-fp/floattitf.c: Likewise.
3563 * soft-fp/floatundidf.c: Likewise.
3564 * soft-fp/floatundisf.c: Likewise.
3565 * soft-fp/floatunditf.c: Likewise.
3566 * soft-fp/floatunsidf.c: Likewise.
3567 * soft-fp/floatunsisf.c: Likewise.
3568 * soft-fp/floatunsitf.c: Likewise.
3569 * soft-fp/floatuntidf.c: Likewise.
3570 * soft-fp/floatuntisf.c: Likewise.
3571 * soft-fp/floatuntitf.c: Likewise.
3572 * soft-fp/gedf2.c: Likewise.
3573 * soft-fp/gesf2.c: Likewise.
3574 * soft-fp/getf2.c: Likewise.
3575 * soft-fp/ledf2.c: Likewise.
3576 * soft-fp/lesf2.c: Likewise.
3577 * soft-fp/letf2.c: Likewise.
3578 * soft-fp/muldf3.c: Likewise.
3579 * soft-fp/mulsf3.c: Likewise.
3580 * soft-fp/multf3.c: Likewise.
3581 * soft-fp/negdf2.c: Likewise.
3582 * soft-fp/negsf2.c: Likewise.
3583 * soft-fp/negtf2.c: Likewise.
3584 * soft-fp/op-1.h: Likewise.
3585 * soft-fp/op-2.h: Likewise.
3586 * soft-fp/op-4.h: Likewise.
3587 * soft-fp/op-8.h: Likewise.
3588 * soft-fp/op-common.h: Likewise.
3589 * soft-fp/quad.h: Likewise.
3590 * soft-fp/single.h: Likewise.
3591 * soft-fp/soft-fp.h: Likewise.
3592 * soft-fp/subdf3.c: Likewise.
3593 * soft-fp/subsf3.c: Likewise.
3594 * soft-fp/subtf3.c: Likewise.
3595 * soft-fp/truncdfsf2.c: Likewise.
3596 * soft-fp/trunctfdf2.c: Likewise.
3597 * soft-fp/trunctfsf2.c: Likewise.
3598 * soft-fp/trunctfxf2.c: Likewise.
3599 * soft-fp/unorddf2.c: Likewise.
3600 * soft-fp/unordsf2.c: Likewise.
3601 * soft-fp/unordtf2.c: Likewise.
3602 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3603 macro.
3604 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3605 Likewise.
3606 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3607 Likewise.
3608 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3609 Likewise.
3610 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3611 Likewise.
3612 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3613 Likewise.
3614 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3615 Likewise.
3616 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3617 Likewise.
3618 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3619 Likewise.
3620 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3621 Likewise.
3622 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3623 Likewise.
3624 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3625 Likewise.
3626 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3627 Likewise.
3628 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3629 Likewise.
3630 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3631 Likewise.
3632 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3633 Likewise.
3634
ce245ec6
AK
36352014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3636
3637 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3638 cannot be represented.
3639 * config/s390/32/_fixsfdi.c: Likewise.
3640 * config/s390/32/_fixtfdi.c: Likewise.
3641 * config/s390/32/_fixunsdfdi.c: Likewise.
3642 * config/s390/32/_fixunssfdi.c: Likewise.
3643 * config/s390/32/_fixunstfdi.c: Likewise.
3644
1c51d688
RS
36452014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3646
3647 * configure.ac (libgcc_cv_mips_hard_float): New.
3648 * configure: Regenerate.
3649 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3650 t-softfp-sfdf for hard-float targets.
3651 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3652 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3653 (softfp_truncations, softfp_exclude_libgcc2): New.
3654 * config/t-hardfp: New file.
3655 * config/t-hardfp-sfdf: Likewise.
3656 * config/hardfp.c: Likewise.
3657
bbf391db
AK
36582014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3659
3660 * config.host: Include t-floattodi also for s390x.
3661 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3662 * config/s390/32/_fixsfdi.c: Likewise.
3663 * config/s390/32/_fixtfdi.c: Likewise.
3664 * config/s390/32/_fixunsdfdi.c: Likewise.
3665 * config/s390/32/_fixunssfdi.c: Likewise.
3666 * config/s390/32/_fixunstfdi.c: Likewise.
3667
91da0481
RO
36682014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3669
3670 PR target/59788
3671 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3672 (install-libgcc-unwind-map-forbuild): New target.
3673 (all): Depend on install-libgcc-unwind-map-forbuild.
3674 (install-libgcc-unwind-map): New target.
3675 (install): Depend on install-libgcc-unwind-map.
3676
02b67731
SL
36772014-02-02 Sandra Loosemore <sandra@codesourcery.com>
3678
3679 * config/nios2/crti.S (_init): Initialize GOT pointer from
3680 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3681
1ea0a651
RS
36822014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3683
3684 * configure.ac: Check __mips64 when setting host_address.
3685 * configure: Regenerate.
3686 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3687 mips/t-mips64 and t-softfp.
3688 (mips*-*-linux*): Don't add mips/t-tpbit.
3689 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3690 (DPBIT, DPBIT_CFLAGS): Delete.
3691 * config/mips/sfp-machine.h: New file.
3692 * config/mips/t-mips64: Likewise.
3693 * config/mips/t-softfp-tf: Likewise.
3694 * config/mips/t-tpbit: Delete.
3695
f32b0061
MS
36962014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3697
3698 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3699 as long long.
3700
a5420aa4
WL
37012014-01-25 Walter Lee <walt@tilera.com>
3702
3703 * config/tilepro/atomic.c: Include tconfig.h. Don't include
3704 config.h or system.h.
3705 (bool) Define.
3706
24534912
WL
37072014-01-25 Walter Lee <walt@tilera.com>
3708
3709 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3710 (post_atomic_barrier): Ditto.
3711 (__fetch_and_do): New macro.
3712 (__atomic_fetch_and_do): Use __fetch_and_do.
3713 (__sync_fetch_and_do): New macro.
3714 (__sync_fetch_and_add_4): New function.
3715 (__sync_fetch_and_sub_4): New function.
3716 (__sync_fetch_and_or_4): New function.
3717 (__sync_fetch_and_and_4): New function.
3718 (__sync_fetch_and_xor_4): New function.
3719 (__sync_fetch_and_nand_4): New function.
3720 (__sync_fetch_and_add_8): New function.
3721 (__sync_fetch_and_sub_8): New function.
3722 (__sync_fetch_and_or_8): New function.
3723 (__sync_fetch_and_and_8): New function.
3724 (__sync_fetch_and_xor_8): New function.
3725 (__sync_fetch_and_nand_8): New function.
3726 (__do_and_fetch): New macro.
3727 (__atomic_do_and_fetch): Use __do_and_fetch.
3728 (__sync_do_and_fetch): New macro.
3729 (__sync_add_and_fetch_4): New function.
3730 (__sync_sub_and_fetch_4): New function.
3731 (__sync_or_and_fetch_4): New function.
3732 (__sync_and_and_fetch_4): New function.
3733 (__sync_xor_and_fetch_4): New function.
3734 (__sync_nand_and_fetch_4): New function.
3735 (__sync_add_and_fetch_8): New function.
3736 (__sync_sub_and_fetch_8): New function.
3737 (__sync_or_and_fetch_8): New function.
3738 (__sync_and_and_fetch_8): New function.
3739 (__sync_xor_and_fetch_8): New function.
3740 (__sync_nand_and_fetch_8): New function.
3741 (__sync_exchange_methods): New macro.
3742 (__sync_val_compare_and_swap_4): New function.
3743 (__sync_bool_compare_and_swap_4): New function.
3744 (__sync_lock_test_and_test_4): New function.
3745 (__sync_val_compare_and_swap_8): New function.
3746 (__sync_bool_compare_and_swap_8): New function.
3747 (__sync_lock_test_and_test_8): New function.
3748 (__subword_cmpxchg_body): New macro.
3749 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3750 (__atomic_compare_exchange_2): Ditto.
3751 (__sync_subword_cmpxchg): New macro.
3752 (__sync_val_compare_and_swap_1): New function.
3753 (__sync_bool_compare_and_swap_1): New function.
3754 (__sync_val_compare_and_swap_2): New function.
3755 (__sync_bool_compare_and_swap_2): New function.
3756 (__atomic_subword): Rename to ...
3757 (__subword): ... New name.
3758 (__atomic_subword_fetch): Use __subword.
3759 (__sync_subword_fetch): New macro.
3760 (__sync_fetch_and_add_1): New function.
3761 (__sync_fetch_and_sub_1): New function.
3762 (__sync_fetch_and_or_1): New function.
3763 (__sync_fetch_and_and_1): New function.
3764 (__sync_fetch_and_xor_1): New function.
3765 (__sync_fetch_and_nand_1): New function.
3766 (__sync_fetch_and_add_2): New function.
3767 (__sync_fetch_and_sub_2): New function.
3768 (__sync_fetch_and_or_2): New function.
3769 (__sync_fetch_and_and_2): New function.
3770 (__sync_fetch_and_xor_2): New function.
3771 (__sync_fetch_and_nand_2): New function.
3772 (__sync_add_and_fetch_1): New function.
3773 (__sync_sub_and_fetch_1): New function.
3774 (__sync_or_and_fetch_1): New function.
3775 (__sync_and_and_fetch_1): New function.
3776 (__sync_xor_and_fetch_1): New function.
3777 (__sync_nand_and_fetch_1): New function.
3778 (__sync_add_and_fetch_2): New function.
3779 (__sync_sub_and_fetch_2): New function.
3780 (__sync_or_and_fetch_2): New function.
3781 (__sync_and_and_fetch_2): New function.
3782 (__sync_xor_and_fetch_2): New function.
3783 (__sync_nand_and_fetch_2): New function.
3784 (__atomic_subword_lock): Use __subword.
3785 (__sync_subword_lock): New macro.
3786 (__sync_lock_test_and_set_1): New function.
3787 (__sync_lock_test_and_set_2): New function.
3788
4d6d3bc5
WL
37892014-01-25 Walter Lee <walt@tilera.com>
3790
3791 * config/tilepro/atomic.c (BIT_OFFSET): Define.
3792 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3793 (__atomic_subword): Ditto.
3794
cbd9890e
WL
37952014-01-25 Walter Lee <walt@tilera.com>
3796
3797 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3798 a prefix op argument.
3799 (__atomic_nand_fetch_4): Add prefix op.
3800 (__atomic_nand_fetch_8): Ditto.
3801
7d296953 38022014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
3803
3804 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3805
46dd1242
L
38062014-01-09 Rong Xu <xur@google.com>
3807
3808 * libgcov-driver.c (this_prg): make it local to save
3809 bss space.
3810 (gcov_exit_compute_summary): Ditto.
3811 (gcov_exit_merge_gcda): Ditto.
3812 (gcov_exit_merge_summary): Ditto.
3813 (gcov_exit_dump_gcov): Ditto.
3814
cc86234f 38152014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
3816
3817 * libgcov-driver.c: Use libgcov.h.
3818 (buffer_fn_data): Use xmalloc instead of malloc.
3819 (gcov_exit_merge_gcda): Ditto.
3820 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3821 * libgcov.h: New common header files for libgcov-*.h.
3822 * libgcov-interface.c: Use libgcov.h
3823 * libgcov-merge.c: Ditto.
3824 * libgcov-profiler.c: Ditto.
3825 * Makefile.in: Add dependence to libgcov.h
3826
a02e7bdd
JM
38272014-01-02 Joseph Myers <joseph@codesourcery.com>
3828
3829 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3830 case of small numerator and finite nonzero result.
3831
ac1dca3c
RS
38322014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3833
3834 Update copyright years
3835
f9030485
RS
38362014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3837
3838 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3839 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3840 config/arc/dp-hack.h, config/arc/fp-hack.h,
3841 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3842 config/arc/ieee-754/arc600-dsp/divdf3.S,
3843 config/arc/ieee-754/arc600-dsp/divsf3.S,
3844 config/arc/ieee-754/arc600-dsp/muldf3.S,
3845 config/arc/ieee-754/arc600-dsp/mulsf3.S,
3846 config/arc/ieee-754/arc600-mul64/divdf3.S,
3847 config/arc/ieee-754/arc600-mul64/divsf3.S,
3848 config/arc/ieee-754/arc600-mul64/muldf3.S,
3849 config/arc/ieee-754/arc600-mul64/mulsf3.S,
3850 config/arc/ieee-754/arc600/divsf3.S,
3851 config/arc/ieee-754/arc600/mulsf3.S,
3852 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3853 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3854 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3855 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3856 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3857 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3858 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3859 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3860 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3861 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3862 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3863 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3864 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3865 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3866 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3867 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3868 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3869 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3870 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3871 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3872 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3873 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3874 vtv_start_preinit.c: Use the standard form for the copyright notice.
3875
e430824f
CLT
38762013-12-31 Sandra Loosemore <sandra@codesourcery.com>
3877 Chung-Lin Tang <cltang@codesourcery.com>
3878 Based on patches from Altera Corporation
3879
3880 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3881 * config/nios2/lib2-nios2.h: New file.
3882 * config/nios2/lib2-divmod-hi.c: New file.
3883 * config/nios2/linux-unwind.h: New file.
3884 * config/nios2/lib2-divmod.c: New file.
3885 * config/nios2/linux-atomic.c: New file.
3886 * config/nios2/t-nios2: New file.
3887 * config/nios2/crti.asm: New file.
3888 * config/nios2/t-linux: New file.
3889 * config/nios2/lib2-divtable.c: New file.
3890 * config/nios2/lib2-mul.c: New file.
3891 * config/nios2/tramp.c: New file.
3892 * config/nios2/crtn.asm: New file.
3893
1879e97f
UB
38942013-12-26 Uros Bizjak <ubizjak@gmail.com>
3895
3896 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3897 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3898 from cpuid.h to check vendor signatures.
3899
f4a4bdbb
GG
39002013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3901
c2e7e597 3902 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
3903 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3904 (get_amd_cpu): Likewise.
3905
8d2ae544
L
39062013-12-25 H.J. Lu <hongjiu.lu@intel.com>
3907
3908 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3909 Haswell.
3910
74924838
ASJ
39112013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3912 H.J. Lu <hongjiu.lu@intel.com>
3913
0bb52f25
L
3914 PR target/59422
3915 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
3916 and AMD_JAGUAR.
3917 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3918 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3919 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
3920 FEATURE_XOP and FEATURE_FMA.
3921 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3922 AMDFAM15H_BDVER3.
3923 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 3924 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
3925 FEATURE_FMA4 and FEATURE_XOP.
3926
d3c11974
L
39272013-12-23 H.J. Lu <hongjiu.lu@intel.com>
3928
3929 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3930 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3931 (get_intel_cpu): Updated.
3932
064c4ff2
ZC
39332013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
3934
3935 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3936
8b02e720
UB
39372013-12-09 Uros Bizjak <ubizjak@gmail.com>
3938
3939 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 3940 instructions when __SSE_MATH__ is defined.
8b02e720 3941
3fa2ccb4
RC
39422013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
3943
3944 * config.host (microblaze-*-rtems*): New.
3945
ecd78fc9
KV
39462013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
3947
3948 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3949 architectures that do not have hardware divide instruction.
3950 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3951
b21fbbd2
RS
39522013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
3953
3954 * longlong.h: Delete (moved to include/).
3955
b03fb8c9
AZ
39562013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3957
3958 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3959 of normal number and qNaN to not raise an inexact exception.
3960
3c716922
UB
39612013-11-28 Uros Bizjak <ubizjak@gmail.com>
3962
3963 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3964
39652013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
3966
3967 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3968 for correct opcodes on BE.
3969
a3458d22
UB
39702013-11-27 Uros Bizjak <ubizjak@gmail.com>
3971
3972 * soft-fp/op-4.h: Update from glibc.
3973
30b8f78b
KV
39742013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
3975
3976 * libgcc2.c (__udivmoddi4): Define new implementation when
3977 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3978 divide instructions.
3979
82552a29
OE
39802013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
3981
3982 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3983
80e87457
RO
39842013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3985
3986 * config/t-softfp (soft-fp-objects-base): New variable.
3987 (soft-fp-objects): Use it.
3988
44178879
DE
39892013-11-23 David Edelson <dje.gcc@gmail.com>
3990 Andrew Dixie <andrewd@gentrack.com>
3991
3992 PR target/33704
3993 * config/rs6000/aixinitfini.c: New file.
3994 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3995 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3996 symbols.
3997
e5287671
YR
39982013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
3999
a3458d22 4000 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4001
867c8b03
JH
40022013-11-18 Jan Hubicka <jh@suse.cz>
4003
7f369373
JH
4004 * libgcov-driver.c (run_accounted): Make global level static.
4005 (gcov_exit_merge_summary): Silence warning; do not clear
4006 run_accounted here.
4007 (gcov_exit): Clear it here.
4008
1d0b3334
JH
4009 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4010 run_accounted.
4011
867c8b03
JH
4012 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4013 (all_prg, crc32): Remove static vars.
4014 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4015 all_prg.
4016 (gcov_exit_merge_gcda): Add crc32 parameter.
4017 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4018 do not account run if it was already accounted.
4019 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4020 (gcov_exit): Initialize all_prg; update.
4021
66204992
AS
40222013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4023
4024 * configure: Regenerate.
4025
b54214fe
UW
40262013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4027 Alan Modra <amodra@gmail.com>
4028
4029 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4030 (frob_update_context): Use it.
4031
40322013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4033 Alan Modra <amodra@gmail.com>
4034
4035 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4036 (trampoline_initial): Provide ELFv2 variant.
4037 (__trampoline_setup): Likewise.
4038
4039 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4040 check for AIX indirect function call sequence if _CALL_ELF == 2.
4041
40422013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4043 Alan Modra <amodra@gmail.com>
4044
4045 * config/rs6000/linux-unwind.h (get_regs): Do not support
4046 old kernel versions if _CALL_ELF == 2.
4047 (frob_update_context): Do not support PLT stub variants only
4048 generated by old linkers if _CALL_ELF == 2.
4049
13e0981a
UW
40502013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4051 Alan Modra <amodra@gmail.com>
4052
4053 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4054 location of CR save area for 64-bit little-endian systems.
4055
1a80085d
EB
40562013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4057
4058 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4059 in tmake_file.
4060 * config/arm/t-vxworks: Delete.
4061
cabeea52
KT
40622013-11-10 Kai Tietz <ktietz@redhat.com>
4063
4064 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4065 Increment load-count on use of LIBGCC_SONAME DLL.
4066 (hmod_libgcc): New static variable to hold handle of
4067 LIBGCC_SONAME DLL.
4068 (__gcc_deregister_frame): Decrement load-count of
4069 LIBGCC_SONAME DLL.
4070
ac088ba1
BRF
40712013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4072
4073 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4074 availability.
4075 * configure: Regenerate
4076
d59a8fcc
UB
40772013-11-07 Uros Bizjak <ubizjak@gmail.com>
4078
4079 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4080 FP_EX_DENORM. Store result to volatile location after SSE division
4081 to close interrupt window. Remove unneeded fwait after x87
4082 division since interrupt window will be closed by emitted fstp.
9de84e84 4083 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4084
9954c743
JM
40852013-11-06 Joseph Myers <joseph@codesourcery.com>
4086
4087 * soft-fp/README: Update.
4088 * soft-fp/adddf3.c: Update from glibc.
4089 * soft-fp/addsf3.c: Likewise.
4090 * soft-fp/addtf3.c: Likewise.
4091 * soft-fp/divdf3.c: Likewise.
4092 * soft-fp/divsf3.c: Likewise.
4093 * soft-fp/divtf3.c: Likewise.
4094 * soft-fp/double.h: Likewise.
4095 * soft-fp/eqdf2.c: Likewise.
4096 * soft-fp/eqsf2.c: Likewise.
4097 * soft-fp/eqtf2.c: Likewise.
4098 * soft-fp/extenddftf2.c: Likewise.
4099 * soft-fp/extended.h: Likewise.
4100 * soft-fp/extendsfdf2.c: Likewise.
4101 * soft-fp/extendsftf2.c: Likewise.
4102 * soft-fp/extendxftf2.c: Likewise.
4103 * soft-fp/fixdfdi.c: Likewise.
4104 * soft-fp/fixdfsi.c: Likewise.
4105 * soft-fp/fixdfti.c: Likewise.
4106 * soft-fp/fixsfdi.c: Likewise.
4107 * soft-fp/fixsfsi.c: Likewise.
4108 * soft-fp/fixsfti.c: Likewise.
4109 * soft-fp/fixtfdi.c: Likewise.
4110 * soft-fp/fixtfsi.c: Likewise.
4111 * soft-fp/fixtfti.c: Likewise.
4112 * soft-fp/fixunsdfdi.c: Likewise.
4113 * soft-fp/fixunsdfsi.c: Likewise.
4114 * soft-fp/fixunsdfti.c: Likewise.
4115 * soft-fp/fixunssfdi.c: Likewise.
4116 * soft-fp/fixunssfsi.c: Likewise.
4117 * soft-fp/fixunssfti.c: Likewise.
4118 * soft-fp/fixunstfdi.c: Likewise.
4119 * soft-fp/fixunstfsi.c: Likewise.
4120 * soft-fp/fixunstfti.c: Likewise.
4121 * soft-fp/floatdidf.c: Likewise.
4122 * soft-fp/floatdisf.c: Likewise.
4123 * soft-fp/floatditf.c: Likewise.
4124 * soft-fp/floatsidf.c: Likewise.
4125 * soft-fp/floatsisf.c: Likewise.
4126 * soft-fp/floatsitf.c: Likewise.
4127 * soft-fp/floattidf.c: Likewise.
4128 * soft-fp/floattisf.c: Likewise.
4129 * soft-fp/floattitf.c: Likewise.
4130 * soft-fp/floatundidf.c: Likewise.
4131 * soft-fp/floatundisf.c: Likewise.
4132 * soft-fp/floatunditf.c: Likewise.
4133 * soft-fp/floatunsidf.c: Likewise.
4134 * soft-fp/floatunsisf.c: Likewise.
4135 * soft-fp/floatunsitf.c: Likewise.
4136 * soft-fp/floatuntidf.c: Likewise.
4137 * soft-fp/floatuntisf.c: Likewise.
4138 * soft-fp/floatuntitf.c: Likewise.
4139 * soft-fp/gedf2.c: Likewise.
4140 * soft-fp/gesf2.c: Likewise.
4141 * soft-fp/getf2.c: Likewise.
4142 * soft-fp/ledf2.c: Likewise.
4143 * soft-fp/lesf2.c: Likewise.
4144 * soft-fp/letf2.c: Likewise.
4145 * soft-fp/muldf3.c: Likewise.
4146 * soft-fp/mulsf3.c: Likewise.
4147 * soft-fp/multf3.c: Likewise.
4148 * soft-fp/negdf2.c: Likewise.
4149 * soft-fp/negsf2.c: Likewise.
4150 * soft-fp/negtf2.c: Likewise.
4151 * soft-fp/op-1.h: Likewise.
4152 * soft-fp/op-2.h: Likewise.
4153 * soft-fp/op-4.h: Likewise.
4154 * soft-fp/op-8.h: Likewise.
4155 * soft-fp/op-common.h: Likewise.
4156 * soft-fp/quad.h: Likewise.
4157 * soft-fp/single.h: Likewise.
4158 * soft-fp/soft-fp.h: Likewise.
4159 * soft-fp/subdf3.c: Likewise.
4160 * soft-fp/subsf3.c: Likewise.
4161 * soft-fp/subtf3.c: Likewise.
4162 * soft-fp/truncdfsf2.c: Likewise.
4163 * soft-fp/trunctfdf2.c: Likewise.
4164 * soft-fp/trunctfsf2.c: Likewise.
4165 * soft-fp/trunctfxf2.c: Likewise.
4166 * soft-fp/unorddf2.c: Likewise.
4167 * soft-fp/unordsf2.c: Likewise.
4168 * soft-fp/unordtf2.c: Likewise.
4169
02ac9503
UB
41702013-11-05 Uros Bizjak <ubizjak@gmail.com>
4171
4172 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4173 (_FP_MUL_MEAT_D): Ditto.
4174 (_FP_DIV_MEAT_S): Ditto.
4175 (_FP_DIV_MEAT_D): Ditto.
4176 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4177 t-softfp-sfdf and t-softfp to tmake_file.
4178
61221141
UB
41792013-11-03 Uros Bizjak <ubizjak@gmail.com>
4180
4181 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4182 * config/i386/crtprec.c: Ditto.
4183
9304f876
CJW
41842013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4185 Shiva Chen <shiva0217@gmail.com>
4186
4187 * config.host (nds32*-elf*): Add nds32 target.
4188 * config/nds32 : New directory and files.
4189
0e499e75
HPN
41902013-10-16 Hans-Peter Nilsson <hp@axis.com>
4191
4192 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4193 * config.host (cpu_type) <Setting default>: Add entry for
4194 crisv32-*-*.
4195 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4196 <crisv32-*-linux*>: Adjust.
4197 * longlong.h: Wrap the whole CRIS section in a single
4198 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4199 and sub_ddmmss.
4200 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4201 defined.
4202 [__CRIS__] (__umulsidi3): Define.
4203 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4204 * config/cris/sfp-machine.h: New file.
4205 * config/cris/umulsidi3.S: New file.
4206 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4207 * config/cris/arit.c (SIGNMULT): New macro.
4208 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4209 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4210 saving 3 out of originally 33 cycles from the fastest
4211 path, 3 out of 54 from the medium path and one from the longest
4212 path. Improve comments.
4213
16022041
RS
42142013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4215
4216 * sync.c: Remove static aliases and define each function directly
4217 under its real name.
4218
69778659
JDA
42192013-10-02 John David Anglin <danglin@gcc.gnu.org>
4220
4221 * config.host (hppa*64*-*-linux*): Define extra_parts.
4222 (hppa*-*-linux*): Likewise.
4223
2deaf8b0
JR
42242013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4225
4226 * config/arc/crtgend.S: Add 2013 to Copyright years.
4227 * config/arc/gmon/atomic.h: Likewise.
4228 * config/arc/gmon/auxreg.h: Likewise.
4229 * config/arc/gmon/sys/gmon_out.h: Likewise.
4230 * config/arc/gmon/sys/gmon.h: Likewise.
4231 * config/arc/gmon/prof-freq.c: Likewise.
4232 * config/arc/gmon/mcount.c: Likewise.
4233 * config/arc/gmon/prof-freq-stub.S: Likewise.
4234 * config/arc/gmon/gmon.c: Likewise.
4235 * config/arc/gmon/machine-gmon.h: Likewise.
4236 * config/arc/gmon/profil.S: Likewise.
4237 * config/arc/gmon/dcache_linesz.S: Likewise.
4238 * config/arc/crtg.S: Likewise.
4239 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4240 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4241 * config/arc/ieee-754/adddf3.S: Likewise.
4242 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4243 * config/arc/ieee-754/fixsfsi.S: Likewise.
4244 * config/arc/ieee-754/gtsf2.S: Likewise.
4245 * config/arc/ieee-754/floatsisf.S: Likewise.
4246 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4247 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4248 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4249 * config/arc/ieee-754/fixdfsi.S: Likewise.
4250 * config/arc/ieee-754/addsf3.S: Likewise.
4251 * config/arc/ieee-754/gesf2.S: Likewise.
4252 * config/arc/ieee-754/floatsidf.S: Likewise.
4253 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4254 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4255 * config/arc/ieee-754/gtdf2.S: Likewise.
4256 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4257 * config/arc/ieee-754/uneqdf2.S: Likewise.
4258 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4259 * config/arc/ieee-754/uneqsf2.S: Likewise.
4260 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4261 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4262 * config/arc/ieee-754/eqdf2.S: Likewise.
4263 * config/arc/ieee-754/ordsf2.S: Likewise.
4264 * config/arc/ieee-754/divsf3.S: Likewise.
4265 * config/arc/ieee-754/divdf3.S: Likewise.
4266 * config/arc/ieee-754/floatunsidf.S: Likewise.
4267 * config/arc/ieee-754/orddf2.S: Likewise.
4268 * config/arc/ieee-754/eqsf2.S: Likewise.
4269 * config/arc/ieee-754/gedf2.S: Likewise.
4270 * config/arc/crtn.S: Likewise.
4271 * config/arc/crti.S: Likewise.
4272 * config/arc/t-arc700-uClibc: Likewise.
4273 * config/arc/asm.h: Likewise.
4274 * config/arc/libgcc-excl.ver: Likewise.
4275 * config/arc/t-arc-newlib: Likewise.
4276 * config/arc/divtab-arc700.c: Likewise.
4277 * config/arc/initfini.c: Likewise.
4278 * config/arc/fp-hack.h: Likewise.
4279
c8e318b0
JR
42802013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4281 Diego Novillo <dnovillo@google.com>
4282
4283 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
4284 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4285 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4286 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 4287
d38a64b4
JR
42882013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4289 Brendan Kehoe <brendan@zen.org>
4290 Simon Cook <simon.cook@embecosm.com>
4291
4292 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4293 * config/arc: New directory.
4294 * longlong.h [__arc__] (umul_ppmm): Remove.
4295 [__arc__] (__umulsidi3): Define.
4296 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4297 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4298
dff717d2
JC
42992013-09-17 Jacek Caban <jacek@codeweavers.com>
4300
4301 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4302 CreateSemaphoreA.
4303 * config/i386/gthr-win32.h: Likewise.
4304
5c0029de
DD
43052013-09-16 DJ Delorie <dj@redhat.com>
4306
844ad6c6 4307 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
4308 * config/rl78/lib2mul.c: Enable for RL78/G10.
4309 * config/rl78/lib2div.c: Likewise.
4310 * config/rl78/lshrsi3.S: Use vregs.h.
4311 * config/rl78/cmpsi2.S: Likewise.
4312 * config/rl78/trampoline.S: Likewise.
4313 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4314
ceb2fc49
DD
43152013-09-14 DJ Delorie <dj@redhat.com>
4316 Nick Clifton <nickc@redhat.com>
4317
4318 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4319 * config/rl78/vregs.h: New.
4320 * config/rl78/signbit.S: New file. Implements signbit function.
4321 * config/rl78/divmodsi.S: New.
4322 * config/rl78/divmodhi.S: New.
4323 * config/rl78/divmodqi.S: New.
4324 * config/rl78/t-rl78: Build them here...
4325 * config/rl78/lib2div.c: ...but not here.
4326
f6a83b4a
DD
43272013-09-12 DJ Delorie <dj@redhat.com>
4328
4329 * config.host (msp*-*-elf): New.
4330 * config/msp430/: New port.
4331
9107b096
IS
43322013-08-18 Iain Sandoe <iain@codesourcery.com>
4333
4334 PR gcov-profile/58127
4335 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4336 __thread var for emulated TLS.
4337 (__gcov_indirect_call_counters): Likewise.
4338
0f9bde1f 43392013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 4340 Catherine Moore <clm@codesourcery.com>
7d296953 4341 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
4342
4343 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4344 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4345 (CALL_STUB_NO_RET): Likewise.
4346 (CALL_STUB_RET): Likewise.
4347 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4348 __mips16_ret call/return stub symbols.
4349 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4350 to tmake_file.
4351
2dc14aac
MR
43522013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4353
4354 * config.host <mips*-*-linux*>: Remove a stray comment.
4355
748d71f3
JH
43562013-08-10 Jan Hubicka <jh@suse.cz>
4357
4358 Work around binutils PR14342
4359 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4360 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4361 (L_gcov_indirect_call_profiler_v2): New.
4362
2fa3d31b
JH
43632013-08-06 Jan Hubicka <jh@suse.cz>
4364
4365 * libgcov.c (__gcov_indirect_call_callee,
4366 __gcov_indirect_call_counters): New global vars.
4367 (__gcov_indirect_call_profiler): replace by ...
4368 (__gcov_indirect_call_profiler_v2) ... this one.
4369
2077db1b
CT
43702013-08-06 Caroline Tice <cmtice@google.com>
4371
d0595b65 4372 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 4373 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
4374 * configure.ac: Add code to check/set enable_vtable_verify.
4375 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 4376 true.
d0595b65
CT
4377 * vtv_start_preinit.c: New file.
4378 * vtv_end_preinit.c: New file.
4379 * vtv_start.c: New file.
4380 * vtv_end.c: New file.
4381 * configure: Regenerated.
2077db1b 4382
46549c20
MK
43832013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4384
4385 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4386 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4387 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4388 GPL-3.0-with-GCC-exception.
4389
72be589b
MR
43902013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4391
4392 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4393 ISA and up.
4394
902a3faf
AK
43952013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4396
4397 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4398 mapping for FPRs when creating the fallback framestate.
4399
02371798
GJL
44002013-07-19 Georg-Johann Lay <avr@gjlay.de>
4401
4402 PR target/57516
4403 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4404 (__round_s2_const, __round_u2_const)
4405 (__round_s4_const, __round_u4_const, __round_x8):
4406 Saturate result if addition result cannot be represented.
4407
ab0e8379
MK
44082013-07-15 Matthias Klose <doko@ubuntu.com>
4409
4410 * libgcc2.c: Don't include <limits.h>.
4411
7da38058
JJ
44122013-07-09 Janis Johnson <janisjo@codesourcery.com>
4413
4414 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4415
1f6eac90
JJ
44162013-07-06 Jakub Jelinek <jakub@redhat.com>
4417
4418 PR target/29776
4419 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4420
4ea3d774
JJ
44212013-06-28 Jakub Jelinek <jakub@redhat.com>
4422
4423 PR middle-end/36041
4424 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4425 Define.
4426 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4427 instead of table lookups.
4428 (__popcountDI2): Likewise.
4429
9d2cdf25
CJW
44302013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4431
4432 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4433 correctly.
4434
fa1e55b0
JM
44352013-06-21 Joseph Myers <joseph@codesourcery.com>
4436
4437 PR other/53317
4438 * soft-fp/adddf3.c: Update from glibc.
4439 * soft-fp/addsf3.c: Likewise.
4440 * soft-fp/addtf3.c: Likewise.
4441 * soft-fp/divdf3.c: Likewise.
4442 * soft-fp/divsf3.c: Likewise.
4443 * soft-fp/divtf3.c: Likewise.
4444 * soft-fp/double.h: Likewise.
4445 * soft-fp/eqdf2.c: Likewise.
4446 * soft-fp/eqsf2.c: Likewise.
4447 * soft-fp/eqtf2.c: Likewise.
4448 * soft-fp/extenddftf2.c: Likewise.
4449 * soft-fp/extended.h: Likewise.
4450 * soft-fp/extendsfdf2.c: Likewise.
4451 * soft-fp/extendsftf2.c: Likewise.
4452 * soft-fp/fixdfdi.c: Likewise.
4453 * soft-fp/fixdfsi.c: Likewise.
4454 * soft-fp/fixsfdi.c: Likewise.
4455 * soft-fp/fixsfsi.c: Likewise.
4456 * soft-fp/fixtfdi.c: Likewise.
4457 * soft-fp/fixtfsi.c: Likewise.
4458 * soft-fp/fixunsdfdi.c: Likewise.
4459 * soft-fp/fixunsdfsi.c: Likewise.
4460 * soft-fp/fixunssfdi.c: Likewise.
4461 * soft-fp/fixunssfsi.c: Likewise.
4462 * soft-fp/fixunstfdi.c: Likewise.
4463 * soft-fp/fixunstfsi.c: Likewise.
4464 * soft-fp/floatdidf.c: Likewise.
4465 * soft-fp/floatdisf.c: Likewise.
4466 * soft-fp/floatditf.c: Likewise.
4467 * soft-fp/floatsidf.c: Likewise.
4468 * soft-fp/floatsisf.c: Likewise.
4469 * soft-fp/floatsitf.c: Likewise.
4470 * soft-fp/floatundidf.c: Likewise.
4471 * soft-fp/floatundisf.c: Likewise.
4472 * soft-fp/floatunditf.c: Likewise.
4473 * soft-fp/floatunsidf.c: Likewise.
4474 * soft-fp/floatunsisf.c: Likewise.
4475 * soft-fp/floatunsitf.c: Likewise.
4476 * soft-fp/gedf2.c: Likewise.
4477 * soft-fp/gesf2.c: Likewise.
4478 * soft-fp/getf2.c: Likewise.
4479 * soft-fp/ledf2.c: Likewise.
4480 * soft-fp/lesf2.c: Likewise.
4481 * soft-fp/letf2.c: Likewise.
4482 * soft-fp/muldf3.c: Likewise.
4483 * soft-fp/mulsf3.c: Likewise.
4484 * soft-fp/multf3.c: Likewise.
4485 * soft-fp/negdf2.c: Likewise.
4486 * soft-fp/negsf2.c: Likewise.
4487 * soft-fp/negtf2.c: Likewise.
4488 * soft-fp/op-1.h: Likewise.
4489 * soft-fp/op-2.h: Likewise.
4490 * soft-fp/op-4.h: Likewise.
4491 * soft-fp/op-8.h: Likewise.
4492 * soft-fp/op-common.h: Likewise.
4493 * soft-fp/quad.h: Likewise.
4494 * soft-fp/single.h: Likewise.
4495 * soft-fp/soft-fp.h: Likewise.
4496 * soft-fp/subdf3.c: Likewise.
4497 * soft-fp/subsf3.c: Likewise.
4498 * soft-fp/subtf3.c: Likewise.
4499 * soft-fp/truncdfsf2.c: Likewise.
4500 * soft-fp/trunctfdf2.c: Likewise.
4501 * soft-fp/trunctfsf2.c: Likewise.
4502 * soft-fp/unorddf2.c: Likewise.
4503 * soft-fp/unordsf2.c: Likewise.
4504 * soft-fp/unordtf2.c: Likewise.
4505 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4506 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4507 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4508 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4509 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4510 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4511 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4512 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4513 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4514 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4515 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4516 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4517
0de86a92
JU
45182013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4519
4520 * config/mips/lib2funcs.c: New file.
4521 * config/mips/t-mips (LIB2ADD_ST): Add it.
4522
0d008882
OE
45232013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4524
4525 PR target/6526
4526 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4527 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4528
776434d1
WL
45292013-06-08 Walter Lee <walt@tilera.com>
4530
4531 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4532 Replace int64_t with long long. Add __extension__ where
4533 appropriate.
4534 * config/tilepro/atomic.c: Include config.h.
4535
6ab3ebb4
DR
45362013-06-06 Douglas B Rupp <rupp@adacore.com>
4537
4538 * config.host (arm-wrs-vxworks): Configure with other soft float.
4539
107eea2c
JU
45402013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4541
4542 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4543 (mips64r5900el-*-elf*): New configurations.
4544
5cc19c62
AM
45452013-06-04 Alan Modra <amodra@gmail.com>
4546
4547 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4548
0f1d3965
YR
45492013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4550
4551 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4552
0ba045df
EB
45532013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4554
4555 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4556 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4557 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4558
49dcafd4
EB
45592013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4560
4561 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4562 (powerpc-wrs-vxworks): Likewise.
4563
4fcb5d87
EB
45642013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4565
4566 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4567 signal frames as well.
4568 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4569 STACK_BIAS to the CFA offset.
4570
0ec33224
RH
45712013-05-17 Richard Henderson <rth@redhat.com>
4572
4573 PR target/49146
4574 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4575 (execute_cfa_program): Use it when storing to fs->regs.
4576
492a8029
KT
45772013-05-08 Kai Tietz <ktietz@redhat.com>
4578
4579 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4580 (__deregister_frame_info): Likewise.
4581
701e2f0a
TS
45822013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4583
e5123d08
TS
4584 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4585 NaN's payload.
4586
701e2f0a
TS
4587 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4588
b9a7eb5d
AM
45892013-04-25 Alan Modra <amodra@gmail.com>
4590
4591 * config.host: Match little-endian powerpc-linux.
4592
dfe192f5
YZ
45932013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4594
4595 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4596 as 'unsigned long long' instead of 'unsigned long'.
4597 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4598 'signed long'.
4599
b6b9af2f
JB
46002013-04-10 Julian Brown <julian@codesourcery.com>
4601
4602 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4603 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4604 unsigned char/unsigned short.
4605 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4606
ecabdd00
JDA
46072013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4608
4609 PR other/55274
4610 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4611
34652576
MI
46122013-04-04 Meador Inge <meadori@codesourcery.com>
4613
4614 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4615 computing the location of the link register.
4616 (aeabi_uldivmod): Ditto.
4617
e9fd8c19
KT
46182013-03-27 Kai Tietz <ktietz@redhat.com>
4619
4620 * config.host: Add support for cygwin x64 target.
4621 * configure: Regenerated.
4622
a6406324
WL
46232013-03-26 Walter Lee <walt@tilera.com>
4624
4625 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4626 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4627
55446c7e
KT
46282013-03-25 Kai Tietz <ktietz@redhat.com>
4629
4630 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4631
d2ae19d9
RM
46322013-03-20 Robert Mason <rbmj@verizon.net>
4633
4634 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4635 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4636 (__gthread_leave_tsd_dtor_context): Add prototypes.
4637 (tls_delete_hook): Update.
4638
22c4c869
CM
46392013-03-20 Catherine Moore <clm@codesourcery.com>
4640 Joseph Myers <joseph@codesourcery.com>
4641 Chao-ying Fu <fu@mips.com>
4642
4643 * config/mips/mips16.S: Don't build for microMIPS.
4644 * config/mips/linux-unwind.h: Handle microMIPS frame.
4645 * config/mips/crtn.S (fini, init): New labels.
4646
fbd28bc3
JJ
46472013-03-14 Jakub Jelinek <jakub@redhat.com>
4648
4649 PR tree-optimization/53265
4650 * unwind-dw2.c (execute_cfa_program): Avoid
4651 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4652 on targets with DWARF_FRAME_REGISTERS < 32.
4653
decc676e
OE
46542013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4655
4656 PR target/49880
4657 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4658 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4659
84ea618a
ST
46602013-03-07 Sriraman Tallam <tmsriram@google.com>
4661
4662 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4663 sandybridge processors.
4664
8f6d1c86
OE
46652013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4666
4667 PR target/56529
4668 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4669 inclusion list.
4670
ecdbd01a 46712013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
4672
4673 * config/microblaze/crti.S: Setup stack protection at entry
4674
0b4ce21b
GJL
46752013-03-04 Georg-Johann Lay <avr@gjlay.de>
4676
4677 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4678 (__rotldi3): Shift bytewise if applicable.
4679
b7c3f1ca
JG
46802013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4681
4682 * config/aarch64/sync-cache.c
4683 (__aarch64_sync_cache_range): Silence warnings.
4684
6d65e8f1
CM
46852013-02-25 Catherine Moore <clm@codesourcery.com>
4686
4687 Revert:
4688 2013-02-24 Catherine Moore <clm@codesourcery.com>
4689 Joseph Myers <joseph@codesourcery.com>
4690 Chao-ying Fu <fu@mips.com>
4691
4692 * config/mips/mips16.S: Don't build for microMIPS.
4693 * config/mips/linux-unwind.h: Handle microMIPS frame.
4694 * config/mips/crtn.S (fini, init): New labels.
4695
6941b508
CM
46962013-02-24 Catherine Moore <clm@codesourcery.com>
4697 Joseph Myers <joseph@codesourcery.com>
4698 Chao-ying Fu <fu@mips.com>
4699
4700 * config/mips/mips16.S: Don't build for microMIPS.
4701 * config/mips/linux-unwind.h: Handle microMIPS frame.
4702 * config/mips/crtn.S (fini, init): New labels.
4703
7c422dbb 47042012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 4705 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
4706 as dividend.
4707
110207ad
AM
47082013-02-16 Alan Modra <amodra@gmail.com>
4709
4710 PR target/55431
4711 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4712 (ppc_fallback_frame_state): Always set up save locations for fp
4713 and altivec. Don't bother with non-callee-saved regs, r0-r13
4714 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4715
e68a4ef6
GJL
47162013-02-12 Georg-Johann Lay <avr@gjlay.de>
4717
4718 PR target/54222
4719 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4720 _ssmulHA, _ssmulSA.
4721 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4722 _ssmulha3, _usmulusa3, _ssmulsa3.
4723 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4724 (__muldi3): XCALL __muldi3_6 instead of rcall.
4725 (__umulsidi3, __mulsidi3): New functions.
4726 (do_prologue_saves, do_epilogue_restores): New .macros.
4727 (__divdi3_moddi3): Use them.
4728 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4729 (__usmulusa3, __ssmulsa3): New functions.
4730
6c59ffd1
IS
47312013-02-11 Iain Sandoe <iain@codesourcery.com>
4732 Jack Howarth <howarth@bromo.med.uc.edu>
4733 Patrick Marlier <patrick.marlier@gmail.com>
4734
4735 PR libitm/55693
4736 * config/darwin-crt-tm.c: Remove dummy functions hack.
4737
85d768f3
GJL
47382013-02-08 Georg-Johann Lay <avr@gjlay.de>
4739
4740 PR target/54222
4741 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4742 * config/avr/lib2-object.mk: New iterator to build objects from it.
4743 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4744 lib2funcs.c.
4745 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4746 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4747 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4748 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4749 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4750 * config/avr/lib1funcs-fixed.S: Implement them.
4751
5d5bf775
RS
47522013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4753
4754 Update copyright years.
4755
99113dff
DE
47562013-02-01 David Edelsohn <dje.gcc@gmail.com>
4757
4758 PR target/54601
4759 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4760 Add crtcxa to extra_parts.
4761 * config/rs6000/exit.h: New file.
4762 * config/rs6000/cxa_atexit.c: New file.
4763 * config/rs6000/cxa_finalize.c: New file.
4764 * config/rs6000/crtcxa.c: New file.
4765 * config/rs6000/t-aix-cxa: New file.
4766 * config/rs6000/libgcc-aix-cxa.ver: New file.
4767
dbdbd982
NC
47682013-01-31 Nick Clifton <nickc@redhat.com>
4769
4770 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4771 variant.
4772
5893f158
GJL
47732013-01-29 Georg-Johann Lay <avr@gjlay.de>
4774
4775 PR target/54222
4776 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4777 _mulQQ, _mulHQ, _mulHA, _mulSA,
4778 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4779 _divQQ, _divHQ, _divHA, _divSA,
4780 _divUQQ, _divUHQ, _divUHA, _divUSA.
4781
ecdbd01a 47822013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 4783
dbdbd982 4784 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
4785 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4786 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4787 to exclude functions from being built with libgcc.c and use
4788 the microblaze assembly.
4789
ecdbd01a 47902013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
4791
4792 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4793 extra_parts.
4794
922c57d1
YZ
47952013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
4796
4797 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4798 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4799 __UINTPTR_TYPE__; also cast 'base' to the same type before the
4800 alignment operation.
4801
e0f8b6a0
SN
48022013-01-15 Sofiane Naci <sofiane.naci@arm.com>
4803
4804 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4805 loop start address for cache clearing.
4806
00892272
GJL
48072013-01-14 Georg-Johann Lay <avr@gjlay.de>
4808
4809 * config/avr/lib1funcs.S: Remove trailing blanks.
4810 * config/avr/lib1funcs-fixed.S: Ditto.
4811
e59ec5fd
GJL
48122013-01-14 Georg-Johann Lay <avr@gjlay.de>
4813
4814 * config/avr/avr-lib.h: Add GPL copyright notice.
4815
3ffc1958
GJL
48162013-01-14 Georg-Johann Lay <avr@gjlay.de>
4817
4818 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4819 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4820 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4821 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4822
25c210f9
MK
48232013-01-07 Mark Kettenis <kettenis@openbsd.org>
4824
4825 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4826 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 4827
db59befb
NC
48282013-01-04 Nick Clifton <nickc@redhat.com>
4829
4830 * config/v850/lib1funcs.S: Only provide CALLT support functions if
4831 the CALLT instruction is supported.
4832
5aa12dbf
JW
48332012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4834
4835 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4836 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4837
65f14117
JT
48382012-12-13 John Tytgat <John@bass-software.com>
4839
4840 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4841 is 25.
4842
ee3ae4f7
JJ
48432012-12-12 Jakub Jelinek <jakub@redhat.com>
4844
4845 PR libgcc/55451
4846 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4847 undefined signed overflows.
4848
2fcfba3d
UB
48492012-12-09 Uros Bizjak <ubizjak@gmail.com>
4850
4851 PR target/55344
4852 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4853
4f2b3dc2
UB
48542012-12-06 Uros Bizjak <ubizjak@gmail.com>
4855
4856 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4857 (FP_TRAPPING_EXCEPTIONS): Define.
4858 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4859 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4860
066161a2
RH
48612012-12-04 Richard Henderson <rth@redhat.com>
4862
4863 PR bootstrap/55571
4864 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4865
7d296953 48662012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 4867
4f2b3dc2 4868 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
4869 (FP_EX_SHIFT): Define.
4870 (FP_TRAPPING_EXCEPTIONS): Define.
4871
7d296953 48722012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
4873
4874 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4875 (FP_ROUNDMODE): Use FP_RND_MASK.
4876 * config/aarch64/sfp-exceptions.c: New.
4877 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4878 Use __sfp_handle_exceptions.
4879
5005fe22
RE
48802012-12-04 Richard Earnshaw <rearnsha@arm.com>
4881
4882 * config.host: (arm*-*-freebsd*): Remove.
4883 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4884 (arm*-*-elf*): Remove.
4885 (arm*-*-wince-pe*): Remove.
4886 * arm/unwind-arm.c (struct fpa_reg): Delete.
4887 (struct fpa_regs): Delete.
4888 (phase1_vrs): Remove fpa element.
4889 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4890 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4891 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4892 * ieee754-sf.S (floatundisf): Remove FPA support.
4893 (floatdisf): Likewise.
4894 * ieee75f-df.S (floatundidf): Likewise.
4895 (floatdidf): Likewise.
4896
e5a81c8e
KT
48972012-11-29 Kai Tietz <ktietz@redhat.com>
4898
4899 PR target/55445
4900 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4901 * unwind-generic.h: Likewise.
4902 * unwind-seh.c: Likewise.
4903
f4919e4a
RH
49042012-11-28 Richard Henderson <rth@redhat.com>
4905
4906 PR libgcc/48076
4907 * emutls.c (__emutls_get_address): Avoid race condition between
4908 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 4909
e13d9d5a
GJL
49102012-11-22 Georg-Johann Lay <avr@gjlay.de>
4911
4912 Adjust decimal point of signed accum mode to GCC default.
4913
4914 PR target/54222
4915 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4916 _divqq_helper.
4917 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4918 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4919 (__mulha3, __mulsa3)
4920 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
4921 decimal point of signed accum types.
4922
e13d9d5a
GJL
4923 (__mulusa3_round): New function.
4924 (__mulusa3): Use it.
4925 (__divqq_helper): New function.
4926 (__udivuqq3): Use it.
4927
1b845c6e
JJ
49282012-11-20 Jakub Jelinek <jakub@redhat.com>
4929
4930 PR bootstrap/55370
4931 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4932
822a258a
TJ
49332012-11-18 Teresa Johnson <tejohnson@google.com>
4934
4935 PR bootstrap/55051
4936 * libgcov.c (gcov_exit): Remove merged program summary
4937 comparison unless !GCOV_LOCKED.
4938
7d296953 49392012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
4940
4941 * soft-fp: Updated from glibc upstream.
4942
e808687a
ILT
49432012-11-06 Ian Lance Taylor <iant@google.com>
4944
4945 * generic-morestack.c (__generic_morestack): Align the returned
4946 stack pointer to a 32 byte boundary.
4947 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4948 increment the return address until we have decided that we don't
4949 have a varargs function.
4950 (__morestack) [32-bit]: Align stack correctly when calling C
4951 functions.
4952 (__morestack) [64-bit]: Likewise.
4953
460277e0
TS
49542012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4955
4956 * configure: Regenerate.
4957
73edb277
UB
49582012-11-02 Uros Bizjak <ubizjak@gmail.com>
4959
4960 PR target/55175
4961 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4962 * config/i386/sfp-machine.h: Guard exception handling
4963 code with _SOFT_FLOAT.
4964 * config/i386/32/sfp-machine.h: Guard rounding handling
4965 code with _SOFT_FLOAT.
4966 * config/i386/64/sfp-machine.h: Ditto.
4967
c1d4fa04
JS
49682012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
4969
4970 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4971 as extra_parts.
4972
eff6ca85
UB
49732012-10-26 Uros Bizjak <ubizjak@gmail.com>
4974
4975 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4976 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
4977 when appropriate. Correct structure element types.
4978 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4979 -minline-all-stringops from compile flags.
4980
7d296953 49812012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
4982
4983 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4984
7d296953 49852012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 4986
eff6ca85 4987 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 4988
6f288860
SH
49892012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4990
4991 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4992 tmake_file.
4993
1e3d5096
IB
49942012-10-23 Ian Bolton <ian.bolton@arm.com>
4995 Jim MacArthur <jim.macarthur@arm.com>
4996 Marcus Shawcroft <marcus.shawcroft@arm.com>
4997 Nigel Stephens <nigel.stephens@arm.com>
4998 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4999 Richard Earnshaw <rearnsha@arm.com>
5000 Sofiane Naci <sofiane.naci@arm.com>
5001 Stephen Thomas <stephen.thomas@arm.com>
5002 Tejas Belagod <tejas.belagod@arm.com>
5003 Yufeng Zhang <yufeng.zhang@arm.com>
5004
5005 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5006 * config/aarch64/crti.S: New file.
5007 * config/aarch64/crtn.S: New file.
5008 * config/aarch64/linux-unwind.h: New file.
5009 * config/aarch64/sfp-machine.h: New file.
5010 * config/aarch64/sync-cache.c: New file.
5011 * config/aarch64/t-aarch64: New file.
5012 * config/aarch64/t-softfp: New file.
5013
8a740f07
HPN
50142012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5015
5016 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5017 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5018 no-longer-needed LDBU insns.
5019
7d296953 50202012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5021
5022 * config.host
5023 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5024 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5025
595fefee
MGD
50262012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5027
5028 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5029
9945a876
MK
50302012-10-15 Matthias Klose <doko@ubuntu.com>
5031
5032 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5033
1183dc2c
PC
50342012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5035
5036 * configure: Regenerate.
5037 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5038
945a9c1f
UB
50392012-10-10 Uros Bizjak <ubizjak@gmail.com>
5040
5041 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5042 instructions for 64bit targets only.
5043
fb8bf47a
UB
50442012-10-10 Uros Bizjak <ubizjak@gmail.com>
5045
5046 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5047 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5048 * config/i386/32/sfp-machine.h: ... here.
5049 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5050 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5051 New defines.
5052
acb72498
MK
50532012-10-07 Matthias Klose <doko@ubuntu.com>
5054
5055 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5056 as unused.
5057 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5058
8eaee0f0
MK
50592012-10-06 Mark Kettenis <kettenis@openbsd.org>
5060
5061 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5062 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5063 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5064 (ElfW): Likewise.
5065
5e3e4fe8
JW
50662012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5067
5068 PR other/53889
5069 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5070 Fix parameter names.
5071
86086376
OE
50722012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5073
5074 PR target/33135
5075 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5076 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5077 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5078
9597375a
OE
50792012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5080
5081 PR target/50457
5082 * config/sh/linux-atomic.S: Delete.
5083 * config/sh/linux-atomic.c: New.
5084 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5085 linux-atomic.c. Add cflags to disable warnings.
5086
1504e3e1
JW
50872012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5088
5089 PR other/53889
5090 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5091 function.
5092 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5093 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5094 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5095 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5096 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5097 Likewise.
1504e3e1
JW
5098 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5099 Likewise.
5100 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5101 Likewise.
5102 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5103 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5104
17f293b0
MK
51052012-09-19 Mark Kettenis <kettenis@openbsd.org>
5106
9597375a
OE
5107 * config.host (hppa-*-openbsd*): New target.
5108 * config/pa/t-openbsd: New file.
17f293b0 5109
51526856
GJL
51102012-09-15 Georg-Johann Lay <avr@gjlay.de>
5111
5112 PR target/54222
5113 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5114 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5115 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5116 (__divsa3): Use __negsi2 to negate r_quoL.
5117 * config/avr/lib1funcs.S (FALIAS): New macro.
5118 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5119 (__negsi2): ...this new function.
5120 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5121 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5122 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5123 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5124 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5125 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5126
aadb5b43
OE
51272012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5128
5129 PR target/54089
5130 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5131 (lshrsi3): Reimplement as lshrsi3_r0.
5132
d5d66749
AS
51332012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5134
5135 PR target/46191
5136 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5137 of libgcc.a.
5138
c6c36e73
TJ
51392012-09-07 Teresa Johnson <tejohnson@google.com>
5140
9597375a 5141 PR gcov-profile/54487
c6c36e73 5142 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5143 differences.
c6c36e73 5144
b588ae30
GJL
51452012-09-05 Georg-Johann Lay <avr@gjlay.de>
5146
5147 PR target/54461
5148 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5149 not configured --with-avrlibc=no.
5150 * config/avr/t-avrlibc: New file.
5151 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5152 (DPBIT_FUNCS): Ditto.
5153 (TPBIT_FUNCS): Ditto.
5154
abd16fb1
TJ
51552012-09-04 Teresa Johnson <tejohnson@google.com>
5156
5157 * libgcov.c (struct gcov_summary_buffer): New structure.
5158 (gcov_histogram_insert): New function.
5159 (gcov_compute_histogram): Ditto.
5160 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5161 histograms during summary merging.
5162
613061fd
MK
51632012-09-01 Mark Kettenis <kettenis@openbsd.org>
5164
5165 * config.host (x86_64-*-openbsd*): New target.
73edb277 5166
867a8345
CLT
51672012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5168
5169 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5170 attribute.
5171
4aeaaca3
GJL
51722012-08-24 Georg-Johann Lay <avr@gjlay.de>
5173
5174 PR target/54222
5175 * config/avr/t-avr (conv_X): Rename to func_X.
5176
e55e4056
GJL
51772012-08-24 Georg-Johann Lay <avr@gjlay.de>
5178
5179 PR target/54222
5180 * config/avr/lib1funcs-fixed.S: New file.
5181 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5182 after they are used.
5183 (neg2, neg4): New macros.
5184 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5185 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5186 (__umulhisi3): Speed up MUL variant if there is enough flash.
5187 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5188 avr-modes.def.
5189 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5190 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5191 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5192 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5193 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5194 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5195 (LIB2FUNCS_EXCLUDE): Add supported functions.
5196
a147b6d2
GJL
51972012-08-22 Georg-Johann Lay <avr@gjlay.de>
5198
5199 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5200 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5201 libgcc-s-objects.
5202 * fixed-obj.mk: Only expand dependency if $o is not in
5203 LIB2FUNCS_EXCLUDE.
5204
c637141a
L
52052012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5206
5207 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5208
130e00bd
JM
52092012-08-22 Joseph Myers <joseph@codesourcery.com>
5210
5211 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5212 depend on --enable-shared.
5213 ($(lib1asmfuncs-o)): Use %.vis files independent of
5214 --enable-shared.
5215 * static-object.mk ($(base)$(objext), $(base).vis)
5216 ($(base)_s$(objext)): Use same rules for visibility handling as in
5217 shared-object.mk.
5218
4b1b3788
ILT
52192012-08-21 Ian Lance Taylor <iant@google.com>
5220
5221 * config/i386/morestack.S (__morestack_non_split): Increase amount
5222 of space allocated for non-split code stack.
5223
d2468141
JM
52242012-08-19 Joseph Myers <joseph@codesourcery.com>
5225
5226 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5227 even if inhibit_libc.
5228
a508e1a8
JB
52292012-08-17 Julian Brown <julian@codesourcery.com>
5230
5231 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5232 -fexceptions -fnon-call-exceptions if not defined.
5233 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5234 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5235
5615a07d
AS
52362012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5237
5238 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5239 type.
5240
138f5acd
DE
52412012-08-16 David Edelsohn <dje.gcc@gmail.com>
5242
5243 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5244 rs6000/t-slibgcc-aix.
5245
18efc0dd
SB
52462012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5247
5248 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5249
6b39bc38
SB
52502012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5251
5252 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5253
cd25dea0
L
52542012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5255
5256 PR driver/54171
5257 * Makefile.in (version): Replace top_srcdir with srcdir.
5258
a3dda30b
JY
52592012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5260
5261 * Makefile.in (version): set to BASE-VER file from gcc directory.
5262
d04aacfc
NC
52632012-08-01 Nick Clifton <nickc@redhat.com>
5264
5265 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5266 Implements __clrsb for an HImode argument.
5267
0d13c974
NC
52682012-07-31 Nick Clifton <nickc@redhat.com>
5269
5270 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5271 Implements __clrsb for an HImode argument.
5272 * config/stormy16/clrsbhi2.c: New file:
5273 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5274
efbb59b2
SB
52752012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5276
5277 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5278
bf1431e3
TG
52792012-07-19 Tristan Gingold <gingold@adacore.com>
5280 Richard Henderson <rth@redhat.com>
5281
5282 * unwind-seh.c: New file.
5283 * unwind-generic.h: Include windows.h for SEH.
5284 (_Unwind_Exception): Use 6 private fields for SEH.
5285 (_GCC_specific_handler): Declare.
5286 * unwind-c.c (__gcc_personality_seh0): New function.
5287 Adjust for SEH.
5288 * config/i386/libgcc-cygming.ver: New file.
5289 * config/i386/t-seh-eh: New file.
5290 * config.host (x86_64-*-mingw*): Default to seh.
5291
659140c8
SB
52922012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5293
5294 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5295
a20d08fd
UB
52962012-06-17 Uros Bizjak <ubizjak@gmail.com>
5297
5298 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5299 __builtin_expect when checking for exceptions.
5300 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5301
79261115
UB
53022012-06-13 Uros Bizjak <ubizjak@gmail.com>
5303
4a172156
UB
5304 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5305 function declaration.
5306 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5307 (FP_RND_MASK): New.
5308 * config/ia64/sfp-exceptions.c: New.
5309 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 5310
bb5c97d4
UB
53112012-06-13 Uros Bizjak <ubizjak@gmail.com>
5312
5313 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5314 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5315 * config/i386/64/sfp-machine: ... (delete here) ...
5316 * config/i386/sfp-machine.h: ... to here.
5317 (FP_EX_MASK): Remove.
5318 (FP_RND_MASK): New.
5319 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5320
91fe5efb
ST
53212012-06-11 Sriraman Tallam <tmsriram@google.com>
5322
5323 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5324 * config/i386/libgcc-sol2.ver: Ditto.
5325 * config/i386/libgcc-glibc.ver: Ditto.
5326
67a218c5
RM
53272012-06-11 Roland McGrath <mcgrathr@google.com>
5328
5329 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5330 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5331 pthread_cancel.
5332
492fbea1
UB
53332012-06-09 Uros Bizjak <ubizjak@gmail.com>
5334
5335 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5336 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5337 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5338 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5339 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5340 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5341 * config/i386/64/sfp-machine: ... (delete here) ...
5342 * config/i386/sfp-machine.h: ... to here.
5343 (FP_EX_MASK): New.
5344 (__sfp_handle_exceptions): New function declaration.
5345 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5346 * config/i386/sfp-exceptions.c: New.
5347 * config/i386/t-softfp: New.
5348 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5349 i386/t-softfp to tmake_file.
5350
7b4cf266
DM
53512012-06-03 David S. Miller <davem@davemloft.net>
5352
5353 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5354 change.
5355
0de0d5c6
DM
53562012-05-31 David S. Miller <davem@davemloft.net>
5357
5358 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5359 multiply and divide instructions on 32-bit when V9.
5360 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5361
d8c9d391
JM
53622012-05-29 Joseph Myers <joseph@codesourcery.com>
5363
5364 * config/arm/ieee754-df.S: Fix typos.
5365 * config/arm/ieee754-sf.S: Fix typos.
5366 * config/c6x/libunwind.S: Fix typos.
5367 * config/epiphany/udivsi3-float.c: Fix typos.
5368 * config/microblaze/muldi3_hard.S: Fix typos.
5369 * config/picochip/adddi3.S: Fix typos.
5370 * config/picochip/ashlsi3.S: Fix typos.
5371 * config/picochip/ashrsi3.S: Fix typos.
5372 * config/picochip/clzsi2.S: Fix typos.
5373 * config/picochip/cmpsi2.S: Fix typos.
5374 * config/picochip/divmod15.S: Fix typos.
5375 * config/picochip/divmodhi4.S: Fix typos.
5376 * config/picochip/divmodsi4.S: Fix typos.
5377 * config/picochip/longjmp.S: Fix typos.
5378 * config/picochip/lshrsi3.S: Fix typos.
5379 * config/picochip/parityhi2.S: Fix typos.
5380 * config/picochip/popcounthi2.S: Fix typos.
5381 * config/picochip/setjmp.S: Fix typos.
5382 * config/picochip/subdi3.S: Fix typos.
5383 * config/picochip/ucmpsi2.S: Fix typos.
5384 * config/picochip/udivmodhi4.S: Fix typos.
5385 * config/picochip/udivmodsi4.S: Fix typos.
5386 * config/spu/divv2df3.c: Fix typos.
5387 * config/spu/mfc_multi_tag_release.c: Fix typos.
5388 * config/spu/mfc_tag_release.c: Fix typos.
5389 * configure.ac: Fix typos.
5390 * configure: Regenerate.
5391
31a18a7e
ILT
53922012-05-25 Ian Lance Taylor <iant@google.com>
5393
5394 * config/i386/morestack.S (__morestack_non_split): Check whether
5395 caller is varargs and needs %bp to hold the stack frame on return.
5396
c5768510
OH
53972012-05-25 Olivier Hainque <hainque@adacore.com>
5398
5399 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5400 sequence in the non pic case on VxWorks.
5401
7c7c339b
OH
54022012-05-24 Olivier Hainque <hainque@adacore.com>
5403
73fb7630 5404 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
5405 "install-leaf" to "install".
5406
fdc1b7d3
OH
54072012-05-24 Olivier Hainque <hainque@adacore.com>
5408
5409 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5410 Use a separate command for stamp removals.
5411
07ba94b9
AP
54122012-05-21 Andrew Pinski <apinski@cavium.com>
5413
5414 PR bootstrap/53183
5415 * configure.ac: Define the default includes to being none.
5416 * configure: Regenerate.
5417
4677d2eb
OH
54182012-05-16 Olivier Hainque <hainque@adacore.com>
5419
5420 * Makefile.in (install-unwind_h): Rename into ...
5421 (install-unwind_h-forbuild): New target.
5422 (all): Use it instead of the former install-unwind_h.
5423 (install-unwind_h): Reinstate, copy to user install destination
5424 for include files, not to the internal gcc object directory one.
5425 (install-leaf): Depend on it.
5426
7d67c380
OH
54272012-05-15 Olivier Hainque <hainque@adacore.com>
5428
5429 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5430 register numbers. LR_REGNO replaces R_LR.
5431 (ucontext_for): New, helper for ...
5432 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5433 and 5.3 of ...
5434 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5435
aca06c90
RO
54362012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5437
5438 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5439 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5440 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5441 i386/t-cpuinfo ...
5442 (i[34567]86-*-*, x86_64-*-*): ... here.
5443
5444 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5445 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5446
5447 * config/i386/i386-cpuinfo.c: Rename to ...
5448 * config/i386/cpuinfo.c: ... this.
5449 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5450
5451 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5452 (libgcc_cv_init_priority): New test.
5453 * configure: Regenerate.
5454 * config.in: New file.
5455 * Makefile.in (clean): Rename config.h to auto-target.h.
5456 (config.h): Likewise.
5457 (stamp-h): Likewise.
5458
5459 * config/i386/cpuinfo.c (auto-target.h): Include.
5460 (CONSTRUCTOR_PRIORITY): Define.
5461 (__cpu_indicator_init): Use it.
5462
0d03ac1b
L
54632012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5464
5465 * longlong.h: Use a URL instead of an FSF postal address.
5466 Replace spaces with tab.
5467
4a172156 54682012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
5469
5470 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5471 (__gcov_dump): Ditto.
5472 (gcov_dump_complete): New global variable.
5473 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5474 (__gcov_flush): Outline functionality now in gcov_clear.
5475 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5476
e4bb767e
AJ
54772012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5478
31a18a7e
ILT
5479 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5480 (mips*-*-linux*): Include mips/t-tpbit when long double is
5481 16 bytes long.
e4bb767e 5482
5ddecff9
ST
54832012-04-25 Sriraman Tallam <tmsriram@google.com>
5484
5485 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5486 (get_available_features): New argument. Check for AVX2.
5487 (__cpu_indicator_init): Modify call to get_available_features.
5488
b427dd7a
AM
54892012-04-25 Alan Modra <amodra@gmail.com>
5490
5491 * config/rs6000/crtsavevr.S: New file.
5492 * config/rs6000/crtrestvr.S: New file.
5493 * config/rs6000/t-savresfgpr: Build the above.
5494 * config/rs6000/t-netbsd: Likewise.
5495
ad491329
ST
54962012-04-24 Sriraman Tallam <tmsriram@google.com>
5497
5498 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5499
792317cc
ST
55002012-04-24 Sriraman Tallam <tmsriram@google.com>
5501
5502 * libgcc/config/i386/i386-cpuinfo.c: New file.
5503 * libgcc/config/i386/t-cpuinfo: New file.
5504 * libgcc/config.host: Include t-cpuinfo.
5505 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5506
e1be98a4
CF
55072012-04-24 Chao-ying Fu <fu@mips.com>
5508
5509 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5510
1bde7dab
TS
55112012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5512
5513 struct siginfo vs. siginfo_t
5514
5515 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5516 siginfo_t instead of struct siginfo.
5517 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5518 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5519 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5520 (ia64_handle_unwabi): Likewise.
5521 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5522 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5523 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5524 (sh_fallback_frame_state): Likewise.
5525 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5526 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5527
24590f66
L
55282012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5529
5530 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5531 system call number.
5532
9a9dcce8
EB
55332012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5534
5535 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5536 if it hasn't been previously saved.
5537
6401aaf5
L
55382012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5539
5540 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5541 only for glibc.
5542
7fd6378e
GJL
55432012-03-28 Georg-Johann Lay <avr@gjlay.de>
5544
5545 PR target/52737
5546 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5547 instead of __AVR_HAVE_8BIT_SP__.
5548
9e916de7
TG
55492012-03-26 Tristan Gingold <gingold@adacore.com>
5550
5551 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5552 (unw_table_entry): Use unw_word instead of unsigned long.
5553 (_Unwind_FindTableEntry): Likewise.
5554 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5555 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5556 (_Unwind_FindTableEntry): Likewise.
5557 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5558 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5559 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5560 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5561 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5562 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5563 (uw_init_context_1, uw_install_context): Likewise.
5564 (unw_word): Move to unwind-ia64.h
5565
4b12e93d
TG
55662012-03-26 Tristan Gingold <gingold@adacore.com>
5567
5568 * config/vms/vms-ucrt0.c: Update copyright years.
5569 Add a sanity check.
5570 (___gcc_main_flags): Declare.
5571 (__main): Check flags to remap argv and exit code.
5572 * config.host (*-*-*vms*): Adjust extra_parts.
5573 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5574 (crt0.o): Add.
5575
06ea7371
RE
55762012-03-22 Richard Earnshaw <rearnsha@arm.com>
5577
5578 * arm/lib1funcs.asm (ctzsi2): New function.
5579 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5580 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5581 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5582 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5583 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5584 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5585
d82ad50d
AT
55862012-03-21 Andreas Tobler <andreast@fgznet.ch>
5587
5588 * config.host: Add bits to support powerpc64-*-freebsd*.
5589 * config/rs6000/freebsd-unwind.h: New file.
5590 * config/rs6000/t-freebsd64: New file.
5591
b260a8c0
RG
55922012-03-20 Richard Guenther <rguenther@suse.de>
5593
5594 PR gcov-profile/52627
5595 * libgcov.c (init_mx): Fix mutex name.
5596
86286a8a
TG
55972012-03-16 Tristan Gingold <gingold@adacore.com>
5598
5599 * config/ia64/vms-unwind.h: Remove ulong (and replace
5600 it by unw_reg where used). Define unw_reg with __int64.
5601
7888f266
RO
56022012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5603
5604 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5605 Solaris 8 handling.
5606 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5607 Solaris 8 handling.
5608 (sparc_is_sighandler): Likewise.
5609
f155bc64
L
56102012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5611
5612 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5613 <= saved reg size.
5614
d47657bd
RO
56152012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5616
5617 * config/arm/crtn.S: Fix typo.
5618
5bef73a1
RG
56192012-03-13 Richard Guenther <rguenther@suse.de>
5620
5621 * libgcov.c: Remove stdio.h include and NULL un-define.
5622
9c4271f3
RG
56232012-03-13 Richard Guenther <rguenther@suse.de>
5624
5625 PR target/52569
5626 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5627
c6d10e7c
RG
56282012-03-13 Richard Guenther <rguenther@suse.de>
5629
5630 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5631
074a385f
RG
56322012-03-13 Richard Guenther <rguenther@suse.de>
5633
5634 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5635 and __gthread_mutex_init_function definitions.
5636
c4bc5c25
RO
56372012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5638
5639 * config.host (mips*-*-openbsd*): Remove.
5640
5c30094f
RO
56412012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5642
5643 * config.host: Remove alpha*-dec-osf5.1* handling.
5644 * config/alpha/gthr-posix.c: Remove.
5645 * config/alpha/libgcc-osf5.ver: Remove.
5646 * config/alpha/osf5-unwind.h: Remove.
5647 * config/alpha/t-osf-pthread: Remove.
5648 * config/alpha/t-slibgcc-osf: Remove.
5649 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5650 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5651 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5652 * mkmap-flat.awk: Remove osf_export handling.
5653
33e3e24d
RG
56542012-03-12 Richard Guenther <rguenther@suse.de>
5655
5656 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5657 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5658 (__gthread_mutex_init_function): New function.
5659 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5660
5661 PR gcov/49484
5662 * libgcov.c: Include gthr.h.
5663 (__gcov_flush_mx): New global variable.
5664 (init_mx, init_mx_once): New functions.
5665 (__gcov_flush): Protect self with a mutex.
5666 (__gcov_fork): Re-initialize mutex after forking.
5667 * unwind-dw2-fde.c: Change condition under which to use
5668 __GTHREAD_MUTEX_INIT_FUNCTION.
5669
d8aba32a
TG
56702012-03-12 Tristan Gingold <gingold@adacore.com>
5671
5672 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5673 * config/ia64/t-vms: Likewise.
5674
75ffafdc
MH
56752012-03-11 Michael Hope <michael.hope@linaro.org>
5676
4a172156
UB
5677 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5678 for Thumb-2.
75ffafdc 5679
ef6c2c53
WL
56802012-03-07 Walter Lee <walt@tilera.com>
5681
5682 * config/tilepro/atomic.c: Rename "atomic_" prefix to
5683 "arch_atomic_".
5684 (atomic_xor): Rename and move definition to
5685 config/tilepro/atomic.h.
5686 (atomic_nand): Ditto.
5687 * config/tilepro/atomic.h: Rename "atomic_" prefix to
5688 "arch_atomic_".
5689 (arch_atomic_xor): Move from config/tilepro/atomic.c.
5690 (arch_atomic_nand): Ditto.
5691
4e30d980
GJL
56922012-03-07 Georg-Johann Lay <avr@gjlay.de>
5693
5694 PR target/52507
5695 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5696
61108225
GJL
56972012-03-07 Georg-Johann Lay <avr@gjlay.de>
5698
5699 PR target/52505
5700 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5701 from RAM.
5702
b30e10ab
GJL
57032012-03-07 Georg-Johann Lay <avr@gjlay.de>
5704
5705 PR target/52461
5706 PR target/52508
5707 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5708 if RAMPZ affects reading from RAM.
5709 (__tablejump_elpm__): Ditto.
5710 (.xload): Ditto.
5711 (__movmemx_hi): Ditto.
5712 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5713 (__do_global_dtors): Ditto.
5714 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5715 (__movmemx_hi): Ditto.
5716
8993fde4
RH
57172012-03-05 Richard Henderson <rth@redhat.com>
5718
5719 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5720 [ARM] (count_trailing_zeros): Use the builtin.
5721
b7633ee3
KT
57222012-03-01 Kai Tietz <ktietz@redhat.com>
5723
5724 * soft-fp: Imported from glibc upstream.
5725
fbd3340c
KT
57262012-02-28 Kai Tietz <ktietz@redhat.com>
5727
5728 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5729 for mingw-targets as attribute gcc_struct.
5730
e9e053eb
ILT
57312012-02-28 Ian Lance Taylor <iant@google.com>
5732
5733 * generic-morestack.c (__splitstack_releasecontext): Correct call
5734 to __morestack_release_segments.
5735
d80c632e
ST
57362012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5737
5738 PR target/52390
5739 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5740 for __linux__ when removing signals from __morestack_fullmask.
5741
0253a8b1
GJL
57422012-02-23 Georg-Johann Lay <avr@gjlay.de>
5743
5744 PR target/52261
5745 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5746
e10e461e
UW
57472012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5748
5749 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5750 instead of HAVE_INITFINI_ARRAY.
5751 * config/ia64/crtend.S: Likewise.
5752
0c0c6398
KT
57532012-02-20 Kai Tietz <ktietz@redhat.com>
5754
d7470374
KT
5755 PR libstdc++/52300
5756 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5757
0c0c6398
KT
5758 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5759 to w32-unwind.h header.
5760
78c27266
RS
57612012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5762
5763 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5764 (mips*-*-linux*): Remove t-slibgcc-libgcc.
5765 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5766 * config/mips/mips16.S (__mips16_rdhwr): Delete.
5767
5adeb246
RS
57682012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5769
5770 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5771
672ed313
IS
57722012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5773
5774 PR libitm/52220
5775 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 5776
e948a1fb
IS
57772012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5778 Patrick Marlier <patrick.marlier@gmail.com>
5779
5780 PR libitm/52220
5781 * config/darwin-crt-tm.c: Generate dummy functions.
5782
6017aed3
IS
57832012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5784 Patrick Marlier <patrick.marlier@gmail.com>
5785
5786 PR libitm/52042
5787 * config/darwin-crt-tm.c (getTMCloneTable): New function.
5788 (__doTMRegistrations): Call it.
e9e053eb 5789 (__doTMdeRegistrations): Likewise.
6017aed3 5790
2da8c1ad 57912012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
5792 Anatoly Sokolov <aesok@post.ru>
5793 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
5794
5795 PR target/52261
5796 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5797 (__epilogue_restores__): Ditto.
5798
0f952eb4
EB
57992012-02-15 Eric Botcazou <ebotcazou@adacore.com>
5800
5801 PR target/51921
5802 PR target/52205
5803 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5804 Solaris 11 and slightly reformat.
5805 (sparc_is_sighandler): Likewise.
5806
dd552284
WL
58072012-02-14 Walter Lee <walt@tilera.com>
5808
5809 * config.host: Handle tilegx and tilepro.
5810 * config/tilegx/sfp-machine.h: New file.
5811 * config/tilegx/sfp-machine32.h: New file.
5812 * config/tilegx/sfp-machine64.h: New file.
5813 * config/tilegx/t-crtstuff: New file.
5814 * config/tilegx/t-softfp: New file.
5815 * config/tilegx/t-tilegx: New file.
5816 * config/tilepro/atomic.c: New file.
5817 * config/tilepro/atomic.h: New file.
5818 * config/tilepro/linux-unwind.h: New file.
5819 * config/tilepro/sfp-machine.h: New file.
5820 * config/tilepro/softdivide.c: New file.
5821 * config/tilepro/softmpy.S: New file.
5822 * config/tilepro/t-crtstuff: New file.
5823 * config/tilepro/t-tilepro: New file.
5824
b59cbd50
JW
58252012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
5826
5827 PR libstdc++/51296
5828 PR libstdc++/51906
5829 * gthr-posix.h: Allow static initializer macros to be disabled.
5830 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5831
6caf807f
CLT
58322012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5833
5834 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5835 Add t-slibgcc-libgcc to tmake_file.
5836 * config/mips/libgcc-mips16.ver: Revert previous patch.
5837 * config/mips/mips16.S (__mips16_rdhwr): Hide.
5838
7d296953
JJ
58392012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
5840 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
5841
5842 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5843 * config/cr16/crti.S: New file.
5844 * config/cr16/crtlibid.S: New file.
5845 * config/cr16/crtn.S: New file.
5846 * config/cr16/lib1funcs.S: New file.
5847 * config/cr16/t-cr16: New file.
5848 * config/cr16/t-crtlibid: New file.
5849 * config/cr16/unwind-dw2.h: New file.
5850 * config/cr16/unwind-cr16.c: New file.
5851 * config/cr16/divmodhi3.c: New file.
5852
8ef03aa7
AM
58532012-01-25 Alan Modra <amodra@gmail.com>
5854
5855 * config/rs6000/t-linux64: Delete. Move..
5856 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5857 * config/rs6000/t-linux: ..and libgcc flags to here.
5858
daecebc8
DR
58592012-01-22 Douglas B Rupp <rupp@gnat.com>
5860
5861 * config.host (i[34567]86-*-interix3*):
8ef03aa7 5862 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
5863 * configure: Regenerate.
5864
ddaf8125
RS
58652012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
5866 Richard Sandiford <rdsandiford@googlemail.com>
5867
5868 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5869 * config/mips/mips16.S (__mips16_rdhwr): New function.
5870 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5871
2cd8b32c
NS
58722012-01-11 Nathan Sidwell <nathan@acm.org>
5873
5874 * libgcov.c (__gcov_init): Ignore objects with no functions.
5875
cba300dd
GJL
58762012-01-10 Georg-Johann Lay <avr@gjlay.de>
5877
5878 PR target/49868
5879 Extend __pgmx semantics to linearize memory.
5880 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5881 * config/avr/lib1funcs.S (__xload_1): New function.
5882 (__movmemx_qi, __movmemx_hi): New functions.
5883 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5884 semantics.
9ffaf4bc 5885
3d137660
EB
58862012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5887
5888 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5889 purported sigacthandler address isn't null before dereferencing it.
5890 (sparc_is_sighandler): Likewise.
5891
bf4db96c
EB
58922012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5893
5894 PR ada/41929
5895 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5896 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
5897 (sparc_is_sighandler): Likewise.
5898 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5899
1ab3568b
TG
59002012-01-06 Tristan Gingold <gingold@adacore.com>
5901
5902 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5903 compatibility thunks...
5904 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5905 (crtbeginS.o, crtendS.o): ... and these to ...
5906 * config/ia64/t-ia64-elf: ... this new file.
5907 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5908 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5909
925b0ed8
AK
59102012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5911
5912 * configure: Regenerate.
5913 * config/s390/t-crtstuff: Remove -fPIC.
5914
a99ad737
JW
59152012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5916
5917 PR bootstrap/51006
5918 * enable-execute-stack-mprotect.c (getpagesize): Do not define
5919 for NetBSD.
5920
884f56d1
GJL
59212012-01-02 Georg-Johann Lay <avr@gjlay.de>
5922
5923 PR target/51345
5924 * config/avr/lib1funcs.S: Remove FIXME comments.
5925 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5926
8c57e547
GJL
59272012-01-02 Georg-Johann Lay <avr@gjlay.de>
5928
5929 Implement light-weight DImode support.
5930 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5931 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5932 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5933 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5934
04dbc287
NS
59352011-12-30 Nathan Sidwell <nathan@acm.org>
5936
5937 * libgcov.c (gcov_crc32): Remove global var.
5938 (free_fn_data): New function.
5939 (buffer_fn_data): Pass in filename, more robust error recovery.
5940 (crc32_unsigned): New function.
5941 (gcov_exit): More robust detection of new program. More robust
5942 error recovery.
5943 (__gcov_init): Do not update program's crc here.
5944
8e1d97d4
TG
59452011-12-21 Tristan Gingold <gingold@adacore.com>
5946
5947 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5948
9ffaf4bc
ILT
59492011-12-21 Ian Lance Taylor <iant@google.com>
5950
5951 * config/i386/morestack.S: Simplify CFI opcodes throughout.
5952
a0c8d0c1
ILT
59532011-12-20 Ian Lance Taylor <iant@google.com>
5954
5955 * config/i386/morestack.S (__morestack_non_split): If there is
5956 enough stack space already, don't split. Ask for more stack space
5957 than we required.
5958
69048898
SDJ
59592011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
5960
5961 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5962 `sys/sdt.h'.
5963 (_Unwind_DebugHook): New function.
5964 (uw_restore_core_regs): New define.
5965 (unwind_phase2): Use uw_restore_core_regs instead of
5966 restore_core_regs.
5967 (unwind_phase2_forced): Likewise.
5968 (__gnu_Unwind_Resume): Likewise.
5969
1bb4b6a3
UB
59702011-12-20 Uros Bizjak <ubizjak@gmail.com>
5971
5972 * config/alpha/linux-unwind.h: Update copyright years.
5973 (MD_FROB_UPDATE_CONTEXT): New define.
5974 (alpha_frob_update_context): New function.
5975
eb028768
RS
59762011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
5977
5978 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5979 tmake_file rather replacing it.
5980
6a2045bf
IS
59812011-12-15 Iain Sandoe <iains@gcc.gnu.org>
5982
5983 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 5984 function is not used for PPC64.
6a2045bf
IS
5985 (save_world): Amend comments. Update the VRsave mask to reflect the
5986 saved regs.
5987 (rest_world): Update comments, do not clobber r10, do not use r8.
5988 (eh_rest_world_r10): Amend comments, do not use r8.
5989 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5990 no longer used, move restore of CR and target address to the end of
5991 the routine.
5992
a13780a6
L
59932011-12-14 H.J. Lu <hongjiu.lu@intel.com>
5994
5995 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5996 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5997
d7288dfb
GJL
59982011-12-14 Georg-Johann Lay <avr@gjlay.de>
5999
6000 PR target/49313
6001 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6002 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6003
8d2c862d
EB
60042011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6005
6006 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6007
3447cae6
GJL
60082011-12-09 Georg-Johann Lay <avr@gjlay.de>
6009
6010 PR target/49313
6011 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6012 * config/avr/lib1funcs.S (__muldi3): New function.
6013
806fc6aa
AP
60142011-12-06 Andrew Pinski <apinski@cavium.com>
6015
6016 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6017 size of func_ptr.
6018 (__frame_dummy_init_array_entry): Likewise.
6019
28c5e6b5
GJL
60202011-12-06 Georg-Johann Lay <avr@gjlay.de>
6021
6022 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6023
6024 PR target/51345
6025 PR target/51002
6026 * config/avr/lib1funcs.S (__prologue_saves__,
6027 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6028 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6029
8f90394a
IS
60302011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6031
6032 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6033
06dd33ac
JDA
60342011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6035
6036 PR other/51272
6037 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6038 (_ITM_deregisterTMCloneTable): Likewise.
6039 (__register_frame_info): Fix unused warning.
6040 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6041 pthread_default_stacksize_np): Likewise.
6042 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6043
85b8555e
DD
60442011-11-29 DJ Delorie <dj@redhat.com>
6045
6046 * config.host (rl78-*-elf): New case.
6047 * config/rl78: New directory for the Renesas RL78.
6048
4d5ae4ea
BS
60492011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6050
6051 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6052 formatting.
6053
f9c55897
RO
60542011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6055
6056 PR other/51022
6057 * config/rs6000/t-savresfgpr: New file.
6058 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6059 $(srcdir)/config/rs6000/eabi.S.
6060 * config/rs6000/t-ppccomm-ldbl: Remove.
6061 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6062 tmake_file.
6063 (powerpc-*-eabispe*): Likewise.
6064 (powerpc-*-eabi*): Likewise.
6065 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6066 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6067 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6068 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6069 tmake_file.
6070 (powerpc-*-eabisim*): Likewise.
6071 (powerpc-*-elf*): Likewise.
6072 (powerpc-*-eabialtivec*): Likewise.
6073 (powerpc-xilinx-eabi*): Likewise.
6074 (powerpc-*-rtems*): Likewise.
6075 (powerpcle-*-elf*): Likewise.
6076 (powerpcle-*-eabisim*): Likewise.
6077 (powerpcle-*-eabi*): Likewise.
6078
a01207c4
ILT
60792011-11-27 Ian Lance Taylor <iant@google.com>
6080
6081 * generic-morestack.c (__splitstack_find): Check for NULL old
6082 stack value.
6083 (__splitstack_resetcontext): New function.
6084 (__splitstack_releasecontext): New function.
6085 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6086
2b0b8ab2
IS
60872011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6088
6089 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6090
c1d8101c
IS
60912011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6092
6093 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6094
8b281334
RH
60952011-11-26 Richard Henderson <rth@redhat.com>
6096
6097 * config/m68k/linux-atomic.c: New file.
6098 * config/m68k/t-linux: New file.
6099 * config.host (m68k-uclinux, m68k-linux): Use it.
6100
7546aa9d
RH
61012011-11-26 Richard Henderson <rth@redhat.com>
6102
6103 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6104 (__TMC_END__): Only declare if hidden is available; in the definition,
6105 if hidden is unavailable add a null record.
6106 (deregister_tm_clones, register_tm_clones): New.
6107 (__do_global_dtors_aux, frame_dummy): Use them.
6108 (__do_global_dtors, __do_global_ctors_1): Likewise.
6109
e2362f5d
IS
61102011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6111
6112 * config/darwin-crt-tm.c: New file.
6113 * config.host (darwin): Build crttms.o crttme.o to provide
6114 startup and shutdown for tm clones.
6115 * config/t-darwin (crttms.o): New build rule.
6116 (crttme.o): Likewise.
6117
6685dd96
HPN
61182011-11-21 Hans-Peter Nilsson <hp@axis.com>
6119
6120 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6121 et al.
6122
b0dc7e4c
RH
61232011-11-21 Richard Henderson <rth@redhat.com>
6124
6125 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6126 (__TMC_LIST__, __TMC_END__): New.
6127 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6128 (__do_global_dtors): Likewise.
6129 (frame_dummy): Call _ITM_registerTMCloneTable.
6130 (__do_global_ctors_1): Likewise.
6131
d4b4b542
RO
61322011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6133
6134 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6135 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6136 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6137 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6138 * config/i386/t-darwin64: Remove.
6139 * config/sh/t-netbsd (LIB2ADD): Remove.
6140
989bdb74
GJL
61412011-11-21 Georg-Johann Lay <avr@gjlay.de>
6142
6143 PR target/49313
6144 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6145 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6146 * config/avr/lib1funcs.S (wmov): New assembler macro.
6147 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6148 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6149 (__udivmod64): New function.
6150 (__negdi2): New function.
6151
515a0cfc
GP
61522011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6153
6154 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6155 *-*-freebsd*aout*): Remove.
6156
0115d17f
HPN
61572011-11-20 Hans-Peter Nilsson <hp@axis.com>
6158
6159 * static-object.mk (c_flags-$o): Save c_flags.
6160 ($(base)$(objext)): Use it.
6161
93aeb62b
SE
61622011-11-18 Steve Ellcey <sje@cup.hp.com>
6163
6164 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6165
7bc6df2c
GJL
61662011-11-18 Georg-Johann Lay <avr@gjlay.de>
6167
6168 PR target/49868
6169 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6170 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6171 New functions.
6172
425d737b
MGD
61732011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6174
6175 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6176 functions.
1bb4b6a3 6177 (aeabi_uidivmod): Likewise.
425d737b
MGD
6178 (umodsi3): Likewise.
6179 (divsi3): Likewise.
6180 (aeabi_idivmod): Likewise.
6181 (modsi3): Likewise.
6182
f2a176dc
TG
61832011-11-16 Tristan Gingold <gingold@adacore.com>
6184
6185 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6186
7c209481
GJL
61872011-11-15 Georg-Johann Lay <avr@gjlay.de>
6188
6189 PR target/49868
6190 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6191 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6192
9dfd5832
JDA
61932011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6194
6195 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6196 tmake_file list.
6197 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6198 * config/pa/t-stublib64: Delete.
6199
f77dca5d
RH
62002011-11-12 Richard Henderson <rth@redhat.com>
6201
6202 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6203 cast the pointer argument to _Unwind_SetGRPtr.
6204
902828f0
RO
62052011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6206
6207 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6208
e14304ef
ILT
62092011-11-09 Ian Lance Taylor <iant@google.com>
6210
6211 * generic-morestack.c: Include <string.h>.
6212 (uintptr_type): Define.
6213 (struct initial_sp): Add dont_block_signals field. Reduce size of
6214 extra array by 1.
6215 (allocate_segment): Set prev field to NULL. Don't set
6216 __morestack_current_segment or __morestack_segments.
6217 (__generic_morestack): Update current->prev and *pp after calling
6218 allocate_segment.
6219 (__morestack_block_signals): Don't do anything if
6220 dont_block_signals is set.
6221 (__morestack_unblock_signals): Likewise.
6222 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6223 uintptr_type.
6224 (__splitstack_block_signals): New function.
6225 (enum __splitstack_content_offsets): Define.
6226 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6227 (__splitstack_makecontext): New function.
6228 (__splitstack_block_signals_context): New function.
6229 (__splitstack_find_context): New function.
6230 * config/i386/morestack.S (__morestack_get_guard): New function.
6231 (__morestack_set_guard, __morestack_make_guard): New functions.
6232 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6233
e3d871e4
RO
62342011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6235
6236 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6237 (i[34567]86-*-mingw*): ... here.
6238 (x86_64-*-mingw*): ... here.
6239
e55cef40
RO
62402011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6241
6242 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6243
5366b186
NS
62442011-11-07 Nathan Sidwell <nathan@acm.org>
6245
6246 * libgcov.c (struct gcov_fn_buffer): New struct.
6247 (buffer_fn_data): New helper.
6248 (gcov_exit): Rework for new gcov data structures.
6249
74155a6f
GJL
62502011-11-07 Georg-Johann Lay <avr@gjlay.de>
6251
6252 PR target/49313
6253 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6254
200feb07
RO
62552011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6256
6257 * config.host (tmake_file): Correct comment.
6258 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6259 t-libgcc-pic.
6260 (bfin*-uclinux*): Likewise.
6261 (bfin*-linux-uclibc*): Likewise.
6262 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6263
6264 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6265 assigning.
6266 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6267 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6268 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6269 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6270 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6271 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6272 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6273 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6274 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6275 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6276 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6277 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6278 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6279
6280 * config/bfin/t-elf: Remove.
6281 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6282
c9cd1a07
RO
62832011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6284
6285 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6286 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6287 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6288 (lm32-*-elf*): ... this.
6289 (lm32-*-rtems*): ... and this.
6290 Add to tmake_file.
6291 (m32r-*-rtems*): Add to tmake_file.
6292 (moxie-*-rtems*): Likewise.
6293 (sparc-*-rtems*): Likewise.
6294 Remove t-rtems from tmake_file.
6295 (sparc64-*-rtems*): Likewise.
6296 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6297 instead.
6298
9fbcc75d
RO
62992011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6300
6301 PR bootstrap/50982
6302 * config/gthr-posix.h: Move ...
6303 * gthr-posix.h: ... here.
6304 * config/gthr-lynx.h: Reflect this.
6305 * config/gthr-vxworks.h: Likewise.
6306 * config/rs6000/gthr-aix.h: Likewise.
6307 * configure.ac (target_thread_file): Likewise.
6308 * configure: Regenerate.
6309
76644b68
SH
63102011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6311
6312 * config.host (arm*-*-rtemseabi*): New target.
6313
5e490f2a
JDA
63142011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6315
6316 PR other/50991
6317 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6318 extra-parts.
6319
feeeff5c
JR
63202011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6321
6322 * config.host (epiphany-*-elf*): New configuration.
6323 * config/epiphany: New Directory.
6324
d618bb2c
RC
63252011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6326
6327 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6328 * config/avr/t-rtems: New.
6329 Filter out _exit from LIB1ASMFUNCS.
6330
1bb6f778
DM
63312011-11-04 David S. Miller <davem@davemloft.net>
6332
6333 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6334 * configure: Rebuild.
6335
9a7f7422
AK
63362011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6337
6338 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6339 variable.
6340
e4fe948a
GJL
63412011-11-04 Georg-Johann Lay <avr@gjlay.de>
6342
6343 PR target/50931
6344 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6345 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6346
7084e037
JS
63472011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6348
6349 PR target/50989
6350 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6351
1a032034
RO
63522011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6353
6354 * config/c6x/t-elf (LIB2ADDEH): Set.
6355 * config/c6x/t-c6x-elf: Remove.
6356
d385f772
RO
63572011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6358
6359 * config/i386/sol2-ci.S: Rename to ...
6360 * config/i386/crti.S: ... this.
6361 * config/i386/sol2-cn.S: Rename to ...
6362 * config/i386/crtn.S: ... this.
6363 * config/sparc/sol2-ci.S: Rename to ...
6364 * config/sparc/crti.S: ... this.
6365 * config/sparc/sol2-cn.S: Rename to ...
6366 * config/sparc/crtn.S: ... this.
6367 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6368 (crti.o, crtn.o): Remove.
6369
1ba878a9
TG
63702011-11-04 Tristan Gingold <gingold@adacore.com>
6371
6372 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6373
02750c15
KK
63742011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6375
6376 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6377
bf86b067
HPN
63782011-11-03 Hans-Peter Nilsson <hp@axis.com>
6379
6380 * config.host (crisv32-*-none, cris-*-none): Remove.
6381 (crisv32-*-elf): Append to tmake_file, don't just set it.
6382 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6383
d0bc53bd
RO
63842011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6385
6386 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6387 (ecrtn$(objext)): Likewise.
6388 (ncrti$(objext)): Likewise.
6389 (ncrtn$(objext)): Likewise.
6390
036da830
AS
63912011-11-03 Andreas Schwab <schwab@redhat.com>
6392
6393 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6394
d2a7d041
DM
63952011-11-02 David S. Miller <davem@davemloft.net>
6396
6397 * configure.ac: Set host_address on sparc too.
6398 * configure: Regenerate.
6399 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6400 based upon host_address.
6401 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6402
af8ed618
JM
64032011-11-02 Jason Merrill <jason@redhat.com>
6404
6405 * config/rs6000/t-ppccomm: Add missing \.
6406
5d1c8e77
RO
64072011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6408
6409 * gthr-single.h, gthr.h: New files.
6410 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6411 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6412 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6413 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6414 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6415 * configure.ac (thread_header): New variable.
6416 Set it depending on target_thread_file.
6417 (gthr-default.h): Link from $thread_header.
6418 * configure: Regenerate.
6419 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6420
852b75ed
RO
64212011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6422
6423 * configure.ac (tm_file_): New variable.
6424 Determine from tm_file.
6425 (tm_file, tm_defines): Substitute.
6426 * configure: Regenerate.
6427 * mkheader.sh: New file.
6428 * Makefile.in (clean): Remove libgcc_tm.h.
6429 ($(objects)): Depend on libgcc_tm.h.
6430 (libgcc_tm_defines, libgcc_tm_file): New variables.
6431 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6432 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6433 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6434 ($(extra-parts)): Depend on libgcc_tm.h.
6435 * config.host (tm_defines, tm_file): New variable.
6436 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6437 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6438 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6439 (avr-*-rtems*): Likewise.
6440 (avr-*-*): Likewise.
6441 (frv-*-elf): Likewise.
6442 (frv-*-*linux*): Likewise.
6443 (h8300-*-rtems*): Likewise.
6444 (h8300-*-elf*): Likewise.
6445 (i[34567]86-*-darwin*): Likewise.
6446 (x86_64-*-darwin*): Likewise.
6447 (rx-*-elf): Likewise.
6448 (tic6x-*-uclinux): Likewise.
6449 (tic6x-*-elf): Likewise.
6450 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6451 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6452 * config/i386/cygming-crtbegin.c: Likewise.
6453 * config/i386/cygming-crtend.c: Likewise.
6454 * config/ia64/fde-vms.c: Likewise.
6455 * config/ia64/unwind-ia64.c: Likewise.
6456 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6457 * config/rs6000/darwin-fallback.c: Likewise.
6458 * config/stormy16/lib2funcs.c: Likewise.
6459 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6460 * crtstuff.c: Likewise.
6461 * dfp-bit.h: Likewise.
6462 * emutls.c: Likewise.
6463 * fixed-bit.c: Likewise.
6464 * fp-bit.c: Likewise.
6465 * generic-morestack-thread.c: Likewise.
6466 * generic-morestack.c: Likewise.
6467 * libgcc2.c: Likewise.
6468 * libgcov.c: Likewise.
6469 * unwind-dw2-fde-dip.c: Likewise.
6470 * unwind-dw2-fde.c: Likewise.
6471 * unwind-dw2.c: Likewise.
6472 * unwind-sjlj.c: Likewise.
6473
f9989b51
RO
64742011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6475
6476 * configure.ac: Include ../config/picflag.m4.
6477 (GCC_PICFLAG): Call it.
6478 Substitute.
6479 * configure: Regenerate.
6480 * Makefile.in (gcc_srcdir): Remove.
6481 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6482 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6483 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6484 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6485 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6486 Use $<.
6487 Remove comment.
6488 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6489 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6490 to refer to libgcc2.c.
6491 Use $<.
6492 * config/darwin-64.c: New file.
6493 * config/darwin-crt3.c: Remove comment.
6494 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6495 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6496 config/udivmodsi4.c: New files.
6497 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6498 config/memset.c: New files.
6499 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6500 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6501 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6502 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6503 * config/t-openbsd-thread: New file.
6504 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6505 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6506 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6507 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6508 qrnnd.S.
6509 Adapt filename.
6510 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6511 to refer to gthr-posix.c.
6512 * config/alpha/t-vms (LIB2ADD): Set.
6513 * config/alpha/vms-gcc_shell_handler.c: New file.
6514 * config/arm/bpabi.c, config/arm/fp16.c,
6515 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6516 config/arm/unaligned-funcs.c: New files.
6517 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6518 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6519 * config/arm/t-linux: Likewise.
6520 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6521 * config/arm/t-netbsd: New file.
6522 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6523 * config/arm/t-symbian (LIB2ADD_ST): Set.
6524 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6525 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6526 * config/bfin/t-elf: New file.
6527 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6528 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6529 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6530 config/c6x/ltf.c: New files.
6531 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6532 (HOST_LIBGCC2_CFLAGS): Set.
6533 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6534 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6535 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6536 New files.
6537 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6538 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6539 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6540 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6541 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6542 files.
6543 * config/frv/t-frv (LIB2ADD): Set.
6544 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6545 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6546 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6547 config/h8300/popcounthi2.c: New files.
6548 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6549 * config/i386/gthr-win32.c: New file.
6550 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6551 * config/i386/t-cygwin: Likewise.
6552 * config/i386/t-darwin, config/i386/t-darwin64,
6553 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6554 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6555 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6556 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6557 * config/ia64/quadlib.c: New file.
6558 * config/ia64/t-hpux (LIB2ADD): Set.
6559 * config/ia64/t-ia64: Add comment.
6560 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6561 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6562 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6563 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6564 * config/m32c/t-m32c (LIB2ADD): Set.
6565 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6566 * config/m32r/t-m32r: Likewise.
6567 * config/m68k/fpgnulib.c: New file.
6568 * config/m68k/t-floatlib (LIB2ADD): Set.
6569 (xfgnulib.c): New target.
6570 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6571 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6572 * config/mep/t-mep (LIB2ADD): Set.
6573 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6574 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6575 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6576 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6577 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6578 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6579 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6580 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6581 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6582 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6583 New files.
6584 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6585 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6586 * config/pa/fptr.c, config/pa/lib2funcs.S,
6587 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6588 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6589 (LIB2ADD, LIB2ADD_ST): Set.
6590 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6591 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6592 Set.
6593 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6594 * config/pdp11/t-pdp11: New file.
6595 * config/picochip/libgccExtras/adddi3.S,
6596 config/picochip/libgccExtras/ashlsi3.S,
6597 config/picochip/libgccExtras/ashrsi3.S,
6598 config/picochip/libgccExtras/clzsi2.S,
6599 config/picochip/libgccExtras/cmpsi2.S,
6600 config/picochip/libgccExtras/divmod15.S,
6601 config/picochip/libgccExtras/divmodhi4.S,
6602 config/picochip/libgccExtras/divmodsi4.S,
6603 config/picochip/libgccExtras/lshrsi3.S,
6604 config/picochip/libgccExtras/parityhi2.S,
6605 config/picochip/libgccExtras/popcounthi2.S,
6606 config/picochip/libgccExtras/subdi3.S,
6607 config/picochip/libgccExtras/ucmpsi2.S,
6608 config/picochip/libgccExtras/udivmodhi4.S,
6609 config/picochip/libgccExtras/udivmodsi4.S: New files.
6610 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6611 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6612 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6613 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6614 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6615 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6616 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6617 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6618 files.
6619 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6620 (HOST_LIBGCC2_CFLAGS): Set.
6621 * config/rs6000/t-darwin64: New file.
6622 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6623 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6624 * config/rs6000/t-ppccomm (LIB2ADD): Add
6625 $(srcdir)/config/rs6000/tramp.S.
6626 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6627 Add $(srcdir)/config/rs6000/eabi.S.
6628 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6629 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6630 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6631 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6632 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6633 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6634 * config/rs6000/tramp.S: New file.
6635 * config/s390/t-tpf: Remove.
6636 * config/sh/linux-atomic.S: New file.
6637 * config/sh/t-linux (LIB2ADD): Set.
6638 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6639 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6640 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6641 to unwind-dw2.c.
6642 (HOST_LIBGCC2_CFLAGS): Set.
6643 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6644 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6645 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6646 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6647 config/spu/mfc_multi_tag_release.c,
6648 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6649 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6650 config/spu/multi3.c: New files.
6651 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6652 (HOST_LIBGCC2_CFLAGS): Set.
6653 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6654 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6655 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6656 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6657 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6658 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6659 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6660 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6661 config/stormy16/umodsi3.c: New files.
6662 * config/xtensa/lib2funcs.S: New file.
6663 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6664 * config/xtensa/t-xtensa (LIB2ADD): Set.
6665 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6666 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6667 Add t-freebsd-thread to tmake_file for posix threads.
6668 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6669 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6670 (*-*-lynxos*): Likewise.
6671 (*-*-netbsd*): Likewise.
6672 (*-*-openbsd*): Likewise.
6673 Add t-openbsd-thread to tmake_file for posix threads.
6674 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6675 (*-*-vxworks*): Set tmake_file.
6676 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6677 (alpha*-*-freebsd*): Likewise.
6678 (alpha*-*-netbsd*): Likewise.
6679 (alpha*-*-openbsd*): Likewise.
6680 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6681 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6682 (alpha*-dec-*vms*): Likewise.
6683 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6684 (bfin*-elf*): Add bfin/t-elf to tmake_file.
6685 (bfin*-uclinux*): Likewise.
6686 (bfin*-linux-uclibc*): Likewise.
6687 (crisv32-*-elf): Add cris/t-cris to tmake_file.
6688 (crisv32-*-none): Likewise.
6689 (cris-*-elf): Likewise.
6690 (cris-*-none): Likewise.
6691 (cris-*-linux*, crisv32-*-linux*): Likewise.
6692 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6693 tmake_file.
6694 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6695 tmake_file.
6696 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6697 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6698 (x86_64-*-elf*): Likewise.
6699 (i[34567]86-*-nto-qnx*): Likewise.
6700 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6701 win32 threads.
6702 (x86_64-*-mingw*): Likewise.
6703 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6704 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6705 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6706 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6707 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6708 tmake_file.
6709 (mipsisa64sr71k-*-elf*): Likewise.
6710 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6711 (mips-*-elf*, mipsel-*-elf*): Likewise.
6712 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6713 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6714 (mips*-*-rtems*): Likewise.
6715 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6716 to tmake_file.
6717 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6718 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6719 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6720 (spu-*-elf*): Likewise.
6721 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6722
45b86625
RO
67232011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6724
6725 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6726 $(srcdir) to refer to $(LIB1ASMSRC).
6727 Use $<.
6728 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6729 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6730 config/arm/lib1funcs.S: New files.
6731 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6732 * config/arm/t-arm: New file.
6733 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6734 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6735 config/arm/t-strongarm-elf: New files.
6736 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6737 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6738 * config/avr/lib1funcs.S: New file.
6739 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6740 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6741 * config/c6x/lib1funcs.S: New file.
6742 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6743 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6744 * config/frv/lib1funcs.S: New file.
6745 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6746 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6747 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6748 * config/ia64/__divxf3.asm: Rename to ...
6749 * config/ia64/__divxf3.S: ... this.
6750 Adapt lib1funcs.asm filename.
6751 * config/ia64/_fixtfdi.asm: Rename to ...
6752 * config/ia64/_fixtfdi.S: ... this.
6753 Adapt lib1funcs.asm filename.
6754 * config/ia64/_fixunstfdi.asm: Rename to ...
6755 * config/ia64/_fixunstfdi.S: ... this.
6756 Adapt lib1funcs.asm filename.
6757 * config/ia64/_floatditf.asm: Rename to ...
6758 * config/ia64/_floatditf.S: ... this.
6759 Adapt lib1funcs.asm filename.
6760 * config/ia64/lib1funcs.S: New file.
6761 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6762 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6763 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6764 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6765 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6766 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6767 * config/mep/lib1funcs.S: New file.
6768 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6769 * config/mips/mips16.S: New file.
6770 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6771 * config/pa/milli64.S: New file.
6772 * config/pa/t-linux, config/pa/t-linux64: New files.
6773 * config/picochip/lib1funcs.S: New file.
6774 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6775 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6776 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6777 * config/sh/t-netbsd: New file.
6778 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6779 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6780 * config/sh/t-sh64: New file.
6781 * config/sparc/lb1spc.S: New file.
6782 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6783 filename.
6784 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6785 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6786 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6787 config/xtensa/lib1funcs.S: New files.
6788 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6789 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6790 tmake_file.
6791 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6792 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6793 (arm*-*-linux*): Likewise.
6794 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6795 arm*-*-linux-*eabi, add arm/t-linux otherwise.
6796 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6797 (arm*-*-ecos-elf): Likewise.
6798 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6799 (arm*-*-rtems*): Likewise.
6800 (arm*-*-elf): Likewise.
6801 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6802 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6803 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6804 (bfin*-uclinux*): Likewise.
6805 (bfin*-linux-uclibc*): Likewise.
6806 (bfin*-rtems*): Likewise.
6807 (bfin*-*): Likewise.
6808 (fido-*-elf): Merge into m68k-*-elf*.
6809 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6810 (frv-*-*linux*): Add frv/t-frv to tmake_file.
6811 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6812 (h8300-*-elf*): Likewise.
6813 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6814 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6815 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6816 (i[34567]86-*-mingw*): Likewise.
6817 (x86_64-*-mingw*): Likewise.
6818 (i[34567]86-*-interix3*): Likewise.
6819 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6820 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6821 (m68k-*-elf*): Also handle fido-*-elf.
6822 Add m68k/t-floatlib to tmake_file.
6823 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6824 (m68k-*-linux*): Likewise.
6825 (m68k-*-rtems*): Likewise.
6826 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6827 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6828 sh64*-*-*.
6829 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6830 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6831 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6832 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6833 sh/t-netbsd to tmake_file.
6834 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6835 (sh-*-rtems*): Add sh/t-sh to tmake_file.
6836 (sh-wrs-vxworks): Likewise.
6837 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6838 *-leon[3-9]*.
6839 (v850*-*-*): Add v850/t-v850 to tmake_file.
6840 (vax-*-linux*): Add vax/t-linux to tmake_file.
6841 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6842
5f73c6cc
RO
68432011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6844
6845 * crtstuff.c: New file.
6846 * Makefile.in (CRTSTUFF_CFLAGS): Define.
6847 (CRTSTUFF_T_CFLAGS): Define.
6848 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6849 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6850 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6851 crtstuff.c.
6852 Use $<.
6853 (crtbeginT.o): Use $(objext).
6854 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6855 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6856 (gcc-extra-parts): Remove.
6857 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6858 Set extra_parts.
6859 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6860 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6861 Add t-crtstuff-pic to tmake_file.
6862 (*-*-lynxos*): New case.
6863 Set tmake_file, extra_parts.
6864 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6865 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6866 *-*-netbsdelf[2-9]*.
6867 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6868 (*-*-rtems*): Set extra_parts.
6869 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6870 (*-*-uclinux*): New case.
6871 Set extra_parts.
6872 (*-*-vms*): New case.
6873 Set tmake_file, extra_parts.
6874 (*-*-elf): Set extra_parts.
6875 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6876 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6877 vms/t-vms64.
6878 Set extra_parts.
6879 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6880 Set extra_parts.
6881 (arm*-*-freebsd*): Add t-crtin to tmake_file.
6882 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6883 (arm-wrs-vxworks): Append to tmake_file.
6884 Set extra_parts.
6885 (arm*-*-uclinux*): Set extra_parts.
6886 (arm*-*-ecos-elf): Likewise.
6887 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6888 arm*-*-eabi*.
6889 (arm*-*-rtems*): Set extra_parts.
6890 (arm*-*-elf): Likewise.
6891 (avr-*-rtems*): Clear extra_parts.
6892 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6893 Set extra_parts.
6894 (bfin*-uclinux*): Likewise.
6895 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6896 (bfin*-rtems*): Append to tmake_file.
6897 Set extra_parts.
6898 (bfin*-*): Likewise.
6899 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6900 (crisv32-*-elf): ... this.
6901 (crisv32-*-none): ... this.
6902 (cris-*-elf, cris-*-none): New cases.
6903 Add cris/t-elfmulti to tmake_file.
6904 (fr30-*-elf): Append to tmake_file.
6905 Set extra_parts.
6906 (frv-*-elf): Append to tmake_file, add frv/t-frv.
6907 Set extra_parts.
6908 (h8300-*-rtems*): Append to tmake_file.
6909 Set extra_parts.
6910 (h8300-*-elf*): Likewise.
6911 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6912 Set extra_parts.
6913 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6914 Set extra_parts.
6915 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6916 (x86_64-*-elf*): Likewise.
6917 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6918 (x86_64-*-freebsd*): Likewise.
6919 (x86_64-*-netbsd*): Likewise.
6920 (i[34567]86-*-linux*): Likewise.
6921 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6922 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6923 (x86_64-*-linux*): Likewise.
6924 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6925 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6926 tmake_file.
6927 Set extra_parts.
6928 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6929 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6930 Append to extra_parts, remove crtbegin.o, crtend.o.
6931 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6932 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6933 crtend.o, crtbeginS.o, crtendS.o.
6934 (ia64*-*-linux*): Comment extra_parts.
6935 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6936 Set extra_parts.
6937 (iq2000*-*-elf*): Clear extra_parts.
6938 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6939 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6940 (m32r-*-elf*, m32r-*-rtems*): Split off ...
6941 (m32r-*-rtems*): ... this.
6942 Add m32r/t-m32r to tmake_file.
6943 (m68k-*-elf*): Add t-crtin to tmake_file.
6944 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6945 (mcore-*-elf): Likewise.
6946 (microblaze*-*-*): Set extra_parts.
6947 (mips*-sde-elf*): New case.
6948 Set tmake_file, extra_parts.
6949 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6950 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6951 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6952 tmake_file.
6953 Set extra_parts.
6954 (mipsisa64sr71k-*-elf*): Likewise.
6955 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6956 (mips-*-elf*, mipsel-*-elf*): Likewise.
6957 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6958 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6959 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6960 (mips*-*-rtems*): Likewise.
6961 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6962 (moxie-*-*): Split into ...
6963 (moxie-*-elf, moxie-*-uclinux*): ... this.
6964 Add to extra_parts, remove crtbegin.o, crtend.o.
6965 (moxie-*-rtems*): New case.
6966 Set tmake_file.
6967 Clear extra_parts.
6968 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6969 Set extra_parts.
6970 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6971 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6972 tmake_file.
6973 Set extra_parts.
6974 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6975 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6976 Set extra_parts.
6977 (powerpc-*-eabisim*): Likewise.
6978 (powerpc-*-elf*): Likewise.
6979 (powerpc-*-eabialtivec*): Likewise.
6980 (powerpc-xilinx-eabi*): Likewise.
6981 (powerpc-*-eabi*): Likewise.
6982 (powerpc-*-rtems*): Likewise.
6983 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6984 tmake_file.
6985 Set extra_parts.
6986 (powerpc-*-lynxos*): Add to tmake_file.
6987 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6988 rs6000/t-crtstuff, t-crtstuff-pic.
6989 Set extra_parts.
6990 (powerpcle-*-eabisim*): Likewise.
6991 (powerpcle-*-eabi*): Likewise.
6992 (rx-*-elf): Remove extra_parts.
6993 (s390x-ibm-tpf*): Set extra_parts.
6994 (score-*-elf): Set extra_parts.
6995 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6996 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6997 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6998 (sh64l*-*-netbsd*): Split into ...
6999 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7000 Add t-crtstuff-pic to tmake_file.
7001 Set extra_parts.
7002 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7003 Set extra_parts.
7004 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7005 (sparc-*-elf*): Remove t-crtin from tmake_file.
7006 Add to extra_parts, remove crtbegin.o, crtend.o.
7007 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7008 (sparc64-*-linux*): Likewise.
7009 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7010 Add to extra_parts, remove crtbegin.o, crtend.o.
7011 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7012 Add to extra_parts, remove crtbegin.o, crtend.o.
7013 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7014 Add to extra_parts, remove crtbegin.o, crtend.o.
7015 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7016 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7017 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7018 Set extra_parts.
7019 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7020 Set extra_parts.
7021 (tic6x-*-*): Change to ...
7022 (tic6x-*-elf): ... this.
7023 Set extra_parts.
7024 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7025 Set extra_parts.
7026 (am33_2.0-*-linux*): Add comment.
7027 (mep*-*-*): Add mep/t-mep to tmake_file.
7028 Set extra_parts.
7029 * config/alpha/t-vms: New file.
7030 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7031 * config/arm/crti.S, config/arm/crtn.S: New files.
7032 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7033 * config/bfin/crtlibid.S: New file.
7034 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7035 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7036 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7037 (crti.o, crtin.o): New rules.
7038 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7039 * config/c6x/t-uclinux: New file.
7040 * config/cris/t-elfmulti: New file.
7041 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7042 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7043 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7044 * config/frv/t-frv: New file.
7045 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7046 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7047 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7048 New files.
7049 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7050 refer to cygming-crtbegin.c, cygming-crtend.c.
7051 Use $<.
7052 * config/i386/t-nto: New file.
7053 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7054 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7055 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7056 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7057 Use .S extension.
7058 Use $<.
7059 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7060 (crtinitS.o): New rule.
7061 * config/ia64/vms-crtinit.S: New file.
7062 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7063 * config/m32r/initfini.c: New file.
7064 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7065 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7066 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7067 * config/mep/t-mep: New file.
7068 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7069 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7070 * config/mips/crti.S, config/mips/crtn.S: New files.
7071 * config/mips/t-crtstuff: New file.
7072 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7073 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7074 (CUSTOM_CRTIN): Set.
7075 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7076 dependencies.
7077 Use $(srcdir) to refer to crti.S, crtn.S.
7078 Use .S extension, $<.
7079 * config/moxie/crti.asm: Rename to ...
7080 * config/moxie/crti.S: ... this.
7081 * config/moxie/crtn.asm: Rename to ...
7082 * config/moxie/crtn.S: ... this.
7083 * config/moxie/t-moxie: Remove.
7084 * config/pa/stublib.c: New file.
7085 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7086 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7087 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7088 * config/rs6000/t-crtstuff: New file.
7089 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7090 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7091 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7092 Make output file explicit.
7093 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7094 Make output file explicit.
7095 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7096 Make output file explicit.
7097 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7098 Make output file explicit.
7099 * config/score/crti.S, config/score/crtn.S: New files.
7100 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7101 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7102 files.
7103 * config/sh/t-sh, config/sh/t-superh: New files.
7104 * config/sparc/t-linux64: New file.
7105 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7106 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7107 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7108 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7109 * config/t-crtin: Remove.
7110 * config/t-crtstuff-pic: New file.
7111 * config/t-sol2 (CUSTOM_CRTIN): Set.
7112 (crti.o, crtn.o): New rules.
7113 * config/vms/t-vms: New file.
7114 * config/vms/vms-ucrt0.c: New file.
7115 * config/xtensa/t-elf: New file.
7116
b040f2be
RO
71172011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7118
7119 * Makefile.in (SHLIB_NM_FLAGS): Set.
7120 * mkmap-flat.awk, mkmap-symver.awk: New files.
7121 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7122 exceptions.
7123 * configure: Regenerate.
7124 * config/libgcc-glibc.ver: New file.
7125 * config/libgcc-libsystem.ver: New file.
7126 * config/t-libunwind (SHLIB_LC): Set.
7127 * config/t-linux: New file.
7128 * config/t-slibgcc (INSTALL_SHLIB): New.
7129 (SHLIB_INSTALL): Use it.
7130 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7131 to mkmap-symver.awk.
7132 (SHLIB_MAPFILES): Don't append, adapt pathname.
7133 (SHLIB_VERPFX): Set.
7134 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7135 to mkmap-symver.awk.
7136 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7137 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7138 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7139 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7140 to mkmap-flat.awk.
7141 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7142 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7143 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7144 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7145 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7146 * config/i386/libgcc-darwin.10.4.ver,
7147 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7148 New files.
7149 * config/i386/t-darwin: Remove.
7150 * config/i386/t-darwin64: Likewise.
7151 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7152 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7153 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7154 * config/i386/t-linux: New file.
7155 * config/i386/t-mingw32: New file.
7156 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7157 * config/ia64/t-glibc: Rename to ...
7158 * config/ia64/t-linux: ... this.
7159 (SHLIB_MAPFILES): Set.
7160 * config/ia64/t-glibc-libunwind: Rename to ...
7161 * config/ia64/t-linux-libunwind: ... this.
7162 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7163 * config/ia64/t-slibgcc-hpux: New file.
7164 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7165 * config/m68k/t-slibgcc-elf-ver: New file.
7166 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7167 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7168 to mkmap-flat.awk.
7169 * config/pa/t-slibgcc-hpux: New file.
7170 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7171 files.
7172 * config/rs6000/libgcc-darwin.10.4.ver,
7173 config/rs6000/libgcc-darwin.10.5.ver: New files.
7174 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7175 config/rs6000/libgcc-glibc.ver.
7176 * config/rs6000/libgcc-ppc64.ver: Rename to
7177 config/rs6000/libgcc-ibm-ldouble.ver.
7178 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7179 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7180 * config/rs6000/t-ldbl128: Rename to ...
7181 * config/rs6000/t-linux: ... this.
7182 (SHLIB_MAPFILES): Adapt filename.
7183 * config/rs6000/t-slibgcc-aix: New file.
7184 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7185 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7186 libgcc-excl.ver, libgcc-glibc.ver.
7187 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7188 * config/sparc/libgcc-glibc.ver: New file.
7189 * config/sparc/t-linux: New file.
7190 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7191 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7192 t-slibgcc-elf-ver to tmake_file.
7193 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7194 *-*-freebsd[34].
7195 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7196 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7197 t-slibgcc-elf-ver, t-linux to tmake_file.
7198 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7199 tmake_file.
7200 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7201 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7202 (alpha*-dec-*vms*): Likewise.
7203 (arm*-*-freebsd*): Append to tmake_file.
7204 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7205 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7206 arm*-*-linux-*eabi.
7207 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7208 tmake_file for arm*-*-symbianelf*.
7209 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7210 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7211 cris/t-linux.
7212 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7213 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7214 pa/t-slibgcc-dwarf-ver to tmake_file.
7215 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7216 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7217 (hppa*64*-*-hpux11*): Likewise.
7218 (hppa[12]*-*-hpux11*): Likewise.
7219 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7220 i386/t-crtpc, i386/t-crtfm.
7221 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7222 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7223 to tmake_file.
7224 Add i386/t-cygwin to tmake_file.
7225 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7226 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7227 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7228 to tmake_file.
7229 Add i386/t-mingw32 to tmake_file.
7230 (x86_64-*-mingw*): Likewise.
7231 (ia64*-*-freebsd*): Append to tmake_file.
7232 (ia64*-*-linux*): Append to tmake_file.
7233 Replace ia64/t-glibc by ia64/t-linux.
7234 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7235 system libunwind.
7236 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7237 t-slibgcc-hpux to tmake_file.
7238 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7239 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7240 (m32rle-*-linux*): Likewise.
7241 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7242 sjlj exceptions.
7243 (microblaze*-linux*): New case.
7244 Append to tmake_file, add t-slibgcc-nolc-override.
7245 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7246 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7247 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7248 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7249 rs6000/t-slibgcc-aix to tmake_file.
7250 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7251 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7252 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7253 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7254 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7255 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7256 sh*-*-linux*.
7257 (sparc-*-linux*): Append to tmake_file for *-leon*.
7258 Add sparc/t-linux to tmake_file for non-Leon targets.
7259 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7260 (tic6x-*-uclinux): New case.
7261 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7262 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7263 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7264 (am33_2.0-*-linux*): Append to tmake_file.
7265 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7266 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7267 x86_64-*-kfreebsd*-gnu.
7268 Add i386/t-linux to tmake_file.
7269
18b4bd7b
ILT
72702011-10-28 Ian Lance Taylor <iant@google.com>
7271
7272 * config/i386/morestack.S: Correct CFI information to do proper
7273 returns throughout function. In 32-bit mode, save %ebx so that it
7274 is restored on unwind.
7275
5b2d9d90
BS
72762011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7277
7278 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7279 case where B3 isn't the return register.
7280
0d53e346
BS
7281 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7282 logic for doubleword pops.
7283
cbffbd59
AT
72842011-10-25 Andreas Tobler <andreast@fgznet.ch>
7285
7286 * config/rs6000/t-freebsd: Add wildcard.
7287
56dc349e
PB
72882011-10-21 Paul Brook <paul@codesourcery.com>
7289
7290 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7291
1e06b07d
UB
72922011-10-16 Uros Bizjak <ubizjak@gmail.com>
7293 Eric Botcazou <ebotcazou@adacore.com>
7294
7295 PR target/50737
7296 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7297 fs->signal_frame to 1.
7298
b5204884
ILT
72992011-10-07 Ian Lance Taylor <iant@google.com>
7300
7301 * generic-morestack-thread.c: #include <errno.h>.
7302
91a639a1
ILT
73032011-10-07 Ian Lance Taylor <iant@google.com>
7304
7305 PR target/46093
7306 * generic-morestack.c (__generic_morestack): Make sure the segment
7307 is large enough for both the stack frame and the copied
7308 parameters.
7309
cc49116d
RO
73102011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7311
7312 PR bootstrap/49804
7313 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7314 extra_parts.
7315
2996d8c3
NC
73162011-09-28 Nick Clifton <nickc@redhat.com>
7317
7318 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7319 64-bit doubles are not enabled.
7320 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7321 and floatunsisf functions.
7322
1e874273 73232011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 7324
1e874273
PB
7325 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7326 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7327 * unwind-arm-common.inc: New file.
7328 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7329 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7330 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7331 * config/c6x/libunwind.S: New file.
7332 * config/c6x/pr-support.c: New file.
7333 * config/c6x/unwind-c6x.c: New file.
7334 * config/c6x/unwind-c6x.h: New file.
7335 * config/c6x/t-c6x-elf: New file.
7336
f70c879a
UB
73372011-08-23 Uros Bizjak <ubizjak@gmail.com>
7338
7339 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7340 (ASM_DIVZERO): Ditto.
7341 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7342
c55b374b
RS
73432011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7344
7345 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7346
1e138510
RS
73472011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7348
7349 PR target/50090
7350 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7351 instead of an assembly one.
7352
1563503d
PB
73532011-08-12 Paolo Bonzini <bonzini@gnu.org>
7354
7355 PR bootstrap/50047
7356 * Makefile.in (install-unwind_h): Create
7357 $(gcc_objdir)/include/unwind.h atomically.
7358
3627ac1a
RO
73592011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7360
7361 * Makefile.in (install-unwind_h): Remove destination file first.
7362
c6412d86
RO
73632011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7364
7365 * sync.c: New file.
7366 * config/mips/t-mips16: New file.
7367 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7368 (mips*-*-linux*): Likewise.
7369 (mips*-sde-elf*): Likewise.
7370 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7371 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7372 Add mips/t-mips16 to tmake_file.
7373 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7374 (mips-*-elf*): Likewise.
7375 (mips64-*-elf*): Likewise.
7376 (mips64orion-*-elf*): Likewise.
7377 (mips*-*-rtems*): Likewise.
7378 (mipstx39-*-elf*): Likewise.
7379 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7380 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7381 LIBGCC_SYNC_CFLAGS.
7382 Use $(srcdir) to refer to sync.c.
7383 Use $<.
7384 ($(libgcc-sync-funcs-o)): Likewise.
7385 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7386 ($(libgcc-sync-funcs-s-o)): Likewise.
7387
3cb6e5bd
AS
73882011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7389
7390 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7391 t-libunwind.
7392
cca2207a
L
73932011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7394
7395 PR other/48007
7396 * config/i386/value-unwind.h: New.
7397
ed39fbad
RS
73982011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7399
7400 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7401 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7402 Add to tmake_file rather than overriding it.
7403
aca0b0b3
RO
74042011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7405
7406 * config/t-softfp: Remove.
7407 * soft-fp: Moved from ../gcc/config.
7408 * soft-fp/README: Remove t-softfp reference.
7409 * soft-fp/t-softfp: Move to config/t-softfp.
7410 (softfp_machine_header): Remove.
7411 (softfp_file_list): Remove config subdir.
7412 (soft-fp-objects): New variable.
7413 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7414 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7415 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7416 * config/t-softfp-excl: New file.
7417 * config/t-softfp-sfdf: New file.
7418 * config/t-softfp-tf: New file.
7419 * config/no-sfp-machine.h: New file.
7420 * config/arm/sfp-machine.h: New file.
7421 * config/arm/t-softfp: New file.
7422 * config/c6x/sfp-machine.h: New file.
7423 * config/i386/32/t-fprules-softfp: Rename to ...
7424 * config/i386/32/t-softfp: ... this.
7425 (tifunctions, LIB2ADD): Remove.
7426 (softfp_int_modes): Override.
7427 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7428 subdir.
7429 * config/i386/64/eqtf2.c: Likewise.
7430 * config/i386/64/getf2.c: Likewise.
7431 * config/i386/64/letf2.c: Likewise.
7432 * config/ia64/sft-machine.h: New file.
7433 * config/ia64/t-fprules-softfp: Rename to ...
7434 * config/ia64/t-softfp: ... this.
7435 * config/lm32/sfp-machine.h: New file.
7436 * config/moxie/t-moxie-softfp: Remove.
7437 * config/rs6000/ibm-ldouble-format: New file.
7438 * config/rs6000/ibm-ldouble.c: New file.
7439 * config/rs6000/libgcc-ppc-glibc.ver: New file
7440 * config/rs6000/libgcc-ppc64.ver: New file
7441 * config/rs6000/sfp-machine.h: New file.
7442 * config/rs6000/t-freebsd: New file.
7443 * config/rs6000/t-ibm-ldouble: New file.
7444 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7445 libgcc-ppc-glibc.ver.
7446 * config/rs6000/t-linux64: New file.
7447 * config/rs6000/t-ppccomm (LIB2ADD): Add
7448 $(srcdir)/config/rs6000/ibm-ldouble.c.
7449 * config/rs6000/t-ppccomm-ldbl: New file.
7450 * config/score/sfp-machine.h: New file.
7451 * config.host (sfp_machine_header): Explain.
7452 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7453 t-softfp to tmake_file.
7454 (arm*-*-uclinux*): Likewise.
7455 (arm*-*-ecos-elf): Likewise.
7456 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7457 (arm*-*-rtems*): Likewise.
7458 (arm*-*-elf): Likewise.
7459 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7460 in tmake_file.
7461 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7462 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7463 (lm32-*-uclinux*): Likewise.
7464 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7465 t-softfp-excl, t-softfp.
7466 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7467 (powerpc64-*-darwin*): Likewise.
7468 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7469 to tmake_file.
7470 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7471 tmake_file.
7472 (powerpc-*-eabisim*): Likewise.
7473 (powerpc-*-elf*): Likewise.
7474 (powerpc-*-eabialtivec*): Likewise.
7475 (powerpc-xilinx-eabi*): Likewise.
7476 (powerpc-*-rtems*): Likewise.
7477 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7478 t-softfp-excl, t-softfp to tmake_file.
7479 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7480 rs6000/t-ppccomm-ldbl to tmake_file.
7481 (powerpcle-*-elf*): Likewise.
7482 (powerpcle-*-eabisim*): Likewise.
7483 (powerpcle-*-eabi*): Likewise.
7484 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7485 rs6000/t-ibm-ldouble to tmake_file.
7486 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7487 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7488 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7489 (tic6x-*-*): Likewise.
7490 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7491 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7492 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7493 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7494 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7495 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7496 t-softfp to tmake_file.
7497 * configure.ac (sfp_machine_header): Provide default if unset.
7498 Substitute.
7499 Link sfp-machine.h to config/$sfp_machine_header.
7500 * configure: Regenerate.
7501
569dc494
RO
75022011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7503
7504 * Makefile.in (double_type_size, long_double_type_size): Set.
7505 Remove $(fpbit-in-libgcc) support.
7506 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7507 (fpbit-src): New variable.
7508 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7509 Compile with -DFLOAT $(FPBIT_CFLAGS).
7510 Use $<.
7511 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7512 Compile with $(FPBIT_CFLAGS).
7513 Use $<.
7514 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7515 Compile with -DFLOAT $(TPBIT_CFLAGS).
7516 Use $<.
7517 * configure.ac (double_type_size, long_double_type_size):
7518 Determine and substitute.
7519 * configure: Regenerate.
7520 * fp-bit.c, fp-bit.h: New files.
7521 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7522 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7523 * config/mips/t-mips: New file.
7524 * config/mips/t-sdemtk: New file.
7525 * config/rs6000/ppc64-fp.c: New file.
7526 * config/rs6000/t-darwin (LIB2ADD): Add
7527 $(srcdir)/config/rs6000/ppc64-fp.c.
7528 * config/rs6000/t-ppc64-fp: New file.
7529 * config/rx/rx-lib.h: New file.
7530 * config/rx/t-rx (FPBIT): Set to true.
7531 ($(gcc_objdir)/fp-bit.c): Remove.
7532 (DPBIT): Set to true only with -m64bit-doubles.
7533 ($(gcc_objdir)/dp-bit.c): Remove.
7534 * config/sparc/t-softfp: Remove.
7535 * config/spu/t-elf: New file.
7536 * config/t-fdpbit, config/t-fpbit: New files.
7537 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7538 (mips*-*-*): Likewise.
7539 (arm-wrs-vxworks): Likewise.
7540 (arm*-*-freebsd*): Likewise.
7541 (avr-*-rtems*): Add t-fpbit to tmake_file.
7542 (avr-*-*): Likewise.
7543 (bfin*-elf*): Add t-fdpbit to tmake_file.
7544 (bfin*-uclinux*): Likewise.
7545 (bfin*-linux-uclibc*): Likewise.
7546 (bfin*-rtems*): New case.
7547 Add t-fdpbit to tmake_file.
7548 (bfin*-*): Add t-fdpbit to tmake_file.
7549 (crisv32-*-elf): Likewise.
7550 (cris-*-linux*): Likewise.
7551 (fr30-*-elf): Likewise.
7552 (frv-*-elf, frv-*-*linux*): Likewise.
7553 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7554 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7555 (m32r-*-elf*): Likewise.
7556 (m32rle-*-elf*): Likewise.
7557 (m32r-*-linux*): Likewise.
7558 (m32rle-*-linux*): Likewise.
7559 (mcore-*-elf): Add t-fdpbit to tmake_file.
7560 (microblaze*-*-*): Likewise.
7561 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7562 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7563 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7564 Fix typo.
7565 Add mips/t-tpbit to tmake-file.
7566 (mips*-*-linux*): Fix typo.
7567 (mips*-sde-elf*): New case
7568 Add mips/t-sdemtk unless using newlib.
7569 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7570 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7571 (mn10300-*-*): Likewise.
7572 (pdp11-*-*): Likewise.
7573 (picochip-*-*): Add t-fpbit to tmake_file.
7574 (powerpc-*-eabisimaltivec*): Likewise.
7575 (powerpc-*-eabisim*): Likewise.
7576 (powerpc-*-elf*): Likewise.
7577 (powerpc-*-eabialtivec*): Likewise.
7578 (powerpc-xilinx-eabi*): New case.
7579 Add t-fdpbit to tmake_file.
7580 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7581 (powerpc-*-rtems*): Likewise.
7582 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7583 tmake_file.
7584 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7585 tmake_file.
7586 (powerpc-*-lynxos*): Likewise.
7587 (powerpcle-*-elf*): Likewise.
7588 (powerpcle-*-eabisim*): Likewise.
7589 (powerpcle-*-eabi*): Likewise.
7590 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7591 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7592 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7593 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7594 (rx-*-elf): Add t-fdpbit to tmake_file.
7595 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7596 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7597 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7598 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7599 sh*-*-netbsd*.
7600 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7601 (sh-wrs-vxworks): Likewise.
7602 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7603 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7604 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7605 (sparc64-*-rtems*): ... new case.
7606 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7607 (spu-*-elf*): Likewise.
7608 Add spu/t-elf to tmake_file.
7609 (v850*-*-*): Add t-fdpbit to tmake_file.
7610 (xstormy16-*-elf): Likewise.
7611 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7612 (mep*-*-*): Likewise.
7613
201cdb74
RO
76142011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7615
7616 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7617 variables.
7618 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7619 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7620 (install-unwind_h): New target.
7621 (all): Depend on it.
7622 * config.host (unwind_header): New variable.
7623 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7624 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7625 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7626 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7627 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7628 Set unwind_header.
7629 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7630 Set unwind_header.
7631 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7632 arm*-*-eabi*.
7633 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7634 Set unwind_header.
7635 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7636 (ia64*-*-freebsd*): Likewise.
7637 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7638 tmake_file.
7639 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7640 $with_system_libunwind.
7641 (ia64*-*-hpux*): Set tmake_file.
7642 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7643 (picochip-*-*): Set tmake_file.
7644 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7645 md_unwind_header.
7646 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7647 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7648 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7649 (xtensa*-*-elf*): Set tmake_file.
7650 (xtensa*-*-linux*): Likewise.
7651 * configure.ac: Include ../config/unwind_ipinfo.m4.
7652 Call GCC_CHECK_UNWIND_GETIPINFO.
7653 Link unwind.h to $unwind_header.
7654 * configure: Regenerate.
7655 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7656 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7657 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7658 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7659 * config/unwind-dw2-fde-darwin.c: New file.
7660 * config/arm/libunwind.S, config/arm/pr-support.c,
7661 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7662 config/arm/unwind-arm.h,: New files.
7663 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7664 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7665 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7666 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7667 config/ia64/unwind-ia64.h: New files.
7668 * config/picochip/t-picochip: New file.
7669 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7670 files.
7671 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7672 * config/s390/t-tpf (LIB2ADDEH): Remove.
7673 * config/t-darwin (LIB2ADDEH): Set.
7674 * config/t-eh-dw2-dip: New file.
7675 * config/t-libunwind, config/t-libunwind-elf: New files.
7676 * config/t-sol2 (LIB2ADDEH): Remove.
7677 * config/xtensa/t-xtensa: New file.
7678
40f2f11f
L
76792011-08-02 H.J. Lu <hongjiu.lu@intel.com>
7680
7681 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7682 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7683 long long to check rt_sigreturn syscall.
7684
bd15e32c
AM
76852011-08-02 Alan Modra <amodra@gmail.com>
7686
7687 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7688 Restore for indirect call bcrtl from correct stack slot, and only
7689 if cfa+40 isn't valid.
7690
655b30bf
JB
76912011-08-01 Julian Brown <julian@codesourcery.com>
7692
7693 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7694 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7695 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7696
247eb06f
JB
76972011-08-01 Julian Brown <julian@codesourcery.com>
7698
7699 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7700 (libgcc-std.ver.in): Use above.
7701 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7702 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
7703 throughout file.
7704 * config/t-fixedpoint-gnu-prefix: New file.
7705 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7706 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7707 instead of __PFX__.
7708
02a8fe00
L
77092011-07-28 H.J. Lu <hongjiu.lu@intel.com>
7710
7711 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7712 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7713 for x86-64. Properly check __x86_64__ and __LP64__.
7714
5fce9126
L
77152010-07-28 H.J. Lu <hongjiu.lu@intel.com>
7716
7717 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7718 version.
7719 (_FP_WS_TYPE): Likewise.
7720 (_FP_I_TYPE): Likewise.
7721
2374a88a
AM
77222011-07-28 Alan Modra <amodra@gmail.com>
7723
7724 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7725 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7726 in a plt call stub. Do restore r2 if stopped on bctrl.
7727
e44dbbe1
RO
77282011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7729
7730 * config.host (i[3456x]86-*-netware*): Remove.
7731 * config/i386/netware-crt0.c, config/i386/t-nwld,
7732 config/i386/t-slibgcc-nwld: Remove.
7733
bcead286
BS
77342011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7735
7736 * config.host: Handle tic6x-*-*.
7737 * config/c6x/c6x-abi.h: New file.
7738
b3fe1584
RO
77392011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7740
7741 * config/i386/crtprec.c: New file.
7742 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7743 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7744 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7745 (x86_64-*-darwin*): Likewise.
7746 (i[34567]86-*-solaris2*: Likewise.
7747
35d8090d
RO
77482011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7749
7750 * config/alpha/crtfastmath.c: New file.
7751 * config/i386/crtfastmath.c: New file.
7752 * config/ia64/crtfastmath.c: New file.
7753 * config/mips/crtfastmath.c: New file.
7754 * config/sparc/crtfastmath.c: New file.
7755
7756 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7757 crtfastmath.c.
7758 Add -frandom-seed=gcc-crtfastmath.
7759 * config/alpha/t-crtfm: Remove.
7760 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7761 * config/ia64/t-ia64 (crtfastmath.o): Remove.
7762
7763 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7764 (alpha*-dec-osf5.1*): Likewise.
7765 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7766 Add crtfastmath.o to extra_parts.
7767 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7768 Add crtfastmath.o to extra_parts.
7769 (x86_64-*-darwin*): Likewise.
7770 (x86_64-*-mingw*): Likewise.
7771 (ia64*-*-elf*): Add t-crtfm to tmake_file.
7772 (ia64*-*-freebsd*): Likewise.
7773 (ia64*-*-linux*): Likewise.
7774 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7775 Add crtfastmath.o to extra_parts.
7776
e141542e
RO
77772011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7778
7779 * config/darwin-crt3.o: New file.
7780 * config/rs6000/darwin-crt2.c: New file.
7781 * config/t-darwin: New file.
7782 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7783 (crt2.o): New rule.
7784 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7785 (powerpc-*-darwin*): Add crt2.o to extra_parts.
7786 (powerpc64-*-darwin*): Likewise.
7787
2d1efe2d
RO
77882011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7789
7790 * config/i386/netware-crt0.c: New file.
7791 * config/i386/t-nwld: Rename to ...
7792 * config/i386/t-slibgcc-nwld: ... this.
7793 * config/i386/t-nwld: New file.
7794 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7795 tmake_file.
7796 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7797 extra_parts.
7798
4a8bb046
RO
77992011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7800
7801 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7802 i386/t-crtstuff.
7803 * configure: Regenerate.
7804
2d8d5935
RO
78052011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7806
7807 * dfp-bit.c, dfp-bit.h: New files.
7808 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7809 variables.
7810 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7811 ($(d64pbit-o)): Likewise.
7812 ($(d128pbit-o)): Likewise.
7813 * config/t-dfprules: New file.
7814 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7815 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7816 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7817 (x86_64-*-linux*): Likewise.
7818 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7819 (i[34567]86-*-cygwin*): Likewise.
7820 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
7821 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7822
2c50b2c3
RO
78232011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7824
7825 * Makfile.in (LIBGCOV): New variable.
7826 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7827 * libgcov.c: New file.
7828
a039d7c2
RO
78292011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7830
7831 * fixed-bit.c, fixed-bit.h: New files.
7832 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7833 refer to fixed-bit.c.
7834
1e4b2746
JM
78352011-07-07 Joseph Myers <joseph@codesourcery.com>
7836
7837 * config.host (*local*): Remove.
7838
fbdd5d87
RO
78392011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7840
7841 PR target/39150
7842 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7843 like i?86-*-solaris2.1[0-9]*.
7844 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7845 * configure.ac (i?86-*-solaris2*): Likewise.
7846 * configure: Regenerate.
7847
9e7714f4
TS
78482011-07-06 Thomas Schwinge <thomas@schwinge.name>
7849
7850 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7851 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7852 md_unwind_header by splitting out of...
7853 (i[34567]86-*-linux*): ... this.
7854 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7855 Remove md_unwind_header by splitting out of...
7856 (x86_64-*-linux*): ... this.
7857
6dab9931
GJL
78582011-07-04 Georg-Johann Lay <avr@gjlay.de>
7859
7860 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7861
4be46d19
NC
78622011-06-28 Nick Clifton <nickc@redhat.com>
7863
7864 * config.host: Recognize all V850 variants.
7865
1da9434b
UB
78662011-06-22 Uros Bizjak <ubizjak@gmail.com>
7867
7868 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7869
e4d48a4d
RO
78702011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7871
7872 * shared-object.mk (c_flags-$o): Save c_flags.
7873 ($(base)$(objext)): Use it.
7874 ($(base)_s$(objext)): Likewise.
7875
3801c801
BS
78762011-06-21 Bernd Schmidt <bernds@codesourcery.com>
7877
7878 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7879 * libgcc-std.ver.in (GCC_4.7.0): New section.
7880
0ad8bb3b 78812011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 7882
0ad8bb3b
GJL
7883 PR target/49313
7884 PR target/29524
7885 * config/avr/t-avr: Fix line endings.
7886 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
7887 _parityXX2.
7888
ea963999
OH
78892011-06-14 Olivier Hainque <hainque@adacore.com>
7890 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7891
7892 * config/mips/irix6-unwind.h: New file.
7893 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7894
b11b0904
EB
78952011-06-10 Eric Botcazou <ebotcazou@adacore.com>
7896
7897 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7898 (sparc64_fallback_frame_state): Use it.
7899 (sparc64_frob_update_context): Further adjust context.
7900 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7901 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7902 * config/sparc/sol2-cn.S: Likewise.
7903
10e48e39
RO
79042011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7905
7906 * enable-execute-stack-empty.c: New file.
7907 * enable-execute-stack-mprotect.c: New file.
7908 * config/i386/enable-execute-stack-mingw32.c: New file.
7909 * config.host (enable_execute_stack): New variable.
7910 Select appropriate variants.
7911 * configure.ac: Link enable-execute-stack.c to
7912 $enable_execute_stack.
7913 * configure: Regenerate.
7914 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7915 (lib2funcs): Remove _enable_execute_stack.
7916
10c4cabc
DM
79172011-06-09 David S. Miller <davem@davemloft.net>
7918 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7919
7920 * config.host (sparc-*-linux*): Correct md_unwind_header
7921 filename.
7922 (s390x-ibm-tpf*): Fix typo.
7923
aa4203e7
RO
79242011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7925
7926 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7927 Add crtfastmath.o to extra_parts.
7928 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7929 mips/t-crtfm.
7930 * config/mips/t-crtfm: Remove.
7931
0defd786
JDA
79322011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7933
7934 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7935
82f247af
KK
79362011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
7937
7938 * config.host (sh*-*-linux*): Fix typo.
7939
58cd1d70
RO
79402011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7941
7942 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7943 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7944 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7945 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7946 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7947 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7948 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7949 Wrap in !__MINGW64__.
7950 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7951 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7952 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7953 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7954 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7955 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7956 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7957 Wrap in !__LP64__.
7958 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7959 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7960 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7961 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7962 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7963 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7964 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7965 * config/no-unwind.h: New file.
7966 * config.host (md_unwind_header): Document.
7967 Define.
7968 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7969 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7970 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7971 hppa[12]*-*-hpux11*): Set md_unwind_header.
7972 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7973 Set md_unwind_header.
7974 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7975 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7976 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7977 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7978 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7979 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7980 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7981 md_unwind_header.
7982 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7983 * configure: Regenerate.
7984
737346fa
RO
79852011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7986
7987 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7988 Set tmake_file, extra_parts.
7989 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7990 Remove O32 support.
7991 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7992 Remove O32 support.
7993 * config/mips/t-irix6: New file.
7994 * config/mips/t-slibgcc-irix: New file.
7995
c192cee6
RO
79962011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7997
7998 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7999 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8000
ee33b5f0
RO
80012011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8002
8003 * configure.ac (target_thread_file): Determine thread model.
8004 * configure: Regenerate.
8005 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8006 * config/alpha/t-alpha: New file.
8007 * config/alpha/t-crtfm: Use $<.
8008 * config/alpha/t-ieee: New file.
8009 * config/alpha/t-osf-pthread: New file.
8010 * config/alpha/t-slibgcc-osf: New file.
8011 * config/alpha/libgcc-osf5.ver: New file.
8012
0699e415
RO
80132011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8014
8015 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8016 tmake_file.
8017 Add crtfastmath.o to extra_parts.
8018
a3fab9c2
RO
80192011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8020
8021 * config/gmon-sol2.c: Reindent.
8022 Cleanup comments.
8023 Remove, correct casts.
8024 Use STDERR_FILENO, NULL.
8025 (BASEADDRESS): Remove.
8026 (minbrk): Remove.
8027 (errno, sbrk): Remove declarations.
8028 (monstartup) [hp300]: Remove.
8029 (mcount): Remove.
8030
ca24c5ad
RO
80312011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8032
8033 * Makefile.in (cpu_type): Define.
8034 * config.host (i[34567]86-*-rtems*): Handle it.
8035 (i[34567]86-*-solaris2*): Move body ...
8036 (*-*-solaris2*): ... here.
8037 New case, generalize.
8038 (sparc-*-elf*): Handle it.
8039 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8040 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8041 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8042 Fold into ...
8043 (sparc*-*-solaris2*): ... this.
8044 New case.
8045 (sparc64-*-elf*): Handle it.
8046 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8047 Merge ../gcc/config/i386/gmon-sol2.c.
8048 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8049 Use C comments.
8050 Merge ../gcc/config/i386/sol2-gc1.asm.
8051 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8052 Use C comments.
8053 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8054 Use C comments.
8055 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8056 * config/i386/t-crtstuff: New file.
8057 * config/i386/t-softfp: New file.
8058 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8059 $(T)crti.o, $(T)crtn.o): Remove.
8060 (gcrt1.o): New rule.
8061 (TARGET_LIBGCC2_CFLAGS): Remove.
8062 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8063 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8064 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8065 * config/sparc/t-sol2: New file.
8066 * config/sparc/t-crtfm: Move to ...
8067 * config/t-crtfm: ... this.
8068 Use $(cpu_type), $<.
8069 * config/t-crtin: New file.
8070 * config/sparc/t-softfp: New file.
8071 * config/sparc/t-softmul: New file.
8072 * config/t-rtems: New file.
8073 * config/t-slibgcc: New file.
8074 * config/t-slibgcc-elf-ver: New file.
8075 * config/t-slibgcc-gld: New file.
8076 * config/t-slibgcc-sld: New file.
8077 * config/t-sol2: New file.
8078 * configure.ac: Include ../config/lib-ld.m4.
8079 Call AC_LIB_PROG_LD_GNU.
8080 Substitute cpu_type.
8081 * configure: Regenerate.
8082
ad5f3d7b
BS
80832011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8084
8085 PR bootstrap/49173
8086 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8087 libgcc-std.ver in the build directory.
8088 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8089 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8090
cdbf4541
BS
80912011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8092
8093 * libgcc-std.ver.in: New file.
8094 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8095 variables.
8096 (libgcc-std.ver): New rule.
8097 * config/t-gnu-prefix: New file.
8098
c8028650
RO
80992011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8100
8101 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8102
4a68b4ca
JM
81032011-05-10 Joseph Myers <joseph@codesourcery.com>
8104
8105 * config/i386/darwin-lib.h: New file.
8106
80cf2e08
JM
81072011-05-10 Joseph Myers <joseph@codesourcery.com>
8108
8109 * config/arm/symbian-lib.h: New.
8110
a3330c9d
CD
81112011-05-04 Chris Demetriou <cgd@google.com>
8112
8113 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8114 (__x86.get_pc_thunk.bx): ...this.
8115 (__morestack): Adjust for rename, remove undef of __i686.
8116
6ace0756
CD
81172011-05-03 Chris Demetriou <cgd@google.com>
8118
8119 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8120
ebb9f8b0
JM
81212011-03-22 Joseph Myers <joseph@codesourcery.com>
8122
8123 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8124 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8125 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8126 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8127 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8128 Remove cases.
8129
9cfa1499
AT
81302011-03-14 Andreas Tobler <andreast@fgznet.ch>
8131
8132 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8133 Adjust copyright year.
8134
457186f6
ILT
81352011-03-07 Ian Lance Taylor <iant@google.com>
8136
8137 * generic-morestack.c (__splitstack_find): Adjust returned stack
8138 pointer to include all registers pushed by __morestack.
8139
58c741a6
DK
81402011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8141
8142 PR target/40125
8143 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8144 (toolexecdir): Calculate and AC_SUBST.
8145 (toolexeclibdir): Likewise.
8146 * Makefile.in (target_noncanonical): Import.
8147 (toolexecdir): Likewise.
8148 (toolexeclibdir): Likewise.
8149 * configure: Regenerate.
8150
26716c44
NF
81512010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8152
8153 PR target/46040
8154 * config/arm/bpabi.h: Rename to...
8155 * config/arm/bpabi-lib.h: ...this.
8156
b595b1a1
RO
81572010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8158
8159 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8160 appropriate.
8161 * configure: Regenerate.
8162
a3abe41c
NF
81632010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8164
8165 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8166 __FLOAT_WORD_ORDER__.
8167 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8168 Delete.
8169
455c8f48
RW
81702010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8171
8172 PR other/46202
8173 * Makefile.in (install-strip): New phony target.
8174
f3824a8b
ILT
81752010-11-07 Ian Lance Taylor <iant@google.com>
8176
8177 PR target/46089
8178 * config/i386/morestack.S (__morestack_large_model): New
8179 function.
8180
18ed6ee4
NF
81812010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8182
8183 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8184 Delete.
8185 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8186
8ac7fdcb
NF
81872010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8188
8189 * config/arm/bpabi.h: New file.
8190 * config/frv/frv-abi.h: New file.
8191
cdb388c2
ILT
81922010-10-01 Ian Lance Taylor <iant@google.com>
8193
8194 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8195 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8196
ef7c141c
L
81972010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8198
8199 PR target/45858
8200 * config.host: Add the missing `$'.
8201
80920132
ME
82022010-09-30 Michael Eager <eager@eagercon.com>
8203
8204 * config.host: Add microblaze*-*-*.
8205 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8206 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8207 udivsi3.asm,umodsi3.asm}: New.
8208
6dace308
ILT
82092010-09-28 Ian Lance Taylor <iant@google.com>
8210
8211 * configure.ac: Adjust CFI test to test assembler directly rather
8212 than checking gcc preprocessor macro.
8213 * configure: Rebuild.
8214
b6110d6d
ILT
82152010-09-27 Ian Lance Taylor <iant@google.com>
8216
8217 * configure.ac: Test whether assembler supports CFI directives.
8218 * config.host: Only add t-stack and i386/t-stack-i386 to
8219 tmake_file if libgcc_cv_cfi is "yes".
8220 * configure: Rebuild.
8221
7458026b
ILT
82222010-09-27 Ian Lance Taylor <iant@google.com>
8223
8224 * generic-morestack.h: New file.
8225 * generic-morestack.c: New file.
8226 * generic-morestack-thread.c: New file.
8227 * config/i386/morestack.S: New file.
8228 * config/t-stack: New file.
8229 * config/i386/t-stack-i386: New file.
8230 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8231 i386/t-stack-i386 to tmake_file.
8232
5b50fc0c
IS
82332010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8234
8235 * Makefile.in (libgcc-extra-parts): Check for static archives and
8236 invoke ranlib after installing them.
8237 (gcc-extra-parts): Likewise.
8238 (install-leaf): Likewise.
8239
b93cf342
L
82402010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8241
8242 * configure: Regenerated.
8243
996b42ef
KT
82442010-09-10 Kai Tietz <kai.tietz@onevision.com>
8245
b93cf342 8246 * configure: Regenerated.
996b42ef 8247
be1c764e
GP
82482010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8249 Andrew Pinski <pinskia@gmail.com>
8250
1da9434b 8251 PR target/40959
be1c764e
GP
8252 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8253
cc0ae0ca
L
82542010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8255
8256 PR target/45524
8257 * configure: Regenerated.
8258
84f47d20
AS
82592010-09-06 Andreas Schwab <schwab@redhat.com>
8260
8261 * configure: Regenerate.
8262
4159fb8d
UB
82632010-09-03 Uros Bizjak <ubizjak@gmail.com>
8264
8265 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8266 64bit targets.
8267 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8268 for 64bit targets.
8269
0df8fcc8
UB
82702010-09-03 Uros Bizjak <ubizjak@gmail.com>
8271 Iain Sandoe <iains@gcc.gnu.org>
8272
8273 PR target/45476
8274 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8275 LIB2FUNCS_EXCLUDE functions.
8276
3c39bca6
AK
82772010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8278
8279 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8280 Include dfp.m4.
8281 * configure: Regenerate.
8282
d78552bd
UB
82832010-09-01 Uros Bizjak <ubizjak@gmail.com>
8284
8285 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8286 i386/t-freebsd to tmake_file.
8287 * config/i386/t-freebsd: New file.
8288 * config/i386/libgcc-bsd.ver: New file.
8289
c5b79d4e
NF
82902010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8291
8292 * config.host (powerpc*-eabispe*): Set tmake_file.
8293 (powerpc*-eabi*): Likewise.
8294 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8295 crtbeginS, crtendS, crtbeginT.
8296
48b09a92
KH
82972010-06-12 Kazu Hirata <kazu@codesourcery.com>
8298
8299 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8300 to tmake_file. Add crtfastmath.o to extra_parts.
8301 * config/mips/t-crtfm: New.
8302
7d296953 83032010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
8304
8305 * config.host (sparc64-*-rtems*): New target.
8306
ed104137
RO
83072010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8308
8309 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8310 assembler syntax.
8311
3f56ef8b
TS
83122010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8313
8314 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8315
8c200350
RO
83162010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8317
8318 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8319 alpha-dec-osf5.0* support.
8320
7d296953 83212010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
8322
8323 * config.host: Add lm32-*-rtems*.
8324
f128db92 83252010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 8326 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
8327
8328 PR target/39048
8329 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8330 like other remaining 32-bit x86 OSes.
8331 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8332 assembler syntax.
8333 * config/i386/libgcc-sol2.ver: New file.
8334 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8335
7d296953 83362010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
8337
8338 PR c/43553
8339 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8340 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8341 is used and substitute set_use_emutls.
8342 * configure: Regenerated.
8343
15baf7f8
TG
83442010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8345
8346 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8347
7f5441df
RO
83482010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8349
8350 PR target/38085
8351 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8352 MULTILIB_CFLAGS.
8353 ($(T)gcrt1.o): Likewise.
8354 ($(T)crt1.o): Likewise.
8355 ($(T)crti.o): Likewise.
8356 ($(T)crtn.o): Likewise.
8357
ef74edbd
RW
83582010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8359
8360 PR other/42980
8361 * Makefile.in (install): Use $(MAKE) string in rule, for
8362 parallel make.
8363
e7c914db
HPN
83642010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8365
8366 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8367 * config/mmix/t-mmix: New file.
8368 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8369
1bcb71c4
JH
83702010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8371
8372 PR java/41991
8373 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8374 SHLIB_MAPFILES.
8375
e6e50811
AG
83762010-01-04 Anthony Green <green@moxielogic.com>
8377
8378 * config/moxie/crti.asm, config/moxie/crtn.asm,
8379 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8380 config/moxie/t-moxie: New files.
8381 * config.host: Add t-moxie-softfp reference.
8382
7d296953 83832009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
8384
8385 PR other/39888
8386 * config/t-slibgcc-darwin: Fix embedded rpaths for
8387 --enable-version-specific-runtime-libs, build extension stub
8388 libs exposing features available from current libgcc_s.
8389
7d296953 83902009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 8391
d78552bd
UB
8392 * config.host: Add lm32 targets.
8393 * config/lm32: New directory.
8394 * config/lm32/libgcc_lm32.h: New file.
8395 * config/lm32/_mulsi3.c: New file.
8396 * config/lm32/_udivmodsi4.c: New file.
8397 * config/lm32/_divsi3.c: New file.
8398 * config/lm32/_modsi3.c: New file.
8399 * config/lm32/_udivsi3.c: New file.
8400 * config/lm32/_umodsi3.c: New file.
8401 * config/lm32/_lshrsi3.S: New file.
8402 * config/lm32/_ashrsi3.S: New file.
8403 * config/lm32/_ashlsi3.S: New file.
8404 * config/lm32/crti.S: New file.
8405 * config/lm32/crtn.S: New file.
8406 * config/lm32/t-lm32: New file.
8407 * config/lm32/t-elf: New file.
8408 * config/lm32/t-uclinux: New file.
aa4945c1 8409
65a324b4
NC
84102009-10-26 Nick Clifton <nickc@redhat.com>
8411
8412 * config.host: Add support for RX target.
8413 * config/rx: New directory.
8414 * config/rx/rx-abi-functions.c: New file. Supplementary
8415 functions for libgcc to support the RX ABI.
8416 * config/rx/rx-abi.h: New file. Supplementary header file for
8417 libgcc RX ABI functions.
8418 * config/rx/t-rx: New file: Makefile fragment for building
8419 libgcc for the RX.
8420
dfb3b0e3
UB
84212009-10-09 Uros Bizjak <ubizjak@gmail.com>
8422
8423 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8424 constraint of y0 to "g".
8425
81dd9fd7
AK
84262009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8427
8428 * config.host: Include the s390 makefile fragments.
8429 * config/s390/32/_fixdfdi.c: New file.
8430 * config/s390/32/_fixsfdi.c: New file.
8431 * config/s390/32/_fixtfdi.c: New file.
8432 * config/s390/32/_fixunsdfdi.c: New file.
8433 * config/s390/32/_fixunssfdi.c: New file.
8434 * config/s390/32/_fixunstfdi.c: New file.
8435 * config/s390/32/t-floattodi: New file.
8436 * config/s390/libgcc-glibc.ver: New file.
8437 * config/s390/t-crtstuff: New file.
8438 * config/s390/t-linux: New file.
8439 * config/s390/t-tpf: New file.
8440
df58e648
RW
84412009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8442
8443 * configure.ac (AC_PREREQ): Bump to 2.64.
8444
79052be3
KK
84452009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8446
8447 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8448
5213506e
RW
84492009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8450
8451 * configure: Regenerate.
8452
a9a25daa
DR
84532009-08-09 Douglas B Rupp <rupp@gnat.com>
8454
8455 * config.host (ia64-hp-*vms*): New target.
8456 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8457 with ia64-hp-*vms*.
8458
6efbd53f
RW
84592009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8460
8461 * configure.ac: Add snippet for maintainer-mode.
8462 * configure: Regenerate.
8463 * Makefile.in (AUTOCONF, configure_deps): New variables.
8464 ($(srcdir)/configure)): New rule, active only with maintainer
8465 mode turned on.
8466
7acf4da6
DD
84672009-06-23 DJ Delorie <dj@redhat.com>
8468
8469 Add MeP port.
8470 * config.host: Add mep support.
8471
54f549af
KT
84722009-06-22 Kai Tietz <kai.tietz@onevision.com>
8473
34481f28 8474 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8475 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
8476
8477 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8478 for mingw targets.
54f549af
KT
8479 * config/i386/64/_multc3.c: Likewise.
8480 * config/i386/64/_powitf2.c: Likewise.
8481 * config/i386/64/eqtf2.c: Likewise.
8482 * config/i386/64/getf2.c: Likewise.
8483 * config/i386/64/letf2.c: Likewise.
8484 * config/i386/64/letf2.c: Likewise.
34481f28
UB
8485 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8486 unsigned long long for x64 mingw targets.
8487 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8488 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 8489
fea96e25
MR
84902009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8491
8492 * config.host (vax-*-linux*): New.
8493
cceb575c
AG
84942009-05-31 Anthony Green <green@moxielogic.com>
8495
8496 * config.host: Add moxie support.
8497 * config/moxie/t-moxie: New file.
8498
7d296953 84992009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
8500
8501 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8502 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 8503
532bfb0a
AJ
85042009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8505
8506 * config.host: Add i386/${host_address}/t-fprules-softfp to
8507 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8508
748086b7
JJ
85092009-04-09 Nick Clifton <nickc@redhat.com>
8510
8511 * config/ia64/tf-signs.c: Change copyright header to refer to
8512 version 3 of the GNU General Public License with version 3.1
8513 of the GCC Runtime Library Exception and to point readers at
8514 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8515 web page.
8516 * config/i386/32/tf-signs.c: Likewise.
8517 * config/libbid/_addsub_dd.c: Likewise.
8518 * config/libbid/_addsub_sd.c: Likewise.
8519 * config/libbid/_addsub_td.c: Likewise.
8520 * config/libbid/_dd_to_df.c: Likewise.
8521 * config/libbid/_dd_to_di.c: Likewise.
8522 * config/libbid/_dd_to_sd.c: Likewise.
8523 * config/libbid/_dd_to_sf.c: Likewise.
8524 * config/libbid/_dd_to_si.c: Likewise.
8525 * config/libbid/_dd_to_td.c: Likewise.
8526 * config/libbid/_dd_to_tf.c: Likewise.
8527 * config/libbid/_dd_to_udi.c: Likewise.
8528 * config/libbid/_dd_to_usi.c: Likewise.
8529 * config/libbid/_dd_to_xf.c: Likewise.
8530 * config/libbid/_df_to_dd.c: Likewise.
8531 * config/libbid/_df_to_sd.c: Likewise.
8532 * config/libbid/_df_to_td.c: Likewise.
8533 * config/libbid/_di_to_dd.c: Likewise.
8534 * config/libbid/_di_to_sd.c: Likewise.
8535 * config/libbid/_di_to_td.c: Likewise.
8536 * config/libbid/_div_dd.c: Likewise.
8537 * config/libbid/_div_sd.c: Likewise.
8538 * config/libbid/_div_td.c: Likewise.
8539 * config/libbid/_eq_dd.c: Likewise.
8540 * config/libbid/_eq_sd.c: Likewise.
8541 * config/libbid/_eq_td.c: Likewise.
8542 * config/libbid/_ge_dd.c: Likewise.
8543 * config/libbid/_ge_sd.c: Likewise.
8544 * config/libbid/_ge_td.c: Likewise.
8545 * config/libbid/_gt_dd.c: Likewise.
8546 * config/libbid/_gt_sd.c: Likewise.
8547 * config/libbid/_gt_td.c: Likewise.
8548 * config/libbid/_isinfd128.c: Likewise.
8549 * config/libbid/_isinfd32.c: Likewise.
8550 * config/libbid/_isinfd64.c: Likewise.
8551 * config/libbid/_le_dd.c: Likewise.
8552 * config/libbid/_le_sd.c: Likewise.
8553 * config/libbid/_le_td.c: Likewise.
8554 * config/libbid/_lt_dd.c: Likewise.
8555 * config/libbid/_lt_sd.c: Likewise.
8556 * config/libbid/_lt_td.c: Likewise.
8557 * config/libbid/_mul_dd.c: Likewise.
8558 * config/libbid/_mul_sd.c: Likewise.
8559 * config/libbid/_mul_td.c: Likewise.
8560 * config/libbid/_ne_dd.c: Likewise.
8561 * config/libbid/_ne_sd.c: Likewise.
8562 * config/libbid/_ne_td.c: Likewise.
8563 * config/libbid/_sd_to_dd.c: Likewise.
8564 * config/libbid/_sd_to_df.c: Likewise.
8565 * config/libbid/_sd_to_di.c: Likewise.
8566 * config/libbid/_sd_to_sf.c: Likewise.
8567 * config/libbid/_sd_to_si.c: Likewise.
8568 * config/libbid/_sd_to_td.c: Likewise.
8569 * config/libbid/_sd_to_tf.c: Likewise.
8570 * config/libbid/_sd_to_udi.c: Likewise.
8571 * config/libbid/_sd_to_usi.c: Likewise.
8572 * config/libbid/_sd_to_xf.c: Likewise.
8573 * config/libbid/_sf_to_dd.c: Likewise.
8574 * config/libbid/_sf_to_sd.c: Likewise.
8575 * config/libbid/_sf_to_td.c: Likewise.
8576 * config/libbid/_si_to_dd.c: Likewise.
8577 * config/libbid/_si_to_sd.c: Likewise.
8578 * config/libbid/_si_to_td.c: Likewise.
8579 * config/libbid/_td_to_dd.c: Likewise.
8580 * config/libbid/_td_to_df.c: Likewise.
8581 * config/libbid/_td_to_di.c: Likewise.
8582 * config/libbid/_td_to_sd.c: Likewise.
8583 * config/libbid/_td_to_sf.c: Likewise.
8584 * config/libbid/_td_to_si.c: Likewise.
8585 * config/libbid/_td_to_tf.c: Likewise.
8586 * config/libbid/_td_to_udi.c: Likewise.
8587 * config/libbid/_td_to_usi.c: Likewise.
8588 * config/libbid/_td_to_xf.c: Likewise.
8589 * config/libbid/_tf_to_dd.c: Likewise.
8590 * config/libbid/_tf_to_sd.c: Likewise.
8591 * config/libbid/_tf_to_td.c: Likewise.
8592 * config/libbid/_udi_to_dd.c: Likewise.
8593 * config/libbid/_udi_to_sd.c: Likewise.
8594 * config/libbid/_udi_to_td.c: Likewise.
8595 * config/libbid/_unord_dd.c: Likewise.
8596 * config/libbid/_unord_sd.c: Likewise.
8597 * config/libbid/_unord_td.c: Likewise.
8598 * config/libbid/_usi_to_dd.c: Likewise.
8599 * config/libbid/_usi_to_sd.c: Likewise.
8600 * config/libbid/_usi_to_td.c: Likewise.
8601 * config/libbid/_xf_to_dd.c: Likewise.
8602 * config/libbid/_xf_to_sd.c: Likewise.
8603 * config/libbid/_xf_to_td.c: Likewise.
8604 * config/libbid/bid128.c: Likewise.
8605 * config/libbid/bid128_2_str.h: Likewise.
8606 * config/libbid/bid128_2_str_macros.h: Likewise.
8607 * config/libbid/bid128_2_str_tables.c: Likewise.
8608 * config/libbid/bid128_add.c: Likewise.
8609 * config/libbid/bid128_compare.c: Likewise.
8610 * config/libbid/bid128_div.c: Likewise.
8611 * config/libbid/bid128_fma.c: Likewise.
8612 * config/libbid/bid128_logb.c: Likewise.
8613 * config/libbid/bid128_minmax.c: Likewise.
8614 * config/libbid/bid128_mul.c: Likewise.
8615 * config/libbid/bid128_next.c: Likewise.
8616 * config/libbid/bid128_noncomp.c: Likewise.
8617 * config/libbid/bid128_quantize.c: Likewise.
8618 * config/libbid/bid128_rem.c: Likewise.
8619 * config/libbid/bid128_round_integral.c: Likewise.
8620 * config/libbid/bid128_scalb.c: Likewise.
8621 * config/libbid/bid128_sqrt.c: Likewise.
8622 * config/libbid/bid128_string.c: Likewise.
8623 * config/libbid/bid128_to_int16.c: Likewise.
8624 * config/libbid/bid128_to_int32.c: Likewise.
8625 * config/libbid/bid128_to_int64.c: Likewise.
8626 * config/libbid/bid128_to_int8.c: Likewise.
8627 * config/libbid/bid128_to_uint16.c: Likewise.
8628 * config/libbid/bid128_to_uint32.c: Likewise.
8629 * config/libbid/bid128_to_uint64.c: Likewise.
8630 * config/libbid/bid128_to_uint8.c: Likewise.
8631 * config/libbid/bid32_to_bid128.c: Likewise.
8632 * config/libbid/bid32_to_bid64.c: Likewise.
8633 * config/libbid/bid64_add.c: Likewise.
8634 * config/libbid/bid64_compare.c: Likewise.
8635 * config/libbid/bid64_div.c: Likewise.
8636 * config/libbid/bid64_fma.c: Likewise.
8637 * config/libbid/bid64_logb.c: Likewise.
8638 * config/libbid/bid64_minmax.c: Likewise.
8639 * config/libbid/bid64_mul.c: Likewise.
8640 * config/libbid/bid64_next.c: Likewise.
8641 * config/libbid/bid64_noncomp.c: Likewise.
8642 * config/libbid/bid64_quantize.c: Likewise.
8643 * config/libbid/bid64_rem.c: Likewise.
8644 * config/libbid/bid64_round_integral.c: Likewise.
8645 * config/libbid/bid64_scalb.c: Likewise.
8646 * config/libbid/bid64_sqrt.c: Likewise.
8647 * config/libbid/bid64_string.c: Likewise.
8648 * config/libbid/bid64_to_bid128.c: Likewise.
8649 * config/libbid/bid64_to_int16.c: Likewise.
8650 * config/libbid/bid64_to_int32.c: Likewise.
8651 * config/libbid/bid64_to_int64.c: Likewise.
8652 * config/libbid/bid64_to_int8.c: Likewise.
8653 * config/libbid/bid64_to_uint16.c: Likewise.
8654 * config/libbid/bid64_to_uint32.c: Likewise.
8655 * config/libbid/bid64_to_uint64.c: Likewise.
8656 * config/libbid/bid64_to_uint8.c: Likewise.
8657 * config/libbid/bid_b2d.h: Likewise.
8658 * config/libbid/bid_binarydecimal.c: Likewise.
8659 * config/libbid/bid_conf.h: Likewise.
8660 * config/libbid/bid_convert_data.c: Likewise.
8661 * config/libbid/bid_decimal_data.c: Likewise.
8662 * config/libbid/bid_decimal_globals.c: Likewise.
8663 * config/libbid/bid_div_macros.h: Likewise.
8664 * config/libbid/bid_dpd.c: Likewise.
8665 * config/libbid/bid_flag_operations.c: Likewise.
8666 * config/libbid/bid_from_int.c: Likewise.
8667 * config/libbid/bid_functions.h: Likewise.
8668 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8669 * config/libbid/bid_inline_add.h: Likewise.
8670 * config/libbid/bid_internal.h: Likewise.
8671 * config/libbid/bid_round.c: Likewise.
8672 * config/libbid/bid_sqrt_macros.h: Likewise.
8673
86742009-04-09 Jakub Jelinek <jakub@redhat.com>
8675
8676 * Makefile.in: Change copyright header to refer to version
8677 3 of the GNU General Public License and to point readers at the
8678 COPYING3 file and the FSF's license web page.
8679 * config.host: Likewise.
8680
633dd061
AM
86812009-04-07 Alan Modra <amodra@bigpond.net.au>
8682
8683 * config.host: Reorder and merge to match config.gcc change.
8684
457d1d00
AM
86852009-04-03 Alan Modra <amodra@bigpond.net.au>
8686
8687 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8688
52c0e446
JM
86892009-03-28 Joseph Myers <joseph@codesourcery.com>
8690
8691 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8692 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8693 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8694 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8695
ba181049
UB
86962009-02-12 Uros Bizjak <ubizjak@gmail.com>
8697
8698 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8699 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8700
c252db20
L
87012009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8702
ba181049
UB
8703 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8704 ia64/t-softfp-compat to tmake_file.
c252db20
L
8705
8706 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8707
8708 * config/ia64/__divxf3.asm: New.
8709 * config/ia64/_fixtfdi.asm: Likewise.
8710 * config/ia64/_fixunstfdi.asm: Likewise.
8711 * config/ia64/_floatditf.asm: Likewise.
8712 * config/ia64/t-fprules-softfp: Likewise.
8713 * config/ia64/t-softfp-compat: Likewise.
8714 * config/ia64/tf-signs.c: Likewise.
8715
c60535f9
BE
87162009-01-18 Ben Elliston <bje@au.ibm.com>
8717
8718 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8719
ce16861e
BE
87202009-01-16 Ben Elliston <bje@au.ibm.com>
8721
8722 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8723 to tmake_file.
8724
bcf4713b
BE
87252009-01-13 Ben Elliston <bje@au.ibm.com>
8726
8727 * config/t-softfp: New file.
8728 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8729 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8730
7d296953 87312009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
8732
8733 * config.host: Add m32r*-*-rtems*.
8734
7d296953 87352008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
8736
8737 * config.host: Add m32c*-*-rtems*.
8738
19523300
RO
87392008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8740
8741 PR bootstrap/33100
8742 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8743 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8744 * configure: Regenerate.
8745 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8746 tmake_file here from gcc/config.gcc.
8747 Move extra_parts here from gcc/config.gcc.
8748 * config/i386/t-sol2: Move here from gcc/config/i386.
8749 Use gcc_srcdir instead of srcdir.
8750
0a4a51c7
AN
87512008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8752
8753 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8754 case.
8755
2a761e46
TS
87562008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8757
8758 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8759
c0451df7
TS
87602008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8761
8762 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8763
358da97e
HS
87642008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8765
8766 Add picoChip port.
8767 * config.host: Add picochip-*-*.
8768
c660f132
BW
87692008-08-06 Bob Wilson <bob.wilson@acm.org>
8770
8771 * config.host: Match more processor names for Xtensa.
8772
d1349557
L
87732008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8774
8775 * config/i386/64/t-softfp-compat: Update comments.
8776
dd7b73c0
L
87772008-07-07 H.J. Lu <hongjiu.lu@intel.com>
8778
8779 * config/i386/64/_divtc3-compat.c: Moved to ...
8780 * config/i386/64/_divtc3.c: Here.
8781
8782 * config/i386/64/_multc3-compat.c: Moved to ...
8783 * config/i386/64/_multc3.c: Here.
8784
8785 * config/i386/64/_powitf2-compat.c: Moved to ...
8786 * config/i386/64/_powitf2.c: Here.
8787
8788 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8789 .c suffix instead of -compat.c.
8790
6e1fab3d
UB
87912008-07-05 Uros Bizjak <ubizjak@gmail.com>
8792
8793 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8794 (_FP_MUL_MEAT_D): Ditto.
8795 (_FP_DIV_MEAT_S): Ditto.
8796 (_FP_DIV_MEAT_D): Ditto.
8797
f92518d7
RS
87982008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
8799
8800 * Makefile.in: Add support for __sync_* libgcc functions.
8801
d0aede14
L
88022008-07-03 H.J. Lu <hongjiu.lu@intel.com>
8803
8804 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8805
c174f11c
L
88062008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8807
8808 PR boostrap/36702
8809 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8810 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
8811
8812 * config/i386/64/t-fprules-softfp: Moved to ...
8813 * config/i386/64/t-softfp-compat: This. New.
8814
5f464fa2
UB
88152008-07-02 Uros Bizjak <ubizjak@gmail.com>
8816
8817 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8818 Initialize f with 0.0.
8819
ff473280
L
88202008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8821
8822 PR target/36669
8823 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8824
8825 * config/i386/64/_divtc3-compat.c: New.
8826 * config/i386/64/_multc3-compat.c: Likewise.
8827 * config/i386/64/_powitf2-compat.c: Likewise.
8828 * config/i386/64/eqtf2.c: Likewise.
8829 * config/i386/64/getf2.c: Likewise.
8830 * config/i386/64/letf2.c: Likewise.
8831 * config/i386/64/t-fprules-softfp: Likewise.
8832
88332008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8834
8835 * config.host: Add i386/${host_address}/t-fprules-softfp to
8836 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 8837 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
8838
8839 * configure.ac: Set host_address to 64 or 32 for x86.
8840 * configure: Regenerated.
8841
8842 * Makefile.in (config.status): Also depend on
8843 $(srcdir)/config.host.
8844
8845 * config/i386/32/t-fprules-softfp: New.
8846 * config/i386/32/tf-signs.c: Likewise.
8847
8848 * config/i386/64/sfp-machine.h: New. Moved from gcc.
8849
88502008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8851 Uros Bizjak <ubizjak@gmail.com>
8852
8853 * config/i386/32/sfp-machine.h: New.
8854
30551d99
NF
88552008-06-26 Nathan Froyd <froydnj@codesourcery.com>
8856
8857 * config/rs6000/t-ppccomm: Remove rules that conflict with
8858 auto-generated rules.
8859
18c04407
RW
88602008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8861
8862 * configure.ac: sinclude override.m4.
8863 * configure: Regenerate.
8864
10fbe77a
BRF
88652008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
8866
8867 * configure: Regenerate.
8868
bc6d4c3f
JM
88692008-06-10 Joseph Myers <joseph@codesourcery.com>
8870
8871 * Makefile.in (DECNUMINC): Remove
8872 -I$(MULTIBUILDTOP)../../libdecnumber.
8873 * gstdint.h: New.
8874
cd985f66
JM
88752008-06-07 Joseph Myers <joseph@codesourcery.com>
8876
8877 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8878 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8879 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8880 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8881 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8882 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8883 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8884 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8885 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8886 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8887 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8888 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8889 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8890 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8891
93fea8d3
AL
88922008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
8893
8894 * config.host (sh2[lbe]*-*-linux*): Allow target.
8895
18724e30
NF
88962008-04-30 Nathan Froyd <froydnj@codesourcery.com>
8897
8898 * config/rs6000/t-ppccomm: Add build rules for new files.
8899 (LIB2ADD_ST): New variable.
8900
47583040
AH
89012008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
8902
8903 PR target/34210
8904 PR target/35508
8905 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8906 * config/t-avr: New file. Build 16bit libgcc functions.
8907
cf8e67fe
JJ
89082008-03-02 Jakub Jelinek <jakub@redhat.com>
8909
8910 PR target/35401
8911 * config/t-slibgcc-darwin: Make install-leaf dependent on
8912 install-darwin-libgcc-stubs instead of install.
8913
8d8da227
JM
89142008-01-25 Joseph Myers <joseph@codesourcery.com>
8915
8916 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8917 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8918 sh-*-rtemscoff*): Remove cases.
8919
edbf8b16
RS
89202007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
8921
8922 * Makefile.in (all): Use install-leaf rather than install.
8923 (install): Split most of the rule into...
8924 (install-leaf): ...this new one.
8925
89deeaff
EK
89262007-12-19 Etsushi Kato <ek.kato@gmail.com>
8927 Paolo Bonzini <bonzini@gnu.org>
8928
8929 PR target/30572
5f464fa2
UB
8930 * Makefile.in: Use @shlib_slibdir@ substitution to get
8931 correct install name on darwin.
89deeaff 8932 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 8933
4081d704
HPN
89342007-12-15 Hans-Peter Nilsson <hp@axis.com>
8935
8936 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8937 cris-*-elf and cris-*-none.
8938 (crisv32-*-linux*): Similar, as cris-*-linux*.
8939
f43e89a3
RIL
89402007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
8941
8942 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8943
b4e9c2c6
L
89442007-10-27 H.J. Lu <hongjiu.lu@intel.com>
8945
8946 PR regression/33926
8947 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8948 * configure: Regenerated.
8949
b2a00c89
L
89502007-09-27 H.J. Lu <hongjiu.lu@intel.com>
8951
8952 * Makefile.in (dfp-filenames): Replace decimal_globals,
8953 decimal_data, binarydecimal and convert_data with
8954 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8955 and bid_convert_data, respectively.
8956
8d2a9e0e
CF
89572007-09-17 Chao-ying Fu <fu@mips.com>
8958 Nigel Stephens <nigel@mips.com>
8959
8960 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8961 * Makefile.in (fixed_point): Define.
8962 Check if fixed_point is yes to build support functions.
8963 * configure.ac: Check for fixed_point support.
8964 * configure: Regenerated.
8965 * gen-fixed.sh: New file to generate lists of fixed-point labels,
8966 funcs, modes, from, to.
8967
2b53935d
JJ
89682007-09-11 Janis Johnson <janis187@us.ibm.com
8969
8970 * Makefile.in (dfp-filenames): Add bid128_noncomp.
8971
2533577f
JJ
89722007-09-10 Janis Johnson <janis187@us.ibm.com>
8973
8974 * Makefile.in (dfp-filenames): Remove decUtility, add
8975 decDouble, decPacked, decQuad, decSingle.
8976
3ae3dbd6
HK
89772007-08-27 Hans Kester <hans.kester@ellips.nl>
8978
8979 * config.host : Add x86_64-elf target.
8980
22867d02
L
89812007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8982
8983 * configure.ac (set_have_cc_tls): Add a missing =.
8984 * configure: Regenerated.
8985
6f461e76
L
89862007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8987
8988 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8989 and x86_64-*-linux*.
8990
8991 * config/t-tls: New file.
8992
dfb3b0e3 8993 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
8994
8995 * configure.ac: Include ../config/enable.m4 and
8996 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
8997 supports TLS and substitute set_have_cc_tls.
8998 * configure: Regenerated.
8999
200359e8
L
90002007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9001
9002 * Makefile.in: Use libbid for DFP when BID is enabled.
9003
76f5e200
DS
90042007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9005
9006 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9007 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9008 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9009
9bd196f0 90102007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9011 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9012
9013 PR target/29498
9014 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9015 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9016 * config/i386/t-crtfm: Compile crtfastmath.o with
9017 -minline-all-stringops.
9018
1910440e
RS
90192007-05-10 Richard Sandiford <richard@codesourcery.com>
9020
9021 * config.host (sparc-wrs-vxworks): New target.
9022
7d33c31d
KH
90232007-04-14 Kazu Hirata <kazu@codesourcery.com>
9024
9025 * config.host: Recognize fido.
9026
96fccd0d
JJ
90272007-04-04 Janis Johnson <janis187@us.ibm.com>
9028
9029 * configure: Check host, not target, for decimal float support.
9030
577565f9
UB
90312007-04-03 Uros Bizjak <ubizjak@gmail.com>
9032
9033 * config/i386/t-crtpc: New file.
9034 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9035 (x86_64-*-linux*): Ditto.
577565f9 9036
ccf8e764
RH
90372007-02-30 Kai Tietz <kai.tietz@onevision.com>
9038
9039 * config.host (x86_64-*-mingw*): New target.
9040
79b87c74
MM
90412007-03-23 Michael Meissner <michael.meissner@amd.com>
9042 H.J. Lu <hongjiu.lu@intel.com>
9043
9044 * Makefile.in (enable_decimal_float): New.
9045 (DECNUMINC): Add
9046 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9047 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9048 (decbits-filenames): This.
9049 (decbits-objects): New.
9050 (libgcc-objects): Add $(decbits-objects).
9051
9052 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9053 Substitute enable_decimal_float.
9054 * configure: Regenerated.
9055
8fce4e31
HPN
90562007-03-19 Hans-Peter Nilsson <hp@axis.com>
9057
9058 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9059
e8bb4597
BM
90602007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9061
9062 * Makefile.in (install-info): New dummy target.
9063
344189f9
BS
90642007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9065
9066 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9067
ac84c172
BM
90682007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9069
9070 * Makefile.in: Add install-html and install-pdf dummy
9071 targets.
9072
cd5c2357
RS
90732007-02-05 Roger Sayle <roger@eyesopen.com>
9074 Daniel Jacobowitz <dan@codesourcery.com>
9075
9076 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9077 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9078 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9079
d9a66f98
JJ
90802007-01-29 Janis Johnson <janis187@us.ibm.com>
9081
9082 * Makefile.in (dec-filenames): Add decExcept.
9083
9891ec5f
DJ
90842007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9085
9086 PR bootstrap/30469
9087 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9088 -fprofile-use.
9089
d6efbf5a
DJ
90902007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9091
9092 * configure.ac: Add --enable-version-specific-runtime-libs.
9093 Correct $slibdir default.
9094 * configure: Regenerated.
9095
17caeff2
JM
90962007-01-23 Joseph Myers <joseph@codesourcery.com>
9097
9098 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9099
5ea41e3a
AP
91002007-01-21 Andrew Pinski <pinskia@gmail.com>
9101
9102 PR target/30519
9103 * config.host (alpha*-*-linux*): Set extra_parts.
9104
26900826
KK
91052007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9106
9107 * config/sh/t-linux: New.
9108 * config.host (sh*-*-linux*): Set tmake_file.
9109
97af925b
DJ
91102007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9111
9112 * Makefile.in (install): Handle multilibs.
9113
b0088af7
BM
91142007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9115
9116 * Makefile.in: Added .PHONY entry for documentation targets.
9117
e0a9456a
BM
91182007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9119
9120 * Makefile.in: Add empty info, html, dvi, pdf targets.
9121
7fd453b4
MS
91222007-01-04 Mike Stump <mrs@apple.com>
9123
9124 * Makefile.in (MAKEINFO): Remove.
9125 (PERL): Likewise.
9126
14e8fc8b
PB
91272007-01-04 Paolo Bonzini <bonzini@gnu.org>
9128
9129 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9130 * configure: Regenerate.
9131 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9132 (gcc_objdir): Use it.
14e8fc8b 9133
1555beba
DJ
91342007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9135
9136 * config.host (ia64*-*-linux*): Set tmake_file.
9137
79e6eaeb
DJ
91382007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9139
9140 * Makefile.in (version): Define.
9141
fa958513
DJ
91422007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9143 Paolo Bonzini <bonzini@gnu.org>
9144
9145 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9146 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9147 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9148 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9149 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9150 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9151 * configure: Generated.
818ab71a 9152\f
85ec4feb 9153Copyright (C) 2007-2018 Free Software Foundation, Inc.
818ab71a
JJ
9154
9155Copying and distribution of this file, with or without modification,
9156are permitted in any medium without royalty provided the copyright
9157notice and this notice are preserved.