]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
vxworks: add target/h/wrn/coreip to the set of system include paths
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
4cd0bc3b
J
12018-08-17 Jojo <jijie_rong@c-sky.com>
2 Huibin Wang <huibin_wang@c-sky.com>
3 Sandra Loosemore <sandra@codesourcery.com>
4 Chung-Lin Tang <cltang@codesourcery.com>
5
6 C-SKY port: libgcc
7
8 * config.host: Add C-SKY support.
9 * config/csky/*: New.
10
a4931745
CJW
112018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
12
13 * config/nds32/t-nds32-isr: Rearrange object dependency.
14 * config/nds32/initfini.c: Add dwarf2 unwinding support.
15 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
16 and registers usage.
17 * config/nds32/isr-library/excp_isr.S: Ditto.
18 * config/nds32/isr-library/intr_isr.S: Ditto.
19 * config/nds32/isr-library/reset.S: Ditto.
20 * config/nds32/isr-library/restore_all.inc: Ditto.
21 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
22 * config/nds32/isr-library/restore_partial.inc: Ditto.
23 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
24 * config/nds32/isr-library/save_all.inc: Ditto.
25 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
26 * config/nds32/isr-library/save_partial.inc: Ditto.
27 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
28 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
29
2b1969f6
JDA
302018-08-11 John David Anglin <danglin@gcc.gnu.org>
31
32 * config/pa/linux-atomic.c: Update comment.
33 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
34 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
35 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
36 __ATOMIC_RELAXED for atomic loads.
37 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
38 unordered store to release lock.
39 (__sync_lock_release_8): Likewise.
40 (SYNC_LOCK_RELEASE_2): Remove define.
41
89fff9cc
NP
422018-08-02 Nicolas Pitre <nico@fluxnic.net>
43
44 PR libgcc/86512
45 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
46 exponent goes negative. Update my email address.
47 * config/arm/ieee754-sf.S: Likewise.
48
fd2e1dcd
ML
492018-08-01 Martin Liska <mliska@suse.cz>
50
51 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
52 check that __gcov_indirect_call_callee is non-null.
53
b7415975
CL
542018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
55
56 * config/arm/ieee754-df.S: Fix comment for code working on
57 architectures >= 4.
58 * config/arm/ieee754-sf.S: Likewise.
59
b72e71a3
L
602018-07-27 H.J. Lu <hongjiu.lu@intel.com>
61
62 PR libgcc/85334
63 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
64 Removed.
65
1c686aa4
JC
662018-07-05 James Clarke <jrtc27@jrtc27.com>
67
68 * configure: Regenerated.
69
b61c9b99
RO
702018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
71
72 * Makefile.in (install_leaf): Use enable_gcov instead of
73 enable_libgcov.
74
1765b023
RV
752018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
76
77 * configure.ac: Add --disable-gcov option.
78 * configure: Regenerate.
79 * Makefile.in: Honour @enable_gcov@.
80
9b2e34ef
CL
812018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
82
83 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
84 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
85 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
86 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
87 __ARM_ARCH__.
88 * config/arm/ieee754-sf.S: Likewise.
89 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
90
d1b0dd54
CL
912018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
92
93 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
94 longer supported.
95 * config/arm/ieee754-sf.S: Likewise.
96
1f3fa525
TM
972018-06-20 Than McIntosh <thanm@google.com>
98
99 PR libgcc/86213
100 * generic-morestack.c (allocate_segment): Move calls to getenv and
101 getpagesize to __morestack_load_mmap.
102 (__morestack_load_mmap) Initialize static_pagesize and
103 use_guard_page here so as to avoid clobbering SSE regs during a
104 __morestack call.
105
6a8886e4
MM
1062018-06-18 Michael Meissner <meissner@linux.ibm.com>
107
108 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
109 support modules with -mno-gnu-attribute.
110 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
111
fb997097
OH
1122018-06-07 Olivier Hainque <hainque@adacore.com>
113
114 * config/t-vxworks (LIBGCC_INCLUDES): Add
115 -I$(MULTIBUILDTOP)../../gcc/include.
116 * config/t-vxworks7: Likewise. Reformat a bit to match
117 the t-vxworks layout.
118
a548a5a1
OM
1192018-06-07 Olga Makhotina <olga.makhotina@intel.com>
120
121 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
122
244aebfd
ML
1232018-06-07 Martin Liska <mliska@suse.cz>
124
125 * libgcov-driver.c: Rename cs_all to all and assign it from
126 all_prg.
127
6c086e8c
ML
1282018-06-07 Martin Liska <mliska@suse.cz>
129
130 PR bootstrap/86057
131 * libgcov-driver-system.c (replace_filename_variables): Use
132 memcpy instead of mempcpy.
133 (allocate_filename_struct): Do not allocate filename, allocate
134 prefix and set it.
135 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
136 here and properly copy content into it.
137 * libgcov-driver.c (struct gcov_filename): Remove max_length
138 field, change prefix from size_t into char *.
139 (compute_summary): Do not calculate longest filename.
140 (gcov_do_dump): Release memory of gf.filename after each file.
141 * libgcov-util.c (compute_summary): Use new signature of
142 compute_summary.
143 (calculate_overlap): Likewise.
144
97a53d1d
ML
1452018-06-05 Martin Liska <mliska@suse.cz>
146
147 PR gcov-profile/47618
148 * libgcov-driver-system.c (replace_filename_variables): New
149 function.
150 (gcov_exit_open_gcda_file): Use it.
151
7f3577f5
ML
1522018-06-05 Martin Liska <mliska@suse.cz>
153
154 * libgcov-driver.c (gcov_compute_histogram): Remove usage
155 of gcov_ctr_summary.
156 (compute_summary): Do it just for a single summary.
157 (merge_one_data): Likewise.
158 (merge_summary): Simplify as we read just single summary.
159 (dump_one_gcov): Pass proper argument.
160 * libgcov-util.c (compute_one_gcov): Simplify as we have just
161 single summary.
162 (gcov_info_count_all_cold): Likewise.
163 (calculate_overlap): Likewise.
164
cf3cd43d
CJW
1652018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
166 Monk Chiang <sh.chiang04@gmail.com>
167
168 * config.host (nds32*-linux*): New.
169 * config/nds32/linux-atomic.c: New file.
170 * config/nds32/linux-unwind.h: New file.
171
8b8003ed
UB
1722018-05-31 Uros Bizjak <ubizjak@gmail.com>
173
174 PR target/85591
175 * config/i386/cpuinfo.c (get_amd_cpu): Return
176 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
177
bbdf026f
RV
1782018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
179
180 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
181
0e8f29da
ML
1822018-05-29 Martin Liska <mliska@suse.cz>
183
184 PR gcov-profile/85759
185 * libgcov-driver-system.c (gcov_error): Introduce usage of
186 GCOV_EXIT_AT_ERROR env. variable.
187 * libgcov-driver.c (merge_one_data): Print error that we
188 overwrite a gcov file with a different timestamp.
189
54fd1590
K
1902018-05-23 Kalamatee <kalamatee@gmail.com>
191
192 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
193 path to Lf$finfty.
194
09baee1a
KC
1952018-05-18 Kito Cheng <kito.cheng@gmail.com>
196 Monk Chiang <sh.chiang04@gmail.com>
197 Jim Wilson <jimw@sifive.com>
198
199 * config/riscv/save-restore.S: Add support for rv32e.
200
c3f808d3
KT
2012018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
202
203 * config/arm/libunwind.S: Update comment relating to armv5.
204
fcf4f831
JL
2052018-05-17 Jerome Lambourg <lambourg@adacore.com>
206
207 * config/arm/cmse.c (cmse_check_address_range): Replace
208 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
209
74b2bb19
OM
2102018-05-17 Olga Makhotina <olga.makhotina@intel.com>
211
212 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
213 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
214
50e461df
OM
2152018-05-08 Olga Makhotina <olga.makhotina@intel.com>
216
217 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
218 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
219
e5f1cdb1
AC
2202018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
221
222 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
223
8f479d7a
AT
2242018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
225 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
226
227 PR libgcc/84292
228 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
229 op_and_fetch to return the right result.
230
ae043291
AM
2312018-04-27 Alan Modra <amodra@gmail.com>
232
233 PR libgcc/85532
234 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
235 -fno-asynchronous-unwind-tables.
236
ba169b74
CJW
2372018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
238
239 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
240 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
241
ffc2fc06
L
2422018-04-24 H.J. Lu <hongjiu.lu@intel.com>
243
244 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
245 when including "config/i386/shadow-stack-unwind.h".
246
7b47ecf2
L
2472018-04-24 H.J. Lu <hongjiu.lu@intel.com>
248
249 * configure: Regenerated.
250
661eb8f9
MM
2512018-04-20 Michael Meissner <meissner@linux.ibm.com>
252
253 PR target/85456
254 * config/rs6000/_powikf2.c: New file. Add support for the
255 __builtin_powil function when long double is IEEE 128-bit floating
256 point.
257 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
258 __powikf2 support.
259 (__powikf2): Likewise.
260 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
261 (__powikf2_hw): Likewise.
262 (__powikf2): Likewise.
263 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
264 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
265 (_powikf2-hw.c): Likewise.
266
5707be3c
L
2672018-04-19 H.J. Lu <hongjiu.lu@intel.com>
268
269 PR libgcc/85334
270 * unwind-generic.h (_Unwind_Frames_Increment): New.
271 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
272 Likewise.
273 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
274 count with _Unwind_Frames_Increment.
275 (_Unwind_ForcedUnwind_Phase2): Likewise.
276
5f9ca0b8
L
2772018-04-19 H.J. Lu <hongjiu.lu@intel.com>
278
279 PR libgcc/85379
280 * config/i386/morestack.S (__stack_split_initialize): Add
281 _CET_ENDBR.
282
a0e1df88
JJ
2832018-04-19 Jakub Jelinek <jakub@redhat.com>
284
285 * configure: Regenerated.
286
001ddaa8
DM
2872018-04-18 David Malcolm <dmalcolm@redhat.com>
288
289 PR jit/85384
290 * configure: Regenerate.
291
a57f99ba
JJ
2922018-04-16 Jakub Jelinek <jakub@redhat.com>
293
294 PR target/84945
295 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
296 -Wdangling-else warnings. Mask shift counts to avoid
297 -Wshift-count-negative and -Wshift-count-overflow false positives.
298
4d47fe5a
RB
2992018-04-06 Ruslan Bukin <br@bsdpad.com>
300
301 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
302
059cc8ac
L
3032018-03-29 H.J. Lu <hongjiu.lu@intel.com>
304
305 PR target/85100
306 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
307 (XSTATE_FP): Likewise.
308 (XSTATE_SSE): Likewise.
309 (XSTATE_YMM): Likewise.
310 (XSTATE_OPMASK): Likewise.
311 (XSTATE_ZMM): Likewise.
312 (XSTATE_HI_ZMM): Likewise.
313 (XCR_AVX_ENABLED_MASK): Likewise.
314 (XCR_AVX512F_ENABLED_MASK): Likewise.
315 (get_available_features): Enable AVX and AVX512 features only
316 if their states are supported by OSXSAVE.
317
f2620385
IT
3182018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
319
320 PR target/85025
321 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
322 Fix a typo, tmp => 255.
323
ae6dca8c
JJ
3242018-03-20 Jakub Jelinek <jakub@redhat.com>
325
326 PR target/84945
327 * config/i386/cpuinfo.h (__cpu_features2): Declare.
328 * config/i386/cpuinfo.c (__cpu_features2): New variable for
329 ifndef SHARED only.
330 (set_feature): Define.
331 (get_available_features): Use set_feature macro. Set __cpu_features2
332 to the second word of features ifndef SHARED.
333
c36b04c1
JK
3342018-03-15 Julia Koval <julia.koval@intel.com>
335
336 * config/i386/cpuinfo.c (get_available_features): Add
337 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
338 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
339 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
340 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
341 FEATURE_AVX512BITALG.
342
79ab5364
JK
3432018-03-14 Julia Koval <julia.koval@intel.com>
344
345 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
346 icelake client and icelake server.
347
66a00b11
JDA
3482018-03-06 John David Anglin <danglin@gcc.gnu.org>
349
350 * config/pa/fptr.c (_dl_read_access_allowed): New.
351 (__canonicalize_funcptr_for_compare): Use it.
352
ce579a4f
JJ
3532018-02-28 Jakub Jelinek <jakub@redhat.com>
354
355 PR debug/83917
356 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
357 $asm_hidden_op if visibility ("hidden") attribute works.
358 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
359 * config/i386/i386-asm.h: Don't include auto-host.h.
360 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
361 PACKAGE_URL): Don't undefine.
362 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
363 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
364 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
365 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
366 definition instead of hardcoded .hidden.
367 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
368 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
369 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
370 (USE_GAS_CFI_DIRECTIVES): Don't define.
371 * configure: Regenerated.
372 * config.in: Likewise.
373
e5868319
JJ
3742018-02-26 Jakub Jelinek <jakub@redhat.com>
375
376 PR debug/83917
377 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
378 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
379 inclusion of auto-target.h and auto-host.h.
380 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
381 __GCC_HAVE_DWARF2_CFI_ASM.
382 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
383 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
384 cfi_pop): Define.
385 * config/i386/cygwin.S: Don't include auto-host.h here, just
386 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
387 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
388 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
389 * config/i386/resms64fx.h: Add cfi_* directives.
390 * config/i386/resms64x.h: Likewise.
391
faef260e
MF
3922018-02-20 Max Filippov <jcmvbkbc@gmail.com>
393
394 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
395 .literal_position directive.
396 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
397
14e335ed
IT
3982018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
399
400 PR target/84148
401 * configure: Regenerate.
402
95df0433
IT
4032018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
404
405 PR target/84239
406 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
407 Include cetintrin.h not x86intrin.h.
408
f8de876d
IT
4092018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
410
411 PR target/84239
95df0433 412 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
413 Use new _get_ssp and _inc_ssp intrinsics.
414
02da1e9c
JK
4152018-02-02 Julia Koval <julia.koval@intel.com>
416
417 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
418
048c6a9a
CZ
4192018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
420
421 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
422 option.
423 (__divsi3): Use RF16 safe registers.
424 (__modsi3): Likewise.
425
0889f168
MF
4262018-01-23 Max Filippov <jcmvbkbc@gmail.com>
427
428 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
429 (__divsf3): Make NaN return value quiet.
430 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
431 (__divdf3): Make NaN return value quiet.
432
bc8b0d04
SP
4332018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
434
435 * config/rl78/anddi3.S: New assembly file.
436 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
437
99cc06ea
SP
4382018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
439
440 * config/rl78/umindi3.S: New assembly file.
441 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
442
6e9007a0
SP
4432018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
444
445 * config/rl78/smindi3.S: New assembly file.
446 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
447
d975e494
SP
4482018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
449
450 * config/rl78/smaxdi3.S: New assembly file.
451 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
452
6a18c146 4532018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
5dd16013
SP
454
455 * config/rl78/umaxdi3.S: New assembly file.
456 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
457
07baf4a5
JDA
4582018-01-21 John David Anglin <danglin@gcc.gnu.org>
459
460 PR lto/83452
461 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
462 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
463
dbc3af4f
RS
4642018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
465
466 * config/aarch64/value-unwind.h (aarch64_vg): New function.
467 (DWARF_LAZY_REGISTER_VALUE): Define.
468 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
469 to provide a fallback register value.
470
68df9882
MM
4712018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
472
473 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
474 __ibm128, instead of trying to use long double.
475 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
476 accomidate -mabi=ieeelongdouble multilibs.
477 (CVT_IBM128_TO_FLOAT128): Likewise.
478 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
479 the appropriate IBM extended double type.
480 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
481 (__gcc_qsub): Likewise.
482 (__gcc_qmul): Likewise.
483 (__gcc_qdiv): Likewise.
484 (pack_ldouble): Likewise.
485 (__gcc_qneg): Likewise.
486 (__gcc_qeq): Likewise.
487 (__gcc_qne): Likewise.
488 (__gcc_qge): Likewise.
489 (__gcc_qle): Likewise.
490 (__gcc_stoq): Likewise.
491 (__gcc_dtoq): Likewise.
492 (__gcc_itoq): Likewise.
493 (__gcc_utoq): Likewise.
494 (__gcc_qunord): Likewise.
495 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
496 quad-float128.h for the definitions.
497 (COPYSIGN): Use the f128 version instead of the q version.
498 (INFINITY): Likewise.
499 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
500 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
501 quad-float128.h for the definitions.
502 (COPYSIGN): Use the f128 version instead of the q version.
503 (INFINITY): Likewise.
504 (FABS): Likewise.
505 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
506 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
507 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
508
64b371b1
SH
5092018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
510
511 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
512 configuration.
513
85ec4feb
JJ
5142018-01-03 Jakub Jelinek <jakub@redhat.com>
515
516 Update copyright years.
517
5182017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
519
520 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
521 * config/riscv/multi3.c: New file.
522 * config/riscv/multi3.S: Remove.
523
3a4c600f
JW
5242017-12-08 Jim Wilson <jimw@sifive.com>
525
526 * config/riscv/div.S: Use FUNC_* macros.
527 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
528 * config/riscv/save-restore.S: Likewise.
529 * config/riscv/riscv-asm.h: New.
530
75ad35b5
MM
5312017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
532
6ae3512c
MM
533 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
534 * config/rs6000/_divkc3.c (__divkc3): Likewise.
535
75ad35b5
MM
536 PR libgcc/83112
537 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
538 correct type for all ifunc resolvers to silence -Wattribute-alias
539 warnings. Eliminate the forward declaration of the resolver
540 functions which is no longer needed.
541 (__subkf3_resolve): Likewise.
542 (__mulkf3_resolve): Likewise.
543 (__divkf3_resolve): Likewise.
544 (__negkf2_resolve): Likewise.
545 (__eqkf2_resolve): Likewise.
546 (__nekf2_resolve): Likewise.
547 (__gekf2_resolve): Likewise.
548 (__gtkf2_resolve): Likewise.
549 (__lekf2_resolve): Likewise.
550 (__ltkf2_resolve): Likewise.
551 (__unordkf2_resolve): Likewise.
552 (__extendsfkf2_resolve): Likewise.
553 (__extenddfkf2_resolve): Likewise.
554 (__trunckfsf2_resolve): Likewise.
555 (__trunckfdf2_resolve): Likewise.
556 (__fixkfsi_resolve): Likewise.
557 (__fixkfdi_resolve): Likewise.
558 (__fixunskfsi_resolve): Likewise.
559 (__fixunskfdi_resolve): Likewise.
560 (__floatsikf_resolve): Likewise.
561 (__floatdikf_resolve): Likewise.
562 (__floatunsikf_resolve): Likewise.
563 (__floatundikf_resolve): Likewise.
564 (__extendkftf2_resolve): Likewise.
565 (__trunctfkf2_resolve): Likewise.
566
567 PR libgcc/83103
568 * config/rs6000/quad-float128.h (TF): Don't define if long double
569 is IEEE 128-bit floating point.
570 (TCtype): Define as either TCmode or KCmode, depending on whether
571 long double is IEEE 128-bit floating point.
572 (__mulkc3_sw): Add declarations for software/hardware versions of
573 complex multiply/divide.
574 (__divkc3_sw): Likewise.
575 (__mulkc3_hw): Likewise.
576 (__divkc3_hw): Likewise.
577 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
578 handlers to switch between using software emulation and hardware
579 float128 instructions, build the complex multiply/divide functions
580 for both software and hardware support.
581 * config/rs6000/_divkc3.c (_divkc3): Likewise.
582 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
583 (__divkc3_resolve): Likewise.
584 (__mulkc3): Likewise.
585 (__divkc3): Likewise.
586 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
587 (fp128_hw_src): Likewise.
588 (fp128_hw_static_obj): Likewise.
589 (fp128_hw_shared_obj): Likewise.
590 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
591 _mulkc3.c and _divkc3.c, changing the function name.
592 (_divkc3-hw.c): Likewise.
593 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
594 and _divkc3-hw.c.
595
c234d831
UB
5962017-11-26 Julia Koval <julia.koval@intel.com>
597
598 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
599 * config/i386/cpuinfo.h (processor_subtypes): Add
600 INTEL_COREI7_CANNONLAKE.
601
1ebafce0
IT
6022017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
603
604 PR bootstrap/83015
605 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
606 parameter.
607 * config/xtensa/unwind-dw2-xtensa.c: Likewise
608 * config/ia64/unwind-ia64.c: Add frames parameter.
609 * unwind-sjlj.c: Likewise.
610
6a10fff4
IT
6112017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
612
613 * config/i386/linux-unwind.h: Include
614 config/i386/shadow-stack-unwind.h.
615 * config/i386/shadow-stack-unwind.h: New file.
616 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
617 pass it to _Unwind_Frames_Extra.
618 * unwind-generic.h (_Unwind_Frames_Extra): New.
619 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
620 parameter. Add local variable frames to count number of frames.
621 (_Unwind_ForcedUnwind_Phase2): Likewise.
622 (_Unwind_RaiseException): Add local variable frames to count
623 number of frames, pass it to _Unwind_RaiseException_Phase2 and
624 uw_install_context.
625 (_Unwind_ForcedUnwind): Likewise.
626 (_Unwind_Resume): Likewise.
627 (_Unwind_Resume_or_Rethrow): Likewise.
628
1ecae1fc
IT
6292017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
630
631 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
632 (CET_FLAGS): New.
633 * config/i386/morestack.S: Include <cet.h>.
634 (__morestack_large_model): Add _CET_ENDBR at function entrance.
635 * config/i386/resms64.h: Include <cet.h>.
636 * config/i386/resms64f.h: Likewise.
637 * config/i386/resms64fx.h: Likewise.
638 * config/i386/resms64x.h: Likewise.
639 * config/i386/savms64.h: Likewise.
640 * config/i386/savms64f.h: Likewise.
641 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
642 (CRTSTUFF_T_CFLAGS): Likewise.
643 * configure.ac: Include ../config/cet.m4.
644 Set and substitute CET_FLAGS.
645 * configure: Regenerated.
646
f021f1d3
RO
6472017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
648
649 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
650 renaming.
651 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
652 * configure.ac (libgcc_cv_solaris_crts): Likewise.
653 * configure: Regenerate.
654
65f480c7
TV
6552017-11-07 Tom de Vries <tom@codesourcery.com>
656
657 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
658 after "do {} while (0)".
659
2a321acb
TV
6602017-11-07 Tom de Vries <tom@codesourcery.com>
661
662 PR other/82784
663 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
664 semicolon after "do {} while (0)".
665 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
666 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
667 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
668 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
669
59fcf6c3
AT
6702017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
671
672 PR libgcc/82635
673 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
674 sysctl to determine whether we're in a trampoline.
675 Keep the pattern matching method for systems without
676 KERN_PROC_SIGTRAMP sysctl.
677
b0c7ddf8
CM
6782017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
679 Vineet Gupta <vgupta@synopsys.com>
680
681 * config.host (arc*-*-linux*): Set md_unwind_header variable.
682 * config/arc/linux-unwind-reg.def: New file.
683 * config/arc/linux-unwind-reg.h: Likewise.
684
5feee954
SP
6852017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
686
687 * config/rl78/subdi3.S: New assembly file.
688 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
689
a0bf6cf7
SP
6902017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
691
692 * config/rl78/adddi3.S: New assembly file.
693 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
694
e7176f75
JJ
6952017-10-13 Jakub Jelinek <jakub@redhat.com>
696
697 PR target/82274
698 * libgcc2.c (__mulvDI3): If both operands have
699 the same highpart of -1 and the topmost bit of lowpart is 0,
700 multiplication overflows even if both lowparts are 0.
701
db6601d2
JB
7022017-09-28 James Bowman <james.bowman@ftdichip.com>
703
704 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
705
938b6f1e
JM
7062017-09-26 Joseph Myers <joseph@codesourcery.com>
707
708 * config/microblaze/crti.S, config/microblaze/crtn.S,
709 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
710 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
711 config/microblaze/mulsi3.S,
712 config/microblaze/stack_overflow_exit.S,
713 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
714 config/pa/milli64.S: Add .note.GNU-stack section.
715
89762a83
DS
7162017-09-23 Daniel Santos <daniel.santos@pobox.com>
717
718 * configure.ac: Add Check for HAVE_AS_AVX.
719 * config.in: Regenerate.
720 * configure: Likewise.
721 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
722 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
723 Correct out-of-date comments.
724
cace2309
SP
7252017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
726
727 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
728 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
729
3cb626e4
DS
7302017-09-17 Daniel Santos <daniel.santos@pobox.com>
731
cace2309 732 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
733 (ASMNAME): Modify to use PASTE2.
734 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
735 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 736 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 737 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
738 * config/i386/resms64f.S: Likewise.
739 * config/i386/resms64fx.S: Likewise.
740 * config/i386/resms64x.S: Likewise.
741 * config/i386/savms64.S: Likewise.
742 * config/i386/savms64f.S: Likewise.
743 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 744 includes it's corresponding header file.
cace2309
SP
745 * config/i386/avx_resms64f.S: Likewise.
746 * config/i386/avx_resms64fx.S: Likewise.
747 * config/i386/avx_resms64x.S: Likewise.
748 * config/i386/avx_savms64.S: Likewise.
749 * config/i386/avx_savms64f.S: Likewise.
750 * config/i386/sse_resms64.S: Likewise.
751 * config/i386/sse_resms64f.S: Likewise.
752 * config/i386/sse_resms64fx.S: Likewise.
753 * config/i386/sse_resms64x.S: Likewise.
754 * config/i386/sse_savms64.S: Likewise.
755 * config/i386/sse_savms64f.S: Likewise.
756 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 757
2f19c491 7582017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
759 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
760
611e7036
OH
7612017-08-31 Olivier Hainque <hainque@adacore.com>
762
763 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
764 match as powerpc-wrs-vxworks*.
765
c8f34527
JY
7662017-08-07 Jonathan Yong <10walls@gmail.com>
767
768 * config.host (*-cygwin): Include file from mingw
769 config/i386/enable-execute-stack-mingw32.c
770
0b458d2b
JL
7712017-08-01 Jerome Lambourg <lambourg@adacore.com>
772 Doug Rupp <rupp@adacore.com>
773 Olivier Hainque <hainque@adacore.com>
774
775 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
776 as well as arm-wrs-vxworks.
777 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
778 LIB2ADDEH.
779 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
780 __exidx_start and __exidx_end for downloadable modules.
781
4df612fa
OH
7822017-08-01 Olivier Hainque <hainque@adacore.com>
783
784 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
785 * config/t-vxworks7: Likewise.
786
5560e8c0
OH
7872017-08-01 Olivier Hainque <hainque@adacore.com>
788
789 * config/t-vxworks: Instead of redefining LIB2ADD,
790 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
791
16bab95a
SH
7922017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
793
794 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
795
9cbc07cc
DS
7962017-07-24 Daniel Santos <daniel.santos@pobox.com>
797
798 PR testsuite/80759
799 * config.host: include i386/t-msabi for darwin and solaris.
800 * config/i386/i386-asm.h
801 (ELFFN): Rename to FN_TYPE.
802 (FN_SIZE): New macro.
803 (FN_HIDDEN): Likewise.
804 (ASMNAME): Likewise.
805 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
806 .globl.
807 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
808 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
809 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
810 .macro.
811 * config/i386/resms64f.S: Likewise.
812 * config/i386/resms64fx.S: Likewise.
813 * config/i386/resms64x.S: Likewise.
814 * config/i386/savms64.S: Likewise.
815 * config/i386/savms64f.S: Likewise.
816
de742204
JM
8172017-07-19 John Marino <gnugcc@marino.st>
818
819 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
820
3787ee47
MM
8212017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
822
823 PR target/81193
824 * configure.ac (PowerPC float128 hardware support): Test whether
825 we can use __builtin_cpu_supports before enabling the ifunc
826 handler.
827 * configure: Regenerate.
828
b1938888
VG
8292017-07-10 Vineet Gupta <vgupta@synopsys.com>
830
831 * config.host: Remove uclibc from arc target spec.
832
bec75e53
KW
8332017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
834
835 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
836
d4391a62
PB
8372017-07-07 Peter Bergner <bergner@vnet.ibm.com>
838
839 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
840 (have_ieee_hw_p): Delete function.
841 (SW_OR_HW) Use __builtin_cpu_supports().
842
9296dd9b
TP
8432017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
844
845 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
846
b85a969e
OH
8472017-07-03 Olivier Hainque <hainque@adacore.com>
848
d4391a62 849 * config/t-vxworks7: New file, really.
b85a969e 850
883312dc
JM
8512017-06-28 Joseph Myers <joseph@codesourcery.com>
852
853 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
854 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
855 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
856 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
857 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
858 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
859 config/pa/linux-unwind.h (pa32_fallback_frame_state),
860 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
861 config/sh/linux-unwind.h (sh_fallback_frame_state),
862 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
863 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
864 ucontext_t instead of struct ucontext.
865
50567938
JL
8662017-06-27 Jerome Lambourg <lambourg@adacore.com>
867
868 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
869 (x86_64-wrs-vxworks7): Likewise.
870
e4b0df93
OH
8712017-06-27 Olivier Hainque <hainque@adacore.com>
872
873 * config/t-vxworks7: New file.
874 * config.host (*-*-vxworks7): Use it.
875
60edf8bb
MT
8762017-06-22 Matt Turner <mattst88@gmail.com>
877
878 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
879 skylake case.
880
a51a76e5
RB
8812017-06-21 Richard Biener <rguenther@suse.de>
882
883 PR gcov-profile/81080
884 * configure.ac: Add AC_SYS_LARGEFILE.
885 * libgcov.h: Include auto-target.h before tsystem.h to pick
886 up _FILE_OFFSET_BITS which might differ for multilibs.
887 * config.in: Regenerate.
888 * configure: Likewise.
889
f0cd49c5
RE
8902017-06-16 Richard Earnshaw <rearnsha@arm.com>
891
892 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
893
4f751c54
ML
8942017-06-09 Martin Liska <mliska@suse.cz>
895
896 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
897 Reset __gcov_indirect_call_callee to NULL.
898
1ac644c8
OH
8992017-06-08 Olivier Hainque <hainque@adacore.com>
900
901 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
902 the set of -I options, support for direct inclusions of net/uio.h
903 by VxWorks header files via ioLib.h.
904
d8b9cd27
TR
9052017-06-07 Tony Reix <tony.reix@atos.net>
906 Matthieu Sarter <matthieu.sarter.external@atos.net>
907 David Edelsohn <dje.gcc@gmail.com>
908
909 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
910 unconditionally.
911 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
912 AIX 7.2 support.
913
38a75ccc
OH
9142017-06-02 Olivier Hainque <hainque@adacore.com>
915
916 * config/vxlib.c (__gthread_once): Add missing value to
917 return statement.
918
5b2edf53
OH
9192017-05-30 Olivier Hainque <hainque@adacore.com>
920
921 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
922 dollar sign before $(MULTIDIR).
923
7d66e265
RH
9242017-05-26 Richard Henderson <rth@redhat.com>
925
926 PR libgcc/80037
927 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
928
78eca309
AT
9292017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
930
931 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
932 _Unwind_SetIP available as functions for arm*-*-freebsd*.
933 * config/arm/unwind-arm.c: Implement the above.
934
c39d309a
AZ
9352017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
936
937 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
938 section for a non-executable stack.
939
eac8c9f2
KW
9402017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
941
942 PR target/80600
943 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
944
d6d4d770
DS
9452017-05-14 Daniel Santos <daniel.santos@pobox.com>
946
947 * config.host: Add i386/t-msabi to i386/t-linux file list.
948 * config/i386/i386-asm.h: New file.
949 * config/i386/resms64.S: New file.
950 * config/i386/resms64f.S: New file.
951 * config/i386/resms64fx.S: New file.
952 * config/i386/resms64x.S: New file.
953 * config/i386/savms64.S: New file.
954 * config/i386/savms64f.S: New file.
955 * config/i386/t-msabi: New file.
956
8ef2b9a7
AT
9572017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
958
959 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
960 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
961
7ab8766a
JC
9622017-05-05 Joshua Conner <joshconner@google.com>
963
964 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
965 pc-relative indirect handling for fuchsia.
966 * config/t-slibgcc-fuchsia: New file.
967 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 968 x86_64-*-fuchsia*): Add definitions.
7ab8766a 969
46928a8f
ML
9702017-04-19 Martin Liska <mliska@suse.cz>
971
972 PR gcov-profile/80435
973 * Makefile.in: Install gcov.h.
974 * gcov.h: New file.
975 * libgcov.h: Use the header and make __gcov_flush publicly
976 visible.
977
63971184
ML
9782017-04-18 Martin Liska <mliska@suse.cz>
979
980 PR gcov-profile/78783
981 * libgcov-driver.c (gcov_get_filename): New function.
982
29d8aae6
JL
9832017-04-07 Jeff Law <law@redhat.com>
984
985 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
986 target makefile fragment.
987 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
988
2bdf7fc6
AM
9892017-04-07 Alan Modra <amodra@gmail.com>
990
991 PR target/45053
992 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
993
5764ee3c
JW
9942017-04-03 Jonathan Wakely <jwakely@redhat.com>
995
996 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
997
c4192ad7
CZ
9982017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
999
1000 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1001
4ccfdb28
JM
10022017-03-10 John Marino <gnugcc@marino.st>
1003
1004 * config/aarch64/freebsd-unwind.h: New file.
1005 * config.host: Add aarch64-*-freebsd unwinder.
1006
4144e4e3
SB
10072017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1008
1009 * config/rs6000/crtrestvr.s: Use .machine altivec.
1010 * config/rs6000/crtsavevr.s: Ditto.
1011
7502c597
SB
10122017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1013
1014 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1015 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1016 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1017 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1018 * configure: Regenerate.
1019 * config.in: Regenerate.
1020
db9f7f65
JY
10212017-03-02 Jonathan Yong <10walls@gmail.com>
1022
1023 * config/i386/gthr-win32.h: Define NOGDI before
1024 windows.h include to prevent w32api CC_NONE macro
1025 clash with libgfortran.
1026
126437c5
JY
10272017-03-02 Jonathan Yong <10walls@gmail.com>
1028
1029 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1030
31927af6
AP
10312017-02-16 Andrew Pinski <apinski@cavium.com>
1032
1033 * config/aarch64/value-unwind.h: New file.
1034 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1035 to tm_file.
1036
0bd99911
PD
10372017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1038
1039 * config.host: Add RISC-V tuples.
1040 * config/riscv/atomic.c: New file.
1041 * config/riscv/crti.S: Likewise.
1042 * config/riscv/crtn.S: Likewise.
1043 * config/riscv/div.S: Likewise.
1044 * config/riscv/linux-unwind.h: Likewise.
1045 * config/riscv/muldi3.S: Likewise.
1046 * config/riscv/multi3.S: Likewise.
1047 * config/riscv/save-restore.S: Likewise.
1048 * config/riscv/sfp-machine.h: Likewise.
1049 * config/riscv/t-elf: Likewise.
1050 * config/riscv/t-elf32: Likewise.
1051 * config/riscv/t-elf64: Likewise.
1052 * config/riscv/t-softfp32: Likewise.
1053 * config/riscv/t-softfp64: Likewise.
1054
a8c9ef2a
JJ
10552017-01-24 Jakub Jelinek <jakub@redhat.com>
1056
1057 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1058 /* FALLTHRU */ comments.
1059
c6c82710
GP
10602017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1061
1062 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1063
a876231c
JW
10642017-01-20 Jiong Wang <jiong.wang@arm.com>
1065
1066 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1067 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1068 DW_CFA_GNU_window_save for AArch64 and LP64.
1069
aa348be2
JW
10702017-01-20 Jiong Wang <jiong.wang@arm.com>
1071
1072 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1073
5636faf2
JW
10742017-01-19 Jiong Wang <jiong.wang@arm.com>
1075
1076 * config/aarch64/aarch64-unwind.h: New file.
1077 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1078 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1079 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1080 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1081 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1082 (aarch64_post_extract_frame_addr): New function.
1083 (aarch64_post_frob_eh_handler_addr): New function.
1084 (aarch64_frob_update_context): New function.
1085 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1086 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1087 aarch64*-*-freebsd*):
1088 Initialize md_unwind_header to include aarch64-unwind.h.
1089 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1090 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1091 __aarch64__.
1092 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1093 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1094 (uw_frob_return_addr): New function.
1095 (uw_install_context): Use uw_frob_return_addr.
1096
3c36aa6b
JJ
10972017-01-17 Jakub Jelinek <jakub@redhat.com>
1098
1099 PR other/79046
1100 * configure.ac: Add GCC_BASE_VER.
1101 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1102 version from BASE-VER file.
1103 * configure: Regenerated.
1104
829afb8f
JS
11052017-01-13 Joe Seymour <joe.s@somniumtech.com>
1106
1107 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1108 libmul_f5.a): Filter archived prerequisites.
1109
79fc8ffe
AS
11102017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1111
1112 * config/i386/cpuinfo.h (processor_features): Add
1113 FEATURE_AVX512VPOPCNTDQ.
1114 * config/i386/cpuinfo.c (get_available_features): Habdle new
1115 feature.
1116
fec5f4e0
JM
11172017-01-04 Joseph Myers <joseph@codesourcery.com>
1118
1119 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1120 payload if [__mips_nan2008].
1121
8f56cb51
AM
11222017-01-04 Alan Modra <amodra@gmail.com>
1123
1124 * Makefile.in (configure_deps): Update.
1125 * configure: Regenerate.
1126
cbe34bb5
JJ
11272017-01-01 Jakub Jelinek <jakub@redhat.com>
1128
1129 Update copyright years.
1130
ab955692
KW
11312016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1132
1133 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1134 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1135 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1136
de34320f
MK
11372016-12-17 Matthias Klose <doko@ubuntu.com>
1138
1139 * config/arc/gmon: Remove empty directory.
1140
e04ea1da
CZ
11412016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1142
1143 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1144 crtgend.
1145 (arc*-*-elf*): Likewise.
1146 * config/arc/t-arc: Remove old gmon lib targets.
1147 * config/arc/crtg.S: Remove.
1148 * config/arc/crtgend.S: Likewise.
1149 * config/arc/gmon/atomic.h: Likewise.
1150 * config/arc/gmon/auxreg.h: Likewise.
1151 * config/arc/gmon/dcache_linesz.S: Likewise.
1152 * config/arc/gmon/gmon.c: Likewise.
1153 * config/arc/gmon/machine-gmon.h: Likewise.
1154 * config/arc/gmon/mcount.c: Likewise.
1155 * config/arc/gmon/prof-freq-stub.S: Likewise.
1156 * config/arc/gmon/prof-freq.c: Likewise.
1157 * config/arc/gmon/profil.S: Likewise.
1158 * config/arc/gmon/sys/gmon.h: Likewise.
1159 * config/arc/gmon/sys/gmon_out.h: Likewise.
1160 * config/arc/t-arc-newlib: Likewise.
1161 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1162
8ae1c2c1
GS
11632016-12-12 George Spelvin <linux@sciencehorizons.net>
1164
1165 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1166
a5b947fa
GS
11672016-12-12 George Spelvin <linux@sciencehorizons.net>
1168
1169 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1170 R16 instead of push + pop.
1171 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1172
d6574dd1
KW
11732016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1174
1175 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1176 tmake_file.
1177
62440b4f
CM
11782016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1179
1180 * config.host (arc*-*-linux-uclibc*): Use default extra
1181 objects. Include linux-android header.
1182 * config/arc/crti.S (_init): Declare symbol as function.
1183 (_fini): Likewise.
1184
31cfd832
TK
11852016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1186
1187 PR fortran/78379
1188 * config/i386/cpuinfo.c: Move denums for processor vendors,
1189 processor type, processor subtypes and declaration of
1190 struct __processor_model into
1191 * config/i386/cpuinfo.h: New header file.
1192
c92e08e3
AV
11932016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1194 Thomas Preud'homme <thomas.preudhomme@arm.com>
1195
1196 * config/arm/cmse_nonsecure_call.S: New.
1197 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1198
de7b5723
AV
11992016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1200 Thomas Preud'homme <thomas.preudhomme@arm.com>
1201
1202 * config/arm/t-arm (HAVE_CMSE): New.
1203 * config/arm/cmse.c: New.
1204
7a0d2bce
TP
12052016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1206
b3a5bff4
TP
1207 PR gcc/74748
1208 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1209 use generic linker version information on Blackfin.
1210
7a0d2bce
TP
1211 PR gcc/74748
1212 * libgcc/mkmap-symver.awk: add support for skip_underscore
1213
b410cf1d
IS
12142016-11-27 Iain Sandoe <iain@codesourcery.com>
1215 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1216
1217 PR target/67710
1218 * config/t-darwin: Default builds to 10.5 codegen.
1219
2e5f8203
JG
12202016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1221
1222 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1223 (_FP_NANSIGN_H): Likewise.
1224 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1225 (softfp_truncations): Add tfhf.
1226 (softfp_extras): Add required conversion functions.
1227
bea64ca3
JG
12282016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1229 Matthew Wahab <matthew.wahab@arm.com>
1230
1231 * config/arm/fp16.c (binary64): New.
1232 (__gnu_d2h_internal): New.
1233 (__gnu_d2h_ieee): New.
1234 (__gnu_d2h_alternative): New.
1235
8630cadb
JG
12362016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1237 Matthew Wahab <matthew.wahab@arm.com>
1238
1239 * config/arm/fp16.c (struct format): New.
1240 (binary32): New.
1241 (__gnu_float2h_internal): New. Body moved from
1242 __gnu_f2h_internal and generalize.
1243 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1244 Call it with binary32.
1245
5823ef23
JG
12462016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1247
1248 * soft-fp/extendhftf2.c: Update from glibc.
1249 * soft-fp/fixhfti.c: Likewise.
1250 * soft-fp/fixunshfti.c: Likewise.
1251 * soft-fp/floattihf.c: Likewise.
1252 * soft-fp/floatuntihf.c: Likewise.
1253 * soft-fp/half.h: Likewise.
1254 * soft-fp/trunctfhf2.c: Likewise.
1255
62a7df9f
MG
12562016-11-20 Marc Glisse <marc.glisse@inria.fr>
1257
1258 PR libgcc/77813
1259 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1260 __TMC_END__ behind a passthrough asm.
1261
7a384912
WL
12622016-11-18 Walter Lee <walt@tilera.com>
1263
62a7df9f 1264 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1265
9775c1a5
L
12662016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1267
1268 * config/i386/cpuinfo.c (processor_features): Add
1269 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1270
48c842ab
CZ
12712016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1272
1273 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1274 (__ARC_NORM__): Use instead ARC_OPTFPE.
1275 * config/arc/fp-hack.h: Likewise.
1276 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1277 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1278
5012919d
AM
12792016-11-16 Alexander Monakov <amonakov@ispras.ru>
1280
1281 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1282 * config/nvptx/mgomp.c: New file.
1283 * config/nvptx/t-nvptx: Add mgomp.c
1284
00178b98
WB
12852016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1286
1287 PR libgcc/68468
1288 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1289
d64af69f
CZ
12902016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1291
1292 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1293 of checking for cpus.
1294 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1295 (__modsi3, __clzsi2): Likewise.
1296
9d8f95de
SN
12972016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1298
1299 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1300 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1301 * config/i386/t-cpuinfo-static: New.
1302
7d29f8e3
ML
13032016-11-03 Martin Liska <mliska@suse.cz>
1304
1305 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1306 (__gcov_time_profiler_atomic): Likewise.
1307
5de3e2d8
BE
13082016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1309
1310 PR libgcc/78067
1311 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1312 count_leading_zeros.
1313
18362447
UB
13142016-11-02 Uros Bizjak <ubizjak@gmail.com>
1315
1316 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1317 * libgcc2.c (__divmoddi4): New function.
1318 * libgcc2.h (__divmoddi4): Declare.
1319 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1320 and __PFX_divmodti4.
1321
33107571
FW
13222016-10-24 Florian Weimer <fweimer@redhat.com>
1323
1324 PR libgcc/78064
1325 * unwind-c.c: Include auto-target.h.
1326
4c6d7494
JDA
13272016-10-19 John David Anglin <danglin@gcc.gnu.org>
1328
18362447 1329 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1330 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1331 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1332 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1333 hppa*64*-*-hpux11*.
1334
2a26adf1
MF
13352016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1336
1337 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1338 definition.
1339 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1340 definition.
1341 * config/xtensa/t-windowed (LIB2ADDEH): Use
1342 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1343 or xtensa/t-linux.
1344
66192aa1
DKC
13452016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1346
1347 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1348 __ieee754_sqrt): New functions.
1349 (__divdf3): Add implementation with new FPU instructions under
1350 #if XCHAL_HAVE_DFP_DIV.
1351 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1352 __ieee754_sqrtf): New functions.
1353 (__divsf3): Add implementation with new FPU instructions under
1354 #if XCHAL_HAVE_FP_DIV.
1355 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1356 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1357
4d0cdd0c
TP
13582016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1359
1360 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1361 equivalent.
1362 * config/tilepro/atomic.c: Likewise and stop casting model to
1363 enum memmodel.
1364
73f01cca
JM
13652016-10-10 Joseph Myers <joseph@codesourcery.com>
1366
1367 PR target/77586
1368 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1369 soft-fp.
1370
b20e7532
AT
13712016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1372
1373 * config.host: Add support for aarch64-*-freebsd*.
1374
a786cec4
AS
13752016-10-05 Andreas Schwab <schwab@suse.de>
1376
1377 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1378 (.section .init_array): Don't call __do_jv_register_classes.
1379 (.section .init): Likewise.
1380
5a79befb
JJ
13812016-10-04 Jakub Jelinek <jakub@redhat.com>
1382
1383 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1384 (__JCR_LIST__): Remove.
1385 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1386 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1387 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1388 * config/ia64/crtend.S (__JCR_END__): Remove.
1389 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1390 conditionals.
1391 (__JCR_LIST__, __JCR_END__): Remove.
1392 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1393 (__do_global_ctors_1): Likewise.
1394
e0ab3753
UB
13952015-09-28 Uros Bizjak <ubizjak@gmail.com>
1396
1397 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1398 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1399
8c9434c2
ML
14002016-09-27 Martin Liska <mliska@suse.cz>
1401
1402 PR gcov-profile/7970
1403 PR gcov-profile/16855
1404 PR gcov-profile/44779
1405 * libgcov-driver.c (__gcov_init): Do not register a atexit
1406 handler.
1407 (__gcov_exit): Rename from gcov_exit.
1408 * libgcov.h (__gcov_exit): Declare.
1409
56b653f1
ML
14102016-09-27 Martin Liska <mliska@suse.cz>
1411
1412 PR bootstrap/77749
1413 * Makefile.in: Remove _gcov_merge_delta.
1414 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1415 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1416 * libgcov.h: Remove declaration of __gcov_merge_delta.
1417
7e02fd1b
EB
14182016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1419
1420 * configure.ac: Do not create links, only substitute the filenames.
1421 * configure: Regenerate.
1422 * Makefile.in: Assign the substitution results to variables.
1423 (LIBGCC_LINKS): Define.
1424 (enable-execute-stack.c): New rule.
1425 (unwind.h): Likewise.
1426 (md-unwind-support.h): Likewise.
1427 (sfp-machine.h): Likewise.
1428 (gthr-default.h): Likewise.
1429 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1430 unwind.h as prerequisite of install-unwind_h-forbuild.
1431
29991048
JJ
14322016-09-16 Jakub Jelinek <jakub@redhat.com>
1433
1434 PR libgcc/71744
1435 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1436 is not the primary registry and atomics are available.
1437 (any_objects_registered): New variable.
1438 (__register_frame_info_bases, __register_frame_info_table_bases):
1439 Atomically store 1 to any_objects_registered after registering first
1440 unwind info.
1441 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1442
0abcd6cc
JG
14432016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1444
1445 PR target/63250
1446 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1447 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1448 (HFtype): Likewise.
1449 (HCtype): Likewise.
1450 (__divhc3): Likewise.
1451 (__mulhc3): Likewise.
1452 * libgcc2.c: Support _mulhc3 and _divhc3.
1453
d758aeb5
JM
14542016-09-07 Joseph Myers <joseph@codesourcery.com>
1455
1456 PR libgcc/77519
1457 * libgcc2.c (NOTRUNC): Invert settings.
1458
7fe76f6a
ML
14592016-09-06 Martin Liska <mliska@suse.cz>
1460
1461 PR gcov-profile/77378
1462 PR gcov-profile/77466
1463 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1464 conditionaly enable/disable *_atomic functions.
1465
21184026
JM
14662016-08-26 Joseph Myers <joseph@codesourcery.com>
1467
1468 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1469 where not already enabled.
1470
726f49c3
SN
14712016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1472
1473 * config/mips/linux-unwind.h: Use sys/syscall.h.
1474
feeb6268
JM
14752016-08-16 Joseph Myers <joseph@codesourcery.com>
1476
1477 PR libgcc/77265
1478 * soft-fp/adddf3.c: Update from glibc.
1479 * soft-fp/addsf3.c: Likewise.
1480 * soft-fp/addtf3.c: Likewise.
1481 * soft-fp/divdf3.c: Likewise.
1482 * soft-fp/divsf3.c: Likewise.
1483 * soft-fp/divtf3.c: Likewise.
1484 * soft-fp/double.h: Likewise.
1485 * soft-fp/eqdf2.c: Likewise.
1486 * soft-fp/eqsf2.c: Likewise.
1487 * soft-fp/eqtf2.c: Likewise.
1488 * soft-fp/extenddftf2.c: Likewise.
1489 * soft-fp/extended.h: Likewise.
1490 * soft-fp/extendsfdf2.c: Likewise.
1491 * soft-fp/extendsftf2.c: Likewise.
1492 * soft-fp/extendxftf2.c: Likewise.
1493 * soft-fp/fixdfdi.c: Likewise.
1494 * soft-fp/fixdfsi.c: Likewise.
1495 * soft-fp/fixdfti.c: Likewise.
1496 * soft-fp/fixsfdi.c: Likewise.
1497 * soft-fp/fixsfsi.c: Likewise.
1498 * soft-fp/fixsfti.c: Likewise.
1499 * soft-fp/fixtfdi.c: Likewise.
1500 * soft-fp/fixtfsi.c: Likewise.
1501 * soft-fp/fixtfti.c: Likewise.
1502 * soft-fp/fixunsdfdi.c: Likewise.
1503 * soft-fp/fixunsdfsi.c: Likewise.
1504 * soft-fp/fixunsdfti.c: Likewise.
1505 * soft-fp/fixunssfdi.c: Likewise.
1506 * soft-fp/fixunssfsi.c: Likewise.
1507 * soft-fp/fixunssfti.c: Likewise.
1508 * soft-fp/fixunstfdi.c: Likewise.
1509 * soft-fp/fixunstfsi.c: Likewise.
1510 * soft-fp/fixunstfti.c: Likewise.
1511 * soft-fp/floatdidf.c: Likewise.
1512 * soft-fp/floatdisf.c: Likewise.
1513 * soft-fp/floatditf.c: Likewise.
1514 * soft-fp/floatsidf.c: Likewise.
1515 * soft-fp/floatsisf.c: Likewise.
1516 * soft-fp/floatsitf.c: Likewise.
1517 * soft-fp/floattidf.c: Likewise.
1518 * soft-fp/floattisf.c: Likewise.
1519 * soft-fp/floattitf.c: Likewise.
1520 * soft-fp/floatundidf.c: Likewise.
1521 * soft-fp/floatundisf.c: Likewise.
1522 * soft-fp/floatunditf.c: Likewise.
1523 * soft-fp/floatunsidf.c: Likewise.
1524 * soft-fp/floatunsisf.c: Likewise.
1525 * soft-fp/floatunsitf.c: Likewise.
1526 * soft-fp/floatuntidf.c: Likewise.
1527 * soft-fp/floatuntisf.c: Likewise.
1528 * soft-fp/floatuntitf.c: Likewise.
1529 * soft-fp/gedf2.c: Likewise.
1530 * soft-fp/gesf2.c: Likewise.
1531 * soft-fp/getf2.c: Likewise.
1532 * soft-fp/ledf2.c: Likewise.
1533 * soft-fp/lesf2.c: Likewise.
1534 * soft-fp/letf2.c: Likewise.
1535 * soft-fp/muldf3.c: Likewise.
1536 * soft-fp/mulsf3.c: Likewise.
1537 * soft-fp/multf3.c: Likewise.
1538 * soft-fp/negdf2.c: Likewise.
1539 * soft-fp/negsf2.c: Likewise.
1540 * soft-fp/negtf2.c: Likewise.
1541 * soft-fp/op-1.h: Likewise.
1542 * soft-fp/op-2.h: Likewise.
1543 * soft-fp/op-4.h: Likewise.
1544 * soft-fp/op-8.h: Likewise.
1545 * soft-fp/op-common.h: Likewise.
1546 * soft-fp/quad.h: Likewise.
1547 * soft-fp/single.h: Likewise.
1548 * soft-fp/soft-fp.h: Likewise.
1549 * soft-fp/subdf3.c: Likewise.
1550 * soft-fp/subsf3.c: Likewise.
1551 * soft-fp/subtf3.c: Likewise.
1552 * soft-fp/truncdfsf2.c: Likewise.
1553 * soft-fp/trunctfdf2.c: Likewise.
1554 * soft-fp/trunctfsf2.c: Likewise.
1555 * soft-fp/trunctfxf2.c: Likewise.
1556 * soft-fp/unorddf2.c: Likewise.
1557 * soft-fp/unordsf2.c: Likewise.
1558 * soft-fp/unordtf2.c: Likewise.
1559
2e6fc1ac
GG
15602016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1561
1562 PR gcov-profile/67097
1563 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1564
a266236e
ML
15652016-08-10 Martin Liska <mliska@suse.cz>
1566
1567 PR gcov-profile/58306
1568 * Makefile.in: New functions (modules) are added.
1569 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1570 function.
1571 (__gcov_pow2_profiler_atomic): New function.
1572 (__gcov_one_value_profiler_body): New argument is instroduced.
1573 (__gcov_one_value_profiler): Call with the new argument.
1574 (__gcov_one_value_profiler_atomic): Likewise.
1575 (__gcov_indirect_call_profiler_v2): Likewise.
1576 (__gcov_time_profiler_atomic): New function.
1577 (__gcov_average_profiler_atomic): Likewise.
1578 (__gcov_ior_profiler_atomic): Likewise.
1579 * libgcov.h: Declare the aforementioned functions.
1580
e0c8eebf
ML
15812016-08-09 Martin Liska <mliska@suse.cz>
1582
1583 * libgcov-util.c: Fix typo and GNU coding style.
1584
6dce6418
ML
15852016-08-09 Martin Liska <mliska@suse.cz>
1586
1587 * Makefile.in: Remove __gcov_indirect_call_profiler.
1588 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1589 function.
1590 * libgcov.h: And the declaration of the function.
1591
dcb1e137
ML
15922016-08-09 Martin Liska <mliska@suse.cz>
1593
1594 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1595 power of two.
1596
d6e69705
BS
15972016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1598
1599 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1600 * config/rs6000/_mulkc3.c: Likewise.
1601
96aa1f95
GJL
16022016-07-29 Georg-Johann Lay <avr@gjlay.de>
1603
1604 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1605 zero_reg as previous call to __umulhisi3 already cleared it.
1606
a1b01d34
AJ
16072016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1608
1609 PR target/59833
1610 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1611
985a47b2
NC
16122016-07-19 Nick Clifton <nickc@redhat.com>
1613
1614 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1615 Add crtinit.o and crtfini.o to extra_parts.
1616
f906f5ed
BS
16172016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1618
1619 * config/rs6000/_divkc3.c: New.
1620 * config/rs6000/_mulkc3.c: New.
1621 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1622 and _divkc3.
1623 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1624 fp128_ppc_funcs.
1625
82742404
HW
16262016-07-11 Hale Wang <hale.wang@arm.com>
1627 Andre Vieira <andre.simoesdiasvieira@arm.com>
1628
1629 * config/arm/lib1funcs.S: Add new wrapper.
1630
05a437c1
TP
16312016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1632
1633 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1634
3d16d9ec
TP
16352016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1636
1637 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1638 and ARMv5t* rather than for a fixed list of architectures.
1639
6f493951
TP
16402016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1641
1642 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1643 implementation suitable for.
1644 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1645 for all Thumb-1 only targets.
1646 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1647 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1648 __ARM_ARCH_6M__.
1649 (EQUIV): Likewise.
1650 (ARM_FUNC_ALIAS): Likewise.
1651 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1652 version.
1653 (modsi3): Likewise.
1654 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1655 (clzdi2): Likewise.
1656 (ctzsi2): Likewise.
1657 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1658 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1659 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1660 __ARM_ARCH_6M__ and add comment to indicate the connection between
1661 this condition and the one in gcc/config/arm/elf.h.
1662 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1663 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1664 * config/arm/t-softfp: Likewise.
1665
1770511a
TS
16662016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1667
1668 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1669 CTOR_LISTS_DEFINED_EXTERNALLY.
1670
ba6be749
WL
16712016-06-28 Walter Lee <walt@tilera.com>
1672
1673 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1674 asm/unistd.h.
1675 (SPR_CMPEXCH_VALUE): Define for tilegx.
1676 (__NR_FAST_cmpxchg): Define for tilepro.
1677 (__NR_FAST_atomic_update): Define for tilepro.
1678 (__NR_FAST_cmpxchg64): Define for tilepro.
1679
a34c0db5
JS
16802016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1681
18362447 1682 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 1683
0609abda
TS
16842016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1685
1686 * config.host: Remove support for mep-*.
1687 * config/mep/lib1funcs.S: Remove.
1688 * config/mep/lib2funcs.c: Remove.
1689 * config/mep/t-mep: Remove.
1690 * config/mep/tramp.c: Remove.
1691
3e326935
TS
16922016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1693
1694 * config.host: Remove support for avr-rtems.
1695 * config/avr/t-rtems: Remove.
1696
914b155c
TS
16972016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1698
1699 * config.host: Remove m32r-rtems support.
1700
5ebf89bd
TS
17012016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1702
1703 * config.host: Remove h8300-rtems support.
1704
8466af06
TS
17052016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1706
1707 * config.host: Remove support for knetbsd.
1708
d980e738
TS
17092016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1710
1711 * config.host: Remove support for openbsd 2 and 3.
1712
ee2499b4
TS
17132016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1714
1715 * config.host: Remove interix support.
1716 * config/i386/t-interix: Remove.
1717
9f92937b
JDA
17182016-06-18 John David Anglin <danglin@gcc.gnu.org>
1719
1720 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1721 least-significant bit in function pointer for fixup.
1722
0a0ec53d
AC
17232016-06-05 Aaron Conole <aconole@redhat.com>
1724 Nathan Sidwell <nathan@acm.org>
1725
1726 PR libgcc/71400
1727 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1728 (get_gcov_error_file): Check __gcov_error_file before trying to
1729 initialize it.
1730 (gcov_error): Always use get_gcov_error_file.
1731
8aa5bdd6
AC
17322016-06-02 Aaron Conole <aconole@redhat.com>
1733
1734 * libgcov-driver-system.c (__gcov_error_file): New.
1735 (get_gcov_error_file): New.
1736 (gcov_error): Use and set __gcov_error_file.
1737 (gcov_error_exit): New.
1738 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1739
40774faf
NS
17402016-05-26 Nathan Sidwell <nathan@acm.org>
1741
1742 * config/nvptx/free.asm: Delete.
1743 * config/nvptx/malloc.asm: Delete.
1744 * config/nvptx/realloc.c: Delete.
1745 * t-nvptx: Update.
1746
69a6d5ad
NS
17472016-05-25 Nathan Sidwell <nathan@acm.org>
1748
1749 * config/nvptx/crt0.s: Delete.
1750 * config/nvptx/crt0.c: New.
1751 * t-nvptx: Update.
1752
6befaff6
SL
17532016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1754
385c7747 1755 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
1756 dw2/seh configuration.
1757 [x86_64-*-mingw*]: Likewise.
1758
ad251dfd
JS
17592016-05-10 Joel Sherrill <joel@rtems.org>
1760
1761 PR libgcc/70720
1762 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1763 targets so the same extra_parts are built. Also have tmake_file add
1764 on to its value rather than override.
1765
bc6d9014
OE
17662016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1767
1768 * config.host: Remove SH5 support.
1769 * configure: Likewise.
1770
9129c8cf
OE
17712016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1772
1773 * config/sh/crt1.S: Remove SH5 support.
1774 * config/sh/crti.S: Likewise.
1775 * config/sh/crtn.S: Likewise.
1776 * config/sh/lib1funcs-4-300.S: Likewise.
1777 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1778 * config/sh/lib1funcs.S: Likewise.
1779 * config/sh/linux-unwind.h: Likewise.
1780 * config/sh/t-sh64: Delete.
1781
39d50464
CZ
17822016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1783
1784 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1785
8b48923b
CZ
17862016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1787 Joern Rennecke <joern.rennecke@embecosm.com>
1788
1789 * config/arc/crttls.S: New file.
1790 * config/arc/t-arc: New rule.
1791 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1792
2de1cf8c
NC
17932016-04-25 Nick Clifton <nickc@redhat.com>
1794
1795 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1796 (__mspabi_cmpd): Likewise.
1797 * config/msp430/floathidf.c (__floathidf): Likewise.
1798 * config/msp430/floathisf.c (__floathisf): Likewise
1799 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1800 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1801 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1802 second parameter.
1803 (__ashrsi3): Likewise.
1804
b8ce3fe2
WB
18052016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1806
1807 * config/m68k/linux-atomic.c: Do not include unistd.h
1808
4986f823
MG
18092016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1810
1811 * config/arm/ieee754-df.S: Fix typos in comments.
1812
35fbda43
MM
18132016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1814
1815 PR target/70381
1816 * configure.ac (powerpc*-*-linux*): Rework tests to build
1817 __float128 emulation routines to not depend on using #pragma GCC
1818 target to enable -mfloat128.
1819 * configure: Regnerate.
1820
72d1a48d
EB
18212016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1822
1823 PR target/67172
1824 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1825 __MINGW32__ is defined.
1826
dc2e8995
JB
18272016-03-28 James Bowman <james.bowman@ftdichip.com>
1828
385c7747 1829 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 1830
104cdaf1
MM
18312016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1832
1833 PR libgcc/70363
1834 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1835 built with an assembler that does not support ISA 3.0
1836 instructions, rename __extendkftf2_sw to __extendkftf2.
1837
a5046f48
RO
18382016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1839
1840 PR target/38239
1841 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1842 call-clobbered registers.
1843 (internal_mcount): Remove __i386__ handling.
1844
df674f74
JS
18452016-02-26 Joel Sherrill <joel@rtems.org>
1846
1847 * config.host: Add x86_64-*-rtems*.
1848
7cb065d6
JS
18492016-02-26 Joel Sherrill <joel@rtems.org>
1850
1851 * libgcc/config.host: Add aarch64-*-rtems*.
1852
47dfdc53
PM
18532016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1854 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1855
1856 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1857 union of u64 and double.
1858 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1859 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1860 value.
1861 (FP_ROUNDMODE): Update the usage of _fpscr.
1862
e6861a99
IV
18632016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1864
1865 PR driver/68463
1866 * Makefile.in (crtoffloadtable$(objext)): New rule.
1867 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1868 enable_offload_targets is not empty.
1869 * configure: Regenerate.
1870 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1871 crtoffloadtable.
1872
9bfcbdee
MF
18732016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1874
1875 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1876 .literal_position before the function.
1877 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1878 Likewise.
1879
4cb4721f
MK
18802016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1881
1882 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1883 * config/s390/morestack.S: New file.
1884 * config/s390/t-stack-s390: New file.
1885 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1886
b29d9a29
WL
18872016-02-12 Walter Lee <walt@tilera.com>
1888
1889 * config.host (tilegx*-*-linux*): remove ti from
1890 softfp_int_modes for 32-bit configs.
1891
03a0ae7d
ILT
18922016-02-10 Ian Lance Taylor <iant@google.com>
1893
1894 PR go/68562
1895 * config/i386/morestack.S (__stack_split_initialize): Align
1896 stack.
1897
68750bce
AT
18982016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1899
1900 PR bootstrap/69611
1901 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1902 __FLOAT128__ to compile only for __float128 capable targets.
1903
7d296953
JJ
19042016-01-25 Jakub Jelinek <jakub@redhat.com>
1905
1906 PR target/69444
1907 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1908 instead of ___NO_FPRS__.
1909
a71c0334 19102016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
1911 Steven Munroe <munroesj@linux.vnet.ibm.com>
1912 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
1913
1914 * config/rs6000/float128-sed: New files to convert TF names to KF
1915 names for PowerPC IEEE 128-bit floating point support.
1916 * config/rs6000/float128-sed-hw: Likewise.
1917
1918 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1919 floating point hardware support.
1920
1921 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1922 128-bit floating point software emulation or use ISA 3.0 hardware
1923 support if it is available.
1924
1925 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1926 floating point.
1927
1928 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1929 floating point to IBM extended double.
1930
1931 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1932 double to IEEE 128-bit floating point.
1933
1934 * config/rs6000/t-float128: New Makefile fragments to enable
1935 building __float128 emulation support.
1936 * config/rs6000/t-float128-hw: Likewise.
1937
1938 * config/rs6000/sfp-exceptions.c: New file to provide exception
1939 support for IEEE 128-bit floating point.
1940
1941 * config/rs6000/floattikf.c: New files for converting between IEEE
1942 128-bit floating point and signed/unsigned 128-bit integers.
1943 * config/rs6000/fixunskfti.c: Likewise.
1944 * config/rs6000/fixkfti.c: Likewise.
1945 * config/rs6000/floatuntikf.c: Likewise.
1946
1947 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1948 when building on 64-bit systems, or when VSX is enabled.
1949 (_FP_W_TYPE): Likewise.
1950 (_FP_WS_TYPE): Likewise.
1951 (_FP_I_TYPE): Likewise.
1952 (TItype): Define on 64-bit systems.
1953 (UTItype): Likewise.
1954 (TI_BITS): Likewise.
1955 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1956 (_FP_MUL_MEAT_Q): Likewise.
1957 (_FP_DIV_MEAT_D): Likewise.
1958 (_FP_DIV_MEAT_Q): Likewise.
1959 (_FP_NANFRAC_D): Likewise.
1960 (_FP_NANFRAC_Q): Likewise.
1961 (ISA_BIT): Add exception support if we are being compiled on a
1962 machine with hardware floating point support to build the IEEE
1963 128-bit emulation functions.
1964 (FP_EX_INVALID): Likewise.
1965 (FP_EX_OVERFLOW): Likewise.
1966 (FP_EX_UNDERFLOW): Likewise.
1967 (FP_EX_DIVZERO): Likewise.
1968 (FP_EX_INEXACT): Likewise.
1969 (FP_EX_ALL): Likewise.
1970 (__sfp_handle_exceptions): Likewise.
1971 (FP_HANDLE_EXCEPTIONS): Likewise.
1972 (FP_RND_NEAREST): Likewise.
1973 (FP_RND_ZERO): Likewise.
1974 (FP_RND_PINF): Likewise.
1975 (FP_RND_MINF): Likewise.
1976 (FP_RND_MASK): Likewise.
1977 (_FP_DECL_EX): Likewise.
1978 (FP_INIT_ROUNDMODE): Likewise.
1979 (FP_ROUNDMODE): Likewise.
1980
1981 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1982 VSX code, enable IEEE 128-bit floating point. If the compiler can
1983 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1984 floating point hardware instructions and it supports declaring
1985 functions with the ifunc attribute, enable ifunc functions to
1986 switch between software and hardware support.
1987 * configure.ac (powerpc*-*-linux*): Likewise.
1988 * configure: Regenerate.
1989
bdc27e50
NC
19902016-01-15 Nick Clifton <nickc@redhat.com>
1991
1992 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1993 dependency as the source file to be compiled.
1994 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1995 (lib2hw_mul_f5.o): Likewise.
1996
006df05d
MM
19972016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1998
1999 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2000 * libgcc/config/rs6000/fixkfti.c: Likewise.
2001 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2002 * libgcc/config/rs6000/float128-hw.c: Likewise.
2003 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2004 * libgcc/config/rs6000/float128-sed: Likewise.
2005 * libgcc/config/rs6000/floattikf.c: Likewise.
2006 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2007 * libgcc/config/rs6000/quad-float128.h: Likewise.
2008 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2009 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2010 * libgcc/config/rs6000/t-float128: Likewise.
2011 * libgcc/config/rs6000/t-float128-hw: Likewise.
2012 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2013 * libgcc/config.host: Likewise.
2014 * libgcc/configure: Likewise.
2015 * libgcc/configure.ac: Likewise.
2016
29176d57 20172016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2018 Steven Munroe <munroesj@linux.vnet.ibm.com>
2019 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2020
2021 * config/rs6000/sfp-exceptions.c: New file to provide exception
2022 support for IEEE 128-bit floating point.
2023
2024 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2025 floating point hardware support.
2026
2027 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2028 point conversions.
2029 * config/rs6000/fixunskfti.c: Likewise.
2030 * config/rs6000/fixkfti.c: Likewise.
2031 * config/rs6000/floatuntikf.c: Likewise.
2032 * config/rs6000/extendkftf2-sw.c: Likewise.
2033 * config/rs6000/trunctfkf2-sw.c: Likewise.
2034
2035 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2036 128-bit floating point software emulation or use ISA 3.0 hardware
2037 support if it is available.
2038
2039 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2040 floating point.
2041
2042 * config/rs6000/t-float128: New Makefile fragments to enable
2043 building __float128 emulation support.
2044 * config/rs6000/t-float128-hw: Likewise.
2045
2046 * config/rs6000/float128-sed: New file to convert TF names to KF
2047 names for PowerPC IEEE 128-bit floating point support.
2048
2049 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2050 when building on 64-bit systems, or when VSX is enabled.
2051 (_FP_W_TYPE): Likewise.
2052 (_FP_WS_TYPE): Likewise.
2053 (_FP_I_TYPE): Likewise.
2054 (TItype): Define on 64-bit systems.
2055 (UTItype): Likewise.
2056 (TI_BITS): Likewise.
2057 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2058 (_FP_MUL_MEAT_Q): Likewise.
2059 (_FP_DIV_MEAT_D): Likewise.
2060 (_FP_DIV_MEAT_Q): Likewise.
2061 (_FP_NANFRAC_D): Likewise.
2062 (_FP_NANFRAC_Q): Likewise.
2063 (ISA_BIT): Add exception support if we are being compiled on a
2064 machine with hardware floating point support to build the IEEE
2065 128-bit emulation functions.
2066 (FP_EX_INVALID): Likewise.
2067 (FP_EX_OVERFLOW): Likewise.
2068 (FP_EX_UNDERFLOW): Likewise.
2069 (FP_EX_DIVZERO): Likewise.
2070 (FP_EX_INEXACT): Likewise.
2071 (FP_EX_ALL): Likewise.
2072 (__sfp_handle_exceptions): Likewise.
2073 (FP_HANDLE_EXCEPTIONS): Likewise.
2074 (FP_RND_NEAREST): Likewise.
2075 (FP_RND_ZERO): Likewise.
2076 (FP_RND_PINF): Likewise.
2077 (FP_RND_MINF): Likewise.
2078 (FP_RND_MASK): Likewise.
2079 (_FP_DECL_EX): Likewise.
2080 (FP_INIT_ROUNDMODE): Likewise.
2081 (FP_ROUNDMODE): Likewise.
2082
2083 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2084 compiler can do __float128.
2085 * configure: Regenerate.
2086
2087 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2088 VSX code, enable IEEE 128-bit floating point.
2089
a2218983
OH
20902016-01-05 Olivier Hainque <hainque@adacore.com>
2091
2092 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2093 specificities.
a2218983 2094
818ab71a
JJ
20952016-01-04 Jakub Jelinek <jakub@redhat.com>
2096
2097 Update copyright years.
2098
5a6c8ffa
AP
20992015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2100
2101 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2102 soft-fp targets.
5a6c8ffa 2103
077067a5
BE
21042015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2105
2106 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2107 instead of abort to avoid dependency on stdlib.h.
2108
787c1027
JDA
21092015-12-09 John David Anglin <danglin@gcc.gnu.org>
2110
2111 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2112 to initialize call to __dl_fixup once.
2113
04a9ae28
NC
21142015-12-04 Nick Clifton <nickc@redhat.com>
2115
2116 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2117 Allow for the second argument being negative.
2118 * config.host (extra_parts): Define for MSP430. Create separate
2119 libraries for each of the hardware multiply formats.
2120 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2121 that are needed.
2122 * config/msp430/lib2mul.c: Likewise.
2123 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2124 Add rules to build hardware multiply libraries.
2125 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2126 __mspabi_divul function.
2127 (__mspabi_divllu): New stub function.
2128
9a32d437
JDA
21292015-12-01 John David Anglin <danglin@gcc.gnu.org>
2130
2131 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2132 fixup values if saved GOT address doesn't match runtime address.
2133 (fixup_branch_offset): Reorder list.
2134
e5ef217c
RO
21352015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2136
2137 * Makefile.in (VTV_CFLAGS): New variable.
2138 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2139 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2140 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2141 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2142 to extra_parts if $enable_vtable_verify = yes.
2143
78cc43a2
SN
21442015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2145
2146 PR target/68059
2147 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2148 (write): ...this and fix the return type.
2149
9afebea2
DD
21502015-11-19 DJ Delorie <dj@redhat.com>
2151
2152 * config/msp430/lib2hw_mul.S: Fix alignment.
2153
33f47f42
NS
21542015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2155
2156 * config/nvptx/reduction.c: New.
2157 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2158
d9adb476
DE
21592015-11-15 David Edelsohn <dje.gcc@gmail.com>
2160
2161 * config/rs6000/on_exit.c: New file.
2162 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2163 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2164
c0ab1970
CZ
21652015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2166
2167 * config/arc/dp-hack.h: Add support for ARCHS.
2168 * config/arc/ieee-754/divdf3.S: Likewise.
2169 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2170 * config/arc/ieee-754/muldf3.S: Likewise.
2171 * config/arc/ieee-754/mulsf3.S: Likewise
2172 * config/arc/lib1funcs.S: Likewise
2173 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2174 for ARCv2 cores.
2175 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2176 for ARCv2 cores.
2177 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2178 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2179 cores.
2180
e6b6bf09
RO
21812015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2182
2183 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2184 value.
2185 * config/ia64/crtend.S: Likewise.
2186
a153644f
TS
21872015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2188
2189 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2190 __CHAR_BIT__ instead of BITS_PER_UNIT.
2191 * fixed-bit.h: Likewise.
2192 * fp-bit.h: Likewise.
2193 * libgcc2.c (__popcountSI2): Likewise.
2194 (__popcountDI2): Likewise.
2195 * libgcc2.h: Likewise.
2196 * libgcov.h: Likewise.
2197
3dee689d
DE
21982015-11-07 David Edelsohn <dje.gcc@gmail.com>
2199
2200 * config/rs6000/atexit.c: New file.
2201 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2202 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2203 * config/rs6000/cxa_finalize.c
2204 (catomic_compare_and_exchange_bool_acq): Negate return value.
2205
2ef543e4
VK
22062015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2207
2208 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2209 (processor_subtypes): Add znver1.
2210 (get_amd_cpu): Detect znver1.
2211
1300f017
CL
22122015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2213
2214 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2215 Include crtfastmath.o.
2216
3e5bb7ee
JR
22172015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2218
2219 PR libgcc/66883
2220 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2221
793aa938
KP
22222015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2223
2224 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2225 * config/rl78/divmodsi.S: Update return register to r8.
2226 * config/rl78/divmodhi.S: Update return register to r8,r9.
2227 Branch to main_loop_done_himode to pop registers before return.
2228
7d296953 22292015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2230
2231 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2232 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2233
6a192b5a
KY
22342015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2235
2236 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2237
4a0a9457
MF
22382015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2239
2240 * config.host (xtensa*-*-uclinux*): New configuration.
2241
ab91c076
KY
22422015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2243
385c7747 2244 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2245 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2246
30954527
JM
22472015-09-28 Joseph Myers <joseph@codesourcery.com>
2248
2249 * soft-fp/adddf3.c: Update from glibc.
2250 * soft-fp/addsf3.c: Likewise.
2251 * soft-fp/addtf3.c: Likewise.
2252 * soft-fp/divdf3.c: Likewise.
2253 * soft-fp/divsf3.c: Likewise.
2254 * soft-fp/divtf3.c: Likewise.
2255 * soft-fp/double.h: Likewise.
2256 * soft-fp/eqdf2.c: Likewise.
2257 * soft-fp/eqsf2.c: Likewise.
2258 * soft-fp/eqtf2.c: Likewise.
2259 * soft-fp/extenddftf2.c: Likewise.
2260 * soft-fp/extended.h: Likewise.
2261 * soft-fp/extendsfdf2.c: Likewise.
2262 * soft-fp/extendsftf2.c: Likewise.
2263 * soft-fp/extendxftf2.c: Likewise.
2264 * soft-fp/fixdfdi.c: Likewise.
2265 * soft-fp/fixdfsi.c: Likewise.
2266 * soft-fp/fixdfti.c: Likewise.
2267 * soft-fp/fixsfdi.c: Likewise.
2268 * soft-fp/fixsfsi.c: Likewise.
2269 * soft-fp/fixsfti.c: Likewise.
2270 * soft-fp/fixtfdi.c: Likewise.
2271 * soft-fp/fixtfsi.c: Likewise.
2272 * soft-fp/fixtfti.c: Likewise.
2273 * soft-fp/fixunsdfdi.c: Likewise.
2274 * soft-fp/fixunsdfsi.c: Likewise.
2275 * soft-fp/fixunsdfti.c: Likewise.
2276 * soft-fp/fixunssfdi.c: Likewise.
2277 * soft-fp/fixunssfsi.c: Likewise.
2278 * soft-fp/fixunssfti.c: Likewise.
2279 * soft-fp/fixunstfdi.c: Likewise.
2280 * soft-fp/fixunstfsi.c: Likewise.
2281 * soft-fp/fixunstfti.c: Likewise.
2282 * soft-fp/floatdidf.c: Likewise.
2283 * soft-fp/floatdisf.c: Likewise.
2284 * soft-fp/floatditf.c: Likewise.
2285 * soft-fp/floatsidf.c: Likewise.
2286 * soft-fp/floatsisf.c: Likewise.
2287 * soft-fp/floatsitf.c: Likewise.
2288 * soft-fp/floattidf.c: Likewise.
2289 * soft-fp/floattisf.c: Likewise.
2290 * soft-fp/floattitf.c: Likewise.
2291 * soft-fp/floatundidf.c: Likewise.
2292 * soft-fp/floatundisf.c: Likewise.
2293 * soft-fp/floatunditf.c: Likewise.
2294 * soft-fp/floatunsidf.c: Likewise.
2295 * soft-fp/floatunsisf.c: Likewise.
2296 * soft-fp/floatunsitf.c: Likewise.
2297 * soft-fp/floatuntidf.c: Likewise.
2298 * soft-fp/floatuntisf.c: Likewise.
2299 * soft-fp/floatuntitf.c: Likewise.
2300 * soft-fp/gedf2.c: Likewise.
2301 * soft-fp/gesf2.c: Likewise.
2302 * soft-fp/getf2.c: Likewise.
2303 * soft-fp/ledf2.c: Likewise.
2304 * soft-fp/lesf2.c: Likewise.
2305 * soft-fp/letf2.c: Likewise.
2306 * soft-fp/muldf3.c: Likewise.
2307 * soft-fp/mulsf3.c: Likewise.
2308 * soft-fp/multf3.c: Likewise.
2309 * soft-fp/negdf2.c: Likewise.
2310 * soft-fp/negsf2.c: Likewise.
2311 * soft-fp/negtf2.c: Likewise.
2312 * soft-fp/op-1.h: Likewise.
2313 * soft-fp/op-2.h: Likewise.
2314 * soft-fp/op-4.h: Likewise.
2315 * soft-fp/op-8.h: Likewise.
2316 * soft-fp/op-common.h: Likewise.
2317 * soft-fp/quad.h: Likewise.
2318 * soft-fp/single.h: Likewise.
2319 * soft-fp/soft-fp.h: Likewise.
2320 * soft-fp/subdf3.c: Likewise.
2321 * soft-fp/subsf3.c: Likewise.
2322 * soft-fp/subtf3.c: Likewise.
2323 * soft-fp/truncdfsf2.c: Likewise.
2324 * soft-fp/trunctfdf2.c: Likewise.
2325 * soft-fp/trunctfsf2.c: Likewise.
2326 * soft-fp/trunctfxf2.c: Likewise.
2327 * soft-fp/unorddf2.c: Likewise.
2328 * soft-fp/unordsf2.c: Likewise.
2329 * soft-fp/unordtf2.c: Likewise.
2330
4dfe21ac
RE
23312015-09-24 Richard Earnshaw <rearnsha@arm.com>
2332
2333 PR libgcc/67624
2334 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2335
df2a1cc4
RO
23362015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2337
2338 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2339 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2340 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2341 messages.
2342 (internal_mcount): Likewise.
2343 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2344 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2345
2d110442
RO
23462015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2347
2348 * configure.ac (libgcc_cv_solaris_crts): New test.
2349 * configure: Regenerate.
2350 * config.in: Regenerate.
2351 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2352 * config/gmon-sol2.c: Rename to ...
2353 * config/sol2/gmon.c: ... this.
2354 Include auto-target.h.
2355 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2356 * config/t-sol2: Rename to ...
2357 * config/sol2/t-sol2: ... this.
2358 (gmon.o): Reflect renaming.
2359 (crtp.o, crtpg.o): New rules.
2360 * config.host (*-*-solaris2*): Reflect renaming.
2361 Use system CRTs if present.
2362 Remove default CRT case.
2363
d572e439
JDA
23642015-09-23 John David Anglin <danglin@gcc.gnu.org>
2365
2366 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2367 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2368 __kernel_cmpxchg2.
2369 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2370 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2371 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2372 (__sync_lock_test_and_set_##WIDTH): Likewise.
2373 (__sync_lock_release_##WIDTH): Likewise.
2374 (__sync_fetch_and_##OP##_4): Change result to match type of
2375 __kernel_cmpxchg.
2376 (__sync_##OP##_and_fetch_4): Likewise.
2377 (__sync_val_compare_and_swap_4): Likewise.
2378 (__sync_bool_compare_and_swap_4): likewise.
2379 (__sync_lock_test_and_set_4): Likewise.
2380 (__sync_lock_release_4): Likewise.
2381 (FETCH_AND_OP_2): Add long long variants.
2382 (OP_AND_FETCH_2): Likewise.
2383 (COMPARE_AND_SWAP_2 ): Likewise.
2384 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2385 (SYNC_LOCK_RELEASE_2): Likewise.
2386 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2387
7d296953 23882015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2389
2390 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2391 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2392 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2393 (get_available_features): Habdle new features.
2394
131314e1
JB
23952015-09-21 James Bowman <james.bowman@ftdichip.com>
2396
2397 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2398 memory layout. Deal correctly with BSS region larger than 32K.
2399 Handle a watchdog reset like a power-on reset. Clean up unused
2400 code.
2401
04218b35
AD
24022015-09-18 Andrew Dixie <andrewd@gentrack.com>
2403 David Edelsohn <dje.gcc@gmail.com>
2404
2405 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2406 * config/rs6000/crtdbase.S: New file.
2407 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2408
c8338173
MF
24092015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2410
2411 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2412 Add support for call0 ABI.
2413
7a84bf71
JDA
24142015-09-13 John David Anglin <danglin@gcc.gnu.org>
2415
2416 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2417
4efab402
SH
24182015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2419
2420 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2421 (__GTHREAD_HAS_COND): Likewise.
2422 (__gthread_t): Likewise.
2423 (__gthread_cond_t): Likewise.
2424 (__gthread_time_t): Likewise.
2425 (__GTHREAD_MUTEX_INIT): Likewise.
2426 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2427 (__GTHREAD_COND_INIT): Likewise.
2428 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2429 (__GTHREAD_TIME_INIT): Likewise.
2430 (__gthread_create): Likewise.
2431 (__gthread_join): Likewise.
2432 (__gthread_detach): Likewise.
2433 (__gthread_equal): Likewise.
2434 (__gthread_self): Likewise.
2435 (__gthread_yield): Likewise.
2436 (__gthread_cond_broadcast): Likewise.
2437 (__gthread_cond_signal): Likewise.
2438 (__gthread_cond_wait): Likewise.
2439 (__gthread_cond_timedwait): Likewise.
2440 (__gthread_cond_wait_recursive): Likewise.
2441 (__gthread_cond_destroy): Likewise.
2442 (rtems_gxx_once): Delete.
2443 (rtems_gxx_key_create): Likewise.
2444 (rtems_gxx_key_delete): Likewise.
2445 (rtems_gxx_getspecific): Likewise.
2446 (rtems_gxx_setspecific): Likewise.
2447 (rtems_gxx_mutex_init): Likewise.
2448 (rtems_gxx_mutex_destroy): Likewise.
2449 (rtems_gxx_mutex_lock): Likewise.
2450 (rtems_gxx_mutex_trylock): Likewise.
2451 (rtems_gxx_mutex_unlock): Likewise.
2452 (rtems_gxx_recursive_mutex_init): Likewise.
2453 (rtems_gxx_recursive_mutex_lock): Likewise.
2454 (rtems_gxx_recursive_mutex_trylock): Likewise.
2455 (rtems_gxx_recursive_mutex_unlock): Likewise.
2456 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2457 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2458 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2459 (__gthread_once): Likewise.
2460 (__gthread_key_create): Likewise.
2461 (__gthread_key_delete): Likewise.
2462 (__gthread_getspecific): Likewise.
2463 (__gthread_setspecific): Likewise.
2464 (__gthread_key_t): Use <pthread.h> type.
2465 (__gthread_once_t): Likewise
2466 (__gthread_mutex_t): Use <sys/lock.h> type.
2467 (__gthread_recursive_mutex_t): Likewise
2468 (__gthread_mutex_lock): Use <sys/lock.h> function.
2469 (__gthread_mutex_trylock): Likewise.
2470 (__gthread_mutex_timedlock): Likewise.
2471 (__gthread_mutex_unlock): Likewise.
2472 (__gthread_mutex_destroy): Likewise.
2473 (__gthread_recursive_mutex_lock): Likewise.
2474 (__gthread_recursive_mutex_trylock): Likewise.
2475 (__gthread_recursive_mutex_timedlock): Likewise.
2476 (__gthread_recursive_mutex_unlock): Likewise.
2477 (__gthread_recursive_mutex_destroy): Likewise.
2478
991995c4
MF
24792015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2480
2481 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2482 context->sp instead of context->cfa.
2483
0e19db59
MF
24842015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2485
2486 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2487 with unwind-dw2-fde-dip.
2488
b6ac5f62
MF
24892015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2490
2491 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2492 CALL12 followed by series of ENTRY to spill windowed registers.
2493 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2494 instead of making linux spill syscall.
2495
3e0f3349
YR
24962015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2497
2498 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2499 (get_intel_cpu): Likewise.
2500
51c728b1
L
25012015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2502
2503 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2504 (get_intel_cpu): Add Knights Landing support.
2505
aff4eeac
UB
25062015-08-11 Uros Bizjak <ubizjak@gmail.com>
2507
2508 PR target/66954
2509 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2510 (get_available_features): Handle FEATURE_PCLMUL.
2511
736e56da
L
25122015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2513
2514 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2515 Broadwell.
2516
54d22142
UB
25172015-07-22 Uros Bizjak <ubizjak@gmail.com>
2518
2519 PR target/66954
2520 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2521 (get_available_features): Handle FEATURE_AES.
2522
20ca17e4
CLT
25232015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2524
2525 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2526 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2527
ebe4a560
NS
25282015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2529
2530 * offloadstuff.c: Constify host data.
2531
180744c0
JB
25322015-07-17 Jan Beulich <jbeulich@suse.com>
2533
2534 * config/t-softfp: Split up "else ifneq".
2535
a03c6ae3
SL
25362015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2537 Cesar Philippidis <cesar@codesourcery.com>
2538 Chung-Lin Tang <cltang@codesourcery.com>
2539
2540 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2541 for __nios2_arch__ level.
2542
73358db5
JM
25432015-07-13 John Marino <gnugcc@marino.st>
2544
2545 * config/i386/t-dragonfly: New.
2546
f9a12f7b
JDA
25472015-07-01 John David Anglin <danglin@gcc.gnu.org>
2548
2549 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2550 better match light-weight syscall argument order.
2551 (__kernel_cmpxchg2): Likewise.
2552 Adjust callers.
2553
cb78b51c
L
25542015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2555
2556 * config.host: Support i[34567]86-*-elfiamcu target.
2557 * config/t-softfp-sfdftf: New file.
2558 * config/i386/32/t-iamcu: Likewise.
2559 * configure: Regenerated.
2560
4fa0f9ea
JL
25612015-06-23 James Lemke <jwlemke@codesourcery.com>
2562
2563 libgcc/config/arm/
2564 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2565
428b3812
L
25662015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2567
2568 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2569
7d296953 25702015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
2571
2572 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2573 md_unwind_header
2574 * config/i386/freebsd-unwind.h: New.
2575
9b789cc1
UB
25762015-05-22 Uros Bizjak <ubizjak@gmail.com>
2577
2578 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2579 i386/t-crtfm to tmake_file.
2580 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2581 (set_fast_math): Use set_fast_math_sse for SSE targets.
2582 * config/i386/t-crtfm: Remove.
2583
3dafb220
AM
25842015-05-21 Alan Modra <amodra@gmail.com>
2585
2586 PR libgcc/66225
2587 * config/rs6000/morestack.S: Remove ".abiversion 1".
2588
0f0fd745
AM
25892015-05-20 Alan Modra <amodra@gmail.com>
2590
2591 * config/rs6000/morestack.S: New.
2592 * config/rs6000/t-stack-rs6000: New.
2593 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2594 to tmake_file.
2595 * generic-morestack.c: Don't build for powerpc 32-bit.
2596
515ae71b
EB
25972015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2598
2599 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2600 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2601
36805406
JL
26022015-05-16 James Bowman <james.bowman@ftdichip.com>
2603
2604 * config.host: FT32 target added.
2605 * config/ft32/*: New files for FT32 target.
2606
ff935d0c
MG
26072015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2608
385c7747
UB
2609 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2610 New macros.
2611 * config/arm/ieee754-df.S: Add CFI directives.
2612 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 2613
9b92a9f3
EB
26142015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2615
2616 * configure.ac: Include config/sjlj.m4.
2617 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2618 * config.in: Regenerate.
2619 * configure: Likewise.
2620 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2621
98b5dc61
UB
26222015-05-12 Uros Bizjak <ubizjak@gmail.com>
2623
2624 * libgcov-util.c: Add space between string literal and macro name.
2625
5a0ff57c
SL
26262015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2627 Chris Jones <chrisj@nvidia.com>
2628 Joshua Conner <jconner@nvidia.com>
2629
2630 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2631 (arm*-*-uclinux*): Likewise.
2632 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2633 * config/arm/crtfastmath.c: New file.
2634
d28ad5d4
BS
26352014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2636
2637 * Makefile.in (real_host_noncanonical): New variable.
2638 (libsubdir): Use it.
2639 * configure.ac (real_host_noncanonical): Compute. Remove special
2640 case for intelmicemul.
2641 * configure: Regenerate.
2642
cc86234f
UB
26432015-04-28 Uros Bizjak <ubizjak@gmail.com>
2644
2645 * config/frv/elf-lib.h: New file.
2646 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2647 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2648 to tm_file.
2649
26502015-04-28 Uros Bizjak <ubizjak@gmail.com>
2651
2652 * config/frv/frvbengin.c: Do not include defaults.h
2653 * config/frv/frvend.c: Ditto.
2654
2f6bd6eb
YS
26552015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2656
2657 * config.host: Add h8300-*-linux
2658 * config/h8300/t-linux: New file.
2659 * config/h8300/lib1funs.s: Change symbol prefix.
2660 * config/h8300/sfp-machine.h: 64bit double support.
2661
15aa7b44
GR
26622015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2663 Szabolcs Nagy <szabolcs.nagy@arm.com>
2664
2665 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2666 Linux if target provides dl_iterate_phdr.
2667
abd0cdc9
L
26682015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2669
2670 PR target/65612
2671 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2672 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2673 (__cpu_indicator_init@GCC_4.8.0): New.
2674 (__cpu_model@GCC_4.8.0): Likewise.
2675 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2676 -DUSE_ELF_SYMVER.
2677
72ed1126
NC
26782015-04-16 Nick Clifton <nickc@redhat.com>
2679
2680 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2681 and __modhi3 functions.
2682 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2683 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2684
d26b2237
CG
26852015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2686
2687 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2688 do-while loop as macro body to avoid warnings.
2689
cacf1f59
JJ
26902015-04-10 Jakub Jelinek <jakub@redhat.com>
2691 Iain Sandoe <iain@codesourcery.com>
2692
2693 PR target/65351
2694 * configure: Regenerate.
2695
e8a4ed3b
JJ
26962015-04-07 Jakub Jelinek <jakub@redhat.com>
2697 Iain Sandoe <iain@codesourcery.com>
2698
2699 PR target/65351
2700 * configure: Regenerate.
2701
0341335e
CLT
27022015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2703
2704 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2705
590e2636 27062015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 2707
590e2636
MF
2708 Implement call0 ABI for xtensa
2709 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2710 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2711 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2712 use ret in call0 ABI.
2713 * config/xtensa/t-windowed: New file.
2714 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2715 * libgcc/configure: Regenerated.
2716 * libgcc/configure.ac: Check if xtensa target is configured for
2717 windowed ABI and thus needs to use custom unwind code.
2718
7727f8f2
JW
27192015-02-12 Jonathan Wakely <jwakely@redhat.com>
2720
2721 PR libgcc/64885
2722 * gthr-single.h: Use __unused__ attribute instead of unused.
2723 * config/gthr-vxworks.h: Likewise.
2724 * config/i386/gthr-win32.h: Likewise.
2725
0e4a0def
KT
27262015-02-27 Kai Tietz <ktietz@redhat.com>
2727
2728 PR target/65038
2729 * config.in: Regenerated.
2730 * configure: Likewise.
2731 * configure.ac (AC_HEADER_STDC): Added explicit.
2732 (AC_CHECK_HEADERS): Check for default headers plus
2733 for ftw.h header.
2734 * libgcov-util.c (gcov_read_profile_dir): Disable use
2735 of ftw-function, if header is not found.
2736 (ftw_read_file): Likewise.
2737
b6530d0a
TS
27382015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2739
2740 PR target/65181
2741 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2742 -Dinhibit_libc.
2743
53cfb467
SL
27442015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2745
2746 * config/arm/bpabi.S (test_div_by_zero): Make label names
2747 consistent between thumb2 and arm mode cases. Separate the
2748 signed comparison on the high word of the numerator from the
2749 unsigned comparison on the low word.
2750 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2751 signed comparison.
2752
77d10a1b
JM
27532015-02-17 Joseph Myers <joseph@codesourcery.com>
2754
2755 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2756 and <string.h>.
2757 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2758
98174188
RE
27592015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2760
2761 PR gcov-profile/61889
471274de 2762 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 2763
771bef14
NC
27642015-02-02 Nick Clifton <nickc@redhat.com>
2765
2766 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2767 rounding up the fraction.
2768
40702893
JDA
27692015-01-31 John David Anglin <danglin@gcc.gnu.org>
2770
2771 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2772 oldval and newval to const void *. Fix typo.
2773 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2774 (FETCH_AND_OP_WORD): Likewise.
2775 (OP_AND_FETCH_WORD): Likewise.
2776 (COMPARE_AND_SWAP_2): Likewise.
2777 (__sync_val_compare_and_swap_4): Likewise.
2778 (__sync_lock_test_and_set_4): Likewise.
2779 (SYNC_LOCK_RELEASE_2): Likewise.
2780 Remove support for long long atomic operations.
2781
f7f049fa
CT
27822015-01-27 Caroline Tice <cmtice@google.com>
2783
2784 Committing VTV Cywin/Ming patch for Patrick Wollgast
2785 * Makefile.in: Move rules to build vtv_*.o out of the check
2786 for CUSTOM_CRTSTUFF.
2787 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2788 i[34567]86-*-mingw*)
2789 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2790 enable_vtable_verify.
2791
8410904a
NC
27922015-01-27 Nick Clifton <nickc@redhat.com>
2793
2794 * config/rl78/cmpsi2.S: Use function start and end macros.
2795 (__gcc_bcmp): New function.
2796 * config/rl78/lshrsi3.S: Use function start and end macros.
2797 * config/rl78/mulsi3.S: Add support for G10.
2798 (__mulqi3): New function for G10.
2799 * config/rl78/signbit.S: Use function start and end macros.
2800 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2801 fpmath-sf.S.
2802 (LIB2FUNCS_EXCLUDE): Define.
2803 (LIB2FUNCS_ST): Define.
2804 * config/rl78/trampoline.S: Use function start and end macros.
2805 * config/rl78/vregs.h (START_FUNC): New macro.
2806 (START_ANOTHER_FUNC): New macro.
2807 (END_FUNC): New macro.
2808 (END_ANOTHER_FUNC): New macro.
2809 * config/rl78/bit-count.S: New file. Contains assembler
2810 implementations of the bit counting functions: ___clzhi2,
2811 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2812 __paritysi2, __popcounthi2 and __popcountsi2.
2813 * config/rl78/fpbit-sf.S: New file. Contains assembler
2814 implementationas of the math functions: __negsf2, __cmpsf2,
2815 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2816 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2817 * config/rl78/fpmath-sf.S: New file. Contains assembler
2818 implementations of the math functions: __subsf3, __addsf3,
2819 __mulsf3 and __divsf3
2820
f962fbf1
RO
28212015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2822
2823 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2824 Add i386/elf-lib.h to tm_file.
2825 * config/i386/elf-lib.h: Fix comment.
2826 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2827 && __sun__ && __svr4__]: Remove workaround.
2828
939911c5
ASJ
28292015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2830
2831 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2832 FEATURE_BMI2.
2833 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2834
c8f2dff2
L
28352015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2836
2837 * config/i386/cpuinfo.c (processor_subtypes): Add
2838 INTEL_COREI7_BROADWELL.
2839 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2840 model numbers.
2841
7bbf9734
UB
28422015-01-23 Uros Bizjak <ubizjak@gmail.com>
2843
2844 * config/i386/elf-lib.h: New file.
2845 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2846 Wrap definition in #ifdef __i386__.
2847 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2848 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2849 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2850 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2851 to tm_file.
2852
324820f1
CG
28532015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2854
2855 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2856 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2857
a9ce4e4a
CLT
28582015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2859
2860 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2861 Update rt_sigframe format and address for current Nios II
2862 Linux conventions.
2863
82a19768
AT
28642015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2865
2866 * config.host (arm*-*-freebsd*): Add new configuration for
2867 arm*-*-freebsd*.
2868 * config/arm/freebsd-atomic.c: New file.
2869 * config/arm/t-freebsd: Likewise.
2870 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2871 'PC-relative indirect' OS's.
2872
0969ec7d
EB
28732015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2874
2875 * config.host: Add Visium support.
2876 * config/visium: New directory.
2877
5624e564
JJ
28782015-01-05 Jakub Jelinek <jakub@redhat.com>
2879
2880 Update copyright years.
2881
82f84ecb
MF
28822014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2883
2884 * config.host: Support mipsisa32r6 and mipsisa64r6.
2885 * config/mips/mips16.S: Do not build for R6.
2886
69044fa9
OE
28872014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2888
2889 * config/sh/crt.h: New.
2890 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2891 symbols.
2892 * config/sh/crt1.S: Likewise.
2893
2405e0ea
UB
28942014-12-15 Uros Bizjak <ubizjak@gmail.com>
2895
2896 PR libgcc/63832
2897 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2898 func_ptr *dtor_list temporary variable to avoid "array subscript
2899 is above array bounds" warnings.
2900
7d296953 29012014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
2902
2903 * Makefile.in (with_aix_soname): Define.
2904 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2905 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2906 * configure: Recreate.
2907
a66272f6
OH
29082014-12-05 Olivier Hainque <hainque@adacore.com>
2909
2910 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2911 now provided by defaults.h.
2912
6342b2c5
OE
29132014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2914
7d0ee249 2915 PR target/55351
6342b2c5
OE
2916 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2917 whether it's defined.
2918
c17eac85
IT
29192014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2920
2921 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2922 * config/i386/cpuinfo.c (get_available_features): Detect it.
2923
1025cb6c
TW
29242014-11-27 Tony Wang <tony.wang@arm.com>
2925
2926 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2927 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2928 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2929
d19f2e38
SB
29302014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2931
2932 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2933
17f6e9a3
JDA
29342014-11-24 John David Anglin <danglin@gcc.gnu.org>
2935
2936 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2937 instead.
2938
0cd7c672
GM
29392014-11-21 Guy Martin <gmsoft@tuxicoman.be>
2940 John David Anglin <danglin@gcc.gnu.org>
2941
2942 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2943 (FETCH_AND_OP_2): New. Use for subword and double word operations.
2944 (OP_AND_FETCH_2): Likewise.
2945 (COMPARE_AND_SWAP_2): Likewise.
2946 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2947 (SYNC_LOCK_RELEASE_2): Likewise.
2948 (SUBWORD_SYNC_OP): Remove.
2949 (SUBWORD_VAL_CAS): Likewise.
2950 (SUBWORD_BOOL_CAS): Likewise.
2951 (FETCH_AND_OP_WORD): Update.
2952 Consistently use signed types.
cc86234f 2953
85c64bbe
BS
29542014-11-13 Bernd Schmidt <bernds@codesourcery.com>
2955 Thomas Schwinge <thomas@codesourcery.com>
2956 Ilya Verbin <ilya.verbin@intel.com>
2957 Andrey Turetskiy <andrey.turetskiy@intel.com>
2958
2959 * Makefile.in (crtoffloadbegin$(objext)): New rule.
2960 (crtoffloadend$(objext)): Likewise.
2961 * configure: Regenerate.
2962 * configure.ac (accel_dir_suffix): Compute new variable.
2963 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2964 if enable_offload_targets is not empty.
2965 * offloadstuff.c: New file.
2966
52a1ff8b
NC
29672014-11-13 Nick Clifton <nickc@redhat.com>
2968
2969 * config/rl78/divmodhi.S: Add support for the G10 architecture.
2970 Use START_FUNC and END_FUNC macros to enable linker garbage
2971 collection.
2972 * config/rl78/divmodqi.S: Likewise.
2973 * config/rl78/divmodsi.S: Likewise.
2974 * config/rl78/mulsi3.S: Likewise.
2975 * config/rl78/lib2div.c: Remove G10 functions.
2976 * config/rl78/lib2muls.c: Likewise.
2977 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2978 * config/rl78/vregs.h (START_FUNC): New macro.
2979 (END_FUNC): New macro.
2980
050af144
MF
29812014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
2982
2983 * config/mips/mips16.S: Set .module when supported. Update O32
2984 FP64 calling convention and use for FPXX when possible. Add FPXX
2985 calling convention fallback case.
2986
738f2522
BS
29872014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2988
2989 * config.host: Handle nvptx-*-*.
2990 * shared-object.mk (as-flags-$o): Define.
2991 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2992 -xassembler-with-cpp.
2993 * static-object.mk: Identical changes.
2994 * config/nvptx/t-nvptx: New file.
2995 * config/nvptx/crt0.s: New file.
2996 * config/nvptx/free.asm: New file.
2997 * config/nvptx/malloc.asm: New file.
2998 * config/nvptx/realloc.c: New file.
2999
e610393c
JM
30002014-10-30 Joseph Myers <joseph@codesourcery.com>
3001
3002 * Makefile.in (libgcc.map.in): New target.
3003 (libgcc.map): Use libgcc.map.in.
3004 * config/t-softfp (softfp_compat): New variable to be set by
3005 users.
3006 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3007 variables.
3008 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3009 directory.
3010 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3011 that use compat symbols and disable all code unless [SHARED].
3012 * config/t-softfp-compat: New file.
3013 * find-symver.awk: New file.
3014 * configure.ac (--with-glibc-version): New configure option.
3015 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3016 * configure: Regenerate.
3017 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3018 soft-float and e500.
3019
bc1b3a88
JM
30202014-10-29 Joseph Myers <joseph@codesourcery.com>
3021
3022 * config/t-hardfp (hardfp_exclusions): Document new variable for
3023 user to define.
3024 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3025 * config/t-softfp (softfp_extras): Document new variable for user
3026 to define.
3027 (softfp_func_list): Add functions from $(softfp_extras).
3028 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3029 * config.host (powerpc*-*-linux*): For e500v1, use
3030 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3031 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3032 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3033
ef2810c1
JDA
30342014-10-26 John David Anglin <danglin@gcc.gnu.org>
3035
3036 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3037 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3038 memory read accesses are ok.
3039
d80c2bea
JM
30402014-10-25 Joseph Myers <joseph@codesourcery.com>
3041
3042 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3043 * configure: Regenerate.
3044 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3045 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3046 of soft-fp for 32-bit classic hard float. Do not use
3047 t-softfp-excl for soft float.
3048
693b297b
JM
30492014-10-22 Joseph Myers <joseph@codesourcery.com>
3050
3051 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3052 configurations.
3053 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3054 Remove variables.
3055
18a3415e
GJL
30562014-10-22 Georg-Johann Lay <avr@gjlay.de>
3057
3058 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3059 introduced with 2014-10-21 trunk r216525.
3060
c1dd9790 30612014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3062 Vidya Praveen <vidya.praveen@atmel.com>
3063 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3064 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3065 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3066
3067 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3068 order.
3069
3070 Updated library functions for AVRTINY arch.
3071 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3072 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3073 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3074 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3075 wsubi/wadi macors.
3076 (__mulsi3_helper): Update stack, preserve callee saved regs and
3077 argument from stack. Restore callee save registers.
3078 (__mulpsi3): Likewise.
3079 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3080 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3081 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3082 AVRTINY.
3083 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3084 (__do_copy_data): Added new definition for AVRTINY.
3085 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3086 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3087 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3088 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3089 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3090 macors.
18a3415e 3091 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3092 AVRTINY.
3093
18a3415e 3094 Fix broken long multiplication on tiny arch.
c1dd9790 3095
5f606431
JM
30962014-10-09 Joseph Myers <joseph@codesourcery.com>
3097
3098 * soft-fp/double.h: Update from glibc.
3099 * soft-fp/eqdf2.c: Likewise.
3100 * soft-fp/eqsf2.c: Likewise.
3101 * soft-fp/eqtf2.c: Likewise.
3102 * soft-fp/extenddftf2.c: Likewise.
3103 * soft-fp/extended.h: Likewise.
3104 * soft-fp/extendsfdf2.c: Likewise.
3105 * soft-fp/extendsftf2.c: Likewise.
3106 * soft-fp/extendxftf2.c: Likewise.
3107 * soft-fp/gedf2.c: Likewise.
3108 * soft-fp/gesf2.c: Likewise.
3109 * soft-fp/getf2.c: Likewise.
3110 * soft-fp/ledf2.c: Likewise.
3111 * soft-fp/lesf2.c: Likewise.
3112 * soft-fp/letf2.c: Likewise.
3113 * soft-fp/op-1.h: Likewise.
3114 * soft-fp/op-2.h: Likewise.
3115 * soft-fp/op-4.h: Likewise.
3116 * soft-fp/op-8.h: Likewise.
3117 * soft-fp/op-common.h: Likewise.
3118 * soft-fp/quad.h: Likewise.
3119 * soft-fp/single.h: Likewise.
3120 * soft-fp/soft-fp.h: Likewise.
3121 * soft-fp/unorddf2.c: Likewise.
3122 * soft-fp/unordsf2.c: Likewise.
3123 * soft-fp/unordtf2.c: Likewise.
3124 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3125 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3126 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3127 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3128 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3129 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3130 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3131 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3132 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3133 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3134
9b84e7a8
RX
31352014-10-08 Rong Xu <xur@google.com>
3136
3137 * libgcov-util.c (read_gcda_file): Fix format.
3138 (find_match_gcov_info): Ditto.
3139 (calculate_2_entries): New.
3140 (compute_one_gcov): Ditto.
3141 (gcov_info_count_all_cold): Ditto.
3142 (gcov_info_count_all_zero): Ditto.
3143 (extract_file_basename): Ditto.
3144 (get_file_basename): Ditto.
3145 (set_flag): Ditto.
3146 (matched_gcov_info): Ditto.
3147 (calculate_overlap): Ditto.
3148 (gcov_profile_overlap): Ditto.
3149 * libgcov-driver.c (compute_summary): Make
3150 it avavilable for external calls.
3151
fe1090c1
RX
31522014-10-06 Rong Xu <xur@google.com>
3153
3154 * Makefile.in: Ditto.
3155 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3156 (gcov_sort_icall_topn_counter): Ditto.
3157 (gcov_sort_topn_counter_arrays): Ditto.
3158 (dump_one_gcov): Sort indirect_call topn counters.
3159 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3160 function.
3161 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3162 utility function.
3163 (__gcov_indirect_call_topn_profiler): New profiler function.
3164 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3165 * libgcov.h: New decls.
3166
3daa7bbf
TS
31672014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3168
3169 * config.host: Remove support for score-*.
3170
9a79452d
JM
31712014-09-22 Joseph Myers <joseph@codesourcery.com>
3172
3173 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3174 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3175 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3176 __LIBGCC_XF_MANT_DIG__.
3177 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3178 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3179 __LIBGCC_TF_MANT_DIG__.
3180 * libgcc2.c (NOTRUNC): Define in terms of
3181 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3182 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3183
1a849e50
JM
31842014-09-22 Joseph Myers <joseph@codesourcery.com>
3185
3186 PR target/63312
3187 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3188 New macros.
3189
598a1586
HPN
31902014-09-22 Hans-Peter Nilsson <hp@axis.com>
3191
3192 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3193 override USE_PT_GNU_EH_FRAME.
3194 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3195 check USE_EH_FRAME_REGISTRY_ALWAYS against
3196 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3197 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3198 variable for substituted force_explicit_eh_registry.
3199 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3200 * configure.ac (explicit-exception-frame-registration):
3201 New AC_ARG_ENABLE.
3202 * configure: Regenerate.
3203
3a8fe7c6
OH
32042014-09-19 Olivier Hainque <hainque@adacore.com>
3205
3206 * config.host (powerpc-wrs-vxworksmils): New configuration,
3207 same as vxworksae.
3208
dd69f047
JM
32092014-09-18 Joseph Myers <joseph@codesourcery.com>
3210
3211 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3212
e770bfd9
JM
32132014-09-18 Joseph Myers <joseph@codesourcery.com>
3214
3215 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3216 bits not set bits as indicating trapping exceptions.
3217
cadb2b96
NS
32182014-09-17 Nathan sidwell <nathan@acm.org>
3219
3220 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3221 (LIBGCOV_DRIVER): ... here.
3222 * libgcov-driver.c (gcov_master): New.
3223 (gcov_exit): Remove from master chain.
3224 (__gcov_init): Add to master chain if version compatible. Don't
3225 clear the version.
3226 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3227 (gcov_reset_int): Clear master chain, if compatible.
3228 (gcov_dump_int): New internal interface. Dump master chain, if
3229 compatible.
3230 (gcov_dump): Alias for gcov_dump_int.
3231 * libgcov.h (struct gcov_root): Add next and prev fields.
3232 (struct gcov_master): New struct.
3233 (__gcov_master): New.
3234 (gcov_dump_int): Declare.
3235
580d22a3
OH
32362014-09-17 Olivier Hainque <hainque@adacore.com>
3237
3238 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3239 and crtbegin.o + crtend.o to extra_parts.
3240
8cc4b7a2
JM
32412014-09-12 Joseph Myers <joseph@codesourcery.com>
3242
3243 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3244 __LIBGCC_HAS_SF_MODE__.
3245 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3246 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3247 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3248 * config/libbid/bid_gcc_intrinsics.h
3249 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3250 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3251 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3252 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3253 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3254 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3255
ea3f2b24
GJL
32562014-09-11 Georg-Johann Lay <avr@gjlay.de>
3257
3258 PR target/63223
3259 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3260 and R24 as needed. Make work for all devices and .text locations.
3261 (__do_global_ctors, __do_global_dtors): Use word addresses.
3262 (__tablejump__, __tablejump_elpm__): Remove functions.
3263 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3264 Add _tablejump2.
3265 (XICALL, XIJMP): New macros.
3266
b677236a
MS
32672014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3268 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3269
3270 * config.host (aarch64*): Include crtfastmath.o and
3271 t-crtfm.
3272 * config/aarch64/crtfastmath.c: New file.
3273
157e859f
TS
32742014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3275
3276 * config.host: Remove picochip support.
3277 * config/picochip/adddi3.S: Remove.
3278 * config/picochip/ashlsi3.S: Remove.
3279 * config/picochip/ashlsi3.c: Remove.
3280 * config/picochip/ashrsi3.S: Remove.
3281 * config/picochip/ashrsi3.c: Remove.
3282 * config/picochip/clzsi2.S: Remove.
3283 * config/picochip/cmpsi2.S: Remove.
3284 * config/picochip/divmod15.S: Remove.
3285 * config/picochip/divmodhi4.S: Remove.
3286 * config/picochip/divmodsi4.S: Remove.
3287 * config/picochip/lib1funcs.S: Remove.
3288 * config/picochip/longjmp.S: Remove.
3289 * config/picochip/lshrsi3.S: Remove.
3290 * config/picochip/lshrsi3.c: Remove.
3291 * config/picochip/parityhi2.S: Remove.
3292 * config/picochip/popcounthi2.S: Remove.
3293 * config/picochip/setjmp.S: Remove.
3294 * config/picochip/subdi3.S: Remove.
3295 * config/picochip/t-picochip: Remove.
3296 * config/picochip/ucmpsi2.S: Remove.
3297 * config/picochip/udivmodhi4.S: Remove.
3298 * config/picochip/udivmodsi4.S: Remove.
3299
66bb34c0
JM
33002014-09-08 Joseph Myers <joseph@codesourcery.com>
3301
3302 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3303 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3304 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3305 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3306 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3307 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3308 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3309 defined and LIBGCC2_HAS_DF_MODE is defined.
3310 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3311 defined and LIBGCC2_HAS_XF_MODE is defined.
3312 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3313 defined and LIBGCC2_HAS_TF_MODE is defined.
3314
9686a2e6
JM
33152014-09-08 Joseph Myers <joseph@codesourcery.com>
3316
3317 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3318 and ROUND_TOWARDS_ZERO conditionals.
3319
71c3e2ef
NS
33202014-09-07 Nathan sidwell <nathan@acm.org>
3321
3322 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3323 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3324
53d68b9f
JM
33252014-09-05 Joseph Myers <joseph@codesourcery.com>
3326
3327 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3328 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3329 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3330 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3331 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3332 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3333 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3334 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3335 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3336 (DWARF_FRAME_REGISTERS): Change all uses to
3337 __LIBGCC_DWARF_FRAME_REGISTERS__.
3338 (EH_RETURN_STACKADJ_RTX): Change all uses to
3339 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3340 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3341 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3342 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3343 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3344 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3345 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3346 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3347 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3348 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3349 __LIBGCC_STACK_POINTER_REGNUM__.
3350 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3351 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3352 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3353 to __LIBGCC_STACK_POINTER_REGNUM__.
3354 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3355 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3356 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3357 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3358 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3359 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3360 (STACK_POINTER_REGNUM): Change all uses to
3361 __LIBGCC_STACK_POINTER_REGNUM__.
3362 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3363 use to __LIBGCC_STACK_POINTER_REGNUM__.
3364 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3365 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3366 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3367 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3368 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3369 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3370 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3371 to __LIBGCC_STACK_POINTER_REGNUM__.
3372 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3373 Remove conditional definition.
3374 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3375 __LIBGCC_TEXT_SECTION_ASM_OP__.
3376 (EH_FRAME_SECTION_NAME): Change all uses to
3377 __LIBGCC_EH_FRAME_SECTION_NAME__.
3378 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3379 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3380 (CTORS_SECTION_ASM_OP): Change all uses to
3381 __LIBGCC_CTORS_SECTION_ASM_OP__.
3382 (DTORS_SECTION_ASM_OP): Change all uses to
3383 __LIBGCC_DTORS_SECTION_ASM_OP__.
3384 (JCR_SECTION_NAME): Change all uses to
3385 __LIBGCC_JCR_SECTION_NAME__.
3386 (INIT_SECTION_ASM_OP): Change all uses to
3387 __LIBGCC_INIT_SECTION_ASM_OP__.
3388 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3389 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3390 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3391 __LIBGCC_STACK_GROWS_DOWNWARD__.
3392 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3393 __LIBGCC_INIT_SECTION_ASM_OP__.
3394 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3395 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3396 (EH_FRAME_SECTION_NAME): Change all uses to
3397 __LIBGCC_EH_FRAME_SECTION_NAME__.
3398 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3399 definitions. Change all uses to
3400 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3401 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3402 __LIBGCC_STACK_GROWS_DOWNWARD__.
3403 (DWARF_FRAME_REGISTERS): Change all uses to
3404 __LIBGCC_DWARF_FRAME_REGISTERS__.
3405 (EH_RETURN_STACKADJ_RTX): Change all uses to
3406 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3407 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3408 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3409 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3410 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3411 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3412
b20ee094
NS
34132014-09-02 Nathan sidwell <nathan@acm.org>
3414
3415 * libgcov-interface.c (STRONG_ALIAS): New.
3416 (__gcov_flush): Call __gcov_reset_int.
3417 (__gcov_reset): Strong alias for ...
3418 (__gcov_reset_ing): ... this renamed hidden version.
3419 * libgcov.h (__gcov_reset_int): New declaration.
3420
1ac83976
YS
34212014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3422
25efdb9f
YS
3423 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3424 call from here...
3425 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3426 (__dso_handle): Define on Cygwin.
3427 * config/i386/t-cygming (crtbeginS.o): New rule.
3428 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3429
1ac83976
YS
3430 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3431 declaration syntax.
3432
c6f9ea3b
SE
34332014-08-13 Steve Ellcey <sellcey@mips.com>
3434
3435 * crtstuff.c: Undef caddr_t.
3436
5b1ea7c5
SE
34372014-08-12 Steve Ellcey <sellcey@mips.com>
3438
3439 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3440
4303c581
NS
34412014-08-07 Nathan Sidwell <nathan@acm.org>
3442
3443 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3444 (LIBGCOV_DRIVER): ... to here.
3445 * libgcov.h (gcov_do_dump): New #define.
3446 (struct gcov_root): New.
3447 (__gcov_root): New declaration.
3448 (__gcov_dump_one): Declare.
3449 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3450 run_accounted): Delete.
3451 (gcov_compute_histogram): Add LIST argument, adjust.
3452 (compute_summary): Adjust gcov_compute_histogram call.
3453 (gcov_do_dump): Not hidden, static in libgcov.
3454 (gcov_clear): Move to interface.c.
3455 (__gcov_dump_one): New, broken out of ...
3456 (gcov_exit): ... here. Make static.
3457 (__gcov_root): New.
3458 (__gcov_init): Adjust.
3459 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3460 declarations.
3461 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3462 (gcov_clear): Moved from driver.c. Add LIST argument.
3463 (__gcov_reset): Adjust for changed interfaces.
3464 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3465
23742a9e
RAR
34662014-08-04 Rohit <rohitarulraj@freescale.com>
3467
3468 PR target/60102
3469 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3470 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3471
b98a872b
NS
34722014-08-01 Nathan Sidwell <nathan@acm.org>
3473
3474 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3475 LIBGCOV_INTERFACE): Reformat.
3476 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3477 IN_GCOV_TOOL.
3478 * libgcov-interface.c: Reformat some comments.
3479 (__gcov_flush_mx): Add declaration. Tidy up definition.
3480
6adaaa1d
AM
34812014-07-31 Alan Modra <amodra@gmail.com>
3482 Peter Bergner <bergner@vnet.ibm.com>
3483
3484 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3485 (pack_ldouble): New function.
3486 (__gcc_qadd): Use it.
3487 (__gcc_qmul): Likewise.
3488 (__gcc_qdiv): Likewise.
3489 (__gcc_qneg): Likewise.
3490 (__gcc_stoq): Likewise.
3491 (__gcc_dtoq): Likewise.
3492
87cb0c0c
UW
34932014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3494
3495 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3496 (__tpf_eh_return): Add original return address as second parameter.
3497 Handle cases where unwinder routines were called directly, instead
3498 of from within the C++ library.
3499
19926161
NS
35002014-07-29 Nathan Sidwell <nathan@acm.org>
3501
3502 * libgcov.h: Move renaming of entry points to lib gcov specific
3503 portion.
3504 (gcov_do_dump): New rename.
3505 (gcov_rewrite): Remove inline, make HIDDEN.
3506 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3507 (gcov_exit_compute_summary): Rename to ...
3508 (compute_summary): ... here. Add LIST argument.
3509 (gcov_exit_merge_gcda): Rename to ...
3510 (merge_one_data): ... here.
3511 (gcov_exit_write_gcda): Rename to ...
3512 (write_one_data): ... here.
3513 (gcov_exit_merge_summary): Rename to ...
3514 (merge_summary): Add RUN_COUNTED argument.
3515 (gcov_exit_dump_gcov): Rename to ...
3516 (dump_one_gcov): Add RUN_COUNTED argument.
3517 (gcov_do_dump): New function, broken out of ...
3518 (gcov_exit): ... here. Call it.
3519
17522262
AG
35202014-07-27 Anthony Green <green@moxielogic.com>
3521
3522 * config.host: Add moxiebox configuration suppport.
3523
6dc33097
NS
35242014-07-27 Nathan Sidwell <nathan@acm.org>
3525
3526 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3527 (struct gcov_filename): ... here. Include buffer and max length
3528 fields.
3529 (gcov_max_filename): Remove.
3530 (gi_filename): Remove.
3531 (gcov_exit_compute_summary): Compute max filename here.
3532 (gcov_exit_merge_gcda): Add filename parm, adjust.
3533 (gcov_exit_merge_summary): Likewise.
3534 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3535 (gcov_exit): Likewise.
3536 (__gcov_init): Don't calculate max length here.
3537 * libgcov_util.c (max_filename_len): Remove.
3538 (read_gcda_file): Don't calculate max length here.
3539 (gcov_read_profile_dir): Don't propagate here.
3540 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3541 struct gcov_filename changes.
3542 (gcov_exit_open_gcda_file): Likewise.
3543
770f687d
NS
35442014-07-25 Nathan Sidwell <nathan@acm.org>
3545
3546 * libgcov-driver.c (set_gcov_dump_complete,
3547 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3548 functions polluting user's namespace.
3549 (gcov_exit): Set variable directly.
3550 (gcov_clear): Reset variable directly.
3551 * libgcov-interface.c (get_gcov_dymp_complete,
3552 reset_gov_dump_complete): Remove declarations.
3553 (__gcov_reset, __gcov_dump): Don't call them.
3554
fabf71ba
DD
35552014-07-24 DJ Delorie <dj@redhat.com>
3556
3557 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
3558 (__gcc_deregister_frame): Move logic to detect deregister function
3559 to ...
3560 (__gcc_register_frame): here, so it's consistent with the register
3561 logic.
fabf71ba 3562
d10ee722
NS
35632014-07-23 Nathan Sidwell <nathan@acm.org>
3564
3565 * libgcov-driver.c (set_gcov_list): Remove.
3566 (gcov_list): Make non-static in GCOV_TOOL.
3567 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3568
a4137090
JDA
35692014-07-17 John David Anglin <danglin@gcc.gnu.org>
3570
3571 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3572 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3573 Don't use SYNC_LOCK_RELEASE for int type.
3574
72602c6c
RB
35752014-07-14 Richard Biener <rguenther@suse.de>
3576
3577 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3578
d5313205
RX
35792014-07-11 Rong Xu <xur@google.com>
3580
3581 * libgcov-util.c (gcov_max_filename): Fix declartion.
3582
c77556a5
RX
35832014-07-10 Rong Xu <xur@google.com>
3584
3585 Add gcov-tool: an offline gcda profile processing tool
3586 Support.
3587 * libgcov-driver.c (gcov_max_filename): Make available
3588 to gcov-tool.
3589 * libgcov-merge.c (__gcov_merge_add): Replace
3590 gcov_read_counter() with a Macro.
3591 (__gcov_merge_ior): Ditto.
3592 (__gcov_merge_time_profile): Ditto.
3593 (__gcov_merge_single): Ditto.
3594 (__gcov_merge_delta): Ditto.
3595 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3596 in the utility functions.
3597 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3598 gcov_list object link lists.
3599 (tag_function): Ditto.
3600 (tag_blocks): Ditto.
3601 (tag_arcs): Ditto.
3602 (tag_lines): Ditto.
3603 (tag_counters): Ditto.
3604 (tag_summary): Ditto.
3605 (read_gcda_finalize): Ditto.
3606 (read_gcda_file): Ditto.
3607 (ftw_read_file): Ditto.
3608 (read_profile_dir_init): Ditto.
3609 (gcov_read_profile_dir): Ditto.
3610 (gcov_read_counter_mem): Ditto.
3611 (gcov_get_merge_weight): Ditto.
3612 (merge_wrapper): A wrapper function that calls merging handler.
3613 (gcov_merge): Merge two gcov_info objects with weights.
3614 (find_match_gcov_info): Find the matched gcov_info in the list.
3615 (gcov_profile_merge): Merge two gcov_info object lists.
3616 (__gcov_add_counter_op): Process edge profile counter values.
3617 (__gcov_ior_counter_op): Process IOR profile counter values.
3618 (__gcov_delta_counter_op): Process delta profile counter values.
3619 (__gcov_single_counter_op): Process single profile counter values.
3620 (fp_scale): Callback function for float-point scaling.
cc86234f 3621 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
3622 (gcov_profile_scale): Scaling profile counters.
3623 (gcov_profile_normalize): Normalize profile counters.
3624 * libgcov.h: Add headers and functions for gcov-tool use.
3625 (gcov_get_counter): New.
3626 (gcov_get_counter_target): Ditto.
3627 (struct gcov_info): Make the functions field mutable in gcov-tool
3628 compilation.
3629
5c7dac8a
KT
36302014-06-23 Kai Tietz <ktietz@redhat.com>
3631
3632 PR libgcc/61585
3633 * unwind-seh.c (_Unwind_GetGR): Check for proper
3634 index range.
3635 (_Unwind_SetGR): Likewise.
3636
161c9312
NC
36372014-05-22 Nick Clifton <nickc@redhat.com>
3638
3639 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3640 -mhwmult=none.
3641
e3f0315f
TJ
36422014-05-22 Teresa Johnson <tejohnson@google.com>
3643
3644 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3645 include.
3646
dbed5a9b
JM
36472014-05-20 John Marino <gnugcc@marino.st>
3648
3649 * config.host (*-*-dragonfly*): New target.
3650 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3651 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3652 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3653 * config/i386/dragonfly-unwind.h: New.
3654
1ec380e5
MR
36552014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3656
3657 PR libgcc/60166
3658 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3659 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3660
54fde020
BE
36612014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3662
3663 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3664 implementation.
3665
999db125
GJL
36662014-05-12 Georg-Johann Lay <avr@gjlay.de>
3667
3668 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3669
cceaf54a
RO
36702014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3671
3672 PR libgcc/61097
3673 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3674 if --enable-shared.
3675
e3fe9b5b
BE
36762014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3677
3678 Work around for current cygwin32 build problems.
3679 * config/i386/cygming-crtbegin.c (__register_frame_info,
3680 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3681 functions only for 64-bit systems.
3682
54cf37e9
RO
36832014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3684
3685 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3686 (sigill_caught, sigill_hdlr): Remove.
3687
d9f069ab
RO
36882014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3689
3690 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3691 check.
3692 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3693 Solaris 9 single-threaded support.
3694 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3695 Solaris 9 single-threaded support. Add call_user_handler code
3696 sequences.
3697 (sparc_is_sighandler): Likewise.
3698
59976ef8
AK
36992014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3700
3701 * config.host: Append t-floattodi to tmake_file depending on
3702 host_address.
3703
d02bbcf3
JS
37042014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3705
31466bc0 3706 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 3707
c2e7e597
UB
37082014-03-10 Uros Bizjak <ubizjak@gmail.com>
3709
3710 PR libgcc/60472
3711 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 3712 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
3713 Use __builtin_expect when checking *jcr_list for NULL.
3714
227a7dc8
RO
37152014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3716
3717 PR libgcc/59339
3718 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3719 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3720 vtv_*.o to extra_parts if enable_vtable_verify.
3721
df2b279c
NC
37222014-03-06 Nick Clifton <nickc@redhat.com>
3723
3724 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3725 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3726
dc11d79b
JY
37272014-02-28 Joey Ye <joey.ye@arm.com>
3728
3729 PR libgcc/60166
3730 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3731 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3732 Set to zero.
3733
341c653c
WL
37342014-02-24 Walter Lee <walt@tilera.com>
3735
3736 * config.host: Support "tilegx*" and "tilepro*" triplets.
3737 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3738 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3739
95ce7613
CLT
37402014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3741 Chung-Lin Tang <cltang@codesourcery.com>
3742
3743 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3744 * config/nios2/crti.S: Remove .file directive.
3745 * config/nios2/crtn.S: Likewise.
3746
0bb4fc05
KT
37472014-02-18 Kai Tietz <ktietz@redhat.com>
3748 Jonathan Schleifer <js@webkeks.org>
3749
3750 PR objc/56870
3751 * unwind-seh.c (_GCC_specific_handler): Pass proper
3752 value to unwind-handler.
3753
9acf28f1
JM
37542014-02-12 Joseph Myers <joseph@codesourcery.com>
3755
3756 * soft-fp/adddf3.c: Update from glibc.
3757 * soft-fp/addsf3.c: Likewise.
3758 * soft-fp/addtf3.c: Likewise.
3759 * soft-fp/divdf3.c: Likewise.
3760 * soft-fp/divsf3.c: Likewise.
3761 * soft-fp/divtf3.c: Likewise.
3762 * soft-fp/double.h: Likewise.
3763 * soft-fp/eqdf2.c: Likewise.
3764 * soft-fp/eqsf2.c: Likewise.
3765 * soft-fp/eqtf2.c: Likewise.
3766 * soft-fp/extenddftf2.c: Likewise.
3767 * soft-fp/extended.h: Likewise.
3768 * soft-fp/extendsfdf2.c: Likewise.
3769 * soft-fp/extendsftf2.c: Likewise.
3770 * soft-fp/extendxftf2.c: Likewise.
3771 * soft-fp/fixdfdi.c: Likewise.
3772 * soft-fp/fixdfsi.c: Likewise.
3773 * soft-fp/fixdfti.c: Likewise.
3774 * soft-fp/fixsfdi.c: Likewise.
3775 * soft-fp/fixsfsi.c: Likewise.
3776 * soft-fp/fixsfti.c: Likewise.
3777 * soft-fp/fixtfdi.c: Likewise.
3778 * soft-fp/fixtfsi.c: Likewise.
3779 * soft-fp/fixtfti.c: Likewise.
3780 * soft-fp/fixunsdfdi.c: Likewise.
3781 * soft-fp/fixunsdfsi.c: Likewise.
3782 * soft-fp/fixunsdfti.c: Likewise.
3783 * soft-fp/fixunssfdi.c: Likewise.
3784 * soft-fp/fixunssfsi.c: Likewise.
3785 * soft-fp/fixunssfti.c: Likewise.
3786 * soft-fp/fixunstfdi.c: Likewise.
3787 * soft-fp/fixunstfsi.c: Likewise.
3788 * soft-fp/fixunstfti.c: Likewise.
3789 * soft-fp/floatdidf.c: Likewise.
3790 * soft-fp/floatdisf.c: Likewise.
3791 * soft-fp/floatditf.c: Likewise.
3792 * soft-fp/floatsidf.c: Likewise.
3793 * soft-fp/floatsisf.c: Likewise.
3794 * soft-fp/floatsitf.c: Likewise.
3795 * soft-fp/floattidf.c: Likewise.
3796 * soft-fp/floattisf.c: Likewise.
3797 * soft-fp/floattitf.c: Likewise.
3798 * soft-fp/floatundidf.c: Likewise.
3799 * soft-fp/floatundisf.c: Likewise.
3800 * soft-fp/floatunditf.c: Likewise.
3801 * soft-fp/floatunsidf.c: Likewise.
3802 * soft-fp/floatunsisf.c: Likewise.
3803 * soft-fp/floatunsitf.c: Likewise.
3804 * soft-fp/floatuntidf.c: Likewise.
3805 * soft-fp/floatuntisf.c: Likewise.
3806 * soft-fp/floatuntitf.c: Likewise.
3807 * soft-fp/gedf2.c: Likewise.
3808 * soft-fp/gesf2.c: Likewise.
3809 * soft-fp/getf2.c: Likewise.
3810 * soft-fp/ledf2.c: Likewise.
3811 * soft-fp/lesf2.c: Likewise.
3812 * soft-fp/letf2.c: Likewise.
3813 * soft-fp/muldf3.c: Likewise.
3814 * soft-fp/mulsf3.c: Likewise.
3815 * soft-fp/multf3.c: Likewise.
3816 * soft-fp/negdf2.c: Likewise.
3817 * soft-fp/negsf2.c: Likewise.
3818 * soft-fp/negtf2.c: Likewise.
3819 * soft-fp/op-1.h: Likewise.
3820 * soft-fp/op-2.h: Likewise.
3821 * soft-fp/op-4.h: Likewise.
3822 * soft-fp/op-8.h: Likewise.
3823 * soft-fp/op-common.h: Likewise.
3824 * soft-fp/quad.h: Likewise.
3825 * soft-fp/single.h: Likewise.
3826 * soft-fp/soft-fp.h: Likewise.
3827 * soft-fp/subdf3.c: Likewise.
3828 * soft-fp/subsf3.c: Likewise.
3829 * soft-fp/subtf3.c: Likewise.
3830 * soft-fp/truncdfsf2.c: Likewise.
3831 * soft-fp/trunctfdf2.c: Likewise.
3832 * soft-fp/trunctfsf2.c: Likewise.
3833 * soft-fp/trunctfxf2.c: Likewise.
3834 * soft-fp/unorddf2.c: Likewise.
3835 * soft-fp/unordsf2.c: Likewise.
3836 * soft-fp/unordtf2.c: Likewise.
3837 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3838 macro.
3839 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3840 Likewise.
3841 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3842 Likewise.
3843 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3844 Likewise.
3845 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3846 Likewise.
3847 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3848 Likewise.
3849 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3850 Likewise.
3851 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3852 Likewise.
3853 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3854 Likewise.
3855 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3856 Likewise.
3857 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3858 Likewise.
3859 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3860 Likewise.
3861 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3862 Likewise.
3863 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3864 Likewise.
3865 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3866 Likewise.
3867 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3868 Likewise.
3869
ce245ec6
AK
38702014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3871
3872 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3873 cannot be represented.
3874 * config/s390/32/_fixsfdi.c: Likewise.
3875 * config/s390/32/_fixtfdi.c: Likewise.
3876 * config/s390/32/_fixunsdfdi.c: Likewise.
3877 * config/s390/32/_fixunssfdi.c: Likewise.
3878 * config/s390/32/_fixunstfdi.c: Likewise.
3879
1c51d688
RS
38802014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3881
3882 * configure.ac (libgcc_cv_mips_hard_float): New.
3883 * configure: Regenerate.
3884 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3885 t-softfp-sfdf for hard-float targets.
3886 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3887 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3888 (softfp_truncations, softfp_exclude_libgcc2): New.
3889 * config/t-hardfp: New file.
3890 * config/t-hardfp-sfdf: Likewise.
3891 * config/hardfp.c: Likewise.
3892
bbf391db
AK
38932014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3894
3895 * config.host: Include t-floattodi also for s390x.
3896 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3897 * config/s390/32/_fixsfdi.c: Likewise.
3898 * config/s390/32/_fixtfdi.c: Likewise.
3899 * config/s390/32/_fixunsdfdi.c: Likewise.
3900 * config/s390/32/_fixunssfdi.c: Likewise.
3901 * config/s390/32/_fixunstfdi.c: Likewise.
3902
91da0481
RO
39032014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3904
3905 PR target/59788
3906 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3907 (install-libgcc-unwind-map-forbuild): New target.
3908 (all): Depend on install-libgcc-unwind-map-forbuild.
3909 (install-libgcc-unwind-map): New target.
3910 (install): Depend on install-libgcc-unwind-map.
3911
02b67731
SL
39122014-02-02 Sandra Loosemore <sandra@codesourcery.com>
3913
3914 * config/nios2/crti.S (_init): Initialize GOT pointer from
3915 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3916
1ea0a651
RS
39172014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3918
3919 * configure.ac: Check __mips64 when setting host_address.
3920 * configure: Regenerate.
3921 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3922 mips/t-mips64 and t-softfp.
3923 (mips*-*-linux*): Don't add mips/t-tpbit.
3924 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3925 (DPBIT, DPBIT_CFLAGS): Delete.
3926 * config/mips/sfp-machine.h: New file.
3927 * config/mips/t-mips64: Likewise.
3928 * config/mips/t-softfp-tf: Likewise.
3929 * config/mips/t-tpbit: Delete.
3930
f32b0061
MS
39312014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3932
3933 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3934 as long long.
3935
a5420aa4
WL
39362014-01-25 Walter Lee <walt@tilera.com>
3937
3938 * config/tilepro/atomic.c: Include tconfig.h. Don't include
3939 config.h or system.h.
3940 (bool) Define.
3941
24534912
WL
39422014-01-25 Walter Lee <walt@tilera.com>
3943
3944 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3945 (post_atomic_barrier): Ditto.
3946 (__fetch_and_do): New macro.
3947 (__atomic_fetch_and_do): Use __fetch_and_do.
3948 (__sync_fetch_and_do): New macro.
3949 (__sync_fetch_and_add_4): New function.
3950 (__sync_fetch_and_sub_4): New function.
3951 (__sync_fetch_and_or_4): New function.
3952 (__sync_fetch_and_and_4): New function.
3953 (__sync_fetch_and_xor_4): New function.
3954 (__sync_fetch_and_nand_4): New function.
3955 (__sync_fetch_and_add_8): New function.
3956 (__sync_fetch_and_sub_8): New function.
3957 (__sync_fetch_and_or_8): New function.
3958 (__sync_fetch_and_and_8): New function.
3959 (__sync_fetch_and_xor_8): New function.
3960 (__sync_fetch_and_nand_8): New function.
3961 (__do_and_fetch): New macro.
3962 (__atomic_do_and_fetch): Use __do_and_fetch.
3963 (__sync_do_and_fetch): New macro.
3964 (__sync_add_and_fetch_4): New function.
3965 (__sync_sub_and_fetch_4): New function.
3966 (__sync_or_and_fetch_4): New function.
3967 (__sync_and_and_fetch_4): New function.
3968 (__sync_xor_and_fetch_4): New function.
3969 (__sync_nand_and_fetch_4): New function.
3970 (__sync_add_and_fetch_8): New function.
3971 (__sync_sub_and_fetch_8): New function.
3972 (__sync_or_and_fetch_8): New function.
3973 (__sync_and_and_fetch_8): New function.
3974 (__sync_xor_and_fetch_8): New function.
3975 (__sync_nand_and_fetch_8): New function.
3976 (__sync_exchange_methods): New macro.
3977 (__sync_val_compare_and_swap_4): New function.
3978 (__sync_bool_compare_and_swap_4): New function.
3979 (__sync_lock_test_and_test_4): New function.
3980 (__sync_val_compare_and_swap_8): New function.
3981 (__sync_bool_compare_and_swap_8): New function.
3982 (__sync_lock_test_and_test_8): New function.
3983 (__subword_cmpxchg_body): New macro.
3984 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3985 (__atomic_compare_exchange_2): Ditto.
3986 (__sync_subword_cmpxchg): New macro.
3987 (__sync_val_compare_and_swap_1): New function.
3988 (__sync_bool_compare_and_swap_1): New function.
3989 (__sync_val_compare_and_swap_2): New function.
3990 (__sync_bool_compare_and_swap_2): New function.
3991 (__atomic_subword): Rename to ...
3992 (__subword): ... New name.
3993 (__atomic_subword_fetch): Use __subword.
3994 (__sync_subword_fetch): New macro.
3995 (__sync_fetch_and_add_1): New function.
3996 (__sync_fetch_and_sub_1): New function.
3997 (__sync_fetch_and_or_1): New function.
3998 (__sync_fetch_and_and_1): New function.
3999 (__sync_fetch_and_xor_1): New function.
4000 (__sync_fetch_and_nand_1): New function.
4001 (__sync_fetch_and_add_2): New function.
4002 (__sync_fetch_and_sub_2): New function.
4003 (__sync_fetch_and_or_2): New function.
4004 (__sync_fetch_and_and_2): New function.
4005 (__sync_fetch_and_xor_2): New function.
4006 (__sync_fetch_and_nand_2): New function.
4007 (__sync_add_and_fetch_1): New function.
4008 (__sync_sub_and_fetch_1): New function.
4009 (__sync_or_and_fetch_1): New function.
4010 (__sync_and_and_fetch_1): New function.
4011 (__sync_xor_and_fetch_1): New function.
4012 (__sync_nand_and_fetch_1): New function.
4013 (__sync_add_and_fetch_2): New function.
4014 (__sync_sub_and_fetch_2): New function.
4015 (__sync_or_and_fetch_2): New function.
4016 (__sync_and_and_fetch_2): New function.
4017 (__sync_xor_and_fetch_2): New function.
4018 (__sync_nand_and_fetch_2): New function.
4019 (__atomic_subword_lock): Use __subword.
4020 (__sync_subword_lock): New macro.
4021 (__sync_lock_test_and_set_1): New function.
4022 (__sync_lock_test_and_set_2): New function.
4023
4d6d3bc5
WL
40242014-01-25 Walter Lee <walt@tilera.com>
4025
4026 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4027 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4028 (__atomic_subword): Ditto.
4029
cbd9890e
WL
40302014-01-25 Walter Lee <walt@tilera.com>
4031
4032 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4033 a prefix op argument.
4034 (__atomic_nand_fetch_4): Add prefix op.
4035 (__atomic_nand_fetch_8): Ditto.
4036
7d296953 40372014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4038
4039 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4040
46dd1242
L
40412014-01-09 Rong Xu <xur@google.com>
4042
4043 * libgcov-driver.c (this_prg): make it local to save
4044 bss space.
4045 (gcov_exit_compute_summary): Ditto.
4046 (gcov_exit_merge_gcda): Ditto.
4047 (gcov_exit_merge_summary): Ditto.
4048 (gcov_exit_dump_gcov): Ditto.
4049
cc86234f 40502014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4051
4052 * libgcov-driver.c: Use libgcov.h.
4053 (buffer_fn_data): Use xmalloc instead of malloc.
4054 (gcov_exit_merge_gcda): Ditto.
4055 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4056 * libgcov.h: New common header files for libgcov-*.h.
4057 * libgcov-interface.c: Use libgcov.h
4058 * libgcov-merge.c: Ditto.
4059 * libgcov-profiler.c: Ditto.
4060 * Makefile.in: Add dependence to libgcov.h
4061
a02e7bdd
JM
40622014-01-02 Joseph Myers <joseph@codesourcery.com>
4063
4064 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4065 case of small numerator and finite nonzero result.
4066
ac1dca3c
RS
40672014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4068
4069 Update copyright years
4070
f9030485
RS
40712014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4072
4073 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4074 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4075 config/arc/dp-hack.h, config/arc/fp-hack.h,
4076 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4077 config/arc/ieee-754/arc600-dsp/divdf3.S,
4078 config/arc/ieee-754/arc600-dsp/divsf3.S,
4079 config/arc/ieee-754/arc600-dsp/muldf3.S,
4080 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4081 config/arc/ieee-754/arc600-mul64/divdf3.S,
4082 config/arc/ieee-754/arc600-mul64/divsf3.S,
4083 config/arc/ieee-754/arc600-mul64/muldf3.S,
4084 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4085 config/arc/ieee-754/arc600/divsf3.S,
4086 config/arc/ieee-754/arc600/mulsf3.S,
4087 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4088 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4089 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4090 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4091 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4092 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4093 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4094 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4095 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4096 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4097 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4098 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4099 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4100 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4101 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4102 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4103 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4104 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4105 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4106 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4107 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4108 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4109 vtv_start_preinit.c: Use the standard form for the copyright notice.
4110
e430824f
CLT
41112013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4112 Chung-Lin Tang <cltang@codesourcery.com>
4113 Based on patches from Altera Corporation
4114
4115 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4116 * config/nios2/lib2-nios2.h: New file.
4117 * config/nios2/lib2-divmod-hi.c: New file.
4118 * config/nios2/linux-unwind.h: New file.
4119 * config/nios2/lib2-divmod.c: New file.
4120 * config/nios2/linux-atomic.c: New file.
4121 * config/nios2/t-nios2: New file.
4122 * config/nios2/crti.asm: New file.
4123 * config/nios2/t-linux: New file.
4124 * config/nios2/lib2-divtable.c: New file.
4125 * config/nios2/lib2-mul.c: New file.
4126 * config/nios2/tramp.c: New file.
4127 * config/nios2/crtn.asm: New file.
4128
1879e97f
UB
41292013-12-26 Uros Bizjak <ubizjak@gmail.com>
4130
4131 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4132 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4133 from cpuid.h to check vendor signatures.
4134
f4a4bdbb
GG
41352013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4136
c2e7e597 4137 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4138 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4139 (get_amd_cpu): Likewise.
4140
8d2ae544
L
41412013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4142
4143 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4144 Haswell.
4145
74924838
ASJ
41462013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4147 H.J. Lu <hongjiu.lu@intel.com>
4148
0bb52f25
L
4149 PR target/59422
4150 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4151 and AMD_JAGUAR.
4152 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4153 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4154 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4155 FEATURE_XOP and FEATURE_FMA.
4156 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4157 AMDFAM15H_BDVER3.
4158 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4159 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4160 FEATURE_FMA4 and FEATURE_XOP.
4161
d3c11974
L
41622013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4163
4164 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4165 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4166 (get_intel_cpu): Updated.
4167
064c4ff2
ZC
41682013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4169
4170 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4171
8b02e720
UB
41722013-12-09 Uros Bizjak <ubizjak@gmail.com>
4173
4174 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4175 instructions when __SSE_MATH__ is defined.
8b02e720 4176
3fa2ccb4
RC
41772013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4178
4179 * config.host (microblaze-*-rtems*): New.
4180
ecd78fc9
KV
41812013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4182
4183 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4184 architectures that do not have hardware divide instruction.
4185 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4186
b21fbbd2
RS
41872013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4188
4189 * longlong.h: Delete (moved to include/).
4190
b03fb8c9
AZ
41912013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4192
4193 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4194 of normal number and qNaN to not raise an inexact exception.
4195
3c716922
UB
41962013-11-28 Uros Bizjak <ubizjak@gmail.com>
4197
4198 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4199
42002013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4201
4202 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4203 for correct opcodes on BE.
4204
a3458d22
UB
42052013-11-27 Uros Bizjak <ubizjak@gmail.com>
4206
4207 * soft-fp/op-4.h: Update from glibc.
4208
30b8f78b
KV
42092013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4210
4211 * libgcc2.c (__udivmoddi4): Define new implementation when
4212 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4213 divide instructions.
4214
82552a29
OE
42152013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4216
4217 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4218
80e87457
RO
42192013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4220
4221 * config/t-softfp (soft-fp-objects-base): New variable.
4222 (soft-fp-objects): Use it.
4223
44178879
DE
42242013-11-23 David Edelson <dje.gcc@gmail.com>
4225 Andrew Dixie <andrewd@gentrack.com>
4226
4227 PR target/33704
4228 * config/rs6000/aixinitfini.c: New file.
4229 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4230 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4231 symbols.
4232
e5287671
YR
42332013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4234
a3458d22 4235 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4236
867c8b03
JH
42372013-11-18 Jan Hubicka <jh@suse.cz>
4238
7f369373
JH
4239 * libgcov-driver.c (run_accounted): Make global level static.
4240 (gcov_exit_merge_summary): Silence warning; do not clear
4241 run_accounted here.
4242 (gcov_exit): Clear it here.
4243
1d0b3334
JH
4244 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4245 run_accounted.
4246
867c8b03
JH
4247 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4248 (all_prg, crc32): Remove static vars.
4249 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4250 all_prg.
4251 (gcov_exit_merge_gcda): Add crc32 parameter.
4252 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4253 do not account run if it was already accounted.
4254 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4255 (gcov_exit): Initialize all_prg; update.
4256
66204992
AS
42572013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4258
4259 * configure: Regenerate.
4260
b54214fe
UW
42612013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4262 Alan Modra <amodra@gmail.com>
4263
4264 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4265 (frob_update_context): Use it.
4266
42672013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4268 Alan Modra <amodra@gmail.com>
4269
4270 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4271 (trampoline_initial): Provide ELFv2 variant.
4272 (__trampoline_setup): Likewise.
4273
4274 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4275 check for AIX indirect function call sequence if _CALL_ELF == 2.
4276
42772013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4278 Alan Modra <amodra@gmail.com>
4279
4280 * config/rs6000/linux-unwind.h (get_regs): Do not support
4281 old kernel versions if _CALL_ELF == 2.
4282 (frob_update_context): Do not support PLT stub variants only
4283 generated by old linkers if _CALL_ELF == 2.
4284
13e0981a
UW
42852013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4286 Alan Modra <amodra@gmail.com>
4287
4288 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4289 location of CR save area for 64-bit little-endian systems.
4290
1a80085d
EB
42912013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4292
4293 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4294 in tmake_file.
4295 * config/arm/t-vxworks: Delete.
4296
cabeea52
KT
42972013-11-10 Kai Tietz <ktietz@redhat.com>
4298
4299 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4300 Increment load-count on use of LIBGCC_SONAME DLL.
4301 (hmod_libgcc): New static variable to hold handle of
4302 LIBGCC_SONAME DLL.
4303 (__gcc_deregister_frame): Decrement load-count of
4304 LIBGCC_SONAME DLL.
4305
ac088ba1
BRF
43062013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4307
4308 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4309 availability.
4310 * configure: Regenerate
4311
d59a8fcc
UB
43122013-11-07 Uros Bizjak <ubizjak@gmail.com>
4313
4314 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4315 FP_EX_DENORM. Store result to volatile location after SSE division
4316 to close interrupt window. Remove unneeded fwait after x87
4317 division since interrupt window will be closed by emitted fstp.
9de84e84 4318 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4319
9954c743
JM
43202013-11-06 Joseph Myers <joseph@codesourcery.com>
4321
4322 * soft-fp/README: Update.
4323 * soft-fp/adddf3.c: Update from glibc.
4324 * soft-fp/addsf3.c: Likewise.
4325 * soft-fp/addtf3.c: Likewise.
4326 * soft-fp/divdf3.c: Likewise.
4327 * soft-fp/divsf3.c: Likewise.
4328 * soft-fp/divtf3.c: Likewise.
4329 * soft-fp/double.h: Likewise.
4330 * soft-fp/eqdf2.c: Likewise.
4331 * soft-fp/eqsf2.c: Likewise.
4332 * soft-fp/eqtf2.c: Likewise.
4333 * soft-fp/extenddftf2.c: Likewise.
4334 * soft-fp/extended.h: Likewise.
4335 * soft-fp/extendsfdf2.c: Likewise.
4336 * soft-fp/extendsftf2.c: Likewise.
4337 * soft-fp/extendxftf2.c: Likewise.
4338 * soft-fp/fixdfdi.c: Likewise.
4339 * soft-fp/fixdfsi.c: Likewise.
4340 * soft-fp/fixdfti.c: Likewise.
4341 * soft-fp/fixsfdi.c: Likewise.
4342 * soft-fp/fixsfsi.c: Likewise.
4343 * soft-fp/fixsfti.c: Likewise.
4344 * soft-fp/fixtfdi.c: Likewise.
4345 * soft-fp/fixtfsi.c: Likewise.
4346 * soft-fp/fixtfti.c: Likewise.
4347 * soft-fp/fixunsdfdi.c: Likewise.
4348 * soft-fp/fixunsdfsi.c: Likewise.
4349 * soft-fp/fixunsdfti.c: Likewise.
4350 * soft-fp/fixunssfdi.c: Likewise.
4351 * soft-fp/fixunssfsi.c: Likewise.
4352 * soft-fp/fixunssfti.c: Likewise.
4353 * soft-fp/fixunstfdi.c: Likewise.
4354 * soft-fp/fixunstfsi.c: Likewise.
4355 * soft-fp/fixunstfti.c: Likewise.
4356 * soft-fp/floatdidf.c: Likewise.
4357 * soft-fp/floatdisf.c: Likewise.
4358 * soft-fp/floatditf.c: Likewise.
4359 * soft-fp/floatsidf.c: Likewise.
4360 * soft-fp/floatsisf.c: Likewise.
4361 * soft-fp/floatsitf.c: Likewise.
4362 * soft-fp/floattidf.c: Likewise.
4363 * soft-fp/floattisf.c: Likewise.
4364 * soft-fp/floattitf.c: Likewise.
4365 * soft-fp/floatundidf.c: Likewise.
4366 * soft-fp/floatundisf.c: Likewise.
4367 * soft-fp/floatunditf.c: Likewise.
4368 * soft-fp/floatunsidf.c: Likewise.
4369 * soft-fp/floatunsisf.c: Likewise.
4370 * soft-fp/floatunsitf.c: Likewise.
4371 * soft-fp/floatuntidf.c: Likewise.
4372 * soft-fp/floatuntisf.c: Likewise.
4373 * soft-fp/floatuntitf.c: Likewise.
4374 * soft-fp/gedf2.c: Likewise.
4375 * soft-fp/gesf2.c: Likewise.
4376 * soft-fp/getf2.c: Likewise.
4377 * soft-fp/ledf2.c: Likewise.
4378 * soft-fp/lesf2.c: Likewise.
4379 * soft-fp/letf2.c: Likewise.
4380 * soft-fp/muldf3.c: Likewise.
4381 * soft-fp/mulsf3.c: Likewise.
4382 * soft-fp/multf3.c: Likewise.
4383 * soft-fp/negdf2.c: Likewise.
4384 * soft-fp/negsf2.c: Likewise.
4385 * soft-fp/negtf2.c: Likewise.
4386 * soft-fp/op-1.h: Likewise.
4387 * soft-fp/op-2.h: Likewise.
4388 * soft-fp/op-4.h: Likewise.
4389 * soft-fp/op-8.h: Likewise.
4390 * soft-fp/op-common.h: Likewise.
4391 * soft-fp/quad.h: Likewise.
4392 * soft-fp/single.h: Likewise.
4393 * soft-fp/soft-fp.h: Likewise.
4394 * soft-fp/subdf3.c: Likewise.
4395 * soft-fp/subsf3.c: Likewise.
4396 * soft-fp/subtf3.c: Likewise.
4397 * soft-fp/truncdfsf2.c: Likewise.
4398 * soft-fp/trunctfdf2.c: Likewise.
4399 * soft-fp/trunctfsf2.c: Likewise.
4400 * soft-fp/trunctfxf2.c: Likewise.
4401 * soft-fp/unorddf2.c: Likewise.
4402 * soft-fp/unordsf2.c: Likewise.
4403 * soft-fp/unordtf2.c: Likewise.
4404
02ac9503
UB
44052013-11-05 Uros Bizjak <ubizjak@gmail.com>
4406
4407 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4408 (_FP_MUL_MEAT_D): Ditto.
4409 (_FP_DIV_MEAT_S): Ditto.
4410 (_FP_DIV_MEAT_D): Ditto.
4411 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4412 t-softfp-sfdf and t-softfp to tmake_file.
4413
61221141
UB
44142013-11-03 Uros Bizjak <ubizjak@gmail.com>
4415
4416 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4417 * config/i386/crtprec.c: Ditto.
4418
9304f876
CJW
44192013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4420 Shiva Chen <shiva0217@gmail.com>
4421
4422 * config.host (nds32*-elf*): Add nds32 target.
4423 * config/nds32 : New directory and files.
4424
0e499e75
HPN
44252013-10-16 Hans-Peter Nilsson <hp@axis.com>
4426
4427 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4428 * config.host (cpu_type) <Setting default>: Add entry for
4429 crisv32-*-*.
4430 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4431 <crisv32-*-linux*>: Adjust.
4432 * longlong.h: Wrap the whole CRIS section in a single
4433 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4434 and sub_ddmmss.
4435 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4436 defined.
4437 [__CRIS__] (__umulsidi3): Define.
4438 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4439 * config/cris/sfp-machine.h: New file.
4440 * config/cris/umulsidi3.S: New file.
4441 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4442 * config/cris/arit.c (SIGNMULT): New macro.
4443 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4444 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4445 saving 3 out of originally 33 cycles from the fastest
4446 path, 3 out of 54 from the medium path and one from the longest
4447 path. Improve comments.
4448
16022041
RS
44492013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4450
4451 * sync.c: Remove static aliases and define each function directly
4452 under its real name.
4453
69778659
JDA
44542013-10-02 John David Anglin <danglin@gcc.gnu.org>
4455
4456 * config.host (hppa*64*-*-linux*): Define extra_parts.
4457 (hppa*-*-linux*): Likewise.
4458
2deaf8b0
JR
44592013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4460
4461 * config/arc/crtgend.S: Add 2013 to Copyright years.
4462 * config/arc/gmon/atomic.h: Likewise.
4463 * config/arc/gmon/auxreg.h: Likewise.
4464 * config/arc/gmon/sys/gmon_out.h: Likewise.
4465 * config/arc/gmon/sys/gmon.h: Likewise.
4466 * config/arc/gmon/prof-freq.c: Likewise.
4467 * config/arc/gmon/mcount.c: Likewise.
4468 * config/arc/gmon/prof-freq-stub.S: Likewise.
4469 * config/arc/gmon/gmon.c: Likewise.
4470 * config/arc/gmon/machine-gmon.h: Likewise.
4471 * config/arc/gmon/profil.S: Likewise.
4472 * config/arc/gmon/dcache_linesz.S: Likewise.
4473 * config/arc/crtg.S: Likewise.
4474 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4475 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4476 * config/arc/ieee-754/adddf3.S: Likewise.
4477 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4478 * config/arc/ieee-754/fixsfsi.S: Likewise.
4479 * config/arc/ieee-754/gtsf2.S: Likewise.
4480 * config/arc/ieee-754/floatsisf.S: Likewise.
4481 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4482 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4483 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4484 * config/arc/ieee-754/fixdfsi.S: Likewise.
4485 * config/arc/ieee-754/addsf3.S: Likewise.
4486 * config/arc/ieee-754/gesf2.S: Likewise.
4487 * config/arc/ieee-754/floatsidf.S: Likewise.
4488 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4489 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4490 * config/arc/ieee-754/gtdf2.S: Likewise.
4491 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4492 * config/arc/ieee-754/uneqdf2.S: Likewise.
4493 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4494 * config/arc/ieee-754/uneqsf2.S: Likewise.
4495 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4496 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4497 * config/arc/ieee-754/eqdf2.S: Likewise.
4498 * config/arc/ieee-754/ordsf2.S: Likewise.
4499 * config/arc/ieee-754/divsf3.S: Likewise.
4500 * config/arc/ieee-754/divdf3.S: Likewise.
4501 * config/arc/ieee-754/floatunsidf.S: Likewise.
4502 * config/arc/ieee-754/orddf2.S: Likewise.
4503 * config/arc/ieee-754/eqsf2.S: Likewise.
4504 * config/arc/ieee-754/gedf2.S: Likewise.
4505 * config/arc/crtn.S: Likewise.
4506 * config/arc/crti.S: Likewise.
4507 * config/arc/t-arc700-uClibc: Likewise.
4508 * config/arc/asm.h: Likewise.
4509 * config/arc/libgcc-excl.ver: Likewise.
4510 * config/arc/t-arc-newlib: Likewise.
4511 * config/arc/divtab-arc700.c: Likewise.
4512 * config/arc/initfini.c: Likewise.
4513 * config/arc/fp-hack.h: Likewise.
4514
c8e318b0
JR
45152013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4516 Diego Novillo <dnovillo@google.com>
4517
4518 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
4519 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4520 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4521 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 4522
d38a64b4
JR
45232013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4524 Brendan Kehoe <brendan@zen.org>
4525 Simon Cook <simon.cook@embecosm.com>
4526
4527 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4528 * config/arc: New directory.
4529 * longlong.h [__arc__] (umul_ppmm): Remove.
4530 [__arc__] (__umulsidi3): Define.
4531 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4532 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4533
dff717d2
JC
45342013-09-17 Jacek Caban <jacek@codeweavers.com>
4535
4536 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4537 CreateSemaphoreA.
4538 * config/i386/gthr-win32.h: Likewise.
4539
5c0029de
DD
45402013-09-16 DJ Delorie <dj@redhat.com>
4541
844ad6c6 4542 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
4543 * config/rl78/lib2mul.c: Enable for RL78/G10.
4544 * config/rl78/lib2div.c: Likewise.
4545 * config/rl78/lshrsi3.S: Use vregs.h.
4546 * config/rl78/cmpsi2.S: Likewise.
4547 * config/rl78/trampoline.S: Likewise.
4548 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4549
ceb2fc49
DD
45502013-09-14 DJ Delorie <dj@redhat.com>
4551 Nick Clifton <nickc@redhat.com>
4552
4553 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4554 * config/rl78/vregs.h: New.
4555 * config/rl78/signbit.S: New file. Implements signbit function.
4556 * config/rl78/divmodsi.S: New.
4557 * config/rl78/divmodhi.S: New.
4558 * config/rl78/divmodqi.S: New.
4559 * config/rl78/t-rl78: Build them here...
4560 * config/rl78/lib2div.c: ...but not here.
4561
f6a83b4a
DD
45622013-09-12 DJ Delorie <dj@redhat.com>
4563
4564 * config.host (msp*-*-elf): New.
4565 * config/msp430/: New port.
4566
9107b096
IS
45672013-08-18 Iain Sandoe <iain@codesourcery.com>
4568
4569 PR gcov-profile/58127
4570 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4571 __thread var for emulated TLS.
4572 (__gcov_indirect_call_counters): Likewise.
4573
0f9bde1f 45742013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 4575 Catherine Moore <clm@codesourcery.com>
7d296953 4576 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
4577
4578 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4579 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4580 (CALL_STUB_NO_RET): Likewise.
4581 (CALL_STUB_RET): Likewise.
4582 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4583 __mips16_ret call/return stub symbols.
4584 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4585 to tmake_file.
4586
2dc14aac
MR
45872013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4588
4589 * config.host <mips*-*-linux*>: Remove a stray comment.
4590
748d71f3
JH
45912013-08-10 Jan Hubicka <jh@suse.cz>
4592
4593 Work around binutils PR14342
4594 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4595 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4596 (L_gcov_indirect_call_profiler_v2): New.
4597
2fa3d31b
JH
45982013-08-06 Jan Hubicka <jh@suse.cz>
4599
4600 * libgcov.c (__gcov_indirect_call_callee,
4601 __gcov_indirect_call_counters): New global vars.
4602 (__gcov_indirect_call_profiler): replace by ...
4603 (__gcov_indirect_call_profiler_v2) ... this one.
4604
2077db1b
CT
46052013-08-06 Caroline Tice <cmtice@google.com>
4606
d0595b65 4607 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 4608 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
4609 * configure.ac: Add code to check/set enable_vtable_verify.
4610 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 4611 true.
d0595b65
CT
4612 * vtv_start_preinit.c: New file.
4613 * vtv_end_preinit.c: New file.
4614 * vtv_start.c: New file.
4615 * vtv_end.c: New file.
4616 * configure: Regenerated.
2077db1b 4617
46549c20
MK
46182013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4619
4620 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4621 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4622 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4623 GPL-3.0-with-GCC-exception.
4624
72be589b
MR
46252013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4626
4627 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4628 ISA and up.
4629
902a3faf
AK
46302013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4631
4632 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4633 mapping for FPRs when creating the fallback framestate.
4634
02371798
GJL
46352013-07-19 Georg-Johann Lay <avr@gjlay.de>
4636
4637 PR target/57516
4638 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4639 (__round_s2_const, __round_u2_const)
4640 (__round_s4_const, __round_u4_const, __round_x8):
4641 Saturate result if addition result cannot be represented.
4642
ab0e8379
MK
46432013-07-15 Matthias Klose <doko@ubuntu.com>
4644
4645 * libgcc2.c: Don't include <limits.h>.
4646
7da38058
JJ
46472013-07-09 Janis Johnson <janisjo@codesourcery.com>
4648
4649 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4650
1f6eac90
JJ
46512013-07-06 Jakub Jelinek <jakub@redhat.com>
4652
4653 PR target/29776
4654 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4655
4ea3d774
JJ
46562013-06-28 Jakub Jelinek <jakub@redhat.com>
4657
4658 PR middle-end/36041
4659 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4660 Define.
4661 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4662 instead of table lookups.
4663 (__popcountDI2): Likewise.
4664
9d2cdf25
CJW
46652013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4666
4667 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4668 correctly.
4669
fa1e55b0
JM
46702013-06-21 Joseph Myers <joseph@codesourcery.com>
4671
4672 PR other/53317
4673 * soft-fp/adddf3.c: Update from glibc.
4674 * soft-fp/addsf3.c: Likewise.
4675 * soft-fp/addtf3.c: Likewise.
4676 * soft-fp/divdf3.c: Likewise.
4677 * soft-fp/divsf3.c: Likewise.
4678 * soft-fp/divtf3.c: Likewise.
4679 * soft-fp/double.h: Likewise.
4680 * soft-fp/eqdf2.c: Likewise.
4681 * soft-fp/eqsf2.c: Likewise.
4682 * soft-fp/eqtf2.c: Likewise.
4683 * soft-fp/extenddftf2.c: Likewise.
4684 * soft-fp/extended.h: Likewise.
4685 * soft-fp/extendsfdf2.c: Likewise.
4686 * soft-fp/extendsftf2.c: Likewise.
4687 * soft-fp/fixdfdi.c: Likewise.
4688 * soft-fp/fixdfsi.c: Likewise.
4689 * soft-fp/fixsfdi.c: Likewise.
4690 * soft-fp/fixsfsi.c: Likewise.
4691 * soft-fp/fixtfdi.c: Likewise.
4692 * soft-fp/fixtfsi.c: Likewise.
4693 * soft-fp/fixunsdfdi.c: Likewise.
4694 * soft-fp/fixunsdfsi.c: Likewise.
4695 * soft-fp/fixunssfdi.c: Likewise.
4696 * soft-fp/fixunssfsi.c: Likewise.
4697 * soft-fp/fixunstfdi.c: Likewise.
4698 * soft-fp/fixunstfsi.c: Likewise.
4699 * soft-fp/floatdidf.c: Likewise.
4700 * soft-fp/floatdisf.c: Likewise.
4701 * soft-fp/floatditf.c: Likewise.
4702 * soft-fp/floatsidf.c: Likewise.
4703 * soft-fp/floatsisf.c: Likewise.
4704 * soft-fp/floatsitf.c: Likewise.
4705 * soft-fp/floatundidf.c: Likewise.
4706 * soft-fp/floatundisf.c: Likewise.
4707 * soft-fp/floatunditf.c: Likewise.
4708 * soft-fp/floatunsidf.c: Likewise.
4709 * soft-fp/floatunsisf.c: Likewise.
4710 * soft-fp/floatunsitf.c: Likewise.
4711 * soft-fp/gedf2.c: Likewise.
4712 * soft-fp/gesf2.c: Likewise.
4713 * soft-fp/getf2.c: Likewise.
4714 * soft-fp/ledf2.c: Likewise.
4715 * soft-fp/lesf2.c: Likewise.
4716 * soft-fp/letf2.c: Likewise.
4717 * soft-fp/muldf3.c: Likewise.
4718 * soft-fp/mulsf3.c: Likewise.
4719 * soft-fp/multf3.c: Likewise.
4720 * soft-fp/negdf2.c: Likewise.
4721 * soft-fp/negsf2.c: Likewise.
4722 * soft-fp/negtf2.c: Likewise.
4723 * soft-fp/op-1.h: Likewise.
4724 * soft-fp/op-2.h: Likewise.
4725 * soft-fp/op-4.h: Likewise.
4726 * soft-fp/op-8.h: Likewise.
4727 * soft-fp/op-common.h: Likewise.
4728 * soft-fp/quad.h: Likewise.
4729 * soft-fp/single.h: Likewise.
4730 * soft-fp/soft-fp.h: Likewise.
4731 * soft-fp/subdf3.c: Likewise.
4732 * soft-fp/subsf3.c: Likewise.
4733 * soft-fp/subtf3.c: Likewise.
4734 * soft-fp/truncdfsf2.c: Likewise.
4735 * soft-fp/trunctfdf2.c: Likewise.
4736 * soft-fp/trunctfsf2.c: Likewise.
4737 * soft-fp/unorddf2.c: Likewise.
4738 * soft-fp/unordsf2.c: Likewise.
4739 * soft-fp/unordtf2.c: Likewise.
4740 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4741 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4742 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4743 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4744 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4745 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4746 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4747 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4748 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4749 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4750 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4751 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4752
0de86a92
JU
47532013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4754
4755 * config/mips/lib2funcs.c: New file.
4756 * config/mips/t-mips (LIB2ADD_ST): Add it.
4757
0d008882
OE
47582013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4759
4760 PR target/6526
4761 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4762 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4763
776434d1
WL
47642013-06-08 Walter Lee <walt@tilera.com>
4765
4766 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4767 Replace int64_t with long long. Add __extension__ where
4768 appropriate.
4769 * config/tilepro/atomic.c: Include config.h.
4770
6ab3ebb4
DR
47712013-06-06 Douglas B Rupp <rupp@adacore.com>
4772
4773 * config.host (arm-wrs-vxworks): Configure with other soft float.
4774
107eea2c
JU
47752013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4776
4777 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4778 (mips64r5900el-*-elf*): New configurations.
4779
5cc19c62
AM
47802013-06-04 Alan Modra <amodra@gmail.com>
4781
4782 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4783
0f1d3965
YR
47842013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4785
4786 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4787
0ba045df
EB
47882013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4789
4790 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4791 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4792 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4793
49dcafd4
EB
47942013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4795
4796 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4797 (powerpc-wrs-vxworks): Likewise.
4798
4fcb5d87
EB
47992013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4800
4801 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4802 signal frames as well.
4803 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4804 STACK_BIAS to the CFA offset.
4805
0ec33224
RH
48062013-05-17 Richard Henderson <rth@redhat.com>
4807
4808 PR target/49146
4809 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4810 (execute_cfa_program): Use it when storing to fs->regs.
4811
492a8029
KT
48122013-05-08 Kai Tietz <ktietz@redhat.com>
4813
4814 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4815 (__deregister_frame_info): Likewise.
4816
701e2f0a
TS
48172013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4818
e5123d08
TS
4819 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4820 NaN's payload.
4821
701e2f0a
TS
4822 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4823
b9a7eb5d
AM
48242013-04-25 Alan Modra <amodra@gmail.com>
4825
4826 * config.host: Match little-endian powerpc-linux.
4827
dfe192f5
YZ
48282013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4829
4830 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4831 as 'unsigned long long' instead of 'unsigned long'.
4832 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4833 'signed long'.
4834
b6b9af2f
JB
48352013-04-10 Julian Brown <julian@codesourcery.com>
4836
4837 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4838 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4839 unsigned char/unsigned short.
4840 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4841
ecabdd00
JDA
48422013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4843
4844 PR other/55274
4845 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4846
34652576
MI
48472013-04-04 Meador Inge <meadori@codesourcery.com>
4848
4849 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4850 computing the location of the link register.
4851 (aeabi_uldivmod): Ditto.
4852
e9fd8c19
KT
48532013-03-27 Kai Tietz <ktietz@redhat.com>
4854
4855 * config.host: Add support for cygwin x64 target.
4856 * configure: Regenerated.
4857
a6406324
WL
48582013-03-26 Walter Lee <walt@tilera.com>
4859
4860 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4861 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4862
55446c7e
KT
48632013-03-25 Kai Tietz <ktietz@redhat.com>
4864
4865 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4866
d2ae19d9
RM
48672013-03-20 Robert Mason <rbmj@verizon.net>
4868
4869 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4870 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4871 (__gthread_leave_tsd_dtor_context): Add prototypes.
4872 (tls_delete_hook): Update.
4873
22c4c869
CM
48742013-03-20 Catherine Moore <clm@codesourcery.com>
4875 Joseph Myers <joseph@codesourcery.com>
4876 Chao-ying Fu <fu@mips.com>
4877
4878 * config/mips/mips16.S: Don't build for microMIPS.
4879 * config/mips/linux-unwind.h: Handle microMIPS frame.
4880 * config/mips/crtn.S (fini, init): New labels.
4881
fbd28bc3
JJ
48822013-03-14 Jakub Jelinek <jakub@redhat.com>
4883
4884 PR tree-optimization/53265
4885 * unwind-dw2.c (execute_cfa_program): Avoid
4886 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4887 on targets with DWARF_FRAME_REGISTERS < 32.
4888
decc676e
OE
48892013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4890
4891 PR target/49880
4892 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4893 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4894
84ea618a
ST
48952013-03-07 Sriraman Tallam <tmsriram@google.com>
4896
4897 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4898 sandybridge processors.
4899
8f6d1c86
OE
49002013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4901
4902 PR target/56529
4903 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4904 inclusion list.
4905
ecdbd01a 49062013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
4907
4908 * config/microblaze/crti.S: Setup stack protection at entry
4909
0b4ce21b
GJL
49102013-03-04 Georg-Johann Lay <avr@gjlay.de>
4911
4912 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4913 (__rotldi3): Shift bytewise if applicable.
4914
b7c3f1ca
JG
49152013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4916
4917 * config/aarch64/sync-cache.c
4918 (__aarch64_sync_cache_range): Silence warnings.
4919
6d65e8f1
CM
49202013-02-25 Catherine Moore <clm@codesourcery.com>
4921
4922 Revert:
4923 2013-02-24 Catherine Moore <clm@codesourcery.com>
4924 Joseph Myers <joseph@codesourcery.com>
4925 Chao-ying Fu <fu@mips.com>
4926
4927 * config/mips/mips16.S: Don't build for microMIPS.
4928 * config/mips/linux-unwind.h: Handle microMIPS frame.
4929 * config/mips/crtn.S (fini, init): New labels.
4930
6941b508
CM
49312013-02-24 Catherine Moore <clm@codesourcery.com>
4932 Joseph Myers <joseph@codesourcery.com>
4933 Chao-ying Fu <fu@mips.com>
4934
4935 * config/mips/mips16.S: Don't build for microMIPS.
4936 * config/mips/linux-unwind.h: Handle microMIPS frame.
4937 * config/mips/crtn.S (fini, init): New labels.
4938
7c422dbb 49392012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 4940 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
4941 as dividend.
4942
110207ad
AM
49432013-02-16 Alan Modra <amodra@gmail.com>
4944
4945 PR target/55431
4946 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4947 (ppc_fallback_frame_state): Always set up save locations for fp
4948 and altivec. Don't bother with non-callee-saved regs, r0-r13
4949 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4950
e68a4ef6
GJL
49512013-02-12 Georg-Johann Lay <avr@gjlay.de>
4952
4953 PR target/54222
4954 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4955 _ssmulHA, _ssmulSA.
4956 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4957 _ssmulha3, _usmulusa3, _ssmulsa3.
4958 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4959 (__muldi3): XCALL __muldi3_6 instead of rcall.
4960 (__umulsidi3, __mulsidi3): New functions.
4961 (do_prologue_saves, do_epilogue_restores): New .macros.
4962 (__divdi3_moddi3): Use them.
4963 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4964 (__usmulusa3, __ssmulsa3): New functions.
4965
6c59ffd1
IS
49662013-02-11 Iain Sandoe <iain@codesourcery.com>
4967 Jack Howarth <howarth@bromo.med.uc.edu>
4968 Patrick Marlier <patrick.marlier@gmail.com>
4969
4970 PR libitm/55693
4971 * config/darwin-crt-tm.c: Remove dummy functions hack.
4972
85d768f3
GJL
49732013-02-08 Georg-Johann Lay <avr@gjlay.de>
4974
4975 PR target/54222
4976 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4977 * config/avr/lib2-object.mk: New iterator to build objects from it.
4978 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4979 lib2funcs.c.
4980 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4981 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4982 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4983 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4984 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4985 * config/avr/lib1funcs-fixed.S: Implement them.
4986
5d5bf775
RS
49872013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4988
4989 Update copyright years.
4990
99113dff
DE
49912013-02-01 David Edelsohn <dje.gcc@gmail.com>
4992
4993 PR target/54601
4994 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4995 Add crtcxa to extra_parts.
4996 * config/rs6000/exit.h: New file.
4997 * config/rs6000/cxa_atexit.c: New file.
4998 * config/rs6000/cxa_finalize.c: New file.
4999 * config/rs6000/crtcxa.c: New file.
5000 * config/rs6000/t-aix-cxa: New file.
5001 * config/rs6000/libgcc-aix-cxa.ver: New file.
5002
dbdbd982
NC
50032013-01-31 Nick Clifton <nickc@redhat.com>
5004
5005 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5006 variant.
5007
5893f158
GJL
50082013-01-29 Georg-Johann Lay <avr@gjlay.de>
5009
5010 PR target/54222
5011 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5012 _mulQQ, _mulHQ, _mulHA, _mulSA,
5013 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5014 _divQQ, _divHQ, _divHA, _divSA,
5015 _divUQQ, _divUHQ, _divUHA, _divUSA.
5016
ecdbd01a 50172013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5018
dbdbd982 5019 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5020 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5021 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5022 to exclude functions from being built with libgcc.c and use
5023 the microblaze assembly.
5024
ecdbd01a 50252013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5026
5027 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5028 extra_parts.
5029
922c57d1
YZ
50302013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5031
5032 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5033 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5034 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5035 alignment operation.
5036
e0f8b6a0
SN
50372013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5038
5039 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5040 loop start address for cache clearing.
5041
00892272
GJL
50422013-01-14 Georg-Johann Lay <avr@gjlay.de>
5043
5044 * config/avr/lib1funcs.S: Remove trailing blanks.
5045 * config/avr/lib1funcs-fixed.S: Ditto.
5046
e59ec5fd
GJL
50472013-01-14 Georg-Johann Lay <avr@gjlay.de>
5048
5049 * config/avr/avr-lib.h: Add GPL copyright notice.
5050
3ffc1958
GJL
50512013-01-14 Georg-Johann Lay <avr@gjlay.de>
5052
5053 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5054 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5055 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5056 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5057
25c210f9
MK
50582013-01-07 Mark Kettenis <kettenis@openbsd.org>
5059
5060 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5061 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5062
db59befb
NC
50632013-01-04 Nick Clifton <nickc@redhat.com>
5064
5065 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5066 the CALLT instruction is supported.
5067
5aa12dbf
JW
50682012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5069
5070 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5071 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5072
65f14117
JT
50732012-12-13 John Tytgat <John@bass-software.com>
5074
5075 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5076 is 25.
5077
ee3ae4f7
JJ
50782012-12-12 Jakub Jelinek <jakub@redhat.com>
5079
5080 PR libgcc/55451
5081 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5082 undefined signed overflows.
5083
2fcfba3d
UB
50842012-12-09 Uros Bizjak <ubizjak@gmail.com>
5085
5086 PR target/55344
5087 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5088
4f2b3dc2
UB
50892012-12-06 Uros Bizjak <ubizjak@gmail.com>
5090
5091 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5092 (FP_TRAPPING_EXCEPTIONS): Define.
5093 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5094 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5095
066161a2
RH
50962012-12-04 Richard Henderson <rth@redhat.com>
5097
5098 PR bootstrap/55571
5099 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5100
7d296953 51012012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5102
4f2b3dc2 5103 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5104 (FP_EX_SHIFT): Define.
5105 (FP_TRAPPING_EXCEPTIONS): Define.
5106
7d296953 51072012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5108
5109 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5110 (FP_ROUNDMODE): Use FP_RND_MASK.
5111 * config/aarch64/sfp-exceptions.c: New.
5112 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5113 Use __sfp_handle_exceptions.
5114
5005fe22
RE
51152012-12-04 Richard Earnshaw <rearnsha@arm.com>
5116
5117 * config.host: (arm*-*-freebsd*): Remove.
5118 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5119 (arm*-*-elf*): Remove.
5120 (arm*-*-wince-pe*): Remove.
5121 * arm/unwind-arm.c (struct fpa_reg): Delete.
5122 (struct fpa_regs): Delete.
5123 (phase1_vrs): Remove fpa element.
5124 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5125 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5126 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5127 * ieee754-sf.S (floatundisf): Remove FPA support.
5128 (floatdisf): Likewise.
5129 * ieee75f-df.S (floatundidf): Likewise.
5130 (floatdidf): Likewise.
5131
e5a81c8e
KT
51322012-11-29 Kai Tietz <ktietz@redhat.com>
5133
5134 PR target/55445
5135 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5136 * unwind-generic.h: Likewise.
5137 * unwind-seh.c: Likewise.
5138
f4919e4a
RH
51392012-11-28 Richard Henderson <rth@redhat.com>
5140
5141 PR libgcc/48076
5142 * emutls.c (__emutls_get_address): Avoid race condition between
5143 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5144
e13d9d5a
GJL
51452012-11-22 Georg-Johann Lay <avr@gjlay.de>
5146
5147 Adjust decimal point of signed accum mode to GCC default.
5148
5149 PR target/54222
5150 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5151 _divqq_helper.
5152 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5153 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5154 (__mulha3, __mulsa3)
5155 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5156 decimal point of signed accum types.
5157
e13d9d5a
GJL
5158 (__mulusa3_round): New function.
5159 (__mulusa3): Use it.
5160 (__divqq_helper): New function.
5161 (__udivuqq3): Use it.
5162
1b845c6e
JJ
51632012-11-20 Jakub Jelinek <jakub@redhat.com>
5164
5165 PR bootstrap/55370
5166 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5167
822a258a
TJ
51682012-11-18 Teresa Johnson <tejohnson@google.com>
5169
5170 PR bootstrap/55051
5171 * libgcov.c (gcov_exit): Remove merged program summary
5172 comparison unless !GCOV_LOCKED.
5173
7d296953 51742012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5175
5176 * soft-fp: Updated from glibc upstream.
5177
e808687a
ILT
51782012-11-06 Ian Lance Taylor <iant@google.com>
5179
5180 * generic-morestack.c (__generic_morestack): Align the returned
5181 stack pointer to a 32 byte boundary.
5182 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5183 increment the return address until we have decided that we don't
5184 have a varargs function.
5185 (__morestack) [32-bit]: Align stack correctly when calling C
5186 functions.
5187 (__morestack) [64-bit]: Likewise.
5188
460277e0
TS
51892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5190
5191 * configure: Regenerate.
5192
73edb277
UB
51932012-11-02 Uros Bizjak <ubizjak@gmail.com>
5194
5195 PR target/55175
5196 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5197 * config/i386/sfp-machine.h: Guard exception handling
5198 code with _SOFT_FLOAT.
5199 * config/i386/32/sfp-machine.h: Guard rounding handling
5200 code with _SOFT_FLOAT.
5201 * config/i386/64/sfp-machine.h: Ditto.
5202
c1d4fa04
JS
52032012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5204
5205 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5206 as extra_parts.
5207
eff6ca85
UB
52082012-10-26 Uros Bizjak <ubizjak@gmail.com>
5209
5210 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5211 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5212 when appropriate. Correct structure element types.
5213 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5214 -minline-all-stringops from compile flags.
5215
7d296953 52162012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5217
5218 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5219
7d296953 52202012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5221
eff6ca85 5222 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5223
6f288860
SH
52242012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5225
5226 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5227 tmake_file.
5228
1e3d5096
IB
52292012-10-23 Ian Bolton <ian.bolton@arm.com>
5230 Jim MacArthur <jim.macarthur@arm.com>
5231 Marcus Shawcroft <marcus.shawcroft@arm.com>
5232 Nigel Stephens <nigel.stephens@arm.com>
5233 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5234 Richard Earnshaw <rearnsha@arm.com>
5235 Sofiane Naci <sofiane.naci@arm.com>
5236 Stephen Thomas <stephen.thomas@arm.com>
5237 Tejas Belagod <tejas.belagod@arm.com>
5238 Yufeng Zhang <yufeng.zhang@arm.com>
5239
5240 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5241 * config/aarch64/crti.S: New file.
5242 * config/aarch64/crtn.S: New file.
5243 * config/aarch64/linux-unwind.h: New file.
5244 * config/aarch64/sfp-machine.h: New file.
5245 * config/aarch64/sync-cache.c: New file.
5246 * config/aarch64/t-aarch64: New file.
5247 * config/aarch64/t-softfp: New file.
5248
8a740f07
HPN
52492012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5250
5251 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5252 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5253 no-longer-needed LDBU insns.
5254
7d296953 52552012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5256
5257 * config.host
5258 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5259 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5260
595fefee
MGD
52612012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5262
5263 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5264
9945a876
MK
52652012-10-15 Matthias Klose <doko@ubuntu.com>
5266
5267 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5268
1183dc2c
PC
52692012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5270
5271 * configure: Regenerate.
5272 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5273
945a9c1f
UB
52742012-10-10 Uros Bizjak <ubizjak@gmail.com>
5275
5276 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5277 instructions for 64bit targets only.
5278
fb8bf47a
UB
52792012-10-10 Uros Bizjak <ubizjak@gmail.com>
5280
5281 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5282 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5283 * config/i386/32/sfp-machine.h: ... here.
5284 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5285 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5286 New defines.
5287
acb72498
MK
52882012-10-07 Matthias Klose <doko@ubuntu.com>
5289
5290 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5291 as unused.
5292 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5293
8eaee0f0
MK
52942012-10-06 Mark Kettenis <kettenis@openbsd.org>
5295
5296 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5297 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5298 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5299 (ElfW): Likewise.
5300
5e3e4fe8
JW
53012012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5302
5303 PR other/53889
5304 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5305 Fix parameter names.
5306
86086376
OE
53072012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5308
5309 PR target/33135
5310 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5311 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5312 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5313
9597375a
OE
53142012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5315
5316 PR target/50457
5317 * config/sh/linux-atomic.S: Delete.
5318 * config/sh/linux-atomic.c: New.
5319 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5320 linux-atomic.c. Add cflags to disable warnings.
5321
1504e3e1
JW
53222012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5323
5324 PR other/53889
5325 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5326 function.
5327 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5328 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5329 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5330 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5331 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5332 Likewise.
1504e3e1
JW
5333 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5334 Likewise.
5335 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5336 Likewise.
5337 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5338 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5339
17f293b0
MK
53402012-09-19 Mark Kettenis <kettenis@openbsd.org>
5341
9597375a
OE
5342 * config.host (hppa-*-openbsd*): New target.
5343 * config/pa/t-openbsd: New file.
17f293b0 5344
51526856
GJL
53452012-09-15 Georg-Johann Lay <avr@gjlay.de>
5346
5347 PR target/54222
5348 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5349 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5350 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5351 (__divsa3): Use __negsi2 to negate r_quoL.
5352 * config/avr/lib1funcs.S (FALIAS): New macro.
5353 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5354 (__negsi2): ...this new function.
5355 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5356 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5357 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5358 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5359 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5360 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5361
aadb5b43
OE
53622012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5363
5364 PR target/54089
5365 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5366 (lshrsi3): Reimplement as lshrsi3_r0.
5367
d5d66749
AS
53682012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5369
5370 PR target/46191
5371 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5372 of libgcc.a.
5373
c6c36e73
TJ
53742012-09-07 Teresa Johnson <tejohnson@google.com>
5375
9597375a 5376 PR gcov-profile/54487
c6c36e73 5377 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5378 differences.
c6c36e73 5379
b588ae30
GJL
53802012-09-05 Georg-Johann Lay <avr@gjlay.de>
5381
5382 PR target/54461
5383 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5384 not configured --with-avrlibc=no.
5385 * config/avr/t-avrlibc: New file.
5386 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5387 (DPBIT_FUNCS): Ditto.
5388 (TPBIT_FUNCS): Ditto.
5389
abd16fb1
TJ
53902012-09-04 Teresa Johnson <tejohnson@google.com>
5391
5392 * libgcov.c (struct gcov_summary_buffer): New structure.
5393 (gcov_histogram_insert): New function.
5394 (gcov_compute_histogram): Ditto.
5395 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5396 histograms during summary merging.
5397
613061fd
MK
53982012-09-01 Mark Kettenis <kettenis@openbsd.org>
5399
5400 * config.host (x86_64-*-openbsd*): New target.
73edb277 5401
867a8345
CLT
54022012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5403
5404 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5405 attribute.
5406
4aeaaca3
GJL
54072012-08-24 Georg-Johann Lay <avr@gjlay.de>
5408
5409 PR target/54222
5410 * config/avr/t-avr (conv_X): Rename to func_X.
5411
e55e4056
GJL
54122012-08-24 Georg-Johann Lay <avr@gjlay.de>
5413
5414 PR target/54222
5415 * config/avr/lib1funcs-fixed.S: New file.
5416 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5417 after they are used.
5418 (neg2, neg4): New macros.
5419 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5420 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5421 (__umulhisi3): Speed up MUL variant if there is enough flash.
5422 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5423 avr-modes.def.
5424 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5425 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5426 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5427 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5428 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5429 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5430 (LIB2FUNCS_EXCLUDE): Add supported functions.
5431
a147b6d2
GJL
54322012-08-22 Georg-Johann Lay <avr@gjlay.de>
5433
5434 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5435 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5436 libgcc-s-objects.
5437 * fixed-obj.mk: Only expand dependency if $o is not in
5438 LIB2FUNCS_EXCLUDE.
5439
c637141a
L
54402012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5441
5442 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5443
130e00bd
JM
54442012-08-22 Joseph Myers <joseph@codesourcery.com>
5445
5446 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5447 depend on --enable-shared.
5448 ($(lib1asmfuncs-o)): Use %.vis files independent of
5449 --enable-shared.
5450 * static-object.mk ($(base)$(objext), $(base).vis)
5451 ($(base)_s$(objext)): Use same rules for visibility handling as in
5452 shared-object.mk.
5453
4b1b3788
ILT
54542012-08-21 Ian Lance Taylor <iant@google.com>
5455
5456 * config/i386/morestack.S (__morestack_non_split): Increase amount
5457 of space allocated for non-split code stack.
5458
d2468141
JM
54592012-08-19 Joseph Myers <joseph@codesourcery.com>
5460
5461 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5462 even if inhibit_libc.
5463
a508e1a8
JB
54642012-08-17 Julian Brown <julian@codesourcery.com>
5465
5466 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5467 -fexceptions -fnon-call-exceptions if not defined.
5468 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5469 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5470
5615a07d
AS
54712012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5472
5473 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5474 type.
5475
138f5acd
DE
54762012-08-16 David Edelsohn <dje.gcc@gmail.com>
5477
5478 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5479 rs6000/t-slibgcc-aix.
5480
18efc0dd
SB
54812012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5482
5483 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5484
6b39bc38
SB
54852012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5486
5487 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5488
cd25dea0
L
54892012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5490
5491 PR driver/54171
5492 * Makefile.in (version): Replace top_srcdir with srcdir.
5493
a3dda30b
JY
54942012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5495
5496 * Makefile.in (version): set to BASE-VER file from gcc directory.
5497
d04aacfc
NC
54982012-08-01 Nick Clifton <nickc@redhat.com>
5499
5500 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5501 Implements __clrsb for an HImode argument.
5502
0d13c974
NC
55032012-07-31 Nick Clifton <nickc@redhat.com>
5504
5505 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5506 Implements __clrsb for an HImode argument.
5507 * config/stormy16/clrsbhi2.c: New file:
5508 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5509
efbb59b2
SB
55102012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5511
5512 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5513
bf1431e3
TG
55142012-07-19 Tristan Gingold <gingold@adacore.com>
5515 Richard Henderson <rth@redhat.com>
5516
5517 * unwind-seh.c: New file.
5518 * unwind-generic.h: Include windows.h for SEH.
5519 (_Unwind_Exception): Use 6 private fields for SEH.
5520 (_GCC_specific_handler): Declare.
5521 * unwind-c.c (__gcc_personality_seh0): New function.
5522 Adjust for SEH.
5523 * config/i386/libgcc-cygming.ver: New file.
5524 * config/i386/t-seh-eh: New file.
5525 * config.host (x86_64-*-mingw*): Default to seh.
5526
659140c8
SB
55272012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5528
5529 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5530
a20d08fd
UB
55312012-06-17 Uros Bizjak <ubizjak@gmail.com>
5532
5533 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5534 __builtin_expect when checking for exceptions.
5535 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5536
79261115
UB
55372012-06-13 Uros Bizjak <ubizjak@gmail.com>
5538
4a172156
UB
5539 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5540 function declaration.
5541 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5542 (FP_RND_MASK): New.
5543 * config/ia64/sfp-exceptions.c: New.
5544 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 5545
bb5c97d4
UB
55462012-06-13 Uros Bizjak <ubizjak@gmail.com>
5547
5548 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5549 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5550 * config/i386/64/sfp-machine: ... (delete here) ...
5551 * config/i386/sfp-machine.h: ... to here.
5552 (FP_EX_MASK): Remove.
5553 (FP_RND_MASK): New.
5554 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5555
91fe5efb
ST
55562012-06-11 Sriraman Tallam <tmsriram@google.com>
5557
5558 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5559 * config/i386/libgcc-sol2.ver: Ditto.
5560 * config/i386/libgcc-glibc.ver: Ditto.
5561
67a218c5
RM
55622012-06-11 Roland McGrath <mcgrathr@google.com>
5563
5564 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5565 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5566 pthread_cancel.
5567
492fbea1
UB
55682012-06-09 Uros Bizjak <ubizjak@gmail.com>
5569
5570 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5571 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5572 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5573 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5574 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5575 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5576 * config/i386/64/sfp-machine: ... (delete here) ...
5577 * config/i386/sfp-machine.h: ... to here.
5578 (FP_EX_MASK): New.
5579 (__sfp_handle_exceptions): New function declaration.
5580 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5581 * config/i386/sfp-exceptions.c: New.
5582 * config/i386/t-softfp: New.
5583 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5584 i386/t-softfp to tmake_file.
5585
7b4cf266
DM
55862012-06-03 David S. Miller <davem@davemloft.net>
5587
5588 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5589 change.
5590
0de0d5c6
DM
55912012-05-31 David S. Miller <davem@davemloft.net>
5592
5593 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5594 multiply and divide instructions on 32-bit when V9.
5595 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5596
d8c9d391
JM
55972012-05-29 Joseph Myers <joseph@codesourcery.com>
5598
5599 * config/arm/ieee754-df.S: Fix typos.
5600 * config/arm/ieee754-sf.S: Fix typos.
5601 * config/c6x/libunwind.S: Fix typos.
5602 * config/epiphany/udivsi3-float.c: Fix typos.
5603 * config/microblaze/muldi3_hard.S: Fix typos.
5604 * config/picochip/adddi3.S: Fix typos.
5605 * config/picochip/ashlsi3.S: Fix typos.
5606 * config/picochip/ashrsi3.S: Fix typos.
5607 * config/picochip/clzsi2.S: Fix typos.
5608 * config/picochip/cmpsi2.S: Fix typos.
5609 * config/picochip/divmod15.S: Fix typos.
5610 * config/picochip/divmodhi4.S: Fix typos.
5611 * config/picochip/divmodsi4.S: Fix typos.
5612 * config/picochip/longjmp.S: Fix typos.
5613 * config/picochip/lshrsi3.S: Fix typos.
5614 * config/picochip/parityhi2.S: Fix typos.
5615 * config/picochip/popcounthi2.S: Fix typos.
5616 * config/picochip/setjmp.S: Fix typos.
5617 * config/picochip/subdi3.S: Fix typos.
5618 * config/picochip/ucmpsi2.S: Fix typos.
5619 * config/picochip/udivmodhi4.S: Fix typos.
5620 * config/picochip/udivmodsi4.S: Fix typos.
5621 * config/spu/divv2df3.c: Fix typos.
5622 * config/spu/mfc_multi_tag_release.c: Fix typos.
5623 * config/spu/mfc_tag_release.c: Fix typos.
5624 * configure.ac: Fix typos.
5625 * configure: Regenerate.
5626
31a18a7e
ILT
56272012-05-25 Ian Lance Taylor <iant@google.com>
5628
5629 * config/i386/morestack.S (__morestack_non_split): Check whether
5630 caller is varargs and needs %bp to hold the stack frame on return.
5631
c5768510
OH
56322012-05-25 Olivier Hainque <hainque@adacore.com>
5633
5634 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5635 sequence in the non pic case on VxWorks.
5636
7c7c339b
OH
56372012-05-24 Olivier Hainque <hainque@adacore.com>
5638
73fb7630 5639 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
5640 "install-leaf" to "install".
5641
fdc1b7d3
OH
56422012-05-24 Olivier Hainque <hainque@adacore.com>
5643
5644 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5645 Use a separate command for stamp removals.
5646
07ba94b9
AP
56472012-05-21 Andrew Pinski <apinski@cavium.com>
5648
5649 PR bootstrap/53183
5650 * configure.ac: Define the default includes to being none.
5651 * configure: Regenerate.
5652
4677d2eb
OH
56532012-05-16 Olivier Hainque <hainque@adacore.com>
5654
5655 * Makefile.in (install-unwind_h): Rename into ...
5656 (install-unwind_h-forbuild): New target.
5657 (all): Use it instead of the former install-unwind_h.
5658 (install-unwind_h): Reinstate, copy to user install destination
5659 for include files, not to the internal gcc object directory one.
5660 (install-leaf): Depend on it.
5661
7d67c380
OH
56622012-05-15 Olivier Hainque <hainque@adacore.com>
5663
5664 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5665 register numbers. LR_REGNO replaces R_LR.
5666 (ucontext_for): New, helper for ...
5667 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5668 and 5.3 of ...
5669 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5670
aca06c90
RO
56712012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5672
5673 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5674 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5675 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5676 i386/t-cpuinfo ...
5677 (i[34567]86-*-*, x86_64-*-*): ... here.
5678
5679 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5680 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5681
5682 * config/i386/i386-cpuinfo.c: Rename to ...
5683 * config/i386/cpuinfo.c: ... this.
5684 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5685
5686 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5687 (libgcc_cv_init_priority): New test.
5688 * configure: Regenerate.
5689 * config.in: New file.
5690 * Makefile.in (clean): Rename config.h to auto-target.h.
5691 (config.h): Likewise.
5692 (stamp-h): Likewise.
5693
5694 * config/i386/cpuinfo.c (auto-target.h): Include.
5695 (CONSTRUCTOR_PRIORITY): Define.
5696 (__cpu_indicator_init): Use it.
5697
0d03ac1b
L
56982012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5699
5700 * longlong.h: Use a URL instead of an FSF postal address.
5701 Replace spaces with tab.
5702
4a172156 57032012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
5704
5705 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5706 (__gcov_dump): Ditto.
5707 (gcov_dump_complete): New global variable.
5708 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5709 (__gcov_flush): Outline functionality now in gcov_clear.
5710 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5711
e4bb767e
AJ
57122012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5713
31a18a7e
ILT
5714 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5715 (mips*-*-linux*): Include mips/t-tpbit when long double is
5716 16 bytes long.
e4bb767e 5717
5ddecff9
ST
57182012-04-25 Sriraman Tallam <tmsriram@google.com>
5719
5720 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5721 (get_available_features): New argument. Check for AVX2.
5722 (__cpu_indicator_init): Modify call to get_available_features.
5723
b427dd7a
AM
57242012-04-25 Alan Modra <amodra@gmail.com>
5725
5726 * config/rs6000/crtsavevr.S: New file.
5727 * config/rs6000/crtrestvr.S: New file.
5728 * config/rs6000/t-savresfgpr: Build the above.
5729 * config/rs6000/t-netbsd: Likewise.
5730
ad491329
ST
57312012-04-24 Sriraman Tallam <tmsriram@google.com>
5732
5733 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5734
792317cc
ST
57352012-04-24 Sriraman Tallam <tmsriram@google.com>
5736
5737 * libgcc/config/i386/i386-cpuinfo.c: New file.
5738 * libgcc/config/i386/t-cpuinfo: New file.
5739 * libgcc/config.host: Include t-cpuinfo.
5740 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5741
e1be98a4
CF
57422012-04-24 Chao-ying Fu <fu@mips.com>
5743
5744 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5745
1bde7dab
TS
57462012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5747
5748 struct siginfo vs. siginfo_t
5749
5750 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5751 siginfo_t instead of struct siginfo.
5752 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5753 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5754 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5755 (ia64_handle_unwabi): Likewise.
5756 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5757 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5758 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5759 (sh_fallback_frame_state): Likewise.
5760 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5761 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5762
24590f66
L
57632012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5764
5765 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5766 system call number.
5767
9a9dcce8
EB
57682012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5769
5770 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5771 if it hasn't been previously saved.
5772
6401aaf5
L
57732012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5774
5775 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5776 only for glibc.
5777
7fd6378e
GJL
57782012-03-28 Georg-Johann Lay <avr@gjlay.de>
5779
5780 PR target/52737
5781 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5782 instead of __AVR_HAVE_8BIT_SP__.
5783
9e916de7
TG
57842012-03-26 Tristan Gingold <gingold@adacore.com>
5785
5786 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5787 (unw_table_entry): Use unw_word instead of unsigned long.
5788 (_Unwind_FindTableEntry): Likewise.
5789 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5790 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5791 (_Unwind_FindTableEntry): Likewise.
5792 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5793 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5794 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5795 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5796 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5797 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5798 (uw_init_context_1, uw_install_context): Likewise.
5799 (unw_word): Move to unwind-ia64.h
5800
4b12e93d
TG
58012012-03-26 Tristan Gingold <gingold@adacore.com>
5802
5803 * config/vms/vms-ucrt0.c: Update copyright years.
5804 Add a sanity check.
5805 (___gcc_main_flags): Declare.
5806 (__main): Check flags to remap argv and exit code.
5807 * config.host (*-*-*vms*): Adjust extra_parts.
5808 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5809 (crt0.o): Add.
5810
06ea7371
RE
58112012-03-22 Richard Earnshaw <rearnsha@arm.com>
5812
5813 * arm/lib1funcs.asm (ctzsi2): New function.
5814 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5815 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5816 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5817 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5818 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5819 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5820
d82ad50d
AT
58212012-03-21 Andreas Tobler <andreast@fgznet.ch>
5822
5823 * config.host: Add bits to support powerpc64-*-freebsd*.
5824 * config/rs6000/freebsd-unwind.h: New file.
5825 * config/rs6000/t-freebsd64: New file.
5826
b260a8c0
RG
58272012-03-20 Richard Guenther <rguenther@suse.de>
5828
5829 PR gcov-profile/52627
5830 * libgcov.c (init_mx): Fix mutex name.
5831
86286a8a
TG
58322012-03-16 Tristan Gingold <gingold@adacore.com>
5833
5834 * config/ia64/vms-unwind.h: Remove ulong (and replace
5835 it by unw_reg where used). Define unw_reg with __int64.
5836
7888f266
RO
58372012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5838
5839 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5840 Solaris 8 handling.
5841 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5842 Solaris 8 handling.
5843 (sparc_is_sighandler): Likewise.
5844
f155bc64
L
58452012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5846
5847 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5848 <= saved reg size.
5849
d47657bd
RO
58502012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5851
5852 * config/arm/crtn.S: Fix typo.
5853
5bef73a1
RG
58542012-03-13 Richard Guenther <rguenther@suse.de>
5855
5856 * libgcov.c: Remove stdio.h include and NULL un-define.
5857
9c4271f3
RG
58582012-03-13 Richard Guenther <rguenther@suse.de>
5859
5860 PR target/52569
5861 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5862
c6d10e7c
RG
58632012-03-13 Richard Guenther <rguenther@suse.de>
5864
5865 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5866
074a385f
RG
58672012-03-13 Richard Guenther <rguenther@suse.de>
5868
5869 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5870 and __gthread_mutex_init_function definitions.
5871
c4bc5c25
RO
58722012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5873
5874 * config.host (mips*-*-openbsd*): Remove.
5875
5c30094f
RO
58762012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5877
5878 * config.host: Remove alpha*-dec-osf5.1* handling.
5879 * config/alpha/gthr-posix.c: Remove.
5880 * config/alpha/libgcc-osf5.ver: Remove.
5881 * config/alpha/osf5-unwind.h: Remove.
5882 * config/alpha/t-osf-pthread: Remove.
5883 * config/alpha/t-slibgcc-osf: Remove.
5884 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5885 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5886 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5887 * mkmap-flat.awk: Remove osf_export handling.
5888
33e3e24d
RG
58892012-03-12 Richard Guenther <rguenther@suse.de>
5890
5891 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5892 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5893 (__gthread_mutex_init_function): New function.
5894 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5895
5896 PR gcov/49484
5897 * libgcov.c: Include gthr.h.
5898 (__gcov_flush_mx): New global variable.
5899 (init_mx, init_mx_once): New functions.
5900 (__gcov_flush): Protect self with a mutex.
5901 (__gcov_fork): Re-initialize mutex after forking.
5902 * unwind-dw2-fde.c: Change condition under which to use
5903 __GTHREAD_MUTEX_INIT_FUNCTION.
5904
d8aba32a
TG
59052012-03-12 Tristan Gingold <gingold@adacore.com>
5906
5907 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5908 * config/ia64/t-vms: Likewise.
5909
75ffafdc
MH
59102012-03-11 Michael Hope <michael.hope@linaro.org>
5911
4a172156
UB
5912 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5913 for Thumb-2.
75ffafdc 5914
ef6c2c53
WL
59152012-03-07 Walter Lee <walt@tilera.com>
5916
5917 * config/tilepro/atomic.c: Rename "atomic_" prefix to
5918 "arch_atomic_".
5919 (atomic_xor): Rename and move definition to
5920 config/tilepro/atomic.h.
5921 (atomic_nand): Ditto.
5922 * config/tilepro/atomic.h: Rename "atomic_" prefix to
5923 "arch_atomic_".
5924 (arch_atomic_xor): Move from config/tilepro/atomic.c.
5925 (arch_atomic_nand): Ditto.
5926
4e30d980
GJL
59272012-03-07 Georg-Johann Lay <avr@gjlay.de>
5928
5929 PR target/52507
5930 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5931
61108225
GJL
59322012-03-07 Georg-Johann Lay <avr@gjlay.de>
5933
5934 PR target/52505
5935 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5936 from RAM.
5937
b30e10ab
GJL
59382012-03-07 Georg-Johann Lay <avr@gjlay.de>
5939
5940 PR target/52461
5941 PR target/52508
5942 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5943 if RAMPZ affects reading from RAM.
5944 (__tablejump_elpm__): Ditto.
5945 (.xload): Ditto.
5946 (__movmemx_hi): Ditto.
5947 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5948 (__do_global_dtors): Ditto.
5949 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5950 (__movmemx_hi): Ditto.
5951
8993fde4
RH
59522012-03-05 Richard Henderson <rth@redhat.com>
5953
5954 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5955 [ARM] (count_trailing_zeros): Use the builtin.
5956
b7633ee3
KT
59572012-03-01 Kai Tietz <ktietz@redhat.com>
5958
5959 * soft-fp: Imported from glibc upstream.
5960
fbd3340c
KT
59612012-02-28 Kai Tietz <ktietz@redhat.com>
5962
5963 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5964 for mingw-targets as attribute gcc_struct.
5965
e9e053eb
ILT
59662012-02-28 Ian Lance Taylor <iant@google.com>
5967
5968 * generic-morestack.c (__splitstack_releasecontext): Correct call
5969 to __morestack_release_segments.
5970
d80c632e
ST
59712012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5972
5973 PR target/52390
5974 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5975 for __linux__ when removing signals from __morestack_fullmask.
5976
0253a8b1
GJL
59772012-02-23 Georg-Johann Lay <avr@gjlay.de>
5978
5979 PR target/52261
5980 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5981
e10e461e
UW
59822012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5983
5984 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5985 instead of HAVE_INITFINI_ARRAY.
5986 * config/ia64/crtend.S: Likewise.
5987
0c0c6398
KT
59882012-02-20 Kai Tietz <ktietz@redhat.com>
5989
d7470374
KT
5990 PR libstdc++/52300
5991 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5992
0c0c6398
KT
5993 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5994 to w32-unwind.h header.
5995
78c27266
RS
59962012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5997
5998 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5999 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6000 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6001 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6002
5adeb246
RS
60032012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6004
6005 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6006
672ed313
IS
60072012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6008
6009 PR libitm/52220
6010 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6011
e948a1fb
IS
60122012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6013 Patrick Marlier <patrick.marlier@gmail.com>
6014
6015 PR libitm/52220
6016 * config/darwin-crt-tm.c: Generate dummy functions.
6017
6017aed3
IS
60182012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6019 Patrick Marlier <patrick.marlier@gmail.com>
6020
6021 PR libitm/52042
6022 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6023 (__doTMRegistrations): Call it.
e9e053eb 6024 (__doTMdeRegistrations): Likewise.
6017aed3 6025
2da8c1ad 60262012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6027 Anatoly Sokolov <aesok@post.ru>
6028 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6029
6030 PR target/52261
6031 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6032 (__epilogue_restores__): Ditto.
6033
0f952eb4
EB
60342012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6035
6036 PR target/51921
6037 PR target/52205
6038 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6039 Solaris 11 and slightly reformat.
6040 (sparc_is_sighandler): Likewise.
6041
dd552284
WL
60422012-02-14 Walter Lee <walt@tilera.com>
6043
6044 * config.host: Handle tilegx and tilepro.
6045 * config/tilegx/sfp-machine.h: New file.
6046 * config/tilegx/sfp-machine32.h: New file.
6047 * config/tilegx/sfp-machine64.h: New file.
6048 * config/tilegx/t-crtstuff: New file.
6049 * config/tilegx/t-softfp: New file.
6050 * config/tilegx/t-tilegx: New file.
6051 * config/tilepro/atomic.c: New file.
6052 * config/tilepro/atomic.h: New file.
6053 * config/tilepro/linux-unwind.h: New file.
6054 * config/tilepro/sfp-machine.h: New file.
6055 * config/tilepro/softdivide.c: New file.
6056 * config/tilepro/softmpy.S: New file.
6057 * config/tilepro/t-crtstuff: New file.
6058 * config/tilepro/t-tilepro: New file.
6059
b59cbd50
JW
60602012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6061
6062 PR libstdc++/51296
6063 PR libstdc++/51906
6064 * gthr-posix.h: Allow static initializer macros to be disabled.
6065 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6066
6caf807f
CLT
60672012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6068
6069 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6070 Add t-slibgcc-libgcc to tmake_file.
6071 * config/mips/libgcc-mips16.ver: Revert previous patch.
6072 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6073
7d296953
JJ
60742012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6075 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6076
6077 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6078 * config/cr16/crti.S: New file.
6079 * config/cr16/crtlibid.S: New file.
6080 * config/cr16/crtn.S: New file.
6081 * config/cr16/lib1funcs.S: New file.
6082 * config/cr16/t-cr16: New file.
6083 * config/cr16/t-crtlibid: New file.
6084 * config/cr16/unwind-dw2.h: New file.
6085 * config/cr16/unwind-cr16.c: New file.
6086 * config/cr16/divmodhi3.c: New file.
6087
8ef03aa7
AM
60882012-01-25 Alan Modra <amodra@gmail.com>
6089
6090 * config/rs6000/t-linux64: Delete. Move..
6091 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6092 * config/rs6000/t-linux: ..and libgcc flags to here.
6093
daecebc8
DR
60942012-01-22 Douglas B Rupp <rupp@gnat.com>
6095
6096 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6097 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6098 * configure: Regenerate.
6099
ddaf8125
RS
61002012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6101 Richard Sandiford <rdsandiford@googlemail.com>
6102
6103 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6104 * config/mips/mips16.S (__mips16_rdhwr): New function.
6105 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6106
2cd8b32c
NS
61072012-01-11 Nathan Sidwell <nathan@acm.org>
6108
6109 * libgcov.c (__gcov_init): Ignore objects with no functions.
6110
cba300dd
GJL
61112012-01-10 Georg-Johann Lay <avr@gjlay.de>
6112
6113 PR target/49868
6114 Extend __pgmx semantics to linearize memory.
6115 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6116 * config/avr/lib1funcs.S (__xload_1): New function.
6117 (__movmemx_qi, __movmemx_hi): New functions.
6118 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6119 semantics.
9ffaf4bc 6120
3d137660
EB
61212012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6122
6123 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6124 purported sigacthandler address isn't null before dereferencing it.
6125 (sparc_is_sighandler): Likewise.
6126
bf4db96c
EB
61272012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6128
6129 PR ada/41929
6130 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6131 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6132 (sparc_is_sighandler): Likewise.
6133 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6134
1ab3568b
TG
61352012-01-06 Tristan Gingold <gingold@adacore.com>
6136
6137 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6138 compatibility thunks...
6139 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6140 (crtbeginS.o, crtendS.o): ... and these to ...
6141 * config/ia64/t-ia64-elf: ... this new file.
6142 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6143 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6144
925b0ed8
AK
61452012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6146
6147 * configure: Regenerate.
6148 * config/s390/t-crtstuff: Remove -fPIC.
6149
a99ad737
JW
61502012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6151
6152 PR bootstrap/51006
6153 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6154 for NetBSD.
6155
884f56d1
GJL
61562012-01-02 Georg-Johann Lay <avr@gjlay.de>
6157
6158 PR target/51345
6159 * config/avr/lib1funcs.S: Remove FIXME comments.
6160 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6161
8c57e547
GJL
61622012-01-02 Georg-Johann Lay <avr@gjlay.de>
6163
6164 Implement light-weight DImode support.
6165 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6166 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6167 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6168 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6169
04dbc287
NS
61702011-12-30 Nathan Sidwell <nathan@acm.org>
6171
6172 * libgcov.c (gcov_crc32): Remove global var.
6173 (free_fn_data): New function.
6174 (buffer_fn_data): Pass in filename, more robust error recovery.
6175 (crc32_unsigned): New function.
6176 (gcov_exit): More robust detection of new program. More robust
6177 error recovery.
6178 (__gcov_init): Do not update program's crc here.
6179
8e1d97d4
TG
61802011-12-21 Tristan Gingold <gingold@adacore.com>
6181
6182 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6183
9ffaf4bc
ILT
61842011-12-21 Ian Lance Taylor <iant@google.com>
6185
6186 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6187
a0c8d0c1
ILT
61882011-12-20 Ian Lance Taylor <iant@google.com>
6189
6190 * config/i386/morestack.S (__morestack_non_split): If there is
6191 enough stack space already, don't split. Ask for more stack space
6192 than we required.
6193
69048898
SDJ
61942011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6195
6196 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6197 `sys/sdt.h'.
6198 (_Unwind_DebugHook): New function.
6199 (uw_restore_core_regs): New define.
6200 (unwind_phase2): Use uw_restore_core_regs instead of
6201 restore_core_regs.
6202 (unwind_phase2_forced): Likewise.
6203 (__gnu_Unwind_Resume): Likewise.
6204
1bb4b6a3
UB
62052011-12-20 Uros Bizjak <ubizjak@gmail.com>
6206
6207 * config/alpha/linux-unwind.h: Update copyright years.
6208 (MD_FROB_UPDATE_CONTEXT): New define.
6209 (alpha_frob_update_context): New function.
6210
eb028768
RS
62112011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6212
6213 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6214 tmake_file rather replacing it.
6215
6a2045bf
IS
62162011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6217
6218 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6219 function is not used for PPC64.
6a2045bf
IS
6220 (save_world): Amend comments. Update the VRsave mask to reflect the
6221 saved regs.
6222 (rest_world): Update comments, do not clobber r10, do not use r8.
6223 (eh_rest_world_r10): Amend comments, do not use r8.
6224 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6225 no longer used, move restore of CR and target address to the end of
6226 the routine.
6227
a13780a6
L
62282011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6229
6230 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6231 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6232
d7288dfb
GJL
62332011-12-14 Georg-Johann Lay <avr@gjlay.de>
6234
6235 PR target/49313
6236 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6237 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6238
8d2c862d
EB
62392011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6240
6241 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6242
3447cae6
GJL
62432011-12-09 Georg-Johann Lay <avr@gjlay.de>
6244
6245 PR target/49313
6246 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6247 * config/avr/lib1funcs.S (__muldi3): New function.
6248
806fc6aa
AP
62492011-12-06 Andrew Pinski <apinski@cavium.com>
6250
6251 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6252 size of func_ptr.
6253 (__frame_dummy_init_array_entry): Likewise.
6254
28c5e6b5
GJL
62552011-12-06 Georg-Johann Lay <avr@gjlay.de>
6256
6257 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6258
6259 PR target/51345
6260 PR target/51002
6261 * config/avr/lib1funcs.S (__prologue_saves__,
6262 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6263 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6264
8f90394a
IS
62652011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6266
6267 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6268
06dd33ac
JDA
62692011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6270
6271 PR other/51272
6272 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6273 (_ITM_deregisterTMCloneTable): Likewise.
6274 (__register_frame_info): Fix unused warning.
6275 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6276 pthread_default_stacksize_np): Likewise.
6277 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6278
85b8555e
DD
62792011-11-29 DJ Delorie <dj@redhat.com>
6280
6281 * config.host (rl78-*-elf): New case.
6282 * config/rl78: New directory for the Renesas RL78.
6283
4d5ae4ea
BS
62842011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6285
6286 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6287 formatting.
6288
f9c55897
RO
62892011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6290
6291 PR other/51022
6292 * config/rs6000/t-savresfgpr: New file.
6293 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6294 $(srcdir)/config/rs6000/eabi.S.
6295 * config/rs6000/t-ppccomm-ldbl: Remove.
6296 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6297 tmake_file.
6298 (powerpc-*-eabispe*): Likewise.
6299 (powerpc-*-eabi*): Likewise.
6300 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6301 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6302 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6303 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6304 tmake_file.
6305 (powerpc-*-eabisim*): Likewise.
6306 (powerpc-*-elf*): Likewise.
6307 (powerpc-*-eabialtivec*): Likewise.
6308 (powerpc-xilinx-eabi*): Likewise.
6309 (powerpc-*-rtems*): Likewise.
6310 (powerpcle-*-elf*): Likewise.
6311 (powerpcle-*-eabisim*): Likewise.
6312 (powerpcle-*-eabi*): Likewise.
6313
a01207c4
ILT
63142011-11-27 Ian Lance Taylor <iant@google.com>
6315
6316 * generic-morestack.c (__splitstack_find): Check for NULL old
6317 stack value.
6318 (__splitstack_resetcontext): New function.
6319 (__splitstack_releasecontext): New function.
6320 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6321
2b0b8ab2
IS
63222011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6323
6324 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6325
c1d8101c
IS
63262011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6327
6328 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6329
8b281334
RH
63302011-11-26 Richard Henderson <rth@redhat.com>
6331
6332 * config/m68k/linux-atomic.c: New file.
6333 * config/m68k/t-linux: New file.
6334 * config.host (m68k-uclinux, m68k-linux): Use it.
6335
7546aa9d
RH
63362011-11-26 Richard Henderson <rth@redhat.com>
6337
6338 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6339 (__TMC_END__): Only declare if hidden is available; in the definition,
6340 if hidden is unavailable add a null record.
6341 (deregister_tm_clones, register_tm_clones): New.
6342 (__do_global_dtors_aux, frame_dummy): Use them.
6343 (__do_global_dtors, __do_global_ctors_1): Likewise.
6344
e2362f5d
IS
63452011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6346
6347 * config/darwin-crt-tm.c: New file.
6348 * config.host (darwin): Build crttms.o crttme.o to provide
6349 startup and shutdown for tm clones.
6350 * config/t-darwin (crttms.o): New build rule.
6351 (crttme.o): Likewise.
6352
6685dd96
HPN
63532011-11-21 Hans-Peter Nilsson <hp@axis.com>
6354
6355 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6356 et al.
6357
b0dc7e4c
RH
63582011-11-21 Richard Henderson <rth@redhat.com>
6359
6360 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6361 (__TMC_LIST__, __TMC_END__): New.
6362 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6363 (__do_global_dtors): Likewise.
6364 (frame_dummy): Call _ITM_registerTMCloneTable.
6365 (__do_global_ctors_1): Likewise.
6366
d4b4b542
RO
63672011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6368
6369 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6370 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6371 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6372 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6373 * config/i386/t-darwin64: Remove.
6374 * config/sh/t-netbsd (LIB2ADD): Remove.
6375
989bdb74
GJL
63762011-11-21 Georg-Johann Lay <avr@gjlay.de>
6377
6378 PR target/49313
6379 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6380 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6381 * config/avr/lib1funcs.S (wmov): New assembler macro.
6382 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6383 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6384 (__udivmod64): New function.
6385 (__negdi2): New function.
6386
515a0cfc
GP
63872011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6388
6389 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6390 *-*-freebsd*aout*): Remove.
6391
0115d17f
HPN
63922011-11-20 Hans-Peter Nilsson <hp@axis.com>
6393
6394 * static-object.mk (c_flags-$o): Save c_flags.
6395 ($(base)$(objext)): Use it.
6396
93aeb62b
SE
63972011-11-18 Steve Ellcey <sje@cup.hp.com>
6398
6399 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6400
7bc6df2c
GJL
64012011-11-18 Georg-Johann Lay <avr@gjlay.de>
6402
6403 PR target/49868
6404 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6405 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6406 New functions.
6407
425d737b
MGD
64082011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6409
6410 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6411 functions.
1bb4b6a3 6412 (aeabi_uidivmod): Likewise.
425d737b
MGD
6413 (umodsi3): Likewise.
6414 (divsi3): Likewise.
6415 (aeabi_idivmod): Likewise.
6416 (modsi3): Likewise.
6417
f2a176dc
TG
64182011-11-16 Tristan Gingold <gingold@adacore.com>
6419
6420 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6421
7c209481
GJL
64222011-11-15 Georg-Johann Lay <avr@gjlay.de>
6423
6424 PR target/49868
6425 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6426 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6427
9dfd5832
JDA
64282011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6429
6430 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6431 tmake_file list.
6432 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6433 * config/pa/t-stublib64: Delete.
6434
f77dca5d
RH
64352011-11-12 Richard Henderson <rth@redhat.com>
6436
6437 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6438 cast the pointer argument to _Unwind_SetGRPtr.
6439
902828f0
RO
64402011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6441
6442 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6443
e14304ef
ILT
64442011-11-09 Ian Lance Taylor <iant@google.com>
6445
6446 * generic-morestack.c: Include <string.h>.
6447 (uintptr_type): Define.
6448 (struct initial_sp): Add dont_block_signals field. Reduce size of
6449 extra array by 1.
6450 (allocate_segment): Set prev field to NULL. Don't set
6451 __morestack_current_segment or __morestack_segments.
6452 (__generic_morestack): Update current->prev and *pp after calling
6453 allocate_segment.
6454 (__morestack_block_signals): Don't do anything if
6455 dont_block_signals is set.
6456 (__morestack_unblock_signals): Likewise.
6457 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6458 uintptr_type.
6459 (__splitstack_block_signals): New function.
6460 (enum __splitstack_content_offsets): Define.
6461 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6462 (__splitstack_makecontext): New function.
6463 (__splitstack_block_signals_context): New function.
6464 (__splitstack_find_context): New function.
6465 * config/i386/morestack.S (__morestack_get_guard): New function.
6466 (__morestack_set_guard, __morestack_make_guard): New functions.
6467 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6468
e3d871e4
RO
64692011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6470
6471 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6472 (i[34567]86-*-mingw*): ... here.
6473 (x86_64-*-mingw*): ... here.
6474
e55cef40
RO
64752011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6476
6477 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6478
5366b186
NS
64792011-11-07 Nathan Sidwell <nathan@acm.org>
6480
6481 * libgcov.c (struct gcov_fn_buffer): New struct.
6482 (buffer_fn_data): New helper.
6483 (gcov_exit): Rework for new gcov data structures.
6484
74155a6f
GJL
64852011-11-07 Georg-Johann Lay <avr@gjlay.de>
6486
6487 PR target/49313
6488 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6489
200feb07
RO
64902011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6491
6492 * config.host (tmake_file): Correct comment.
6493 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6494 t-libgcc-pic.
6495 (bfin*-uclinux*): Likewise.
6496 (bfin*-linux-uclibc*): Likewise.
6497 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6498
6499 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6500 assigning.
6501 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6502 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6503 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6504 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6505 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6506 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6507 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6508 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6509 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6510 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6511 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6512 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6513 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6514
6515 * config/bfin/t-elf: Remove.
6516 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6517
c9cd1a07
RO
65182011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6519
6520 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6521 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6522 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6523 (lm32-*-elf*): ... this.
6524 (lm32-*-rtems*): ... and this.
6525 Add to tmake_file.
6526 (m32r-*-rtems*): Add to tmake_file.
6527 (moxie-*-rtems*): Likewise.
6528 (sparc-*-rtems*): Likewise.
6529 Remove t-rtems from tmake_file.
6530 (sparc64-*-rtems*): Likewise.
6531 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6532 instead.
6533
9fbcc75d
RO
65342011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6535
6536 PR bootstrap/50982
6537 * config/gthr-posix.h: Move ...
6538 * gthr-posix.h: ... here.
6539 * config/gthr-lynx.h: Reflect this.
6540 * config/gthr-vxworks.h: Likewise.
6541 * config/rs6000/gthr-aix.h: Likewise.
6542 * configure.ac (target_thread_file): Likewise.
6543 * configure: Regenerate.
6544
76644b68
SH
65452011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6546
6547 * config.host (arm*-*-rtemseabi*): New target.
6548
5e490f2a
JDA
65492011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6550
6551 PR other/50991
6552 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6553 extra-parts.
6554
feeeff5c
JR
65552011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6556
6557 * config.host (epiphany-*-elf*): New configuration.
6558 * config/epiphany: New Directory.
6559
d618bb2c
RC
65602011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6561
6562 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6563 * config/avr/t-rtems: New.
6564 Filter out _exit from LIB1ASMFUNCS.
6565
1bb6f778
DM
65662011-11-04 David S. Miller <davem@davemloft.net>
6567
6568 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6569 * configure: Rebuild.
6570
9a7f7422
AK
65712011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6572
6573 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6574 variable.
6575
e4fe948a
GJL
65762011-11-04 Georg-Johann Lay <avr@gjlay.de>
6577
6578 PR target/50931
6579 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6580 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6581
7084e037
JS
65822011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6583
6584 PR target/50989
6585 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6586
1a032034
RO
65872011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6588
6589 * config/c6x/t-elf (LIB2ADDEH): Set.
6590 * config/c6x/t-c6x-elf: Remove.
6591
d385f772
RO
65922011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6593
6594 * config/i386/sol2-ci.S: Rename to ...
6595 * config/i386/crti.S: ... this.
6596 * config/i386/sol2-cn.S: Rename to ...
6597 * config/i386/crtn.S: ... this.
6598 * config/sparc/sol2-ci.S: Rename to ...
6599 * config/sparc/crti.S: ... this.
6600 * config/sparc/sol2-cn.S: Rename to ...
6601 * config/sparc/crtn.S: ... this.
6602 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6603 (crti.o, crtn.o): Remove.
6604
1ba878a9
TG
66052011-11-04 Tristan Gingold <gingold@adacore.com>
6606
6607 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6608
02750c15
KK
66092011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6610
6611 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6612
bf86b067
HPN
66132011-11-03 Hans-Peter Nilsson <hp@axis.com>
6614
6615 * config.host (crisv32-*-none, cris-*-none): Remove.
6616 (crisv32-*-elf): Append to tmake_file, don't just set it.
6617 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6618
d0bc53bd
RO
66192011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6620
6621 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6622 (ecrtn$(objext)): Likewise.
6623 (ncrti$(objext)): Likewise.
6624 (ncrtn$(objext)): Likewise.
6625
036da830
AS
66262011-11-03 Andreas Schwab <schwab@redhat.com>
6627
6628 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6629
d2a7d041
DM
66302011-11-02 David S. Miller <davem@davemloft.net>
6631
6632 * configure.ac: Set host_address on sparc too.
6633 * configure: Regenerate.
6634 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6635 based upon host_address.
6636 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6637
af8ed618
JM
66382011-11-02 Jason Merrill <jason@redhat.com>
6639
6640 * config/rs6000/t-ppccomm: Add missing \.
6641
5d1c8e77
RO
66422011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6643
6644 * gthr-single.h, gthr.h: New files.
6645 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6646 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6647 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6648 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6649 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6650 * configure.ac (thread_header): New variable.
6651 Set it depending on target_thread_file.
6652 (gthr-default.h): Link from $thread_header.
6653 * configure: Regenerate.
6654 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6655
852b75ed
RO
66562011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6657
6658 * configure.ac (tm_file_): New variable.
6659 Determine from tm_file.
6660 (tm_file, tm_defines): Substitute.
6661 * configure: Regenerate.
6662 * mkheader.sh: New file.
6663 * Makefile.in (clean): Remove libgcc_tm.h.
6664 ($(objects)): Depend on libgcc_tm.h.
6665 (libgcc_tm_defines, libgcc_tm_file): New variables.
6666 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6667 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6668 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6669 ($(extra-parts)): Depend on libgcc_tm.h.
6670 * config.host (tm_defines, tm_file): New variable.
6671 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6672 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6673 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6674 (avr-*-rtems*): Likewise.
6675 (avr-*-*): Likewise.
6676 (frv-*-elf): Likewise.
6677 (frv-*-*linux*): Likewise.
6678 (h8300-*-rtems*): Likewise.
6679 (h8300-*-elf*): Likewise.
6680 (i[34567]86-*-darwin*): Likewise.
6681 (x86_64-*-darwin*): Likewise.
6682 (rx-*-elf): Likewise.
6683 (tic6x-*-uclinux): Likewise.
6684 (tic6x-*-elf): Likewise.
6685 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6686 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6687 * config/i386/cygming-crtbegin.c: Likewise.
6688 * config/i386/cygming-crtend.c: Likewise.
6689 * config/ia64/fde-vms.c: Likewise.
6690 * config/ia64/unwind-ia64.c: Likewise.
6691 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6692 * config/rs6000/darwin-fallback.c: Likewise.
6693 * config/stormy16/lib2funcs.c: Likewise.
6694 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6695 * crtstuff.c: Likewise.
6696 * dfp-bit.h: Likewise.
6697 * emutls.c: Likewise.
6698 * fixed-bit.c: Likewise.
6699 * fp-bit.c: Likewise.
6700 * generic-morestack-thread.c: Likewise.
6701 * generic-morestack.c: Likewise.
6702 * libgcc2.c: Likewise.
6703 * libgcov.c: Likewise.
6704 * unwind-dw2-fde-dip.c: Likewise.
6705 * unwind-dw2-fde.c: Likewise.
6706 * unwind-dw2.c: Likewise.
6707 * unwind-sjlj.c: Likewise.
6708
f9989b51
RO
67092011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6710
6711 * configure.ac: Include ../config/picflag.m4.
6712 (GCC_PICFLAG): Call it.
6713 Substitute.
6714 * configure: Regenerate.
6715 * Makefile.in (gcc_srcdir): Remove.
6716 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6717 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6718 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6719 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6720 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6721 Use $<.
6722 Remove comment.
6723 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6724 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6725 to refer to libgcc2.c.
6726 Use $<.
6727 * config/darwin-64.c: New file.
6728 * config/darwin-crt3.c: Remove comment.
6729 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6730 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6731 config/udivmodsi4.c: New files.
6732 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6733 config/memset.c: New files.
6734 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6735 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6736 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6737 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6738 * config/t-openbsd-thread: New file.
6739 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6740 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6741 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6742 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6743 qrnnd.S.
6744 Adapt filename.
6745 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6746 to refer to gthr-posix.c.
6747 * config/alpha/t-vms (LIB2ADD): Set.
6748 * config/alpha/vms-gcc_shell_handler.c: New file.
6749 * config/arm/bpabi.c, config/arm/fp16.c,
6750 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6751 config/arm/unaligned-funcs.c: New files.
6752 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6753 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6754 * config/arm/t-linux: Likewise.
6755 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6756 * config/arm/t-netbsd: New file.
6757 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6758 * config/arm/t-symbian (LIB2ADD_ST): Set.
6759 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6760 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6761 * config/bfin/t-elf: New file.
6762 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6763 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6764 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6765 config/c6x/ltf.c: New files.
6766 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6767 (HOST_LIBGCC2_CFLAGS): Set.
6768 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6769 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6770 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6771 New files.
6772 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6773 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6774 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6775 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6776 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6777 files.
6778 * config/frv/t-frv (LIB2ADD): Set.
6779 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6780 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6781 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6782 config/h8300/popcounthi2.c: New files.
6783 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6784 * config/i386/gthr-win32.c: New file.
6785 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6786 * config/i386/t-cygwin: Likewise.
6787 * config/i386/t-darwin, config/i386/t-darwin64,
6788 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6789 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6790 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6791 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6792 * config/ia64/quadlib.c: New file.
6793 * config/ia64/t-hpux (LIB2ADD): Set.
6794 * config/ia64/t-ia64: Add comment.
6795 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6796 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6797 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6798 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6799 * config/m32c/t-m32c (LIB2ADD): Set.
6800 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6801 * config/m32r/t-m32r: Likewise.
6802 * config/m68k/fpgnulib.c: New file.
6803 * config/m68k/t-floatlib (LIB2ADD): Set.
6804 (xfgnulib.c): New target.
6805 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6806 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6807 * config/mep/t-mep (LIB2ADD): Set.
6808 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6809 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6810 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6811 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6812 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6813 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6814 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6815 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6816 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6817 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6818 New files.
6819 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6820 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6821 * config/pa/fptr.c, config/pa/lib2funcs.S,
6822 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6823 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6824 (LIB2ADD, LIB2ADD_ST): Set.
6825 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6826 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6827 Set.
6828 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6829 * config/pdp11/t-pdp11: New file.
6830 * config/picochip/libgccExtras/adddi3.S,
6831 config/picochip/libgccExtras/ashlsi3.S,
6832 config/picochip/libgccExtras/ashrsi3.S,
6833 config/picochip/libgccExtras/clzsi2.S,
6834 config/picochip/libgccExtras/cmpsi2.S,
6835 config/picochip/libgccExtras/divmod15.S,
6836 config/picochip/libgccExtras/divmodhi4.S,
6837 config/picochip/libgccExtras/divmodsi4.S,
6838 config/picochip/libgccExtras/lshrsi3.S,
6839 config/picochip/libgccExtras/parityhi2.S,
6840 config/picochip/libgccExtras/popcounthi2.S,
6841 config/picochip/libgccExtras/subdi3.S,
6842 config/picochip/libgccExtras/ucmpsi2.S,
6843 config/picochip/libgccExtras/udivmodhi4.S,
6844 config/picochip/libgccExtras/udivmodsi4.S: New files.
6845 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6846 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6847 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6848 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6849 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6850 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6851 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6852 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6853 files.
6854 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6855 (HOST_LIBGCC2_CFLAGS): Set.
6856 * config/rs6000/t-darwin64: New file.
6857 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6858 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6859 * config/rs6000/t-ppccomm (LIB2ADD): Add
6860 $(srcdir)/config/rs6000/tramp.S.
6861 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6862 Add $(srcdir)/config/rs6000/eabi.S.
6863 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6864 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6865 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6866 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6867 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6868 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6869 * config/rs6000/tramp.S: New file.
6870 * config/s390/t-tpf: Remove.
6871 * config/sh/linux-atomic.S: New file.
6872 * config/sh/t-linux (LIB2ADD): Set.
6873 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6874 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6875 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6876 to unwind-dw2.c.
6877 (HOST_LIBGCC2_CFLAGS): Set.
6878 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6879 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6880 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6881 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6882 config/spu/mfc_multi_tag_release.c,
6883 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6884 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6885 config/spu/multi3.c: New files.
6886 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6887 (HOST_LIBGCC2_CFLAGS): Set.
6888 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6889 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6890 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6891 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6892 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6893 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6894 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6895 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6896 config/stormy16/umodsi3.c: New files.
6897 * config/xtensa/lib2funcs.S: New file.
6898 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6899 * config/xtensa/t-xtensa (LIB2ADD): Set.
6900 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6901 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6902 Add t-freebsd-thread to tmake_file for posix threads.
6903 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6904 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6905 (*-*-lynxos*): Likewise.
6906 (*-*-netbsd*): Likewise.
6907 (*-*-openbsd*): Likewise.
6908 Add t-openbsd-thread to tmake_file for posix threads.
6909 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6910 (*-*-vxworks*): Set tmake_file.
6911 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6912 (alpha*-*-freebsd*): Likewise.
6913 (alpha*-*-netbsd*): Likewise.
6914 (alpha*-*-openbsd*): Likewise.
6915 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6916 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6917 (alpha*-dec-*vms*): Likewise.
6918 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6919 (bfin*-elf*): Add bfin/t-elf to tmake_file.
6920 (bfin*-uclinux*): Likewise.
6921 (bfin*-linux-uclibc*): Likewise.
6922 (crisv32-*-elf): Add cris/t-cris to tmake_file.
6923 (crisv32-*-none): Likewise.
6924 (cris-*-elf): Likewise.
6925 (cris-*-none): Likewise.
6926 (cris-*-linux*, crisv32-*-linux*): Likewise.
6927 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6928 tmake_file.
6929 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6930 tmake_file.
6931 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6932 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6933 (x86_64-*-elf*): Likewise.
6934 (i[34567]86-*-nto-qnx*): Likewise.
6935 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6936 win32 threads.
6937 (x86_64-*-mingw*): Likewise.
6938 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6939 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6940 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6941 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6942 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6943 tmake_file.
6944 (mipsisa64sr71k-*-elf*): Likewise.
6945 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6946 (mips-*-elf*, mipsel-*-elf*): Likewise.
6947 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6948 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6949 (mips*-*-rtems*): Likewise.
6950 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6951 to tmake_file.
6952 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6953 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6954 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6955 (spu-*-elf*): Likewise.
6956 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6957
45b86625
RO
69582011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6959
6960 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6961 $(srcdir) to refer to $(LIB1ASMSRC).
6962 Use $<.
6963 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6964 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6965 config/arm/lib1funcs.S: New files.
6966 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6967 * config/arm/t-arm: New file.
6968 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6969 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6970 config/arm/t-strongarm-elf: New files.
6971 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6972 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6973 * config/avr/lib1funcs.S: New file.
6974 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6975 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6976 * config/c6x/lib1funcs.S: New file.
6977 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6978 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6979 * config/frv/lib1funcs.S: New file.
6980 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6981 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6982 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6983 * config/ia64/__divxf3.asm: Rename to ...
6984 * config/ia64/__divxf3.S: ... this.
6985 Adapt lib1funcs.asm filename.
6986 * config/ia64/_fixtfdi.asm: Rename to ...
6987 * config/ia64/_fixtfdi.S: ... this.
6988 Adapt lib1funcs.asm filename.
6989 * config/ia64/_fixunstfdi.asm: Rename to ...
6990 * config/ia64/_fixunstfdi.S: ... this.
6991 Adapt lib1funcs.asm filename.
6992 * config/ia64/_floatditf.asm: Rename to ...
6993 * config/ia64/_floatditf.S: ... this.
6994 Adapt lib1funcs.asm filename.
6995 * config/ia64/lib1funcs.S: New file.
6996 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6997 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6998 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6999 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7000 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7001 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7002 * config/mep/lib1funcs.S: New file.
7003 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7004 * config/mips/mips16.S: New file.
7005 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7006 * config/pa/milli64.S: New file.
7007 * config/pa/t-linux, config/pa/t-linux64: New files.
7008 * config/picochip/lib1funcs.S: New file.
7009 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7010 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7011 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7012 * config/sh/t-netbsd: New file.
7013 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7014 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7015 * config/sh/t-sh64: New file.
7016 * config/sparc/lb1spc.S: New file.
7017 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7018 filename.
7019 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7020 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7021 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7022 config/xtensa/lib1funcs.S: New files.
7023 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7024 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7025 tmake_file.
7026 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7027 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7028 (arm*-*-linux*): Likewise.
7029 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7030 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7031 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7032 (arm*-*-ecos-elf): Likewise.
7033 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7034 (arm*-*-rtems*): Likewise.
7035 (arm*-*-elf): Likewise.
7036 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7037 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7038 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7039 (bfin*-uclinux*): Likewise.
7040 (bfin*-linux-uclibc*): Likewise.
7041 (bfin*-rtems*): Likewise.
7042 (bfin*-*): Likewise.
7043 (fido-*-elf): Merge into m68k-*-elf*.
7044 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7045 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7046 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7047 (h8300-*-elf*): Likewise.
7048 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7049 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7050 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7051 (i[34567]86-*-mingw*): Likewise.
7052 (x86_64-*-mingw*): Likewise.
7053 (i[34567]86-*-interix3*): Likewise.
7054 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7055 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7056 (m68k-*-elf*): Also handle fido-*-elf.
7057 Add m68k/t-floatlib to tmake_file.
7058 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7059 (m68k-*-linux*): Likewise.
7060 (m68k-*-rtems*): Likewise.
7061 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7062 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7063 sh64*-*-*.
7064 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7065 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7066 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7067 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7068 sh/t-netbsd to tmake_file.
7069 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7070 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7071 (sh-wrs-vxworks): Likewise.
7072 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7073 *-leon[3-9]*.
7074 (v850*-*-*): Add v850/t-v850 to tmake_file.
7075 (vax-*-linux*): Add vax/t-linux to tmake_file.
7076 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7077
5f73c6cc
RO
70782011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7079
7080 * crtstuff.c: New file.
7081 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7082 (CRTSTUFF_T_CFLAGS): Define.
7083 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7084 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7085 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7086 crtstuff.c.
7087 Use $<.
7088 (crtbeginT.o): Use $(objext).
7089 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7090 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7091 (gcc-extra-parts): Remove.
7092 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7093 Set extra_parts.
7094 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7095 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7096 Add t-crtstuff-pic to tmake_file.
7097 (*-*-lynxos*): New case.
7098 Set tmake_file, extra_parts.
7099 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7100 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7101 *-*-netbsdelf[2-9]*.
7102 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7103 (*-*-rtems*): Set extra_parts.
7104 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7105 (*-*-uclinux*): New case.
7106 Set extra_parts.
7107 (*-*-vms*): New case.
7108 Set tmake_file, extra_parts.
7109 (*-*-elf): Set extra_parts.
7110 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7111 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7112 vms/t-vms64.
7113 Set extra_parts.
7114 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7115 Set extra_parts.
7116 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7117 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7118 (arm-wrs-vxworks): Append to tmake_file.
7119 Set extra_parts.
7120 (arm*-*-uclinux*): Set extra_parts.
7121 (arm*-*-ecos-elf): Likewise.
7122 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7123 arm*-*-eabi*.
7124 (arm*-*-rtems*): Set extra_parts.
7125 (arm*-*-elf): Likewise.
7126 (avr-*-rtems*): Clear extra_parts.
7127 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7128 Set extra_parts.
7129 (bfin*-uclinux*): Likewise.
7130 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7131 (bfin*-rtems*): Append to tmake_file.
7132 Set extra_parts.
7133 (bfin*-*): Likewise.
7134 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7135 (crisv32-*-elf): ... this.
7136 (crisv32-*-none): ... this.
7137 (cris-*-elf, cris-*-none): New cases.
7138 Add cris/t-elfmulti to tmake_file.
7139 (fr30-*-elf): Append to tmake_file.
7140 Set extra_parts.
7141 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7142 Set extra_parts.
7143 (h8300-*-rtems*): Append to tmake_file.
7144 Set extra_parts.
7145 (h8300-*-elf*): Likewise.
7146 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7147 Set extra_parts.
7148 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7149 Set extra_parts.
7150 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7151 (x86_64-*-elf*): Likewise.
7152 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7153 (x86_64-*-freebsd*): Likewise.
7154 (x86_64-*-netbsd*): Likewise.
7155 (i[34567]86-*-linux*): Likewise.
7156 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7157 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7158 (x86_64-*-linux*): Likewise.
7159 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7160 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7161 tmake_file.
7162 Set extra_parts.
7163 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7164 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7165 Append to extra_parts, remove crtbegin.o, crtend.o.
7166 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7167 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7168 crtend.o, crtbeginS.o, crtendS.o.
7169 (ia64*-*-linux*): Comment extra_parts.
7170 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7171 Set extra_parts.
7172 (iq2000*-*-elf*): Clear extra_parts.
7173 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7174 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7175 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7176 (m32r-*-rtems*): ... this.
7177 Add m32r/t-m32r to tmake_file.
7178 (m68k-*-elf*): Add t-crtin to tmake_file.
7179 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7180 (mcore-*-elf): Likewise.
7181 (microblaze*-*-*): Set extra_parts.
7182 (mips*-sde-elf*): New case.
7183 Set tmake_file, extra_parts.
7184 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7185 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7186 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7187 tmake_file.
7188 Set extra_parts.
7189 (mipsisa64sr71k-*-elf*): Likewise.
7190 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7191 (mips-*-elf*, mipsel-*-elf*): Likewise.
7192 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7193 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7194 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7195 (mips*-*-rtems*): Likewise.
7196 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7197 (moxie-*-*): Split into ...
7198 (moxie-*-elf, moxie-*-uclinux*): ... this.
7199 Add to extra_parts, remove crtbegin.o, crtend.o.
7200 (moxie-*-rtems*): New case.
7201 Set tmake_file.
7202 Clear extra_parts.
7203 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7204 Set extra_parts.
7205 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7206 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7207 tmake_file.
7208 Set extra_parts.
7209 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7210 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7211 Set extra_parts.
7212 (powerpc-*-eabisim*): Likewise.
7213 (powerpc-*-elf*): Likewise.
7214 (powerpc-*-eabialtivec*): Likewise.
7215 (powerpc-xilinx-eabi*): Likewise.
7216 (powerpc-*-eabi*): Likewise.
7217 (powerpc-*-rtems*): Likewise.
7218 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7219 tmake_file.
7220 Set extra_parts.
7221 (powerpc-*-lynxos*): Add to tmake_file.
7222 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7223 rs6000/t-crtstuff, t-crtstuff-pic.
7224 Set extra_parts.
7225 (powerpcle-*-eabisim*): Likewise.
7226 (powerpcle-*-eabi*): Likewise.
7227 (rx-*-elf): Remove extra_parts.
7228 (s390x-ibm-tpf*): Set extra_parts.
7229 (score-*-elf): Set extra_parts.
7230 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7231 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7232 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7233 (sh64l*-*-netbsd*): Split into ...
7234 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7235 Add t-crtstuff-pic to tmake_file.
7236 Set extra_parts.
7237 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7238 Set extra_parts.
7239 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7240 (sparc-*-elf*): Remove t-crtin from tmake_file.
7241 Add to extra_parts, remove crtbegin.o, crtend.o.
7242 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7243 (sparc64-*-linux*): Likewise.
7244 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7245 Add to extra_parts, remove crtbegin.o, crtend.o.
7246 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7247 Add to extra_parts, remove crtbegin.o, crtend.o.
7248 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7249 Add to extra_parts, remove crtbegin.o, crtend.o.
7250 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7251 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7252 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7253 Set extra_parts.
7254 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7255 Set extra_parts.
7256 (tic6x-*-*): Change to ...
7257 (tic6x-*-elf): ... this.
7258 Set extra_parts.
7259 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7260 Set extra_parts.
7261 (am33_2.0-*-linux*): Add comment.
7262 (mep*-*-*): Add mep/t-mep to tmake_file.
7263 Set extra_parts.
7264 * config/alpha/t-vms: New file.
7265 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7266 * config/arm/crti.S, config/arm/crtn.S: New files.
7267 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7268 * config/bfin/crtlibid.S: New file.
7269 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7270 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7271 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7272 (crti.o, crtin.o): New rules.
7273 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7274 * config/c6x/t-uclinux: New file.
7275 * config/cris/t-elfmulti: New file.
7276 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7277 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7278 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7279 * config/frv/t-frv: New file.
7280 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7281 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7282 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7283 New files.
7284 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7285 refer to cygming-crtbegin.c, cygming-crtend.c.
7286 Use $<.
7287 * config/i386/t-nto: New file.
7288 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7289 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7290 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7291 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7292 Use .S extension.
7293 Use $<.
7294 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7295 (crtinitS.o): New rule.
7296 * config/ia64/vms-crtinit.S: New file.
7297 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7298 * config/m32r/initfini.c: New file.
7299 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7300 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7301 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7302 * config/mep/t-mep: New file.
7303 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7304 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7305 * config/mips/crti.S, config/mips/crtn.S: New files.
7306 * config/mips/t-crtstuff: New file.
7307 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7308 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7309 (CUSTOM_CRTIN): Set.
7310 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7311 dependencies.
7312 Use $(srcdir) to refer to crti.S, crtn.S.
7313 Use .S extension, $<.
7314 * config/moxie/crti.asm: Rename to ...
7315 * config/moxie/crti.S: ... this.
7316 * config/moxie/crtn.asm: Rename to ...
7317 * config/moxie/crtn.S: ... this.
7318 * config/moxie/t-moxie: Remove.
7319 * config/pa/stublib.c: New file.
7320 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7321 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7322 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7323 * config/rs6000/t-crtstuff: New file.
7324 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7325 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7326 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7327 Make output file explicit.
7328 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7329 Make output file explicit.
7330 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7331 Make output file explicit.
7332 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7333 Make output file explicit.
7334 * config/score/crti.S, config/score/crtn.S: New files.
7335 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7336 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7337 files.
7338 * config/sh/t-sh, config/sh/t-superh: New files.
7339 * config/sparc/t-linux64: New file.
7340 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7341 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7342 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7343 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7344 * config/t-crtin: Remove.
7345 * config/t-crtstuff-pic: New file.
7346 * config/t-sol2 (CUSTOM_CRTIN): Set.
7347 (crti.o, crtn.o): New rules.
7348 * config/vms/t-vms: New file.
7349 * config/vms/vms-ucrt0.c: New file.
7350 * config/xtensa/t-elf: New file.
7351
b040f2be
RO
73522011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7353
7354 * Makefile.in (SHLIB_NM_FLAGS): Set.
7355 * mkmap-flat.awk, mkmap-symver.awk: New files.
7356 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7357 exceptions.
7358 * configure: Regenerate.
7359 * config/libgcc-glibc.ver: New file.
7360 * config/libgcc-libsystem.ver: New file.
7361 * config/t-libunwind (SHLIB_LC): Set.
7362 * config/t-linux: New file.
7363 * config/t-slibgcc (INSTALL_SHLIB): New.
7364 (SHLIB_INSTALL): Use it.
7365 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7366 to mkmap-symver.awk.
7367 (SHLIB_MAPFILES): Don't append, adapt pathname.
7368 (SHLIB_VERPFX): Set.
7369 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7370 to mkmap-symver.awk.
7371 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7372 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7373 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7374 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7375 to mkmap-flat.awk.
7376 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7377 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7378 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7379 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7380 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7381 * config/i386/libgcc-darwin.10.4.ver,
7382 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7383 New files.
7384 * config/i386/t-darwin: Remove.
7385 * config/i386/t-darwin64: Likewise.
7386 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7387 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7388 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7389 * config/i386/t-linux: New file.
7390 * config/i386/t-mingw32: New file.
7391 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7392 * config/ia64/t-glibc: Rename to ...
7393 * config/ia64/t-linux: ... this.
7394 (SHLIB_MAPFILES): Set.
7395 * config/ia64/t-glibc-libunwind: Rename to ...
7396 * config/ia64/t-linux-libunwind: ... this.
7397 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7398 * config/ia64/t-slibgcc-hpux: New file.
7399 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7400 * config/m68k/t-slibgcc-elf-ver: New file.
7401 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7402 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7403 to mkmap-flat.awk.
7404 * config/pa/t-slibgcc-hpux: New file.
7405 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7406 files.
7407 * config/rs6000/libgcc-darwin.10.4.ver,
7408 config/rs6000/libgcc-darwin.10.5.ver: New files.
7409 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7410 config/rs6000/libgcc-glibc.ver.
7411 * config/rs6000/libgcc-ppc64.ver: Rename to
7412 config/rs6000/libgcc-ibm-ldouble.ver.
7413 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7414 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7415 * config/rs6000/t-ldbl128: Rename to ...
7416 * config/rs6000/t-linux: ... this.
7417 (SHLIB_MAPFILES): Adapt filename.
7418 * config/rs6000/t-slibgcc-aix: New file.
7419 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7420 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7421 libgcc-excl.ver, libgcc-glibc.ver.
7422 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7423 * config/sparc/libgcc-glibc.ver: New file.
7424 * config/sparc/t-linux: New file.
7425 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7426 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7427 t-slibgcc-elf-ver to tmake_file.
7428 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7429 *-*-freebsd[34].
7430 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7431 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7432 t-slibgcc-elf-ver, t-linux to tmake_file.
7433 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7434 tmake_file.
7435 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7436 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7437 (alpha*-dec-*vms*): Likewise.
7438 (arm*-*-freebsd*): Append to tmake_file.
7439 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7440 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7441 arm*-*-linux-*eabi.
7442 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7443 tmake_file for arm*-*-symbianelf*.
7444 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7445 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7446 cris/t-linux.
7447 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7448 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7449 pa/t-slibgcc-dwarf-ver to tmake_file.
7450 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7451 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7452 (hppa*64*-*-hpux11*): Likewise.
7453 (hppa[12]*-*-hpux11*): Likewise.
7454 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7455 i386/t-crtpc, i386/t-crtfm.
7456 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7457 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7458 to tmake_file.
7459 Add i386/t-cygwin to tmake_file.
7460 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7461 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7462 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7463 to tmake_file.
7464 Add i386/t-mingw32 to tmake_file.
7465 (x86_64-*-mingw*): Likewise.
7466 (ia64*-*-freebsd*): Append to tmake_file.
7467 (ia64*-*-linux*): Append to tmake_file.
7468 Replace ia64/t-glibc by ia64/t-linux.
7469 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7470 system libunwind.
7471 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7472 t-slibgcc-hpux to tmake_file.
7473 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7474 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7475 (m32rle-*-linux*): Likewise.
7476 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7477 sjlj exceptions.
7478 (microblaze*-linux*): New case.
7479 Append to tmake_file, add t-slibgcc-nolc-override.
7480 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7481 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7482 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7483 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7484 rs6000/t-slibgcc-aix to tmake_file.
7485 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7486 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7487 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7488 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7489 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7490 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7491 sh*-*-linux*.
7492 (sparc-*-linux*): Append to tmake_file for *-leon*.
7493 Add sparc/t-linux to tmake_file for non-Leon targets.
7494 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7495 (tic6x-*-uclinux): New case.
7496 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7497 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7498 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7499 (am33_2.0-*-linux*): Append to tmake_file.
7500 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7501 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7502 x86_64-*-kfreebsd*-gnu.
7503 Add i386/t-linux to tmake_file.
7504
18b4bd7b
ILT
75052011-10-28 Ian Lance Taylor <iant@google.com>
7506
7507 * config/i386/morestack.S: Correct CFI information to do proper
7508 returns throughout function. In 32-bit mode, save %ebx so that it
7509 is restored on unwind.
7510
5b2d9d90
BS
75112011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7512
7513 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7514 case where B3 isn't the return register.
7515
0d53e346
BS
7516 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7517 logic for doubleword pops.
7518
cbffbd59
AT
75192011-10-25 Andreas Tobler <andreast@fgznet.ch>
7520
7521 * config/rs6000/t-freebsd: Add wildcard.
7522
56dc349e
PB
75232011-10-21 Paul Brook <paul@codesourcery.com>
7524
7525 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7526
1e06b07d
UB
75272011-10-16 Uros Bizjak <ubizjak@gmail.com>
7528 Eric Botcazou <ebotcazou@adacore.com>
7529
7530 PR target/50737
7531 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7532 fs->signal_frame to 1.
7533
b5204884
ILT
75342011-10-07 Ian Lance Taylor <iant@google.com>
7535
7536 * generic-morestack-thread.c: #include <errno.h>.
7537
91a639a1
ILT
75382011-10-07 Ian Lance Taylor <iant@google.com>
7539
7540 PR target/46093
7541 * generic-morestack.c (__generic_morestack): Make sure the segment
7542 is large enough for both the stack frame and the copied
7543 parameters.
7544
cc49116d
RO
75452011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7546
7547 PR bootstrap/49804
7548 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7549 extra_parts.
7550
2996d8c3
NC
75512011-09-28 Nick Clifton <nickc@redhat.com>
7552
7553 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7554 64-bit doubles are not enabled.
7555 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7556 and floatunsisf functions.
7557
1e874273 75582011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 7559
1e874273
PB
7560 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7561 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7562 * unwind-arm-common.inc: New file.
7563 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7564 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7565 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7566 * config/c6x/libunwind.S: New file.
7567 * config/c6x/pr-support.c: New file.
7568 * config/c6x/unwind-c6x.c: New file.
7569 * config/c6x/unwind-c6x.h: New file.
7570 * config/c6x/t-c6x-elf: New file.
7571
f70c879a
UB
75722011-08-23 Uros Bizjak <ubizjak@gmail.com>
7573
7574 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7575 (ASM_DIVZERO): Ditto.
7576 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7577
c55b374b
RS
75782011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7579
7580 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7581
1e138510
RS
75822011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7583
7584 PR target/50090
7585 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7586 instead of an assembly one.
7587
1563503d
PB
75882011-08-12 Paolo Bonzini <bonzini@gnu.org>
7589
7590 PR bootstrap/50047
7591 * Makefile.in (install-unwind_h): Create
7592 $(gcc_objdir)/include/unwind.h atomically.
7593
3627ac1a
RO
75942011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7595
7596 * Makefile.in (install-unwind_h): Remove destination file first.
7597
c6412d86
RO
75982011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7599
7600 * sync.c: New file.
7601 * config/mips/t-mips16: New file.
7602 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7603 (mips*-*-linux*): Likewise.
7604 (mips*-sde-elf*): Likewise.
7605 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7606 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7607 Add mips/t-mips16 to tmake_file.
7608 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7609 (mips-*-elf*): Likewise.
7610 (mips64-*-elf*): Likewise.
7611 (mips64orion-*-elf*): Likewise.
7612 (mips*-*-rtems*): Likewise.
7613 (mipstx39-*-elf*): Likewise.
7614 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7615 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7616 LIBGCC_SYNC_CFLAGS.
7617 Use $(srcdir) to refer to sync.c.
7618 Use $<.
7619 ($(libgcc-sync-funcs-o)): Likewise.
7620 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7621 ($(libgcc-sync-funcs-s-o)): Likewise.
7622
3cb6e5bd
AS
76232011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7624
7625 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7626 t-libunwind.
7627
cca2207a
L
76282011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7629
7630 PR other/48007
7631 * config/i386/value-unwind.h: New.
7632
ed39fbad
RS
76332011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7634
7635 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7636 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7637 Add to tmake_file rather than overriding it.
7638
aca0b0b3
RO
76392011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7640
7641 * config/t-softfp: Remove.
7642 * soft-fp: Moved from ../gcc/config.
7643 * soft-fp/README: Remove t-softfp reference.
7644 * soft-fp/t-softfp: Move to config/t-softfp.
7645 (softfp_machine_header): Remove.
7646 (softfp_file_list): Remove config subdir.
7647 (soft-fp-objects): New variable.
7648 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7649 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7650 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7651 * config/t-softfp-excl: New file.
7652 * config/t-softfp-sfdf: New file.
7653 * config/t-softfp-tf: New file.
7654 * config/no-sfp-machine.h: New file.
7655 * config/arm/sfp-machine.h: New file.
7656 * config/arm/t-softfp: New file.
7657 * config/c6x/sfp-machine.h: New file.
7658 * config/i386/32/t-fprules-softfp: Rename to ...
7659 * config/i386/32/t-softfp: ... this.
7660 (tifunctions, LIB2ADD): Remove.
7661 (softfp_int_modes): Override.
7662 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7663 subdir.
7664 * config/i386/64/eqtf2.c: Likewise.
7665 * config/i386/64/getf2.c: Likewise.
7666 * config/i386/64/letf2.c: Likewise.
7667 * config/ia64/sft-machine.h: New file.
7668 * config/ia64/t-fprules-softfp: Rename to ...
7669 * config/ia64/t-softfp: ... this.
7670 * config/lm32/sfp-machine.h: New file.
7671 * config/moxie/t-moxie-softfp: Remove.
7672 * config/rs6000/ibm-ldouble-format: New file.
7673 * config/rs6000/ibm-ldouble.c: New file.
7674 * config/rs6000/libgcc-ppc-glibc.ver: New file
7675 * config/rs6000/libgcc-ppc64.ver: New file
7676 * config/rs6000/sfp-machine.h: New file.
7677 * config/rs6000/t-freebsd: New file.
7678 * config/rs6000/t-ibm-ldouble: New file.
7679 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7680 libgcc-ppc-glibc.ver.
7681 * config/rs6000/t-linux64: New file.
7682 * config/rs6000/t-ppccomm (LIB2ADD): Add
7683 $(srcdir)/config/rs6000/ibm-ldouble.c.
7684 * config/rs6000/t-ppccomm-ldbl: New file.
7685 * config/score/sfp-machine.h: New file.
7686 * config.host (sfp_machine_header): Explain.
7687 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7688 t-softfp to tmake_file.
7689 (arm*-*-uclinux*): Likewise.
7690 (arm*-*-ecos-elf): Likewise.
7691 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7692 (arm*-*-rtems*): Likewise.
7693 (arm*-*-elf): Likewise.
7694 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7695 in tmake_file.
7696 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7697 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7698 (lm32-*-uclinux*): Likewise.
7699 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7700 t-softfp-excl, t-softfp.
7701 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7702 (powerpc64-*-darwin*): Likewise.
7703 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7704 to tmake_file.
7705 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7706 tmake_file.
7707 (powerpc-*-eabisim*): Likewise.
7708 (powerpc-*-elf*): Likewise.
7709 (powerpc-*-eabialtivec*): Likewise.
7710 (powerpc-xilinx-eabi*): Likewise.
7711 (powerpc-*-rtems*): Likewise.
7712 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7713 t-softfp-excl, t-softfp to tmake_file.
7714 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7715 rs6000/t-ppccomm-ldbl to tmake_file.
7716 (powerpcle-*-elf*): Likewise.
7717 (powerpcle-*-eabisim*): Likewise.
7718 (powerpcle-*-eabi*): Likewise.
7719 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7720 rs6000/t-ibm-ldouble to tmake_file.
7721 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7722 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7723 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7724 (tic6x-*-*): Likewise.
7725 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7726 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7727 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7728 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7729 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7730 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7731 t-softfp to tmake_file.
7732 * configure.ac (sfp_machine_header): Provide default if unset.
7733 Substitute.
7734 Link sfp-machine.h to config/$sfp_machine_header.
7735 * configure: Regenerate.
7736
569dc494
RO
77372011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7738
7739 * Makefile.in (double_type_size, long_double_type_size): Set.
7740 Remove $(fpbit-in-libgcc) support.
7741 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7742 (fpbit-src): New variable.
7743 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7744 Compile with -DFLOAT $(FPBIT_CFLAGS).
7745 Use $<.
7746 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7747 Compile with $(FPBIT_CFLAGS).
7748 Use $<.
7749 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7750 Compile with -DFLOAT $(TPBIT_CFLAGS).
7751 Use $<.
7752 * configure.ac (double_type_size, long_double_type_size):
7753 Determine and substitute.
7754 * configure: Regenerate.
7755 * fp-bit.c, fp-bit.h: New files.
7756 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7757 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7758 * config/mips/t-mips: New file.
7759 * config/mips/t-sdemtk: New file.
7760 * config/rs6000/ppc64-fp.c: New file.
7761 * config/rs6000/t-darwin (LIB2ADD): Add
7762 $(srcdir)/config/rs6000/ppc64-fp.c.
7763 * config/rs6000/t-ppc64-fp: New file.
7764 * config/rx/rx-lib.h: New file.
7765 * config/rx/t-rx (FPBIT): Set to true.
7766 ($(gcc_objdir)/fp-bit.c): Remove.
7767 (DPBIT): Set to true only with -m64bit-doubles.
7768 ($(gcc_objdir)/dp-bit.c): Remove.
7769 * config/sparc/t-softfp: Remove.
7770 * config/spu/t-elf: New file.
7771 * config/t-fdpbit, config/t-fpbit: New files.
7772 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7773 (mips*-*-*): Likewise.
7774 (arm-wrs-vxworks): Likewise.
7775 (arm*-*-freebsd*): Likewise.
7776 (avr-*-rtems*): Add t-fpbit to tmake_file.
7777 (avr-*-*): Likewise.
7778 (bfin*-elf*): Add t-fdpbit to tmake_file.
7779 (bfin*-uclinux*): Likewise.
7780 (bfin*-linux-uclibc*): Likewise.
7781 (bfin*-rtems*): New case.
7782 Add t-fdpbit to tmake_file.
7783 (bfin*-*): Add t-fdpbit to tmake_file.
7784 (crisv32-*-elf): Likewise.
7785 (cris-*-linux*): Likewise.
7786 (fr30-*-elf): Likewise.
7787 (frv-*-elf, frv-*-*linux*): Likewise.
7788 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7789 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7790 (m32r-*-elf*): Likewise.
7791 (m32rle-*-elf*): Likewise.
7792 (m32r-*-linux*): Likewise.
7793 (m32rle-*-linux*): Likewise.
7794 (mcore-*-elf): Add t-fdpbit to tmake_file.
7795 (microblaze*-*-*): Likewise.
7796 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7797 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7798 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7799 Fix typo.
7800 Add mips/t-tpbit to tmake-file.
7801 (mips*-*-linux*): Fix typo.
7802 (mips*-sde-elf*): New case
7803 Add mips/t-sdemtk unless using newlib.
7804 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7805 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7806 (mn10300-*-*): Likewise.
7807 (pdp11-*-*): Likewise.
7808 (picochip-*-*): Add t-fpbit to tmake_file.
7809 (powerpc-*-eabisimaltivec*): Likewise.
7810 (powerpc-*-eabisim*): Likewise.
7811 (powerpc-*-elf*): Likewise.
7812 (powerpc-*-eabialtivec*): Likewise.
7813 (powerpc-xilinx-eabi*): New case.
7814 Add t-fdpbit to tmake_file.
7815 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7816 (powerpc-*-rtems*): Likewise.
7817 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7818 tmake_file.
7819 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7820 tmake_file.
7821 (powerpc-*-lynxos*): Likewise.
7822 (powerpcle-*-elf*): Likewise.
7823 (powerpcle-*-eabisim*): Likewise.
7824 (powerpcle-*-eabi*): Likewise.
7825 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7826 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7827 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7828 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7829 (rx-*-elf): Add t-fdpbit to tmake_file.
7830 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7831 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7832 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7833 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7834 sh*-*-netbsd*.
7835 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7836 (sh-wrs-vxworks): Likewise.
7837 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7838 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7839 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7840 (sparc64-*-rtems*): ... new case.
7841 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7842 (spu-*-elf*): Likewise.
7843 Add spu/t-elf to tmake_file.
7844 (v850*-*-*): Add t-fdpbit to tmake_file.
7845 (xstormy16-*-elf): Likewise.
7846 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7847 (mep*-*-*): Likewise.
7848
201cdb74
RO
78492011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7850
7851 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7852 variables.
7853 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7854 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7855 (install-unwind_h): New target.
7856 (all): Depend on it.
7857 * config.host (unwind_header): New variable.
7858 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7859 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7860 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7861 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7862 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7863 Set unwind_header.
7864 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7865 Set unwind_header.
7866 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7867 arm*-*-eabi*.
7868 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7869 Set unwind_header.
7870 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7871 (ia64*-*-freebsd*): Likewise.
7872 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7873 tmake_file.
7874 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7875 $with_system_libunwind.
7876 (ia64*-*-hpux*): Set tmake_file.
7877 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7878 (picochip-*-*): Set tmake_file.
7879 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7880 md_unwind_header.
7881 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7882 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7883 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7884 (xtensa*-*-elf*): Set tmake_file.
7885 (xtensa*-*-linux*): Likewise.
7886 * configure.ac: Include ../config/unwind_ipinfo.m4.
7887 Call GCC_CHECK_UNWIND_GETIPINFO.
7888 Link unwind.h to $unwind_header.
7889 * configure: Regenerate.
7890 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7891 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7892 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7893 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7894 * config/unwind-dw2-fde-darwin.c: New file.
7895 * config/arm/libunwind.S, config/arm/pr-support.c,
7896 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7897 config/arm/unwind-arm.h,: New files.
7898 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7899 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7900 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7901 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7902 config/ia64/unwind-ia64.h: New files.
7903 * config/picochip/t-picochip: New file.
7904 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7905 files.
7906 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7907 * config/s390/t-tpf (LIB2ADDEH): Remove.
7908 * config/t-darwin (LIB2ADDEH): Set.
7909 * config/t-eh-dw2-dip: New file.
7910 * config/t-libunwind, config/t-libunwind-elf: New files.
7911 * config/t-sol2 (LIB2ADDEH): Remove.
7912 * config/xtensa/t-xtensa: New file.
7913
40f2f11f
L
79142011-08-02 H.J. Lu <hongjiu.lu@intel.com>
7915
7916 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7917 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7918 long long to check rt_sigreturn syscall.
7919
bd15e32c
AM
79202011-08-02 Alan Modra <amodra@gmail.com>
7921
7922 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7923 Restore for indirect call bcrtl from correct stack slot, and only
7924 if cfa+40 isn't valid.
7925
655b30bf
JB
79262011-08-01 Julian Brown <julian@codesourcery.com>
7927
7928 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7929 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7930 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7931
247eb06f
JB
79322011-08-01 Julian Brown <julian@codesourcery.com>
7933
7934 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7935 (libgcc-std.ver.in): Use above.
7936 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7937 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
7938 throughout file.
7939 * config/t-fixedpoint-gnu-prefix: New file.
7940 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7941 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7942 instead of __PFX__.
7943
02a8fe00
L
79442011-07-28 H.J. Lu <hongjiu.lu@intel.com>
7945
7946 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7947 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7948 for x86-64. Properly check __x86_64__ and __LP64__.
7949
5fce9126
L
79502010-07-28 H.J. Lu <hongjiu.lu@intel.com>
7951
7952 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7953 version.
7954 (_FP_WS_TYPE): Likewise.
7955 (_FP_I_TYPE): Likewise.
7956
2374a88a
AM
79572011-07-28 Alan Modra <amodra@gmail.com>
7958
7959 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7960 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7961 in a plt call stub. Do restore r2 if stopped on bctrl.
7962
e44dbbe1
RO
79632011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7964
7965 * config.host (i[3456x]86-*-netware*): Remove.
7966 * config/i386/netware-crt0.c, config/i386/t-nwld,
7967 config/i386/t-slibgcc-nwld: Remove.
7968
bcead286
BS
79692011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7970
7971 * config.host: Handle tic6x-*-*.
7972 * config/c6x/c6x-abi.h: New file.
7973
b3fe1584
RO
79742011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7975
7976 * config/i386/crtprec.c: New file.
7977 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7978 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7979 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7980 (x86_64-*-darwin*): Likewise.
7981 (i[34567]86-*-solaris2*: Likewise.
7982
35d8090d
RO
79832011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7984
7985 * config/alpha/crtfastmath.c: New file.
7986 * config/i386/crtfastmath.c: New file.
7987 * config/ia64/crtfastmath.c: New file.
7988 * config/mips/crtfastmath.c: New file.
7989 * config/sparc/crtfastmath.c: New file.
7990
7991 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7992 crtfastmath.c.
7993 Add -frandom-seed=gcc-crtfastmath.
7994 * config/alpha/t-crtfm: Remove.
7995 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7996 * config/ia64/t-ia64 (crtfastmath.o): Remove.
7997
7998 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7999 (alpha*-dec-osf5.1*): Likewise.
8000 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8001 Add crtfastmath.o to extra_parts.
8002 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8003 Add crtfastmath.o to extra_parts.
8004 (x86_64-*-darwin*): Likewise.
8005 (x86_64-*-mingw*): Likewise.
8006 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8007 (ia64*-*-freebsd*): Likewise.
8008 (ia64*-*-linux*): Likewise.
8009 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8010 Add crtfastmath.o to extra_parts.
8011
e141542e
RO
80122011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8013
8014 * config/darwin-crt3.o: New file.
8015 * config/rs6000/darwin-crt2.c: New file.
8016 * config/t-darwin: New file.
8017 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8018 (crt2.o): New rule.
8019 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8020 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8021 (powerpc64-*-darwin*): Likewise.
8022
2d1efe2d
RO
80232011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8024
8025 * config/i386/netware-crt0.c: New file.
8026 * config/i386/t-nwld: Rename to ...
8027 * config/i386/t-slibgcc-nwld: ... this.
8028 * config/i386/t-nwld: New file.
8029 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8030 tmake_file.
8031 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8032 extra_parts.
8033
4a8bb046
RO
80342011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8035
8036 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8037 i386/t-crtstuff.
8038 * configure: Regenerate.
8039
2d8d5935
RO
80402011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8041
8042 * dfp-bit.c, dfp-bit.h: New files.
8043 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8044 variables.
8045 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8046 ($(d64pbit-o)): Likewise.
8047 ($(d128pbit-o)): Likewise.
8048 * config/t-dfprules: New file.
8049 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8050 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8051 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8052 (x86_64-*-linux*): Likewise.
8053 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8054 (i[34567]86-*-cygwin*): Likewise.
8055 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8056 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8057
2c50b2c3
RO
80582011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8059
8060 * Makfile.in (LIBGCOV): New variable.
8061 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8062 * libgcov.c: New file.
8063
a039d7c2
RO
80642011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8065
8066 * fixed-bit.c, fixed-bit.h: New files.
8067 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8068 refer to fixed-bit.c.
8069
1e4b2746
JM
80702011-07-07 Joseph Myers <joseph@codesourcery.com>
8071
8072 * config.host (*local*): Remove.
8073
fbdd5d87
RO
80742011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8075
8076 PR target/39150
8077 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8078 like i?86-*-solaris2.1[0-9]*.
8079 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8080 * configure.ac (i?86-*-solaris2*): Likewise.
8081 * configure: Regenerate.
8082
9e7714f4
TS
80832011-07-06 Thomas Schwinge <thomas@schwinge.name>
8084
8085 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8086 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8087 md_unwind_header by splitting out of...
8088 (i[34567]86-*-linux*): ... this.
8089 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8090 Remove md_unwind_header by splitting out of...
8091 (x86_64-*-linux*): ... this.
8092
6dab9931
GJL
80932011-07-04 Georg-Johann Lay <avr@gjlay.de>
8094
8095 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8096
4be46d19
NC
80972011-06-28 Nick Clifton <nickc@redhat.com>
8098
8099 * config.host: Recognize all V850 variants.
8100
1da9434b
UB
81012011-06-22 Uros Bizjak <ubizjak@gmail.com>
8102
8103 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8104
e4d48a4d
RO
81052011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8106
8107 * shared-object.mk (c_flags-$o): Save c_flags.
8108 ($(base)$(objext)): Use it.
8109 ($(base)_s$(objext)): Likewise.
8110
3801c801
BS
81112011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8112
8113 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8114 * libgcc-std.ver.in (GCC_4.7.0): New section.
8115
0ad8bb3b 81162011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8117
0ad8bb3b
GJL
8118 PR target/49313
8119 PR target/29524
8120 * config/avr/t-avr: Fix line endings.
8121 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8122 _parityXX2.
8123
ea963999
OH
81242011-06-14 Olivier Hainque <hainque@adacore.com>
8125 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8126
8127 * config/mips/irix6-unwind.h: New file.
8128 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8129
b11b0904
EB
81302011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8131
8132 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8133 (sparc64_fallback_frame_state): Use it.
8134 (sparc64_frob_update_context): Further adjust context.
8135 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8136 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8137 * config/sparc/sol2-cn.S: Likewise.
8138
10e48e39
RO
81392011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8140
8141 * enable-execute-stack-empty.c: New file.
8142 * enable-execute-stack-mprotect.c: New file.
8143 * config/i386/enable-execute-stack-mingw32.c: New file.
8144 * config.host (enable_execute_stack): New variable.
8145 Select appropriate variants.
8146 * configure.ac: Link enable-execute-stack.c to
8147 $enable_execute_stack.
8148 * configure: Regenerate.
8149 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8150 (lib2funcs): Remove _enable_execute_stack.
8151
10c4cabc
DM
81522011-06-09 David S. Miller <davem@davemloft.net>
8153 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8154
8155 * config.host (sparc-*-linux*): Correct md_unwind_header
8156 filename.
8157 (s390x-ibm-tpf*): Fix typo.
8158
aa4203e7
RO
81592011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8160
8161 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8162 Add crtfastmath.o to extra_parts.
8163 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8164 mips/t-crtfm.
8165 * config/mips/t-crtfm: Remove.
8166
0defd786
JDA
81672011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8168
8169 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8170
82f247af
KK
81712011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8172
8173 * config.host (sh*-*-linux*): Fix typo.
8174
58cd1d70
RO
81752011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8176
8177 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8178 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8179 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8180 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8181 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8182 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8183 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8184 Wrap in !__MINGW64__.
8185 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8186 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8187 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8188 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8189 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8190 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8191 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8192 Wrap in !__LP64__.
8193 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8194 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8195 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8196 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8197 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8198 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8199 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8200 * config/no-unwind.h: New file.
8201 * config.host (md_unwind_header): Document.
8202 Define.
8203 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8204 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8205 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8206 hppa[12]*-*-hpux11*): Set md_unwind_header.
8207 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8208 Set md_unwind_header.
8209 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8210 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8211 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8212 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8213 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8214 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8215 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8216 md_unwind_header.
8217 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8218 * configure: Regenerate.
8219
737346fa
RO
82202011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8221
8222 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8223 Set tmake_file, extra_parts.
8224 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8225 Remove O32 support.
8226 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8227 Remove O32 support.
8228 * config/mips/t-irix6: New file.
8229 * config/mips/t-slibgcc-irix: New file.
8230
c192cee6
RO
82312011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8232
8233 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8234 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8235
ee33b5f0
RO
82362011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8237
8238 * configure.ac (target_thread_file): Determine thread model.
8239 * configure: Regenerate.
8240 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8241 * config/alpha/t-alpha: New file.
8242 * config/alpha/t-crtfm: Use $<.
8243 * config/alpha/t-ieee: New file.
8244 * config/alpha/t-osf-pthread: New file.
8245 * config/alpha/t-slibgcc-osf: New file.
8246 * config/alpha/libgcc-osf5.ver: New file.
8247
0699e415
RO
82482011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8249
8250 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8251 tmake_file.
8252 Add crtfastmath.o to extra_parts.
8253
a3fab9c2
RO
82542011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8255
8256 * config/gmon-sol2.c: Reindent.
8257 Cleanup comments.
8258 Remove, correct casts.
8259 Use STDERR_FILENO, NULL.
8260 (BASEADDRESS): Remove.
8261 (minbrk): Remove.
8262 (errno, sbrk): Remove declarations.
8263 (monstartup) [hp300]: Remove.
8264 (mcount): Remove.
8265
ca24c5ad
RO
82662011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8267
8268 * Makefile.in (cpu_type): Define.
8269 * config.host (i[34567]86-*-rtems*): Handle it.
8270 (i[34567]86-*-solaris2*): Move body ...
8271 (*-*-solaris2*): ... here.
8272 New case, generalize.
8273 (sparc-*-elf*): Handle it.
8274 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8275 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8276 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8277 Fold into ...
8278 (sparc*-*-solaris2*): ... this.
8279 New case.
8280 (sparc64-*-elf*): Handle it.
8281 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8282 Merge ../gcc/config/i386/gmon-sol2.c.
8283 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8284 Use C comments.
8285 Merge ../gcc/config/i386/sol2-gc1.asm.
8286 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8287 Use C comments.
8288 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8289 Use C comments.
8290 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8291 * config/i386/t-crtstuff: New file.
8292 * config/i386/t-softfp: New file.
8293 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8294 $(T)crti.o, $(T)crtn.o): Remove.
8295 (gcrt1.o): New rule.
8296 (TARGET_LIBGCC2_CFLAGS): Remove.
8297 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8298 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8299 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8300 * config/sparc/t-sol2: New file.
8301 * config/sparc/t-crtfm: Move to ...
8302 * config/t-crtfm: ... this.
8303 Use $(cpu_type), $<.
8304 * config/t-crtin: New file.
8305 * config/sparc/t-softfp: New file.
8306 * config/sparc/t-softmul: New file.
8307 * config/t-rtems: New file.
8308 * config/t-slibgcc: New file.
8309 * config/t-slibgcc-elf-ver: New file.
8310 * config/t-slibgcc-gld: New file.
8311 * config/t-slibgcc-sld: New file.
8312 * config/t-sol2: New file.
8313 * configure.ac: Include ../config/lib-ld.m4.
8314 Call AC_LIB_PROG_LD_GNU.
8315 Substitute cpu_type.
8316 * configure: Regenerate.
8317
ad5f3d7b
BS
83182011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8319
8320 PR bootstrap/49173
8321 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8322 libgcc-std.ver in the build directory.
8323 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8324 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8325
cdbf4541
BS
83262011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8327
8328 * libgcc-std.ver.in: New file.
8329 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8330 variables.
8331 (libgcc-std.ver): New rule.
8332 * config/t-gnu-prefix: New file.
8333
c8028650
RO
83342011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8335
8336 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8337
4a68b4ca
JM
83382011-05-10 Joseph Myers <joseph@codesourcery.com>
8339
8340 * config/i386/darwin-lib.h: New file.
8341
80cf2e08
JM
83422011-05-10 Joseph Myers <joseph@codesourcery.com>
8343
8344 * config/arm/symbian-lib.h: New.
8345
a3330c9d
CD
83462011-05-04 Chris Demetriou <cgd@google.com>
8347
8348 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8349 (__x86.get_pc_thunk.bx): ...this.
8350 (__morestack): Adjust for rename, remove undef of __i686.
8351
6ace0756
CD
83522011-05-03 Chris Demetriou <cgd@google.com>
8353
8354 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8355
ebb9f8b0
JM
83562011-03-22 Joseph Myers <joseph@codesourcery.com>
8357
8358 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8359 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8360 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8361 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8362 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8363 Remove cases.
8364
9cfa1499
AT
83652011-03-14 Andreas Tobler <andreast@fgznet.ch>
8366
8367 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8368 Adjust copyright year.
8369
457186f6
ILT
83702011-03-07 Ian Lance Taylor <iant@google.com>
8371
8372 * generic-morestack.c (__splitstack_find): Adjust returned stack
8373 pointer to include all registers pushed by __morestack.
8374
58c741a6
DK
83752011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8376
8377 PR target/40125
8378 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8379 (toolexecdir): Calculate and AC_SUBST.
8380 (toolexeclibdir): Likewise.
8381 * Makefile.in (target_noncanonical): Import.
8382 (toolexecdir): Likewise.
8383 (toolexeclibdir): Likewise.
8384 * configure: Regenerate.
8385
26716c44
NF
83862010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8387
8388 PR target/46040
8389 * config/arm/bpabi.h: Rename to...
8390 * config/arm/bpabi-lib.h: ...this.
8391
b595b1a1
RO
83922010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8393
8394 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8395 appropriate.
8396 * configure: Regenerate.
8397
a3abe41c
NF
83982010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8399
8400 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8401 __FLOAT_WORD_ORDER__.
8402 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8403 Delete.
8404
455c8f48
RW
84052010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8406
8407 PR other/46202
8408 * Makefile.in (install-strip): New phony target.
8409
f3824a8b
ILT
84102010-11-07 Ian Lance Taylor <iant@google.com>
8411
8412 PR target/46089
8413 * config/i386/morestack.S (__morestack_large_model): New
8414 function.
8415
18ed6ee4
NF
84162010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8417
8418 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8419 Delete.
8420 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8421
8ac7fdcb
NF
84222010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8423
8424 * config/arm/bpabi.h: New file.
8425 * config/frv/frv-abi.h: New file.
8426
cdb388c2
ILT
84272010-10-01 Ian Lance Taylor <iant@google.com>
8428
8429 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8430 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8431
ef7c141c
L
84322010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8433
8434 PR target/45858
8435 * config.host: Add the missing `$'.
8436
80920132
ME
84372010-09-30 Michael Eager <eager@eagercon.com>
8438
8439 * config.host: Add microblaze*-*-*.
8440 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8441 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8442 udivsi3.asm,umodsi3.asm}: New.
8443
6dace308
ILT
84442010-09-28 Ian Lance Taylor <iant@google.com>
8445
8446 * configure.ac: Adjust CFI test to test assembler directly rather
8447 than checking gcc preprocessor macro.
8448 * configure: Rebuild.
8449
b6110d6d
ILT
84502010-09-27 Ian Lance Taylor <iant@google.com>
8451
8452 * configure.ac: Test whether assembler supports CFI directives.
8453 * config.host: Only add t-stack and i386/t-stack-i386 to
8454 tmake_file if libgcc_cv_cfi is "yes".
8455 * configure: Rebuild.
8456
7458026b
ILT
84572010-09-27 Ian Lance Taylor <iant@google.com>
8458
8459 * generic-morestack.h: New file.
8460 * generic-morestack.c: New file.
8461 * generic-morestack-thread.c: New file.
8462 * config/i386/morestack.S: New file.
8463 * config/t-stack: New file.
8464 * config/i386/t-stack-i386: New file.
8465 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8466 i386/t-stack-i386 to tmake_file.
8467
5b50fc0c
IS
84682010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8469
8470 * Makefile.in (libgcc-extra-parts): Check for static archives and
8471 invoke ranlib after installing them.
8472 (gcc-extra-parts): Likewise.
8473 (install-leaf): Likewise.
8474
b93cf342
L
84752010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8476
8477 * configure: Regenerated.
8478
996b42ef
KT
84792010-09-10 Kai Tietz <kai.tietz@onevision.com>
8480
b93cf342 8481 * configure: Regenerated.
996b42ef 8482
be1c764e
GP
84832010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8484 Andrew Pinski <pinskia@gmail.com>
8485
1da9434b 8486 PR target/40959
be1c764e
GP
8487 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8488
cc0ae0ca
L
84892010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8490
8491 PR target/45524
8492 * configure: Regenerated.
8493
84f47d20
AS
84942010-09-06 Andreas Schwab <schwab@redhat.com>
8495
8496 * configure: Regenerate.
8497
4159fb8d
UB
84982010-09-03 Uros Bizjak <ubizjak@gmail.com>
8499
8500 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8501 64bit targets.
8502 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8503 for 64bit targets.
8504
0df8fcc8
UB
85052010-09-03 Uros Bizjak <ubizjak@gmail.com>
8506 Iain Sandoe <iains@gcc.gnu.org>
8507
8508 PR target/45476
8509 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8510 LIB2FUNCS_EXCLUDE functions.
8511
3c39bca6
AK
85122010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8513
8514 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8515 Include dfp.m4.
8516 * configure: Regenerate.
8517
d78552bd
UB
85182010-09-01 Uros Bizjak <ubizjak@gmail.com>
8519
8520 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8521 i386/t-freebsd to tmake_file.
8522 * config/i386/t-freebsd: New file.
8523 * config/i386/libgcc-bsd.ver: New file.
8524
c5b79d4e
NF
85252010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8526
8527 * config.host (powerpc*-eabispe*): Set tmake_file.
8528 (powerpc*-eabi*): Likewise.
8529 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8530 crtbeginS, crtendS, crtbeginT.
8531
48b09a92
KH
85322010-06-12 Kazu Hirata <kazu@codesourcery.com>
8533
8534 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8535 to tmake_file. Add crtfastmath.o to extra_parts.
8536 * config/mips/t-crtfm: New.
8537
7d296953 85382010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
8539
8540 * config.host (sparc64-*-rtems*): New target.
8541
ed104137
RO
85422010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8543
8544 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8545 assembler syntax.
8546
3f56ef8b
TS
85472010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8548
8549 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8550
8c200350
RO
85512010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8552
8553 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8554 alpha-dec-osf5.0* support.
8555
7d296953 85562010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
8557
8558 * config.host: Add lm32-*-rtems*.
8559
f128db92 85602010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 8561 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
8562
8563 PR target/39048
8564 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8565 like other remaining 32-bit x86 OSes.
8566 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8567 assembler syntax.
8568 * config/i386/libgcc-sol2.ver: New file.
8569 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8570
7d296953 85712010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
8572
8573 PR c/43553
8574 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8575 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8576 is used and substitute set_use_emutls.
8577 * configure: Regenerated.
8578
15baf7f8
TG
85792010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8580
8581 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8582
7f5441df
RO
85832010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8584
8585 PR target/38085
8586 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8587 MULTILIB_CFLAGS.
8588 ($(T)gcrt1.o): Likewise.
8589 ($(T)crt1.o): Likewise.
8590 ($(T)crti.o): Likewise.
8591 ($(T)crtn.o): Likewise.
8592
ef74edbd
RW
85932010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8594
8595 PR other/42980
8596 * Makefile.in (install): Use $(MAKE) string in rule, for
8597 parallel make.
8598
e7c914db
HPN
85992010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8600
8601 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8602 * config/mmix/t-mmix: New file.
8603 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8604
1bcb71c4
JH
86052010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8606
8607 PR java/41991
8608 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8609 SHLIB_MAPFILES.
8610
e6e50811
AG
86112010-01-04 Anthony Green <green@moxielogic.com>
8612
8613 * config/moxie/crti.asm, config/moxie/crtn.asm,
8614 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8615 config/moxie/t-moxie: New files.
8616 * config.host: Add t-moxie-softfp reference.
8617
7d296953 86182009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
8619
8620 PR other/39888
8621 * config/t-slibgcc-darwin: Fix embedded rpaths for
8622 --enable-version-specific-runtime-libs, build extension stub
8623 libs exposing features available from current libgcc_s.
8624
7d296953 86252009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 8626
d78552bd
UB
8627 * config.host: Add lm32 targets.
8628 * config/lm32: New directory.
8629 * config/lm32/libgcc_lm32.h: New file.
8630 * config/lm32/_mulsi3.c: New file.
8631 * config/lm32/_udivmodsi4.c: New file.
8632 * config/lm32/_divsi3.c: New file.
8633 * config/lm32/_modsi3.c: New file.
8634 * config/lm32/_udivsi3.c: New file.
8635 * config/lm32/_umodsi3.c: New file.
8636 * config/lm32/_lshrsi3.S: New file.
8637 * config/lm32/_ashrsi3.S: New file.
8638 * config/lm32/_ashlsi3.S: New file.
8639 * config/lm32/crti.S: New file.
8640 * config/lm32/crtn.S: New file.
8641 * config/lm32/t-lm32: New file.
8642 * config/lm32/t-elf: New file.
8643 * config/lm32/t-uclinux: New file.
aa4945c1 8644
65a324b4
NC
86452009-10-26 Nick Clifton <nickc@redhat.com>
8646
8647 * config.host: Add support for RX target.
8648 * config/rx: New directory.
8649 * config/rx/rx-abi-functions.c: New file. Supplementary
8650 functions for libgcc to support the RX ABI.
8651 * config/rx/rx-abi.h: New file. Supplementary header file for
8652 libgcc RX ABI functions.
8653 * config/rx/t-rx: New file: Makefile fragment for building
8654 libgcc for the RX.
8655
dfb3b0e3
UB
86562009-10-09 Uros Bizjak <ubizjak@gmail.com>
8657
8658 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8659 constraint of y0 to "g".
8660
81dd9fd7
AK
86612009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8662
8663 * config.host: Include the s390 makefile fragments.
8664 * config/s390/32/_fixdfdi.c: New file.
8665 * config/s390/32/_fixsfdi.c: New file.
8666 * config/s390/32/_fixtfdi.c: New file.
8667 * config/s390/32/_fixunsdfdi.c: New file.
8668 * config/s390/32/_fixunssfdi.c: New file.
8669 * config/s390/32/_fixunstfdi.c: New file.
8670 * config/s390/32/t-floattodi: New file.
8671 * config/s390/libgcc-glibc.ver: New file.
8672 * config/s390/t-crtstuff: New file.
8673 * config/s390/t-linux: New file.
8674 * config/s390/t-tpf: New file.
8675
df58e648
RW
86762009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8677
8678 * configure.ac (AC_PREREQ): Bump to 2.64.
8679
79052be3
KK
86802009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8681
8682 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8683
5213506e
RW
86842009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8685
8686 * configure: Regenerate.
8687
a9a25daa
DR
86882009-08-09 Douglas B Rupp <rupp@gnat.com>
8689
8690 * config.host (ia64-hp-*vms*): New target.
8691 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8692 with ia64-hp-*vms*.
8693
6efbd53f
RW
86942009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8695
8696 * configure.ac: Add snippet for maintainer-mode.
8697 * configure: Regenerate.
8698 * Makefile.in (AUTOCONF, configure_deps): New variables.
8699 ($(srcdir)/configure)): New rule, active only with maintainer
8700 mode turned on.
8701
7acf4da6
DD
87022009-06-23 DJ Delorie <dj@redhat.com>
8703
8704 Add MeP port.
8705 * config.host: Add mep support.
8706
54f549af
KT
87072009-06-22 Kai Tietz <kai.tietz@onevision.com>
8708
34481f28 8709 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8710 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
8711
8712 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8713 for mingw targets.
54f549af
KT
8714 * config/i386/64/_multc3.c: Likewise.
8715 * config/i386/64/_powitf2.c: Likewise.
8716 * config/i386/64/eqtf2.c: Likewise.
8717 * config/i386/64/getf2.c: Likewise.
8718 * config/i386/64/letf2.c: Likewise.
8719 * config/i386/64/letf2.c: Likewise.
34481f28
UB
8720 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8721 unsigned long long for x64 mingw targets.
8722 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8723 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 8724
fea96e25
MR
87252009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8726
8727 * config.host (vax-*-linux*): New.
8728
cceb575c
AG
87292009-05-31 Anthony Green <green@moxielogic.com>
8730
8731 * config.host: Add moxie support.
8732 * config/moxie/t-moxie: New file.
8733
7d296953 87342009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
8735
8736 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8737 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 8738
532bfb0a
AJ
87392009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8740
8741 * config.host: Add i386/${host_address}/t-fprules-softfp to
8742 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8743
748086b7
JJ
87442009-04-09 Nick Clifton <nickc@redhat.com>
8745
8746 * config/ia64/tf-signs.c: Change copyright header to refer to
8747 version 3 of the GNU General Public License with version 3.1
8748 of the GCC Runtime Library Exception and to point readers at
8749 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8750 web page.
8751 * config/i386/32/tf-signs.c: Likewise.
8752 * config/libbid/_addsub_dd.c: Likewise.
8753 * config/libbid/_addsub_sd.c: Likewise.
8754 * config/libbid/_addsub_td.c: Likewise.
8755 * config/libbid/_dd_to_df.c: Likewise.
8756 * config/libbid/_dd_to_di.c: Likewise.
8757 * config/libbid/_dd_to_sd.c: Likewise.
8758 * config/libbid/_dd_to_sf.c: Likewise.
8759 * config/libbid/_dd_to_si.c: Likewise.
8760 * config/libbid/_dd_to_td.c: Likewise.
8761 * config/libbid/_dd_to_tf.c: Likewise.
8762 * config/libbid/_dd_to_udi.c: Likewise.
8763 * config/libbid/_dd_to_usi.c: Likewise.
8764 * config/libbid/_dd_to_xf.c: Likewise.
8765 * config/libbid/_df_to_dd.c: Likewise.
8766 * config/libbid/_df_to_sd.c: Likewise.
8767 * config/libbid/_df_to_td.c: Likewise.
8768 * config/libbid/_di_to_dd.c: Likewise.
8769 * config/libbid/_di_to_sd.c: Likewise.
8770 * config/libbid/_di_to_td.c: Likewise.
8771 * config/libbid/_div_dd.c: Likewise.
8772 * config/libbid/_div_sd.c: Likewise.
8773 * config/libbid/_div_td.c: Likewise.
8774 * config/libbid/_eq_dd.c: Likewise.
8775 * config/libbid/_eq_sd.c: Likewise.
8776 * config/libbid/_eq_td.c: Likewise.
8777 * config/libbid/_ge_dd.c: Likewise.
8778 * config/libbid/_ge_sd.c: Likewise.
8779 * config/libbid/_ge_td.c: Likewise.
8780 * config/libbid/_gt_dd.c: Likewise.
8781 * config/libbid/_gt_sd.c: Likewise.
8782 * config/libbid/_gt_td.c: Likewise.
8783 * config/libbid/_isinfd128.c: Likewise.
8784 * config/libbid/_isinfd32.c: Likewise.
8785 * config/libbid/_isinfd64.c: Likewise.
8786 * config/libbid/_le_dd.c: Likewise.
8787 * config/libbid/_le_sd.c: Likewise.
8788 * config/libbid/_le_td.c: Likewise.
8789 * config/libbid/_lt_dd.c: Likewise.
8790 * config/libbid/_lt_sd.c: Likewise.
8791 * config/libbid/_lt_td.c: Likewise.
8792 * config/libbid/_mul_dd.c: Likewise.
8793 * config/libbid/_mul_sd.c: Likewise.
8794 * config/libbid/_mul_td.c: Likewise.
8795 * config/libbid/_ne_dd.c: Likewise.
8796 * config/libbid/_ne_sd.c: Likewise.
8797 * config/libbid/_ne_td.c: Likewise.
8798 * config/libbid/_sd_to_dd.c: Likewise.
8799 * config/libbid/_sd_to_df.c: Likewise.
8800 * config/libbid/_sd_to_di.c: Likewise.
8801 * config/libbid/_sd_to_sf.c: Likewise.
8802 * config/libbid/_sd_to_si.c: Likewise.
8803 * config/libbid/_sd_to_td.c: Likewise.
8804 * config/libbid/_sd_to_tf.c: Likewise.
8805 * config/libbid/_sd_to_udi.c: Likewise.
8806 * config/libbid/_sd_to_usi.c: Likewise.
8807 * config/libbid/_sd_to_xf.c: Likewise.
8808 * config/libbid/_sf_to_dd.c: Likewise.
8809 * config/libbid/_sf_to_sd.c: Likewise.
8810 * config/libbid/_sf_to_td.c: Likewise.
8811 * config/libbid/_si_to_dd.c: Likewise.
8812 * config/libbid/_si_to_sd.c: Likewise.
8813 * config/libbid/_si_to_td.c: Likewise.
8814 * config/libbid/_td_to_dd.c: Likewise.
8815 * config/libbid/_td_to_df.c: Likewise.
8816 * config/libbid/_td_to_di.c: Likewise.
8817 * config/libbid/_td_to_sd.c: Likewise.
8818 * config/libbid/_td_to_sf.c: Likewise.
8819 * config/libbid/_td_to_si.c: Likewise.
8820 * config/libbid/_td_to_tf.c: Likewise.
8821 * config/libbid/_td_to_udi.c: Likewise.
8822 * config/libbid/_td_to_usi.c: Likewise.
8823 * config/libbid/_td_to_xf.c: Likewise.
8824 * config/libbid/_tf_to_dd.c: Likewise.
8825 * config/libbid/_tf_to_sd.c: Likewise.
8826 * config/libbid/_tf_to_td.c: Likewise.
8827 * config/libbid/_udi_to_dd.c: Likewise.
8828 * config/libbid/_udi_to_sd.c: Likewise.
8829 * config/libbid/_udi_to_td.c: Likewise.
8830 * config/libbid/_unord_dd.c: Likewise.
8831 * config/libbid/_unord_sd.c: Likewise.
8832 * config/libbid/_unord_td.c: Likewise.
8833 * config/libbid/_usi_to_dd.c: Likewise.
8834 * config/libbid/_usi_to_sd.c: Likewise.
8835 * config/libbid/_usi_to_td.c: Likewise.
8836 * config/libbid/_xf_to_dd.c: Likewise.
8837 * config/libbid/_xf_to_sd.c: Likewise.
8838 * config/libbid/_xf_to_td.c: Likewise.
8839 * config/libbid/bid128.c: Likewise.
8840 * config/libbid/bid128_2_str.h: Likewise.
8841 * config/libbid/bid128_2_str_macros.h: Likewise.
8842 * config/libbid/bid128_2_str_tables.c: Likewise.
8843 * config/libbid/bid128_add.c: Likewise.
8844 * config/libbid/bid128_compare.c: Likewise.
8845 * config/libbid/bid128_div.c: Likewise.
8846 * config/libbid/bid128_fma.c: Likewise.
8847 * config/libbid/bid128_logb.c: Likewise.
8848 * config/libbid/bid128_minmax.c: Likewise.
8849 * config/libbid/bid128_mul.c: Likewise.
8850 * config/libbid/bid128_next.c: Likewise.
8851 * config/libbid/bid128_noncomp.c: Likewise.
8852 * config/libbid/bid128_quantize.c: Likewise.
8853 * config/libbid/bid128_rem.c: Likewise.
8854 * config/libbid/bid128_round_integral.c: Likewise.
8855 * config/libbid/bid128_scalb.c: Likewise.
8856 * config/libbid/bid128_sqrt.c: Likewise.
8857 * config/libbid/bid128_string.c: Likewise.
8858 * config/libbid/bid128_to_int16.c: Likewise.
8859 * config/libbid/bid128_to_int32.c: Likewise.
8860 * config/libbid/bid128_to_int64.c: Likewise.
8861 * config/libbid/bid128_to_int8.c: Likewise.
8862 * config/libbid/bid128_to_uint16.c: Likewise.
8863 * config/libbid/bid128_to_uint32.c: Likewise.
8864 * config/libbid/bid128_to_uint64.c: Likewise.
8865 * config/libbid/bid128_to_uint8.c: Likewise.
8866 * config/libbid/bid32_to_bid128.c: Likewise.
8867 * config/libbid/bid32_to_bid64.c: Likewise.
8868 * config/libbid/bid64_add.c: Likewise.
8869 * config/libbid/bid64_compare.c: Likewise.
8870 * config/libbid/bid64_div.c: Likewise.
8871 * config/libbid/bid64_fma.c: Likewise.
8872 * config/libbid/bid64_logb.c: Likewise.
8873 * config/libbid/bid64_minmax.c: Likewise.
8874 * config/libbid/bid64_mul.c: Likewise.
8875 * config/libbid/bid64_next.c: Likewise.
8876 * config/libbid/bid64_noncomp.c: Likewise.
8877 * config/libbid/bid64_quantize.c: Likewise.
8878 * config/libbid/bid64_rem.c: Likewise.
8879 * config/libbid/bid64_round_integral.c: Likewise.
8880 * config/libbid/bid64_scalb.c: Likewise.
8881 * config/libbid/bid64_sqrt.c: Likewise.
8882 * config/libbid/bid64_string.c: Likewise.
8883 * config/libbid/bid64_to_bid128.c: Likewise.
8884 * config/libbid/bid64_to_int16.c: Likewise.
8885 * config/libbid/bid64_to_int32.c: Likewise.
8886 * config/libbid/bid64_to_int64.c: Likewise.
8887 * config/libbid/bid64_to_int8.c: Likewise.
8888 * config/libbid/bid64_to_uint16.c: Likewise.
8889 * config/libbid/bid64_to_uint32.c: Likewise.
8890 * config/libbid/bid64_to_uint64.c: Likewise.
8891 * config/libbid/bid64_to_uint8.c: Likewise.
8892 * config/libbid/bid_b2d.h: Likewise.
8893 * config/libbid/bid_binarydecimal.c: Likewise.
8894 * config/libbid/bid_conf.h: Likewise.
8895 * config/libbid/bid_convert_data.c: Likewise.
8896 * config/libbid/bid_decimal_data.c: Likewise.
8897 * config/libbid/bid_decimal_globals.c: Likewise.
8898 * config/libbid/bid_div_macros.h: Likewise.
8899 * config/libbid/bid_dpd.c: Likewise.
8900 * config/libbid/bid_flag_operations.c: Likewise.
8901 * config/libbid/bid_from_int.c: Likewise.
8902 * config/libbid/bid_functions.h: Likewise.
8903 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8904 * config/libbid/bid_inline_add.h: Likewise.
8905 * config/libbid/bid_internal.h: Likewise.
8906 * config/libbid/bid_round.c: Likewise.
8907 * config/libbid/bid_sqrt_macros.h: Likewise.
8908
89092009-04-09 Jakub Jelinek <jakub@redhat.com>
8910
8911 * Makefile.in: Change copyright header to refer to version
8912 3 of the GNU General Public License and to point readers at the
8913 COPYING3 file and the FSF's license web page.
8914 * config.host: Likewise.
8915
633dd061
AM
89162009-04-07 Alan Modra <amodra@bigpond.net.au>
8917
8918 * config.host: Reorder and merge to match config.gcc change.
8919
457d1d00
AM
89202009-04-03 Alan Modra <amodra@bigpond.net.au>
8921
8922 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8923
52c0e446
JM
89242009-03-28 Joseph Myers <joseph@codesourcery.com>
8925
8926 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8927 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8928 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8929 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8930
ba181049
UB
89312009-02-12 Uros Bizjak <ubizjak@gmail.com>
8932
8933 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8934 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8935
c252db20
L
89362009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8937
ba181049
UB
8938 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8939 ia64/t-softfp-compat to tmake_file.
c252db20
L
8940
8941 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8942
8943 * config/ia64/__divxf3.asm: New.
8944 * config/ia64/_fixtfdi.asm: Likewise.
8945 * config/ia64/_fixunstfdi.asm: Likewise.
8946 * config/ia64/_floatditf.asm: Likewise.
8947 * config/ia64/t-fprules-softfp: Likewise.
8948 * config/ia64/t-softfp-compat: Likewise.
8949 * config/ia64/tf-signs.c: Likewise.
8950
c60535f9
BE
89512009-01-18 Ben Elliston <bje@au.ibm.com>
8952
8953 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8954
ce16861e
BE
89552009-01-16 Ben Elliston <bje@au.ibm.com>
8956
8957 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8958 to tmake_file.
8959
bcf4713b
BE
89602009-01-13 Ben Elliston <bje@au.ibm.com>
8961
8962 * config/t-softfp: New file.
8963 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8964 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8965
7d296953 89662009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
8967
8968 * config.host: Add m32r*-*-rtems*.
8969
7d296953 89702008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
8971
8972 * config.host: Add m32c*-*-rtems*.
8973
19523300
RO
89742008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8975
8976 PR bootstrap/33100
8977 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8978 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8979 * configure: Regenerate.
8980 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8981 tmake_file here from gcc/config.gcc.
8982 Move extra_parts here from gcc/config.gcc.
8983 * config/i386/t-sol2: Move here from gcc/config/i386.
8984 Use gcc_srcdir instead of srcdir.
8985
0a4a51c7
AN
89862008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8987
8988 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8989 case.
8990
2a761e46
TS
89912008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8992
8993 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8994
c0451df7
TS
89952008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8996
8997 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8998
358da97e
HS
89992008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9000
9001 Add picoChip port.
9002 * config.host: Add picochip-*-*.
9003
c660f132
BW
90042008-08-06 Bob Wilson <bob.wilson@acm.org>
9005
9006 * config.host: Match more processor names for Xtensa.
9007
d1349557
L
90082008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9009
9010 * config/i386/64/t-softfp-compat: Update comments.
9011
dd7b73c0
L
90122008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9013
9014 * config/i386/64/_divtc3-compat.c: Moved to ...
9015 * config/i386/64/_divtc3.c: Here.
9016
9017 * config/i386/64/_multc3-compat.c: Moved to ...
9018 * config/i386/64/_multc3.c: Here.
9019
9020 * config/i386/64/_powitf2-compat.c: Moved to ...
9021 * config/i386/64/_powitf2.c: Here.
9022
9023 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9024 .c suffix instead of -compat.c.
9025
6e1fab3d
UB
90262008-07-05 Uros Bizjak <ubizjak@gmail.com>
9027
9028 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9029 (_FP_MUL_MEAT_D): Ditto.
9030 (_FP_DIV_MEAT_S): Ditto.
9031 (_FP_DIV_MEAT_D): Ditto.
9032
f92518d7
RS
90332008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9034
9035 * Makefile.in: Add support for __sync_* libgcc functions.
9036
d0aede14
L
90372008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9038
9039 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9040
c174f11c
L
90412008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9042
9043 PR boostrap/36702
9044 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9045 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9046
9047 * config/i386/64/t-fprules-softfp: Moved to ...
9048 * config/i386/64/t-softfp-compat: This. New.
9049
5f464fa2
UB
90502008-07-02 Uros Bizjak <ubizjak@gmail.com>
9051
9052 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9053 Initialize f with 0.0.
9054
ff473280
L
90552008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9056
9057 PR target/36669
9058 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9059
9060 * config/i386/64/_divtc3-compat.c: New.
9061 * config/i386/64/_multc3-compat.c: Likewise.
9062 * config/i386/64/_powitf2-compat.c: Likewise.
9063 * config/i386/64/eqtf2.c: Likewise.
9064 * config/i386/64/getf2.c: Likewise.
9065 * config/i386/64/letf2.c: Likewise.
9066 * config/i386/64/t-fprules-softfp: Likewise.
9067
90682008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9069
9070 * config.host: Add i386/${host_address}/t-fprules-softfp to
9071 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9072 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9073
9074 * configure.ac: Set host_address to 64 or 32 for x86.
9075 * configure: Regenerated.
9076
9077 * Makefile.in (config.status): Also depend on
9078 $(srcdir)/config.host.
9079
9080 * config/i386/32/t-fprules-softfp: New.
9081 * config/i386/32/tf-signs.c: Likewise.
9082
9083 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9084
90852008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9086 Uros Bizjak <ubizjak@gmail.com>
9087
9088 * config/i386/32/sfp-machine.h: New.
9089
30551d99
NF
90902008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9091
9092 * config/rs6000/t-ppccomm: Remove rules that conflict with
9093 auto-generated rules.
9094
18c04407
RW
90952008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9096
9097 * configure.ac: sinclude override.m4.
9098 * configure: Regenerate.
9099
10fbe77a
BRF
91002008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9101
9102 * configure: Regenerate.
9103
bc6d4c3f
JM
91042008-06-10 Joseph Myers <joseph@codesourcery.com>
9105
9106 * Makefile.in (DECNUMINC): Remove
9107 -I$(MULTIBUILDTOP)../../libdecnumber.
9108 * gstdint.h: New.
9109
cd985f66
JM
91102008-06-07 Joseph Myers <joseph@codesourcery.com>
9111
9112 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9113 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9114 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9115 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9116 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9117 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9118 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9119 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9120 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9121 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9122 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9123 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9124 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9125 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9126
93fea8d3
AL
91272008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9128
9129 * config.host (sh2[lbe]*-*-linux*): Allow target.
9130
18724e30
NF
91312008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9132
9133 * config/rs6000/t-ppccomm: Add build rules for new files.
9134 (LIB2ADD_ST): New variable.
9135
47583040
AH
91362008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9137
9138 PR target/34210
9139 PR target/35508
9140 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9141 * config/t-avr: New file. Build 16bit libgcc functions.
9142
cf8e67fe
JJ
91432008-03-02 Jakub Jelinek <jakub@redhat.com>
9144
9145 PR target/35401
9146 * config/t-slibgcc-darwin: Make install-leaf dependent on
9147 install-darwin-libgcc-stubs instead of install.
9148
8d8da227
JM
91492008-01-25 Joseph Myers <joseph@codesourcery.com>
9150
9151 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9152 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9153 sh-*-rtemscoff*): Remove cases.
9154
edbf8b16
RS
91552007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9156
9157 * Makefile.in (all): Use install-leaf rather than install.
9158 (install): Split most of the rule into...
9159 (install-leaf): ...this new one.
9160
89deeaff
EK
91612007-12-19 Etsushi Kato <ek.kato@gmail.com>
9162 Paolo Bonzini <bonzini@gnu.org>
9163
9164 PR target/30572
5f464fa2
UB
9165 * Makefile.in: Use @shlib_slibdir@ substitution to get
9166 correct install name on darwin.
89deeaff 9167 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9168
4081d704
HPN
91692007-12-15 Hans-Peter Nilsson <hp@axis.com>
9170
9171 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9172 cris-*-elf and cris-*-none.
9173 (crisv32-*-linux*): Similar, as cris-*-linux*.
9174
f43e89a3
RIL
91752007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9176
9177 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9178
b4e9c2c6
L
91792007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9180
9181 PR regression/33926
9182 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9183 * configure: Regenerated.
9184
b2a00c89
L
91852007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9186
9187 * Makefile.in (dfp-filenames): Replace decimal_globals,
9188 decimal_data, binarydecimal and convert_data with
9189 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9190 and bid_convert_data, respectively.
9191
8d2a9e0e
CF
91922007-09-17 Chao-ying Fu <fu@mips.com>
9193 Nigel Stephens <nigel@mips.com>
9194
9195 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9196 * Makefile.in (fixed_point): Define.
9197 Check if fixed_point is yes to build support functions.
9198 * configure.ac: Check for fixed_point support.
9199 * configure: Regenerated.
9200 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9201 funcs, modes, from, to.
9202
2b53935d
JJ
92032007-09-11 Janis Johnson <janis187@us.ibm.com
9204
9205 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9206
2533577f
JJ
92072007-09-10 Janis Johnson <janis187@us.ibm.com>
9208
9209 * Makefile.in (dfp-filenames): Remove decUtility, add
9210 decDouble, decPacked, decQuad, decSingle.
9211
3ae3dbd6
HK
92122007-08-27 Hans Kester <hans.kester@ellips.nl>
9213
9214 * config.host : Add x86_64-elf target.
9215
22867d02
L
92162007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9217
9218 * configure.ac (set_have_cc_tls): Add a missing =.
9219 * configure: Regenerated.
9220
6f461e76
L
92212007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9222
9223 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9224 and x86_64-*-linux*.
9225
9226 * config/t-tls: New file.
9227
dfb3b0e3 9228 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9229
9230 * configure.ac: Include ../config/enable.m4 and
9231 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9232 supports TLS and substitute set_have_cc_tls.
9233 * configure: Regenerated.
9234
200359e8
L
92352007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9236
9237 * Makefile.in: Use libbid for DFP when BID is enabled.
9238
76f5e200
DS
92392007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9240
9241 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9242 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9243 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9244
9bd196f0 92452007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9246 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9247
9248 PR target/29498
9249 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9250 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9251 * config/i386/t-crtfm: Compile crtfastmath.o with
9252 -minline-all-stringops.
9253
1910440e
RS
92542007-05-10 Richard Sandiford <richard@codesourcery.com>
9255
9256 * config.host (sparc-wrs-vxworks): New target.
9257
7d33c31d
KH
92582007-04-14 Kazu Hirata <kazu@codesourcery.com>
9259
9260 * config.host: Recognize fido.
9261
96fccd0d
JJ
92622007-04-04 Janis Johnson <janis187@us.ibm.com>
9263
9264 * configure: Check host, not target, for decimal float support.
9265
577565f9
UB
92662007-04-03 Uros Bizjak <ubizjak@gmail.com>
9267
9268 * config/i386/t-crtpc: New file.
9269 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9270 (x86_64-*-linux*): Ditto.
577565f9 9271
ccf8e764
RH
92722007-02-30 Kai Tietz <kai.tietz@onevision.com>
9273
9274 * config.host (x86_64-*-mingw*): New target.
9275
79b87c74
MM
92762007-03-23 Michael Meissner <michael.meissner@amd.com>
9277 H.J. Lu <hongjiu.lu@intel.com>
9278
9279 * Makefile.in (enable_decimal_float): New.
9280 (DECNUMINC): Add
9281 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9282 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9283 (decbits-filenames): This.
9284 (decbits-objects): New.
9285 (libgcc-objects): Add $(decbits-objects).
9286
9287 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9288 Substitute enable_decimal_float.
9289 * configure: Regenerated.
9290
8fce4e31
HPN
92912007-03-19 Hans-Peter Nilsson <hp@axis.com>
9292
9293 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9294
e8bb4597
BM
92952007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9296
9297 * Makefile.in (install-info): New dummy target.
9298
344189f9
BS
92992007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9300
9301 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9302
ac84c172
BM
93032007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9304
9305 * Makefile.in: Add install-html and install-pdf dummy
9306 targets.
9307
cd5c2357
RS
93082007-02-05 Roger Sayle <roger@eyesopen.com>
9309 Daniel Jacobowitz <dan@codesourcery.com>
9310
9311 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9312 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9313 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9314
d9a66f98
JJ
93152007-01-29 Janis Johnson <janis187@us.ibm.com>
9316
9317 * Makefile.in (dec-filenames): Add decExcept.
9318
9891ec5f
DJ
93192007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9320
9321 PR bootstrap/30469
9322 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9323 -fprofile-use.
9324
d6efbf5a
DJ
93252007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9326
9327 * configure.ac: Add --enable-version-specific-runtime-libs.
9328 Correct $slibdir default.
9329 * configure: Regenerated.
9330
17caeff2
JM
93312007-01-23 Joseph Myers <joseph@codesourcery.com>
9332
9333 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9334
5ea41e3a
AP
93352007-01-21 Andrew Pinski <pinskia@gmail.com>
9336
9337 PR target/30519
9338 * config.host (alpha*-*-linux*): Set extra_parts.
9339
26900826
KK
93402007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9341
9342 * config/sh/t-linux: New.
9343 * config.host (sh*-*-linux*): Set tmake_file.
9344
97af925b
DJ
93452007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9346
9347 * Makefile.in (install): Handle multilibs.
9348
b0088af7
BM
93492007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9350
9351 * Makefile.in: Added .PHONY entry for documentation targets.
9352
e0a9456a
BM
93532007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9354
9355 * Makefile.in: Add empty info, html, dvi, pdf targets.
9356
7fd453b4
MS
93572007-01-04 Mike Stump <mrs@apple.com>
9358
9359 * Makefile.in (MAKEINFO): Remove.
9360 (PERL): Likewise.
9361
14e8fc8b
PB
93622007-01-04 Paolo Bonzini <bonzini@gnu.org>
9363
9364 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9365 * configure: Regenerate.
9366 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9367 (gcc_objdir): Use it.
14e8fc8b 9368
1555beba
DJ
93692007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9370
9371 * config.host (ia64*-*-linux*): Set tmake_file.
9372
79e6eaeb
DJ
93732007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9374
9375 * Makefile.in (version): Define.
9376
fa958513
DJ
93772007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9378 Paolo Bonzini <bonzini@gnu.org>
9379
9380 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9381 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9382 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9383 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9384 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9385 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9386 * configure: Generated.
818ab71a 9387\f
85ec4feb 9388Copyright (C) 2007-2018 Free Software Foundation, Inc.
818ab71a
JJ
9389
9390Copying and distribution of this file, with or without modification,
9391are permitted in any medium without royalty provided the copyright
9392notice and this notice are preserved.