]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
2b1969f6
JDA
12018-08-11 John David Anglin <danglin@gcc.gnu.org>
2
3 * config/pa/linux-atomic.c: Update comment.
4 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
5 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
6 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
7 __ATOMIC_RELAXED for atomic loads.
8 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
9 unordered store to release lock.
10 (__sync_lock_release_8): Likewise.
11 (SYNC_LOCK_RELEASE_2): Remove define.
12
89fff9cc
NP
132018-08-02 Nicolas Pitre <nico@fluxnic.net>
14
15 PR libgcc/86512
16 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
17 exponent goes negative. Update my email address.
18 * config/arm/ieee754-sf.S: Likewise.
19
fd2e1dcd
ML
202018-08-01 Martin Liska <mliska@suse.cz>
21
22 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
23 check that __gcov_indirect_call_callee is non-null.
24
b7415975
CL
252018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
26
27 * config/arm/ieee754-df.S: Fix comment for code working on
28 architectures >= 4.
29 * config/arm/ieee754-sf.S: Likewise.
30
b72e71a3
L
312018-07-27 H.J. Lu <hongjiu.lu@intel.com>
32
33 PR libgcc/85334
34 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
35 Removed.
36
1c686aa4
JC
372018-07-05 James Clarke <jrtc27@jrtc27.com>
38
39 * configure: Regenerated.
40
b61c9b99
RO
412018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
42
43 * Makefile.in (install_leaf): Use enable_gcov instead of
44 enable_libgcov.
45
1765b023
RV
462018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
47
48 * configure.ac: Add --disable-gcov option.
49 * configure: Regenerate.
50 * Makefile.in: Honour @enable_gcov@.
51
9b2e34ef
CL
522018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
53
54 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
55 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
56 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
57 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
58 __ARM_ARCH__.
59 * config/arm/ieee754-sf.S: Likewise.
60 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
61
d1b0dd54
CL
622018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
63
64 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
65 longer supported.
66 * config/arm/ieee754-sf.S: Likewise.
67
1f3fa525
TM
682018-06-20 Than McIntosh <thanm@google.com>
69
70 PR libgcc/86213
71 * generic-morestack.c (allocate_segment): Move calls to getenv and
72 getpagesize to __morestack_load_mmap.
73 (__morestack_load_mmap) Initialize static_pagesize and
74 use_guard_page here so as to avoid clobbering SSE regs during a
75 __morestack call.
76
6a8886e4
MM
772018-06-18 Michael Meissner <meissner@linux.ibm.com>
78
79 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
80 support modules with -mno-gnu-attribute.
81 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
82
fb997097
OH
832018-06-07 Olivier Hainque <hainque@adacore.com>
84
85 * config/t-vxworks (LIBGCC_INCLUDES): Add
86 -I$(MULTIBUILDTOP)../../gcc/include.
87 * config/t-vxworks7: Likewise. Reformat a bit to match
88 the t-vxworks layout.
89
a548a5a1
OM
902018-06-07 Olga Makhotina <olga.makhotina@intel.com>
91
92 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
93
244aebfd
ML
942018-06-07 Martin Liska <mliska@suse.cz>
95
96 * libgcov-driver.c: Rename cs_all to all and assign it from
97 all_prg.
98
6c086e8c
ML
992018-06-07 Martin Liska <mliska@suse.cz>
100
101 PR bootstrap/86057
102 * libgcov-driver-system.c (replace_filename_variables): Use
103 memcpy instead of mempcpy.
104 (allocate_filename_struct): Do not allocate filename, allocate
105 prefix and set it.
106 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
107 here and properly copy content into it.
108 * libgcov-driver.c (struct gcov_filename): Remove max_length
109 field, change prefix from size_t into char *.
110 (compute_summary): Do not calculate longest filename.
111 (gcov_do_dump): Release memory of gf.filename after each file.
112 * libgcov-util.c (compute_summary): Use new signature of
113 compute_summary.
114 (calculate_overlap): Likewise.
115
97a53d1d
ML
1162018-06-05 Martin Liska <mliska@suse.cz>
117
118 PR gcov-profile/47618
119 * libgcov-driver-system.c (replace_filename_variables): New
120 function.
121 (gcov_exit_open_gcda_file): Use it.
122
7f3577f5
ML
1232018-06-05 Martin Liska <mliska@suse.cz>
124
125 * libgcov-driver.c (gcov_compute_histogram): Remove usage
126 of gcov_ctr_summary.
127 (compute_summary): Do it just for a single summary.
128 (merge_one_data): Likewise.
129 (merge_summary): Simplify as we read just single summary.
130 (dump_one_gcov): Pass proper argument.
131 * libgcov-util.c (compute_one_gcov): Simplify as we have just
132 single summary.
133 (gcov_info_count_all_cold): Likewise.
134 (calculate_overlap): Likewise.
135
cf3cd43d
CJW
1362018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
137 Monk Chiang <sh.chiang04@gmail.com>
138
139 * config.host (nds32*-linux*): New.
140 * config/nds32/linux-atomic.c: New file.
141 * config/nds32/linux-unwind.h: New file.
142
8b8003ed
UB
1432018-05-31 Uros Bizjak <ubizjak@gmail.com>
144
145 PR target/85591
146 * config/i386/cpuinfo.c (get_amd_cpu): Return
147 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
148
bbdf026f
RV
1492018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
150
151 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
152
0e8f29da
ML
1532018-05-29 Martin Liska <mliska@suse.cz>
154
155 PR gcov-profile/85759
156 * libgcov-driver-system.c (gcov_error): Introduce usage of
157 GCOV_EXIT_AT_ERROR env. variable.
158 * libgcov-driver.c (merge_one_data): Print error that we
159 overwrite a gcov file with a different timestamp.
160
54fd1590
K
1612018-05-23 Kalamatee <kalamatee@gmail.com>
162
163 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
164 path to Lf$finfty.
165
09baee1a
KC
1662018-05-18 Kito Cheng <kito.cheng@gmail.com>
167 Monk Chiang <sh.chiang04@gmail.com>
168 Jim Wilson <jimw@sifive.com>
169
170 * config/riscv/save-restore.S: Add support for rv32e.
171
c3f808d3
KT
1722018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
173
174 * config/arm/libunwind.S: Update comment relating to armv5.
175
fcf4f831
JL
1762018-05-17 Jerome Lambourg <lambourg@adacore.com>
177
178 * config/arm/cmse.c (cmse_check_address_range): Replace
179 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
180
74b2bb19
OM
1812018-05-17 Olga Makhotina <olga.makhotina@intel.com>
182
183 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
184 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
185
50e461df
OM
1862018-05-08 Olga Makhotina <olga.makhotina@intel.com>
187
188 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
189 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
190
e5f1cdb1
AC
1912018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
192
193 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
194
8f479d7a
AT
1952018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
196 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
197
198 PR libgcc/84292
199 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
200 op_and_fetch to return the right result.
201
ae043291
AM
2022018-04-27 Alan Modra <amodra@gmail.com>
203
204 PR libgcc/85532
205 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
206 -fno-asynchronous-unwind-tables.
207
ba169b74
CJW
2082018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
209
210 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
211 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
212
ffc2fc06
L
2132018-04-24 H.J. Lu <hongjiu.lu@intel.com>
214
215 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
216 when including "config/i386/shadow-stack-unwind.h".
217
7b47ecf2
L
2182018-04-24 H.J. Lu <hongjiu.lu@intel.com>
219
220 * configure: Regenerated.
221
661eb8f9
MM
2222018-04-20 Michael Meissner <meissner@linux.ibm.com>
223
224 PR target/85456
225 * config/rs6000/_powikf2.c: New file. Add support for the
226 __builtin_powil function when long double is IEEE 128-bit floating
227 point.
228 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
229 __powikf2 support.
230 (__powikf2): Likewise.
231 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
232 (__powikf2_hw): Likewise.
233 (__powikf2): Likewise.
234 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
235 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
236 (_powikf2-hw.c): Likewise.
237
5707be3c
L
2382018-04-19 H.J. Lu <hongjiu.lu@intel.com>
239
240 PR libgcc/85334
241 * unwind-generic.h (_Unwind_Frames_Increment): New.
242 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
243 Likewise.
244 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
245 count with _Unwind_Frames_Increment.
246 (_Unwind_ForcedUnwind_Phase2): Likewise.
247
5f9ca0b8
L
2482018-04-19 H.J. Lu <hongjiu.lu@intel.com>
249
250 PR libgcc/85379
251 * config/i386/morestack.S (__stack_split_initialize): Add
252 _CET_ENDBR.
253
a0e1df88
JJ
2542018-04-19 Jakub Jelinek <jakub@redhat.com>
255
256 * configure: Regenerated.
257
001ddaa8
DM
2582018-04-18 David Malcolm <dmalcolm@redhat.com>
259
260 PR jit/85384
261 * configure: Regenerate.
262
a57f99ba
JJ
2632018-04-16 Jakub Jelinek <jakub@redhat.com>
264
265 PR target/84945
266 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
267 -Wdangling-else warnings. Mask shift counts to avoid
268 -Wshift-count-negative and -Wshift-count-overflow false positives.
269
4d47fe5a
RB
2702018-04-06 Ruslan Bukin <br@bsdpad.com>
271
272 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
273
059cc8ac
L
2742018-03-29 H.J. Lu <hongjiu.lu@intel.com>
275
276 PR target/85100
277 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
278 (XSTATE_FP): Likewise.
279 (XSTATE_SSE): Likewise.
280 (XSTATE_YMM): Likewise.
281 (XSTATE_OPMASK): Likewise.
282 (XSTATE_ZMM): Likewise.
283 (XSTATE_HI_ZMM): Likewise.
284 (XCR_AVX_ENABLED_MASK): Likewise.
285 (XCR_AVX512F_ENABLED_MASK): Likewise.
286 (get_available_features): Enable AVX and AVX512 features only
287 if their states are supported by OSXSAVE.
288
f2620385
IT
2892018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
290
291 PR target/85025
292 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
293 Fix a typo, tmp => 255.
294
ae6dca8c
JJ
2952018-03-20 Jakub Jelinek <jakub@redhat.com>
296
297 PR target/84945
298 * config/i386/cpuinfo.h (__cpu_features2): Declare.
299 * config/i386/cpuinfo.c (__cpu_features2): New variable for
300 ifndef SHARED only.
301 (set_feature): Define.
302 (get_available_features): Use set_feature macro. Set __cpu_features2
303 to the second word of features ifndef SHARED.
304
c36b04c1
JK
3052018-03-15 Julia Koval <julia.koval@intel.com>
306
307 * config/i386/cpuinfo.c (get_available_features): Add
308 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
309 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
310 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
311 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
312 FEATURE_AVX512BITALG.
313
79ab5364
JK
3142018-03-14 Julia Koval <julia.koval@intel.com>
315
316 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
317 icelake client and icelake server.
318
66a00b11
JDA
3192018-03-06 John David Anglin <danglin@gcc.gnu.org>
320
321 * config/pa/fptr.c (_dl_read_access_allowed): New.
322 (__canonicalize_funcptr_for_compare): Use it.
323
ce579a4f
JJ
3242018-02-28 Jakub Jelinek <jakub@redhat.com>
325
326 PR debug/83917
327 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
328 $asm_hidden_op if visibility ("hidden") attribute works.
329 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
330 * config/i386/i386-asm.h: Don't include auto-host.h.
331 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
332 PACKAGE_URL): Don't undefine.
333 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
334 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
335 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
336 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
337 definition instead of hardcoded .hidden.
338 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
339 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
340 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
341 (USE_GAS_CFI_DIRECTIVES): Don't define.
342 * configure: Regenerated.
343 * config.in: Likewise.
344
e5868319
JJ
3452018-02-26 Jakub Jelinek <jakub@redhat.com>
346
347 PR debug/83917
348 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
349 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
350 inclusion of auto-target.h and auto-host.h.
351 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
352 __GCC_HAVE_DWARF2_CFI_ASM.
353 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
354 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
355 cfi_pop): Define.
356 * config/i386/cygwin.S: Don't include auto-host.h here, just
357 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
358 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
359 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
360 * config/i386/resms64fx.h: Add cfi_* directives.
361 * config/i386/resms64x.h: Likewise.
362
faef260e
MF
3632018-02-20 Max Filippov <jcmvbkbc@gmail.com>
364
365 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
366 .literal_position directive.
367 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
368
14e335ed
IT
3692018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
370
371 PR target/84148
372 * configure: Regenerate.
373
95df0433
IT
3742018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
375
376 PR target/84239
377 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
378 Include cetintrin.h not x86intrin.h.
379
f8de876d
IT
3802018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
381
382 PR target/84239
95df0433 383 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
384 Use new _get_ssp and _inc_ssp intrinsics.
385
02da1e9c
JK
3862018-02-02 Julia Koval <julia.koval@intel.com>
387
388 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
389
048c6a9a
CZ
3902018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
391
392 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
393 option.
394 (__divsi3): Use RF16 safe registers.
395 (__modsi3): Likewise.
396
0889f168
MF
3972018-01-23 Max Filippov <jcmvbkbc@gmail.com>
398
399 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
400 (__divsf3): Make NaN return value quiet.
401 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
402 (__divdf3): Make NaN return value quiet.
403
bc8b0d04
SP
4042018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
405
406 * config/rl78/anddi3.S: New assembly file.
407 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
408
99cc06ea
SP
4092018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
410
411 * config/rl78/umindi3.S: New assembly file.
412 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
413
6e9007a0
SP
4142018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
415
416 * config/rl78/smindi3.S: New assembly file.
417 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
418
d975e494
SP
4192018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
420
421 * config/rl78/smaxdi3.S: New assembly file.
422 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
423
6a18c146 4242018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
5dd16013
SP
425
426 * config/rl78/umaxdi3.S: New assembly file.
427 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
428
07baf4a5
JDA
4292018-01-21 John David Anglin <danglin@gcc.gnu.org>
430
431 PR lto/83452
432 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
433 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
434
dbc3af4f
RS
4352018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
436
437 * config/aarch64/value-unwind.h (aarch64_vg): New function.
438 (DWARF_LAZY_REGISTER_VALUE): Define.
439 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
440 to provide a fallback register value.
441
68df9882
MM
4422018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
443
444 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
445 __ibm128, instead of trying to use long double.
446 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
447 accomidate -mabi=ieeelongdouble multilibs.
448 (CVT_IBM128_TO_FLOAT128): Likewise.
449 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
450 the appropriate IBM extended double type.
451 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
452 (__gcc_qsub): Likewise.
453 (__gcc_qmul): Likewise.
454 (__gcc_qdiv): Likewise.
455 (pack_ldouble): Likewise.
456 (__gcc_qneg): Likewise.
457 (__gcc_qeq): Likewise.
458 (__gcc_qne): Likewise.
459 (__gcc_qge): Likewise.
460 (__gcc_qle): Likewise.
461 (__gcc_stoq): Likewise.
462 (__gcc_dtoq): Likewise.
463 (__gcc_itoq): Likewise.
464 (__gcc_utoq): Likewise.
465 (__gcc_qunord): Likewise.
466 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
467 quad-float128.h for the definitions.
468 (COPYSIGN): Use the f128 version instead of the q version.
469 (INFINITY): Likewise.
470 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
471 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
472 quad-float128.h for the definitions.
473 (COPYSIGN): Use the f128 version instead of the q version.
474 (INFINITY): Likewise.
475 (FABS): Likewise.
476 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
477 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
478 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
479
64b371b1
SH
4802018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
481
482 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
483 configuration.
484
85ec4feb
JJ
4852018-01-03 Jakub Jelinek <jakub@redhat.com>
486
487 Update copyright years.
488
4892017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
490
491 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
492 * config/riscv/multi3.c: New file.
493 * config/riscv/multi3.S: Remove.
494
3a4c600f
JW
4952017-12-08 Jim Wilson <jimw@sifive.com>
496
497 * config/riscv/div.S: Use FUNC_* macros.
498 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
499 * config/riscv/save-restore.S: Likewise.
500 * config/riscv/riscv-asm.h: New.
501
75ad35b5
MM
5022017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
503
6ae3512c
MM
504 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
505 * config/rs6000/_divkc3.c (__divkc3): Likewise.
506
75ad35b5
MM
507 PR libgcc/83112
508 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
509 correct type for all ifunc resolvers to silence -Wattribute-alias
510 warnings. Eliminate the forward declaration of the resolver
511 functions which is no longer needed.
512 (__subkf3_resolve): Likewise.
513 (__mulkf3_resolve): Likewise.
514 (__divkf3_resolve): Likewise.
515 (__negkf2_resolve): Likewise.
516 (__eqkf2_resolve): Likewise.
517 (__nekf2_resolve): Likewise.
518 (__gekf2_resolve): Likewise.
519 (__gtkf2_resolve): Likewise.
520 (__lekf2_resolve): Likewise.
521 (__ltkf2_resolve): Likewise.
522 (__unordkf2_resolve): Likewise.
523 (__extendsfkf2_resolve): Likewise.
524 (__extenddfkf2_resolve): Likewise.
525 (__trunckfsf2_resolve): Likewise.
526 (__trunckfdf2_resolve): Likewise.
527 (__fixkfsi_resolve): Likewise.
528 (__fixkfdi_resolve): Likewise.
529 (__fixunskfsi_resolve): Likewise.
530 (__fixunskfdi_resolve): Likewise.
531 (__floatsikf_resolve): Likewise.
532 (__floatdikf_resolve): Likewise.
533 (__floatunsikf_resolve): Likewise.
534 (__floatundikf_resolve): Likewise.
535 (__extendkftf2_resolve): Likewise.
536 (__trunctfkf2_resolve): Likewise.
537
538 PR libgcc/83103
539 * config/rs6000/quad-float128.h (TF): Don't define if long double
540 is IEEE 128-bit floating point.
541 (TCtype): Define as either TCmode or KCmode, depending on whether
542 long double is IEEE 128-bit floating point.
543 (__mulkc3_sw): Add declarations for software/hardware versions of
544 complex multiply/divide.
545 (__divkc3_sw): Likewise.
546 (__mulkc3_hw): Likewise.
547 (__divkc3_hw): Likewise.
548 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
549 handlers to switch between using software emulation and hardware
550 float128 instructions, build the complex multiply/divide functions
551 for both software and hardware support.
552 * config/rs6000/_divkc3.c (_divkc3): Likewise.
553 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
554 (__divkc3_resolve): Likewise.
555 (__mulkc3): Likewise.
556 (__divkc3): Likewise.
557 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
558 (fp128_hw_src): Likewise.
559 (fp128_hw_static_obj): Likewise.
560 (fp128_hw_shared_obj): Likewise.
561 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
562 _mulkc3.c and _divkc3.c, changing the function name.
563 (_divkc3-hw.c): Likewise.
564 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
565 and _divkc3-hw.c.
566
c234d831
UB
5672017-11-26 Julia Koval <julia.koval@intel.com>
568
569 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
570 * config/i386/cpuinfo.h (processor_subtypes): Add
571 INTEL_COREI7_CANNONLAKE.
572
1ebafce0
IT
5732017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
574
575 PR bootstrap/83015
576 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
577 parameter.
578 * config/xtensa/unwind-dw2-xtensa.c: Likewise
579 * config/ia64/unwind-ia64.c: Add frames parameter.
580 * unwind-sjlj.c: Likewise.
581
6a10fff4
IT
5822017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
583
584 * config/i386/linux-unwind.h: Include
585 config/i386/shadow-stack-unwind.h.
586 * config/i386/shadow-stack-unwind.h: New file.
587 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
588 pass it to _Unwind_Frames_Extra.
589 * unwind-generic.h (_Unwind_Frames_Extra): New.
590 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
591 parameter. Add local variable frames to count number of frames.
592 (_Unwind_ForcedUnwind_Phase2): Likewise.
593 (_Unwind_RaiseException): Add local variable frames to count
594 number of frames, pass it to _Unwind_RaiseException_Phase2 and
595 uw_install_context.
596 (_Unwind_ForcedUnwind): Likewise.
597 (_Unwind_Resume): Likewise.
598 (_Unwind_Resume_or_Rethrow): Likewise.
599
1ecae1fc
IT
6002017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
601
602 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
603 (CET_FLAGS): New.
604 * config/i386/morestack.S: Include <cet.h>.
605 (__morestack_large_model): Add _CET_ENDBR at function entrance.
606 * config/i386/resms64.h: Include <cet.h>.
607 * config/i386/resms64f.h: Likewise.
608 * config/i386/resms64fx.h: Likewise.
609 * config/i386/resms64x.h: Likewise.
610 * config/i386/savms64.h: Likewise.
611 * config/i386/savms64f.h: Likewise.
612 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
613 (CRTSTUFF_T_CFLAGS): Likewise.
614 * configure.ac: Include ../config/cet.m4.
615 Set and substitute CET_FLAGS.
616 * configure: Regenerated.
617
f021f1d3
RO
6182017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
619
620 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
621 renaming.
622 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
623 * configure.ac (libgcc_cv_solaris_crts): Likewise.
624 * configure: Regenerate.
625
65f480c7
TV
6262017-11-07 Tom de Vries <tom@codesourcery.com>
627
628 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
629 after "do {} while (0)".
630
2a321acb
TV
6312017-11-07 Tom de Vries <tom@codesourcery.com>
632
633 PR other/82784
634 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
635 semicolon after "do {} while (0)".
636 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
637 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
638 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
639 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
640
59fcf6c3
AT
6412017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
642
643 PR libgcc/82635
644 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
645 sysctl to determine whether we're in a trampoline.
646 Keep the pattern matching method for systems without
647 KERN_PROC_SIGTRAMP sysctl.
648
b0c7ddf8
CM
6492017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
650 Vineet Gupta <vgupta@synopsys.com>
651
652 * config.host (arc*-*-linux*): Set md_unwind_header variable.
653 * config/arc/linux-unwind-reg.def: New file.
654 * config/arc/linux-unwind-reg.h: Likewise.
655
5feee954
SP
6562017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
657
658 * config/rl78/subdi3.S: New assembly file.
659 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
660
a0bf6cf7
SP
6612017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
662
663 * config/rl78/adddi3.S: New assembly file.
664 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
665
e7176f75
JJ
6662017-10-13 Jakub Jelinek <jakub@redhat.com>
667
668 PR target/82274
669 * libgcc2.c (__mulvDI3): If both operands have
670 the same highpart of -1 and the topmost bit of lowpart is 0,
671 multiplication overflows even if both lowparts are 0.
672
db6601d2
JB
6732017-09-28 James Bowman <james.bowman@ftdichip.com>
674
675 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
676
938b6f1e
JM
6772017-09-26 Joseph Myers <joseph@codesourcery.com>
678
679 * config/microblaze/crti.S, config/microblaze/crtn.S,
680 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
681 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
682 config/microblaze/mulsi3.S,
683 config/microblaze/stack_overflow_exit.S,
684 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
685 config/pa/milli64.S: Add .note.GNU-stack section.
686
89762a83
DS
6872017-09-23 Daniel Santos <daniel.santos@pobox.com>
688
689 * configure.ac: Add Check for HAVE_AS_AVX.
690 * config.in: Regenerate.
691 * configure: Likewise.
692 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
693 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
694 Correct out-of-date comments.
695
cace2309
SP
6962017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
697
698 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
699 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
700
3cb626e4
DS
7012017-09-17 Daniel Santos <daniel.santos@pobox.com>
702
cace2309 703 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
704 (ASMNAME): Modify to use PASTE2.
705 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
706 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 707 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 708 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
709 * config/i386/resms64f.S: Likewise.
710 * config/i386/resms64fx.S: Likewise.
711 * config/i386/resms64x.S: Likewise.
712 * config/i386/savms64.S: Likewise.
713 * config/i386/savms64f.S: Likewise.
714 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 715 includes it's corresponding header file.
cace2309
SP
716 * config/i386/avx_resms64f.S: Likewise.
717 * config/i386/avx_resms64fx.S: Likewise.
718 * config/i386/avx_resms64x.S: Likewise.
719 * config/i386/avx_savms64.S: Likewise.
720 * config/i386/avx_savms64f.S: Likewise.
721 * config/i386/sse_resms64.S: Likewise.
722 * config/i386/sse_resms64f.S: Likewise.
723 * config/i386/sse_resms64fx.S: Likewise.
724 * config/i386/sse_resms64x.S: Likewise.
725 * config/i386/sse_savms64.S: Likewise.
726 * config/i386/sse_savms64f.S: Likewise.
727 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 728
2f19c491 7292017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
730 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
731
611e7036
OH
7322017-08-31 Olivier Hainque <hainque@adacore.com>
733
734 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
735 match as powerpc-wrs-vxworks*.
736
c8f34527
JY
7372017-08-07 Jonathan Yong <10walls@gmail.com>
738
739 * config.host (*-cygwin): Include file from mingw
740 config/i386/enable-execute-stack-mingw32.c
741
0b458d2b
JL
7422017-08-01 Jerome Lambourg <lambourg@adacore.com>
743 Doug Rupp <rupp@adacore.com>
744 Olivier Hainque <hainque@adacore.com>
745
746 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
747 as well as arm-wrs-vxworks.
748 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
749 LIB2ADDEH.
750 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
751 __exidx_start and __exidx_end for downloadable modules.
752
4df612fa
OH
7532017-08-01 Olivier Hainque <hainque@adacore.com>
754
755 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
756 * config/t-vxworks7: Likewise.
757
5560e8c0
OH
7582017-08-01 Olivier Hainque <hainque@adacore.com>
759
760 * config/t-vxworks: Instead of redefining LIB2ADD,
761 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
762
16bab95a
SH
7632017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
764
765 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
766
9cbc07cc
DS
7672017-07-24 Daniel Santos <daniel.santos@pobox.com>
768
769 PR testsuite/80759
770 * config.host: include i386/t-msabi for darwin and solaris.
771 * config/i386/i386-asm.h
772 (ELFFN): Rename to FN_TYPE.
773 (FN_SIZE): New macro.
774 (FN_HIDDEN): Likewise.
775 (ASMNAME): Likewise.
776 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
777 .globl.
778 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
779 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
780 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
781 .macro.
782 * config/i386/resms64f.S: Likewise.
783 * config/i386/resms64fx.S: Likewise.
784 * config/i386/resms64x.S: Likewise.
785 * config/i386/savms64.S: Likewise.
786 * config/i386/savms64f.S: Likewise.
787
de742204
JM
7882017-07-19 John Marino <gnugcc@marino.st>
789
790 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
791
3787ee47
MM
7922017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
793
794 PR target/81193
795 * configure.ac (PowerPC float128 hardware support): Test whether
796 we can use __builtin_cpu_supports before enabling the ifunc
797 handler.
798 * configure: Regenerate.
799
b1938888
VG
8002017-07-10 Vineet Gupta <vgupta@synopsys.com>
801
802 * config.host: Remove uclibc from arc target spec.
803
bec75e53
KW
8042017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
805
806 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
807
d4391a62
PB
8082017-07-07 Peter Bergner <bergner@vnet.ibm.com>
809
810 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
811 (have_ieee_hw_p): Delete function.
812 (SW_OR_HW) Use __builtin_cpu_supports().
813
9296dd9b
TP
8142017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
815
816 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
817
b85a969e
OH
8182017-07-03 Olivier Hainque <hainque@adacore.com>
819
d4391a62 820 * config/t-vxworks7: New file, really.
b85a969e 821
883312dc
JM
8222017-06-28 Joseph Myers <joseph@codesourcery.com>
823
824 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
825 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
826 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
827 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
828 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
829 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
830 config/pa/linux-unwind.h (pa32_fallback_frame_state),
831 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
832 config/sh/linux-unwind.h (sh_fallback_frame_state),
833 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
834 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
835 ucontext_t instead of struct ucontext.
836
50567938
JL
8372017-06-27 Jerome Lambourg <lambourg@adacore.com>
838
839 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
840 (x86_64-wrs-vxworks7): Likewise.
841
e4b0df93
OH
8422017-06-27 Olivier Hainque <hainque@adacore.com>
843
844 * config/t-vxworks7: New file.
845 * config.host (*-*-vxworks7): Use it.
846
60edf8bb
MT
8472017-06-22 Matt Turner <mattst88@gmail.com>
848
849 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
850 skylake case.
851
a51a76e5
RB
8522017-06-21 Richard Biener <rguenther@suse.de>
853
854 PR gcov-profile/81080
855 * configure.ac: Add AC_SYS_LARGEFILE.
856 * libgcov.h: Include auto-target.h before tsystem.h to pick
857 up _FILE_OFFSET_BITS which might differ for multilibs.
858 * config.in: Regenerate.
859 * configure: Likewise.
860
f0cd49c5
RE
8612017-06-16 Richard Earnshaw <rearnsha@arm.com>
862
863 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
864
4f751c54
ML
8652017-06-09 Martin Liska <mliska@suse.cz>
866
867 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
868 Reset __gcov_indirect_call_callee to NULL.
869
1ac644c8
OH
8702017-06-08 Olivier Hainque <hainque@adacore.com>
871
872 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
873 the set of -I options, support for direct inclusions of net/uio.h
874 by VxWorks header files via ioLib.h.
875
d8b9cd27
TR
8762017-06-07 Tony Reix <tony.reix@atos.net>
877 Matthieu Sarter <matthieu.sarter.external@atos.net>
878 David Edelsohn <dje.gcc@gmail.com>
879
880 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
881 unconditionally.
882 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
883 AIX 7.2 support.
884
38a75ccc
OH
8852017-06-02 Olivier Hainque <hainque@adacore.com>
886
887 * config/vxlib.c (__gthread_once): Add missing value to
888 return statement.
889
5b2edf53
OH
8902017-05-30 Olivier Hainque <hainque@adacore.com>
891
892 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
893 dollar sign before $(MULTIDIR).
894
7d66e265
RH
8952017-05-26 Richard Henderson <rth@redhat.com>
896
897 PR libgcc/80037
898 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
899
78eca309
AT
9002017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
901
902 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
903 _Unwind_SetIP available as functions for arm*-*-freebsd*.
904 * config/arm/unwind-arm.c: Implement the above.
905
c39d309a
AZ
9062017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
907
908 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
909 section for a non-executable stack.
910
eac8c9f2
KW
9112017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
912
913 PR target/80600
914 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
915
d6d4d770
DS
9162017-05-14 Daniel Santos <daniel.santos@pobox.com>
917
918 * config.host: Add i386/t-msabi to i386/t-linux file list.
919 * config/i386/i386-asm.h: New file.
920 * config/i386/resms64.S: New file.
921 * config/i386/resms64f.S: New file.
922 * config/i386/resms64fx.S: New file.
923 * config/i386/resms64x.S: New file.
924 * config/i386/savms64.S: New file.
925 * config/i386/savms64f.S: New file.
926 * config/i386/t-msabi: New file.
927
8ef2b9a7
AT
9282017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
929
930 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
931 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
932
7ab8766a
JC
9332017-05-05 Joshua Conner <joshconner@google.com>
934
935 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
936 pc-relative indirect handling for fuchsia.
937 * config/t-slibgcc-fuchsia: New file.
938 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 939 x86_64-*-fuchsia*): Add definitions.
7ab8766a 940
46928a8f
ML
9412017-04-19 Martin Liska <mliska@suse.cz>
942
943 PR gcov-profile/80435
944 * Makefile.in: Install gcov.h.
945 * gcov.h: New file.
946 * libgcov.h: Use the header and make __gcov_flush publicly
947 visible.
948
63971184
ML
9492017-04-18 Martin Liska <mliska@suse.cz>
950
951 PR gcov-profile/78783
952 * libgcov-driver.c (gcov_get_filename): New function.
953
29d8aae6
JL
9542017-04-07 Jeff Law <law@redhat.com>
955
956 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
957 target makefile fragment.
958 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
959
2bdf7fc6
AM
9602017-04-07 Alan Modra <amodra@gmail.com>
961
962 PR target/45053
963 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
964
5764ee3c
JW
9652017-04-03 Jonathan Wakely <jwakely@redhat.com>
966
967 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
968
c4192ad7
CZ
9692017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
970
971 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
972
4ccfdb28
JM
9732017-03-10 John Marino <gnugcc@marino.st>
974
975 * config/aarch64/freebsd-unwind.h: New file.
976 * config.host: Add aarch64-*-freebsd unwinder.
977
4144e4e3
SB
9782017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
979
980 * config/rs6000/crtrestvr.s: Use .machine altivec.
981 * config/rs6000/crtsavevr.s: Ditto.
982
7502c597
SB
9832017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
984
985 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
986 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
987 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
988 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
989 * configure: Regenerate.
990 * config.in: Regenerate.
991
db9f7f65
JY
9922017-03-02 Jonathan Yong <10walls@gmail.com>
993
994 * config/i386/gthr-win32.h: Define NOGDI before
995 windows.h include to prevent w32api CC_NONE macro
996 clash with libgfortran.
997
126437c5
JY
9982017-03-02 Jonathan Yong <10walls@gmail.com>
999
1000 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1001
31927af6
AP
10022017-02-16 Andrew Pinski <apinski@cavium.com>
1003
1004 * config/aarch64/value-unwind.h: New file.
1005 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1006 to tm_file.
1007
0bd99911
PD
10082017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1009
1010 * config.host: Add RISC-V tuples.
1011 * config/riscv/atomic.c: New file.
1012 * config/riscv/crti.S: Likewise.
1013 * config/riscv/crtn.S: Likewise.
1014 * config/riscv/div.S: Likewise.
1015 * config/riscv/linux-unwind.h: Likewise.
1016 * config/riscv/muldi3.S: Likewise.
1017 * config/riscv/multi3.S: Likewise.
1018 * config/riscv/save-restore.S: Likewise.
1019 * config/riscv/sfp-machine.h: Likewise.
1020 * config/riscv/t-elf: Likewise.
1021 * config/riscv/t-elf32: Likewise.
1022 * config/riscv/t-elf64: Likewise.
1023 * config/riscv/t-softfp32: Likewise.
1024 * config/riscv/t-softfp64: Likewise.
1025
a8c9ef2a
JJ
10262017-01-24 Jakub Jelinek <jakub@redhat.com>
1027
1028 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1029 /* FALLTHRU */ comments.
1030
c6c82710
GP
10312017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1032
1033 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1034
a876231c
JW
10352017-01-20 Jiong Wang <jiong.wang@arm.com>
1036
1037 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1038 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1039 DW_CFA_GNU_window_save for AArch64 and LP64.
1040
aa348be2
JW
10412017-01-20 Jiong Wang <jiong.wang@arm.com>
1042
1043 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1044
5636faf2
JW
10452017-01-19 Jiong Wang <jiong.wang@arm.com>
1046
1047 * config/aarch64/aarch64-unwind.h: New file.
1048 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1049 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1050 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1051 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1052 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1053 (aarch64_post_extract_frame_addr): New function.
1054 (aarch64_post_frob_eh_handler_addr): New function.
1055 (aarch64_frob_update_context): New function.
1056 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1057 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1058 aarch64*-*-freebsd*):
1059 Initialize md_unwind_header to include aarch64-unwind.h.
1060 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1061 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1062 __aarch64__.
1063 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1064 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1065 (uw_frob_return_addr): New function.
1066 (uw_install_context): Use uw_frob_return_addr.
1067
3c36aa6b
JJ
10682017-01-17 Jakub Jelinek <jakub@redhat.com>
1069
1070 PR other/79046
1071 * configure.ac: Add GCC_BASE_VER.
1072 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1073 version from BASE-VER file.
1074 * configure: Regenerated.
1075
829afb8f
JS
10762017-01-13 Joe Seymour <joe.s@somniumtech.com>
1077
1078 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1079 libmul_f5.a): Filter archived prerequisites.
1080
79fc8ffe
AS
10812017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1082
1083 * config/i386/cpuinfo.h (processor_features): Add
1084 FEATURE_AVX512VPOPCNTDQ.
1085 * config/i386/cpuinfo.c (get_available_features): Habdle new
1086 feature.
1087
fec5f4e0
JM
10882017-01-04 Joseph Myers <joseph@codesourcery.com>
1089
1090 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1091 payload if [__mips_nan2008].
1092
8f56cb51
AM
10932017-01-04 Alan Modra <amodra@gmail.com>
1094
1095 * Makefile.in (configure_deps): Update.
1096 * configure: Regenerate.
1097
cbe34bb5
JJ
10982017-01-01 Jakub Jelinek <jakub@redhat.com>
1099
1100 Update copyright years.
1101
ab955692
KW
11022016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1103
1104 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1105 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1106 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1107
de34320f
MK
11082016-12-17 Matthias Klose <doko@ubuntu.com>
1109
1110 * config/arc/gmon: Remove empty directory.
1111
e04ea1da
CZ
11122016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1113
1114 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1115 crtgend.
1116 (arc*-*-elf*): Likewise.
1117 * config/arc/t-arc: Remove old gmon lib targets.
1118 * config/arc/crtg.S: Remove.
1119 * config/arc/crtgend.S: Likewise.
1120 * config/arc/gmon/atomic.h: Likewise.
1121 * config/arc/gmon/auxreg.h: Likewise.
1122 * config/arc/gmon/dcache_linesz.S: Likewise.
1123 * config/arc/gmon/gmon.c: Likewise.
1124 * config/arc/gmon/machine-gmon.h: Likewise.
1125 * config/arc/gmon/mcount.c: Likewise.
1126 * config/arc/gmon/prof-freq-stub.S: Likewise.
1127 * config/arc/gmon/prof-freq.c: Likewise.
1128 * config/arc/gmon/profil.S: Likewise.
1129 * config/arc/gmon/sys/gmon.h: Likewise.
1130 * config/arc/gmon/sys/gmon_out.h: Likewise.
1131 * config/arc/t-arc-newlib: Likewise.
1132 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1133
8ae1c2c1
GS
11342016-12-12 George Spelvin <linux@sciencehorizons.net>
1135
1136 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1137
a5b947fa
GS
11382016-12-12 George Spelvin <linux@sciencehorizons.net>
1139
1140 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1141 R16 instead of push + pop.
1142 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1143
d6574dd1
KW
11442016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1145
1146 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1147 tmake_file.
1148
62440b4f
CM
11492016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1150
1151 * config.host (arc*-*-linux-uclibc*): Use default extra
1152 objects. Include linux-android header.
1153 * config/arc/crti.S (_init): Declare symbol as function.
1154 (_fini): Likewise.
1155
31cfd832
TK
11562016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1157
1158 PR fortran/78379
1159 * config/i386/cpuinfo.c: Move denums for processor vendors,
1160 processor type, processor subtypes and declaration of
1161 struct __processor_model into
1162 * config/i386/cpuinfo.h: New header file.
1163
c92e08e3
AV
11642016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1165 Thomas Preud'homme <thomas.preudhomme@arm.com>
1166
1167 * config/arm/cmse_nonsecure_call.S: New.
1168 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1169
de7b5723
AV
11702016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1171 Thomas Preud'homme <thomas.preudhomme@arm.com>
1172
1173 * config/arm/t-arm (HAVE_CMSE): New.
1174 * config/arm/cmse.c: New.
1175
7a0d2bce
TP
11762016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1177
b3a5bff4
TP
1178 PR gcc/74748
1179 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1180 use generic linker version information on Blackfin.
1181
7a0d2bce
TP
1182 PR gcc/74748
1183 * libgcc/mkmap-symver.awk: add support for skip_underscore
1184
b410cf1d
IS
11852016-11-27 Iain Sandoe <iain@codesourcery.com>
1186 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1187
1188 PR target/67710
1189 * config/t-darwin: Default builds to 10.5 codegen.
1190
2e5f8203
JG
11912016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1192
1193 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1194 (_FP_NANSIGN_H): Likewise.
1195 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1196 (softfp_truncations): Add tfhf.
1197 (softfp_extras): Add required conversion functions.
1198
bea64ca3
JG
11992016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1200 Matthew Wahab <matthew.wahab@arm.com>
1201
1202 * config/arm/fp16.c (binary64): New.
1203 (__gnu_d2h_internal): New.
1204 (__gnu_d2h_ieee): New.
1205 (__gnu_d2h_alternative): New.
1206
8630cadb
JG
12072016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1208 Matthew Wahab <matthew.wahab@arm.com>
1209
1210 * config/arm/fp16.c (struct format): New.
1211 (binary32): New.
1212 (__gnu_float2h_internal): New. Body moved from
1213 __gnu_f2h_internal and generalize.
1214 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1215 Call it with binary32.
1216
5823ef23
JG
12172016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1218
1219 * soft-fp/extendhftf2.c: Update from glibc.
1220 * soft-fp/fixhfti.c: Likewise.
1221 * soft-fp/fixunshfti.c: Likewise.
1222 * soft-fp/floattihf.c: Likewise.
1223 * soft-fp/floatuntihf.c: Likewise.
1224 * soft-fp/half.h: Likewise.
1225 * soft-fp/trunctfhf2.c: Likewise.
1226
62a7df9f
MG
12272016-11-20 Marc Glisse <marc.glisse@inria.fr>
1228
1229 PR libgcc/77813
1230 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1231 __TMC_END__ behind a passthrough asm.
1232
7a384912
WL
12332016-11-18 Walter Lee <walt@tilera.com>
1234
62a7df9f 1235 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1236
9775c1a5
L
12372016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1238
1239 * config/i386/cpuinfo.c (processor_features): Add
1240 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1241
48c842ab
CZ
12422016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1243
1244 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1245 (__ARC_NORM__): Use instead ARC_OPTFPE.
1246 * config/arc/fp-hack.h: Likewise.
1247 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1248 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1249
5012919d
AM
12502016-11-16 Alexander Monakov <amonakov@ispras.ru>
1251
1252 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1253 * config/nvptx/mgomp.c: New file.
1254 * config/nvptx/t-nvptx: Add mgomp.c
1255
00178b98
WB
12562016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1257
1258 PR libgcc/68468
1259 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1260
d64af69f
CZ
12612016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1262
1263 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1264 of checking for cpus.
1265 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1266 (__modsi3, __clzsi2): Likewise.
1267
9d8f95de
SN
12682016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1269
1270 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1271 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1272 * config/i386/t-cpuinfo-static: New.
1273
7d29f8e3
ML
12742016-11-03 Martin Liska <mliska@suse.cz>
1275
1276 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1277 (__gcov_time_profiler_atomic): Likewise.
1278
5de3e2d8
BE
12792016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1280
1281 PR libgcc/78067
1282 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1283 count_leading_zeros.
1284
18362447
UB
12852016-11-02 Uros Bizjak <ubizjak@gmail.com>
1286
1287 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1288 * libgcc2.c (__divmoddi4): New function.
1289 * libgcc2.h (__divmoddi4): Declare.
1290 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1291 and __PFX_divmodti4.
1292
33107571
FW
12932016-10-24 Florian Weimer <fweimer@redhat.com>
1294
1295 PR libgcc/78064
1296 * unwind-c.c: Include auto-target.h.
1297
4c6d7494
JDA
12982016-10-19 John David Anglin <danglin@gcc.gnu.org>
1299
18362447 1300 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1301 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1302 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1303 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1304 hppa*64*-*-hpux11*.
1305
2a26adf1
MF
13062016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1307
1308 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1309 definition.
1310 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1311 definition.
1312 * config/xtensa/t-windowed (LIB2ADDEH): Use
1313 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1314 or xtensa/t-linux.
1315
66192aa1
DKC
13162016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1317
1318 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1319 __ieee754_sqrt): New functions.
1320 (__divdf3): Add implementation with new FPU instructions under
1321 #if XCHAL_HAVE_DFP_DIV.
1322 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1323 __ieee754_sqrtf): New functions.
1324 (__divsf3): Add implementation with new FPU instructions under
1325 #if XCHAL_HAVE_FP_DIV.
1326 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1327 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1328
4d0cdd0c
TP
13292016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1330
1331 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1332 equivalent.
1333 * config/tilepro/atomic.c: Likewise and stop casting model to
1334 enum memmodel.
1335
73f01cca
JM
13362016-10-10 Joseph Myers <joseph@codesourcery.com>
1337
1338 PR target/77586
1339 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1340 soft-fp.
1341
b20e7532
AT
13422016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1343
1344 * config.host: Add support for aarch64-*-freebsd*.
1345
a786cec4
AS
13462016-10-05 Andreas Schwab <schwab@suse.de>
1347
1348 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1349 (.section .init_array): Don't call __do_jv_register_classes.
1350 (.section .init): Likewise.
1351
5a79befb
JJ
13522016-10-04 Jakub Jelinek <jakub@redhat.com>
1353
1354 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1355 (__JCR_LIST__): Remove.
1356 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1357 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1358 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1359 * config/ia64/crtend.S (__JCR_END__): Remove.
1360 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1361 conditionals.
1362 (__JCR_LIST__, __JCR_END__): Remove.
1363 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1364 (__do_global_ctors_1): Likewise.
1365
e0ab3753
UB
13662015-09-28 Uros Bizjak <ubizjak@gmail.com>
1367
1368 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1369 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1370
8c9434c2
ML
13712016-09-27 Martin Liska <mliska@suse.cz>
1372
1373 PR gcov-profile/7970
1374 PR gcov-profile/16855
1375 PR gcov-profile/44779
1376 * libgcov-driver.c (__gcov_init): Do not register a atexit
1377 handler.
1378 (__gcov_exit): Rename from gcov_exit.
1379 * libgcov.h (__gcov_exit): Declare.
1380
56b653f1
ML
13812016-09-27 Martin Liska <mliska@suse.cz>
1382
1383 PR bootstrap/77749
1384 * Makefile.in: Remove _gcov_merge_delta.
1385 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1386 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1387 * libgcov.h: Remove declaration of __gcov_merge_delta.
1388
7e02fd1b
EB
13892016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1390
1391 * configure.ac: Do not create links, only substitute the filenames.
1392 * configure: Regenerate.
1393 * Makefile.in: Assign the substitution results to variables.
1394 (LIBGCC_LINKS): Define.
1395 (enable-execute-stack.c): New rule.
1396 (unwind.h): Likewise.
1397 (md-unwind-support.h): Likewise.
1398 (sfp-machine.h): Likewise.
1399 (gthr-default.h): Likewise.
1400 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1401 unwind.h as prerequisite of install-unwind_h-forbuild.
1402
29991048
JJ
14032016-09-16 Jakub Jelinek <jakub@redhat.com>
1404
1405 PR libgcc/71744
1406 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1407 is not the primary registry and atomics are available.
1408 (any_objects_registered): New variable.
1409 (__register_frame_info_bases, __register_frame_info_table_bases):
1410 Atomically store 1 to any_objects_registered after registering first
1411 unwind info.
1412 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1413
0abcd6cc
JG
14142016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1415
1416 PR target/63250
1417 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1418 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1419 (HFtype): Likewise.
1420 (HCtype): Likewise.
1421 (__divhc3): Likewise.
1422 (__mulhc3): Likewise.
1423 * libgcc2.c: Support _mulhc3 and _divhc3.
1424
d758aeb5
JM
14252016-09-07 Joseph Myers <joseph@codesourcery.com>
1426
1427 PR libgcc/77519
1428 * libgcc2.c (NOTRUNC): Invert settings.
1429
7fe76f6a
ML
14302016-09-06 Martin Liska <mliska@suse.cz>
1431
1432 PR gcov-profile/77378
1433 PR gcov-profile/77466
1434 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1435 conditionaly enable/disable *_atomic functions.
1436
21184026
JM
14372016-08-26 Joseph Myers <joseph@codesourcery.com>
1438
1439 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1440 where not already enabled.
1441
726f49c3
SN
14422016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1443
1444 * config/mips/linux-unwind.h: Use sys/syscall.h.
1445
feeb6268
JM
14462016-08-16 Joseph Myers <joseph@codesourcery.com>
1447
1448 PR libgcc/77265
1449 * soft-fp/adddf3.c: Update from glibc.
1450 * soft-fp/addsf3.c: Likewise.
1451 * soft-fp/addtf3.c: Likewise.
1452 * soft-fp/divdf3.c: Likewise.
1453 * soft-fp/divsf3.c: Likewise.
1454 * soft-fp/divtf3.c: Likewise.
1455 * soft-fp/double.h: Likewise.
1456 * soft-fp/eqdf2.c: Likewise.
1457 * soft-fp/eqsf2.c: Likewise.
1458 * soft-fp/eqtf2.c: Likewise.
1459 * soft-fp/extenddftf2.c: Likewise.
1460 * soft-fp/extended.h: Likewise.
1461 * soft-fp/extendsfdf2.c: Likewise.
1462 * soft-fp/extendsftf2.c: Likewise.
1463 * soft-fp/extendxftf2.c: Likewise.
1464 * soft-fp/fixdfdi.c: Likewise.
1465 * soft-fp/fixdfsi.c: Likewise.
1466 * soft-fp/fixdfti.c: Likewise.
1467 * soft-fp/fixsfdi.c: Likewise.
1468 * soft-fp/fixsfsi.c: Likewise.
1469 * soft-fp/fixsfti.c: Likewise.
1470 * soft-fp/fixtfdi.c: Likewise.
1471 * soft-fp/fixtfsi.c: Likewise.
1472 * soft-fp/fixtfti.c: Likewise.
1473 * soft-fp/fixunsdfdi.c: Likewise.
1474 * soft-fp/fixunsdfsi.c: Likewise.
1475 * soft-fp/fixunsdfti.c: Likewise.
1476 * soft-fp/fixunssfdi.c: Likewise.
1477 * soft-fp/fixunssfsi.c: Likewise.
1478 * soft-fp/fixunssfti.c: Likewise.
1479 * soft-fp/fixunstfdi.c: Likewise.
1480 * soft-fp/fixunstfsi.c: Likewise.
1481 * soft-fp/fixunstfti.c: Likewise.
1482 * soft-fp/floatdidf.c: Likewise.
1483 * soft-fp/floatdisf.c: Likewise.
1484 * soft-fp/floatditf.c: Likewise.
1485 * soft-fp/floatsidf.c: Likewise.
1486 * soft-fp/floatsisf.c: Likewise.
1487 * soft-fp/floatsitf.c: Likewise.
1488 * soft-fp/floattidf.c: Likewise.
1489 * soft-fp/floattisf.c: Likewise.
1490 * soft-fp/floattitf.c: Likewise.
1491 * soft-fp/floatundidf.c: Likewise.
1492 * soft-fp/floatundisf.c: Likewise.
1493 * soft-fp/floatunditf.c: Likewise.
1494 * soft-fp/floatunsidf.c: Likewise.
1495 * soft-fp/floatunsisf.c: Likewise.
1496 * soft-fp/floatunsitf.c: Likewise.
1497 * soft-fp/floatuntidf.c: Likewise.
1498 * soft-fp/floatuntisf.c: Likewise.
1499 * soft-fp/floatuntitf.c: Likewise.
1500 * soft-fp/gedf2.c: Likewise.
1501 * soft-fp/gesf2.c: Likewise.
1502 * soft-fp/getf2.c: Likewise.
1503 * soft-fp/ledf2.c: Likewise.
1504 * soft-fp/lesf2.c: Likewise.
1505 * soft-fp/letf2.c: Likewise.
1506 * soft-fp/muldf3.c: Likewise.
1507 * soft-fp/mulsf3.c: Likewise.
1508 * soft-fp/multf3.c: Likewise.
1509 * soft-fp/negdf2.c: Likewise.
1510 * soft-fp/negsf2.c: Likewise.
1511 * soft-fp/negtf2.c: Likewise.
1512 * soft-fp/op-1.h: Likewise.
1513 * soft-fp/op-2.h: Likewise.
1514 * soft-fp/op-4.h: Likewise.
1515 * soft-fp/op-8.h: Likewise.
1516 * soft-fp/op-common.h: Likewise.
1517 * soft-fp/quad.h: Likewise.
1518 * soft-fp/single.h: Likewise.
1519 * soft-fp/soft-fp.h: Likewise.
1520 * soft-fp/subdf3.c: Likewise.
1521 * soft-fp/subsf3.c: Likewise.
1522 * soft-fp/subtf3.c: Likewise.
1523 * soft-fp/truncdfsf2.c: Likewise.
1524 * soft-fp/trunctfdf2.c: Likewise.
1525 * soft-fp/trunctfsf2.c: Likewise.
1526 * soft-fp/trunctfxf2.c: Likewise.
1527 * soft-fp/unorddf2.c: Likewise.
1528 * soft-fp/unordsf2.c: Likewise.
1529 * soft-fp/unordtf2.c: Likewise.
1530
2e6fc1ac
GG
15312016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1532
1533 PR gcov-profile/67097
1534 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1535
a266236e
ML
15362016-08-10 Martin Liska <mliska@suse.cz>
1537
1538 PR gcov-profile/58306
1539 * Makefile.in: New functions (modules) are added.
1540 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1541 function.
1542 (__gcov_pow2_profiler_atomic): New function.
1543 (__gcov_one_value_profiler_body): New argument is instroduced.
1544 (__gcov_one_value_profiler): Call with the new argument.
1545 (__gcov_one_value_profiler_atomic): Likewise.
1546 (__gcov_indirect_call_profiler_v2): Likewise.
1547 (__gcov_time_profiler_atomic): New function.
1548 (__gcov_average_profiler_atomic): Likewise.
1549 (__gcov_ior_profiler_atomic): Likewise.
1550 * libgcov.h: Declare the aforementioned functions.
1551
e0c8eebf
ML
15522016-08-09 Martin Liska <mliska@suse.cz>
1553
1554 * libgcov-util.c: Fix typo and GNU coding style.
1555
6dce6418
ML
15562016-08-09 Martin Liska <mliska@suse.cz>
1557
1558 * Makefile.in: Remove __gcov_indirect_call_profiler.
1559 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1560 function.
1561 * libgcov.h: And the declaration of the function.
1562
dcb1e137
ML
15632016-08-09 Martin Liska <mliska@suse.cz>
1564
1565 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1566 power of two.
1567
d6e69705
BS
15682016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1569
1570 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1571 * config/rs6000/_mulkc3.c: Likewise.
1572
96aa1f95
GJL
15732016-07-29 Georg-Johann Lay <avr@gjlay.de>
1574
1575 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1576 zero_reg as previous call to __umulhisi3 already cleared it.
1577
a1b01d34
AJ
15782016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1579
1580 PR target/59833
1581 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1582
985a47b2
NC
15832016-07-19 Nick Clifton <nickc@redhat.com>
1584
1585 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1586 Add crtinit.o and crtfini.o to extra_parts.
1587
f906f5ed
BS
15882016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1589
1590 * config/rs6000/_divkc3.c: New.
1591 * config/rs6000/_mulkc3.c: New.
1592 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1593 and _divkc3.
1594 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1595 fp128_ppc_funcs.
1596
82742404
HW
15972016-07-11 Hale Wang <hale.wang@arm.com>
1598 Andre Vieira <andre.simoesdiasvieira@arm.com>
1599
1600 * config/arm/lib1funcs.S: Add new wrapper.
1601
05a437c1
TP
16022016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1603
1604 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1605
3d16d9ec
TP
16062016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1607
1608 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1609 and ARMv5t* rather than for a fixed list of architectures.
1610
6f493951
TP
16112016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1612
1613 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1614 implementation suitable for.
1615 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1616 for all Thumb-1 only targets.
1617 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1618 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1619 __ARM_ARCH_6M__.
1620 (EQUIV): Likewise.
1621 (ARM_FUNC_ALIAS): Likewise.
1622 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1623 version.
1624 (modsi3): Likewise.
1625 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1626 (clzdi2): Likewise.
1627 (ctzsi2): Likewise.
1628 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1629 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1630 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1631 __ARM_ARCH_6M__ and add comment to indicate the connection between
1632 this condition and the one in gcc/config/arm/elf.h.
1633 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1634 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1635 * config/arm/t-softfp: Likewise.
1636
1770511a
TS
16372016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1638
1639 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1640 CTOR_LISTS_DEFINED_EXTERNALLY.
1641
ba6be749
WL
16422016-06-28 Walter Lee <walt@tilera.com>
1643
1644 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1645 asm/unistd.h.
1646 (SPR_CMPEXCH_VALUE): Define for tilegx.
1647 (__NR_FAST_cmpxchg): Define for tilepro.
1648 (__NR_FAST_atomic_update): Define for tilepro.
1649 (__NR_FAST_cmpxchg64): Define for tilepro.
1650
a34c0db5
JS
16512016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1652
18362447 1653 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 1654
0609abda
TS
16552016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1656
1657 * config.host: Remove support for mep-*.
1658 * config/mep/lib1funcs.S: Remove.
1659 * config/mep/lib2funcs.c: Remove.
1660 * config/mep/t-mep: Remove.
1661 * config/mep/tramp.c: Remove.
1662
3e326935
TS
16632016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1664
1665 * config.host: Remove support for avr-rtems.
1666 * config/avr/t-rtems: Remove.
1667
914b155c
TS
16682016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1669
1670 * config.host: Remove m32r-rtems support.
1671
5ebf89bd
TS
16722016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1673
1674 * config.host: Remove h8300-rtems support.
1675
8466af06
TS
16762016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1677
1678 * config.host: Remove support for knetbsd.
1679
d980e738
TS
16802016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1681
1682 * config.host: Remove support for openbsd 2 and 3.
1683
ee2499b4
TS
16842016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1685
1686 * config.host: Remove interix support.
1687 * config/i386/t-interix: Remove.
1688
9f92937b
JDA
16892016-06-18 John David Anglin <danglin@gcc.gnu.org>
1690
1691 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1692 least-significant bit in function pointer for fixup.
1693
0a0ec53d
AC
16942016-06-05 Aaron Conole <aconole@redhat.com>
1695 Nathan Sidwell <nathan@acm.org>
1696
1697 PR libgcc/71400
1698 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1699 (get_gcov_error_file): Check __gcov_error_file before trying to
1700 initialize it.
1701 (gcov_error): Always use get_gcov_error_file.
1702
8aa5bdd6
AC
17032016-06-02 Aaron Conole <aconole@redhat.com>
1704
1705 * libgcov-driver-system.c (__gcov_error_file): New.
1706 (get_gcov_error_file): New.
1707 (gcov_error): Use and set __gcov_error_file.
1708 (gcov_error_exit): New.
1709 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1710
40774faf
NS
17112016-05-26 Nathan Sidwell <nathan@acm.org>
1712
1713 * config/nvptx/free.asm: Delete.
1714 * config/nvptx/malloc.asm: Delete.
1715 * config/nvptx/realloc.c: Delete.
1716 * t-nvptx: Update.
1717
69a6d5ad
NS
17182016-05-25 Nathan Sidwell <nathan@acm.org>
1719
1720 * config/nvptx/crt0.s: Delete.
1721 * config/nvptx/crt0.c: New.
1722 * t-nvptx: Update.
1723
6befaff6
SL
17242016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1725
385c7747 1726 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
1727 dw2/seh configuration.
1728 [x86_64-*-mingw*]: Likewise.
1729
ad251dfd
JS
17302016-05-10 Joel Sherrill <joel@rtems.org>
1731
1732 PR libgcc/70720
1733 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1734 targets so the same extra_parts are built. Also have tmake_file add
1735 on to its value rather than override.
1736
bc6d9014
OE
17372016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1738
1739 * config.host: Remove SH5 support.
1740 * configure: Likewise.
1741
9129c8cf
OE
17422016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1743
1744 * config/sh/crt1.S: Remove SH5 support.
1745 * config/sh/crti.S: Likewise.
1746 * config/sh/crtn.S: Likewise.
1747 * config/sh/lib1funcs-4-300.S: Likewise.
1748 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1749 * config/sh/lib1funcs.S: Likewise.
1750 * config/sh/linux-unwind.h: Likewise.
1751 * config/sh/t-sh64: Delete.
1752
39d50464
CZ
17532016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1754
1755 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1756
8b48923b
CZ
17572016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1758 Joern Rennecke <joern.rennecke@embecosm.com>
1759
1760 * config/arc/crttls.S: New file.
1761 * config/arc/t-arc: New rule.
1762 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1763
2de1cf8c
NC
17642016-04-25 Nick Clifton <nickc@redhat.com>
1765
1766 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1767 (__mspabi_cmpd): Likewise.
1768 * config/msp430/floathidf.c (__floathidf): Likewise.
1769 * config/msp430/floathisf.c (__floathisf): Likewise
1770 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1771 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1772 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1773 second parameter.
1774 (__ashrsi3): Likewise.
1775
b8ce3fe2
WB
17762016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1777
1778 * config/m68k/linux-atomic.c: Do not include unistd.h
1779
4986f823
MG
17802016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1781
1782 * config/arm/ieee754-df.S: Fix typos in comments.
1783
35fbda43
MM
17842016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1785
1786 PR target/70381
1787 * configure.ac (powerpc*-*-linux*): Rework tests to build
1788 __float128 emulation routines to not depend on using #pragma GCC
1789 target to enable -mfloat128.
1790 * configure: Regnerate.
1791
72d1a48d
EB
17922016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1793
1794 PR target/67172
1795 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1796 __MINGW32__ is defined.
1797
dc2e8995
JB
17982016-03-28 James Bowman <james.bowman@ftdichip.com>
1799
385c7747 1800 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 1801
104cdaf1
MM
18022016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1803
1804 PR libgcc/70363
1805 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1806 built with an assembler that does not support ISA 3.0
1807 instructions, rename __extendkftf2_sw to __extendkftf2.
1808
a5046f48
RO
18092016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1810
1811 PR target/38239
1812 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1813 call-clobbered registers.
1814 (internal_mcount): Remove __i386__ handling.
1815
df674f74
JS
18162016-02-26 Joel Sherrill <joel@rtems.org>
1817
1818 * config.host: Add x86_64-*-rtems*.
1819
7cb065d6
JS
18202016-02-26 Joel Sherrill <joel@rtems.org>
1821
1822 * libgcc/config.host: Add aarch64-*-rtems*.
1823
47dfdc53
PM
18242016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1825 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1826
1827 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1828 union of u64 and double.
1829 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1830 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1831 value.
1832 (FP_ROUNDMODE): Update the usage of _fpscr.
1833
e6861a99
IV
18342016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1835
1836 PR driver/68463
1837 * Makefile.in (crtoffloadtable$(objext)): New rule.
1838 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1839 enable_offload_targets is not empty.
1840 * configure: Regenerate.
1841 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1842 crtoffloadtable.
1843
9bfcbdee
MF
18442016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1845
1846 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1847 .literal_position before the function.
1848 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1849 Likewise.
1850
4cb4721f
MK
18512016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1852
1853 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1854 * config/s390/morestack.S: New file.
1855 * config/s390/t-stack-s390: New file.
1856 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1857
b29d9a29
WL
18582016-02-12 Walter Lee <walt@tilera.com>
1859
1860 * config.host (tilegx*-*-linux*): remove ti from
1861 softfp_int_modes for 32-bit configs.
1862
03a0ae7d
ILT
18632016-02-10 Ian Lance Taylor <iant@google.com>
1864
1865 PR go/68562
1866 * config/i386/morestack.S (__stack_split_initialize): Align
1867 stack.
1868
68750bce
AT
18692016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1870
1871 PR bootstrap/69611
1872 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1873 __FLOAT128__ to compile only for __float128 capable targets.
1874
7d296953
JJ
18752016-01-25 Jakub Jelinek <jakub@redhat.com>
1876
1877 PR target/69444
1878 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1879 instead of ___NO_FPRS__.
1880
a71c0334 18812016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
1882 Steven Munroe <munroesj@linux.vnet.ibm.com>
1883 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
1884
1885 * config/rs6000/float128-sed: New files to convert TF names to KF
1886 names for PowerPC IEEE 128-bit floating point support.
1887 * config/rs6000/float128-sed-hw: Likewise.
1888
1889 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1890 floating point hardware support.
1891
1892 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1893 128-bit floating point software emulation or use ISA 3.0 hardware
1894 support if it is available.
1895
1896 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1897 floating point.
1898
1899 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1900 floating point to IBM extended double.
1901
1902 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1903 double to IEEE 128-bit floating point.
1904
1905 * config/rs6000/t-float128: New Makefile fragments to enable
1906 building __float128 emulation support.
1907 * config/rs6000/t-float128-hw: Likewise.
1908
1909 * config/rs6000/sfp-exceptions.c: New file to provide exception
1910 support for IEEE 128-bit floating point.
1911
1912 * config/rs6000/floattikf.c: New files for converting between IEEE
1913 128-bit floating point and signed/unsigned 128-bit integers.
1914 * config/rs6000/fixunskfti.c: Likewise.
1915 * config/rs6000/fixkfti.c: Likewise.
1916 * config/rs6000/floatuntikf.c: Likewise.
1917
1918 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1919 when building on 64-bit systems, or when VSX is enabled.
1920 (_FP_W_TYPE): Likewise.
1921 (_FP_WS_TYPE): Likewise.
1922 (_FP_I_TYPE): Likewise.
1923 (TItype): Define on 64-bit systems.
1924 (UTItype): Likewise.
1925 (TI_BITS): Likewise.
1926 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1927 (_FP_MUL_MEAT_Q): Likewise.
1928 (_FP_DIV_MEAT_D): Likewise.
1929 (_FP_DIV_MEAT_Q): Likewise.
1930 (_FP_NANFRAC_D): Likewise.
1931 (_FP_NANFRAC_Q): Likewise.
1932 (ISA_BIT): Add exception support if we are being compiled on a
1933 machine with hardware floating point support to build the IEEE
1934 128-bit emulation functions.
1935 (FP_EX_INVALID): Likewise.
1936 (FP_EX_OVERFLOW): Likewise.
1937 (FP_EX_UNDERFLOW): Likewise.
1938 (FP_EX_DIVZERO): Likewise.
1939 (FP_EX_INEXACT): Likewise.
1940 (FP_EX_ALL): Likewise.
1941 (__sfp_handle_exceptions): Likewise.
1942 (FP_HANDLE_EXCEPTIONS): Likewise.
1943 (FP_RND_NEAREST): Likewise.
1944 (FP_RND_ZERO): Likewise.
1945 (FP_RND_PINF): Likewise.
1946 (FP_RND_MINF): Likewise.
1947 (FP_RND_MASK): Likewise.
1948 (_FP_DECL_EX): Likewise.
1949 (FP_INIT_ROUNDMODE): Likewise.
1950 (FP_ROUNDMODE): Likewise.
1951
1952 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1953 VSX code, enable IEEE 128-bit floating point. If the compiler can
1954 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1955 floating point hardware instructions and it supports declaring
1956 functions with the ifunc attribute, enable ifunc functions to
1957 switch between software and hardware support.
1958 * configure.ac (powerpc*-*-linux*): Likewise.
1959 * configure: Regenerate.
1960
bdc27e50
NC
19612016-01-15 Nick Clifton <nickc@redhat.com>
1962
1963 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1964 dependency as the source file to be compiled.
1965 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1966 (lib2hw_mul_f5.o): Likewise.
1967
006df05d
MM
19682016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1969
1970 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1971 * libgcc/config/rs6000/fixkfti.c: Likewise.
1972 * libgcc/config/rs6000/fixunskfti.c: Likewise.
1973 * libgcc/config/rs6000/float128-hw.c: Likewise.
1974 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1975 * libgcc/config/rs6000/float128-sed: Likewise.
1976 * libgcc/config/rs6000/floattikf.c: Likewise.
1977 * libgcc/config/rs6000/floatuntikf.c: Likewise.
1978 * libgcc/config/rs6000/quad-float128.h: Likewise.
1979 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1980 * libgcc/config/rs6000/sfp-machine.h: Likewise.
1981 * libgcc/config/rs6000/t-float128: Likewise.
1982 * libgcc/config/rs6000/t-float128-hw: Likewise.
1983 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1984 * libgcc/config.host: Likewise.
1985 * libgcc/configure: Likewise.
1986 * libgcc/configure.ac: Likewise.
1987
29176d57 19882016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
1989 Steven Munroe <munroesj@linux.vnet.ibm.com>
1990 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
1991
1992 * config/rs6000/sfp-exceptions.c: New file to provide exception
1993 support for IEEE 128-bit floating point.
1994
1995 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1996 floating point hardware support.
1997
1998 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1999 point conversions.
2000 * config/rs6000/fixunskfti.c: Likewise.
2001 * config/rs6000/fixkfti.c: Likewise.
2002 * config/rs6000/floatuntikf.c: Likewise.
2003 * config/rs6000/extendkftf2-sw.c: Likewise.
2004 * config/rs6000/trunctfkf2-sw.c: Likewise.
2005
2006 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2007 128-bit floating point software emulation or use ISA 3.0 hardware
2008 support if it is available.
2009
2010 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2011 floating point.
2012
2013 * config/rs6000/t-float128: New Makefile fragments to enable
2014 building __float128 emulation support.
2015 * config/rs6000/t-float128-hw: Likewise.
2016
2017 * config/rs6000/float128-sed: New file to convert TF names to KF
2018 names for PowerPC IEEE 128-bit floating point support.
2019
2020 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2021 when building on 64-bit systems, or when VSX is enabled.
2022 (_FP_W_TYPE): Likewise.
2023 (_FP_WS_TYPE): Likewise.
2024 (_FP_I_TYPE): Likewise.
2025 (TItype): Define on 64-bit systems.
2026 (UTItype): Likewise.
2027 (TI_BITS): Likewise.
2028 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2029 (_FP_MUL_MEAT_Q): Likewise.
2030 (_FP_DIV_MEAT_D): Likewise.
2031 (_FP_DIV_MEAT_Q): Likewise.
2032 (_FP_NANFRAC_D): Likewise.
2033 (_FP_NANFRAC_Q): Likewise.
2034 (ISA_BIT): Add exception support if we are being compiled on a
2035 machine with hardware floating point support to build the IEEE
2036 128-bit emulation functions.
2037 (FP_EX_INVALID): Likewise.
2038 (FP_EX_OVERFLOW): Likewise.
2039 (FP_EX_UNDERFLOW): Likewise.
2040 (FP_EX_DIVZERO): Likewise.
2041 (FP_EX_INEXACT): Likewise.
2042 (FP_EX_ALL): Likewise.
2043 (__sfp_handle_exceptions): Likewise.
2044 (FP_HANDLE_EXCEPTIONS): Likewise.
2045 (FP_RND_NEAREST): Likewise.
2046 (FP_RND_ZERO): Likewise.
2047 (FP_RND_PINF): Likewise.
2048 (FP_RND_MINF): Likewise.
2049 (FP_RND_MASK): Likewise.
2050 (_FP_DECL_EX): Likewise.
2051 (FP_INIT_ROUNDMODE): Likewise.
2052 (FP_ROUNDMODE): Likewise.
2053
2054 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2055 compiler can do __float128.
2056 * configure: Regenerate.
2057
2058 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2059 VSX code, enable IEEE 128-bit floating point.
2060
a2218983
OH
20612016-01-05 Olivier Hainque <hainque@adacore.com>
2062
2063 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2064 specificities.
a2218983 2065
818ab71a
JJ
20662016-01-04 Jakub Jelinek <jakub@redhat.com>
2067
2068 Update copyright years.
2069
5a6c8ffa
AP
20702015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2071
2072 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2073 soft-fp targets.
5a6c8ffa 2074
077067a5
BE
20752015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2076
2077 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2078 instead of abort to avoid dependency on stdlib.h.
2079
787c1027
JDA
20802015-12-09 John David Anglin <danglin@gcc.gnu.org>
2081
2082 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2083 to initialize call to __dl_fixup once.
2084
04a9ae28
NC
20852015-12-04 Nick Clifton <nickc@redhat.com>
2086
2087 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2088 Allow for the second argument being negative.
2089 * config.host (extra_parts): Define for MSP430. Create separate
2090 libraries for each of the hardware multiply formats.
2091 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2092 that are needed.
2093 * config/msp430/lib2mul.c: Likewise.
2094 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2095 Add rules to build hardware multiply libraries.
2096 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2097 __mspabi_divul function.
2098 (__mspabi_divllu): New stub function.
2099
9a32d437
JDA
21002015-12-01 John David Anglin <danglin@gcc.gnu.org>
2101
2102 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2103 fixup values if saved GOT address doesn't match runtime address.
2104 (fixup_branch_offset): Reorder list.
2105
e5ef217c
RO
21062015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2107
2108 * Makefile.in (VTV_CFLAGS): New variable.
2109 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2110 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2111 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2112 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2113 to extra_parts if $enable_vtable_verify = yes.
2114
78cc43a2
SN
21152015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2116
2117 PR target/68059
2118 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2119 (write): ...this and fix the return type.
2120
9afebea2
DD
21212015-11-19 DJ Delorie <dj@redhat.com>
2122
2123 * config/msp430/lib2hw_mul.S: Fix alignment.
2124
33f47f42
NS
21252015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2126
2127 * config/nvptx/reduction.c: New.
2128 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2129
d9adb476
DE
21302015-11-15 David Edelsohn <dje.gcc@gmail.com>
2131
2132 * config/rs6000/on_exit.c: New file.
2133 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2134 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2135
c0ab1970
CZ
21362015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2137
2138 * config/arc/dp-hack.h: Add support for ARCHS.
2139 * config/arc/ieee-754/divdf3.S: Likewise.
2140 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2141 * config/arc/ieee-754/muldf3.S: Likewise.
2142 * config/arc/ieee-754/mulsf3.S: Likewise
2143 * config/arc/lib1funcs.S: Likewise
2144 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2145 for ARCv2 cores.
2146 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2147 for ARCv2 cores.
2148 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2149 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2150 cores.
2151
e6b6bf09
RO
21522015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2153
2154 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2155 value.
2156 * config/ia64/crtend.S: Likewise.
2157
a153644f
TS
21582015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2159
2160 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2161 __CHAR_BIT__ instead of BITS_PER_UNIT.
2162 * fixed-bit.h: Likewise.
2163 * fp-bit.h: Likewise.
2164 * libgcc2.c (__popcountSI2): Likewise.
2165 (__popcountDI2): Likewise.
2166 * libgcc2.h: Likewise.
2167 * libgcov.h: Likewise.
2168
3dee689d
DE
21692015-11-07 David Edelsohn <dje.gcc@gmail.com>
2170
2171 * config/rs6000/atexit.c: New file.
2172 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2173 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2174 * config/rs6000/cxa_finalize.c
2175 (catomic_compare_and_exchange_bool_acq): Negate return value.
2176
2ef543e4
VK
21772015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2178
2179 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2180 (processor_subtypes): Add znver1.
2181 (get_amd_cpu): Detect znver1.
2182
1300f017
CL
21832015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2184
2185 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2186 Include crtfastmath.o.
2187
3e5bb7ee
JR
21882015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2189
2190 PR libgcc/66883
2191 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2192
793aa938
KP
21932015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2194
2195 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2196 * config/rl78/divmodsi.S: Update return register to r8.
2197 * config/rl78/divmodhi.S: Update return register to r8,r9.
2198 Branch to main_loop_done_himode to pop registers before return.
2199
7d296953 22002015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2201
2202 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2203 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2204
6a192b5a
KY
22052015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2206
2207 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2208
4a0a9457
MF
22092015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2210
2211 * config.host (xtensa*-*-uclinux*): New configuration.
2212
ab91c076
KY
22132015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2214
385c7747 2215 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2216 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2217
30954527
JM
22182015-09-28 Joseph Myers <joseph@codesourcery.com>
2219
2220 * soft-fp/adddf3.c: Update from glibc.
2221 * soft-fp/addsf3.c: Likewise.
2222 * soft-fp/addtf3.c: Likewise.
2223 * soft-fp/divdf3.c: Likewise.
2224 * soft-fp/divsf3.c: Likewise.
2225 * soft-fp/divtf3.c: Likewise.
2226 * soft-fp/double.h: Likewise.
2227 * soft-fp/eqdf2.c: Likewise.
2228 * soft-fp/eqsf2.c: Likewise.
2229 * soft-fp/eqtf2.c: Likewise.
2230 * soft-fp/extenddftf2.c: Likewise.
2231 * soft-fp/extended.h: Likewise.
2232 * soft-fp/extendsfdf2.c: Likewise.
2233 * soft-fp/extendsftf2.c: Likewise.
2234 * soft-fp/extendxftf2.c: Likewise.
2235 * soft-fp/fixdfdi.c: Likewise.
2236 * soft-fp/fixdfsi.c: Likewise.
2237 * soft-fp/fixdfti.c: Likewise.
2238 * soft-fp/fixsfdi.c: Likewise.
2239 * soft-fp/fixsfsi.c: Likewise.
2240 * soft-fp/fixsfti.c: Likewise.
2241 * soft-fp/fixtfdi.c: Likewise.
2242 * soft-fp/fixtfsi.c: Likewise.
2243 * soft-fp/fixtfti.c: Likewise.
2244 * soft-fp/fixunsdfdi.c: Likewise.
2245 * soft-fp/fixunsdfsi.c: Likewise.
2246 * soft-fp/fixunsdfti.c: Likewise.
2247 * soft-fp/fixunssfdi.c: Likewise.
2248 * soft-fp/fixunssfsi.c: Likewise.
2249 * soft-fp/fixunssfti.c: Likewise.
2250 * soft-fp/fixunstfdi.c: Likewise.
2251 * soft-fp/fixunstfsi.c: Likewise.
2252 * soft-fp/fixunstfti.c: Likewise.
2253 * soft-fp/floatdidf.c: Likewise.
2254 * soft-fp/floatdisf.c: Likewise.
2255 * soft-fp/floatditf.c: Likewise.
2256 * soft-fp/floatsidf.c: Likewise.
2257 * soft-fp/floatsisf.c: Likewise.
2258 * soft-fp/floatsitf.c: Likewise.
2259 * soft-fp/floattidf.c: Likewise.
2260 * soft-fp/floattisf.c: Likewise.
2261 * soft-fp/floattitf.c: Likewise.
2262 * soft-fp/floatundidf.c: Likewise.
2263 * soft-fp/floatundisf.c: Likewise.
2264 * soft-fp/floatunditf.c: Likewise.
2265 * soft-fp/floatunsidf.c: Likewise.
2266 * soft-fp/floatunsisf.c: Likewise.
2267 * soft-fp/floatunsitf.c: Likewise.
2268 * soft-fp/floatuntidf.c: Likewise.
2269 * soft-fp/floatuntisf.c: Likewise.
2270 * soft-fp/floatuntitf.c: Likewise.
2271 * soft-fp/gedf2.c: Likewise.
2272 * soft-fp/gesf2.c: Likewise.
2273 * soft-fp/getf2.c: Likewise.
2274 * soft-fp/ledf2.c: Likewise.
2275 * soft-fp/lesf2.c: Likewise.
2276 * soft-fp/letf2.c: Likewise.
2277 * soft-fp/muldf3.c: Likewise.
2278 * soft-fp/mulsf3.c: Likewise.
2279 * soft-fp/multf3.c: Likewise.
2280 * soft-fp/negdf2.c: Likewise.
2281 * soft-fp/negsf2.c: Likewise.
2282 * soft-fp/negtf2.c: Likewise.
2283 * soft-fp/op-1.h: Likewise.
2284 * soft-fp/op-2.h: Likewise.
2285 * soft-fp/op-4.h: Likewise.
2286 * soft-fp/op-8.h: Likewise.
2287 * soft-fp/op-common.h: Likewise.
2288 * soft-fp/quad.h: Likewise.
2289 * soft-fp/single.h: Likewise.
2290 * soft-fp/soft-fp.h: Likewise.
2291 * soft-fp/subdf3.c: Likewise.
2292 * soft-fp/subsf3.c: Likewise.
2293 * soft-fp/subtf3.c: Likewise.
2294 * soft-fp/truncdfsf2.c: Likewise.
2295 * soft-fp/trunctfdf2.c: Likewise.
2296 * soft-fp/trunctfsf2.c: Likewise.
2297 * soft-fp/trunctfxf2.c: Likewise.
2298 * soft-fp/unorddf2.c: Likewise.
2299 * soft-fp/unordsf2.c: Likewise.
2300 * soft-fp/unordtf2.c: Likewise.
2301
4dfe21ac
RE
23022015-09-24 Richard Earnshaw <rearnsha@arm.com>
2303
2304 PR libgcc/67624
2305 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2306
df2a1cc4
RO
23072015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2308
2309 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2310 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2311 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2312 messages.
2313 (internal_mcount): Likewise.
2314 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2315 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2316
2d110442
RO
23172015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2318
2319 * configure.ac (libgcc_cv_solaris_crts): New test.
2320 * configure: Regenerate.
2321 * config.in: Regenerate.
2322 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2323 * config/gmon-sol2.c: Rename to ...
2324 * config/sol2/gmon.c: ... this.
2325 Include auto-target.h.
2326 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2327 * config/t-sol2: Rename to ...
2328 * config/sol2/t-sol2: ... this.
2329 (gmon.o): Reflect renaming.
2330 (crtp.o, crtpg.o): New rules.
2331 * config.host (*-*-solaris2*): Reflect renaming.
2332 Use system CRTs if present.
2333 Remove default CRT case.
2334
d572e439
JDA
23352015-09-23 John David Anglin <danglin@gcc.gnu.org>
2336
2337 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2338 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2339 __kernel_cmpxchg2.
2340 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2341 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2342 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2343 (__sync_lock_test_and_set_##WIDTH): Likewise.
2344 (__sync_lock_release_##WIDTH): Likewise.
2345 (__sync_fetch_and_##OP##_4): Change result to match type of
2346 __kernel_cmpxchg.
2347 (__sync_##OP##_and_fetch_4): Likewise.
2348 (__sync_val_compare_and_swap_4): Likewise.
2349 (__sync_bool_compare_and_swap_4): likewise.
2350 (__sync_lock_test_and_set_4): Likewise.
2351 (__sync_lock_release_4): Likewise.
2352 (FETCH_AND_OP_2): Add long long variants.
2353 (OP_AND_FETCH_2): Likewise.
2354 (COMPARE_AND_SWAP_2 ): Likewise.
2355 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2356 (SYNC_LOCK_RELEASE_2): Likewise.
2357 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2358
7d296953 23592015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2360
2361 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2362 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2363 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2364 (get_available_features): Habdle new features.
2365
131314e1
JB
23662015-09-21 James Bowman <james.bowman@ftdichip.com>
2367
2368 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2369 memory layout. Deal correctly with BSS region larger than 32K.
2370 Handle a watchdog reset like a power-on reset. Clean up unused
2371 code.
2372
04218b35
AD
23732015-09-18 Andrew Dixie <andrewd@gentrack.com>
2374 David Edelsohn <dje.gcc@gmail.com>
2375
2376 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2377 * config/rs6000/crtdbase.S: New file.
2378 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2379
c8338173
MF
23802015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2381
2382 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2383 Add support for call0 ABI.
2384
7a84bf71
JDA
23852015-09-13 John David Anglin <danglin@gcc.gnu.org>
2386
2387 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2388
4efab402
SH
23892015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2390
2391 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2392 (__GTHREAD_HAS_COND): Likewise.
2393 (__gthread_t): Likewise.
2394 (__gthread_cond_t): Likewise.
2395 (__gthread_time_t): Likewise.
2396 (__GTHREAD_MUTEX_INIT): Likewise.
2397 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2398 (__GTHREAD_COND_INIT): Likewise.
2399 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2400 (__GTHREAD_TIME_INIT): Likewise.
2401 (__gthread_create): Likewise.
2402 (__gthread_join): Likewise.
2403 (__gthread_detach): Likewise.
2404 (__gthread_equal): Likewise.
2405 (__gthread_self): Likewise.
2406 (__gthread_yield): Likewise.
2407 (__gthread_cond_broadcast): Likewise.
2408 (__gthread_cond_signal): Likewise.
2409 (__gthread_cond_wait): Likewise.
2410 (__gthread_cond_timedwait): Likewise.
2411 (__gthread_cond_wait_recursive): Likewise.
2412 (__gthread_cond_destroy): Likewise.
2413 (rtems_gxx_once): Delete.
2414 (rtems_gxx_key_create): Likewise.
2415 (rtems_gxx_key_delete): Likewise.
2416 (rtems_gxx_getspecific): Likewise.
2417 (rtems_gxx_setspecific): Likewise.
2418 (rtems_gxx_mutex_init): Likewise.
2419 (rtems_gxx_mutex_destroy): Likewise.
2420 (rtems_gxx_mutex_lock): Likewise.
2421 (rtems_gxx_mutex_trylock): Likewise.
2422 (rtems_gxx_mutex_unlock): Likewise.
2423 (rtems_gxx_recursive_mutex_init): Likewise.
2424 (rtems_gxx_recursive_mutex_lock): Likewise.
2425 (rtems_gxx_recursive_mutex_trylock): Likewise.
2426 (rtems_gxx_recursive_mutex_unlock): Likewise.
2427 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2428 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2429 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2430 (__gthread_once): Likewise.
2431 (__gthread_key_create): Likewise.
2432 (__gthread_key_delete): Likewise.
2433 (__gthread_getspecific): Likewise.
2434 (__gthread_setspecific): Likewise.
2435 (__gthread_key_t): Use <pthread.h> type.
2436 (__gthread_once_t): Likewise
2437 (__gthread_mutex_t): Use <sys/lock.h> type.
2438 (__gthread_recursive_mutex_t): Likewise
2439 (__gthread_mutex_lock): Use <sys/lock.h> function.
2440 (__gthread_mutex_trylock): Likewise.
2441 (__gthread_mutex_timedlock): Likewise.
2442 (__gthread_mutex_unlock): Likewise.
2443 (__gthread_mutex_destroy): Likewise.
2444 (__gthread_recursive_mutex_lock): Likewise.
2445 (__gthread_recursive_mutex_trylock): Likewise.
2446 (__gthread_recursive_mutex_timedlock): Likewise.
2447 (__gthread_recursive_mutex_unlock): Likewise.
2448 (__gthread_recursive_mutex_destroy): Likewise.
2449
991995c4
MF
24502015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2451
2452 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2453 context->sp instead of context->cfa.
2454
0e19db59
MF
24552015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2456
2457 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2458 with unwind-dw2-fde-dip.
2459
b6ac5f62
MF
24602015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2461
2462 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2463 CALL12 followed by series of ENTRY to spill windowed registers.
2464 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2465 instead of making linux spill syscall.
2466
3e0f3349
YR
24672015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2468
2469 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2470 (get_intel_cpu): Likewise.
2471
51c728b1
L
24722015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2475 (get_intel_cpu): Add Knights Landing support.
2476
aff4eeac
UB
24772015-08-11 Uros Bizjak <ubizjak@gmail.com>
2478
2479 PR target/66954
2480 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2481 (get_available_features): Handle FEATURE_PCLMUL.
2482
736e56da
L
24832015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2484
2485 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2486 Broadwell.
2487
54d22142
UB
24882015-07-22 Uros Bizjak <ubizjak@gmail.com>
2489
2490 PR target/66954
2491 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2492 (get_available_features): Handle FEATURE_AES.
2493
20ca17e4
CLT
24942015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2495
2496 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2497 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2498
ebe4a560
NS
24992015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2500
2501 * offloadstuff.c: Constify host data.
2502
180744c0
JB
25032015-07-17 Jan Beulich <jbeulich@suse.com>
2504
2505 * config/t-softfp: Split up "else ifneq".
2506
a03c6ae3
SL
25072015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2508 Cesar Philippidis <cesar@codesourcery.com>
2509 Chung-Lin Tang <cltang@codesourcery.com>
2510
2511 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2512 for __nios2_arch__ level.
2513
73358db5
JM
25142015-07-13 John Marino <gnugcc@marino.st>
2515
2516 * config/i386/t-dragonfly: New.
2517
f9a12f7b
JDA
25182015-07-01 John David Anglin <danglin@gcc.gnu.org>
2519
2520 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2521 better match light-weight syscall argument order.
2522 (__kernel_cmpxchg2): Likewise.
2523 Adjust callers.
2524
cb78b51c
L
25252015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2526
2527 * config.host: Support i[34567]86-*-elfiamcu target.
2528 * config/t-softfp-sfdftf: New file.
2529 * config/i386/32/t-iamcu: Likewise.
2530 * configure: Regenerated.
2531
4fa0f9ea
JL
25322015-06-23 James Lemke <jwlemke@codesourcery.com>
2533
2534 libgcc/config/arm/
2535 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2536
428b3812
L
25372015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2538
2539 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2540
7d296953 25412015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
2542
2543 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2544 md_unwind_header
2545 * config/i386/freebsd-unwind.h: New.
2546
9b789cc1
UB
25472015-05-22 Uros Bizjak <ubizjak@gmail.com>
2548
2549 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2550 i386/t-crtfm to tmake_file.
2551 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2552 (set_fast_math): Use set_fast_math_sse for SSE targets.
2553 * config/i386/t-crtfm: Remove.
2554
3dafb220
AM
25552015-05-21 Alan Modra <amodra@gmail.com>
2556
2557 PR libgcc/66225
2558 * config/rs6000/morestack.S: Remove ".abiversion 1".
2559
0f0fd745
AM
25602015-05-20 Alan Modra <amodra@gmail.com>
2561
2562 * config/rs6000/morestack.S: New.
2563 * config/rs6000/t-stack-rs6000: New.
2564 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2565 to tmake_file.
2566 * generic-morestack.c: Don't build for powerpc 32-bit.
2567
515ae71b
EB
25682015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2569
2570 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2571 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2572
36805406
JL
25732015-05-16 James Bowman <james.bowman@ftdichip.com>
2574
2575 * config.host: FT32 target added.
2576 * config/ft32/*: New files for FT32 target.
2577
ff935d0c
MG
25782015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2579
385c7747
UB
2580 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2581 New macros.
2582 * config/arm/ieee754-df.S: Add CFI directives.
2583 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 2584
9b92a9f3
EB
25852015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2586
2587 * configure.ac: Include config/sjlj.m4.
2588 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2589 * config.in: Regenerate.
2590 * configure: Likewise.
2591 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2592
98b5dc61
UB
25932015-05-12 Uros Bizjak <ubizjak@gmail.com>
2594
2595 * libgcov-util.c: Add space between string literal and macro name.
2596
5a0ff57c
SL
25972015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2598 Chris Jones <chrisj@nvidia.com>
2599 Joshua Conner <jconner@nvidia.com>
2600
2601 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2602 (arm*-*-uclinux*): Likewise.
2603 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2604 * config/arm/crtfastmath.c: New file.
2605
d28ad5d4
BS
26062014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2607
2608 * Makefile.in (real_host_noncanonical): New variable.
2609 (libsubdir): Use it.
2610 * configure.ac (real_host_noncanonical): Compute. Remove special
2611 case for intelmicemul.
2612 * configure: Regenerate.
2613
cc86234f
UB
26142015-04-28 Uros Bizjak <ubizjak@gmail.com>
2615
2616 * config/frv/elf-lib.h: New file.
2617 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2618 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2619 to tm_file.
2620
26212015-04-28 Uros Bizjak <ubizjak@gmail.com>
2622
2623 * config/frv/frvbengin.c: Do not include defaults.h
2624 * config/frv/frvend.c: Ditto.
2625
2f6bd6eb
YS
26262015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2627
2628 * config.host: Add h8300-*-linux
2629 * config/h8300/t-linux: New file.
2630 * config/h8300/lib1funs.s: Change symbol prefix.
2631 * config/h8300/sfp-machine.h: 64bit double support.
2632
15aa7b44
GR
26332015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2634 Szabolcs Nagy <szabolcs.nagy@arm.com>
2635
2636 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2637 Linux if target provides dl_iterate_phdr.
2638
abd0cdc9
L
26392015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2640
2641 PR target/65612
2642 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2643 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2644 (__cpu_indicator_init@GCC_4.8.0): New.
2645 (__cpu_model@GCC_4.8.0): Likewise.
2646 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2647 -DUSE_ELF_SYMVER.
2648
72ed1126
NC
26492015-04-16 Nick Clifton <nickc@redhat.com>
2650
2651 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2652 and __modhi3 functions.
2653 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2654 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2655
d26b2237
CG
26562015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2657
2658 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2659 do-while loop as macro body to avoid warnings.
2660
cacf1f59
JJ
26612015-04-10 Jakub Jelinek <jakub@redhat.com>
2662 Iain Sandoe <iain@codesourcery.com>
2663
2664 PR target/65351
2665 * configure: Regenerate.
2666
e8a4ed3b
JJ
26672015-04-07 Jakub Jelinek <jakub@redhat.com>
2668 Iain Sandoe <iain@codesourcery.com>
2669
2670 PR target/65351
2671 * configure: Regenerate.
2672
0341335e
CLT
26732015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2674
2675 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2676
590e2636 26772015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 2678
590e2636
MF
2679 Implement call0 ABI for xtensa
2680 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2681 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2682 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2683 use ret in call0 ABI.
2684 * config/xtensa/t-windowed: New file.
2685 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2686 * libgcc/configure: Regenerated.
2687 * libgcc/configure.ac: Check if xtensa target is configured for
2688 windowed ABI and thus needs to use custom unwind code.
2689
7727f8f2
JW
26902015-02-12 Jonathan Wakely <jwakely@redhat.com>
2691
2692 PR libgcc/64885
2693 * gthr-single.h: Use __unused__ attribute instead of unused.
2694 * config/gthr-vxworks.h: Likewise.
2695 * config/i386/gthr-win32.h: Likewise.
2696
0e4a0def
KT
26972015-02-27 Kai Tietz <ktietz@redhat.com>
2698
2699 PR target/65038
2700 * config.in: Regenerated.
2701 * configure: Likewise.
2702 * configure.ac (AC_HEADER_STDC): Added explicit.
2703 (AC_CHECK_HEADERS): Check for default headers plus
2704 for ftw.h header.
2705 * libgcov-util.c (gcov_read_profile_dir): Disable use
2706 of ftw-function, if header is not found.
2707 (ftw_read_file): Likewise.
2708
b6530d0a
TS
27092015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2710
2711 PR target/65181
2712 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2713 -Dinhibit_libc.
2714
53cfb467
SL
27152015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2716
2717 * config/arm/bpabi.S (test_div_by_zero): Make label names
2718 consistent between thumb2 and arm mode cases. Separate the
2719 signed comparison on the high word of the numerator from the
2720 unsigned comparison on the low word.
2721 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2722 signed comparison.
2723
77d10a1b
JM
27242015-02-17 Joseph Myers <joseph@codesourcery.com>
2725
2726 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2727 and <string.h>.
2728 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2729
98174188
RE
27302015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2731
2732 PR gcov-profile/61889
471274de 2733 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 2734
771bef14
NC
27352015-02-02 Nick Clifton <nickc@redhat.com>
2736
2737 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2738 rounding up the fraction.
2739
40702893
JDA
27402015-01-31 John David Anglin <danglin@gcc.gnu.org>
2741
2742 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2743 oldval and newval to const void *. Fix typo.
2744 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2745 (FETCH_AND_OP_WORD): Likewise.
2746 (OP_AND_FETCH_WORD): Likewise.
2747 (COMPARE_AND_SWAP_2): Likewise.
2748 (__sync_val_compare_and_swap_4): Likewise.
2749 (__sync_lock_test_and_set_4): Likewise.
2750 (SYNC_LOCK_RELEASE_2): Likewise.
2751 Remove support for long long atomic operations.
2752
f7f049fa
CT
27532015-01-27 Caroline Tice <cmtice@google.com>
2754
2755 Committing VTV Cywin/Ming patch for Patrick Wollgast
2756 * Makefile.in: Move rules to build vtv_*.o out of the check
2757 for CUSTOM_CRTSTUFF.
2758 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2759 i[34567]86-*-mingw*)
2760 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2761 enable_vtable_verify.
2762
8410904a
NC
27632015-01-27 Nick Clifton <nickc@redhat.com>
2764
2765 * config/rl78/cmpsi2.S: Use function start and end macros.
2766 (__gcc_bcmp): New function.
2767 * config/rl78/lshrsi3.S: Use function start and end macros.
2768 * config/rl78/mulsi3.S: Add support for G10.
2769 (__mulqi3): New function for G10.
2770 * config/rl78/signbit.S: Use function start and end macros.
2771 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2772 fpmath-sf.S.
2773 (LIB2FUNCS_EXCLUDE): Define.
2774 (LIB2FUNCS_ST): Define.
2775 * config/rl78/trampoline.S: Use function start and end macros.
2776 * config/rl78/vregs.h (START_FUNC): New macro.
2777 (START_ANOTHER_FUNC): New macro.
2778 (END_FUNC): New macro.
2779 (END_ANOTHER_FUNC): New macro.
2780 * config/rl78/bit-count.S: New file. Contains assembler
2781 implementations of the bit counting functions: ___clzhi2,
2782 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2783 __paritysi2, __popcounthi2 and __popcountsi2.
2784 * config/rl78/fpbit-sf.S: New file. Contains assembler
2785 implementationas of the math functions: __negsf2, __cmpsf2,
2786 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2787 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2788 * config/rl78/fpmath-sf.S: New file. Contains assembler
2789 implementations of the math functions: __subsf3, __addsf3,
2790 __mulsf3 and __divsf3
2791
f962fbf1
RO
27922015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2793
2794 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2795 Add i386/elf-lib.h to tm_file.
2796 * config/i386/elf-lib.h: Fix comment.
2797 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2798 && __sun__ && __svr4__]: Remove workaround.
2799
939911c5
ASJ
28002015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2801
2802 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2803 FEATURE_BMI2.
2804 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2805
c8f2dff2
L
28062015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2807
2808 * config/i386/cpuinfo.c (processor_subtypes): Add
2809 INTEL_COREI7_BROADWELL.
2810 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2811 model numbers.
2812
7bbf9734
UB
28132015-01-23 Uros Bizjak <ubizjak@gmail.com>
2814
2815 * config/i386/elf-lib.h: New file.
2816 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2817 Wrap definition in #ifdef __i386__.
2818 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2819 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2820 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2821 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2822 to tm_file.
2823
324820f1
CG
28242015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2825
2826 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2827 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2828
a9ce4e4a
CLT
28292015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2830
2831 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2832 Update rt_sigframe format and address for current Nios II
2833 Linux conventions.
2834
82a19768
AT
28352015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2836
2837 * config.host (arm*-*-freebsd*): Add new configuration for
2838 arm*-*-freebsd*.
2839 * config/arm/freebsd-atomic.c: New file.
2840 * config/arm/t-freebsd: Likewise.
2841 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2842 'PC-relative indirect' OS's.
2843
0969ec7d
EB
28442015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2845
2846 * config.host: Add Visium support.
2847 * config/visium: New directory.
2848
5624e564
JJ
28492015-01-05 Jakub Jelinek <jakub@redhat.com>
2850
2851 Update copyright years.
2852
82f84ecb
MF
28532014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2854
2855 * config.host: Support mipsisa32r6 and mipsisa64r6.
2856 * config/mips/mips16.S: Do not build for R6.
2857
69044fa9
OE
28582014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2859
2860 * config/sh/crt.h: New.
2861 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2862 symbols.
2863 * config/sh/crt1.S: Likewise.
2864
2405e0ea
UB
28652014-12-15 Uros Bizjak <ubizjak@gmail.com>
2866
2867 PR libgcc/63832
2868 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2869 func_ptr *dtor_list temporary variable to avoid "array subscript
2870 is above array bounds" warnings.
2871
7d296953 28722014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
2873
2874 * Makefile.in (with_aix_soname): Define.
2875 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2876 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2877 * configure: Recreate.
2878
a66272f6
OH
28792014-12-05 Olivier Hainque <hainque@adacore.com>
2880
2881 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2882 now provided by defaults.h.
2883
6342b2c5
OE
28842014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2885
7d0ee249 2886 PR target/55351
6342b2c5
OE
2887 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2888 whether it's defined.
2889
c17eac85
IT
28902014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2891
2892 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2893 * config/i386/cpuinfo.c (get_available_features): Detect it.
2894
1025cb6c
TW
28952014-11-27 Tony Wang <tony.wang@arm.com>
2896
2897 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2898 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2899 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2900
d19f2e38
SB
29012014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2902
2903 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2904
17f6e9a3
JDA
29052014-11-24 John David Anglin <danglin@gcc.gnu.org>
2906
2907 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2908 instead.
2909
0cd7c672
GM
29102014-11-21 Guy Martin <gmsoft@tuxicoman.be>
2911 John David Anglin <danglin@gcc.gnu.org>
2912
2913 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2914 (FETCH_AND_OP_2): New. Use for subword and double word operations.
2915 (OP_AND_FETCH_2): Likewise.
2916 (COMPARE_AND_SWAP_2): Likewise.
2917 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2918 (SYNC_LOCK_RELEASE_2): Likewise.
2919 (SUBWORD_SYNC_OP): Remove.
2920 (SUBWORD_VAL_CAS): Likewise.
2921 (SUBWORD_BOOL_CAS): Likewise.
2922 (FETCH_AND_OP_WORD): Update.
2923 Consistently use signed types.
cc86234f 2924
85c64bbe
BS
29252014-11-13 Bernd Schmidt <bernds@codesourcery.com>
2926 Thomas Schwinge <thomas@codesourcery.com>
2927 Ilya Verbin <ilya.verbin@intel.com>
2928 Andrey Turetskiy <andrey.turetskiy@intel.com>
2929
2930 * Makefile.in (crtoffloadbegin$(objext)): New rule.
2931 (crtoffloadend$(objext)): Likewise.
2932 * configure: Regenerate.
2933 * configure.ac (accel_dir_suffix): Compute new variable.
2934 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2935 if enable_offload_targets is not empty.
2936 * offloadstuff.c: New file.
2937
52a1ff8b
NC
29382014-11-13 Nick Clifton <nickc@redhat.com>
2939
2940 * config/rl78/divmodhi.S: Add support for the G10 architecture.
2941 Use START_FUNC and END_FUNC macros to enable linker garbage
2942 collection.
2943 * config/rl78/divmodqi.S: Likewise.
2944 * config/rl78/divmodsi.S: Likewise.
2945 * config/rl78/mulsi3.S: Likewise.
2946 * config/rl78/lib2div.c: Remove G10 functions.
2947 * config/rl78/lib2muls.c: Likewise.
2948 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2949 * config/rl78/vregs.h (START_FUNC): New macro.
2950 (END_FUNC): New macro.
2951
050af144
MF
29522014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
2953
2954 * config/mips/mips16.S: Set .module when supported. Update O32
2955 FP64 calling convention and use for FPXX when possible. Add FPXX
2956 calling convention fallback case.
2957
738f2522
BS
29582014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2959
2960 * config.host: Handle nvptx-*-*.
2961 * shared-object.mk (as-flags-$o): Define.
2962 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2963 -xassembler-with-cpp.
2964 * static-object.mk: Identical changes.
2965 * config/nvptx/t-nvptx: New file.
2966 * config/nvptx/crt0.s: New file.
2967 * config/nvptx/free.asm: New file.
2968 * config/nvptx/malloc.asm: New file.
2969 * config/nvptx/realloc.c: New file.
2970
e610393c
JM
29712014-10-30 Joseph Myers <joseph@codesourcery.com>
2972
2973 * Makefile.in (libgcc.map.in): New target.
2974 (libgcc.map): Use libgcc.map.in.
2975 * config/t-softfp (softfp_compat): New variable to be set by
2976 users.
2977 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2978 variables.
2979 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2980 directory.
2981 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2982 that use compat symbols and disable all code unless [SHARED].
2983 * config/t-softfp-compat: New file.
2984 * find-symver.awk: New file.
2985 * configure.ac (--with-glibc-version): New configure option.
2986 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2987 * configure: Regenerate.
2988 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2989 soft-float and e500.
2990
bc1b3a88
JM
29912014-10-29 Joseph Myers <joseph@codesourcery.com>
2992
2993 * config/t-hardfp (hardfp_exclusions): Document new variable for
2994 user to define.
2995 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2996 * config/t-softfp (softfp_extras): Document new variable for user
2997 to define.
2998 (softfp_func_list): Add functions from $(softfp_extras).
2999 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3000 * config.host (powerpc*-*-linux*): For e500v1, use
3001 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3002 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3003 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3004
ef2810c1
JDA
30052014-10-26 John David Anglin <danglin@gcc.gnu.org>
3006
3007 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3008 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3009 memory read accesses are ok.
3010
d80c2bea
JM
30112014-10-25 Joseph Myers <joseph@codesourcery.com>
3012
3013 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3014 * configure: Regenerate.
3015 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3016 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3017 of soft-fp for 32-bit classic hard float. Do not use
3018 t-softfp-excl for soft float.
3019
693b297b
JM
30202014-10-22 Joseph Myers <joseph@codesourcery.com>
3021
3022 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3023 configurations.
3024 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3025 Remove variables.
3026
18a3415e
GJL
30272014-10-22 Georg-Johann Lay <avr@gjlay.de>
3028
3029 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3030 introduced with 2014-10-21 trunk r216525.
3031
c1dd9790 30322014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3033 Vidya Praveen <vidya.praveen@atmel.com>
3034 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3035 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3036 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3037
3038 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3039 order.
3040
3041 Updated library functions for AVRTINY arch.
3042 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3043 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3044 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3045 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3046 wsubi/wadi macors.
3047 (__mulsi3_helper): Update stack, preserve callee saved regs and
3048 argument from stack. Restore callee save registers.
3049 (__mulpsi3): Likewise.
3050 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3051 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3052 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3053 AVRTINY.
3054 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3055 (__do_copy_data): Added new definition for AVRTINY.
3056 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3057 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3058 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3059 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3060 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3061 macors.
18a3415e 3062 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3063 AVRTINY.
3064
18a3415e 3065 Fix broken long multiplication on tiny arch.
c1dd9790 3066
5f606431
JM
30672014-10-09 Joseph Myers <joseph@codesourcery.com>
3068
3069 * soft-fp/double.h: Update from glibc.
3070 * soft-fp/eqdf2.c: Likewise.
3071 * soft-fp/eqsf2.c: Likewise.
3072 * soft-fp/eqtf2.c: Likewise.
3073 * soft-fp/extenddftf2.c: Likewise.
3074 * soft-fp/extended.h: Likewise.
3075 * soft-fp/extendsfdf2.c: Likewise.
3076 * soft-fp/extendsftf2.c: Likewise.
3077 * soft-fp/extendxftf2.c: Likewise.
3078 * soft-fp/gedf2.c: Likewise.
3079 * soft-fp/gesf2.c: Likewise.
3080 * soft-fp/getf2.c: Likewise.
3081 * soft-fp/ledf2.c: Likewise.
3082 * soft-fp/lesf2.c: Likewise.
3083 * soft-fp/letf2.c: Likewise.
3084 * soft-fp/op-1.h: Likewise.
3085 * soft-fp/op-2.h: Likewise.
3086 * soft-fp/op-4.h: Likewise.
3087 * soft-fp/op-8.h: Likewise.
3088 * soft-fp/op-common.h: Likewise.
3089 * soft-fp/quad.h: Likewise.
3090 * soft-fp/single.h: Likewise.
3091 * soft-fp/soft-fp.h: Likewise.
3092 * soft-fp/unorddf2.c: Likewise.
3093 * soft-fp/unordsf2.c: Likewise.
3094 * soft-fp/unordtf2.c: Likewise.
3095 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3096 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3097 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3098 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3099 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3100 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3101 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3102 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3103 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3104 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3105
9b84e7a8
RX
31062014-10-08 Rong Xu <xur@google.com>
3107
3108 * libgcov-util.c (read_gcda_file): Fix format.
3109 (find_match_gcov_info): Ditto.
3110 (calculate_2_entries): New.
3111 (compute_one_gcov): Ditto.
3112 (gcov_info_count_all_cold): Ditto.
3113 (gcov_info_count_all_zero): Ditto.
3114 (extract_file_basename): Ditto.
3115 (get_file_basename): Ditto.
3116 (set_flag): Ditto.
3117 (matched_gcov_info): Ditto.
3118 (calculate_overlap): Ditto.
3119 (gcov_profile_overlap): Ditto.
3120 * libgcov-driver.c (compute_summary): Make
3121 it avavilable for external calls.
3122
fe1090c1
RX
31232014-10-06 Rong Xu <xur@google.com>
3124
3125 * Makefile.in: Ditto.
3126 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3127 (gcov_sort_icall_topn_counter): Ditto.
3128 (gcov_sort_topn_counter_arrays): Ditto.
3129 (dump_one_gcov): Sort indirect_call topn counters.
3130 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3131 function.
3132 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3133 utility function.
3134 (__gcov_indirect_call_topn_profiler): New profiler function.
3135 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3136 * libgcov.h: New decls.
3137
3daa7bbf
TS
31382014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3139
3140 * config.host: Remove support for score-*.
3141
9a79452d
JM
31422014-09-22 Joseph Myers <joseph@codesourcery.com>
3143
3144 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3145 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3146 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3147 __LIBGCC_XF_MANT_DIG__.
3148 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3149 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3150 __LIBGCC_TF_MANT_DIG__.
3151 * libgcc2.c (NOTRUNC): Define in terms of
3152 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3153 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3154
1a849e50
JM
31552014-09-22 Joseph Myers <joseph@codesourcery.com>
3156
3157 PR target/63312
3158 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3159 New macros.
3160
598a1586
HPN
31612014-09-22 Hans-Peter Nilsson <hp@axis.com>
3162
3163 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3164 override USE_PT_GNU_EH_FRAME.
3165 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3166 check USE_EH_FRAME_REGISTRY_ALWAYS against
3167 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3168 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3169 variable for substituted force_explicit_eh_registry.
3170 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3171 * configure.ac (explicit-exception-frame-registration):
3172 New AC_ARG_ENABLE.
3173 * configure: Regenerate.
3174
3a8fe7c6
OH
31752014-09-19 Olivier Hainque <hainque@adacore.com>
3176
3177 * config.host (powerpc-wrs-vxworksmils): New configuration,
3178 same as vxworksae.
3179
dd69f047
JM
31802014-09-18 Joseph Myers <joseph@codesourcery.com>
3181
3182 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3183
e770bfd9
JM
31842014-09-18 Joseph Myers <joseph@codesourcery.com>
3185
3186 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3187 bits not set bits as indicating trapping exceptions.
3188
cadb2b96
NS
31892014-09-17 Nathan sidwell <nathan@acm.org>
3190
3191 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3192 (LIBGCOV_DRIVER): ... here.
3193 * libgcov-driver.c (gcov_master): New.
3194 (gcov_exit): Remove from master chain.
3195 (__gcov_init): Add to master chain if version compatible. Don't
3196 clear the version.
3197 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3198 (gcov_reset_int): Clear master chain, if compatible.
3199 (gcov_dump_int): New internal interface. Dump master chain, if
3200 compatible.
3201 (gcov_dump): Alias for gcov_dump_int.
3202 * libgcov.h (struct gcov_root): Add next and prev fields.
3203 (struct gcov_master): New struct.
3204 (__gcov_master): New.
3205 (gcov_dump_int): Declare.
3206
580d22a3
OH
32072014-09-17 Olivier Hainque <hainque@adacore.com>
3208
3209 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3210 and crtbegin.o + crtend.o to extra_parts.
3211
8cc4b7a2
JM
32122014-09-12 Joseph Myers <joseph@codesourcery.com>
3213
3214 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3215 __LIBGCC_HAS_SF_MODE__.
3216 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3217 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3218 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3219 * config/libbid/bid_gcc_intrinsics.h
3220 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3221 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3222 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3223 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3224 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3225 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3226
ea3f2b24
GJL
32272014-09-11 Georg-Johann Lay <avr@gjlay.de>
3228
3229 PR target/63223
3230 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3231 and R24 as needed. Make work for all devices and .text locations.
3232 (__do_global_ctors, __do_global_dtors): Use word addresses.
3233 (__tablejump__, __tablejump_elpm__): Remove functions.
3234 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3235 Add _tablejump2.
3236 (XICALL, XIJMP): New macros.
3237
b677236a
MS
32382014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3239 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3240
3241 * config.host (aarch64*): Include crtfastmath.o and
3242 t-crtfm.
3243 * config/aarch64/crtfastmath.c: New file.
3244
157e859f
TS
32452014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3246
3247 * config.host: Remove picochip support.
3248 * config/picochip/adddi3.S: Remove.
3249 * config/picochip/ashlsi3.S: Remove.
3250 * config/picochip/ashlsi3.c: Remove.
3251 * config/picochip/ashrsi3.S: Remove.
3252 * config/picochip/ashrsi3.c: Remove.
3253 * config/picochip/clzsi2.S: Remove.
3254 * config/picochip/cmpsi2.S: Remove.
3255 * config/picochip/divmod15.S: Remove.
3256 * config/picochip/divmodhi4.S: Remove.
3257 * config/picochip/divmodsi4.S: Remove.
3258 * config/picochip/lib1funcs.S: Remove.
3259 * config/picochip/longjmp.S: Remove.
3260 * config/picochip/lshrsi3.S: Remove.
3261 * config/picochip/lshrsi3.c: Remove.
3262 * config/picochip/parityhi2.S: Remove.
3263 * config/picochip/popcounthi2.S: Remove.
3264 * config/picochip/setjmp.S: Remove.
3265 * config/picochip/subdi3.S: Remove.
3266 * config/picochip/t-picochip: Remove.
3267 * config/picochip/ucmpsi2.S: Remove.
3268 * config/picochip/udivmodhi4.S: Remove.
3269 * config/picochip/udivmodsi4.S: Remove.
3270
66bb34c0
JM
32712014-09-08 Joseph Myers <joseph@codesourcery.com>
3272
3273 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3274 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3275 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3276 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3277 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3278 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3279 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3280 defined and LIBGCC2_HAS_DF_MODE is defined.
3281 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3282 defined and LIBGCC2_HAS_XF_MODE is defined.
3283 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3284 defined and LIBGCC2_HAS_TF_MODE is defined.
3285
9686a2e6
JM
32862014-09-08 Joseph Myers <joseph@codesourcery.com>
3287
3288 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3289 and ROUND_TOWARDS_ZERO conditionals.
3290
71c3e2ef
NS
32912014-09-07 Nathan sidwell <nathan@acm.org>
3292
3293 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3294 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3295
53d68b9f
JM
32962014-09-05 Joseph Myers <joseph@codesourcery.com>
3297
3298 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3299 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3300 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3301 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3302 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3303 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3304 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3305 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3306 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3307 (DWARF_FRAME_REGISTERS): Change all uses to
3308 __LIBGCC_DWARF_FRAME_REGISTERS__.
3309 (EH_RETURN_STACKADJ_RTX): Change all uses to
3310 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3311 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3312 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3313 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3314 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3315 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3316 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3317 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3318 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3319 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3320 __LIBGCC_STACK_POINTER_REGNUM__.
3321 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3322 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3323 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3324 to __LIBGCC_STACK_POINTER_REGNUM__.
3325 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3326 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3327 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3328 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3329 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3330 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3331 (STACK_POINTER_REGNUM): Change all uses to
3332 __LIBGCC_STACK_POINTER_REGNUM__.
3333 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3334 use to __LIBGCC_STACK_POINTER_REGNUM__.
3335 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3336 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3337 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3338 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3339 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3340 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3341 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3342 to __LIBGCC_STACK_POINTER_REGNUM__.
3343 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3344 Remove conditional definition.
3345 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3346 __LIBGCC_TEXT_SECTION_ASM_OP__.
3347 (EH_FRAME_SECTION_NAME): Change all uses to
3348 __LIBGCC_EH_FRAME_SECTION_NAME__.
3349 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3350 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3351 (CTORS_SECTION_ASM_OP): Change all uses to
3352 __LIBGCC_CTORS_SECTION_ASM_OP__.
3353 (DTORS_SECTION_ASM_OP): Change all uses to
3354 __LIBGCC_DTORS_SECTION_ASM_OP__.
3355 (JCR_SECTION_NAME): Change all uses to
3356 __LIBGCC_JCR_SECTION_NAME__.
3357 (INIT_SECTION_ASM_OP): Change all uses to
3358 __LIBGCC_INIT_SECTION_ASM_OP__.
3359 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3360 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3361 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3362 __LIBGCC_STACK_GROWS_DOWNWARD__.
3363 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3364 __LIBGCC_INIT_SECTION_ASM_OP__.
3365 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3366 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3367 (EH_FRAME_SECTION_NAME): Change all uses to
3368 __LIBGCC_EH_FRAME_SECTION_NAME__.
3369 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3370 definitions. Change all uses to
3371 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3372 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3373 __LIBGCC_STACK_GROWS_DOWNWARD__.
3374 (DWARF_FRAME_REGISTERS): Change all uses to
3375 __LIBGCC_DWARF_FRAME_REGISTERS__.
3376 (EH_RETURN_STACKADJ_RTX): Change all uses to
3377 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3378 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3379 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3380 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3381 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3382 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3383
b20ee094
NS
33842014-09-02 Nathan sidwell <nathan@acm.org>
3385
3386 * libgcov-interface.c (STRONG_ALIAS): New.
3387 (__gcov_flush): Call __gcov_reset_int.
3388 (__gcov_reset): Strong alias for ...
3389 (__gcov_reset_ing): ... this renamed hidden version.
3390 * libgcov.h (__gcov_reset_int): New declaration.
3391
1ac83976
YS
33922014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3393
25efdb9f
YS
3394 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3395 call from here...
3396 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3397 (__dso_handle): Define on Cygwin.
3398 * config/i386/t-cygming (crtbeginS.o): New rule.
3399 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3400
1ac83976
YS
3401 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3402 declaration syntax.
3403
c6f9ea3b
SE
34042014-08-13 Steve Ellcey <sellcey@mips.com>
3405
3406 * crtstuff.c: Undef caddr_t.
3407
5b1ea7c5
SE
34082014-08-12 Steve Ellcey <sellcey@mips.com>
3409
3410 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3411
4303c581
NS
34122014-08-07 Nathan Sidwell <nathan@acm.org>
3413
3414 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3415 (LIBGCOV_DRIVER): ... to here.
3416 * libgcov.h (gcov_do_dump): New #define.
3417 (struct gcov_root): New.
3418 (__gcov_root): New declaration.
3419 (__gcov_dump_one): Declare.
3420 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3421 run_accounted): Delete.
3422 (gcov_compute_histogram): Add LIST argument, adjust.
3423 (compute_summary): Adjust gcov_compute_histogram call.
3424 (gcov_do_dump): Not hidden, static in libgcov.
3425 (gcov_clear): Move to interface.c.
3426 (__gcov_dump_one): New, broken out of ...
3427 (gcov_exit): ... here. Make static.
3428 (__gcov_root): New.
3429 (__gcov_init): Adjust.
3430 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3431 declarations.
3432 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3433 (gcov_clear): Moved from driver.c. Add LIST argument.
3434 (__gcov_reset): Adjust for changed interfaces.
3435 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3436
23742a9e
RAR
34372014-08-04 Rohit <rohitarulraj@freescale.com>
3438
3439 PR target/60102
3440 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3441 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3442
b98a872b
NS
34432014-08-01 Nathan Sidwell <nathan@acm.org>
3444
3445 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3446 LIBGCOV_INTERFACE): Reformat.
3447 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3448 IN_GCOV_TOOL.
3449 * libgcov-interface.c: Reformat some comments.
3450 (__gcov_flush_mx): Add declaration. Tidy up definition.
3451
6adaaa1d
AM
34522014-07-31 Alan Modra <amodra@gmail.com>
3453 Peter Bergner <bergner@vnet.ibm.com>
3454
3455 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3456 (pack_ldouble): New function.
3457 (__gcc_qadd): Use it.
3458 (__gcc_qmul): Likewise.
3459 (__gcc_qdiv): Likewise.
3460 (__gcc_qneg): Likewise.
3461 (__gcc_stoq): Likewise.
3462 (__gcc_dtoq): Likewise.
3463
87cb0c0c
UW
34642014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3465
3466 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3467 (__tpf_eh_return): Add original return address as second parameter.
3468 Handle cases where unwinder routines were called directly, instead
3469 of from within the C++ library.
3470
19926161
NS
34712014-07-29 Nathan Sidwell <nathan@acm.org>
3472
3473 * libgcov.h: Move renaming of entry points to lib gcov specific
3474 portion.
3475 (gcov_do_dump): New rename.
3476 (gcov_rewrite): Remove inline, make HIDDEN.
3477 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3478 (gcov_exit_compute_summary): Rename to ...
3479 (compute_summary): ... here. Add LIST argument.
3480 (gcov_exit_merge_gcda): Rename to ...
3481 (merge_one_data): ... here.
3482 (gcov_exit_write_gcda): Rename to ...
3483 (write_one_data): ... here.
3484 (gcov_exit_merge_summary): Rename to ...
3485 (merge_summary): Add RUN_COUNTED argument.
3486 (gcov_exit_dump_gcov): Rename to ...
3487 (dump_one_gcov): Add RUN_COUNTED argument.
3488 (gcov_do_dump): New function, broken out of ...
3489 (gcov_exit): ... here. Call it.
3490
17522262
AG
34912014-07-27 Anthony Green <green@moxielogic.com>
3492
3493 * config.host: Add moxiebox configuration suppport.
3494
6dc33097
NS
34952014-07-27 Nathan Sidwell <nathan@acm.org>
3496
3497 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3498 (struct gcov_filename): ... here. Include buffer and max length
3499 fields.
3500 (gcov_max_filename): Remove.
3501 (gi_filename): Remove.
3502 (gcov_exit_compute_summary): Compute max filename here.
3503 (gcov_exit_merge_gcda): Add filename parm, adjust.
3504 (gcov_exit_merge_summary): Likewise.
3505 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3506 (gcov_exit): Likewise.
3507 (__gcov_init): Don't calculate max length here.
3508 * libgcov_util.c (max_filename_len): Remove.
3509 (read_gcda_file): Don't calculate max length here.
3510 (gcov_read_profile_dir): Don't propagate here.
3511 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3512 struct gcov_filename changes.
3513 (gcov_exit_open_gcda_file): Likewise.
3514
770f687d
NS
35152014-07-25 Nathan Sidwell <nathan@acm.org>
3516
3517 * libgcov-driver.c (set_gcov_dump_complete,
3518 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3519 functions polluting user's namespace.
3520 (gcov_exit): Set variable directly.
3521 (gcov_clear): Reset variable directly.
3522 * libgcov-interface.c (get_gcov_dymp_complete,
3523 reset_gov_dump_complete): Remove declarations.
3524 (__gcov_reset, __gcov_dump): Don't call them.
3525
fabf71ba
DD
35262014-07-24 DJ Delorie <dj@redhat.com>
3527
3528 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
3529 (__gcc_deregister_frame): Move logic to detect deregister function
3530 to ...
3531 (__gcc_register_frame): here, so it's consistent with the register
3532 logic.
fabf71ba 3533
d10ee722
NS
35342014-07-23 Nathan Sidwell <nathan@acm.org>
3535
3536 * libgcov-driver.c (set_gcov_list): Remove.
3537 (gcov_list): Make non-static in GCOV_TOOL.
3538 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3539
a4137090
JDA
35402014-07-17 John David Anglin <danglin@gcc.gnu.org>
3541
3542 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3543 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3544 Don't use SYNC_LOCK_RELEASE for int type.
3545
72602c6c
RB
35462014-07-14 Richard Biener <rguenther@suse.de>
3547
3548 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3549
d5313205
RX
35502014-07-11 Rong Xu <xur@google.com>
3551
3552 * libgcov-util.c (gcov_max_filename): Fix declartion.
3553
c77556a5
RX
35542014-07-10 Rong Xu <xur@google.com>
3555
3556 Add gcov-tool: an offline gcda profile processing tool
3557 Support.
3558 * libgcov-driver.c (gcov_max_filename): Make available
3559 to gcov-tool.
3560 * libgcov-merge.c (__gcov_merge_add): Replace
3561 gcov_read_counter() with a Macro.
3562 (__gcov_merge_ior): Ditto.
3563 (__gcov_merge_time_profile): Ditto.
3564 (__gcov_merge_single): Ditto.
3565 (__gcov_merge_delta): Ditto.
3566 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3567 in the utility functions.
3568 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3569 gcov_list object link lists.
3570 (tag_function): Ditto.
3571 (tag_blocks): Ditto.
3572 (tag_arcs): Ditto.
3573 (tag_lines): Ditto.
3574 (tag_counters): Ditto.
3575 (tag_summary): Ditto.
3576 (read_gcda_finalize): Ditto.
3577 (read_gcda_file): Ditto.
3578 (ftw_read_file): Ditto.
3579 (read_profile_dir_init): Ditto.
3580 (gcov_read_profile_dir): Ditto.
3581 (gcov_read_counter_mem): Ditto.
3582 (gcov_get_merge_weight): Ditto.
3583 (merge_wrapper): A wrapper function that calls merging handler.
3584 (gcov_merge): Merge two gcov_info objects with weights.
3585 (find_match_gcov_info): Find the matched gcov_info in the list.
3586 (gcov_profile_merge): Merge two gcov_info object lists.
3587 (__gcov_add_counter_op): Process edge profile counter values.
3588 (__gcov_ior_counter_op): Process IOR profile counter values.
3589 (__gcov_delta_counter_op): Process delta profile counter values.
3590 (__gcov_single_counter_op): Process single profile counter values.
3591 (fp_scale): Callback function for float-point scaling.
cc86234f 3592 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
3593 (gcov_profile_scale): Scaling profile counters.
3594 (gcov_profile_normalize): Normalize profile counters.
3595 * libgcov.h: Add headers and functions for gcov-tool use.
3596 (gcov_get_counter): New.
3597 (gcov_get_counter_target): Ditto.
3598 (struct gcov_info): Make the functions field mutable in gcov-tool
3599 compilation.
3600
5c7dac8a
KT
36012014-06-23 Kai Tietz <ktietz@redhat.com>
3602
3603 PR libgcc/61585
3604 * unwind-seh.c (_Unwind_GetGR): Check for proper
3605 index range.
3606 (_Unwind_SetGR): Likewise.
3607
161c9312
NC
36082014-05-22 Nick Clifton <nickc@redhat.com>
3609
3610 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3611 -mhwmult=none.
3612
e3f0315f
TJ
36132014-05-22 Teresa Johnson <tejohnson@google.com>
3614
3615 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3616 include.
3617
dbed5a9b
JM
36182014-05-20 John Marino <gnugcc@marino.st>
3619
3620 * config.host (*-*-dragonfly*): New target.
3621 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3622 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3623 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3624 * config/i386/dragonfly-unwind.h: New.
3625
1ec380e5
MR
36262014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3627
3628 PR libgcc/60166
3629 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3630 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3631
54fde020
BE
36322014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3633
3634 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3635 implementation.
3636
999db125
GJL
36372014-05-12 Georg-Johann Lay <avr@gjlay.de>
3638
3639 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3640
cceaf54a
RO
36412014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3642
3643 PR libgcc/61097
3644 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3645 if --enable-shared.
3646
e3fe9b5b
BE
36472014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3648
3649 Work around for current cygwin32 build problems.
3650 * config/i386/cygming-crtbegin.c (__register_frame_info,
3651 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3652 functions only for 64-bit systems.
3653
54cf37e9
RO
36542014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3655
3656 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3657 (sigill_caught, sigill_hdlr): Remove.
3658
d9f069ab
RO
36592014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3660
3661 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3662 check.
3663 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3664 Solaris 9 single-threaded support.
3665 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3666 Solaris 9 single-threaded support. Add call_user_handler code
3667 sequences.
3668 (sparc_is_sighandler): Likewise.
3669
59976ef8
AK
36702014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3671
3672 * config.host: Append t-floattodi to tmake_file depending on
3673 host_address.
3674
d02bbcf3
JS
36752014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3676
31466bc0 3677 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 3678
c2e7e597
UB
36792014-03-10 Uros Bizjak <ubizjak@gmail.com>
3680
3681 PR libgcc/60472
3682 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 3683 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
3684 Use __builtin_expect when checking *jcr_list for NULL.
3685
227a7dc8
RO
36862014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3687
3688 PR libgcc/59339
3689 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3690 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3691 vtv_*.o to extra_parts if enable_vtable_verify.
3692
df2b279c
NC
36932014-03-06 Nick Clifton <nickc@redhat.com>
3694
3695 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3696 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3697
dc11d79b
JY
36982014-02-28 Joey Ye <joey.ye@arm.com>
3699
3700 PR libgcc/60166
3701 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3702 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3703 Set to zero.
3704
341c653c
WL
37052014-02-24 Walter Lee <walt@tilera.com>
3706
3707 * config.host: Support "tilegx*" and "tilepro*" triplets.
3708 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3709 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3710
95ce7613
CLT
37112014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3712 Chung-Lin Tang <cltang@codesourcery.com>
3713
3714 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3715 * config/nios2/crti.S: Remove .file directive.
3716 * config/nios2/crtn.S: Likewise.
3717
0bb4fc05
KT
37182014-02-18 Kai Tietz <ktietz@redhat.com>
3719 Jonathan Schleifer <js@webkeks.org>
3720
3721 PR objc/56870
3722 * unwind-seh.c (_GCC_specific_handler): Pass proper
3723 value to unwind-handler.
3724
9acf28f1
JM
37252014-02-12 Joseph Myers <joseph@codesourcery.com>
3726
3727 * soft-fp/adddf3.c: Update from glibc.
3728 * soft-fp/addsf3.c: Likewise.
3729 * soft-fp/addtf3.c: Likewise.
3730 * soft-fp/divdf3.c: Likewise.
3731 * soft-fp/divsf3.c: Likewise.
3732 * soft-fp/divtf3.c: Likewise.
3733 * soft-fp/double.h: Likewise.
3734 * soft-fp/eqdf2.c: Likewise.
3735 * soft-fp/eqsf2.c: Likewise.
3736 * soft-fp/eqtf2.c: Likewise.
3737 * soft-fp/extenddftf2.c: Likewise.
3738 * soft-fp/extended.h: Likewise.
3739 * soft-fp/extendsfdf2.c: Likewise.
3740 * soft-fp/extendsftf2.c: Likewise.
3741 * soft-fp/extendxftf2.c: Likewise.
3742 * soft-fp/fixdfdi.c: Likewise.
3743 * soft-fp/fixdfsi.c: Likewise.
3744 * soft-fp/fixdfti.c: Likewise.
3745 * soft-fp/fixsfdi.c: Likewise.
3746 * soft-fp/fixsfsi.c: Likewise.
3747 * soft-fp/fixsfti.c: Likewise.
3748 * soft-fp/fixtfdi.c: Likewise.
3749 * soft-fp/fixtfsi.c: Likewise.
3750 * soft-fp/fixtfti.c: Likewise.
3751 * soft-fp/fixunsdfdi.c: Likewise.
3752 * soft-fp/fixunsdfsi.c: Likewise.
3753 * soft-fp/fixunsdfti.c: Likewise.
3754 * soft-fp/fixunssfdi.c: Likewise.
3755 * soft-fp/fixunssfsi.c: Likewise.
3756 * soft-fp/fixunssfti.c: Likewise.
3757 * soft-fp/fixunstfdi.c: Likewise.
3758 * soft-fp/fixunstfsi.c: Likewise.
3759 * soft-fp/fixunstfti.c: Likewise.
3760 * soft-fp/floatdidf.c: Likewise.
3761 * soft-fp/floatdisf.c: Likewise.
3762 * soft-fp/floatditf.c: Likewise.
3763 * soft-fp/floatsidf.c: Likewise.
3764 * soft-fp/floatsisf.c: Likewise.
3765 * soft-fp/floatsitf.c: Likewise.
3766 * soft-fp/floattidf.c: Likewise.
3767 * soft-fp/floattisf.c: Likewise.
3768 * soft-fp/floattitf.c: Likewise.
3769 * soft-fp/floatundidf.c: Likewise.
3770 * soft-fp/floatundisf.c: Likewise.
3771 * soft-fp/floatunditf.c: Likewise.
3772 * soft-fp/floatunsidf.c: Likewise.
3773 * soft-fp/floatunsisf.c: Likewise.
3774 * soft-fp/floatunsitf.c: Likewise.
3775 * soft-fp/floatuntidf.c: Likewise.
3776 * soft-fp/floatuntisf.c: Likewise.
3777 * soft-fp/floatuntitf.c: Likewise.
3778 * soft-fp/gedf2.c: Likewise.
3779 * soft-fp/gesf2.c: Likewise.
3780 * soft-fp/getf2.c: Likewise.
3781 * soft-fp/ledf2.c: Likewise.
3782 * soft-fp/lesf2.c: Likewise.
3783 * soft-fp/letf2.c: Likewise.
3784 * soft-fp/muldf3.c: Likewise.
3785 * soft-fp/mulsf3.c: Likewise.
3786 * soft-fp/multf3.c: Likewise.
3787 * soft-fp/negdf2.c: Likewise.
3788 * soft-fp/negsf2.c: Likewise.
3789 * soft-fp/negtf2.c: Likewise.
3790 * soft-fp/op-1.h: Likewise.
3791 * soft-fp/op-2.h: Likewise.
3792 * soft-fp/op-4.h: Likewise.
3793 * soft-fp/op-8.h: Likewise.
3794 * soft-fp/op-common.h: Likewise.
3795 * soft-fp/quad.h: Likewise.
3796 * soft-fp/single.h: Likewise.
3797 * soft-fp/soft-fp.h: Likewise.
3798 * soft-fp/subdf3.c: Likewise.
3799 * soft-fp/subsf3.c: Likewise.
3800 * soft-fp/subtf3.c: Likewise.
3801 * soft-fp/truncdfsf2.c: Likewise.
3802 * soft-fp/trunctfdf2.c: Likewise.
3803 * soft-fp/trunctfsf2.c: Likewise.
3804 * soft-fp/trunctfxf2.c: Likewise.
3805 * soft-fp/unorddf2.c: Likewise.
3806 * soft-fp/unordsf2.c: Likewise.
3807 * soft-fp/unordtf2.c: Likewise.
3808 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3809 macro.
3810 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3811 Likewise.
3812 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3813 Likewise.
3814 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3815 Likewise.
3816 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3817 Likewise.
3818 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3819 Likewise.
3820 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3821 Likewise.
3822 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3823 Likewise.
3824 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3825 Likewise.
3826 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3827 Likewise.
3828 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3829 Likewise.
3830 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3831 Likewise.
3832 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3833 Likewise.
3834 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3835 Likewise.
3836 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3837 Likewise.
3838 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3839 Likewise.
3840
ce245ec6
AK
38412014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3842
3843 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3844 cannot be represented.
3845 * config/s390/32/_fixsfdi.c: Likewise.
3846 * config/s390/32/_fixtfdi.c: Likewise.
3847 * config/s390/32/_fixunsdfdi.c: Likewise.
3848 * config/s390/32/_fixunssfdi.c: Likewise.
3849 * config/s390/32/_fixunstfdi.c: Likewise.
3850
1c51d688
RS
38512014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3852
3853 * configure.ac (libgcc_cv_mips_hard_float): New.
3854 * configure: Regenerate.
3855 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3856 t-softfp-sfdf for hard-float targets.
3857 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3858 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3859 (softfp_truncations, softfp_exclude_libgcc2): New.
3860 * config/t-hardfp: New file.
3861 * config/t-hardfp-sfdf: Likewise.
3862 * config/hardfp.c: Likewise.
3863
bbf391db
AK
38642014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3865
3866 * config.host: Include t-floattodi also for s390x.
3867 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3868 * config/s390/32/_fixsfdi.c: Likewise.
3869 * config/s390/32/_fixtfdi.c: Likewise.
3870 * config/s390/32/_fixunsdfdi.c: Likewise.
3871 * config/s390/32/_fixunssfdi.c: Likewise.
3872 * config/s390/32/_fixunstfdi.c: Likewise.
3873
91da0481
RO
38742014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3875
3876 PR target/59788
3877 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3878 (install-libgcc-unwind-map-forbuild): New target.
3879 (all): Depend on install-libgcc-unwind-map-forbuild.
3880 (install-libgcc-unwind-map): New target.
3881 (install): Depend on install-libgcc-unwind-map.
3882
02b67731
SL
38832014-02-02 Sandra Loosemore <sandra@codesourcery.com>
3884
3885 * config/nios2/crti.S (_init): Initialize GOT pointer from
3886 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3887
1ea0a651
RS
38882014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3889
3890 * configure.ac: Check __mips64 when setting host_address.
3891 * configure: Regenerate.
3892 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3893 mips/t-mips64 and t-softfp.
3894 (mips*-*-linux*): Don't add mips/t-tpbit.
3895 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3896 (DPBIT, DPBIT_CFLAGS): Delete.
3897 * config/mips/sfp-machine.h: New file.
3898 * config/mips/t-mips64: Likewise.
3899 * config/mips/t-softfp-tf: Likewise.
3900 * config/mips/t-tpbit: Delete.
3901
f32b0061
MS
39022014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3903
3904 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3905 as long long.
3906
a5420aa4
WL
39072014-01-25 Walter Lee <walt@tilera.com>
3908
3909 * config/tilepro/atomic.c: Include tconfig.h. Don't include
3910 config.h or system.h.
3911 (bool) Define.
3912
24534912
WL
39132014-01-25 Walter Lee <walt@tilera.com>
3914
3915 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3916 (post_atomic_barrier): Ditto.
3917 (__fetch_and_do): New macro.
3918 (__atomic_fetch_and_do): Use __fetch_and_do.
3919 (__sync_fetch_and_do): New macro.
3920 (__sync_fetch_and_add_4): New function.
3921 (__sync_fetch_and_sub_4): New function.
3922 (__sync_fetch_and_or_4): New function.
3923 (__sync_fetch_and_and_4): New function.
3924 (__sync_fetch_and_xor_4): New function.
3925 (__sync_fetch_and_nand_4): New function.
3926 (__sync_fetch_and_add_8): New function.
3927 (__sync_fetch_and_sub_8): New function.
3928 (__sync_fetch_and_or_8): New function.
3929 (__sync_fetch_and_and_8): New function.
3930 (__sync_fetch_and_xor_8): New function.
3931 (__sync_fetch_and_nand_8): New function.
3932 (__do_and_fetch): New macro.
3933 (__atomic_do_and_fetch): Use __do_and_fetch.
3934 (__sync_do_and_fetch): New macro.
3935 (__sync_add_and_fetch_4): New function.
3936 (__sync_sub_and_fetch_4): New function.
3937 (__sync_or_and_fetch_4): New function.
3938 (__sync_and_and_fetch_4): New function.
3939 (__sync_xor_and_fetch_4): New function.
3940 (__sync_nand_and_fetch_4): New function.
3941 (__sync_add_and_fetch_8): New function.
3942 (__sync_sub_and_fetch_8): New function.
3943 (__sync_or_and_fetch_8): New function.
3944 (__sync_and_and_fetch_8): New function.
3945 (__sync_xor_and_fetch_8): New function.
3946 (__sync_nand_and_fetch_8): New function.
3947 (__sync_exchange_methods): New macro.
3948 (__sync_val_compare_and_swap_4): New function.
3949 (__sync_bool_compare_and_swap_4): New function.
3950 (__sync_lock_test_and_test_4): New function.
3951 (__sync_val_compare_and_swap_8): New function.
3952 (__sync_bool_compare_and_swap_8): New function.
3953 (__sync_lock_test_and_test_8): New function.
3954 (__subword_cmpxchg_body): New macro.
3955 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3956 (__atomic_compare_exchange_2): Ditto.
3957 (__sync_subword_cmpxchg): New macro.
3958 (__sync_val_compare_and_swap_1): New function.
3959 (__sync_bool_compare_and_swap_1): New function.
3960 (__sync_val_compare_and_swap_2): New function.
3961 (__sync_bool_compare_and_swap_2): New function.
3962 (__atomic_subword): Rename to ...
3963 (__subword): ... New name.
3964 (__atomic_subword_fetch): Use __subword.
3965 (__sync_subword_fetch): New macro.
3966 (__sync_fetch_and_add_1): New function.
3967 (__sync_fetch_and_sub_1): New function.
3968 (__sync_fetch_and_or_1): New function.
3969 (__sync_fetch_and_and_1): New function.
3970 (__sync_fetch_and_xor_1): New function.
3971 (__sync_fetch_and_nand_1): New function.
3972 (__sync_fetch_and_add_2): New function.
3973 (__sync_fetch_and_sub_2): New function.
3974 (__sync_fetch_and_or_2): New function.
3975 (__sync_fetch_and_and_2): New function.
3976 (__sync_fetch_and_xor_2): New function.
3977 (__sync_fetch_and_nand_2): New function.
3978 (__sync_add_and_fetch_1): New function.
3979 (__sync_sub_and_fetch_1): New function.
3980 (__sync_or_and_fetch_1): New function.
3981 (__sync_and_and_fetch_1): New function.
3982 (__sync_xor_and_fetch_1): New function.
3983 (__sync_nand_and_fetch_1): New function.
3984 (__sync_add_and_fetch_2): New function.
3985 (__sync_sub_and_fetch_2): New function.
3986 (__sync_or_and_fetch_2): New function.
3987 (__sync_and_and_fetch_2): New function.
3988 (__sync_xor_and_fetch_2): New function.
3989 (__sync_nand_and_fetch_2): New function.
3990 (__atomic_subword_lock): Use __subword.
3991 (__sync_subword_lock): New macro.
3992 (__sync_lock_test_and_set_1): New function.
3993 (__sync_lock_test_and_set_2): New function.
3994
4d6d3bc5
WL
39952014-01-25 Walter Lee <walt@tilera.com>
3996
3997 * config/tilepro/atomic.c (BIT_OFFSET): Define.
3998 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3999 (__atomic_subword): Ditto.
4000
cbd9890e
WL
40012014-01-25 Walter Lee <walt@tilera.com>
4002
4003 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4004 a prefix op argument.
4005 (__atomic_nand_fetch_4): Add prefix op.
4006 (__atomic_nand_fetch_8): Ditto.
4007
7d296953 40082014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4009
4010 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4011
46dd1242
L
40122014-01-09 Rong Xu <xur@google.com>
4013
4014 * libgcov-driver.c (this_prg): make it local to save
4015 bss space.
4016 (gcov_exit_compute_summary): Ditto.
4017 (gcov_exit_merge_gcda): Ditto.
4018 (gcov_exit_merge_summary): Ditto.
4019 (gcov_exit_dump_gcov): Ditto.
4020
cc86234f 40212014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4022
4023 * libgcov-driver.c: Use libgcov.h.
4024 (buffer_fn_data): Use xmalloc instead of malloc.
4025 (gcov_exit_merge_gcda): Ditto.
4026 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4027 * libgcov.h: New common header files for libgcov-*.h.
4028 * libgcov-interface.c: Use libgcov.h
4029 * libgcov-merge.c: Ditto.
4030 * libgcov-profiler.c: Ditto.
4031 * Makefile.in: Add dependence to libgcov.h
4032
a02e7bdd
JM
40332014-01-02 Joseph Myers <joseph@codesourcery.com>
4034
4035 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4036 case of small numerator and finite nonzero result.
4037
ac1dca3c
RS
40382014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4039
4040 Update copyright years
4041
f9030485
RS
40422014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4043
4044 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4045 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4046 config/arc/dp-hack.h, config/arc/fp-hack.h,
4047 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4048 config/arc/ieee-754/arc600-dsp/divdf3.S,
4049 config/arc/ieee-754/arc600-dsp/divsf3.S,
4050 config/arc/ieee-754/arc600-dsp/muldf3.S,
4051 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4052 config/arc/ieee-754/arc600-mul64/divdf3.S,
4053 config/arc/ieee-754/arc600-mul64/divsf3.S,
4054 config/arc/ieee-754/arc600-mul64/muldf3.S,
4055 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4056 config/arc/ieee-754/arc600/divsf3.S,
4057 config/arc/ieee-754/arc600/mulsf3.S,
4058 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4059 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4060 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4061 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4062 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4063 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4064 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4065 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4066 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4067 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4068 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4069 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4070 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4071 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4072 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4073 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4074 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4075 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4076 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4077 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4078 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4079 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4080 vtv_start_preinit.c: Use the standard form for the copyright notice.
4081
e430824f
CLT
40822013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4083 Chung-Lin Tang <cltang@codesourcery.com>
4084 Based on patches from Altera Corporation
4085
4086 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4087 * config/nios2/lib2-nios2.h: New file.
4088 * config/nios2/lib2-divmod-hi.c: New file.
4089 * config/nios2/linux-unwind.h: New file.
4090 * config/nios2/lib2-divmod.c: New file.
4091 * config/nios2/linux-atomic.c: New file.
4092 * config/nios2/t-nios2: New file.
4093 * config/nios2/crti.asm: New file.
4094 * config/nios2/t-linux: New file.
4095 * config/nios2/lib2-divtable.c: New file.
4096 * config/nios2/lib2-mul.c: New file.
4097 * config/nios2/tramp.c: New file.
4098 * config/nios2/crtn.asm: New file.
4099
1879e97f
UB
41002013-12-26 Uros Bizjak <ubizjak@gmail.com>
4101
4102 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4103 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4104 from cpuid.h to check vendor signatures.
4105
f4a4bdbb
GG
41062013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4107
c2e7e597 4108 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4109 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4110 (get_amd_cpu): Likewise.
4111
8d2ae544
L
41122013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4113
4114 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4115 Haswell.
4116
74924838
ASJ
41172013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4118 H.J. Lu <hongjiu.lu@intel.com>
4119
0bb52f25
L
4120 PR target/59422
4121 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4122 and AMD_JAGUAR.
4123 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4124 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4125 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4126 FEATURE_XOP and FEATURE_FMA.
4127 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4128 AMDFAM15H_BDVER3.
4129 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4130 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4131 FEATURE_FMA4 and FEATURE_XOP.
4132
d3c11974
L
41332013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4134
4135 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4136 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4137 (get_intel_cpu): Updated.
4138
064c4ff2
ZC
41392013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4140
4141 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4142
8b02e720
UB
41432013-12-09 Uros Bizjak <ubizjak@gmail.com>
4144
4145 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4146 instructions when __SSE_MATH__ is defined.
8b02e720 4147
3fa2ccb4
RC
41482013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4149
4150 * config.host (microblaze-*-rtems*): New.
4151
ecd78fc9
KV
41522013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4153
4154 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4155 architectures that do not have hardware divide instruction.
4156 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4157
b21fbbd2
RS
41582013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4159
4160 * longlong.h: Delete (moved to include/).
4161
b03fb8c9
AZ
41622013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4163
4164 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4165 of normal number and qNaN to not raise an inexact exception.
4166
3c716922
UB
41672013-11-28 Uros Bizjak <ubizjak@gmail.com>
4168
4169 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4170
41712013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4172
4173 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4174 for correct opcodes on BE.
4175
a3458d22
UB
41762013-11-27 Uros Bizjak <ubizjak@gmail.com>
4177
4178 * soft-fp/op-4.h: Update from glibc.
4179
30b8f78b
KV
41802013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4181
4182 * libgcc2.c (__udivmoddi4): Define new implementation when
4183 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4184 divide instructions.
4185
82552a29
OE
41862013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4187
4188 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4189
80e87457
RO
41902013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4191
4192 * config/t-softfp (soft-fp-objects-base): New variable.
4193 (soft-fp-objects): Use it.
4194
44178879
DE
41952013-11-23 David Edelson <dje.gcc@gmail.com>
4196 Andrew Dixie <andrewd@gentrack.com>
4197
4198 PR target/33704
4199 * config/rs6000/aixinitfini.c: New file.
4200 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4201 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4202 symbols.
4203
e5287671
YR
42042013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4205
a3458d22 4206 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4207
867c8b03
JH
42082013-11-18 Jan Hubicka <jh@suse.cz>
4209
7f369373
JH
4210 * libgcov-driver.c (run_accounted): Make global level static.
4211 (gcov_exit_merge_summary): Silence warning; do not clear
4212 run_accounted here.
4213 (gcov_exit): Clear it here.
4214
1d0b3334
JH
4215 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4216 run_accounted.
4217
867c8b03
JH
4218 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4219 (all_prg, crc32): Remove static vars.
4220 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4221 all_prg.
4222 (gcov_exit_merge_gcda): Add crc32 parameter.
4223 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4224 do not account run if it was already accounted.
4225 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4226 (gcov_exit): Initialize all_prg; update.
4227
66204992
AS
42282013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4229
4230 * configure: Regenerate.
4231
b54214fe
UW
42322013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4233 Alan Modra <amodra@gmail.com>
4234
4235 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4236 (frob_update_context): Use it.
4237
42382013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4239 Alan Modra <amodra@gmail.com>
4240
4241 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4242 (trampoline_initial): Provide ELFv2 variant.
4243 (__trampoline_setup): Likewise.
4244
4245 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4246 check for AIX indirect function call sequence if _CALL_ELF == 2.
4247
42482013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4249 Alan Modra <amodra@gmail.com>
4250
4251 * config/rs6000/linux-unwind.h (get_regs): Do not support
4252 old kernel versions if _CALL_ELF == 2.
4253 (frob_update_context): Do not support PLT stub variants only
4254 generated by old linkers if _CALL_ELF == 2.
4255
13e0981a
UW
42562013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4257 Alan Modra <amodra@gmail.com>
4258
4259 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4260 location of CR save area for 64-bit little-endian systems.
4261
1a80085d
EB
42622013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4263
4264 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4265 in tmake_file.
4266 * config/arm/t-vxworks: Delete.
4267
cabeea52
KT
42682013-11-10 Kai Tietz <ktietz@redhat.com>
4269
4270 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4271 Increment load-count on use of LIBGCC_SONAME DLL.
4272 (hmod_libgcc): New static variable to hold handle of
4273 LIBGCC_SONAME DLL.
4274 (__gcc_deregister_frame): Decrement load-count of
4275 LIBGCC_SONAME DLL.
4276
ac088ba1
BRF
42772013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4278
4279 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4280 availability.
4281 * configure: Regenerate
4282
d59a8fcc
UB
42832013-11-07 Uros Bizjak <ubizjak@gmail.com>
4284
4285 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4286 FP_EX_DENORM. Store result to volatile location after SSE division
4287 to close interrupt window. Remove unneeded fwait after x87
4288 division since interrupt window will be closed by emitted fstp.
9de84e84 4289 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4290
9954c743
JM
42912013-11-06 Joseph Myers <joseph@codesourcery.com>
4292
4293 * soft-fp/README: Update.
4294 * soft-fp/adddf3.c: Update from glibc.
4295 * soft-fp/addsf3.c: Likewise.
4296 * soft-fp/addtf3.c: Likewise.
4297 * soft-fp/divdf3.c: Likewise.
4298 * soft-fp/divsf3.c: Likewise.
4299 * soft-fp/divtf3.c: Likewise.
4300 * soft-fp/double.h: Likewise.
4301 * soft-fp/eqdf2.c: Likewise.
4302 * soft-fp/eqsf2.c: Likewise.
4303 * soft-fp/eqtf2.c: Likewise.
4304 * soft-fp/extenddftf2.c: Likewise.
4305 * soft-fp/extended.h: Likewise.
4306 * soft-fp/extendsfdf2.c: Likewise.
4307 * soft-fp/extendsftf2.c: Likewise.
4308 * soft-fp/extendxftf2.c: Likewise.
4309 * soft-fp/fixdfdi.c: Likewise.
4310 * soft-fp/fixdfsi.c: Likewise.
4311 * soft-fp/fixdfti.c: Likewise.
4312 * soft-fp/fixsfdi.c: Likewise.
4313 * soft-fp/fixsfsi.c: Likewise.
4314 * soft-fp/fixsfti.c: Likewise.
4315 * soft-fp/fixtfdi.c: Likewise.
4316 * soft-fp/fixtfsi.c: Likewise.
4317 * soft-fp/fixtfti.c: Likewise.
4318 * soft-fp/fixunsdfdi.c: Likewise.
4319 * soft-fp/fixunsdfsi.c: Likewise.
4320 * soft-fp/fixunsdfti.c: Likewise.
4321 * soft-fp/fixunssfdi.c: Likewise.
4322 * soft-fp/fixunssfsi.c: Likewise.
4323 * soft-fp/fixunssfti.c: Likewise.
4324 * soft-fp/fixunstfdi.c: Likewise.
4325 * soft-fp/fixunstfsi.c: Likewise.
4326 * soft-fp/fixunstfti.c: Likewise.
4327 * soft-fp/floatdidf.c: Likewise.
4328 * soft-fp/floatdisf.c: Likewise.
4329 * soft-fp/floatditf.c: Likewise.
4330 * soft-fp/floatsidf.c: Likewise.
4331 * soft-fp/floatsisf.c: Likewise.
4332 * soft-fp/floatsitf.c: Likewise.
4333 * soft-fp/floattidf.c: Likewise.
4334 * soft-fp/floattisf.c: Likewise.
4335 * soft-fp/floattitf.c: Likewise.
4336 * soft-fp/floatundidf.c: Likewise.
4337 * soft-fp/floatundisf.c: Likewise.
4338 * soft-fp/floatunditf.c: Likewise.
4339 * soft-fp/floatunsidf.c: Likewise.
4340 * soft-fp/floatunsisf.c: Likewise.
4341 * soft-fp/floatunsitf.c: Likewise.
4342 * soft-fp/floatuntidf.c: Likewise.
4343 * soft-fp/floatuntisf.c: Likewise.
4344 * soft-fp/floatuntitf.c: Likewise.
4345 * soft-fp/gedf2.c: Likewise.
4346 * soft-fp/gesf2.c: Likewise.
4347 * soft-fp/getf2.c: Likewise.
4348 * soft-fp/ledf2.c: Likewise.
4349 * soft-fp/lesf2.c: Likewise.
4350 * soft-fp/letf2.c: Likewise.
4351 * soft-fp/muldf3.c: Likewise.
4352 * soft-fp/mulsf3.c: Likewise.
4353 * soft-fp/multf3.c: Likewise.
4354 * soft-fp/negdf2.c: Likewise.
4355 * soft-fp/negsf2.c: Likewise.
4356 * soft-fp/negtf2.c: Likewise.
4357 * soft-fp/op-1.h: Likewise.
4358 * soft-fp/op-2.h: Likewise.
4359 * soft-fp/op-4.h: Likewise.
4360 * soft-fp/op-8.h: Likewise.
4361 * soft-fp/op-common.h: Likewise.
4362 * soft-fp/quad.h: Likewise.
4363 * soft-fp/single.h: Likewise.
4364 * soft-fp/soft-fp.h: Likewise.
4365 * soft-fp/subdf3.c: Likewise.
4366 * soft-fp/subsf3.c: Likewise.
4367 * soft-fp/subtf3.c: Likewise.
4368 * soft-fp/truncdfsf2.c: Likewise.
4369 * soft-fp/trunctfdf2.c: Likewise.
4370 * soft-fp/trunctfsf2.c: Likewise.
4371 * soft-fp/trunctfxf2.c: Likewise.
4372 * soft-fp/unorddf2.c: Likewise.
4373 * soft-fp/unordsf2.c: Likewise.
4374 * soft-fp/unordtf2.c: Likewise.
4375
02ac9503
UB
43762013-11-05 Uros Bizjak <ubizjak@gmail.com>
4377
4378 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4379 (_FP_MUL_MEAT_D): Ditto.
4380 (_FP_DIV_MEAT_S): Ditto.
4381 (_FP_DIV_MEAT_D): Ditto.
4382 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4383 t-softfp-sfdf and t-softfp to tmake_file.
4384
61221141
UB
43852013-11-03 Uros Bizjak <ubizjak@gmail.com>
4386
4387 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4388 * config/i386/crtprec.c: Ditto.
4389
9304f876
CJW
43902013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4391 Shiva Chen <shiva0217@gmail.com>
4392
4393 * config.host (nds32*-elf*): Add nds32 target.
4394 * config/nds32 : New directory and files.
4395
0e499e75
HPN
43962013-10-16 Hans-Peter Nilsson <hp@axis.com>
4397
4398 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4399 * config.host (cpu_type) <Setting default>: Add entry for
4400 crisv32-*-*.
4401 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4402 <crisv32-*-linux*>: Adjust.
4403 * longlong.h: Wrap the whole CRIS section in a single
4404 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4405 and sub_ddmmss.
4406 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4407 defined.
4408 [__CRIS__] (__umulsidi3): Define.
4409 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4410 * config/cris/sfp-machine.h: New file.
4411 * config/cris/umulsidi3.S: New file.
4412 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4413 * config/cris/arit.c (SIGNMULT): New macro.
4414 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4415 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4416 saving 3 out of originally 33 cycles from the fastest
4417 path, 3 out of 54 from the medium path and one from the longest
4418 path. Improve comments.
4419
16022041
RS
44202013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4421
4422 * sync.c: Remove static aliases and define each function directly
4423 under its real name.
4424
69778659
JDA
44252013-10-02 John David Anglin <danglin@gcc.gnu.org>
4426
4427 * config.host (hppa*64*-*-linux*): Define extra_parts.
4428 (hppa*-*-linux*): Likewise.
4429
2deaf8b0
JR
44302013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4431
4432 * config/arc/crtgend.S: Add 2013 to Copyright years.
4433 * config/arc/gmon/atomic.h: Likewise.
4434 * config/arc/gmon/auxreg.h: Likewise.
4435 * config/arc/gmon/sys/gmon_out.h: Likewise.
4436 * config/arc/gmon/sys/gmon.h: Likewise.
4437 * config/arc/gmon/prof-freq.c: Likewise.
4438 * config/arc/gmon/mcount.c: Likewise.
4439 * config/arc/gmon/prof-freq-stub.S: Likewise.
4440 * config/arc/gmon/gmon.c: Likewise.
4441 * config/arc/gmon/machine-gmon.h: Likewise.
4442 * config/arc/gmon/profil.S: Likewise.
4443 * config/arc/gmon/dcache_linesz.S: Likewise.
4444 * config/arc/crtg.S: Likewise.
4445 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4446 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4447 * config/arc/ieee-754/adddf3.S: Likewise.
4448 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4449 * config/arc/ieee-754/fixsfsi.S: Likewise.
4450 * config/arc/ieee-754/gtsf2.S: Likewise.
4451 * config/arc/ieee-754/floatsisf.S: Likewise.
4452 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4453 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4454 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4455 * config/arc/ieee-754/fixdfsi.S: Likewise.
4456 * config/arc/ieee-754/addsf3.S: Likewise.
4457 * config/arc/ieee-754/gesf2.S: Likewise.
4458 * config/arc/ieee-754/floatsidf.S: Likewise.
4459 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4460 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4461 * config/arc/ieee-754/gtdf2.S: Likewise.
4462 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4463 * config/arc/ieee-754/uneqdf2.S: Likewise.
4464 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4465 * config/arc/ieee-754/uneqsf2.S: Likewise.
4466 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4467 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4468 * config/arc/ieee-754/eqdf2.S: Likewise.
4469 * config/arc/ieee-754/ordsf2.S: Likewise.
4470 * config/arc/ieee-754/divsf3.S: Likewise.
4471 * config/arc/ieee-754/divdf3.S: Likewise.
4472 * config/arc/ieee-754/floatunsidf.S: Likewise.
4473 * config/arc/ieee-754/orddf2.S: Likewise.
4474 * config/arc/ieee-754/eqsf2.S: Likewise.
4475 * config/arc/ieee-754/gedf2.S: Likewise.
4476 * config/arc/crtn.S: Likewise.
4477 * config/arc/crti.S: Likewise.
4478 * config/arc/t-arc700-uClibc: Likewise.
4479 * config/arc/asm.h: Likewise.
4480 * config/arc/libgcc-excl.ver: Likewise.
4481 * config/arc/t-arc-newlib: Likewise.
4482 * config/arc/divtab-arc700.c: Likewise.
4483 * config/arc/initfini.c: Likewise.
4484 * config/arc/fp-hack.h: Likewise.
4485
c8e318b0
JR
44862013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4487 Diego Novillo <dnovillo@google.com>
4488
4489 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
4490 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4491 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4492 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 4493
d38a64b4
JR
44942013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4495 Brendan Kehoe <brendan@zen.org>
4496 Simon Cook <simon.cook@embecosm.com>
4497
4498 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4499 * config/arc: New directory.
4500 * longlong.h [__arc__] (umul_ppmm): Remove.
4501 [__arc__] (__umulsidi3): Define.
4502 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4503 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4504
dff717d2
JC
45052013-09-17 Jacek Caban <jacek@codeweavers.com>
4506
4507 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4508 CreateSemaphoreA.
4509 * config/i386/gthr-win32.h: Likewise.
4510
5c0029de
DD
45112013-09-16 DJ Delorie <dj@redhat.com>
4512
844ad6c6 4513 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
4514 * config/rl78/lib2mul.c: Enable for RL78/G10.
4515 * config/rl78/lib2div.c: Likewise.
4516 * config/rl78/lshrsi3.S: Use vregs.h.
4517 * config/rl78/cmpsi2.S: Likewise.
4518 * config/rl78/trampoline.S: Likewise.
4519 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4520
ceb2fc49
DD
45212013-09-14 DJ Delorie <dj@redhat.com>
4522 Nick Clifton <nickc@redhat.com>
4523
4524 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4525 * config/rl78/vregs.h: New.
4526 * config/rl78/signbit.S: New file. Implements signbit function.
4527 * config/rl78/divmodsi.S: New.
4528 * config/rl78/divmodhi.S: New.
4529 * config/rl78/divmodqi.S: New.
4530 * config/rl78/t-rl78: Build them here...
4531 * config/rl78/lib2div.c: ...but not here.
4532
f6a83b4a
DD
45332013-09-12 DJ Delorie <dj@redhat.com>
4534
4535 * config.host (msp*-*-elf): New.
4536 * config/msp430/: New port.
4537
9107b096
IS
45382013-08-18 Iain Sandoe <iain@codesourcery.com>
4539
4540 PR gcov-profile/58127
4541 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4542 __thread var for emulated TLS.
4543 (__gcov_indirect_call_counters): Likewise.
4544
0f9bde1f 45452013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 4546 Catherine Moore <clm@codesourcery.com>
7d296953 4547 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
4548
4549 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4550 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4551 (CALL_STUB_NO_RET): Likewise.
4552 (CALL_STUB_RET): Likewise.
4553 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4554 __mips16_ret call/return stub symbols.
4555 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4556 to tmake_file.
4557
2dc14aac
MR
45582013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4559
4560 * config.host <mips*-*-linux*>: Remove a stray comment.
4561
748d71f3
JH
45622013-08-10 Jan Hubicka <jh@suse.cz>
4563
4564 Work around binutils PR14342
4565 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4566 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4567 (L_gcov_indirect_call_profiler_v2): New.
4568
2fa3d31b
JH
45692013-08-06 Jan Hubicka <jh@suse.cz>
4570
4571 * libgcov.c (__gcov_indirect_call_callee,
4572 __gcov_indirect_call_counters): New global vars.
4573 (__gcov_indirect_call_profiler): replace by ...
4574 (__gcov_indirect_call_profiler_v2) ... this one.
4575
2077db1b
CT
45762013-08-06 Caroline Tice <cmtice@google.com>
4577
d0595b65 4578 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 4579 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
4580 * configure.ac: Add code to check/set enable_vtable_verify.
4581 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 4582 true.
d0595b65
CT
4583 * vtv_start_preinit.c: New file.
4584 * vtv_end_preinit.c: New file.
4585 * vtv_start.c: New file.
4586 * vtv_end.c: New file.
4587 * configure: Regenerated.
2077db1b 4588
46549c20
MK
45892013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4590
4591 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4592 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4593 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4594 GPL-3.0-with-GCC-exception.
4595
72be589b
MR
45962013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4597
4598 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4599 ISA and up.
4600
902a3faf
AK
46012013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4602
4603 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4604 mapping for FPRs when creating the fallback framestate.
4605
02371798
GJL
46062013-07-19 Georg-Johann Lay <avr@gjlay.de>
4607
4608 PR target/57516
4609 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4610 (__round_s2_const, __round_u2_const)
4611 (__round_s4_const, __round_u4_const, __round_x8):
4612 Saturate result if addition result cannot be represented.
4613
ab0e8379
MK
46142013-07-15 Matthias Klose <doko@ubuntu.com>
4615
4616 * libgcc2.c: Don't include <limits.h>.
4617
7da38058
JJ
46182013-07-09 Janis Johnson <janisjo@codesourcery.com>
4619
4620 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4621
1f6eac90
JJ
46222013-07-06 Jakub Jelinek <jakub@redhat.com>
4623
4624 PR target/29776
4625 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4626
4ea3d774
JJ
46272013-06-28 Jakub Jelinek <jakub@redhat.com>
4628
4629 PR middle-end/36041
4630 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4631 Define.
4632 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4633 instead of table lookups.
4634 (__popcountDI2): Likewise.
4635
9d2cdf25
CJW
46362013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4637
4638 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4639 correctly.
4640
fa1e55b0
JM
46412013-06-21 Joseph Myers <joseph@codesourcery.com>
4642
4643 PR other/53317
4644 * soft-fp/adddf3.c: Update from glibc.
4645 * soft-fp/addsf3.c: Likewise.
4646 * soft-fp/addtf3.c: Likewise.
4647 * soft-fp/divdf3.c: Likewise.
4648 * soft-fp/divsf3.c: Likewise.
4649 * soft-fp/divtf3.c: Likewise.
4650 * soft-fp/double.h: Likewise.
4651 * soft-fp/eqdf2.c: Likewise.
4652 * soft-fp/eqsf2.c: Likewise.
4653 * soft-fp/eqtf2.c: Likewise.
4654 * soft-fp/extenddftf2.c: Likewise.
4655 * soft-fp/extended.h: Likewise.
4656 * soft-fp/extendsfdf2.c: Likewise.
4657 * soft-fp/extendsftf2.c: Likewise.
4658 * soft-fp/fixdfdi.c: Likewise.
4659 * soft-fp/fixdfsi.c: Likewise.
4660 * soft-fp/fixsfdi.c: Likewise.
4661 * soft-fp/fixsfsi.c: Likewise.
4662 * soft-fp/fixtfdi.c: Likewise.
4663 * soft-fp/fixtfsi.c: Likewise.
4664 * soft-fp/fixunsdfdi.c: Likewise.
4665 * soft-fp/fixunsdfsi.c: Likewise.
4666 * soft-fp/fixunssfdi.c: Likewise.
4667 * soft-fp/fixunssfsi.c: Likewise.
4668 * soft-fp/fixunstfdi.c: Likewise.
4669 * soft-fp/fixunstfsi.c: Likewise.
4670 * soft-fp/floatdidf.c: Likewise.
4671 * soft-fp/floatdisf.c: Likewise.
4672 * soft-fp/floatditf.c: Likewise.
4673 * soft-fp/floatsidf.c: Likewise.
4674 * soft-fp/floatsisf.c: Likewise.
4675 * soft-fp/floatsitf.c: Likewise.
4676 * soft-fp/floatundidf.c: Likewise.
4677 * soft-fp/floatundisf.c: Likewise.
4678 * soft-fp/floatunditf.c: Likewise.
4679 * soft-fp/floatunsidf.c: Likewise.
4680 * soft-fp/floatunsisf.c: Likewise.
4681 * soft-fp/floatunsitf.c: Likewise.
4682 * soft-fp/gedf2.c: Likewise.
4683 * soft-fp/gesf2.c: Likewise.
4684 * soft-fp/getf2.c: Likewise.
4685 * soft-fp/ledf2.c: Likewise.
4686 * soft-fp/lesf2.c: Likewise.
4687 * soft-fp/letf2.c: Likewise.
4688 * soft-fp/muldf3.c: Likewise.
4689 * soft-fp/mulsf3.c: Likewise.
4690 * soft-fp/multf3.c: Likewise.
4691 * soft-fp/negdf2.c: Likewise.
4692 * soft-fp/negsf2.c: Likewise.
4693 * soft-fp/negtf2.c: Likewise.
4694 * soft-fp/op-1.h: Likewise.
4695 * soft-fp/op-2.h: Likewise.
4696 * soft-fp/op-4.h: Likewise.
4697 * soft-fp/op-8.h: Likewise.
4698 * soft-fp/op-common.h: Likewise.
4699 * soft-fp/quad.h: Likewise.
4700 * soft-fp/single.h: Likewise.
4701 * soft-fp/soft-fp.h: Likewise.
4702 * soft-fp/subdf3.c: Likewise.
4703 * soft-fp/subsf3.c: Likewise.
4704 * soft-fp/subtf3.c: Likewise.
4705 * soft-fp/truncdfsf2.c: Likewise.
4706 * soft-fp/trunctfdf2.c: Likewise.
4707 * soft-fp/trunctfsf2.c: Likewise.
4708 * soft-fp/unorddf2.c: Likewise.
4709 * soft-fp/unordsf2.c: Likewise.
4710 * soft-fp/unordtf2.c: Likewise.
4711 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4712 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4713 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4714 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4715 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4716 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4717 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4718 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4719 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4720 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4721 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4722 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4723
0de86a92
JU
47242013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4725
4726 * config/mips/lib2funcs.c: New file.
4727 * config/mips/t-mips (LIB2ADD_ST): Add it.
4728
0d008882
OE
47292013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4730
4731 PR target/6526
4732 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4733 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4734
776434d1
WL
47352013-06-08 Walter Lee <walt@tilera.com>
4736
4737 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4738 Replace int64_t with long long. Add __extension__ where
4739 appropriate.
4740 * config/tilepro/atomic.c: Include config.h.
4741
6ab3ebb4
DR
47422013-06-06 Douglas B Rupp <rupp@adacore.com>
4743
4744 * config.host (arm-wrs-vxworks): Configure with other soft float.
4745
107eea2c
JU
47462013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4747
4748 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4749 (mips64r5900el-*-elf*): New configurations.
4750
5cc19c62
AM
47512013-06-04 Alan Modra <amodra@gmail.com>
4752
4753 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4754
0f1d3965
YR
47552013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4756
4757 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4758
0ba045df
EB
47592013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4760
4761 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4762 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4763 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4764
49dcafd4
EB
47652013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4766
4767 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4768 (powerpc-wrs-vxworks): Likewise.
4769
4fcb5d87
EB
47702013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4771
4772 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4773 signal frames as well.
4774 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4775 STACK_BIAS to the CFA offset.
4776
0ec33224
RH
47772013-05-17 Richard Henderson <rth@redhat.com>
4778
4779 PR target/49146
4780 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4781 (execute_cfa_program): Use it when storing to fs->regs.
4782
492a8029
KT
47832013-05-08 Kai Tietz <ktietz@redhat.com>
4784
4785 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4786 (__deregister_frame_info): Likewise.
4787
701e2f0a
TS
47882013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4789
e5123d08
TS
4790 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4791 NaN's payload.
4792
701e2f0a
TS
4793 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4794
b9a7eb5d
AM
47952013-04-25 Alan Modra <amodra@gmail.com>
4796
4797 * config.host: Match little-endian powerpc-linux.
4798
dfe192f5
YZ
47992013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4800
4801 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4802 as 'unsigned long long' instead of 'unsigned long'.
4803 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4804 'signed long'.
4805
b6b9af2f
JB
48062013-04-10 Julian Brown <julian@codesourcery.com>
4807
4808 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4809 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4810 unsigned char/unsigned short.
4811 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4812
ecabdd00
JDA
48132013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4814
4815 PR other/55274
4816 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4817
34652576
MI
48182013-04-04 Meador Inge <meadori@codesourcery.com>
4819
4820 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4821 computing the location of the link register.
4822 (aeabi_uldivmod): Ditto.
4823
e9fd8c19
KT
48242013-03-27 Kai Tietz <ktietz@redhat.com>
4825
4826 * config.host: Add support for cygwin x64 target.
4827 * configure: Regenerated.
4828
a6406324
WL
48292013-03-26 Walter Lee <walt@tilera.com>
4830
4831 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4832 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4833
55446c7e
KT
48342013-03-25 Kai Tietz <ktietz@redhat.com>
4835
4836 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4837
d2ae19d9
RM
48382013-03-20 Robert Mason <rbmj@verizon.net>
4839
4840 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4841 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4842 (__gthread_leave_tsd_dtor_context): Add prototypes.
4843 (tls_delete_hook): Update.
4844
22c4c869
CM
48452013-03-20 Catherine Moore <clm@codesourcery.com>
4846 Joseph Myers <joseph@codesourcery.com>
4847 Chao-ying Fu <fu@mips.com>
4848
4849 * config/mips/mips16.S: Don't build for microMIPS.
4850 * config/mips/linux-unwind.h: Handle microMIPS frame.
4851 * config/mips/crtn.S (fini, init): New labels.
4852
fbd28bc3
JJ
48532013-03-14 Jakub Jelinek <jakub@redhat.com>
4854
4855 PR tree-optimization/53265
4856 * unwind-dw2.c (execute_cfa_program): Avoid
4857 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4858 on targets with DWARF_FRAME_REGISTERS < 32.
4859
decc676e
OE
48602013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4861
4862 PR target/49880
4863 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4864 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4865
84ea618a
ST
48662013-03-07 Sriraman Tallam <tmsriram@google.com>
4867
4868 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4869 sandybridge processors.
4870
8f6d1c86
OE
48712013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4872
4873 PR target/56529
4874 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4875 inclusion list.
4876
ecdbd01a 48772013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
4878
4879 * config/microblaze/crti.S: Setup stack protection at entry
4880
0b4ce21b
GJL
48812013-03-04 Georg-Johann Lay <avr@gjlay.de>
4882
4883 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4884 (__rotldi3): Shift bytewise if applicable.
4885
b7c3f1ca
JG
48862013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4887
4888 * config/aarch64/sync-cache.c
4889 (__aarch64_sync_cache_range): Silence warnings.
4890
6d65e8f1
CM
48912013-02-25 Catherine Moore <clm@codesourcery.com>
4892
4893 Revert:
4894 2013-02-24 Catherine Moore <clm@codesourcery.com>
4895 Joseph Myers <joseph@codesourcery.com>
4896 Chao-ying Fu <fu@mips.com>
4897
4898 * config/mips/mips16.S: Don't build for microMIPS.
4899 * config/mips/linux-unwind.h: Handle microMIPS frame.
4900 * config/mips/crtn.S (fini, init): New labels.
4901
6941b508
CM
49022013-02-24 Catherine Moore <clm@codesourcery.com>
4903 Joseph Myers <joseph@codesourcery.com>
4904 Chao-ying Fu <fu@mips.com>
4905
4906 * config/mips/mips16.S: Don't build for microMIPS.
4907 * config/mips/linux-unwind.h: Handle microMIPS frame.
4908 * config/mips/crtn.S (fini, init): New labels.
4909
7c422dbb 49102012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 4911 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
4912 as dividend.
4913
110207ad
AM
49142013-02-16 Alan Modra <amodra@gmail.com>
4915
4916 PR target/55431
4917 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4918 (ppc_fallback_frame_state): Always set up save locations for fp
4919 and altivec. Don't bother with non-callee-saved regs, r0-r13
4920 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4921
e68a4ef6
GJL
49222013-02-12 Georg-Johann Lay <avr@gjlay.de>
4923
4924 PR target/54222
4925 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4926 _ssmulHA, _ssmulSA.
4927 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4928 _ssmulha3, _usmulusa3, _ssmulsa3.
4929 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4930 (__muldi3): XCALL __muldi3_6 instead of rcall.
4931 (__umulsidi3, __mulsidi3): New functions.
4932 (do_prologue_saves, do_epilogue_restores): New .macros.
4933 (__divdi3_moddi3): Use them.
4934 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4935 (__usmulusa3, __ssmulsa3): New functions.
4936
6c59ffd1
IS
49372013-02-11 Iain Sandoe <iain@codesourcery.com>
4938 Jack Howarth <howarth@bromo.med.uc.edu>
4939 Patrick Marlier <patrick.marlier@gmail.com>
4940
4941 PR libitm/55693
4942 * config/darwin-crt-tm.c: Remove dummy functions hack.
4943
85d768f3
GJL
49442013-02-08 Georg-Johann Lay <avr@gjlay.de>
4945
4946 PR target/54222
4947 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4948 * config/avr/lib2-object.mk: New iterator to build objects from it.
4949 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4950 lib2funcs.c.
4951 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4952 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4953 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4954 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4955 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4956 * config/avr/lib1funcs-fixed.S: Implement them.
4957
5d5bf775
RS
49582013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4959
4960 Update copyright years.
4961
99113dff
DE
49622013-02-01 David Edelsohn <dje.gcc@gmail.com>
4963
4964 PR target/54601
4965 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4966 Add crtcxa to extra_parts.
4967 * config/rs6000/exit.h: New file.
4968 * config/rs6000/cxa_atexit.c: New file.
4969 * config/rs6000/cxa_finalize.c: New file.
4970 * config/rs6000/crtcxa.c: New file.
4971 * config/rs6000/t-aix-cxa: New file.
4972 * config/rs6000/libgcc-aix-cxa.ver: New file.
4973
dbdbd982
NC
49742013-01-31 Nick Clifton <nickc@redhat.com>
4975
4976 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4977 variant.
4978
5893f158
GJL
49792013-01-29 Georg-Johann Lay <avr@gjlay.de>
4980
4981 PR target/54222
4982 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4983 _mulQQ, _mulHQ, _mulHA, _mulSA,
4984 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4985 _divQQ, _divHQ, _divHA, _divSA,
4986 _divUQQ, _divUHQ, _divUHA, _divUSA.
4987
ecdbd01a 49882013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 4989
dbdbd982 4990 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
4991 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4992 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4993 to exclude functions from being built with libgcc.c and use
4994 the microblaze assembly.
4995
ecdbd01a 49962013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
4997
4998 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4999 extra_parts.
5000
922c57d1
YZ
50012013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5002
5003 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5004 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5005 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5006 alignment operation.
5007
e0f8b6a0
SN
50082013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5009
5010 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5011 loop start address for cache clearing.
5012
00892272
GJL
50132013-01-14 Georg-Johann Lay <avr@gjlay.de>
5014
5015 * config/avr/lib1funcs.S: Remove trailing blanks.
5016 * config/avr/lib1funcs-fixed.S: Ditto.
5017
e59ec5fd
GJL
50182013-01-14 Georg-Johann Lay <avr@gjlay.de>
5019
5020 * config/avr/avr-lib.h: Add GPL copyright notice.
5021
3ffc1958
GJL
50222013-01-14 Georg-Johann Lay <avr@gjlay.de>
5023
5024 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5025 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5026 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5027 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5028
25c210f9
MK
50292013-01-07 Mark Kettenis <kettenis@openbsd.org>
5030
5031 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5032 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5033
db59befb
NC
50342013-01-04 Nick Clifton <nickc@redhat.com>
5035
5036 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5037 the CALLT instruction is supported.
5038
5aa12dbf
JW
50392012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5040
5041 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5042 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5043
65f14117
JT
50442012-12-13 John Tytgat <John@bass-software.com>
5045
5046 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5047 is 25.
5048
ee3ae4f7
JJ
50492012-12-12 Jakub Jelinek <jakub@redhat.com>
5050
5051 PR libgcc/55451
5052 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5053 undefined signed overflows.
5054
2fcfba3d
UB
50552012-12-09 Uros Bizjak <ubizjak@gmail.com>
5056
5057 PR target/55344
5058 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5059
4f2b3dc2
UB
50602012-12-06 Uros Bizjak <ubizjak@gmail.com>
5061
5062 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5063 (FP_TRAPPING_EXCEPTIONS): Define.
5064 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5065 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5066
066161a2
RH
50672012-12-04 Richard Henderson <rth@redhat.com>
5068
5069 PR bootstrap/55571
5070 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5071
7d296953 50722012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5073
4f2b3dc2 5074 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5075 (FP_EX_SHIFT): Define.
5076 (FP_TRAPPING_EXCEPTIONS): Define.
5077
7d296953 50782012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5079
5080 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5081 (FP_ROUNDMODE): Use FP_RND_MASK.
5082 * config/aarch64/sfp-exceptions.c: New.
5083 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5084 Use __sfp_handle_exceptions.
5085
5005fe22
RE
50862012-12-04 Richard Earnshaw <rearnsha@arm.com>
5087
5088 * config.host: (arm*-*-freebsd*): Remove.
5089 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5090 (arm*-*-elf*): Remove.
5091 (arm*-*-wince-pe*): Remove.
5092 * arm/unwind-arm.c (struct fpa_reg): Delete.
5093 (struct fpa_regs): Delete.
5094 (phase1_vrs): Remove fpa element.
5095 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5096 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5097 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5098 * ieee754-sf.S (floatundisf): Remove FPA support.
5099 (floatdisf): Likewise.
5100 * ieee75f-df.S (floatundidf): Likewise.
5101 (floatdidf): Likewise.
5102
e5a81c8e
KT
51032012-11-29 Kai Tietz <ktietz@redhat.com>
5104
5105 PR target/55445
5106 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5107 * unwind-generic.h: Likewise.
5108 * unwind-seh.c: Likewise.
5109
f4919e4a
RH
51102012-11-28 Richard Henderson <rth@redhat.com>
5111
5112 PR libgcc/48076
5113 * emutls.c (__emutls_get_address): Avoid race condition between
5114 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5115
e13d9d5a
GJL
51162012-11-22 Georg-Johann Lay <avr@gjlay.de>
5117
5118 Adjust decimal point of signed accum mode to GCC default.
5119
5120 PR target/54222
5121 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5122 _divqq_helper.
5123 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5124 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5125 (__mulha3, __mulsa3)
5126 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5127 decimal point of signed accum types.
5128
e13d9d5a
GJL
5129 (__mulusa3_round): New function.
5130 (__mulusa3): Use it.
5131 (__divqq_helper): New function.
5132 (__udivuqq3): Use it.
5133
1b845c6e
JJ
51342012-11-20 Jakub Jelinek <jakub@redhat.com>
5135
5136 PR bootstrap/55370
5137 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5138
822a258a
TJ
51392012-11-18 Teresa Johnson <tejohnson@google.com>
5140
5141 PR bootstrap/55051
5142 * libgcov.c (gcov_exit): Remove merged program summary
5143 comparison unless !GCOV_LOCKED.
5144
7d296953 51452012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5146
5147 * soft-fp: Updated from glibc upstream.
5148
e808687a
ILT
51492012-11-06 Ian Lance Taylor <iant@google.com>
5150
5151 * generic-morestack.c (__generic_morestack): Align the returned
5152 stack pointer to a 32 byte boundary.
5153 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5154 increment the return address until we have decided that we don't
5155 have a varargs function.
5156 (__morestack) [32-bit]: Align stack correctly when calling C
5157 functions.
5158 (__morestack) [64-bit]: Likewise.
5159
460277e0
TS
51602012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5161
5162 * configure: Regenerate.
5163
73edb277
UB
51642012-11-02 Uros Bizjak <ubizjak@gmail.com>
5165
5166 PR target/55175
5167 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5168 * config/i386/sfp-machine.h: Guard exception handling
5169 code with _SOFT_FLOAT.
5170 * config/i386/32/sfp-machine.h: Guard rounding handling
5171 code with _SOFT_FLOAT.
5172 * config/i386/64/sfp-machine.h: Ditto.
5173
c1d4fa04
JS
51742012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5175
5176 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5177 as extra_parts.
5178
eff6ca85
UB
51792012-10-26 Uros Bizjak <ubizjak@gmail.com>
5180
5181 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5182 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5183 when appropriate. Correct structure element types.
5184 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5185 -minline-all-stringops from compile flags.
5186
7d296953 51872012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5188
5189 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5190
7d296953 51912012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5192
eff6ca85 5193 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5194
6f288860
SH
51952012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5196
5197 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5198 tmake_file.
5199
1e3d5096
IB
52002012-10-23 Ian Bolton <ian.bolton@arm.com>
5201 Jim MacArthur <jim.macarthur@arm.com>
5202 Marcus Shawcroft <marcus.shawcroft@arm.com>
5203 Nigel Stephens <nigel.stephens@arm.com>
5204 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5205 Richard Earnshaw <rearnsha@arm.com>
5206 Sofiane Naci <sofiane.naci@arm.com>
5207 Stephen Thomas <stephen.thomas@arm.com>
5208 Tejas Belagod <tejas.belagod@arm.com>
5209 Yufeng Zhang <yufeng.zhang@arm.com>
5210
5211 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5212 * config/aarch64/crti.S: New file.
5213 * config/aarch64/crtn.S: New file.
5214 * config/aarch64/linux-unwind.h: New file.
5215 * config/aarch64/sfp-machine.h: New file.
5216 * config/aarch64/sync-cache.c: New file.
5217 * config/aarch64/t-aarch64: New file.
5218 * config/aarch64/t-softfp: New file.
5219
8a740f07
HPN
52202012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5221
5222 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5223 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5224 no-longer-needed LDBU insns.
5225
7d296953 52262012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5227
5228 * config.host
5229 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5230 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5231
595fefee
MGD
52322012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5233
5234 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5235
9945a876
MK
52362012-10-15 Matthias Klose <doko@ubuntu.com>
5237
5238 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5239
1183dc2c
PC
52402012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5241
5242 * configure: Regenerate.
5243 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5244
945a9c1f
UB
52452012-10-10 Uros Bizjak <ubizjak@gmail.com>
5246
5247 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5248 instructions for 64bit targets only.
5249
fb8bf47a
UB
52502012-10-10 Uros Bizjak <ubizjak@gmail.com>
5251
5252 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5253 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5254 * config/i386/32/sfp-machine.h: ... here.
5255 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5256 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5257 New defines.
5258
acb72498
MK
52592012-10-07 Matthias Klose <doko@ubuntu.com>
5260
5261 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5262 as unused.
5263 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5264
8eaee0f0
MK
52652012-10-06 Mark Kettenis <kettenis@openbsd.org>
5266
5267 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5268 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5269 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5270 (ElfW): Likewise.
5271
5e3e4fe8
JW
52722012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5273
5274 PR other/53889
5275 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5276 Fix parameter names.
5277
86086376
OE
52782012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5279
5280 PR target/33135
5281 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5282 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5283 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5284
9597375a
OE
52852012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5286
5287 PR target/50457
5288 * config/sh/linux-atomic.S: Delete.
5289 * config/sh/linux-atomic.c: New.
5290 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5291 linux-atomic.c. Add cflags to disable warnings.
5292
1504e3e1
JW
52932012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5294
5295 PR other/53889
5296 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5297 function.
5298 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5299 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5300 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5301 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5302 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5303 Likewise.
1504e3e1
JW
5304 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5305 Likewise.
5306 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5307 Likewise.
5308 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5309 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5310
17f293b0
MK
53112012-09-19 Mark Kettenis <kettenis@openbsd.org>
5312
9597375a
OE
5313 * config.host (hppa-*-openbsd*): New target.
5314 * config/pa/t-openbsd: New file.
17f293b0 5315
51526856
GJL
53162012-09-15 Georg-Johann Lay <avr@gjlay.de>
5317
5318 PR target/54222
5319 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5320 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5321 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5322 (__divsa3): Use __negsi2 to negate r_quoL.
5323 * config/avr/lib1funcs.S (FALIAS): New macro.
5324 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5325 (__negsi2): ...this new function.
5326 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5327 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5328 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5329 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5330 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5331 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5332
aadb5b43
OE
53332012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5334
5335 PR target/54089
5336 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5337 (lshrsi3): Reimplement as lshrsi3_r0.
5338
d5d66749
AS
53392012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5340
5341 PR target/46191
5342 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5343 of libgcc.a.
5344
c6c36e73
TJ
53452012-09-07 Teresa Johnson <tejohnson@google.com>
5346
9597375a 5347 PR gcov-profile/54487
c6c36e73 5348 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5349 differences.
c6c36e73 5350
b588ae30
GJL
53512012-09-05 Georg-Johann Lay <avr@gjlay.de>
5352
5353 PR target/54461
5354 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5355 not configured --with-avrlibc=no.
5356 * config/avr/t-avrlibc: New file.
5357 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5358 (DPBIT_FUNCS): Ditto.
5359 (TPBIT_FUNCS): Ditto.
5360
abd16fb1
TJ
53612012-09-04 Teresa Johnson <tejohnson@google.com>
5362
5363 * libgcov.c (struct gcov_summary_buffer): New structure.
5364 (gcov_histogram_insert): New function.
5365 (gcov_compute_histogram): Ditto.
5366 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5367 histograms during summary merging.
5368
613061fd
MK
53692012-09-01 Mark Kettenis <kettenis@openbsd.org>
5370
5371 * config.host (x86_64-*-openbsd*): New target.
73edb277 5372
867a8345
CLT
53732012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5374
5375 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5376 attribute.
5377
4aeaaca3
GJL
53782012-08-24 Georg-Johann Lay <avr@gjlay.de>
5379
5380 PR target/54222
5381 * config/avr/t-avr (conv_X): Rename to func_X.
5382
e55e4056
GJL
53832012-08-24 Georg-Johann Lay <avr@gjlay.de>
5384
5385 PR target/54222
5386 * config/avr/lib1funcs-fixed.S: New file.
5387 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5388 after they are used.
5389 (neg2, neg4): New macros.
5390 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5391 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5392 (__umulhisi3): Speed up MUL variant if there is enough flash.
5393 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5394 avr-modes.def.
5395 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5396 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5397 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5398 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5399 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5400 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5401 (LIB2FUNCS_EXCLUDE): Add supported functions.
5402
a147b6d2
GJL
54032012-08-22 Georg-Johann Lay <avr@gjlay.de>
5404
5405 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5406 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5407 libgcc-s-objects.
5408 * fixed-obj.mk: Only expand dependency if $o is not in
5409 LIB2FUNCS_EXCLUDE.
5410
c637141a
L
54112012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5412
5413 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5414
130e00bd
JM
54152012-08-22 Joseph Myers <joseph@codesourcery.com>
5416
5417 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5418 depend on --enable-shared.
5419 ($(lib1asmfuncs-o)): Use %.vis files independent of
5420 --enable-shared.
5421 * static-object.mk ($(base)$(objext), $(base).vis)
5422 ($(base)_s$(objext)): Use same rules for visibility handling as in
5423 shared-object.mk.
5424
4b1b3788
ILT
54252012-08-21 Ian Lance Taylor <iant@google.com>
5426
5427 * config/i386/morestack.S (__morestack_non_split): Increase amount
5428 of space allocated for non-split code stack.
5429
d2468141
JM
54302012-08-19 Joseph Myers <joseph@codesourcery.com>
5431
5432 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5433 even if inhibit_libc.
5434
a508e1a8
JB
54352012-08-17 Julian Brown <julian@codesourcery.com>
5436
5437 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5438 -fexceptions -fnon-call-exceptions if not defined.
5439 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5440 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5441
5615a07d
AS
54422012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5443
5444 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5445 type.
5446
138f5acd
DE
54472012-08-16 David Edelsohn <dje.gcc@gmail.com>
5448
5449 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5450 rs6000/t-slibgcc-aix.
5451
18efc0dd
SB
54522012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5453
5454 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5455
6b39bc38
SB
54562012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5457
5458 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5459
cd25dea0
L
54602012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5461
5462 PR driver/54171
5463 * Makefile.in (version): Replace top_srcdir with srcdir.
5464
a3dda30b
JY
54652012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5466
5467 * Makefile.in (version): set to BASE-VER file from gcc directory.
5468
d04aacfc
NC
54692012-08-01 Nick Clifton <nickc@redhat.com>
5470
5471 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5472 Implements __clrsb for an HImode argument.
5473
0d13c974
NC
54742012-07-31 Nick Clifton <nickc@redhat.com>
5475
5476 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5477 Implements __clrsb for an HImode argument.
5478 * config/stormy16/clrsbhi2.c: New file:
5479 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5480
efbb59b2
SB
54812012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5482
5483 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5484
bf1431e3
TG
54852012-07-19 Tristan Gingold <gingold@adacore.com>
5486 Richard Henderson <rth@redhat.com>
5487
5488 * unwind-seh.c: New file.
5489 * unwind-generic.h: Include windows.h for SEH.
5490 (_Unwind_Exception): Use 6 private fields for SEH.
5491 (_GCC_specific_handler): Declare.
5492 * unwind-c.c (__gcc_personality_seh0): New function.
5493 Adjust for SEH.
5494 * config/i386/libgcc-cygming.ver: New file.
5495 * config/i386/t-seh-eh: New file.
5496 * config.host (x86_64-*-mingw*): Default to seh.
5497
659140c8
SB
54982012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5499
5500 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5501
a20d08fd
UB
55022012-06-17 Uros Bizjak <ubizjak@gmail.com>
5503
5504 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5505 __builtin_expect when checking for exceptions.
5506 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5507
79261115
UB
55082012-06-13 Uros Bizjak <ubizjak@gmail.com>
5509
4a172156
UB
5510 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5511 function declaration.
5512 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5513 (FP_RND_MASK): New.
5514 * config/ia64/sfp-exceptions.c: New.
5515 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 5516
bb5c97d4
UB
55172012-06-13 Uros Bizjak <ubizjak@gmail.com>
5518
5519 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5520 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5521 * config/i386/64/sfp-machine: ... (delete here) ...
5522 * config/i386/sfp-machine.h: ... to here.
5523 (FP_EX_MASK): Remove.
5524 (FP_RND_MASK): New.
5525 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5526
91fe5efb
ST
55272012-06-11 Sriraman Tallam <tmsriram@google.com>
5528
5529 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5530 * config/i386/libgcc-sol2.ver: Ditto.
5531 * config/i386/libgcc-glibc.ver: Ditto.
5532
67a218c5
RM
55332012-06-11 Roland McGrath <mcgrathr@google.com>
5534
5535 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5536 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5537 pthread_cancel.
5538
492fbea1
UB
55392012-06-09 Uros Bizjak <ubizjak@gmail.com>
5540
5541 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5542 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5543 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5544 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5545 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5546 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5547 * config/i386/64/sfp-machine: ... (delete here) ...
5548 * config/i386/sfp-machine.h: ... to here.
5549 (FP_EX_MASK): New.
5550 (__sfp_handle_exceptions): New function declaration.
5551 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5552 * config/i386/sfp-exceptions.c: New.
5553 * config/i386/t-softfp: New.
5554 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5555 i386/t-softfp to tmake_file.
5556
7b4cf266
DM
55572012-06-03 David S. Miller <davem@davemloft.net>
5558
5559 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5560 change.
5561
0de0d5c6
DM
55622012-05-31 David S. Miller <davem@davemloft.net>
5563
5564 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5565 multiply and divide instructions on 32-bit when V9.
5566 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5567
d8c9d391
JM
55682012-05-29 Joseph Myers <joseph@codesourcery.com>
5569
5570 * config/arm/ieee754-df.S: Fix typos.
5571 * config/arm/ieee754-sf.S: Fix typos.
5572 * config/c6x/libunwind.S: Fix typos.
5573 * config/epiphany/udivsi3-float.c: Fix typos.
5574 * config/microblaze/muldi3_hard.S: Fix typos.
5575 * config/picochip/adddi3.S: Fix typos.
5576 * config/picochip/ashlsi3.S: Fix typos.
5577 * config/picochip/ashrsi3.S: Fix typos.
5578 * config/picochip/clzsi2.S: Fix typos.
5579 * config/picochip/cmpsi2.S: Fix typos.
5580 * config/picochip/divmod15.S: Fix typos.
5581 * config/picochip/divmodhi4.S: Fix typos.
5582 * config/picochip/divmodsi4.S: Fix typos.
5583 * config/picochip/longjmp.S: Fix typos.
5584 * config/picochip/lshrsi3.S: Fix typos.
5585 * config/picochip/parityhi2.S: Fix typos.
5586 * config/picochip/popcounthi2.S: Fix typos.
5587 * config/picochip/setjmp.S: Fix typos.
5588 * config/picochip/subdi3.S: Fix typos.
5589 * config/picochip/ucmpsi2.S: Fix typos.
5590 * config/picochip/udivmodhi4.S: Fix typos.
5591 * config/picochip/udivmodsi4.S: Fix typos.
5592 * config/spu/divv2df3.c: Fix typos.
5593 * config/spu/mfc_multi_tag_release.c: Fix typos.
5594 * config/spu/mfc_tag_release.c: Fix typos.
5595 * configure.ac: Fix typos.
5596 * configure: Regenerate.
5597
31a18a7e
ILT
55982012-05-25 Ian Lance Taylor <iant@google.com>
5599
5600 * config/i386/morestack.S (__morestack_non_split): Check whether
5601 caller is varargs and needs %bp to hold the stack frame on return.
5602
c5768510
OH
56032012-05-25 Olivier Hainque <hainque@adacore.com>
5604
5605 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5606 sequence in the non pic case on VxWorks.
5607
7c7c339b
OH
56082012-05-24 Olivier Hainque <hainque@adacore.com>
5609
73fb7630 5610 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
5611 "install-leaf" to "install".
5612
fdc1b7d3
OH
56132012-05-24 Olivier Hainque <hainque@adacore.com>
5614
5615 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5616 Use a separate command for stamp removals.
5617
07ba94b9
AP
56182012-05-21 Andrew Pinski <apinski@cavium.com>
5619
5620 PR bootstrap/53183
5621 * configure.ac: Define the default includes to being none.
5622 * configure: Regenerate.
5623
4677d2eb
OH
56242012-05-16 Olivier Hainque <hainque@adacore.com>
5625
5626 * Makefile.in (install-unwind_h): Rename into ...
5627 (install-unwind_h-forbuild): New target.
5628 (all): Use it instead of the former install-unwind_h.
5629 (install-unwind_h): Reinstate, copy to user install destination
5630 for include files, not to the internal gcc object directory one.
5631 (install-leaf): Depend on it.
5632
7d67c380
OH
56332012-05-15 Olivier Hainque <hainque@adacore.com>
5634
5635 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5636 register numbers. LR_REGNO replaces R_LR.
5637 (ucontext_for): New, helper for ...
5638 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5639 and 5.3 of ...
5640 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5641
aca06c90
RO
56422012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5643
5644 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5645 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5646 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5647 i386/t-cpuinfo ...
5648 (i[34567]86-*-*, x86_64-*-*): ... here.
5649
5650 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5651 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5652
5653 * config/i386/i386-cpuinfo.c: Rename to ...
5654 * config/i386/cpuinfo.c: ... this.
5655 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5656
5657 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5658 (libgcc_cv_init_priority): New test.
5659 * configure: Regenerate.
5660 * config.in: New file.
5661 * Makefile.in (clean): Rename config.h to auto-target.h.
5662 (config.h): Likewise.
5663 (stamp-h): Likewise.
5664
5665 * config/i386/cpuinfo.c (auto-target.h): Include.
5666 (CONSTRUCTOR_PRIORITY): Define.
5667 (__cpu_indicator_init): Use it.
5668
0d03ac1b
L
56692012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5670
5671 * longlong.h: Use a URL instead of an FSF postal address.
5672 Replace spaces with tab.
5673
4a172156 56742012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
5675
5676 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5677 (__gcov_dump): Ditto.
5678 (gcov_dump_complete): New global variable.
5679 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5680 (__gcov_flush): Outline functionality now in gcov_clear.
5681 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5682
e4bb767e
AJ
56832012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5684
31a18a7e
ILT
5685 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5686 (mips*-*-linux*): Include mips/t-tpbit when long double is
5687 16 bytes long.
e4bb767e 5688
5ddecff9
ST
56892012-04-25 Sriraman Tallam <tmsriram@google.com>
5690
5691 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5692 (get_available_features): New argument. Check for AVX2.
5693 (__cpu_indicator_init): Modify call to get_available_features.
5694
b427dd7a
AM
56952012-04-25 Alan Modra <amodra@gmail.com>
5696
5697 * config/rs6000/crtsavevr.S: New file.
5698 * config/rs6000/crtrestvr.S: New file.
5699 * config/rs6000/t-savresfgpr: Build the above.
5700 * config/rs6000/t-netbsd: Likewise.
5701
ad491329
ST
57022012-04-24 Sriraman Tallam <tmsriram@google.com>
5703
5704 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5705
792317cc
ST
57062012-04-24 Sriraman Tallam <tmsriram@google.com>
5707
5708 * libgcc/config/i386/i386-cpuinfo.c: New file.
5709 * libgcc/config/i386/t-cpuinfo: New file.
5710 * libgcc/config.host: Include t-cpuinfo.
5711 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5712
e1be98a4
CF
57132012-04-24 Chao-ying Fu <fu@mips.com>
5714
5715 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5716
1bde7dab
TS
57172012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5718
5719 struct siginfo vs. siginfo_t
5720
5721 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5722 siginfo_t instead of struct siginfo.
5723 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5724 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5725 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5726 (ia64_handle_unwabi): Likewise.
5727 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5728 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5729 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5730 (sh_fallback_frame_state): Likewise.
5731 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5732 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5733
24590f66
L
57342012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5735
5736 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5737 system call number.
5738
9a9dcce8
EB
57392012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5740
5741 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5742 if it hasn't been previously saved.
5743
6401aaf5
L
57442012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5745
5746 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5747 only for glibc.
5748
7fd6378e
GJL
57492012-03-28 Georg-Johann Lay <avr@gjlay.de>
5750
5751 PR target/52737
5752 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5753 instead of __AVR_HAVE_8BIT_SP__.
5754
9e916de7
TG
57552012-03-26 Tristan Gingold <gingold@adacore.com>
5756
5757 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5758 (unw_table_entry): Use unw_word instead of unsigned long.
5759 (_Unwind_FindTableEntry): Likewise.
5760 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5761 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5762 (_Unwind_FindTableEntry): Likewise.
5763 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5764 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5765 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5766 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5767 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5768 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5769 (uw_init_context_1, uw_install_context): Likewise.
5770 (unw_word): Move to unwind-ia64.h
5771
4b12e93d
TG
57722012-03-26 Tristan Gingold <gingold@adacore.com>
5773
5774 * config/vms/vms-ucrt0.c: Update copyright years.
5775 Add a sanity check.
5776 (___gcc_main_flags): Declare.
5777 (__main): Check flags to remap argv and exit code.
5778 * config.host (*-*-*vms*): Adjust extra_parts.
5779 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5780 (crt0.o): Add.
5781
06ea7371
RE
57822012-03-22 Richard Earnshaw <rearnsha@arm.com>
5783
5784 * arm/lib1funcs.asm (ctzsi2): New function.
5785 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5786 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5787 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5788 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5789 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5790 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5791
d82ad50d
AT
57922012-03-21 Andreas Tobler <andreast@fgznet.ch>
5793
5794 * config.host: Add bits to support powerpc64-*-freebsd*.
5795 * config/rs6000/freebsd-unwind.h: New file.
5796 * config/rs6000/t-freebsd64: New file.
5797
b260a8c0
RG
57982012-03-20 Richard Guenther <rguenther@suse.de>
5799
5800 PR gcov-profile/52627
5801 * libgcov.c (init_mx): Fix mutex name.
5802
86286a8a
TG
58032012-03-16 Tristan Gingold <gingold@adacore.com>
5804
5805 * config/ia64/vms-unwind.h: Remove ulong (and replace
5806 it by unw_reg where used). Define unw_reg with __int64.
5807
7888f266
RO
58082012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5809
5810 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5811 Solaris 8 handling.
5812 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5813 Solaris 8 handling.
5814 (sparc_is_sighandler): Likewise.
5815
f155bc64
L
58162012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5817
5818 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5819 <= saved reg size.
5820
d47657bd
RO
58212012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5822
5823 * config/arm/crtn.S: Fix typo.
5824
5bef73a1
RG
58252012-03-13 Richard Guenther <rguenther@suse.de>
5826
5827 * libgcov.c: Remove stdio.h include and NULL un-define.
5828
9c4271f3
RG
58292012-03-13 Richard Guenther <rguenther@suse.de>
5830
5831 PR target/52569
5832 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5833
c6d10e7c
RG
58342012-03-13 Richard Guenther <rguenther@suse.de>
5835
5836 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5837
074a385f
RG
58382012-03-13 Richard Guenther <rguenther@suse.de>
5839
5840 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5841 and __gthread_mutex_init_function definitions.
5842
c4bc5c25
RO
58432012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5844
5845 * config.host (mips*-*-openbsd*): Remove.
5846
5c30094f
RO
58472012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5848
5849 * config.host: Remove alpha*-dec-osf5.1* handling.
5850 * config/alpha/gthr-posix.c: Remove.
5851 * config/alpha/libgcc-osf5.ver: Remove.
5852 * config/alpha/osf5-unwind.h: Remove.
5853 * config/alpha/t-osf-pthread: Remove.
5854 * config/alpha/t-slibgcc-osf: Remove.
5855 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5856 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5857 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5858 * mkmap-flat.awk: Remove osf_export handling.
5859
33e3e24d
RG
58602012-03-12 Richard Guenther <rguenther@suse.de>
5861
5862 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5863 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5864 (__gthread_mutex_init_function): New function.
5865 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5866
5867 PR gcov/49484
5868 * libgcov.c: Include gthr.h.
5869 (__gcov_flush_mx): New global variable.
5870 (init_mx, init_mx_once): New functions.
5871 (__gcov_flush): Protect self with a mutex.
5872 (__gcov_fork): Re-initialize mutex after forking.
5873 * unwind-dw2-fde.c: Change condition under which to use
5874 __GTHREAD_MUTEX_INIT_FUNCTION.
5875
d8aba32a
TG
58762012-03-12 Tristan Gingold <gingold@adacore.com>
5877
5878 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5879 * config/ia64/t-vms: Likewise.
5880
75ffafdc
MH
58812012-03-11 Michael Hope <michael.hope@linaro.org>
5882
4a172156
UB
5883 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5884 for Thumb-2.
75ffafdc 5885
ef6c2c53
WL
58862012-03-07 Walter Lee <walt@tilera.com>
5887
5888 * config/tilepro/atomic.c: Rename "atomic_" prefix to
5889 "arch_atomic_".
5890 (atomic_xor): Rename and move definition to
5891 config/tilepro/atomic.h.
5892 (atomic_nand): Ditto.
5893 * config/tilepro/atomic.h: Rename "atomic_" prefix to
5894 "arch_atomic_".
5895 (arch_atomic_xor): Move from config/tilepro/atomic.c.
5896 (arch_atomic_nand): Ditto.
5897
4e30d980
GJL
58982012-03-07 Georg-Johann Lay <avr@gjlay.de>
5899
5900 PR target/52507
5901 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5902
61108225
GJL
59032012-03-07 Georg-Johann Lay <avr@gjlay.de>
5904
5905 PR target/52505
5906 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5907 from RAM.
5908
b30e10ab
GJL
59092012-03-07 Georg-Johann Lay <avr@gjlay.de>
5910
5911 PR target/52461
5912 PR target/52508
5913 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5914 if RAMPZ affects reading from RAM.
5915 (__tablejump_elpm__): Ditto.
5916 (.xload): Ditto.
5917 (__movmemx_hi): Ditto.
5918 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5919 (__do_global_dtors): Ditto.
5920 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5921 (__movmemx_hi): Ditto.
5922
8993fde4
RH
59232012-03-05 Richard Henderson <rth@redhat.com>
5924
5925 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5926 [ARM] (count_trailing_zeros): Use the builtin.
5927
b7633ee3
KT
59282012-03-01 Kai Tietz <ktietz@redhat.com>
5929
5930 * soft-fp: Imported from glibc upstream.
5931
fbd3340c
KT
59322012-02-28 Kai Tietz <ktietz@redhat.com>
5933
5934 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5935 for mingw-targets as attribute gcc_struct.
5936
e9e053eb
ILT
59372012-02-28 Ian Lance Taylor <iant@google.com>
5938
5939 * generic-morestack.c (__splitstack_releasecontext): Correct call
5940 to __morestack_release_segments.
5941
d80c632e
ST
59422012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5943
5944 PR target/52390
5945 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5946 for __linux__ when removing signals from __morestack_fullmask.
5947
0253a8b1
GJL
59482012-02-23 Georg-Johann Lay <avr@gjlay.de>
5949
5950 PR target/52261
5951 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5952
e10e461e
UW
59532012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5954
5955 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5956 instead of HAVE_INITFINI_ARRAY.
5957 * config/ia64/crtend.S: Likewise.
5958
0c0c6398
KT
59592012-02-20 Kai Tietz <ktietz@redhat.com>
5960
d7470374
KT
5961 PR libstdc++/52300
5962 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5963
0c0c6398
KT
5964 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5965 to w32-unwind.h header.
5966
78c27266
RS
59672012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5968
5969 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5970 (mips*-*-linux*): Remove t-slibgcc-libgcc.
5971 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5972 * config/mips/mips16.S (__mips16_rdhwr): Delete.
5973
5adeb246
RS
59742012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5975
5976 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5977
672ed313
IS
59782012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5979
5980 PR libitm/52220
5981 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 5982
e948a1fb
IS
59832012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5984 Patrick Marlier <patrick.marlier@gmail.com>
5985
5986 PR libitm/52220
5987 * config/darwin-crt-tm.c: Generate dummy functions.
5988
6017aed3
IS
59892012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5990 Patrick Marlier <patrick.marlier@gmail.com>
5991
5992 PR libitm/52042
5993 * config/darwin-crt-tm.c (getTMCloneTable): New function.
5994 (__doTMRegistrations): Call it.
e9e053eb 5995 (__doTMdeRegistrations): Likewise.
6017aed3 5996
2da8c1ad 59972012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
5998 Anatoly Sokolov <aesok@post.ru>
5999 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6000
6001 PR target/52261
6002 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6003 (__epilogue_restores__): Ditto.
6004
0f952eb4
EB
60052012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6006
6007 PR target/51921
6008 PR target/52205
6009 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6010 Solaris 11 and slightly reformat.
6011 (sparc_is_sighandler): Likewise.
6012
dd552284
WL
60132012-02-14 Walter Lee <walt@tilera.com>
6014
6015 * config.host: Handle tilegx and tilepro.
6016 * config/tilegx/sfp-machine.h: New file.
6017 * config/tilegx/sfp-machine32.h: New file.
6018 * config/tilegx/sfp-machine64.h: New file.
6019 * config/tilegx/t-crtstuff: New file.
6020 * config/tilegx/t-softfp: New file.
6021 * config/tilegx/t-tilegx: New file.
6022 * config/tilepro/atomic.c: New file.
6023 * config/tilepro/atomic.h: New file.
6024 * config/tilepro/linux-unwind.h: New file.
6025 * config/tilepro/sfp-machine.h: New file.
6026 * config/tilepro/softdivide.c: New file.
6027 * config/tilepro/softmpy.S: New file.
6028 * config/tilepro/t-crtstuff: New file.
6029 * config/tilepro/t-tilepro: New file.
6030
b59cbd50
JW
60312012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6032
6033 PR libstdc++/51296
6034 PR libstdc++/51906
6035 * gthr-posix.h: Allow static initializer macros to be disabled.
6036 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6037
6caf807f
CLT
60382012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6039
6040 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6041 Add t-slibgcc-libgcc to tmake_file.
6042 * config/mips/libgcc-mips16.ver: Revert previous patch.
6043 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6044
7d296953
JJ
60452012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6046 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6047
6048 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6049 * config/cr16/crti.S: New file.
6050 * config/cr16/crtlibid.S: New file.
6051 * config/cr16/crtn.S: New file.
6052 * config/cr16/lib1funcs.S: New file.
6053 * config/cr16/t-cr16: New file.
6054 * config/cr16/t-crtlibid: New file.
6055 * config/cr16/unwind-dw2.h: New file.
6056 * config/cr16/unwind-cr16.c: New file.
6057 * config/cr16/divmodhi3.c: New file.
6058
8ef03aa7
AM
60592012-01-25 Alan Modra <amodra@gmail.com>
6060
6061 * config/rs6000/t-linux64: Delete. Move..
6062 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6063 * config/rs6000/t-linux: ..and libgcc flags to here.
6064
daecebc8
DR
60652012-01-22 Douglas B Rupp <rupp@gnat.com>
6066
6067 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6068 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6069 * configure: Regenerate.
6070
ddaf8125
RS
60712012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6072 Richard Sandiford <rdsandiford@googlemail.com>
6073
6074 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6075 * config/mips/mips16.S (__mips16_rdhwr): New function.
6076 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6077
2cd8b32c
NS
60782012-01-11 Nathan Sidwell <nathan@acm.org>
6079
6080 * libgcov.c (__gcov_init): Ignore objects with no functions.
6081
cba300dd
GJL
60822012-01-10 Georg-Johann Lay <avr@gjlay.de>
6083
6084 PR target/49868
6085 Extend __pgmx semantics to linearize memory.
6086 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6087 * config/avr/lib1funcs.S (__xload_1): New function.
6088 (__movmemx_qi, __movmemx_hi): New functions.
6089 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6090 semantics.
9ffaf4bc 6091
3d137660
EB
60922012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6093
6094 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6095 purported sigacthandler address isn't null before dereferencing it.
6096 (sparc_is_sighandler): Likewise.
6097
bf4db96c
EB
60982012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6099
6100 PR ada/41929
6101 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6102 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6103 (sparc_is_sighandler): Likewise.
6104 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6105
1ab3568b
TG
61062012-01-06 Tristan Gingold <gingold@adacore.com>
6107
6108 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6109 compatibility thunks...
6110 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6111 (crtbeginS.o, crtendS.o): ... and these to ...
6112 * config/ia64/t-ia64-elf: ... this new file.
6113 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6114 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6115
925b0ed8
AK
61162012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6117
6118 * configure: Regenerate.
6119 * config/s390/t-crtstuff: Remove -fPIC.
6120
a99ad737
JW
61212012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6122
6123 PR bootstrap/51006
6124 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6125 for NetBSD.
6126
884f56d1
GJL
61272012-01-02 Georg-Johann Lay <avr@gjlay.de>
6128
6129 PR target/51345
6130 * config/avr/lib1funcs.S: Remove FIXME comments.
6131 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6132
8c57e547
GJL
61332012-01-02 Georg-Johann Lay <avr@gjlay.de>
6134
6135 Implement light-weight DImode support.
6136 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6137 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6138 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6139 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6140
04dbc287
NS
61412011-12-30 Nathan Sidwell <nathan@acm.org>
6142
6143 * libgcov.c (gcov_crc32): Remove global var.
6144 (free_fn_data): New function.
6145 (buffer_fn_data): Pass in filename, more robust error recovery.
6146 (crc32_unsigned): New function.
6147 (gcov_exit): More robust detection of new program. More robust
6148 error recovery.
6149 (__gcov_init): Do not update program's crc here.
6150
8e1d97d4
TG
61512011-12-21 Tristan Gingold <gingold@adacore.com>
6152
6153 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6154
9ffaf4bc
ILT
61552011-12-21 Ian Lance Taylor <iant@google.com>
6156
6157 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6158
a0c8d0c1
ILT
61592011-12-20 Ian Lance Taylor <iant@google.com>
6160
6161 * config/i386/morestack.S (__morestack_non_split): If there is
6162 enough stack space already, don't split. Ask for more stack space
6163 than we required.
6164
69048898
SDJ
61652011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6166
6167 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6168 `sys/sdt.h'.
6169 (_Unwind_DebugHook): New function.
6170 (uw_restore_core_regs): New define.
6171 (unwind_phase2): Use uw_restore_core_regs instead of
6172 restore_core_regs.
6173 (unwind_phase2_forced): Likewise.
6174 (__gnu_Unwind_Resume): Likewise.
6175
1bb4b6a3
UB
61762011-12-20 Uros Bizjak <ubizjak@gmail.com>
6177
6178 * config/alpha/linux-unwind.h: Update copyright years.
6179 (MD_FROB_UPDATE_CONTEXT): New define.
6180 (alpha_frob_update_context): New function.
6181
eb028768
RS
61822011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6183
6184 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6185 tmake_file rather replacing it.
6186
6a2045bf
IS
61872011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6188
6189 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6190 function is not used for PPC64.
6a2045bf
IS
6191 (save_world): Amend comments. Update the VRsave mask to reflect the
6192 saved regs.
6193 (rest_world): Update comments, do not clobber r10, do not use r8.
6194 (eh_rest_world_r10): Amend comments, do not use r8.
6195 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6196 no longer used, move restore of CR and target address to the end of
6197 the routine.
6198
a13780a6
L
61992011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6200
6201 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6202 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6203
d7288dfb
GJL
62042011-12-14 Georg-Johann Lay <avr@gjlay.de>
6205
6206 PR target/49313
6207 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6208 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6209
8d2c862d
EB
62102011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6211
6212 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6213
3447cae6
GJL
62142011-12-09 Georg-Johann Lay <avr@gjlay.de>
6215
6216 PR target/49313
6217 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6218 * config/avr/lib1funcs.S (__muldi3): New function.
6219
806fc6aa
AP
62202011-12-06 Andrew Pinski <apinski@cavium.com>
6221
6222 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6223 size of func_ptr.
6224 (__frame_dummy_init_array_entry): Likewise.
6225
28c5e6b5
GJL
62262011-12-06 Georg-Johann Lay <avr@gjlay.de>
6227
6228 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6229
6230 PR target/51345
6231 PR target/51002
6232 * config/avr/lib1funcs.S (__prologue_saves__,
6233 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6234 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6235
8f90394a
IS
62362011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6237
6238 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6239
06dd33ac
JDA
62402011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6241
6242 PR other/51272
6243 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6244 (_ITM_deregisterTMCloneTable): Likewise.
6245 (__register_frame_info): Fix unused warning.
6246 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6247 pthread_default_stacksize_np): Likewise.
6248 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6249
85b8555e
DD
62502011-11-29 DJ Delorie <dj@redhat.com>
6251
6252 * config.host (rl78-*-elf): New case.
6253 * config/rl78: New directory for the Renesas RL78.
6254
4d5ae4ea
BS
62552011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6256
6257 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6258 formatting.
6259
f9c55897
RO
62602011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6261
6262 PR other/51022
6263 * config/rs6000/t-savresfgpr: New file.
6264 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6265 $(srcdir)/config/rs6000/eabi.S.
6266 * config/rs6000/t-ppccomm-ldbl: Remove.
6267 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6268 tmake_file.
6269 (powerpc-*-eabispe*): Likewise.
6270 (powerpc-*-eabi*): Likewise.
6271 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6272 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6273 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6274 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6275 tmake_file.
6276 (powerpc-*-eabisim*): Likewise.
6277 (powerpc-*-elf*): Likewise.
6278 (powerpc-*-eabialtivec*): Likewise.
6279 (powerpc-xilinx-eabi*): Likewise.
6280 (powerpc-*-rtems*): Likewise.
6281 (powerpcle-*-elf*): Likewise.
6282 (powerpcle-*-eabisim*): Likewise.
6283 (powerpcle-*-eabi*): Likewise.
6284
a01207c4
ILT
62852011-11-27 Ian Lance Taylor <iant@google.com>
6286
6287 * generic-morestack.c (__splitstack_find): Check for NULL old
6288 stack value.
6289 (__splitstack_resetcontext): New function.
6290 (__splitstack_releasecontext): New function.
6291 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6292
2b0b8ab2
IS
62932011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6294
6295 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6296
c1d8101c
IS
62972011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6298
6299 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6300
8b281334
RH
63012011-11-26 Richard Henderson <rth@redhat.com>
6302
6303 * config/m68k/linux-atomic.c: New file.
6304 * config/m68k/t-linux: New file.
6305 * config.host (m68k-uclinux, m68k-linux): Use it.
6306
7546aa9d
RH
63072011-11-26 Richard Henderson <rth@redhat.com>
6308
6309 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6310 (__TMC_END__): Only declare if hidden is available; in the definition,
6311 if hidden is unavailable add a null record.
6312 (deregister_tm_clones, register_tm_clones): New.
6313 (__do_global_dtors_aux, frame_dummy): Use them.
6314 (__do_global_dtors, __do_global_ctors_1): Likewise.
6315
e2362f5d
IS
63162011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6317
6318 * config/darwin-crt-tm.c: New file.
6319 * config.host (darwin): Build crttms.o crttme.o to provide
6320 startup and shutdown for tm clones.
6321 * config/t-darwin (crttms.o): New build rule.
6322 (crttme.o): Likewise.
6323
6685dd96
HPN
63242011-11-21 Hans-Peter Nilsson <hp@axis.com>
6325
6326 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6327 et al.
6328
b0dc7e4c
RH
63292011-11-21 Richard Henderson <rth@redhat.com>
6330
6331 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6332 (__TMC_LIST__, __TMC_END__): New.
6333 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6334 (__do_global_dtors): Likewise.
6335 (frame_dummy): Call _ITM_registerTMCloneTable.
6336 (__do_global_ctors_1): Likewise.
6337
d4b4b542
RO
63382011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6339
6340 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6341 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6342 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6343 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6344 * config/i386/t-darwin64: Remove.
6345 * config/sh/t-netbsd (LIB2ADD): Remove.
6346
989bdb74
GJL
63472011-11-21 Georg-Johann Lay <avr@gjlay.de>
6348
6349 PR target/49313
6350 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6351 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6352 * config/avr/lib1funcs.S (wmov): New assembler macro.
6353 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6354 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6355 (__udivmod64): New function.
6356 (__negdi2): New function.
6357
515a0cfc
GP
63582011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6359
6360 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6361 *-*-freebsd*aout*): Remove.
6362
0115d17f
HPN
63632011-11-20 Hans-Peter Nilsson <hp@axis.com>
6364
6365 * static-object.mk (c_flags-$o): Save c_flags.
6366 ($(base)$(objext)): Use it.
6367
93aeb62b
SE
63682011-11-18 Steve Ellcey <sje@cup.hp.com>
6369
6370 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6371
7bc6df2c
GJL
63722011-11-18 Georg-Johann Lay <avr@gjlay.de>
6373
6374 PR target/49868
6375 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6376 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6377 New functions.
6378
425d737b
MGD
63792011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6380
6381 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6382 functions.
1bb4b6a3 6383 (aeabi_uidivmod): Likewise.
425d737b
MGD
6384 (umodsi3): Likewise.
6385 (divsi3): Likewise.
6386 (aeabi_idivmod): Likewise.
6387 (modsi3): Likewise.
6388
f2a176dc
TG
63892011-11-16 Tristan Gingold <gingold@adacore.com>
6390
6391 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6392
7c209481
GJL
63932011-11-15 Georg-Johann Lay <avr@gjlay.de>
6394
6395 PR target/49868
6396 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6397 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6398
9dfd5832
JDA
63992011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6400
6401 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6402 tmake_file list.
6403 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6404 * config/pa/t-stublib64: Delete.
6405
f77dca5d
RH
64062011-11-12 Richard Henderson <rth@redhat.com>
6407
6408 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6409 cast the pointer argument to _Unwind_SetGRPtr.
6410
902828f0
RO
64112011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6412
6413 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6414
e14304ef
ILT
64152011-11-09 Ian Lance Taylor <iant@google.com>
6416
6417 * generic-morestack.c: Include <string.h>.
6418 (uintptr_type): Define.
6419 (struct initial_sp): Add dont_block_signals field. Reduce size of
6420 extra array by 1.
6421 (allocate_segment): Set prev field to NULL. Don't set
6422 __morestack_current_segment or __morestack_segments.
6423 (__generic_morestack): Update current->prev and *pp after calling
6424 allocate_segment.
6425 (__morestack_block_signals): Don't do anything if
6426 dont_block_signals is set.
6427 (__morestack_unblock_signals): Likewise.
6428 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6429 uintptr_type.
6430 (__splitstack_block_signals): New function.
6431 (enum __splitstack_content_offsets): Define.
6432 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6433 (__splitstack_makecontext): New function.
6434 (__splitstack_block_signals_context): New function.
6435 (__splitstack_find_context): New function.
6436 * config/i386/morestack.S (__morestack_get_guard): New function.
6437 (__morestack_set_guard, __morestack_make_guard): New functions.
6438 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6439
e3d871e4
RO
64402011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6441
6442 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6443 (i[34567]86-*-mingw*): ... here.
6444 (x86_64-*-mingw*): ... here.
6445
e55cef40
RO
64462011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6447
6448 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6449
5366b186
NS
64502011-11-07 Nathan Sidwell <nathan@acm.org>
6451
6452 * libgcov.c (struct gcov_fn_buffer): New struct.
6453 (buffer_fn_data): New helper.
6454 (gcov_exit): Rework for new gcov data structures.
6455
74155a6f
GJL
64562011-11-07 Georg-Johann Lay <avr@gjlay.de>
6457
6458 PR target/49313
6459 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6460
200feb07
RO
64612011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6462
6463 * config.host (tmake_file): Correct comment.
6464 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6465 t-libgcc-pic.
6466 (bfin*-uclinux*): Likewise.
6467 (bfin*-linux-uclibc*): Likewise.
6468 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6469
6470 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6471 assigning.
6472 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6473 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6474 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6475 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6476 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6477 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6478 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6479 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6480 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6481 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6482 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6483 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6484 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6485
6486 * config/bfin/t-elf: Remove.
6487 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6488
c9cd1a07
RO
64892011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6490
6491 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6492 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6493 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6494 (lm32-*-elf*): ... this.
6495 (lm32-*-rtems*): ... and this.
6496 Add to tmake_file.
6497 (m32r-*-rtems*): Add to tmake_file.
6498 (moxie-*-rtems*): Likewise.
6499 (sparc-*-rtems*): Likewise.
6500 Remove t-rtems from tmake_file.
6501 (sparc64-*-rtems*): Likewise.
6502 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6503 instead.
6504
9fbcc75d
RO
65052011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6506
6507 PR bootstrap/50982
6508 * config/gthr-posix.h: Move ...
6509 * gthr-posix.h: ... here.
6510 * config/gthr-lynx.h: Reflect this.
6511 * config/gthr-vxworks.h: Likewise.
6512 * config/rs6000/gthr-aix.h: Likewise.
6513 * configure.ac (target_thread_file): Likewise.
6514 * configure: Regenerate.
6515
76644b68
SH
65162011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6517
6518 * config.host (arm*-*-rtemseabi*): New target.
6519
5e490f2a
JDA
65202011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6521
6522 PR other/50991
6523 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6524 extra-parts.
6525
feeeff5c
JR
65262011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6527
6528 * config.host (epiphany-*-elf*): New configuration.
6529 * config/epiphany: New Directory.
6530
d618bb2c
RC
65312011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6532
6533 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6534 * config/avr/t-rtems: New.
6535 Filter out _exit from LIB1ASMFUNCS.
6536
1bb6f778
DM
65372011-11-04 David S. Miller <davem@davemloft.net>
6538
6539 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6540 * configure: Rebuild.
6541
9a7f7422
AK
65422011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6543
6544 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6545 variable.
6546
e4fe948a
GJL
65472011-11-04 Georg-Johann Lay <avr@gjlay.de>
6548
6549 PR target/50931
6550 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6551 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6552
7084e037
JS
65532011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6554
6555 PR target/50989
6556 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6557
1a032034
RO
65582011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6559
6560 * config/c6x/t-elf (LIB2ADDEH): Set.
6561 * config/c6x/t-c6x-elf: Remove.
6562
d385f772
RO
65632011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6564
6565 * config/i386/sol2-ci.S: Rename to ...
6566 * config/i386/crti.S: ... this.
6567 * config/i386/sol2-cn.S: Rename to ...
6568 * config/i386/crtn.S: ... this.
6569 * config/sparc/sol2-ci.S: Rename to ...
6570 * config/sparc/crti.S: ... this.
6571 * config/sparc/sol2-cn.S: Rename to ...
6572 * config/sparc/crtn.S: ... this.
6573 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6574 (crti.o, crtn.o): Remove.
6575
1ba878a9
TG
65762011-11-04 Tristan Gingold <gingold@adacore.com>
6577
6578 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6579
02750c15
KK
65802011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6581
6582 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6583
bf86b067
HPN
65842011-11-03 Hans-Peter Nilsson <hp@axis.com>
6585
6586 * config.host (crisv32-*-none, cris-*-none): Remove.
6587 (crisv32-*-elf): Append to tmake_file, don't just set it.
6588 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6589
d0bc53bd
RO
65902011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6591
6592 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6593 (ecrtn$(objext)): Likewise.
6594 (ncrti$(objext)): Likewise.
6595 (ncrtn$(objext)): Likewise.
6596
036da830
AS
65972011-11-03 Andreas Schwab <schwab@redhat.com>
6598
6599 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6600
d2a7d041
DM
66012011-11-02 David S. Miller <davem@davemloft.net>
6602
6603 * configure.ac: Set host_address on sparc too.
6604 * configure: Regenerate.
6605 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6606 based upon host_address.
6607 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6608
af8ed618
JM
66092011-11-02 Jason Merrill <jason@redhat.com>
6610
6611 * config/rs6000/t-ppccomm: Add missing \.
6612
5d1c8e77
RO
66132011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6614
6615 * gthr-single.h, gthr.h: New files.
6616 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6617 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6618 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6619 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6620 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6621 * configure.ac (thread_header): New variable.
6622 Set it depending on target_thread_file.
6623 (gthr-default.h): Link from $thread_header.
6624 * configure: Regenerate.
6625 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6626
852b75ed
RO
66272011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6628
6629 * configure.ac (tm_file_): New variable.
6630 Determine from tm_file.
6631 (tm_file, tm_defines): Substitute.
6632 * configure: Regenerate.
6633 * mkheader.sh: New file.
6634 * Makefile.in (clean): Remove libgcc_tm.h.
6635 ($(objects)): Depend on libgcc_tm.h.
6636 (libgcc_tm_defines, libgcc_tm_file): New variables.
6637 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6638 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6639 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6640 ($(extra-parts)): Depend on libgcc_tm.h.
6641 * config.host (tm_defines, tm_file): New variable.
6642 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6643 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6644 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6645 (avr-*-rtems*): Likewise.
6646 (avr-*-*): Likewise.
6647 (frv-*-elf): Likewise.
6648 (frv-*-*linux*): Likewise.
6649 (h8300-*-rtems*): Likewise.
6650 (h8300-*-elf*): Likewise.
6651 (i[34567]86-*-darwin*): Likewise.
6652 (x86_64-*-darwin*): Likewise.
6653 (rx-*-elf): Likewise.
6654 (tic6x-*-uclinux): Likewise.
6655 (tic6x-*-elf): Likewise.
6656 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6657 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6658 * config/i386/cygming-crtbegin.c: Likewise.
6659 * config/i386/cygming-crtend.c: Likewise.
6660 * config/ia64/fde-vms.c: Likewise.
6661 * config/ia64/unwind-ia64.c: Likewise.
6662 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6663 * config/rs6000/darwin-fallback.c: Likewise.
6664 * config/stormy16/lib2funcs.c: Likewise.
6665 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6666 * crtstuff.c: Likewise.
6667 * dfp-bit.h: Likewise.
6668 * emutls.c: Likewise.
6669 * fixed-bit.c: Likewise.
6670 * fp-bit.c: Likewise.
6671 * generic-morestack-thread.c: Likewise.
6672 * generic-morestack.c: Likewise.
6673 * libgcc2.c: Likewise.
6674 * libgcov.c: Likewise.
6675 * unwind-dw2-fde-dip.c: Likewise.
6676 * unwind-dw2-fde.c: Likewise.
6677 * unwind-dw2.c: Likewise.
6678 * unwind-sjlj.c: Likewise.
6679
f9989b51
RO
66802011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6681
6682 * configure.ac: Include ../config/picflag.m4.
6683 (GCC_PICFLAG): Call it.
6684 Substitute.
6685 * configure: Regenerate.
6686 * Makefile.in (gcc_srcdir): Remove.
6687 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6688 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6689 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6690 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6691 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6692 Use $<.
6693 Remove comment.
6694 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6695 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6696 to refer to libgcc2.c.
6697 Use $<.
6698 * config/darwin-64.c: New file.
6699 * config/darwin-crt3.c: Remove comment.
6700 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6701 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6702 config/udivmodsi4.c: New files.
6703 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6704 config/memset.c: New files.
6705 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6706 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6707 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6708 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6709 * config/t-openbsd-thread: New file.
6710 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6711 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6712 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6713 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6714 qrnnd.S.
6715 Adapt filename.
6716 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6717 to refer to gthr-posix.c.
6718 * config/alpha/t-vms (LIB2ADD): Set.
6719 * config/alpha/vms-gcc_shell_handler.c: New file.
6720 * config/arm/bpabi.c, config/arm/fp16.c,
6721 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6722 config/arm/unaligned-funcs.c: New files.
6723 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6724 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6725 * config/arm/t-linux: Likewise.
6726 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6727 * config/arm/t-netbsd: New file.
6728 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6729 * config/arm/t-symbian (LIB2ADD_ST): Set.
6730 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6731 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6732 * config/bfin/t-elf: New file.
6733 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6734 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6735 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6736 config/c6x/ltf.c: New files.
6737 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6738 (HOST_LIBGCC2_CFLAGS): Set.
6739 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6740 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6741 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6742 New files.
6743 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6744 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6745 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6746 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6747 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6748 files.
6749 * config/frv/t-frv (LIB2ADD): Set.
6750 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6751 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6752 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6753 config/h8300/popcounthi2.c: New files.
6754 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6755 * config/i386/gthr-win32.c: New file.
6756 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6757 * config/i386/t-cygwin: Likewise.
6758 * config/i386/t-darwin, config/i386/t-darwin64,
6759 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6760 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6761 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6762 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6763 * config/ia64/quadlib.c: New file.
6764 * config/ia64/t-hpux (LIB2ADD): Set.
6765 * config/ia64/t-ia64: Add comment.
6766 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6767 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6768 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6769 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6770 * config/m32c/t-m32c (LIB2ADD): Set.
6771 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6772 * config/m32r/t-m32r: Likewise.
6773 * config/m68k/fpgnulib.c: New file.
6774 * config/m68k/t-floatlib (LIB2ADD): Set.
6775 (xfgnulib.c): New target.
6776 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6777 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6778 * config/mep/t-mep (LIB2ADD): Set.
6779 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6780 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6781 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6782 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6783 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6784 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6785 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6786 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6787 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6788 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6789 New files.
6790 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6791 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6792 * config/pa/fptr.c, config/pa/lib2funcs.S,
6793 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6794 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6795 (LIB2ADD, LIB2ADD_ST): Set.
6796 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6797 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6798 Set.
6799 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6800 * config/pdp11/t-pdp11: New file.
6801 * config/picochip/libgccExtras/adddi3.S,
6802 config/picochip/libgccExtras/ashlsi3.S,
6803 config/picochip/libgccExtras/ashrsi3.S,
6804 config/picochip/libgccExtras/clzsi2.S,
6805 config/picochip/libgccExtras/cmpsi2.S,
6806 config/picochip/libgccExtras/divmod15.S,
6807 config/picochip/libgccExtras/divmodhi4.S,
6808 config/picochip/libgccExtras/divmodsi4.S,
6809 config/picochip/libgccExtras/lshrsi3.S,
6810 config/picochip/libgccExtras/parityhi2.S,
6811 config/picochip/libgccExtras/popcounthi2.S,
6812 config/picochip/libgccExtras/subdi3.S,
6813 config/picochip/libgccExtras/ucmpsi2.S,
6814 config/picochip/libgccExtras/udivmodhi4.S,
6815 config/picochip/libgccExtras/udivmodsi4.S: New files.
6816 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6817 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6818 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6819 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6820 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6821 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6822 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6823 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6824 files.
6825 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6826 (HOST_LIBGCC2_CFLAGS): Set.
6827 * config/rs6000/t-darwin64: New file.
6828 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6829 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6830 * config/rs6000/t-ppccomm (LIB2ADD): Add
6831 $(srcdir)/config/rs6000/tramp.S.
6832 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6833 Add $(srcdir)/config/rs6000/eabi.S.
6834 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6835 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6836 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6837 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6838 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6839 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6840 * config/rs6000/tramp.S: New file.
6841 * config/s390/t-tpf: Remove.
6842 * config/sh/linux-atomic.S: New file.
6843 * config/sh/t-linux (LIB2ADD): Set.
6844 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6845 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6846 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6847 to unwind-dw2.c.
6848 (HOST_LIBGCC2_CFLAGS): Set.
6849 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6850 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6851 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6852 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6853 config/spu/mfc_multi_tag_release.c,
6854 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6855 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6856 config/spu/multi3.c: New files.
6857 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6858 (HOST_LIBGCC2_CFLAGS): Set.
6859 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6860 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6861 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6862 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6863 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6864 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6865 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6866 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6867 config/stormy16/umodsi3.c: New files.
6868 * config/xtensa/lib2funcs.S: New file.
6869 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6870 * config/xtensa/t-xtensa (LIB2ADD): Set.
6871 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6872 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6873 Add t-freebsd-thread to tmake_file for posix threads.
6874 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6875 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6876 (*-*-lynxos*): Likewise.
6877 (*-*-netbsd*): Likewise.
6878 (*-*-openbsd*): Likewise.
6879 Add t-openbsd-thread to tmake_file for posix threads.
6880 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6881 (*-*-vxworks*): Set tmake_file.
6882 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6883 (alpha*-*-freebsd*): Likewise.
6884 (alpha*-*-netbsd*): Likewise.
6885 (alpha*-*-openbsd*): Likewise.
6886 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6887 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6888 (alpha*-dec-*vms*): Likewise.
6889 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6890 (bfin*-elf*): Add bfin/t-elf to tmake_file.
6891 (bfin*-uclinux*): Likewise.
6892 (bfin*-linux-uclibc*): Likewise.
6893 (crisv32-*-elf): Add cris/t-cris to tmake_file.
6894 (crisv32-*-none): Likewise.
6895 (cris-*-elf): Likewise.
6896 (cris-*-none): Likewise.
6897 (cris-*-linux*, crisv32-*-linux*): Likewise.
6898 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6899 tmake_file.
6900 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6901 tmake_file.
6902 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6903 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6904 (x86_64-*-elf*): Likewise.
6905 (i[34567]86-*-nto-qnx*): Likewise.
6906 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6907 win32 threads.
6908 (x86_64-*-mingw*): Likewise.
6909 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6910 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6911 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6912 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6913 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6914 tmake_file.
6915 (mipsisa64sr71k-*-elf*): Likewise.
6916 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6917 (mips-*-elf*, mipsel-*-elf*): Likewise.
6918 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6919 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6920 (mips*-*-rtems*): Likewise.
6921 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6922 to tmake_file.
6923 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6924 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6925 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6926 (spu-*-elf*): Likewise.
6927 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6928
45b86625
RO
69292011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6930
6931 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6932 $(srcdir) to refer to $(LIB1ASMSRC).
6933 Use $<.
6934 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6935 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6936 config/arm/lib1funcs.S: New files.
6937 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6938 * config/arm/t-arm: New file.
6939 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6940 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6941 config/arm/t-strongarm-elf: New files.
6942 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6943 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6944 * config/avr/lib1funcs.S: New file.
6945 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6946 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6947 * config/c6x/lib1funcs.S: New file.
6948 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6949 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6950 * config/frv/lib1funcs.S: New file.
6951 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6952 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6953 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6954 * config/ia64/__divxf3.asm: Rename to ...
6955 * config/ia64/__divxf3.S: ... this.
6956 Adapt lib1funcs.asm filename.
6957 * config/ia64/_fixtfdi.asm: Rename to ...
6958 * config/ia64/_fixtfdi.S: ... this.
6959 Adapt lib1funcs.asm filename.
6960 * config/ia64/_fixunstfdi.asm: Rename to ...
6961 * config/ia64/_fixunstfdi.S: ... this.
6962 Adapt lib1funcs.asm filename.
6963 * config/ia64/_floatditf.asm: Rename to ...
6964 * config/ia64/_floatditf.S: ... this.
6965 Adapt lib1funcs.asm filename.
6966 * config/ia64/lib1funcs.S: New file.
6967 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6968 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6969 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6970 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6971 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6972 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6973 * config/mep/lib1funcs.S: New file.
6974 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6975 * config/mips/mips16.S: New file.
6976 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6977 * config/pa/milli64.S: New file.
6978 * config/pa/t-linux, config/pa/t-linux64: New files.
6979 * config/picochip/lib1funcs.S: New file.
6980 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6981 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6982 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6983 * config/sh/t-netbsd: New file.
6984 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6985 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6986 * config/sh/t-sh64: New file.
6987 * config/sparc/lb1spc.S: New file.
6988 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6989 filename.
6990 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6991 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6992 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6993 config/xtensa/lib1funcs.S: New files.
6994 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6995 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6996 tmake_file.
6997 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6998 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6999 (arm*-*-linux*): Likewise.
7000 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7001 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7002 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7003 (arm*-*-ecos-elf): Likewise.
7004 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7005 (arm*-*-rtems*): Likewise.
7006 (arm*-*-elf): Likewise.
7007 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7008 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7009 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7010 (bfin*-uclinux*): Likewise.
7011 (bfin*-linux-uclibc*): Likewise.
7012 (bfin*-rtems*): Likewise.
7013 (bfin*-*): Likewise.
7014 (fido-*-elf): Merge into m68k-*-elf*.
7015 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7016 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7017 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7018 (h8300-*-elf*): Likewise.
7019 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7020 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7021 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7022 (i[34567]86-*-mingw*): Likewise.
7023 (x86_64-*-mingw*): Likewise.
7024 (i[34567]86-*-interix3*): Likewise.
7025 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7026 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7027 (m68k-*-elf*): Also handle fido-*-elf.
7028 Add m68k/t-floatlib to tmake_file.
7029 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7030 (m68k-*-linux*): Likewise.
7031 (m68k-*-rtems*): Likewise.
7032 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7033 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7034 sh64*-*-*.
7035 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7036 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7037 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7038 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7039 sh/t-netbsd to tmake_file.
7040 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7041 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7042 (sh-wrs-vxworks): Likewise.
7043 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7044 *-leon[3-9]*.
7045 (v850*-*-*): Add v850/t-v850 to tmake_file.
7046 (vax-*-linux*): Add vax/t-linux to tmake_file.
7047 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7048
5f73c6cc
RO
70492011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7050
7051 * crtstuff.c: New file.
7052 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7053 (CRTSTUFF_T_CFLAGS): Define.
7054 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7055 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7056 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7057 crtstuff.c.
7058 Use $<.
7059 (crtbeginT.o): Use $(objext).
7060 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7061 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7062 (gcc-extra-parts): Remove.
7063 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7064 Set extra_parts.
7065 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7066 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7067 Add t-crtstuff-pic to tmake_file.
7068 (*-*-lynxos*): New case.
7069 Set tmake_file, extra_parts.
7070 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7071 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7072 *-*-netbsdelf[2-9]*.
7073 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7074 (*-*-rtems*): Set extra_parts.
7075 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7076 (*-*-uclinux*): New case.
7077 Set extra_parts.
7078 (*-*-vms*): New case.
7079 Set tmake_file, extra_parts.
7080 (*-*-elf): Set extra_parts.
7081 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7082 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7083 vms/t-vms64.
7084 Set extra_parts.
7085 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7086 Set extra_parts.
7087 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7088 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7089 (arm-wrs-vxworks): Append to tmake_file.
7090 Set extra_parts.
7091 (arm*-*-uclinux*): Set extra_parts.
7092 (arm*-*-ecos-elf): Likewise.
7093 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7094 arm*-*-eabi*.
7095 (arm*-*-rtems*): Set extra_parts.
7096 (arm*-*-elf): Likewise.
7097 (avr-*-rtems*): Clear extra_parts.
7098 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7099 Set extra_parts.
7100 (bfin*-uclinux*): Likewise.
7101 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7102 (bfin*-rtems*): Append to tmake_file.
7103 Set extra_parts.
7104 (bfin*-*): Likewise.
7105 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7106 (crisv32-*-elf): ... this.
7107 (crisv32-*-none): ... this.
7108 (cris-*-elf, cris-*-none): New cases.
7109 Add cris/t-elfmulti to tmake_file.
7110 (fr30-*-elf): Append to tmake_file.
7111 Set extra_parts.
7112 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7113 Set extra_parts.
7114 (h8300-*-rtems*): Append to tmake_file.
7115 Set extra_parts.
7116 (h8300-*-elf*): Likewise.
7117 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7118 Set extra_parts.
7119 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7120 Set extra_parts.
7121 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7122 (x86_64-*-elf*): Likewise.
7123 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7124 (x86_64-*-freebsd*): Likewise.
7125 (x86_64-*-netbsd*): Likewise.
7126 (i[34567]86-*-linux*): Likewise.
7127 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7128 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7129 (x86_64-*-linux*): Likewise.
7130 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7131 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7132 tmake_file.
7133 Set extra_parts.
7134 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7135 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7136 Append to extra_parts, remove crtbegin.o, crtend.o.
7137 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7138 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7139 crtend.o, crtbeginS.o, crtendS.o.
7140 (ia64*-*-linux*): Comment extra_parts.
7141 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7142 Set extra_parts.
7143 (iq2000*-*-elf*): Clear extra_parts.
7144 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7145 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7146 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7147 (m32r-*-rtems*): ... this.
7148 Add m32r/t-m32r to tmake_file.
7149 (m68k-*-elf*): Add t-crtin to tmake_file.
7150 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7151 (mcore-*-elf): Likewise.
7152 (microblaze*-*-*): Set extra_parts.
7153 (mips*-sde-elf*): New case.
7154 Set tmake_file, extra_parts.
7155 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7156 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7157 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7158 tmake_file.
7159 Set extra_parts.
7160 (mipsisa64sr71k-*-elf*): Likewise.
7161 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7162 (mips-*-elf*, mipsel-*-elf*): Likewise.
7163 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7164 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7165 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7166 (mips*-*-rtems*): Likewise.
7167 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7168 (moxie-*-*): Split into ...
7169 (moxie-*-elf, moxie-*-uclinux*): ... this.
7170 Add to extra_parts, remove crtbegin.o, crtend.o.
7171 (moxie-*-rtems*): New case.
7172 Set tmake_file.
7173 Clear extra_parts.
7174 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7175 Set extra_parts.
7176 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7177 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7178 tmake_file.
7179 Set extra_parts.
7180 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7181 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7182 Set extra_parts.
7183 (powerpc-*-eabisim*): Likewise.
7184 (powerpc-*-elf*): Likewise.
7185 (powerpc-*-eabialtivec*): Likewise.
7186 (powerpc-xilinx-eabi*): Likewise.
7187 (powerpc-*-eabi*): Likewise.
7188 (powerpc-*-rtems*): Likewise.
7189 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7190 tmake_file.
7191 Set extra_parts.
7192 (powerpc-*-lynxos*): Add to tmake_file.
7193 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7194 rs6000/t-crtstuff, t-crtstuff-pic.
7195 Set extra_parts.
7196 (powerpcle-*-eabisim*): Likewise.
7197 (powerpcle-*-eabi*): Likewise.
7198 (rx-*-elf): Remove extra_parts.
7199 (s390x-ibm-tpf*): Set extra_parts.
7200 (score-*-elf): Set extra_parts.
7201 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7202 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7203 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7204 (sh64l*-*-netbsd*): Split into ...
7205 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7206 Add t-crtstuff-pic to tmake_file.
7207 Set extra_parts.
7208 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7209 Set extra_parts.
7210 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7211 (sparc-*-elf*): Remove t-crtin from tmake_file.
7212 Add to extra_parts, remove crtbegin.o, crtend.o.
7213 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7214 (sparc64-*-linux*): Likewise.
7215 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7216 Add to extra_parts, remove crtbegin.o, crtend.o.
7217 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7218 Add to extra_parts, remove crtbegin.o, crtend.o.
7219 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7220 Add to extra_parts, remove crtbegin.o, crtend.o.
7221 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7222 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7223 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7224 Set extra_parts.
7225 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7226 Set extra_parts.
7227 (tic6x-*-*): Change to ...
7228 (tic6x-*-elf): ... this.
7229 Set extra_parts.
7230 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7231 Set extra_parts.
7232 (am33_2.0-*-linux*): Add comment.
7233 (mep*-*-*): Add mep/t-mep to tmake_file.
7234 Set extra_parts.
7235 * config/alpha/t-vms: New file.
7236 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7237 * config/arm/crti.S, config/arm/crtn.S: New files.
7238 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7239 * config/bfin/crtlibid.S: New file.
7240 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7241 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7242 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7243 (crti.o, crtin.o): New rules.
7244 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7245 * config/c6x/t-uclinux: New file.
7246 * config/cris/t-elfmulti: New file.
7247 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7248 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7249 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7250 * config/frv/t-frv: New file.
7251 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7252 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7253 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7254 New files.
7255 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7256 refer to cygming-crtbegin.c, cygming-crtend.c.
7257 Use $<.
7258 * config/i386/t-nto: New file.
7259 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7260 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7261 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7262 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7263 Use .S extension.
7264 Use $<.
7265 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7266 (crtinitS.o): New rule.
7267 * config/ia64/vms-crtinit.S: New file.
7268 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7269 * config/m32r/initfini.c: New file.
7270 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7271 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7272 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7273 * config/mep/t-mep: New file.
7274 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7275 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7276 * config/mips/crti.S, config/mips/crtn.S: New files.
7277 * config/mips/t-crtstuff: New file.
7278 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7279 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7280 (CUSTOM_CRTIN): Set.
7281 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7282 dependencies.
7283 Use $(srcdir) to refer to crti.S, crtn.S.
7284 Use .S extension, $<.
7285 * config/moxie/crti.asm: Rename to ...
7286 * config/moxie/crti.S: ... this.
7287 * config/moxie/crtn.asm: Rename to ...
7288 * config/moxie/crtn.S: ... this.
7289 * config/moxie/t-moxie: Remove.
7290 * config/pa/stublib.c: New file.
7291 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7292 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7293 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7294 * config/rs6000/t-crtstuff: New file.
7295 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7296 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7297 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7298 Make output file explicit.
7299 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7300 Make output file explicit.
7301 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7302 Make output file explicit.
7303 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7304 Make output file explicit.
7305 * config/score/crti.S, config/score/crtn.S: New files.
7306 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7307 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7308 files.
7309 * config/sh/t-sh, config/sh/t-superh: New files.
7310 * config/sparc/t-linux64: New file.
7311 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7312 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7313 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7314 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7315 * config/t-crtin: Remove.
7316 * config/t-crtstuff-pic: New file.
7317 * config/t-sol2 (CUSTOM_CRTIN): Set.
7318 (crti.o, crtn.o): New rules.
7319 * config/vms/t-vms: New file.
7320 * config/vms/vms-ucrt0.c: New file.
7321 * config/xtensa/t-elf: New file.
7322
b040f2be
RO
73232011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7324
7325 * Makefile.in (SHLIB_NM_FLAGS): Set.
7326 * mkmap-flat.awk, mkmap-symver.awk: New files.
7327 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7328 exceptions.
7329 * configure: Regenerate.
7330 * config/libgcc-glibc.ver: New file.
7331 * config/libgcc-libsystem.ver: New file.
7332 * config/t-libunwind (SHLIB_LC): Set.
7333 * config/t-linux: New file.
7334 * config/t-slibgcc (INSTALL_SHLIB): New.
7335 (SHLIB_INSTALL): Use it.
7336 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7337 to mkmap-symver.awk.
7338 (SHLIB_MAPFILES): Don't append, adapt pathname.
7339 (SHLIB_VERPFX): Set.
7340 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7341 to mkmap-symver.awk.
7342 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7343 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7344 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7345 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7346 to mkmap-flat.awk.
7347 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7348 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7349 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7350 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7351 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7352 * config/i386/libgcc-darwin.10.4.ver,
7353 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7354 New files.
7355 * config/i386/t-darwin: Remove.
7356 * config/i386/t-darwin64: Likewise.
7357 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7358 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7359 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7360 * config/i386/t-linux: New file.
7361 * config/i386/t-mingw32: New file.
7362 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7363 * config/ia64/t-glibc: Rename to ...
7364 * config/ia64/t-linux: ... this.
7365 (SHLIB_MAPFILES): Set.
7366 * config/ia64/t-glibc-libunwind: Rename to ...
7367 * config/ia64/t-linux-libunwind: ... this.
7368 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7369 * config/ia64/t-slibgcc-hpux: New file.
7370 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7371 * config/m68k/t-slibgcc-elf-ver: New file.
7372 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7373 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7374 to mkmap-flat.awk.
7375 * config/pa/t-slibgcc-hpux: New file.
7376 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7377 files.
7378 * config/rs6000/libgcc-darwin.10.4.ver,
7379 config/rs6000/libgcc-darwin.10.5.ver: New files.
7380 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7381 config/rs6000/libgcc-glibc.ver.
7382 * config/rs6000/libgcc-ppc64.ver: Rename to
7383 config/rs6000/libgcc-ibm-ldouble.ver.
7384 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7385 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7386 * config/rs6000/t-ldbl128: Rename to ...
7387 * config/rs6000/t-linux: ... this.
7388 (SHLIB_MAPFILES): Adapt filename.
7389 * config/rs6000/t-slibgcc-aix: New file.
7390 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7391 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7392 libgcc-excl.ver, libgcc-glibc.ver.
7393 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7394 * config/sparc/libgcc-glibc.ver: New file.
7395 * config/sparc/t-linux: New file.
7396 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7397 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7398 t-slibgcc-elf-ver to tmake_file.
7399 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7400 *-*-freebsd[34].
7401 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7402 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7403 t-slibgcc-elf-ver, t-linux to tmake_file.
7404 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7405 tmake_file.
7406 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7407 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7408 (alpha*-dec-*vms*): Likewise.
7409 (arm*-*-freebsd*): Append to tmake_file.
7410 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7411 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7412 arm*-*-linux-*eabi.
7413 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7414 tmake_file for arm*-*-symbianelf*.
7415 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7416 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7417 cris/t-linux.
7418 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7419 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7420 pa/t-slibgcc-dwarf-ver to tmake_file.
7421 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7422 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7423 (hppa*64*-*-hpux11*): Likewise.
7424 (hppa[12]*-*-hpux11*): Likewise.
7425 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7426 i386/t-crtpc, i386/t-crtfm.
7427 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7428 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7429 to tmake_file.
7430 Add i386/t-cygwin to tmake_file.
7431 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7432 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7433 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7434 to tmake_file.
7435 Add i386/t-mingw32 to tmake_file.
7436 (x86_64-*-mingw*): Likewise.
7437 (ia64*-*-freebsd*): Append to tmake_file.
7438 (ia64*-*-linux*): Append to tmake_file.
7439 Replace ia64/t-glibc by ia64/t-linux.
7440 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7441 system libunwind.
7442 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7443 t-slibgcc-hpux to tmake_file.
7444 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7445 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7446 (m32rle-*-linux*): Likewise.
7447 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7448 sjlj exceptions.
7449 (microblaze*-linux*): New case.
7450 Append to tmake_file, add t-slibgcc-nolc-override.
7451 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7452 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7453 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7454 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7455 rs6000/t-slibgcc-aix to tmake_file.
7456 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7457 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7458 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7459 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7460 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7461 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7462 sh*-*-linux*.
7463 (sparc-*-linux*): Append to tmake_file for *-leon*.
7464 Add sparc/t-linux to tmake_file for non-Leon targets.
7465 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7466 (tic6x-*-uclinux): New case.
7467 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7468 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7469 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7470 (am33_2.0-*-linux*): Append to tmake_file.
7471 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7472 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7473 x86_64-*-kfreebsd*-gnu.
7474 Add i386/t-linux to tmake_file.
7475
18b4bd7b
ILT
74762011-10-28 Ian Lance Taylor <iant@google.com>
7477
7478 * config/i386/morestack.S: Correct CFI information to do proper
7479 returns throughout function. In 32-bit mode, save %ebx so that it
7480 is restored on unwind.
7481
5b2d9d90
BS
74822011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7483
7484 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7485 case where B3 isn't the return register.
7486
0d53e346
BS
7487 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7488 logic for doubleword pops.
7489
cbffbd59
AT
74902011-10-25 Andreas Tobler <andreast@fgznet.ch>
7491
7492 * config/rs6000/t-freebsd: Add wildcard.
7493
56dc349e
PB
74942011-10-21 Paul Brook <paul@codesourcery.com>
7495
7496 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7497
1e06b07d
UB
74982011-10-16 Uros Bizjak <ubizjak@gmail.com>
7499 Eric Botcazou <ebotcazou@adacore.com>
7500
7501 PR target/50737
7502 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7503 fs->signal_frame to 1.
7504
b5204884
ILT
75052011-10-07 Ian Lance Taylor <iant@google.com>
7506
7507 * generic-morestack-thread.c: #include <errno.h>.
7508
91a639a1
ILT
75092011-10-07 Ian Lance Taylor <iant@google.com>
7510
7511 PR target/46093
7512 * generic-morestack.c (__generic_morestack): Make sure the segment
7513 is large enough for both the stack frame and the copied
7514 parameters.
7515
cc49116d
RO
75162011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7517
7518 PR bootstrap/49804
7519 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7520 extra_parts.
7521
2996d8c3
NC
75222011-09-28 Nick Clifton <nickc@redhat.com>
7523
7524 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7525 64-bit doubles are not enabled.
7526 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7527 and floatunsisf functions.
7528
1e874273 75292011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 7530
1e874273
PB
7531 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7532 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7533 * unwind-arm-common.inc: New file.
7534 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7535 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7536 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7537 * config/c6x/libunwind.S: New file.
7538 * config/c6x/pr-support.c: New file.
7539 * config/c6x/unwind-c6x.c: New file.
7540 * config/c6x/unwind-c6x.h: New file.
7541 * config/c6x/t-c6x-elf: New file.
7542
f70c879a
UB
75432011-08-23 Uros Bizjak <ubizjak@gmail.com>
7544
7545 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7546 (ASM_DIVZERO): Ditto.
7547 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7548
c55b374b
RS
75492011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7550
7551 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7552
1e138510
RS
75532011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7554
7555 PR target/50090
7556 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7557 instead of an assembly one.
7558
1563503d
PB
75592011-08-12 Paolo Bonzini <bonzini@gnu.org>
7560
7561 PR bootstrap/50047
7562 * Makefile.in (install-unwind_h): Create
7563 $(gcc_objdir)/include/unwind.h atomically.
7564
3627ac1a
RO
75652011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7566
7567 * Makefile.in (install-unwind_h): Remove destination file first.
7568
c6412d86
RO
75692011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7570
7571 * sync.c: New file.
7572 * config/mips/t-mips16: New file.
7573 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7574 (mips*-*-linux*): Likewise.
7575 (mips*-sde-elf*): Likewise.
7576 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7577 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7578 Add mips/t-mips16 to tmake_file.
7579 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7580 (mips-*-elf*): Likewise.
7581 (mips64-*-elf*): Likewise.
7582 (mips64orion-*-elf*): Likewise.
7583 (mips*-*-rtems*): Likewise.
7584 (mipstx39-*-elf*): Likewise.
7585 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7586 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7587 LIBGCC_SYNC_CFLAGS.
7588 Use $(srcdir) to refer to sync.c.
7589 Use $<.
7590 ($(libgcc-sync-funcs-o)): Likewise.
7591 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7592 ($(libgcc-sync-funcs-s-o)): Likewise.
7593
3cb6e5bd
AS
75942011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7595
7596 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7597 t-libunwind.
7598
cca2207a
L
75992011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7600
7601 PR other/48007
7602 * config/i386/value-unwind.h: New.
7603
ed39fbad
RS
76042011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7605
7606 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7607 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7608 Add to tmake_file rather than overriding it.
7609
aca0b0b3
RO
76102011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7611
7612 * config/t-softfp: Remove.
7613 * soft-fp: Moved from ../gcc/config.
7614 * soft-fp/README: Remove t-softfp reference.
7615 * soft-fp/t-softfp: Move to config/t-softfp.
7616 (softfp_machine_header): Remove.
7617 (softfp_file_list): Remove config subdir.
7618 (soft-fp-objects): New variable.
7619 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7620 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7621 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7622 * config/t-softfp-excl: New file.
7623 * config/t-softfp-sfdf: New file.
7624 * config/t-softfp-tf: New file.
7625 * config/no-sfp-machine.h: New file.
7626 * config/arm/sfp-machine.h: New file.
7627 * config/arm/t-softfp: New file.
7628 * config/c6x/sfp-machine.h: New file.
7629 * config/i386/32/t-fprules-softfp: Rename to ...
7630 * config/i386/32/t-softfp: ... this.
7631 (tifunctions, LIB2ADD): Remove.
7632 (softfp_int_modes): Override.
7633 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7634 subdir.
7635 * config/i386/64/eqtf2.c: Likewise.
7636 * config/i386/64/getf2.c: Likewise.
7637 * config/i386/64/letf2.c: Likewise.
7638 * config/ia64/sft-machine.h: New file.
7639 * config/ia64/t-fprules-softfp: Rename to ...
7640 * config/ia64/t-softfp: ... this.
7641 * config/lm32/sfp-machine.h: New file.
7642 * config/moxie/t-moxie-softfp: Remove.
7643 * config/rs6000/ibm-ldouble-format: New file.
7644 * config/rs6000/ibm-ldouble.c: New file.
7645 * config/rs6000/libgcc-ppc-glibc.ver: New file
7646 * config/rs6000/libgcc-ppc64.ver: New file
7647 * config/rs6000/sfp-machine.h: New file.
7648 * config/rs6000/t-freebsd: New file.
7649 * config/rs6000/t-ibm-ldouble: New file.
7650 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7651 libgcc-ppc-glibc.ver.
7652 * config/rs6000/t-linux64: New file.
7653 * config/rs6000/t-ppccomm (LIB2ADD): Add
7654 $(srcdir)/config/rs6000/ibm-ldouble.c.
7655 * config/rs6000/t-ppccomm-ldbl: New file.
7656 * config/score/sfp-machine.h: New file.
7657 * config.host (sfp_machine_header): Explain.
7658 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7659 t-softfp to tmake_file.
7660 (arm*-*-uclinux*): Likewise.
7661 (arm*-*-ecos-elf): Likewise.
7662 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7663 (arm*-*-rtems*): Likewise.
7664 (arm*-*-elf): Likewise.
7665 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7666 in tmake_file.
7667 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7668 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7669 (lm32-*-uclinux*): Likewise.
7670 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7671 t-softfp-excl, t-softfp.
7672 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7673 (powerpc64-*-darwin*): Likewise.
7674 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7675 to tmake_file.
7676 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7677 tmake_file.
7678 (powerpc-*-eabisim*): Likewise.
7679 (powerpc-*-elf*): Likewise.
7680 (powerpc-*-eabialtivec*): Likewise.
7681 (powerpc-xilinx-eabi*): Likewise.
7682 (powerpc-*-rtems*): Likewise.
7683 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7684 t-softfp-excl, t-softfp to tmake_file.
7685 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7686 rs6000/t-ppccomm-ldbl to tmake_file.
7687 (powerpcle-*-elf*): Likewise.
7688 (powerpcle-*-eabisim*): Likewise.
7689 (powerpcle-*-eabi*): Likewise.
7690 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7691 rs6000/t-ibm-ldouble to tmake_file.
7692 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7693 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7694 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7695 (tic6x-*-*): Likewise.
7696 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7697 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7698 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7699 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7700 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7701 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7702 t-softfp to tmake_file.
7703 * configure.ac (sfp_machine_header): Provide default if unset.
7704 Substitute.
7705 Link sfp-machine.h to config/$sfp_machine_header.
7706 * configure: Regenerate.
7707
569dc494
RO
77082011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7709
7710 * Makefile.in (double_type_size, long_double_type_size): Set.
7711 Remove $(fpbit-in-libgcc) support.
7712 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7713 (fpbit-src): New variable.
7714 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7715 Compile with -DFLOAT $(FPBIT_CFLAGS).
7716 Use $<.
7717 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7718 Compile with $(FPBIT_CFLAGS).
7719 Use $<.
7720 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7721 Compile with -DFLOAT $(TPBIT_CFLAGS).
7722 Use $<.
7723 * configure.ac (double_type_size, long_double_type_size):
7724 Determine and substitute.
7725 * configure: Regenerate.
7726 * fp-bit.c, fp-bit.h: New files.
7727 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7728 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7729 * config/mips/t-mips: New file.
7730 * config/mips/t-sdemtk: New file.
7731 * config/rs6000/ppc64-fp.c: New file.
7732 * config/rs6000/t-darwin (LIB2ADD): Add
7733 $(srcdir)/config/rs6000/ppc64-fp.c.
7734 * config/rs6000/t-ppc64-fp: New file.
7735 * config/rx/rx-lib.h: New file.
7736 * config/rx/t-rx (FPBIT): Set to true.
7737 ($(gcc_objdir)/fp-bit.c): Remove.
7738 (DPBIT): Set to true only with -m64bit-doubles.
7739 ($(gcc_objdir)/dp-bit.c): Remove.
7740 * config/sparc/t-softfp: Remove.
7741 * config/spu/t-elf: New file.
7742 * config/t-fdpbit, config/t-fpbit: New files.
7743 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7744 (mips*-*-*): Likewise.
7745 (arm-wrs-vxworks): Likewise.
7746 (arm*-*-freebsd*): Likewise.
7747 (avr-*-rtems*): Add t-fpbit to tmake_file.
7748 (avr-*-*): Likewise.
7749 (bfin*-elf*): Add t-fdpbit to tmake_file.
7750 (bfin*-uclinux*): Likewise.
7751 (bfin*-linux-uclibc*): Likewise.
7752 (bfin*-rtems*): New case.
7753 Add t-fdpbit to tmake_file.
7754 (bfin*-*): Add t-fdpbit to tmake_file.
7755 (crisv32-*-elf): Likewise.
7756 (cris-*-linux*): Likewise.
7757 (fr30-*-elf): Likewise.
7758 (frv-*-elf, frv-*-*linux*): Likewise.
7759 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7760 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7761 (m32r-*-elf*): Likewise.
7762 (m32rle-*-elf*): Likewise.
7763 (m32r-*-linux*): Likewise.
7764 (m32rle-*-linux*): Likewise.
7765 (mcore-*-elf): Add t-fdpbit to tmake_file.
7766 (microblaze*-*-*): Likewise.
7767 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7768 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7769 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7770 Fix typo.
7771 Add mips/t-tpbit to tmake-file.
7772 (mips*-*-linux*): Fix typo.
7773 (mips*-sde-elf*): New case
7774 Add mips/t-sdemtk unless using newlib.
7775 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7776 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7777 (mn10300-*-*): Likewise.
7778 (pdp11-*-*): Likewise.
7779 (picochip-*-*): Add t-fpbit to tmake_file.
7780 (powerpc-*-eabisimaltivec*): Likewise.
7781 (powerpc-*-eabisim*): Likewise.
7782 (powerpc-*-elf*): Likewise.
7783 (powerpc-*-eabialtivec*): Likewise.
7784 (powerpc-xilinx-eabi*): New case.
7785 Add t-fdpbit to tmake_file.
7786 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7787 (powerpc-*-rtems*): Likewise.
7788 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7789 tmake_file.
7790 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7791 tmake_file.
7792 (powerpc-*-lynxos*): Likewise.
7793 (powerpcle-*-elf*): Likewise.
7794 (powerpcle-*-eabisim*): Likewise.
7795 (powerpcle-*-eabi*): Likewise.
7796 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7797 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7798 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7799 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7800 (rx-*-elf): Add t-fdpbit to tmake_file.
7801 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7802 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7803 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7804 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7805 sh*-*-netbsd*.
7806 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7807 (sh-wrs-vxworks): Likewise.
7808 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7809 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7810 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7811 (sparc64-*-rtems*): ... new case.
7812 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7813 (spu-*-elf*): Likewise.
7814 Add spu/t-elf to tmake_file.
7815 (v850*-*-*): Add t-fdpbit to tmake_file.
7816 (xstormy16-*-elf): Likewise.
7817 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7818 (mep*-*-*): Likewise.
7819
201cdb74
RO
78202011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7821
7822 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7823 variables.
7824 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7825 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7826 (install-unwind_h): New target.
7827 (all): Depend on it.
7828 * config.host (unwind_header): New variable.
7829 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7830 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7831 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7832 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7833 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7834 Set unwind_header.
7835 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7836 Set unwind_header.
7837 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7838 arm*-*-eabi*.
7839 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7840 Set unwind_header.
7841 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7842 (ia64*-*-freebsd*): Likewise.
7843 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7844 tmake_file.
7845 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7846 $with_system_libunwind.
7847 (ia64*-*-hpux*): Set tmake_file.
7848 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7849 (picochip-*-*): Set tmake_file.
7850 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7851 md_unwind_header.
7852 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7853 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7854 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7855 (xtensa*-*-elf*): Set tmake_file.
7856 (xtensa*-*-linux*): Likewise.
7857 * configure.ac: Include ../config/unwind_ipinfo.m4.
7858 Call GCC_CHECK_UNWIND_GETIPINFO.
7859 Link unwind.h to $unwind_header.
7860 * configure: Regenerate.
7861 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7862 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7863 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7864 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7865 * config/unwind-dw2-fde-darwin.c: New file.
7866 * config/arm/libunwind.S, config/arm/pr-support.c,
7867 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7868 config/arm/unwind-arm.h,: New files.
7869 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7870 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7871 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7872 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7873 config/ia64/unwind-ia64.h: New files.
7874 * config/picochip/t-picochip: New file.
7875 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7876 files.
7877 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7878 * config/s390/t-tpf (LIB2ADDEH): Remove.
7879 * config/t-darwin (LIB2ADDEH): Set.
7880 * config/t-eh-dw2-dip: New file.
7881 * config/t-libunwind, config/t-libunwind-elf: New files.
7882 * config/t-sol2 (LIB2ADDEH): Remove.
7883 * config/xtensa/t-xtensa: New file.
7884
40f2f11f
L
78852011-08-02 H.J. Lu <hongjiu.lu@intel.com>
7886
7887 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7888 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7889 long long to check rt_sigreturn syscall.
7890
bd15e32c
AM
78912011-08-02 Alan Modra <amodra@gmail.com>
7892
7893 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7894 Restore for indirect call bcrtl from correct stack slot, and only
7895 if cfa+40 isn't valid.
7896
655b30bf
JB
78972011-08-01 Julian Brown <julian@codesourcery.com>
7898
7899 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7900 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7901 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7902
247eb06f
JB
79032011-08-01 Julian Brown <julian@codesourcery.com>
7904
7905 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7906 (libgcc-std.ver.in): Use above.
7907 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7908 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
7909 throughout file.
7910 * config/t-fixedpoint-gnu-prefix: New file.
7911 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7912 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7913 instead of __PFX__.
7914
02a8fe00
L
79152011-07-28 H.J. Lu <hongjiu.lu@intel.com>
7916
7917 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7918 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7919 for x86-64. Properly check __x86_64__ and __LP64__.
7920
5fce9126
L
79212010-07-28 H.J. Lu <hongjiu.lu@intel.com>
7922
7923 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7924 version.
7925 (_FP_WS_TYPE): Likewise.
7926 (_FP_I_TYPE): Likewise.
7927
2374a88a
AM
79282011-07-28 Alan Modra <amodra@gmail.com>
7929
7930 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7931 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7932 in a plt call stub. Do restore r2 if stopped on bctrl.
7933
e44dbbe1
RO
79342011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7935
7936 * config.host (i[3456x]86-*-netware*): Remove.
7937 * config/i386/netware-crt0.c, config/i386/t-nwld,
7938 config/i386/t-slibgcc-nwld: Remove.
7939
bcead286
BS
79402011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7941
7942 * config.host: Handle tic6x-*-*.
7943 * config/c6x/c6x-abi.h: New file.
7944
b3fe1584
RO
79452011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7946
7947 * config/i386/crtprec.c: New file.
7948 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7949 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7950 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7951 (x86_64-*-darwin*): Likewise.
7952 (i[34567]86-*-solaris2*: Likewise.
7953
35d8090d
RO
79542011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7955
7956 * config/alpha/crtfastmath.c: New file.
7957 * config/i386/crtfastmath.c: New file.
7958 * config/ia64/crtfastmath.c: New file.
7959 * config/mips/crtfastmath.c: New file.
7960 * config/sparc/crtfastmath.c: New file.
7961
7962 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7963 crtfastmath.c.
7964 Add -frandom-seed=gcc-crtfastmath.
7965 * config/alpha/t-crtfm: Remove.
7966 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7967 * config/ia64/t-ia64 (crtfastmath.o): Remove.
7968
7969 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7970 (alpha*-dec-osf5.1*): Likewise.
7971 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7972 Add crtfastmath.o to extra_parts.
7973 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7974 Add crtfastmath.o to extra_parts.
7975 (x86_64-*-darwin*): Likewise.
7976 (x86_64-*-mingw*): Likewise.
7977 (ia64*-*-elf*): Add t-crtfm to tmake_file.
7978 (ia64*-*-freebsd*): Likewise.
7979 (ia64*-*-linux*): Likewise.
7980 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7981 Add crtfastmath.o to extra_parts.
7982
e141542e
RO
79832011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7984
7985 * config/darwin-crt3.o: New file.
7986 * config/rs6000/darwin-crt2.c: New file.
7987 * config/t-darwin: New file.
7988 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7989 (crt2.o): New rule.
7990 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7991 (powerpc-*-darwin*): Add crt2.o to extra_parts.
7992 (powerpc64-*-darwin*): Likewise.
7993
2d1efe2d
RO
79942011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7995
7996 * config/i386/netware-crt0.c: New file.
7997 * config/i386/t-nwld: Rename to ...
7998 * config/i386/t-slibgcc-nwld: ... this.
7999 * config/i386/t-nwld: New file.
8000 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8001 tmake_file.
8002 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8003 extra_parts.
8004
4a8bb046
RO
80052011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8006
8007 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8008 i386/t-crtstuff.
8009 * configure: Regenerate.
8010
2d8d5935
RO
80112011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8012
8013 * dfp-bit.c, dfp-bit.h: New files.
8014 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8015 variables.
8016 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8017 ($(d64pbit-o)): Likewise.
8018 ($(d128pbit-o)): Likewise.
8019 * config/t-dfprules: New file.
8020 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8021 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8022 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8023 (x86_64-*-linux*): Likewise.
8024 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8025 (i[34567]86-*-cygwin*): Likewise.
8026 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8027 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8028
2c50b2c3
RO
80292011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8030
8031 * Makfile.in (LIBGCOV): New variable.
8032 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8033 * libgcov.c: New file.
8034
a039d7c2
RO
80352011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8036
8037 * fixed-bit.c, fixed-bit.h: New files.
8038 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8039 refer to fixed-bit.c.
8040
1e4b2746
JM
80412011-07-07 Joseph Myers <joseph@codesourcery.com>
8042
8043 * config.host (*local*): Remove.
8044
fbdd5d87
RO
80452011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8046
8047 PR target/39150
8048 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8049 like i?86-*-solaris2.1[0-9]*.
8050 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8051 * configure.ac (i?86-*-solaris2*): Likewise.
8052 * configure: Regenerate.
8053
9e7714f4
TS
80542011-07-06 Thomas Schwinge <thomas@schwinge.name>
8055
8056 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8057 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8058 md_unwind_header by splitting out of...
8059 (i[34567]86-*-linux*): ... this.
8060 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8061 Remove md_unwind_header by splitting out of...
8062 (x86_64-*-linux*): ... this.
8063
6dab9931
GJL
80642011-07-04 Georg-Johann Lay <avr@gjlay.de>
8065
8066 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8067
4be46d19
NC
80682011-06-28 Nick Clifton <nickc@redhat.com>
8069
8070 * config.host: Recognize all V850 variants.
8071
1da9434b
UB
80722011-06-22 Uros Bizjak <ubizjak@gmail.com>
8073
8074 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8075
e4d48a4d
RO
80762011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8077
8078 * shared-object.mk (c_flags-$o): Save c_flags.
8079 ($(base)$(objext)): Use it.
8080 ($(base)_s$(objext)): Likewise.
8081
3801c801
BS
80822011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8083
8084 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8085 * libgcc-std.ver.in (GCC_4.7.0): New section.
8086
0ad8bb3b 80872011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8088
0ad8bb3b
GJL
8089 PR target/49313
8090 PR target/29524
8091 * config/avr/t-avr: Fix line endings.
8092 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8093 _parityXX2.
8094
ea963999
OH
80952011-06-14 Olivier Hainque <hainque@adacore.com>
8096 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8097
8098 * config/mips/irix6-unwind.h: New file.
8099 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8100
b11b0904
EB
81012011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8102
8103 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8104 (sparc64_fallback_frame_state): Use it.
8105 (sparc64_frob_update_context): Further adjust context.
8106 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8107 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8108 * config/sparc/sol2-cn.S: Likewise.
8109
10e48e39
RO
81102011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8111
8112 * enable-execute-stack-empty.c: New file.
8113 * enable-execute-stack-mprotect.c: New file.
8114 * config/i386/enable-execute-stack-mingw32.c: New file.
8115 * config.host (enable_execute_stack): New variable.
8116 Select appropriate variants.
8117 * configure.ac: Link enable-execute-stack.c to
8118 $enable_execute_stack.
8119 * configure: Regenerate.
8120 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8121 (lib2funcs): Remove _enable_execute_stack.
8122
10c4cabc
DM
81232011-06-09 David S. Miller <davem@davemloft.net>
8124 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8125
8126 * config.host (sparc-*-linux*): Correct md_unwind_header
8127 filename.
8128 (s390x-ibm-tpf*): Fix typo.
8129
aa4203e7
RO
81302011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8131
8132 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8133 Add crtfastmath.o to extra_parts.
8134 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8135 mips/t-crtfm.
8136 * config/mips/t-crtfm: Remove.
8137
0defd786
JDA
81382011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8139
8140 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8141
82f247af
KK
81422011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8143
8144 * config.host (sh*-*-linux*): Fix typo.
8145
58cd1d70
RO
81462011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8147
8148 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8149 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8150 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8151 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8152 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8153 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8154 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8155 Wrap in !__MINGW64__.
8156 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8157 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8158 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8159 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8160 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8161 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8162 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8163 Wrap in !__LP64__.
8164 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8165 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8166 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8167 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8168 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8169 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8170 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8171 * config/no-unwind.h: New file.
8172 * config.host (md_unwind_header): Document.
8173 Define.
8174 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8175 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8176 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8177 hppa[12]*-*-hpux11*): Set md_unwind_header.
8178 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8179 Set md_unwind_header.
8180 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8181 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8182 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8183 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8184 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8185 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8186 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8187 md_unwind_header.
8188 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8189 * configure: Regenerate.
8190
737346fa
RO
81912011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8192
8193 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8194 Set tmake_file, extra_parts.
8195 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8196 Remove O32 support.
8197 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8198 Remove O32 support.
8199 * config/mips/t-irix6: New file.
8200 * config/mips/t-slibgcc-irix: New file.
8201
c192cee6
RO
82022011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8203
8204 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8205 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8206
ee33b5f0
RO
82072011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8208
8209 * configure.ac (target_thread_file): Determine thread model.
8210 * configure: Regenerate.
8211 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8212 * config/alpha/t-alpha: New file.
8213 * config/alpha/t-crtfm: Use $<.
8214 * config/alpha/t-ieee: New file.
8215 * config/alpha/t-osf-pthread: New file.
8216 * config/alpha/t-slibgcc-osf: New file.
8217 * config/alpha/libgcc-osf5.ver: New file.
8218
0699e415
RO
82192011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8220
8221 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8222 tmake_file.
8223 Add crtfastmath.o to extra_parts.
8224
a3fab9c2
RO
82252011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8226
8227 * config/gmon-sol2.c: Reindent.
8228 Cleanup comments.
8229 Remove, correct casts.
8230 Use STDERR_FILENO, NULL.
8231 (BASEADDRESS): Remove.
8232 (minbrk): Remove.
8233 (errno, sbrk): Remove declarations.
8234 (monstartup) [hp300]: Remove.
8235 (mcount): Remove.
8236
ca24c5ad
RO
82372011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8238
8239 * Makefile.in (cpu_type): Define.
8240 * config.host (i[34567]86-*-rtems*): Handle it.
8241 (i[34567]86-*-solaris2*): Move body ...
8242 (*-*-solaris2*): ... here.
8243 New case, generalize.
8244 (sparc-*-elf*): Handle it.
8245 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8246 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8247 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8248 Fold into ...
8249 (sparc*-*-solaris2*): ... this.
8250 New case.
8251 (sparc64-*-elf*): Handle it.
8252 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8253 Merge ../gcc/config/i386/gmon-sol2.c.
8254 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8255 Use C comments.
8256 Merge ../gcc/config/i386/sol2-gc1.asm.
8257 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8258 Use C comments.
8259 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8260 Use C comments.
8261 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8262 * config/i386/t-crtstuff: New file.
8263 * config/i386/t-softfp: New file.
8264 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8265 $(T)crti.o, $(T)crtn.o): Remove.
8266 (gcrt1.o): New rule.
8267 (TARGET_LIBGCC2_CFLAGS): Remove.
8268 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8269 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8270 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8271 * config/sparc/t-sol2: New file.
8272 * config/sparc/t-crtfm: Move to ...
8273 * config/t-crtfm: ... this.
8274 Use $(cpu_type), $<.
8275 * config/t-crtin: New file.
8276 * config/sparc/t-softfp: New file.
8277 * config/sparc/t-softmul: New file.
8278 * config/t-rtems: New file.
8279 * config/t-slibgcc: New file.
8280 * config/t-slibgcc-elf-ver: New file.
8281 * config/t-slibgcc-gld: New file.
8282 * config/t-slibgcc-sld: New file.
8283 * config/t-sol2: New file.
8284 * configure.ac: Include ../config/lib-ld.m4.
8285 Call AC_LIB_PROG_LD_GNU.
8286 Substitute cpu_type.
8287 * configure: Regenerate.
8288
ad5f3d7b
BS
82892011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8290
8291 PR bootstrap/49173
8292 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8293 libgcc-std.ver in the build directory.
8294 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8295 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8296
cdbf4541
BS
82972011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8298
8299 * libgcc-std.ver.in: New file.
8300 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8301 variables.
8302 (libgcc-std.ver): New rule.
8303 * config/t-gnu-prefix: New file.
8304
c8028650
RO
83052011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8306
8307 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8308
4a68b4ca
JM
83092011-05-10 Joseph Myers <joseph@codesourcery.com>
8310
8311 * config/i386/darwin-lib.h: New file.
8312
80cf2e08
JM
83132011-05-10 Joseph Myers <joseph@codesourcery.com>
8314
8315 * config/arm/symbian-lib.h: New.
8316
a3330c9d
CD
83172011-05-04 Chris Demetriou <cgd@google.com>
8318
8319 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8320 (__x86.get_pc_thunk.bx): ...this.
8321 (__morestack): Adjust for rename, remove undef of __i686.
8322
6ace0756
CD
83232011-05-03 Chris Demetriou <cgd@google.com>
8324
8325 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8326
ebb9f8b0
JM
83272011-03-22 Joseph Myers <joseph@codesourcery.com>
8328
8329 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8330 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8331 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8332 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8333 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8334 Remove cases.
8335
9cfa1499
AT
83362011-03-14 Andreas Tobler <andreast@fgznet.ch>
8337
8338 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8339 Adjust copyright year.
8340
457186f6
ILT
83412011-03-07 Ian Lance Taylor <iant@google.com>
8342
8343 * generic-morestack.c (__splitstack_find): Adjust returned stack
8344 pointer to include all registers pushed by __morestack.
8345
58c741a6
DK
83462011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8347
8348 PR target/40125
8349 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8350 (toolexecdir): Calculate and AC_SUBST.
8351 (toolexeclibdir): Likewise.
8352 * Makefile.in (target_noncanonical): Import.
8353 (toolexecdir): Likewise.
8354 (toolexeclibdir): Likewise.
8355 * configure: Regenerate.
8356
26716c44
NF
83572010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8358
8359 PR target/46040
8360 * config/arm/bpabi.h: Rename to...
8361 * config/arm/bpabi-lib.h: ...this.
8362
b595b1a1
RO
83632010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8364
8365 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8366 appropriate.
8367 * configure: Regenerate.
8368
a3abe41c
NF
83692010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8370
8371 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8372 __FLOAT_WORD_ORDER__.
8373 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8374 Delete.
8375
455c8f48
RW
83762010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8377
8378 PR other/46202
8379 * Makefile.in (install-strip): New phony target.
8380
f3824a8b
ILT
83812010-11-07 Ian Lance Taylor <iant@google.com>
8382
8383 PR target/46089
8384 * config/i386/morestack.S (__morestack_large_model): New
8385 function.
8386
18ed6ee4
NF
83872010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8388
8389 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8390 Delete.
8391 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8392
8ac7fdcb
NF
83932010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8394
8395 * config/arm/bpabi.h: New file.
8396 * config/frv/frv-abi.h: New file.
8397
cdb388c2
ILT
83982010-10-01 Ian Lance Taylor <iant@google.com>
8399
8400 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8401 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8402
ef7c141c
L
84032010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8404
8405 PR target/45858
8406 * config.host: Add the missing `$'.
8407
80920132
ME
84082010-09-30 Michael Eager <eager@eagercon.com>
8409
8410 * config.host: Add microblaze*-*-*.
8411 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8412 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8413 udivsi3.asm,umodsi3.asm}: New.
8414
6dace308
ILT
84152010-09-28 Ian Lance Taylor <iant@google.com>
8416
8417 * configure.ac: Adjust CFI test to test assembler directly rather
8418 than checking gcc preprocessor macro.
8419 * configure: Rebuild.
8420
b6110d6d
ILT
84212010-09-27 Ian Lance Taylor <iant@google.com>
8422
8423 * configure.ac: Test whether assembler supports CFI directives.
8424 * config.host: Only add t-stack and i386/t-stack-i386 to
8425 tmake_file if libgcc_cv_cfi is "yes".
8426 * configure: Rebuild.
8427
7458026b
ILT
84282010-09-27 Ian Lance Taylor <iant@google.com>
8429
8430 * generic-morestack.h: New file.
8431 * generic-morestack.c: New file.
8432 * generic-morestack-thread.c: New file.
8433 * config/i386/morestack.S: New file.
8434 * config/t-stack: New file.
8435 * config/i386/t-stack-i386: New file.
8436 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8437 i386/t-stack-i386 to tmake_file.
8438
5b50fc0c
IS
84392010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8440
8441 * Makefile.in (libgcc-extra-parts): Check for static archives and
8442 invoke ranlib after installing them.
8443 (gcc-extra-parts): Likewise.
8444 (install-leaf): Likewise.
8445
b93cf342
L
84462010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8447
8448 * configure: Regenerated.
8449
996b42ef
KT
84502010-09-10 Kai Tietz <kai.tietz@onevision.com>
8451
b93cf342 8452 * configure: Regenerated.
996b42ef 8453
be1c764e
GP
84542010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8455 Andrew Pinski <pinskia@gmail.com>
8456
1da9434b 8457 PR target/40959
be1c764e
GP
8458 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8459
cc0ae0ca
L
84602010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8461
8462 PR target/45524
8463 * configure: Regenerated.
8464
84f47d20
AS
84652010-09-06 Andreas Schwab <schwab@redhat.com>
8466
8467 * configure: Regenerate.
8468
4159fb8d
UB
84692010-09-03 Uros Bizjak <ubizjak@gmail.com>
8470
8471 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8472 64bit targets.
8473 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8474 for 64bit targets.
8475
0df8fcc8
UB
84762010-09-03 Uros Bizjak <ubizjak@gmail.com>
8477 Iain Sandoe <iains@gcc.gnu.org>
8478
8479 PR target/45476
8480 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8481 LIB2FUNCS_EXCLUDE functions.
8482
3c39bca6
AK
84832010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8484
8485 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8486 Include dfp.m4.
8487 * configure: Regenerate.
8488
d78552bd
UB
84892010-09-01 Uros Bizjak <ubizjak@gmail.com>
8490
8491 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8492 i386/t-freebsd to tmake_file.
8493 * config/i386/t-freebsd: New file.
8494 * config/i386/libgcc-bsd.ver: New file.
8495
c5b79d4e
NF
84962010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8497
8498 * config.host (powerpc*-eabispe*): Set tmake_file.
8499 (powerpc*-eabi*): Likewise.
8500 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8501 crtbeginS, crtendS, crtbeginT.
8502
48b09a92
KH
85032010-06-12 Kazu Hirata <kazu@codesourcery.com>
8504
8505 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8506 to tmake_file. Add crtfastmath.o to extra_parts.
8507 * config/mips/t-crtfm: New.
8508
7d296953 85092010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
8510
8511 * config.host (sparc64-*-rtems*): New target.
8512
ed104137
RO
85132010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8514
8515 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8516 assembler syntax.
8517
3f56ef8b
TS
85182010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8519
8520 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8521
8c200350
RO
85222010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8523
8524 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8525 alpha-dec-osf5.0* support.
8526
7d296953 85272010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
8528
8529 * config.host: Add lm32-*-rtems*.
8530
f128db92 85312010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 8532 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
8533
8534 PR target/39048
8535 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8536 like other remaining 32-bit x86 OSes.
8537 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8538 assembler syntax.
8539 * config/i386/libgcc-sol2.ver: New file.
8540 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8541
7d296953 85422010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
8543
8544 PR c/43553
8545 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8546 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8547 is used and substitute set_use_emutls.
8548 * configure: Regenerated.
8549
15baf7f8
TG
85502010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8551
8552 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8553
7f5441df
RO
85542010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8555
8556 PR target/38085
8557 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8558 MULTILIB_CFLAGS.
8559 ($(T)gcrt1.o): Likewise.
8560 ($(T)crt1.o): Likewise.
8561 ($(T)crti.o): Likewise.
8562 ($(T)crtn.o): Likewise.
8563
ef74edbd
RW
85642010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8565
8566 PR other/42980
8567 * Makefile.in (install): Use $(MAKE) string in rule, for
8568 parallel make.
8569
e7c914db
HPN
85702010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8571
8572 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8573 * config/mmix/t-mmix: New file.
8574 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8575
1bcb71c4
JH
85762010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8577
8578 PR java/41991
8579 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8580 SHLIB_MAPFILES.
8581
e6e50811
AG
85822010-01-04 Anthony Green <green@moxielogic.com>
8583
8584 * config/moxie/crti.asm, config/moxie/crtn.asm,
8585 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8586 config/moxie/t-moxie: New files.
8587 * config.host: Add t-moxie-softfp reference.
8588
7d296953 85892009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
8590
8591 PR other/39888
8592 * config/t-slibgcc-darwin: Fix embedded rpaths for
8593 --enable-version-specific-runtime-libs, build extension stub
8594 libs exposing features available from current libgcc_s.
8595
7d296953 85962009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 8597
d78552bd
UB
8598 * config.host: Add lm32 targets.
8599 * config/lm32: New directory.
8600 * config/lm32/libgcc_lm32.h: New file.
8601 * config/lm32/_mulsi3.c: New file.
8602 * config/lm32/_udivmodsi4.c: New file.
8603 * config/lm32/_divsi3.c: New file.
8604 * config/lm32/_modsi3.c: New file.
8605 * config/lm32/_udivsi3.c: New file.
8606 * config/lm32/_umodsi3.c: New file.
8607 * config/lm32/_lshrsi3.S: New file.
8608 * config/lm32/_ashrsi3.S: New file.
8609 * config/lm32/_ashlsi3.S: New file.
8610 * config/lm32/crti.S: New file.
8611 * config/lm32/crtn.S: New file.
8612 * config/lm32/t-lm32: New file.
8613 * config/lm32/t-elf: New file.
8614 * config/lm32/t-uclinux: New file.
aa4945c1 8615
65a324b4
NC
86162009-10-26 Nick Clifton <nickc@redhat.com>
8617
8618 * config.host: Add support for RX target.
8619 * config/rx: New directory.
8620 * config/rx/rx-abi-functions.c: New file. Supplementary
8621 functions for libgcc to support the RX ABI.
8622 * config/rx/rx-abi.h: New file. Supplementary header file for
8623 libgcc RX ABI functions.
8624 * config/rx/t-rx: New file: Makefile fragment for building
8625 libgcc for the RX.
8626
dfb3b0e3
UB
86272009-10-09 Uros Bizjak <ubizjak@gmail.com>
8628
8629 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8630 constraint of y0 to "g".
8631
81dd9fd7
AK
86322009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8633
8634 * config.host: Include the s390 makefile fragments.
8635 * config/s390/32/_fixdfdi.c: New file.
8636 * config/s390/32/_fixsfdi.c: New file.
8637 * config/s390/32/_fixtfdi.c: New file.
8638 * config/s390/32/_fixunsdfdi.c: New file.
8639 * config/s390/32/_fixunssfdi.c: New file.
8640 * config/s390/32/_fixunstfdi.c: New file.
8641 * config/s390/32/t-floattodi: New file.
8642 * config/s390/libgcc-glibc.ver: New file.
8643 * config/s390/t-crtstuff: New file.
8644 * config/s390/t-linux: New file.
8645 * config/s390/t-tpf: New file.
8646
df58e648
RW
86472009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8648
8649 * configure.ac (AC_PREREQ): Bump to 2.64.
8650
79052be3
KK
86512009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8652
8653 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8654
5213506e
RW
86552009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8656
8657 * configure: Regenerate.
8658
a9a25daa
DR
86592009-08-09 Douglas B Rupp <rupp@gnat.com>
8660
8661 * config.host (ia64-hp-*vms*): New target.
8662 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8663 with ia64-hp-*vms*.
8664
6efbd53f
RW
86652009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8666
8667 * configure.ac: Add snippet for maintainer-mode.
8668 * configure: Regenerate.
8669 * Makefile.in (AUTOCONF, configure_deps): New variables.
8670 ($(srcdir)/configure)): New rule, active only with maintainer
8671 mode turned on.
8672
7acf4da6
DD
86732009-06-23 DJ Delorie <dj@redhat.com>
8674
8675 Add MeP port.
8676 * config.host: Add mep support.
8677
54f549af
KT
86782009-06-22 Kai Tietz <kai.tietz@onevision.com>
8679
34481f28 8680 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8681 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
8682
8683 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8684 for mingw targets.
54f549af
KT
8685 * config/i386/64/_multc3.c: Likewise.
8686 * config/i386/64/_powitf2.c: Likewise.
8687 * config/i386/64/eqtf2.c: Likewise.
8688 * config/i386/64/getf2.c: Likewise.
8689 * config/i386/64/letf2.c: Likewise.
8690 * config/i386/64/letf2.c: Likewise.
34481f28
UB
8691 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8692 unsigned long long for x64 mingw targets.
8693 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8694 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 8695
fea96e25
MR
86962009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8697
8698 * config.host (vax-*-linux*): New.
8699
cceb575c
AG
87002009-05-31 Anthony Green <green@moxielogic.com>
8701
8702 * config.host: Add moxie support.
8703 * config/moxie/t-moxie: New file.
8704
7d296953 87052009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
8706
8707 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8708 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 8709
532bfb0a
AJ
87102009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8711
8712 * config.host: Add i386/${host_address}/t-fprules-softfp to
8713 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8714
748086b7
JJ
87152009-04-09 Nick Clifton <nickc@redhat.com>
8716
8717 * config/ia64/tf-signs.c: Change copyright header to refer to
8718 version 3 of the GNU General Public License with version 3.1
8719 of the GCC Runtime Library Exception and to point readers at
8720 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8721 web page.
8722 * config/i386/32/tf-signs.c: Likewise.
8723 * config/libbid/_addsub_dd.c: Likewise.
8724 * config/libbid/_addsub_sd.c: Likewise.
8725 * config/libbid/_addsub_td.c: Likewise.
8726 * config/libbid/_dd_to_df.c: Likewise.
8727 * config/libbid/_dd_to_di.c: Likewise.
8728 * config/libbid/_dd_to_sd.c: Likewise.
8729 * config/libbid/_dd_to_sf.c: Likewise.
8730 * config/libbid/_dd_to_si.c: Likewise.
8731 * config/libbid/_dd_to_td.c: Likewise.
8732 * config/libbid/_dd_to_tf.c: Likewise.
8733 * config/libbid/_dd_to_udi.c: Likewise.
8734 * config/libbid/_dd_to_usi.c: Likewise.
8735 * config/libbid/_dd_to_xf.c: Likewise.
8736 * config/libbid/_df_to_dd.c: Likewise.
8737 * config/libbid/_df_to_sd.c: Likewise.
8738 * config/libbid/_df_to_td.c: Likewise.
8739 * config/libbid/_di_to_dd.c: Likewise.
8740 * config/libbid/_di_to_sd.c: Likewise.
8741 * config/libbid/_di_to_td.c: Likewise.
8742 * config/libbid/_div_dd.c: Likewise.
8743 * config/libbid/_div_sd.c: Likewise.
8744 * config/libbid/_div_td.c: Likewise.
8745 * config/libbid/_eq_dd.c: Likewise.
8746 * config/libbid/_eq_sd.c: Likewise.
8747 * config/libbid/_eq_td.c: Likewise.
8748 * config/libbid/_ge_dd.c: Likewise.
8749 * config/libbid/_ge_sd.c: Likewise.
8750 * config/libbid/_ge_td.c: Likewise.
8751 * config/libbid/_gt_dd.c: Likewise.
8752 * config/libbid/_gt_sd.c: Likewise.
8753 * config/libbid/_gt_td.c: Likewise.
8754 * config/libbid/_isinfd128.c: Likewise.
8755 * config/libbid/_isinfd32.c: Likewise.
8756 * config/libbid/_isinfd64.c: Likewise.
8757 * config/libbid/_le_dd.c: Likewise.
8758 * config/libbid/_le_sd.c: Likewise.
8759 * config/libbid/_le_td.c: Likewise.
8760 * config/libbid/_lt_dd.c: Likewise.
8761 * config/libbid/_lt_sd.c: Likewise.
8762 * config/libbid/_lt_td.c: Likewise.
8763 * config/libbid/_mul_dd.c: Likewise.
8764 * config/libbid/_mul_sd.c: Likewise.
8765 * config/libbid/_mul_td.c: Likewise.
8766 * config/libbid/_ne_dd.c: Likewise.
8767 * config/libbid/_ne_sd.c: Likewise.
8768 * config/libbid/_ne_td.c: Likewise.
8769 * config/libbid/_sd_to_dd.c: Likewise.
8770 * config/libbid/_sd_to_df.c: Likewise.
8771 * config/libbid/_sd_to_di.c: Likewise.
8772 * config/libbid/_sd_to_sf.c: Likewise.
8773 * config/libbid/_sd_to_si.c: Likewise.
8774 * config/libbid/_sd_to_td.c: Likewise.
8775 * config/libbid/_sd_to_tf.c: Likewise.
8776 * config/libbid/_sd_to_udi.c: Likewise.
8777 * config/libbid/_sd_to_usi.c: Likewise.
8778 * config/libbid/_sd_to_xf.c: Likewise.
8779 * config/libbid/_sf_to_dd.c: Likewise.
8780 * config/libbid/_sf_to_sd.c: Likewise.
8781 * config/libbid/_sf_to_td.c: Likewise.
8782 * config/libbid/_si_to_dd.c: Likewise.
8783 * config/libbid/_si_to_sd.c: Likewise.
8784 * config/libbid/_si_to_td.c: Likewise.
8785 * config/libbid/_td_to_dd.c: Likewise.
8786 * config/libbid/_td_to_df.c: Likewise.
8787 * config/libbid/_td_to_di.c: Likewise.
8788 * config/libbid/_td_to_sd.c: Likewise.
8789 * config/libbid/_td_to_sf.c: Likewise.
8790 * config/libbid/_td_to_si.c: Likewise.
8791 * config/libbid/_td_to_tf.c: Likewise.
8792 * config/libbid/_td_to_udi.c: Likewise.
8793 * config/libbid/_td_to_usi.c: Likewise.
8794 * config/libbid/_td_to_xf.c: Likewise.
8795 * config/libbid/_tf_to_dd.c: Likewise.
8796 * config/libbid/_tf_to_sd.c: Likewise.
8797 * config/libbid/_tf_to_td.c: Likewise.
8798 * config/libbid/_udi_to_dd.c: Likewise.
8799 * config/libbid/_udi_to_sd.c: Likewise.
8800 * config/libbid/_udi_to_td.c: Likewise.
8801 * config/libbid/_unord_dd.c: Likewise.
8802 * config/libbid/_unord_sd.c: Likewise.
8803 * config/libbid/_unord_td.c: Likewise.
8804 * config/libbid/_usi_to_dd.c: Likewise.
8805 * config/libbid/_usi_to_sd.c: Likewise.
8806 * config/libbid/_usi_to_td.c: Likewise.
8807 * config/libbid/_xf_to_dd.c: Likewise.
8808 * config/libbid/_xf_to_sd.c: Likewise.
8809 * config/libbid/_xf_to_td.c: Likewise.
8810 * config/libbid/bid128.c: Likewise.
8811 * config/libbid/bid128_2_str.h: Likewise.
8812 * config/libbid/bid128_2_str_macros.h: Likewise.
8813 * config/libbid/bid128_2_str_tables.c: Likewise.
8814 * config/libbid/bid128_add.c: Likewise.
8815 * config/libbid/bid128_compare.c: Likewise.
8816 * config/libbid/bid128_div.c: Likewise.
8817 * config/libbid/bid128_fma.c: Likewise.
8818 * config/libbid/bid128_logb.c: Likewise.
8819 * config/libbid/bid128_minmax.c: Likewise.
8820 * config/libbid/bid128_mul.c: Likewise.
8821 * config/libbid/bid128_next.c: Likewise.
8822 * config/libbid/bid128_noncomp.c: Likewise.
8823 * config/libbid/bid128_quantize.c: Likewise.
8824 * config/libbid/bid128_rem.c: Likewise.
8825 * config/libbid/bid128_round_integral.c: Likewise.
8826 * config/libbid/bid128_scalb.c: Likewise.
8827 * config/libbid/bid128_sqrt.c: Likewise.
8828 * config/libbid/bid128_string.c: Likewise.
8829 * config/libbid/bid128_to_int16.c: Likewise.
8830 * config/libbid/bid128_to_int32.c: Likewise.
8831 * config/libbid/bid128_to_int64.c: Likewise.
8832 * config/libbid/bid128_to_int8.c: Likewise.
8833 * config/libbid/bid128_to_uint16.c: Likewise.
8834 * config/libbid/bid128_to_uint32.c: Likewise.
8835 * config/libbid/bid128_to_uint64.c: Likewise.
8836 * config/libbid/bid128_to_uint8.c: Likewise.
8837 * config/libbid/bid32_to_bid128.c: Likewise.
8838 * config/libbid/bid32_to_bid64.c: Likewise.
8839 * config/libbid/bid64_add.c: Likewise.
8840 * config/libbid/bid64_compare.c: Likewise.
8841 * config/libbid/bid64_div.c: Likewise.
8842 * config/libbid/bid64_fma.c: Likewise.
8843 * config/libbid/bid64_logb.c: Likewise.
8844 * config/libbid/bid64_minmax.c: Likewise.
8845 * config/libbid/bid64_mul.c: Likewise.
8846 * config/libbid/bid64_next.c: Likewise.
8847 * config/libbid/bid64_noncomp.c: Likewise.
8848 * config/libbid/bid64_quantize.c: Likewise.
8849 * config/libbid/bid64_rem.c: Likewise.
8850 * config/libbid/bid64_round_integral.c: Likewise.
8851 * config/libbid/bid64_scalb.c: Likewise.
8852 * config/libbid/bid64_sqrt.c: Likewise.
8853 * config/libbid/bid64_string.c: Likewise.
8854 * config/libbid/bid64_to_bid128.c: Likewise.
8855 * config/libbid/bid64_to_int16.c: Likewise.
8856 * config/libbid/bid64_to_int32.c: Likewise.
8857 * config/libbid/bid64_to_int64.c: Likewise.
8858 * config/libbid/bid64_to_int8.c: Likewise.
8859 * config/libbid/bid64_to_uint16.c: Likewise.
8860 * config/libbid/bid64_to_uint32.c: Likewise.
8861 * config/libbid/bid64_to_uint64.c: Likewise.
8862 * config/libbid/bid64_to_uint8.c: Likewise.
8863 * config/libbid/bid_b2d.h: Likewise.
8864 * config/libbid/bid_binarydecimal.c: Likewise.
8865 * config/libbid/bid_conf.h: Likewise.
8866 * config/libbid/bid_convert_data.c: Likewise.
8867 * config/libbid/bid_decimal_data.c: Likewise.
8868 * config/libbid/bid_decimal_globals.c: Likewise.
8869 * config/libbid/bid_div_macros.h: Likewise.
8870 * config/libbid/bid_dpd.c: Likewise.
8871 * config/libbid/bid_flag_operations.c: Likewise.
8872 * config/libbid/bid_from_int.c: Likewise.
8873 * config/libbid/bid_functions.h: Likewise.
8874 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8875 * config/libbid/bid_inline_add.h: Likewise.
8876 * config/libbid/bid_internal.h: Likewise.
8877 * config/libbid/bid_round.c: Likewise.
8878 * config/libbid/bid_sqrt_macros.h: Likewise.
8879
88802009-04-09 Jakub Jelinek <jakub@redhat.com>
8881
8882 * Makefile.in: Change copyright header to refer to version
8883 3 of the GNU General Public License and to point readers at the
8884 COPYING3 file and the FSF's license web page.
8885 * config.host: Likewise.
8886
633dd061
AM
88872009-04-07 Alan Modra <amodra@bigpond.net.au>
8888
8889 * config.host: Reorder and merge to match config.gcc change.
8890
457d1d00
AM
88912009-04-03 Alan Modra <amodra@bigpond.net.au>
8892
8893 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8894
52c0e446
JM
88952009-03-28 Joseph Myers <joseph@codesourcery.com>
8896
8897 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8898 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8899 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8900 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8901
ba181049
UB
89022009-02-12 Uros Bizjak <ubizjak@gmail.com>
8903
8904 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8905 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8906
c252db20
L
89072009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8908
ba181049
UB
8909 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8910 ia64/t-softfp-compat to tmake_file.
c252db20
L
8911
8912 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8913
8914 * config/ia64/__divxf3.asm: New.
8915 * config/ia64/_fixtfdi.asm: Likewise.
8916 * config/ia64/_fixunstfdi.asm: Likewise.
8917 * config/ia64/_floatditf.asm: Likewise.
8918 * config/ia64/t-fprules-softfp: Likewise.
8919 * config/ia64/t-softfp-compat: Likewise.
8920 * config/ia64/tf-signs.c: Likewise.
8921
c60535f9
BE
89222009-01-18 Ben Elliston <bje@au.ibm.com>
8923
8924 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8925
ce16861e
BE
89262009-01-16 Ben Elliston <bje@au.ibm.com>
8927
8928 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8929 to tmake_file.
8930
bcf4713b
BE
89312009-01-13 Ben Elliston <bje@au.ibm.com>
8932
8933 * config/t-softfp: New file.
8934 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8935 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8936
7d296953 89372009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
8938
8939 * config.host: Add m32r*-*-rtems*.
8940
7d296953 89412008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
8942
8943 * config.host: Add m32c*-*-rtems*.
8944
19523300
RO
89452008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8946
8947 PR bootstrap/33100
8948 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8949 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8950 * configure: Regenerate.
8951 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8952 tmake_file here from gcc/config.gcc.
8953 Move extra_parts here from gcc/config.gcc.
8954 * config/i386/t-sol2: Move here from gcc/config/i386.
8955 Use gcc_srcdir instead of srcdir.
8956
0a4a51c7
AN
89572008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8958
8959 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8960 case.
8961
2a761e46
TS
89622008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8963
8964 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8965
c0451df7
TS
89662008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8967
8968 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8969
358da97e
HS
89702008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8971
8972 Add picoChip port.
8973 * config.host: Add picochip-*-*.
8974
c660f132
BW
89752008-08-06 Bob Wilson <bob.wilson@acm.org>
8976
8977 * config.host: Match more processor names for Xtensa.
8978
d1349557
L
89792008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8980
8981 * config/i386/64/t-softfp-compat: Update comments.
8982
dd7b73c0
L
89832008-07-07 H.J. Lu <hongjiu.lu@intel.com>
8984
8985 * config/i386/64/_divtc3-compat.c: Moved to ...
8986 * config/i386/64/_divtc3.c: Here.
8987
8988 * config/i386/64/_multc3-compat.c: Moved to ...
8989 * config/i386/64/_multc3.c: Here.
8990
8991 * config/i386/64/_powitf2-compat.c: Moved to ...
8992 * config/i386/64/_powitf2.c: Here.
8993
8994 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8995 .c suffix instead of -compat.c.
8996
6e1fab3d
UB
89972008-07-05 Uros Bizjak <ubizjak@gmail.com>
8998
8999 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9000 (_FP_MUL_MEAT_D): Ditto.
9001 (_FP_DIV_MEAT_S): Ditto.
9002 (_FP_DIV_MEAT_D): Ditto.
9003
f92518d7
RS
90042008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9005
9006 * Makefile.in: Add support for __sync_* libgcc functions.
9007
d0aede14
L
90082008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9009
9010 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9011
c174f11c
L
90122008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9013
9014 PR boostrap/36702
9015 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9016 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9017
9018 * config/i386/64/t-fprules-softfp: Moved to ...
9019 * config/i386/64/t-softfp-compat: This. New.
9020
5f464fa2
UB
90212008-07-02 Uros Bizjak <ubizjak@gmail.com>
9022
9023 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9024 Initialize f with 0.0.
9025
ff473280
L
90262008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9027
9028 PR target/36669
9029 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9030
9031 * config/i386/64/_divtc3-compat.c: New.
9032 * config/i386/64/_multc3-compat.c: Likewise.
9033 * config/i386/64/_powitf2-compat.c: Likewise.
9034 * config/i386/64/eqtf2.c: Likewise.
9035 * config/i386/64/getf2.c: Likewise.
9036 * config/i386/64/letf2.c: Likewise.
9037 * config/i386/64/t-fprules-softfp: Likewise.
9038
90392008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9040
9041 * config.host: Add i386/${host_address}/t-fprules-softfp to
9042 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9043 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9044
9045 * configure.ac: Set host_address to 64 or 32 for x86.
9046 * configure: Regenerated.
9047
9048 * Makefile.in (config.status): Also depend on
9049 $(srcdir)/config.host.
9050
9051 * config/i386/32/t-fprules-softfp: New.
9052 * config/i386/32/tf-signs.c: Likewise.
9053
9054 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9055
90562008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9057 Uros Bizjak <ubizjak@gmail.com>
9058
9059 * config/i386/32/sfp-machine.h: New.
9060
30551d99
NF
90612008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9062
9063 * config/rs6000/t-ppccomm: Remove rules that conflict with
9064 auto-generated rules.
9065
18c04407
RW
90662008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9067
9068 * configure.ac: sinclude override.m4.
9069 * configure: Regenerate.
9070
10fbe77a
BRF
90712008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9072
9073 * configure: Regenerate.
9074
bc6d4c3f
JM
90752008-06-10 Joseph Myers <joseph@codesourcery.com>
9076
9077 * Makefile.in (DECNUMINC): Remove
9078 -I$(MULTIBUILDTOP)../../libdecnumber.
9079 * gstdint.h: New.
9080
cd985f66
JM
90812008-06-07 Joseph Myers <joseph@codesourcery.com>
9082
9083 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9084 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9085 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9086 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9087 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9088 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9089 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9090 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9091 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9092 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9093 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9094 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9095 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9096 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9097
93fea8d3
AL
90982008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9099
9100 * config.host (sh2[lbe]*-*-linux*): Allow target.
9101
18724e30
NF
91022008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9103
9104 * config/rs6000/t-ppccomm: Add build rules for new files.
9105 (LIB2ADD_ST): New variable.
9106
47583040
AH
91072008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9108
9109 PR target/34210
9110 PR target/35508
9111 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9112 * config/t-avr: New file. Build 16bit libgcc functions.
9113
cf8e67fe
JJ
91142008-03-02 Jakub Jelinek <jakub@redhat.com>
9115
9116 PR target/35401
9117 * config/t-slibgcc-darwin: Make install-leaf dependent on
9118 install-darwin-libgcc-stubs instead of install.
9119
8d8da227
JM
91202008-01-25 Joseph Myers <joseph@codesourcery.com>
9121
9122 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9123 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9124 sh-*-rtemscoff*): Remove cases.
9125
edbf8b16
RS
91262007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9127
9128 * Makefile.in (all): Use install-leaf rather than install.
9129 (install): Split most of the rule into...
9130 (install-leaf): ...this new one.
9131
89deeaff
EK
91322007-12-19 Etsushi Kato <ek.kato@gmail.com>
9133 Paolo Bonzini <bonzini@gnu.org>
9134
9135 PR target/30572
5f464fa2
UB
9136 * Makefile.in: Use @shlib_slibdir@ substitution to get
9137 correct install name on darwin.
89deeaff 9138 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9139
4081d704
HPN
91402007-12-15 Hans-Peter Nilsson <hp@axis.com>
9141
9142 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9143 cris-*-elf and cris-*-none.
9144 (crisv32-*-linux*): Similar, as cris-*-linux*.
9145
f43e89a3
RIL
91462007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9147
9148 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9149
b4e9c2c6
L
91502007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9151
9152 PR regression/33926
9153 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9154 * configure: Regenerated.
9155
b2a00c89
L
91562007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9157
9158 * Makefile.in (dfp-filenames): Replace decimal_globals,
9159 decimal_data, binarydecimal and convert_data with
9160 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9161 and bid_convert_data, respectively.
9162
8d2a9e0e
CF
91632007-09-17 Chao-ying Fu <fu@mips.com>
9164 Nigel Stephens <nigel@mips.com>
9165
9166 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9167 * Makefile.in (fixed_point): Define.
9168 Check if fixed_point is yes to build support functions.
9169 * configure.ac: Check for fixed_point support.
9170 * configure: Regenerated.
9171 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9172 funcs, modes, from, to.
9173
2b53935d
JJ
91742007-09-11 Janis Johnson <janis187@us.ibm.com
9175
9176 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9177
2533577f
JJ
91782007-09-10 Janis Johnson <janis187@us.ibm.com>
9179
9180 * Makefile.in (dfp-filenames): Remove decUtility, add
9181 decDouble, decPacked, decQuad, decSingle.
9182
3ae3dbd6
HK
91832007-08-27 Hans Kester <hans.kester@ellips.nl>
9184
9185 * config.host : Add x86_64-elf target.
9186
22867d02
L
91872007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9188
9189 * configure.ac (set_have_cc_tls): Add a missing =.
9190 * configure: Regenerated.
9191
6f461e76
L
91922007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9193
9194 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9195 and x86_64-*-linux*.
9196
9197 * config/t-tls: New file.
9198
dfb3b0e3 9199 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9200
9201 * configure.ac: Include ../config/enable.m4 and
9202 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9203 supports TLS and substitute set_have_cc_tls.
9204 * configure: Regenerated.
9205
200359e8
L
92062007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9207
9208 * Makefile.in: Use libbid for DFP when BID is enabled.
9209
76f5e200
DS
92102007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9211
9212 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9213 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9214 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9215
9bd196f0 92162007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9217 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9218
9219 PR target/29498
9220 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9221 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9222 * config/i386/t-crtfm: Compile crtfastmath.o with
9223 -minline-all-stringops.
9224
1910440e
RS
92252007-05-10 Richard Sandiford <richard@codesourcery.com>
9226
9227 * config.host (sparc-wrs-vxworks): New target.
9228
7d33c31d
KH
92292007-04-14 Kazu Hirata <kazu@codesourcery.com>
9230
9231 * config.host: Recognize fido.
9232
96fccd0d
JJ
92332007-04-04 Janis Johnson <janis187@us.ibm.com>
9234
9235 * configure: Check host, not target, for decimal float support.
9236
577565f9
UB
92372007-04-03 Uros Bizjak <ubizjak@gmail.com>
9238
9239 * config/i386/t-crtpc: New file.
9240 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9241 (x86_64-*-linux*): Ditto.
577565f9 9242
ccf8e764
RH
92432007-02-30 Kai Tietz <kai.tietz@onevision.com>
9244
9245 * config.host (x86_64-*-mingw*): New target.
9246
79b87c74
MM
92472007-03-23 Michael Meissner <michael.meissner@amd.com>
9248 H.J. Lu <hongjiu.lu@intel.com>
9249
9250 * Makefile.in (enable_decimal_float): New.
9251 (DECNUMINC): Add
9252 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9253 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9254 (decbits-filenames): This.
9255 (decbits-objects): New.
9256 (libgcc-objects): Add $(decbits-objects).
9257
9258 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9259 Substitute enable_decimal_float.
9260 * configure: Regenerated.
9261
8fce4e31
HPN
92622007-03-19 Hans-Peter Nilsson <hp@axis.com>
9263
9264 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9265
e8bb4597
BM
92662007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9267
9268 * Makefile.in (install-info): New dummy target.
9269
344189f9
BS
92702007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9271
9272 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9273
ac84c172
BM
92742007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9275
9276 * Makefile.in: Add install-html and install-pdf dummy
9277 targets.
9278
cd5c2357
RS
92792007-02-05 Roger Sayle <roger@eyesopen.com>
9280 Daniel Jacobowitz <dan@codesourcery.com>
9281
9282 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9283 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9284 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9285
d9a66f98
JJ
92862007-01-29 Janis Johnson <janis187@us.ibm.com>
9287
9288 * Makefile.in (dec-filenames): Add decExcept.
9289
9891ec5f
DJ
92902007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9291
9292 PR bootstrap/30469
9293 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9294 -fprofile-use.
9295
d6efbf5a
DJ
92962007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9297
9298 * configure.ac: Add --enable-version-specific-runtime-libs.
9299 Correct $slibdir default.
9300 * configure: Regenerated.
9301
17caeff2
JM
93022007-01-23 Joseph Myers <joseph@codesourcery.com>
9303
9304 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9305
5ea41e3a
AP
93062007-01-21 Andrew Pinski <pinskia@gmail.com>
9307
9308 PR target/30519
9309 * config.host (alpha*-*-linux*): Set extra_parts.
9310
26900826
KK
93112007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9312
9313 * config/sh/t-linux: New.
9314 * config.host (sh*-*-linux*): Set tmake_file.
9315
97af925b
DJ
93162007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9317
9318 * Makefile.in (install): Handle multilibs.
9319
b0088af7
BM
93202007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9321
9322 * Makefile.in: Added .PHONY entry for documentation targets.
9323
e0a9456a
BM
93242007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9325
9326 * Makefile.in: Add empty info, html, dvi, pdf targets.
9327
7fd453b4
MS
93282007-01-04 Mike Stump <mrs@apple.com>
9329
9330 * Makefile.in (MAKEINFO): Remove.
9331 (PERL): Likewise.
9332
14e8fc8b
PB
93332007-01-04 Paolo Bonzini <bonzini@gnu.org>
9334
9335 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9336 * configure: Regenerate.
9337 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9338 (gcc_objdir): Use it.
14e8fc8b 9339
1555beba
DJ
93402007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9341
9342 * config.host (ia64*-*-linux*): Set tmake_file.
9343
79e6eaeb
DJ
93442007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9345
9346 * Makefile.in (version): Define.
9347
fa958513
DJ
93482007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9349 Paolo Bonzini <bonzini@gnu.org>
9350
9351 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9352 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9353 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9354 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9355 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9356 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9357 * configure: Generated.
818ab71a 9358\f
85ec4feb 9359Copyright (C) 2007-2018 Free Software Foundation, Inc.
818ab71a
JJ
9360
9361Copying and distribution of this file, with or without modification,
9362are permitted in any medium without royalty provided the copyright
9363notice and this notice are preserved.