]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
re PR tree-optimization/87665 (gcc HEAD (svn: 265340) breaks elements on resize)
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
a9a2fddb
PK
12018-10-18 Paul Koning <ni1d@arrl.net>
2
3 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
4 standard.
5 * divmod.c: Update references to __udivmodsi4.
6 * udivmod.c: Ditto.
7 * udivhi3.c: New file.
8 * udivmodhi4.c: New file.
9 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
10
fc8abc46
RV
112018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12
13 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
14
87f918e3
OH
152018-10-12 Olivier Hainque <hainque@adacore.com>
16
17 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
18 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
19
be86efa7
PK
202018-10-08 Paul Koning <ni1d@arrl.net>
21
22 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
23
3edbcdbe
ML
242018-10-04 Martin Liska <mliska@suse.cz>
25
26 PR gcov-profile/84107
27 * libgcov-profiler.c (__gcov_indirect_call):
28 Change type to indirect_call_tuple.
29 (struct indirect_call_tuple): New struct.
30 (__gcov_indirect_call_topn_profiler): Change type.
31 (__gcov_indirect_call_profiler_v2): Use the new
32 variables.
33 * libgcov.h (struct indirect_call_tuple): New struct
34 definition.
35
af8096fc
UB
362018-10-03 Uros Bizjak <ubizjak@gmail.com>
37
38 * libgcc2.c (isnan): Use __builtin_isnan.
39 (isfinite): Use __builtin_isfinite.
40 (isinf): Use __builtin_isinf.
41
0a76bba4
UB
422018-09-26 Uros Bizjak <ubizjak@gmail.com>
43
44 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
45
5244089f
OH
462018-09-21 Alexandre Oliva <oliva@adacore.com>
47
48 * config/vxcache.c: New file. Provide __clear_cache, based on
49 the cacheTextUpdate VxWorks service.
50 * config/t-vxworks (LIB2ADD): Add vxcache.c.
51 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
52 * config/t-vxwoks7: Likewise.
53
512cc015
ML
542018-09-21 Martin Liska <mliska@suse.cz>
55
56 * libgcov-driver.c (crc32_unsigned): Remove.
57 (gcov_histogram_insert): Likewise.
58 (gcov_compute_histogram): Likewise.
59 (compute_summary): Simplify rapidly.
60 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
61 (merge_summary): Rapidly simplify.
62 (dump_one_gcov): Ignore gcov_summary.
63 (gcov_do_dump): Do not handle program summary, it's not
64 used.
65 * libgcov-util.c (tag_summary): Remove.
66 (read_gcda_finalize): Fix coding style.
67 (read_gcda_file): Initialize curr_object_summary.
68 (compute_summary): Remove.
69 (calculate_overlap): Remove settings of run_max.
70
36ff254b
MC
712018-09-21 Monk Chiang <sh.chiang04@gmail.com>
72
73 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
74 ucontext_t type instead.
75 (nds32_fallback_frame_state): Remove struct _sigframe statement.
76
229a033d
KC
772018-09-21 Kito Cheng <kito.cheng@gmail.com>
78
79 * config/nds32/t-nds32-glibc: New file.
80
53c6feb2
RO
812018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
82
83 * configure.ac (solaris_ld_v2_maps): New test.
84 * configure: Regenerate.
85 * Makefile.in (solaris_ld_v2_maps): New variable.
86 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
87 if supported.
88
ebdb6f23
RE
892018-08-23 Richard Earnshaw <rearnsha@arm.com>
90
91 PR target/86951
92 * config/arm/lib1funcs.asm (speculation_barrier): New function.
93 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
94 to build.
95
a49c064e
IS
962018-08-22 Iain Sandoe <iain@sandoe.co.uk>
97
98 * config/unwind-dw2-fde-darwin.c
99 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
100 * config/darwin10-unwind-find-enc-func.c: … to here.
101 * config/t-darwin: Build Darwin10 unwinder shim crt.
102 * libgcc/config.host: Add the Darwin10 unwinder shim.
103
9a5b8df7
RV
1042018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
105
106 * config.host: Add crtbegin.o and crtend.o for
107 powerpc-wrs-vxworks target.
108
4cd0bc3b
J
1092018-08-17 Jojo <jijie_rong@c-sky.com>
110 Huibin Wang <huibin_wang@c-sky.com>
111 Sandra Loosemore <sandra@codesourcery.com>
112 Chung-Lin Tang <cltang@codesourcery.com>
113
114 C-SKY port: libgcc
115
116 * config.host: Add C-SKY support.
117 * config/csky/*: New.
118
a4931745
CJW
1192018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
120
121 * config/nds32/t-nds32-isr: Rearrange object dependency.
122 * config/nds32/initfini.c: Add dwarf2 unwinding support.
123 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
124 and registers usage.
125 * config/nds32/isr-library/excp_isr.S: Ditto.
126 * config/nds32/isr-library/intr_isr.S: Ditto.
127 * config/nds32/isr-library/reset.S: Ditto.
128 * config/nds32/isr-library/restore_all.inc: Ditto.
129 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
130 * config/nds32/isr-library/restore_partial.inc: Ditto.
131 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
132 * config/nds32/isr-library/save_all.inc: Ditto.
133 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
134 * config/nds32/isr-library/save_partial.inc: Ditto.
135 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
136 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
137
2b1969f6
JDA
1382018-08-11 John David Anglin <danglin@gcc.gnu.org>
139
140 * config/pa/linux-atomic.c: Update comment.
141 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
142 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
143 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
144 __ATOMIC_RELAXED for atomic loads.
145 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
146 unordered store to release lock.
147 (__sync_lock_release_8): Likewise.
148 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 149
89fff9cc
NP
1502018-08-02 Nicolas Pitre <nico@fluxnic.net>
151
152 PR libgcc/86512
153 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
154 exponent goes negative. Update my email address.
155 * config/arm/ieee754-sf.S: Likewise.
156
fd2e1dcd
ML
1572018-08-01 Martin Liska <mliska@suse.cz>
158
159 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 160 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 161
b7415975
CL
1622018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
163
164 * config/arm/ieee754-df.S: Fix comment for code working on
165 architectures >= 4.
166 * config/arm/ieee754-sf.S: Likewise.
167
b72e71a3
L
1682018-07-27 H.J. Lu <hongjiu.lu@intel.com>
169
170 PR libgcc/85334
171 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
172 Removed.
173
1c686aa4
JC
1742018-07-05 James Clarke <jrtc27@jrtc27.com>
175
176 * configure: Regenerated.
177
b61c9b99
RO
1782018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
179
180 * Makefile.in (install_leaf): Use enable_gcov instead of
181 enable_libgcov.
182
1765b023
RV
1832018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
184
185 * configure.ac: Add --disable-gcov option.
186 * configure: Regenerate.
187 * Makefile.in: Honour @enable_gcov@.
188
9b2e34ef
CL
1892018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
190
191 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
192 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
193 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
194 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
195 __ARM_ARCH__.
196 * config/arm/ieee754-sf.S: Likewise.
197 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
198
d1b0dd54
CL
1992018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
200
201 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
202 longer supported.
203 * config/arm/ieee754-sf.S: Likewise.
204
1f3fa525
TM
2052018-06-20 Than McIntosh <thanm@google.com>
206
207 PR libgcc/86213
208 * generic-morestack.c (allocate_segment): Move calls to getenv and
209 getpagesize to __morestack_load_mmap.
210 (__morestack_load_mmap) Initialize static_pagesize and
211 use_guard_page here so as to avoid clobbering SSE regs during a
212 __morestack call.
213
6a8886e4
MM
2142018-06-18 Michael Meissner <meissner@linux.ibm.com>
215
216 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
217 support modules with -mno-gnu-attribute.
218 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
219
fb997097
OH
2202018-06-07 Olivier Hainque <hainque@adacore.com>
221
222 * config/t-vxworks (LIBGCC_INCLUDES): Add
223 -I$(MULTIBUILDTOP)../../gcc/include.
224 * config/t-vxworks7: Likewise. Reformat a bit to match
225 the t-vxworks layout.
226
a548a5a1
OM
2272018-06-07 Olga Makhotina <olga.makhotina@intel.com>
228
229 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
230
244aebfd
ML
2312018-06-07 Martin Liska <mliska@suse.cz>
232
233 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 234 all_prg.
244aebfd 235
6c086e8c
ML
2362018-06-07 Martin Liska <mliska@suse.cz>
237
92a285c1 238 PR bootstrap/86057
6c086e8c 239 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 240 memcpy instead of mempcpy.
6c086e8c 241 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 242 prefix and set it.
6c086e8c 243 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 244 here and properly copy content into it.
6c086e8c 245 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 246 field, change prefix from size_t into char *.
6c086e8c
ML
247 (compute_summary): Do not calculate longest filename.
248 (gcov_do_dump): Release memory of gf.filename after each file.
249 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 250 compute_summary.
6c086e8c
ML
251 (calculate_overlap): Likewise.
252
97a53d1d
ML
2532018-06-05 Martin Liska <mliska@suse.cz>
254
255 PR gcov-profile/47618
256 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 257 function.
97a53d1d
ML
258 (gcov_exit_open_gcda_file): Use it.
259
7f3577f5
ML
2602018-06-05 Martin Liska <mliska@suse.cz>
261
262 * libgcov-driver.c (gcov_compute_histogram): Remove usage
263 of gcov_ctr_summary.
264 (compute_summary): Do it just for a single summary.
265 (merge_one_data): Likewise.
266 (merge_summary): Simplify as we read just single summary.
267 (dump_one_gcov): Pass proper argument.
268 * libgcov-util.c (compute_one_gcov): Simplify as we have just
269 single summary.
270 (gcov_info_count_all_cold): Likewise.
271 (calculate_overlap): Likewise.
272
cf3cd43d
CJW
2732018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
274 Monk Chiang <sh.chiang04@gmail.com>
275
276 * config.host (nds32*-linux*): New.
277 * config/nds32/linux-atomic.c: New file.
278 * config/nds32/linux-unwind.h: New file.
279
8b8003ed
UB
2802018-05-31 Uros Bizjak <ubizjak@gmail.com>
281
282 PR target/85591
283 * config/i386/cpuinfo.c (get_amd_cpu): Return
284 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
285
bbdf026f
RV
2862018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
287
92a285c1 288 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 289
0e8f29da
ML
2902018-05-29 Martin Liska <mliska@suse.cz>
291
92a285c1 292 PR gcov-profile/85759
0e8f29da 293 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 294 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 295 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 296 overwrite a gcov file with a different timestamp.
0e8f29da 297
54fd1590
K
2982018-05-23 Kalamatee <kalamatee@gmail.com>
299
300 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
301 path to Lf$finfty.
302
09baee1a
KC
3032018-05-18 Kito Cheng <kito.cheng@gmail.com>
304 Monk Chiang <sh.chiang04@gmail.com>
305 Jim Wilson <jimw@sifive.com>
306
307 * config/riscv/save-restore.S: Add support for rv32e.
308
c3f808d3
KT
3092018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
310
311 * config/arm/libunwind.S: Update comment relating to armv5.
312
fcf4f831
JL
3132018-05-17 Jerome Lambourg <lambourg@adacore.com>
314
315 * config/arm/cmse.c (cmse_check_address_range): Replace
316 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
317
74b2bb19
OM
3182018-05-17 Olga Makhotina <olga.makhotina@intel.com>
319
320 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
321 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
322
50e461df
OM
3232018-05-08 Olga Makhotina <olga.makhotina@intel.com>
324
325 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
326 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
327
e5f1cdb1
AC
3282018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
329
330 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
331
8f479d7a
AT
3322018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
333 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
334
335 PR libgcc/84292
336 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
337 op_and_fetch to return the right result.
338
ae043291
AM
3392018-04-27 Alan Modra <amodra@gmail.com>
340
341 PR libgcc/85532
342 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
343 -fno-asynchronous-unwind-tables.
344
ba169b74
CJW
3452018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
346
347 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
348 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
349
ffc2fc06
L
3502018-04-24 H.J. Lu <hongjiu.lu@intel.com>
351
352 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
353 when including "config/i386/shadow-stack-unwind.h".
354
7b47ecf2
L
3552018-04-24 H.J. Lu <hongjiu.lu@intel.com>
356
357 * configure: Regenerated.
358
661eb8f9
MM
3592018-04-20 Michael Meissner <meissner@linux.ibm.com>
360
361 PR target/85456
362 * config/rs6000/_powikf2.c: New file. Add support for the
363 __builtin_powil function when long double is IEEE 128-bit floating
364 point.
365 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
366 __powikf2 support.
367 (__powikf2): Likewise.
368 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
369 (__powikf2_hw): Likewise.
370 (__powikf2): Likewise.
371 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
372 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
373 (_powikf2-hw.c): Likewise.
374
5707be3c
L
3752018-04-19 H.J. Lu <hongjiu.lu@intel.com>
376
377 PR libgcc/85334
378 * unwind-generic.h (_Unwind_Frames_Increment): New.
379 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
380 Likewise.
381 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
382 count with _Unwind_Frames_Increment.
383 (_Unwind_ForcedUnwind_Phase2): Likewise.
384
5f9ca0b8
L
3852018-04-19 H.J. Lu <hongjiu.lu@intel.com>
386
387 PR libgcc/85379
388 * config/i386/morestack.S (__stack_split_initialize): Add
389 _CET_ENDBR.
390
a0e1df88
JJ
3912018-04-19 Jakub Jelinek <jakub@redhat.com>
392
393 * configure: Regenerated.
394
001ddaa8
DM
3952018-04-18 David Malcolm <dmalcolm@redhat.com>
396
397 PR jit/85384
398 * configure: Regenerate.
399
a57f99ba
JJ
4002018-04-16 Jakub Jelinek <jakub@redhat.com>
401
402 PR target/84945
403 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
404 -Wdangling-else warnings. Mask shift counts to avoid
405 -Wshift-count-negative and -Wshift-count-overflow false positives.
406
4d47fe5a
RB
4072018-04-06 Ruslan Bukin <br@bsdpad.com>
408
409 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
410
059cc8ac
L
4112018-03-29 H.J. Lu <hongjiu.lu@intel.com>
412
413 PR target/85100
414 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
415 (XSTATE_FP): Likewise.
416 (XSTATE_SSE): Likewise.
417 (XSTATE_YMM): Likewise.
418 (XSTATE_OPMASK): Likewise.
419 (XSTATE_ZMM): Likewise.
420 (XSTATE_HI_ZMM): Likewise.
421 (XCR_AVX_ENABLED_MASK): Likewise.
422 (XCR_AVX512F_ENABLED_MASK): Likewise.
423 (get_available_features): Enable AVX and AVX512 features only
424 if their states are supported by OSXSAVE.
425
f2620385
IT
4262018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
427
428 PR target/85025
429 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
430 Fix a typo, tmp => 255.
431
ae6dca8c
JJ
4322018-03-20 Jakub Jelinek <jakub@redhat.com>
433
434 PR target/84945
435 * config/i386/cpuinfo.h (__cpu_features2): Declare.
436 * config/i386/cpuinfo.c (__cpu_features2): New variable for
437 ifndef SHARED only.
438 (set_feature): Define.
439 (get_available_features): Use set_feature macro. Set __cpu_features2
440 to the second word of features ifndef SHARED.
441
c36b04c1
JK
4422018-03-15 Julia Koval <julia.koval@intel.com>
443
444 * config/i386/cpuinfo.c (get_available_features): Add
445 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
446 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
447 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
448 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
449 FEATURE_AVX512BITALG.
450
79ab5364
JK
4512018-03-14 Julia Koval <julia.koval@intel.com>
452
453 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
454 icelake client and icelake server.
455
66a00b11
JDA
4562018-03-06 John David Anglin <danglin@gcc.gnu.org>
457
458 * config/pa/fptr.c (_dl_read_access_allowed): New.
459 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 460
ce579a4f
JJ
4612018-02-28 Jakub Jelinek <jakub@redhat.com>
462
463 PR debug/83917
464 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
465 $asm_hidden_op if visibility ("hidden") attribute works.
466 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
467 * config/i386/i386-asm.h: Don't include auto-host.h.
468 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
469 PACKAGE_URL): Don't undefine.
470 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
471 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
472 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
473 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
474 definition instead of hardcoded .hidden.
475 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
476 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
477 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
478 (USE_GAS_CFI_DIRECTIVES): Don't define.
479 * configure: Regenerated.
480 * config.in: Likewise.
481
e5868319
JJ
4822018-02-26 Jakub Jelinek <jakub@redhat.com>
483
484 PR debug/83917
485 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
486 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
487 inclusion of auto-target.h and auto-host.h.
488 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
489 __GCC_HAVE_DWARF2_CFI_ASM.
490 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
491 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
492 cfi_pop): Define.
493 * config/i386/cygwin.S: Don't include auto-host.h here, just
494 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
495 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
496 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
497 * config/i386/resms64fx.h: Add cfi_* directives.
498 * config/i386/resms64x.h: Likewise.
499
faef260e
MF
5002018-02-20 Max Filippov <jcmvbkbc@gmail.com>
501
502 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
503 .literal_position directive.
504 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
505
14e335ed
IT
5062018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
507
508 PR target/84148
509 * configure: Regenerate.
510
95df0433
IT
5112018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
512
513 PR target/84239
514 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
515 Include cetintrin.h not x86intrin.h.
516
f8de876d
IT
5172018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
518
519 PR target/84239
95df0433 520 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
521 Use new _get_ssp and _inc_ssp intrinsics.
522
02da1e9c
JK
5232018-02-02 Julia Koval <julia.koval@intel.com>
524
525 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
526
048c6a9a
CZ
5272018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
528
529 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
530 option.
531 (__divsi3): Use RF16 safe registers.
532 (__modsi3): Likewise.
533
0889f168
MF
5342018-01-23 Max Filippov <jcmvbkbc@gmail.com>
535
536 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
537 (__divsf3): Make NaN return value quiet.
538 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
539 (__divdf3): Make NaN return value quiet.
540
bc8b0d04
SP
5412018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
542
543 * config/rl78/anddi3.S: New assembly file.
544 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
545
99cc06ea
SP
5462018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
547
548 * config/rl78/umindi3.S: New assembly file.
549 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
550
6e9007a0
SP
5512018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
552
553 * config/rl78/smindi3.S: New assembly file.
554 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
555
d975e494 5562018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 557
d975e494
SP
558 * config/rl78/smaxdi3.S: New assembly file.
559 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
560
6a18c146 5612018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 562
5dd16013
SP
563 * config/rl78/umaxdi3.S: New assembly file.
564 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 565
07baf4a5
JDA
5662018-01-21 John David Anglin <danglin@gcc.gnu.org>
567
568 PR lto/83452
569 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
570 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 571
dbc3af4f
RS
5722018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
573
574 * config/aarch64/value-unwind.h (aarch64_vg): New function.
575 (DWARF_LAZY_REGISTER_VALUE): Define.
576 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
577 to provide a fallback register value.
578
68df9882
MM
5792018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
580
581 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
582 __ibm128, instead of trying to use long double.
583 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
584 accomidate -mabi=ieeelongdouble multilibs.
585 (CVT_IBM128_TO_FLOAT128): Likewise.
586 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
587 the appropriate IBM extended double type.
588 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
589 (__gcc_qsub): Likewise.
590 (__gcc_qmul): Likewise.
591 (__gcc_qdiv): Likewise.
592 (pack_ldouble): Likewise.
593 (__gcc_qneg): Likewise.
594 (__gcc_qeq): Likewise.
595 (__gcc_qne): Likewise.
596 (__gcc_qge): Likewise.
597 (__gcc_qle): Likewise.
598 (__gcc_stoq): Likewise.
599 (__gcc_dtoq): Likewise.
600 (__gcc_itoq): Likewise.
601 (__gcc_utoq): Likewise.
602 (__gcc_qunord): Likewise.
603 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
604 quad-float128.h for the definitions.
605 (COPYSIGN): Use the f128 version instead of the q version.
606 (INFINITY): Likewise.
607 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
608 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
609 quad-float128.h for the definitions.
610 (COPYSIGN): Use the f128 version instead of the q version.
611 (INFINITY): Likewise.
612 (FABS): Likewise.
613 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
614 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
615 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
616
64b371b1
SH
6172018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
618
619 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
620 configuration.
621
85ec4feb
JJ
6222018-01-03 Jakub Jelinek <jakub@redhat.com>
623
624 Update copyright years.
625
6262017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
627
628 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
629 * config/riscv/multi3.c: New file.
630 * config/riscv/multi3.S: Remove.
631
3a4c600f
JW
6322017-12-08 Jim Wilson <jimw@sifive.com>
633
634 * config/riscv/div.S: Use FUNC_* macros.
635 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
636 * config/riscv/save-restore.S: Likewise.
637 * config/riscv/riscv-asm.h: New.
638
75ad35b5
MM
6392017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
640
6ae3512c
MM
641 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
642 * config/rs6000/_divkc3.c (__divkc3): Likewise.
643
75ad35b5
MM
644 PR libgcc/83112
645 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
646 correct type for all ifunc resolvers to silence -Wattribute-alias
647 warnings. Eliminate the forward declaration of the resolver
648 functions which is no longer needed.
649 (__subkf3_resolve): Likewise.
650 (__mulkf3_resolve): Likewise.
651 (__divkf3_resolve): Likewise.
652 (__negkf2_resolve): Likewise.
653 (__eqkf2_resolve): Likewise.
654 (__nekf2_resolve): Likewise.
655 (__gekf2_resolve): Likewise.
656 (__gtkf2_resolve): Likewise.
657 (__lekf2_resolve): Likewise.
658 (__ltkf2_resolve): Likewise.
659 (__unordkf2_resolve): Likewise.
660 (__extendsfkf2_resolve): Likewise.
661 (__extenddfkf2_resolve): Likewise.
662 (__trunckfsf2_resolve): Likewise.
663 (__trunckfdf2_resolve): Likewise.
664 (__fixkfsi_resolve): Likewise.
665 (__fixkfdi_resolve): Likewise.
666 (__fixunskfsi_resolve): Likewise.
667 (__fixunskfdi_resolve): Likewise.
668 (__floatsikf_resolve): Likewise.
669 (__floatdikf_resolve): Likewise.
670 (__floatunsikf_resolve): Likewise.
671 (__floatundikf_resolve): Likewise.
672 (__extendkftf2_resolve): Likewise.
673 (__trunctfkf2_resolve): Likewise.
674
675 PR libgcc/83103
676 * config/rs6000/quad-float128.h (TF): Don't define if long double
677 is IEEE 128-bit floating point.
678 (TCtype): Define as either TCmode or KCmode, depending on whether
679 long double is IEEE 128-bit floating point.
680 (__mulkc3_sw): Add declarations for software/hardware versions of
681 complex multiply/divide.
682 (__divkc3_sw): Likewise.
683 (__mulkc3_hw): Likewise.
684 (__divkc3_hw): Likewise.
685 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
686 handlers to switch between using software emulation and hardware
687 float128 instructions, build the complex multiply/divide functions
688 for both software and hardware support.
689 * config/rs6000/_divkc3.c (_divkc3): Likewise.
690 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
691 (__divkc3_resolve): Likewise.
692 (__mulkc3): Likewise.
693 (__divkc3): Likewise.
694 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
695 (fp128_hw_src): Likewise.
696 (fp128_hw_static_obj): Likewise.
697 (fp128_hw_shared_obj): Likewise.
698 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
699 _mulkc3.c and _divkc3.c, changing the function name.
700 (_divkc3-hw.c): Likewise.
701 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
702 and _divkc3-hw.c.
703
c234d831
UB
7042017-11-26 Julia Koval <julia.koval@intel.com>
705
706 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
707 * config/i386/cpuinfo.h (processor_subtypes): Add
708 INTEL_COREI7_CANNONLAKE.
709
1ebafce0
IT
7102017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
711
712 PR bootstrap/83015
713 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
714 parameter.
715 * config/xtensa/unwind-dw2-xtensa.c: Likewise
716 * config/ia64/unwind-ia64.c: Add frames parameter.
717 * unwind-sjlj.c: Likewise.
718
6a10fff4
IT
7192017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
720
721 * config/i386/linux-unwind.h: Include
722 config/i386/shadow-stack-unwind.h.
723 * config/i386/shadow-stack-unwind.h: New file.
724 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
725 pass it to _Unwind_Frames_Extra.
726 * unwind-generic.h (_Unwind_Frames_Extra): New.
727 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
728 parameter. Add local variable frames to count number of frames.
729 (_Unwind_ForcedUnwind_Phase2): Likewise.
730 (_Unwind_RaiseException): Add local variable frames to count
731 number of frames, pass it to _Unwind_RaiseException_Phase2 and
732 uw_install_context.
733 (_Unwind_ForcedUnwind): Likewise.
734 (_Unwind_Resume): Likewise.
735 (_Unwind_Resume_or_Rethrow): Likewise.
736
1ecae1fc
IT
7372017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
738
739 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
740 (CET_FLAGS): New.
741 * config/i386/morestack.S: Include <cet.h>.
742 (__morestack_large_model): Add _CET_ENDBR at function entrance.
743 * config/i386/resms64.h: Include <cet.h>.
744 * config/i386/resms64f.h: Likewise.
745 * config/i386/resms64fx.h: Likewise.
746 * config/i386/resms64x.h: Likewise.
747 * config/i386/savms64.h: Likewise.
748 * config/i386/savms64f.h: Likewise.
749 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
750 (CRTSTUFF_T_CFLAGS): Likewise.
751 * configure.ac: Include ../config/cet.m4.
752 Set and substitute CET_FLAGS.
753 * configure: Regenerated.
754
f021f1d3
RO
7552017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
756
757 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
758 renaming.
759 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
760 * configure.ac (libgcc_cv_solaris_crts): Likewise.
761 * configure: Regenerate.
762
65f480c7
TV
7632017-11-07 Tom de Vries <tom@codesourcery.com>
764
765 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
766 after "do {} while (0)".
767
2a321acb
TV
7682017-11-07 Tom de Vries <tom@codesourcery.com>
769
770 PR other/82784
771 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
772 semicolon after "do {} while (0)".
773 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
774 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
775 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
776 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
777
59fcf6c3
AT
7782017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
779
780 PR libgcc/82635
781 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
782 sysctl to determine whether we're in a trampoline.
783 Keep the pattern matching method for systems without
784 KERN_PROC_SIGTRAMP sysctl.
785
b0c7ddf8
CM
7862017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
787 Vineet Gupta <vgupta@synopsys.com>
788
789 * config.host (arc*-*-linux*): Set md_unwind_header variable.
790 * config/arc/linux-unwind-reg.def: New file.
791 * config/arc/linux-unwind-reg.h: Likewise.
792
5feee954
SP
7932017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
794
795 * config/rl78/subdi3.S: New assembly file.
796 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
797
a0bf6cf7
SP
7982017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
799
800 * config/rl78/adddi3.S: New assembly file.
801 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
802
e7176f75
JJ
8032017-10-13 Jakub Jelinek <jakub@redhat.com>
804
805 PR target/82274
806 * libgcc2.c (__mulvDI3): If both operands have
807 the same highpart of -1 and the topmost bit of lowpart is 0,
808 multiplication overflows even if both lowparts are 0.
809
db6601d2
JB
8102017-09-28 James Bowman <james.bowman@ftdichip.com>
811
812 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
813
938b6f1e
JM
8142017-09-26 Joseph Myers <joseph@codesourcery.com>
815
816 * config/microblaze/crti.S, config/microblaze/crtn.S,
817 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
818 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
819 config/microblaze/mulsi3.S,
820 config/microblaze/stack_overflow_exit.S,
821 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
822 config/pa/milli64.S: Add .note.GNU-stack section.
823
89762a83
DS
8242017-09-23 Daniel Santos <daniel.santos@pobox.com>
825
826 * configure.ac: Add Check for HAVE_AS_AVX.
827 * config.in: Regenerate.
828 * configure: Likewise.
829 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
830 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
831 Correct out-of-date comments.
832
cace2309
SP
8332017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
834
835 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
836 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
837
3cb626e4
DS
8382017-09-17 Daniel Santos <daniel.santos@pobox.com>
839
cace2309 840 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
841 (ASMNAME): Modify to use PASTE2.
842 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
843 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 844 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 845 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
846 * config/i386/resms64f.S: Likewise.
847 * config/i386/resms64fx.S: Likewise.
848 * config/i386/resms64x.S: Likewise.
849 * config/i386/savms64.S: Likewise.
850 * config/i386/savms64f.S: Likewise.
851 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 852 includes it's corresponding header file.
cace2309
SP
853 * config/i386/avx_resms64f.S: Likewise.
854 * config/i386/avx_resms64fx.S: Likewise.
855 * config/i386/avx_resms64x.S: Likewise.
856 * config/i386/avx_savms64.S: Likewise.
857 * config/i386/avx_savms64f.S: Likewise.
858 * config/i386/sse_resms64.S: Likewise.
859 * config/i386/sse_resms64f.S: Likewise.
860 * config/i386/sse_resms64fx.S: Likewise.
861 * config/i386/sse_resms64x.S: Likewise.
862 * config/i386/sse_savms64.S: Likewise.
863 * config/i386/sse_savms64f.S: Likewise.
864 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 865
2f19c491 8662017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
867 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
868
611e7036
OH
8692017-08-31 Olivier Hainque <hainque@adacore.com>
870
871 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
872 match as powerpc-wrs-vxworks*.
873
c8f34527
JY
8742017-08-07 Jonathan Yong <10walls@gmail.com>
875
876 * config.host (*-cygwin): Include file from mingw
877 config/i386/enable-execute-stack-mingw32.c
878
0b458d2b 8792017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
880 Doug Rupp <rupp@adacore.com>
881 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
882
883 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
884 as well as arm-wrs-vxworks.
885 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
886 LIB2ADDEH.
887 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
888 __exidx_start and __exidx_end for downloadable modules.
889
4df612fa
OH
8902017-08-01 Olivier Hainque <hainque@adacore.com>
891
892 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
893 * config/t-vxworks7: Likewise.
894
5560e8c0
OH
8952017-08-01 Olivier Hainque <hainque@adacore.com>
896
897 * config/t-vxworks: Instead of redefining LIB2ADD,
898 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
899
16bab95a
SH
9002017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
901
902 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
903
9cbc07cc
DS
9042017-07-24 Daniel Santos <daniel.santos@pobox.com>
905
906 PR testsuite/80759
907 * config.host: include i386/t-msabi for darwin and solaris.
908 * config/i386/i386-asm.h
909 (ELFFN): Rename to FN_TYPE.
910 (FN_SIZE): New macro.
911 (FN_HIDDEN): Likewise.
912 (ASMNAME): Likewise.
913 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
914 .globl.
915 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
916 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
917 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
918 .macro.
919 * config/i386/resms64f.S: Likewise.
920 * config/i386/resms64fx.S: Likewise.
921 * config/i386/resms64x.S: Likewise.
922 * config/i386/savms64.S: Likewise.
923 * config/i386/savms64f.S: Likewise.
924
de742204
JM
9252017-07-19 John Marino <gnugcc@marino.st>
926
927 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
928
3787ee47
MM
9292017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
930
931 PR target/81193
932 * configure.ac (PowerPC float128 hardware support): Test whether
933 we can use __builtin_cpu_supports before enabling the ifunc
934 handler.
935 * configure: Regenerate.
936
b1938888
VG
9372017-07-10 Vineet Gupta <vgupta@synopsys.com>
938
939 * config.host: Remove uclibc from arc target spec.
940
bec75e53
KW
9412017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
942
943 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
944
d4391a62
PB
9452017-07-07 Peter Bergner <bergner@vnet.ibm.com>
946
947 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
948 (have_ieee_hw_p): Delete function.
949 (SW_OR_HW) Use __builtin_cpu_supports().
950
9296dd9b
TP
9512017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
952
953 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
954
b85a969e
OH
9552017-07-03 Olivier Hainque <hainque@adacore.com>
956
d4391a62 957 * config/t-vxworks7: New file, really.
b85a969e 958
883312dc
JM
9592017-06-28 Joseph Myers <joseph@codesourcery.com>
960
961 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
962 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
963 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
964 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
965 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
966 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
967 config/pa/linux-unwind.h (pa32_fallback_frame_state),
968 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
969 config/sh/linux-unwind.h (sh_fallback_frame_state),
970 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
971 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
972 ucontext_t instead of struct ucontext.
973
50567938
JL
9742017-06-27 Jerome Lambourg <lambourg@adacore.com>
975
976 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
977 (x86_64-wrs-vxworks7): Likewise.
978
e4b0df93
OH
9792017-06-27 Olivier Hainque <hainque@adacore.com>
980
981 * config/t-vxworks7: New file.
982 * config.host (*-*-vxworks7): Use it.
983
60edf8bb
MT
9842017-06-22 Matt Turner <mattst88@gmail.com>
985
986 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
987 skylake case.
988
a51a76e5
RB
9892017-06-21 Richard Biener <rguenther@suse.de>
990
991 PR gcov-profile/81080
992 * configure.ac: Add AC_SYS_LARGEFILE.
993 * libgcov.h: Include auto-target.h before tsystem.h to pick
994 up _FILE_OFFSET_BITS which might differ for multilibs.
995 * config.in: Regenerate.
996 * configure: Likewise.
997
f0cd49c5
RE
9982017-06-16 Richard Earnshaw <rearnsha@arm.com>
999
1000 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1001
4f751c54
ML
10022017-06-09 Martin Liska <mliska@suse.cz>
1003
1004 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1005 Reset __gcov_indirect_call_callee to NULL.
1006
1ac644c8
OH
10072017-06-08 Olivier Hainque <hainque@adacore.com>
1008
1009 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1010 the set of -I options, support for direct inclusions of net/uio.h
1011 by VxWorks header files via ioLib.h.
1012
d8b9cd27
TR
10132017-06-07 Tony Reix <tony.reix@atos.net>
1014 Matthieu Sarter <matthieu.sarter.external@atos.net>
1015 David Edelsohn <dje.gcc@gmail.com>
1016
92a285c1
ML
1017 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1018 unconditionally.
1019 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1020 AIX 7.2 support.
d8b9cd27 1021
38a75ccc
OH
10222017-06-02 Olivier Hainque <hainque@adacore.com>
1023
1024 * config/vxlib.c (__gthread_once): Add missing value to
1025 return statement.
1026
5b2edf53
OH
10272017-05-30 Olivier Hainque <hainque@adacore.com>
1028
1029 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1030 dollar sign before $(MULTIDIR).
1031
7d66e265
RH
10322017-05-26 Richard Henderson <rth@redhat.com>
1033
1034 PR libgcc/80037
1035 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1036
78eca309
AT
10372017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1038
1039 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1040 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1041 * config/arm/unwind-arm.c: Implement the above.
1042
c39d309a
AZ
10432017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1044
1045 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1046 section for a non-executable stack.
1047
eac8c9f2
KW
10482017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1049
1050 PR target/80600
1051 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1052
d6d4d770
DS
10532017-05-14 Daniel Santos <daniel.santos@pobox.com>
1054
1055 * config.host: Add i386/t-msabi to i386/t-linux file list.
1056 * config/i386/i386-asm.h: New file.
1057 * config/i386/resms64.S: New file.
1058 * config/i386/resms64f.S: New file.
1059 * config/i386/resms64fx.S: New file.
1060 * config/i386/resms64x.S: New file.
1061 * config/i386/savms64.S: New file.
1062 * config/i386/savms64f.S: New file.
1063 * config/i386/t-msabi: New file.
1064
8ef2b9a7
AT
10652017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1066
1067 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1068 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1069
7ab8766a
JC
10702017-05-05 Joshua Conner <joshconner@google.com>
1071
1072 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1073 pc-relative indirect handling for fuchsia.
1074 * config/t-slibgcc-fuchsia: New file.
1075 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1076 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1077
46928a8f
ML
10782017-04-19 Martin Liska <mliska@suse.cz>
1079
1080 PR gcov-profile/80435
1081 * Makefile.in: Install gcov.h.
1082 * gcov.h: New file.
1083 * libgcov.h: Use the header and make __gcov_flush publicly
1084 visible.
1085
63971184
ML
10862017-04-18 Martin Liska <mliska@suse.cz>
1087
1088 PR gcov-profile/78783
1089 * libgcov-driver.c (gcov_get_filename): New function.
1090
29d8aae6
JL
10912017-04-07 Jeff Law <law@redhat.com>
1092
1093 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1094 target makefile fragment.
1095 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1096
2bdf7fc6
AM
10972017-04-07 Alan Modra <amodra@gmail.com>
1098
1099 PR target/45053
1100 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1101
5764ee3c
JW
11022017-04-03 Jonathan Wakely <jwakely@redhat.com>
1103
1104 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1105
c4192ad7
CZ
11062017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1107
1108 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1109
4ccfdb28
JM
11102017-03-10 John Marino <gnugcc@marino.st>
1111
1112 * config/aarch64/freebsd-unwind.h: New file.
1113 * config.host: Add aarch64-*-freebsd unwinder.
1114
4144e4e3
SB
11152017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1116
1117 * config/rs6000/crtrestvr.s: Use .machine altivec.
1118 * config/rs6000/crtsavevr.s: Ditto.
1119
7502c597
SB
11202017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1121
1122 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1123 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1124 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1125 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1126 * configure: Regenerate.
1127 * config.in: Regenerate.
1128
db9f7f65
JY
11292017-03-02 Jonathan Yong <10walls@gmail.com>
1130
1131 * config/i386/gthr-win32.h: Define NOGDI before
1132 windows.h include to prevent w32api CC_NONE macro
1133 clash with libgfortran.
1134
126437c5
JY
11352017-03-02 Jonathan Yong <10walls@gmail.com>
1136
1137 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1138
31927af6
AP
11392017-02-16 Andrew Pinski <apinski@cavium.com>
1140
1141 * config/aarch64/value-unwind.h: New file.
1142 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1143 to tm_file.
1144
0bd99911
PD
11452017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1146
1147 * config.host: Add RISC-V tuples.
1148 * config/riscv/atomic.c: New file.
1149 * config/riscv/crti.S: Likewise.
1150 * config/riscv/crtn.S: Likewise.
1151 * config/riscv/div.S: Likewise.
1152 * config/riscv/linux-unwind.h: Likewise.
1153 * config/riscv/muldi3.S: Likewise.
1154 * config/riscv/multi3.S: Likewise.
1155 * config/riscv/save-restore.S: Likewise.
1156 * config/riscv/sfp-machine.h: Likewise.
1157 * config/riscv/t-elf: Likewise.
1158 * config/riscv/t-elf32: Likewise.
1159 * config/riscv/t-elf64: Likewise.
1160 * config/riscv/t-softfp32: Likewise.
1161 * config/riscv/t-softfp64: Likewise.
1162
a8c9ef2a
JJ
11632017-01-24 Jakub Jelinek <jakub@redhat.com>
1164
1165 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1166 /* FALLTHRU */ comments.
1167
c6c82710
GP
11682017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1169
1170 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1171
a876231c
JW
11722017-01-20 Jiong Wang <jiong.wang@arm.com>
1173
1174 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1175 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1176 DW_CFA_GNU_window_save for AArch64 and LP64.
1177
aa348be2
JW
11782017-01-20 Jiong Wang <jiong.wang@arm.com>
1179
1180 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1181
5636faf2
JW
11822017-01-19 Jiong Wang <jiong.wang@arm.com>
1183
1184 * config/aarch64/aarch64-unwind.h: New file.
1185 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1186 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1187 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1188 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1189 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1190 (aarch64_post_extract_frame_addr): New function.
1191 (aarch64_post_frob_eh_handler_addr): New function.
1192 (aarch64_frob_update_context): New function.
1193 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1194 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1195 aarch64*-*-freebsd*):
1196 Initialize md_unwind_header to include aarch64-unwind.h.
1197 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1198 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1199 __aarch64__.
1200 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1201 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1202 (uw_frob_return_addr): New function.
1203 (uw_install_context): Use uw_frob_return_addr.
1204
3c36aa6b
JJ
12052017-01-17 Jakub Jelinek <jakub@redhat.com>
1206
1207 PR other/79046
1208 * configure.ac: Add GCC_BASE_VER.
1209 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1210 version from BASE-VER file.
1211 * configure: Regenerated.
1212
829afb8f
JS
12132017-01-13 Joe Seymour <joe.s@somniumtech.com>
1214
1215 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1216 libmul_f5.a): Filter archived prerequisites.
1217
79fc8ffe
AS
12182017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1219
1220 * config/i386/cpuinfo.h (processor_features): Add
1221 FEATURE_AVX512VPOPCNTDQ.
1222 * config/i386/cpuinfo.c (get_available_features): Habdle new
1223 feature.
1224
fec5f4e0
JM
12252017-01-04 Joseph Myers <joseph@codesourcery.com>
1226
1227 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1228 payload if [__mips_nan2008].
1229
8f56cb51
AM
12302017-01-04 Alan Modra <amodra@gmail.com>
1231
1232 * Makefile.in (configure_deps): Update.
1233 * configure: Regenerate.
1234
cbe34bb5
JJ
12352017-01-01 Jakub Jelinek <jakub@redhat.com>
1236
1237 Update copyright years.
1238
ab955692
KW
12392016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1240
1241 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1242 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1243 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1244
de34320f
MK
12452016-12-17 Matthias Klose <doko@ubuntu.com>
1246
1247 * config/arc/gmon: Remove empty directory.
1248
e04ea1da
CZ
12492016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1250
1251 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1252 crtgend.
1253 (arc*-*-elf*): Likewise.
1254 * config/arc/t-arc: Remove old gmon lib targets.
1255 * config/arc/crtg.S: Remove.
1256 * config/arc/crtgend.S: Likewise.
1257 * config/arc/gmon/atomic.h: Likewise.
1258 * config/arc/gmon/auxreg.h: Likewise.
1259 * config/arc/gmon/dcache_linesz.S: Likewise.
1260 * config/arc/gmon/gmon.c: Likewise.
1261 * config/arc/gmon/machine-gmon.h: Likewise.
1262 * config/arc/gmon/mcount.c: Likewise.
1263 * config/arc/gmon/prof-freq-stub.S: Likewise.
1264 * config/arc/gmon/prof-freq.c: Likewise.
1265 * config/arc/gmon/profil.S: Likewise.
1266 * config/arc/gmon/sys/gmon.h: Likewise.
1267 * config/arc/gmon/sys/gmon_out.h: Likewise.
1268 * config/arc/t-arc-newlib: Likewise.
1269 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1270
8ae1c2c1
GS
12712016-12-12 George Spelvin <linux@sciencehorizons.net>
1272
1273 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1274
a5b947fa
GS
12752016-12-12 George Spelvin <linux@sciencehorizons.net>
1276
1277 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1278 R16 instead of push + pop.
1279 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1280
d6574dd1
KW
12812016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1282
1283 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1284 tmake_file.
1285
62440b4f
CM
12862016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1287
1288 * config.host (arc*-*-linux-uclibc*): Use default extra
1289 objects. Include linux-android header.
1290 * config/arc/crti.S (_init): Declare symbol as function.
1291 (_fini): Likewise.
1292
31cfd832
TK
12932016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1294
1295 PR fortran/78379
1296 * config/i386/cpuinfo.c: Move denums for processor vendors,
1297 processor type, processor subtypes and declaration of
1298 struct __processor_model into
1299 * config/i386/cpuinfo.h: New header file.
1300
c92e08e3
AV
13012016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1302 Thomas Preud'homme <thomas.preudhomme@arm.com>
1303
1304 * config/arm/cmse_nonsecure_call.S: New.
1305 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1306
de7b5723
AV
13072016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1308 Thomas Preud'homme <thomas.preudhomme@arm.com>
1309
1310 * config/arm/t-arm (HAVE_CMSE): New.
1311 * config/arm/cmse.c: New.
1312
7a0d2bce
TP
13132016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1314
b3a5bff4
TP
1315 PR gcc/74748
1316 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1317 use generic linker version information on Blackfin.
1318
7a0d2bce
TP
1319 PR gcc/74748
1320 * libgcc/mkmap-symver.awk: add support for skip_underscore
1321
b410cf1d
IS
13222016-11-27 Iain Sandoe <iain@codesourcery.com>
1323 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1324
1325 PR target/67710
1326 * config/t-darwin: Default builds to 10.5 codegen.
1327
2e5f8203
JG
13282016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1329
1330 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1331 (_FP_NANSIGN_H): Likewise.
1332 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1333 (softfp_truncations): Add tfhf.
1334 (softfp_extras): Add required conversion functions.
1335
bea64ca3
JG
13362016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1337 Matthew Wahab <matthew.wahab@arm.com>
1338
1339 * config/arm/fp16.c (binary64): New.
1340 (__gnu_d2h_internal): New.
1341 (__gnu_d2h_ieee): New.
1342 (__gnu_d2h_alternative): New.
1343
8630cadb
JG
13442016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1345 Matthew Wahab <matthew.wahab@arm.com>
1346
1347 * config/arm/fp16.c (struct format): New.
1348 (binary32): New.
1349 (__gnu_float2h_internal): New. Body moved from
1350 __gnu_f2h_internal and generalize.
1351 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1352 Call it with binary32.
1353
5823ef23
JG
13542016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1355
1356 * soft-fp/extendhftf2.c: Update from glibc.
1357 * soft-fp/fixhfti.c: Likewise.
1358 * soft-fp/fixunshfti.c: Likewise.
1359 * soft-fp/floattihf.c: Likewise.
1360 * soft-fp/floatuntihf.c: Likewise.
1361 * soft-fp/half.h: Likewise.
1362 * soft-fp/trunctfhf2.c: Likewise.
1363
62a7df9f
MG
13642016-11-20 Marc Glisse <marc.glisse@inria.fr>
1365
1366 PR libgcc/77813
1367 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1368 __TMC_END__ behind a passthrough asm.
1369
7a384912
WL
13702016-11-18 Walter Lee <walt@tilera.com>
1371
62a7df9f 1372 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1373
9775c1a5
L
13742016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1375
1376 * config/i386/cpuinfo.c (processor_features): Add
1377 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1378
48c842ab
CZ
13792016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1380
1381 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1382 (__ARC_NORM__): Use instead ARC_OPTFPE.
1383 * config/arc/fp-hack.h: Likewise.
1384 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1385 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1386
5012919d
AM
13872016-11-16 Alexander Monakov <amonakov@ispras.ru>
1388
1389 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1390 * config/nvptx/mgomp.c: New file.
1391 * config/nvptx/t-nvptx: Add mgomp.c
1392
00178b98
WB
13932016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1394
1395 PR libgcc/68468
1396 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1397
d64af69f
CZ
13982016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1399
1400 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1401 of checking for cpus.
1402 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1403 (__modsi3, __clzsi2): Likewise.
1404
9d8f95de
SN
14052016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1406
1407 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1408 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1409 * config/i386/t-cpuinfo-static: New.
1410
7d29f8e3
ML
14112016-11-03 Martin Liska <mliska@suse.cz>
1412
1413 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1414 (__gcov_time_profiler_atomic): Likewise.
1415
5de3e2d8
BE
14162016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1417
1418 PR libgcc/78067
1419 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1420 count_leading_zeros.
1421
18362447
UB
14222016-11-02 Uros Bizjak <ubizjak@gmail.com>
1423
1424 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1425 * libgcc2.c (__divmoddi4): New function.
1426 * libgcc2.h (__divmoddi4): Declare.
1427 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1428 and __PFX_divmodti4.
1429
33107571
FW
14302016-10-24 Florian Weimer <fweimer@redhat.com>
1431
1432 PR libgcc/78064
1433 * unwind-c.c: Include auto-target.h.
1434
4c6d7494
JDA
14352016-10-19 John David Anglin <danglin@gcc.gnu.org>
1436
18362447 1437 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1438 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1439 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1440 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1441 hppa*64*-*-hpux11*.
1442
2a26adf1
MF
14432016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1444
1445 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1446 definition.
1447 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1448 definition.
1449 * config/xtensa/t-windowed (LIB2ADDEH): Use
1450 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1451 or xtensa/t-linux.
1452
66192aa1
DKC
14532016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1454
1455 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1456 __ieee754_sqrt): New functions.
1457 (__divdf3): Add implementation with new FPU instructions under
1458 #if XCHAL_HAVE_DFP_DIV.
1459 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1460 __ieee754_sqrtf): New functions.
1461 (__divsf3): Add implementation with new FPU instructions under
1462 #if XCHAL_HAVE_FP_DIV.
1463 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1464 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1465
4d0cdd0c
TP
14662016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1467
1468 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1469 equivalent.
1470 * config/tilepro/atomic.c: Likewise and stop casting model to
1471 enum memmodel.
1472
73f01cca
JM
14732016-10-10 Joseph Myers <joseph@codesourcery.com>
1474
1475 PR target/77586
1476 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1477 soft-fp.
1478
b20e7532
AT
14792016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1480
1481 * config.host: Add support for aarch64-*-freebsd*.
1482
a786cec4
AS
14832016-10-05 Andreas Schwab <schwab@suse.de>
1484
1485 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1486 (.section .init_array): Don't call __do_jv_register_classes.
1487 (.section .init): Likewise.
1488
5a79befb
JJ
14892016-10-04 Jakub Jelinek <jakub@redhat.com>
1490
1491 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1492 (__JCR_LIST__): Remove.
1493 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1494 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1495 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1496 * config/ia64/crtend.S (__JCR_END__): Remove.
1497 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1498 conditionals.
1499 (__JCR_LIST__, __JCR_END__): Remove.
1500 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1501 (__do_global_ctors_1): Likewise.
1502
e0ab3753
UB
15032015-09-28 Uros Bizjak <ubizjak@gmail.com>
1504
1505 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1506 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1507
8c9434c2
ML
15082016-09-27 Martin Liska <mliska@suse.cz>
1509
1510 PR gcov-profile/7970
1511 PR gcov-profile/16855
1512 PR gcov-profile/44779
1513 * libgcov-driver.c (__gcov_init): Do not register a atexit
1514 handler.
1515 (__gcov_exit): Rename from gcov_exit.
1516 * libgcov.h (__gcov_exit): Declare.
1517
56b653f1
ML
15182016-09-27 Martin Liska <mliska@suse.cz>
1519
1520 PR bootstrap/77749
1521 * Makefile.in: Remove _gcov_merge_delta.
1522 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1523 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1524 * libgcov.h: Remove declaration of __gcov_merge_delta.
1525
7e02fd1b
EB
15262016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1527
1528 * configure.ac: Do not create links, only substitute the filenames.
1529 * configure: Regenerate.
1530 * Makefile.in: Assign the substitution results to variables.
1531 (LIBGCC_LINKS): Define.
1532 (enable-execute-stack.c): New rule.
1533 (unwind.h): Likewise.
1534 (md-unwind-support.h): Likewise.
1535 (sfp-machine.h): Likewise.
1536 (gthr-default.h): Likewise.
1537 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1538 unwind.h as prerequisite of install-unwind_h-forbuild.
1539
29991048
JJ
15402016-09-16 Jakub Jelinek <jakub@redhat.com>
1541
1542 PR libgcc/71744
1543 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1544 is not the primary registry and atomics are available.
1545 (any_objects_registered): New variable.
1546 (__register_frame_info_bases, __register_frame_info_table_bases):
1547 Atomically store 1 to any_objects_registered after registering first
1548 unwind info.
1549 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1550
0abcd6cc
JG
15512016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1552
1553 PR target/63250
1554 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1555 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1556 (HFtype): Likewise.
1557 (HCtype): Likewise.
1558 (__divhc3): Likewise.
1559 (__mulhc3): Likewise.
1560 * libgcc2.c: Support _mulhc3 and _divhc3.
1561
d758aeb5
JM
15622016-09-07 Joseph Myers <joseph@codesourcery.com>
1563
1564 PR libgcc/77519
1565 * libgcc2.c (NOTRUNC): Invert settings.
1566
7fe76f6a
ML
15672016-09-06 Martin Liska <mliska@suse.cz>
1568
1569 PR gcov-profile/77378
1570 PR gcov-profile/77466
1571 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1572 conditionaly enable/disable *_atomic functions.
1573
21184026
JM
15742016-08-26 Joseph Myers <joseph@codesourcery.com>
1575
1576 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1577 where not already enabled.
1578
726f49c3
SN
15792016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1580
1581 * config/mips/linux-unwind.h: Use sys/syscall.h.
1582
feeb6268
JM
15832016-08-16 Joseph Myers <joseph@codesourcery.com>
1584
1585 PR libgcc/77265
1586 * soft-fp/adddf3.c: Update from glibc.
1587 * soft-fp/addsf3.c: Likewise.
1588 * soft-fp/addtf3.c: Likewise.
1589 * soft-fp/divdf3.c: Likewise.
1590 * soft-fp/divsf3.c: Likewise.
1591 * soft-fp/divtf3.c: Likewise.
1592 * soft-fp/double.h: Likewise.
1593 * soft-fp/eqdf2.c: Likewise.
1594 * soft-fp/eqsf2.c: Likewise.
1595 * soft-fp/eqtf2.c: Likewise.
1596 * soft-fp/extenddftf2.c: Likewise.
1597 * soft-fp/extended.h: Likewise.
1598 * soft-fp/extendsfdf2.c: Likewise.
1599 * soft-fp/extendsftf2.c: Likewise.
1600 * soft-fp/extendxftf2.c: Likewise.
1601 * soft-fp/fixdfdi.c: Likewise.
1602 * soft-fp/fixdfsi.c: Likewise.
1603 * soft-fp/fixdfti.c: Likewise.
1604 * soft-fp/fixsfdi.c: Likewise.
1605 * soft-fp/fixsfsi.c: Likewise.
1606 * soft-fp/fixsfti.c: Likewise.
1607 * soft-fp/fixtfdi.c: Likewise.
1608 * soft-fp/fixtfsi.c: Likewise.
1609 * soft-fp/fixtfti.c: Likewise.
1610 * soft-fp/fixunsdfdi.c: Likewise.
1611 * soft-fp/fixunsdfsi.c: Likewise.
1612 * soft-fp/fixunsdfti.c: Likewise.
1613 * soft-fp/fixunssfdi.c: Likewise.
1614 * soft-fp/fixunssfsi.c: Likewise.
1615 * soft-fp/fixunssfti.c: Likewise.
1616 * soft-fp/fixunstfdi.c: Likewise.
1617 * soft-fp/fixunstfsi.c: Likewise.
1618 * soft-fp/fixunstfti.c: Likewise.
1619 * soft-fp/floatdidf.c: Likewise.
1620 * soft-fp/floatdisf.c: Likewise.
1621 * soft-fp/floatditf.c: Likewise.
1622 * soft-fp/floatsidf.c: Likewise.
1623 * soft-fp/floatsisf.c: Likewise.
1624 * soft-fp/floatsitf.c: Likewise.
1625 * soft-fp/floattidf.c: Likewise.
1626 * soft-fp/floattisf.c: Likewise.
1627 * soft-fp/floattitf.c: Likewise.
1628 * soft-fp/floatundidf.c: Likewise.
1629 * soft-fp/floatundisf.c: Likewise.
1630 * soft-fp/floatunditf.c: Likewise.
1631 * soft-fp/floatunsidf.c: Likewise.
1632 * soft-fp/floatunsisf.c: Likewise.
1633 * soft-fp/floatunsitf.c: Likewise.
1634 * soft-fp/floatuntidf.c: Likewise.
1635 * soft-fp/floatuntisf.c: Likewise.
1636 * soft-fp/floatuntitf.c: Likewise.
1637 * soft-fp/gedf2.c: Likewise.
1638 * soft-fp/gesf2.c: Likewise.
1639 * soft-fp/getf2.c: Likewise.
1640 * soft-fp/ledf2.c: Likewise.
1641 * soft-fp/lesf2.c: Likewise.
1642 * soft-fp/letf2.c: Likewise.
1643 * soft-fp/muldf3.c: Likewise.
1644 * soft-fp/mulsf3.c: Likewise.
1645 * soft-fp/multf3.c: Likewise.
1646 * soft-fp/negdf2.c: Likewise.
1647 * soft-fp/negsf2.c: Likewise.
1648 * soft-fp/negtf2.c: Likewise.
1649 * soft-fp/op-1.h: Likewise.
1650 * soft-fp/op-2.h: Likewise.
1651 * soft-fp/op-4.h: Likewise.
1652 * soft-fp/op-8.h: Likewise.
1653 * soft-fp/op-common.h: Likewise.
1654 * soft-fp/quad.h: Likewise.
1655 * soft-fp/single.h: Likewise.
1656 * soft-fp/soft-fp.h: Likewise.
1657 * soft-fp/subdf3.c: Likewise.
1658 * soft-fp/subsf3.c: Likewise.
1659 * soft-fp/subtf3.c: Likewise.
1660 * soft-fp/truncdfsf2.c: Likewise.
1661 * soft-fp/trunctfdf2.c: Likewise.
1662 * soft-fp/trunctfsf2.c: Likewise.
1663 * soft-fp/trunctfxf2.c: Likewise.
1664 * soft-fp/unorddf2.c: Likewise.
1665 * soft-fp/unordsf2.c: Likewise.
1666 * soft-fp/unordtf2.c: Likewise.
1667
2e6fc1ac
GG
16682016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1669
1670 PR gcov-profile/67097
1671 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1672
a266236e
ML
16732016-08-10 Martin Liska <mliska@suse.cz>
1674
1675 PR gcov-profile/58306
1676 * Makefile.in: New functions (modules) are added.
1677 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1678 function.
1679 (__gcov_pow2_profiler_atomic): New function.
1680 (__gcov_one_value_profiler_body): New argument is instroduced.
1681 (__gcov_one_value_profiler): Call with the new argument.
1682 (__gcov_one_value_profiler_atomic): Likewise.
1683 (__gcov_indirect_call_profiler_v2): Likewise.
1684 (__gcov_time_profiler_atomic): New function.
1685 (__gcov_average_profiler_atomic): Likewise.
1686 (__gcov_ior_profiler_atomic): Likewise.
1687 * libgcov.h: Declare the aforementioned functions.
1688
e0c8eebf
ML
16892016-08-09 Martin Liska <mliska@suse.cz>
1690
1691 * libgcov-util.c: Fix typo and GNU coding style.
1692
6dce6418
ML
16932016-08-09 Martin Liska <mliska@suse.cz>
1694
1695 * Makefile.in: Remove __gcov_indirect_call_profiler.
1696 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1697 function.
1698 * libgcov.h: And the declaration of the function.
1699
dcb1e137
ML
17002016-08-09 Martin Liska <mliska@suse.cz>
1701
1702 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1703 power of two.
1704
d6e69705
BS
17052016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1706
1707 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1708 * config/rs6000/_mulkc3.c: Likewise.
1709
96aa1f95
GJL
17102016-07-29 Georg-Johann Lay <avr@gjlay.de>
1711
1712 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1713 zero_reg as previous call to __umulhisi3 already cleared it.
1714
a1b01d34
AJ
17152016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1716
1717 PR target/59833
1718 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1719
985a47b2
NC
17202016-07-19 Nick Clifton <nickc@redhat.com>
1721
1722 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1723 Add crtinit.o and crtfini.o to extra_parts.
1724
f906f5ed
BS
17252016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1726
1727 * config/rs6000/_divkc3.c: New.
1728 * config/rs6000/_mulkc3.c: New.
1729 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1730 and _divkc3.
1731 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1732 fp128_ppc_funcs.
1733
82742404
HW
17342016-07-11 Hale Wang <hale.wang@arm.com>
1735 Andre Vieira <andre.simoesdiasvieira@arm.com>
1736
1737 * config/arm/lib1funcs.S: Add new wrapper.
1738
05a437c1
TP
17392016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1740
1741 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1742
3d16d9ec
TP
17432016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1744
1745 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1746 and ARMv5t* rather than for a fixed list of architectures.
1747
6f493951
TP
17482016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1749
1750 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1751 implementation suitable for.
1752 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1753 for all Thumb-1 only targets.
1754 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1755 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1756 __ARM_ARCH_6M__.
1757 (EQUIV): Likewise.
1758 (ARM_FUNC_ALIAS): Likewise.
1759 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1760 version.
1761 (modsi3): Likewise.
1762 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1763 (clzdi2): Likewise.
1764 (ctzsi2): Likewise.
1765 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1766 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1767 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1768 __ARM_ARCH_6M__ and add comment to indicate the connection between
1769 this condition and the one in gcc/config/arm/elf.h.
1770 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1771 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1772 * config/arm/t-softfp: Likewise.
1773
1770511a
TS
17742016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1775
1776 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1777 CTOR_LISTS_DEFINED_EXTERNALLY.
1778
ba6be749
WL
17792016-06-28 Walter Lee <walt@tilera.com>
1780
1781 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1782 asm/unistd.h.
1783 (SPR_CMPEXCH_VALUE): Define for tilegx.
1784 (__NR_FAST_cmpxchg): Define for tilepro.
1785 (__NR_FAST_atomic_update): Define for tilepro.
1786 (__NR_FAST_cmpxchg64): Define for tilepro.
1787
a34c0db5
JS
17882016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1789
18362447 1790 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 1791
0609abda
TS
17922016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1793
1794 * config.host: Remove support for mep-*.
1795 * config/mep/lib1funcs.S: Remove.
1796 * config/mep/lib2funcs.c: Remove.
1797 * config/mep/t-mep: Remove.
1798 * config/mep/tramp.c: Remove.
1799
3e326935
TS
18002016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1801
1802 * config.host: Remove support for avr-rtems.
1803 * config/avr/t-rtems: Remove.
1804
914b155c
TS
18052016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1806
1807 * config.host: Remove m32r-rtems support.
1808
5ebf89bd
TS
18092016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1810
1811 * config.host: Remove h8300-rtems support.
1812
8466af06
TS
18132016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1814
1815 * config.host: Remove support for knetbsd.
1816
d980e738
TS
18172016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1818
1819 * config.host: Remove support for openbsd 2 and 3.
1820
ee2499b4
TS
18212016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1822
1823 * config.host: Remove interix support.
1824 * config/i386/t-interix: Remove.
1825
9f92937b
JDA
18262016-06-18 John David Anglin <danglin@gcc.gnu.org>
1827
1828 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1829 least-significant bit in function pointer for fixup.
1830
0a0ec53d
AC
18312016-06-05 Aaron Conole <aconole@redhat.com>
1832 Nathan Sidwell <nathan@acm.org>
1833
1834 PR libgcc/71400
1835 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1836 (get_gcov_error_file): Check __gcov_error_file before trying to
1837 initialize it.
1838 (gcov_error): Always use get_gcov_error_file.
1839
8aa5bdd6
AC
18402016-06-02 Aaron Conole <aconole@redhat.com>
1841
1842 * libgcov-driver-system.c (__gcov_error_file): New.
1843 (get_gcov_error_file): New.
1844 (gcov_error): Use and set __gcov_error_file.
1845 (gcov_error_exit): New.
1846 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1847
40774faf
NS
18482016-05-26 Nathan Sidwell <nathan@acm.org>
1849
1850 * config/nvptx/free.asm: Delete.
1851 * config/nvptx/malloc.asm: Delete.
1852 * config/nvptx/realloc.c: Delete.
1853 * t-nvptx: Update.
1854
69a6d5ad
NS
18552016-05-25 Nathan Sidwell <nathan@acm.org>
1856
1857 * config/nvptx/crt0.s: Delete.
1858 * config/nvptx/crt0.c: New.
1859 * t-nvptx: Update.
1860
6befaff6
SL
18612016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1862
385c7747 1863 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
1864 dw2/seh configuration.
1865 [x86_64-*-mingw*]: Likewise.
1866
ad251dfd
JS
18672016-05-10 Joel Sherrill <joel@rtems.org>
1868
1869 PR libgcc/70720
1870 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1871 targets so the same extra_parts are built. Also have tmake_file add
1872 on to its value rather than override.
1873
bc6d9014
OE
18742016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1875
1876 * config.host: Remove SH5 support.
1877 * configure: Likewise.
1878
9129c8cf
OE
18792016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1880
1881 * config/sh/crt1.S: Remove SH5 support.
1882 * config/sh/crti.S: Likewise.
1883 * config/sh/crtn.S: Likewise.
1884 * config/sh/lib1funcs-4-300.S: Likewise.
1885 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1886 * config/sh/lib1funcs.S: Likewise.
1887 * config/sh/linux-unwind.h: Likewise.
1888 * config/sh/t-sh64: Delete.
1889
39d50464
CZ
18902016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1891
1892 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1893
8b48923b
CZ
18942016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1895 Joern Rennecke <joern.rennecke@embecosm.com>
1896
1897 * config/arc/crttls.S: New file.
1898 * config/arc/t-arc: New rule.
1899 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1900
2de1cf8c
NC
19012016-04-25 Nick Clifton <nickc@redhat.com>
1902
1903 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1904 (__mspabi_cmpd): Likewise.
1905 * config/msp430/floathidf.c (__floathidf): Likewise.
1906 * config/msp430/floathisf.c (__floathisf): Likewise
1907 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1908 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1909 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1910 second parameter.
1911 (__ashrsi3): Likewise.
1912
b8ce3fe2
WB
19132016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1914
1915 * config/m68k/linux-atomic.c: Do not include unistd.h
1916
4986f823
MG
19172016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1918
1919 * config/arm/ieee754-df.S: Fix typos in comments.
1920
35fbda43
MM
19212016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1922
1923 PR target/70381
1924 * configure.ac (powerpc*-*-linux*): Rework tests to build
1925 __float128 emulation routines to not depend on using #pragma GCC
1926 target to enable -mfloat128.
1927 * configure: Regnerate.
1928
72d1a48d
EB
19292016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1930
1931 PR target/67172
1932 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1933 __MINGW32__ is defined.
1934
dc2e8995
JB
19352016-03-28 James Bowman <james.bowman@ftdichip.com>
1936
385c7747 1937 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 1938
104cdaf1
MM
19392016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1940
1941 PR libgcc/70363
1942 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1943 built with an assembler that does not support ISA 3.0
1944 instructions, rename __extendkftf2_sw to __extendkftf2.
1945
a5046f48
RO
19462016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1947
1948 PR target/38239
1949 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1950 call-clobbered registers.
1951 (internal_mcount): Remove __i386__ handling.
1952
df674f74
JS
19532016-02-26 Joel Sherrill <joel@rtems.org>
1954
1955 * config.host: Add x86_64-*-rtems*.
1956
7cb065d6
JS
19572016-02-26 Joel Sherrill <joel@rtems.org>
1958
1959 * libgcc/config.host: Add aarch64-*-rtems*.
1960
47dfdc53
PM
19612016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1962 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1963
1964 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1965 union of u64 and double.
1966 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1967 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1968 value.
1969 (FP_ROUNDMODE): Update the usage of _fpscr.
1970
e6861a99
IV
19712016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1972
1973 PR driver/68463
1974 * Makefile.in (crtoffloadtable$(objext)): New rule.
1975 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1976 enable_offload_targets is not empty.
1977 * configure: Regenerate.
1978 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1979 crtoffloadtable.
1980
9bfcbdee
MF
19812016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1982
1983 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1984 .literal_position before the function.
1985 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1986 Likewise.
1987
4cb4721f
MK
19882016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1989
1990 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1991 * config/s390/morestack.S: New file.
1992 * config/s390/t-stack-s390: New file.
1993 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1994
b29d9a29
WL
19952016-02-12 Walter Lee <walt@tilera.com>
1996
1997 * config.host (tilegx*-*-linux*): remove ti from
1998 softfp_int_modes for 32-bit configs.
1999
03a0ae7d
ILT
20002016-02-10 Ian Lance Taylor <iant@google.com>
2001
2002 PR go/68562
2003 * config/i386/morestack.S (__stack_split_initialize): Align
2004 stack.
2005
68750bce
AT
20062016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2007
2008 PR bootstrap/69611
2009 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2010 __FLOAT128__ to compile only for __float128 capable targets.
2011
7d296953
JJ
20122016-01-25 Jakub Jelinek <jakub@redhat.com>
2013
2014 PR target/69444
2015 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2016 instead of ___NO_FPRS__.
2017
a71c0334 20182016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2019 Steven Munroe <munroesj@linux.vnet.ibm.com>
2020 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2021
2022 * config/rs6000/float128-sed: New files to convert TF names to KF
2023 names for PowerPC IEEE 128-bit floating point support.
2024 * config/rs6000/float128-sed-hw: Likewise.
2025
2026 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2027 floating point hardware support.
2028
2029 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2030 128-bit floating point software emulation or use ISA 3.0 hardware
2031 support if it is available.
2032
2033 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2034 floating point.
2035
2036 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2037 floating point to IBM extended double.
2038
2039 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2040 double to IEEE 128-bit 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/sfp-exceptions.c: New file to provide exception
2047 support for IEEE 128-bit floating point.
2048
2049 * config/rs6000/floattikf.c: New files for converting between IEEE
2050 128-bit floating point and signed/unsigned 128-bit integers.
2051 * config/rs6000/fixunskfti.c: Likewise.
2052 * config/rs6000/fixkfti.c: Likewise.
2053 * config/rs6000/floatuntikf.c: Likewise.
2054
2055 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2056 when building on 64-bit systems, or when VSX is enabled.
2057 (_FP_W_TYPE): Likewise.
2058 (_FP_WS_TYPE): Likewise.
2059 (_FP_I_TYPE): Likewise.
2060 (TItype): Define on 64-bit systems.
2061 (UTItype): Likewise.
2062 (TI_BITS): Likewise.
2063 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2064 (_FP_MUL_MEAT_Q): Likewise.
2065 (_FP_DIV_MEAT_D): Likewise.
2066 (_FP_DIV_MEAT_Q): Likewise.
2067 (_FP_NANFRAC_D): Likewise.
2068 (_FP_NANFRAC_Q): Likewise.
2069 (ISA_BIT): Add exception support if we are being compiled on a
2070 machine with hardware floating point support to build the IEEE
2071 128-bit emulation functions.
2072 (FP_EX_INVALID): Likewise.
2073 (FP_EX_OVERFLOW): Likewise.
2074 (FP_EX_UNDERFLOW): Likewise.
2075 (FP_EX_DIVZERO): Likewise.
2076 (FP_EX_INEXACT): Likewise.
2077 (FP_EX_ALL): Likewise.
2078 (__sfp_handle_exceptions): Likewise.
2079 (FP_HANDLE_EXCEPTIONS): Likewise.
2080 (FP_RND_NEAREST): Likewise.
2081 (FP_RND_ZERO): Likewise.
2082 (FP_RND_PINF): Likewise.
2083 (FP_RND_MINF): Likewise.
2084 (FP_RND_MASK): Likewise.
2085 (_FP_DECL_EX): Likewise.
2086 (FP_INIT_ROUNDMODE): Likewise.
2087 (FP_ROUNDMODE): Likewise.
2088
2089 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2090 VSX code, enable IEEE 128-bit floating point. If the compiler can
2091 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2092 floating point hardware instructions and it supports declaring
2093 functions with the ifunc attribute, enable ifunc functions to
2094 switch between software and hardware support.
2095 * configure.ac (powerpc*-*-linux*): Likewise.
2096 * configure: Regenerate.
2097
bdc27e50
NC
20982016-01-15 Nick Clifton <nickc@redhat.com>
2099
2100 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2101 dependency as the source file to be compiled.
2102 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2103 (lib2hw_mul_f5.o): Likewise.
2104
006df05d
MM
21052016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2106
2107 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2108 * libgcc/config/rs6000/fixkfti.c: Likewise.
2109 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2110 * libgcc/config/rs6000/float128-hw.c: Likewise.
2111 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2112 * libgcc/config/rs6000/float128-sed: Likewise.
2113 * libgcc/config/rs6000/floattikf.c: Likewise.
2114 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2115 * libgcc/config/rs6000/quad-float128.h: Likewise.
2116 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2117 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2118 * libgcc/config/rs6000/t-float128: Likewise.
2119 * libgcc/config/rs6000/t-float128-hw: Likewise.
2120 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2121 * libgcc/config.host: Likewise.
2122 * libgcc/configure: Likewise.
2123 * libgcc/configure.ac: Likewise.
2124
29176d57 21252016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2126 Steven Munroe <munroesj@linux.vnet.ibm.com>
2127 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2128
2129 * config/rs6000/sfp-exceptions.c: New file to provide exception
2130 support for IEEE 128-bit floating point.
2131
2132 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2133 floating point hardware support.
2134
2135 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2136 point conversions.
2137 * config/rs6000/fixunskfti.c: Likewise.
2138 * config/rs6000/fixkfti.c: Likewise.
2139 * config/rs6000/floatuntikf.c: Likewise.
2140 * config/rs6000/extendkftf2-sw.c: Likewise.
2141 * config/rs6000/trunctfkf2-sw.c: Likewise.
2142
2143 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2144 128-bit floating point software emulation or use ISA 3.0 hardware
2145 support if it is available.
2146
2147 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2148 floating point.
2149
2150 * config/rs6000/t-float128: New Makefile fragments to enable
2151 building __float128 emulation support.
2152 * config/rs6000/t-float128-hw: Likewise.
2153
2154 * config/rs6000/float128-sed: New file to convert TF names to KF
2155 names for PowerPC IEEE 128-bit floating point support.
2156
2157 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2158 when building on 64-bit systems, or when VSX is enabled.
2159 (_FP_W_TYPE): Likewise.
2160 (_FP_WS_TYPE): Likewise.
2161 (_FP_I_TYPE): Likewise.
2162 (TItype): Define on 64-bit systems.
2163 (UTItype): Likewise.
2164 (TI_BITS): Likewise.
2165 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2166 (_FP_MUL_MEAT_Q): Likewise.
2167 (_FP_DIV_MEAT_D): Likewise.
2168 (_FP_DIV_MEAT_Q): Likewise.
2169 (_FP_NANFRAC_D): Likewise.
2170 (_FP_NANFRAC_Q): Likewise.
2171 (ISA_BIT): Add exception support if we are being compiled on a
2172 machine with hardware floating point support to build the IEEE
2173 128-bit emulation functions.
2174 (FP_EX_INVALID): Likewise.
2175 (FP_EX_OVERFLOW): Likewise.
2176 (FP_EX_UNDERFLOW): Likewise.
2177 (FP_EX_DIVZERO): Likewise.
2178 (FP_EX_INEXACT): Likewise.
2179 (FP_EX_ALL): Likewise.
2180 (__sfp_handle_exceptions): Likewise.
2181 (FP_HANDLE_EXCEPTIONS): Likewise.
2182 (FP_RND_NEAREST): Likewise.
2183 (FP_RND_ZERO): Likewise.
2184 (FP_RND_PINF): Likewise.
2185 (FP_RND_MINF): Likewise.
2186 (FP_RND_MASK): Likewise.
2187 (_FP_DECL_EX): Likewise.
2188 (FP_INIT_ROUNDMODE): Likewise.
2189 (FP_ROUNDMODE): Likewise.
2190
2191 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2192 compiler can do __float128.
2193 * configure: Regenerate.
2194
2195 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2196 VSX code, enable IEEE 128-bit floating point.
2197
a2218983
OH
21982016-01-05 Olivier Hainque <hainque@adacore.com>
2199
2200 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2201 specificities.
a2218983 2202
818ab71a
JJ
22032016-01-04 Jakub Jelinek <jakub@redhat.com>
2204
2205 Update copyright years.
2206
5a6c8ffa
AP
22072015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2208
2209 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2210 soft-fp targets.
5a6c8ffa 2211
077067a5
BE
22122015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2213
2214 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2215 instead of abort to avoid dependency on stdlib.h.
2216
787c1027
JDA
22172015-12-09 John David Anglin <danglin@gcc.gnu.org>
2218
2219 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2220 to initialize call to __dl_fixup once.
2221
04a9ae28
NC
22222015-12-04 Nick Clifton <nickc@redhat.com>
2223
2224 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2225 Allow for the second argument being negative.
2226 * config.host (extra_parts): Define for MSP430. Create separate
2227 libraries for each of the hardware multiply formats.
2228 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2229 that are needed.
2230 * config/msp430/lib2mul.c: Likewise.
2231 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2232 Add rules to build hardware multiply libraries.
2233 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2234 __mspabi_divul function.
2235 (__mspabi_divllu): New stub function.
2236
9a32d437
JDA
22372015-12-01 John David Anglin <danglin@gcc.gnu.org>
2238
2239 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2240 fixup values if saved GOT address doesn't match runtime address.
2241 (fixup_branch_offset): Reorder list.
2242
e5ef217c
RO
22432015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2244
2245 * Makefile.in (VTV_CFLAGS): New variable.
2246 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2247 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2248 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2249 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2250 to extra_parts if $enable_vtable_verify = yes.
2251
78cc43a2
SN
22522015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2253
2254 PR target/68059
2255 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2256 (write): ...this and fix the return type.
2257
9afebea2
DD
22582015-11-19 DJ Delorie <dj@redhat.com>
2259
2260 * config/msp430/lib2hw_mul.S: Fix alignment.
2261
33f47f42
NS
22622015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2263
2264 * config/nvptx/reduction.c: New.
2265 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2266
d9adb476
DE
22672015-11-15 David Edelsohn <dje.gcc@gmail.com>
2268
2269 * config/rs6000/on_exit.c: New file.
2270 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2271 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2272
c0ab1970
CZ
22732015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2274
2275 * config/arc/dp-hack.h: Add support for ARCHS.
2276 * config/arc/ieee-754/divdf3.S: Likewise.
2277 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2278 * config/arc/ieee-754/muldf3.S: Likewise.
2279 * config/arc/ieee-754/mulsf3.S: Likewise
2280 * config/arc/lib1funcs.S: Likewise
2281 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2282 for ARCv2 cores.
2283 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2284 for ARCv2 cores.
2285 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2286 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2287 cores.
2288
e6b6bf09
RO
22892015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2290
2291 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2292 value.
2293 * config/ia64/crtend.S: Likewise.
2294
a153644f
TS
22952015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2296
2297 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2298 __CHAR_BIT__ instead of BITS_PER_UNIT.
2299 * fixed-bit.h: Likewise.
2300 * fp-bit.h: Likewise.
2301 * libgcc2.c (__popcountSI2): Likewise.
2302 (__popcountDI2): Likewise.
2303 * libgcc2.h: Likewise.
2304 * libgcov.h: Likewise.
2305
3dee689d
DE
23062015-11-07 David Edelsohn <dje.gcc@gmail.com>
2307
2308 * config/rs6000/atexit.c: New file.
2309 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2310 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2311 * config/rs6000/cxa_finalize.c
2312 (catomic_compare_and_exchange_bool_acq): Negate return value.
2313
2ef543e4
VK
23142015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2315
2316 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2317 (processor_subtypes): Add znver1.
2318 (get_amd_cpu): Detect znver1.
2319
1300f017
CL
23202015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2321
2322 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2323 Include crtfastmath.o.
2324
3e5bb7ee
JR
23252015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2326
2327 PR libgcc/66883
2328 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2329
793aa938
KP
23302015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2331
2332 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2333 * config/rl78/divmodsi.S: Update return register to r8.
2334 * config/rl78/divmodhi.S: Update return register to r8,r9.
2335 Branch to main_loop_done_himode to pop registers before return.
2336
7d296953 23372015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2338
2339 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2340 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2341
6a192b5a
KY
23422015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2343
2344 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2345
4a0a9457
MF
23462015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2347
2348 * config.host (xtensa*-*-uclinux*): New configuration.
2349
ab91c076
KY
23502015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2351
385c7747 2352 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2353 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2354
30954527
JM
23552015-09-28 Joseph Myers <joseph@codesourcery.com>
2356
2357 * soft-fp/adddf3.c: Update from glibc.
2358 * soft-fp/addsf3.c: Likewise.
2359 * soft-fp/addtf3.c: Likewise.
2360 * soft-fp/divdf3.c: Likewise.
2361 * soft-fp/divsf3.c: Likewise.
2362 * soft-fp/divtf3.c: Likewise.
2363 * soft-fp/double.h: Likewise.
2364 * soft-fp/eqdf2.c: Likewise.
2365 * soft-fp/eqsf2.c: Likewise.
2366 * soft-fp/eqtf2.c: Likewise.
2367 * soft-fp/extenddftf2.c: Likewise.
2368 * soft-fp/extended.h: Likewise.
2369 * soft-fp/extendsfdf2.c: Likewise.
2370 * soft-fp/extendsftf2.c: Likewise.
2371 * soft-fp/extendxftf2.c: Likewise.
2372 * soft-fp/fixdfdi.c: Likewise.
2373 * soft-fp/fixdfsi.c: Likewise.
2374 * soft-fp/fixdfti.c: Likewise.
2375 * soft-fp/fixsfdi.c: Likewise.
2376 * soft-fp/fixsfsi.c: Likewise.
2377 * soft-fp/fixsfti.c: Likewise.
2378 * soft-fp/fixtfdi.c: Likewise.
2379 * soft-fp/fixtfsi.c: Likewise.
2380 * soft-fp/fixtfti.c: Likewise.
2381 * soft-fp/fixunsdfdi.c: Likewise.
2382 * soft-fp/fixunsdfsi.c: Likewise.
2383 * soft-fp/fixunsdfti.c: Likewise.
2384 * soft-fp/fixunssfdi.c: Likewise.
2385 * soft-fp/fixunssfsi.c: Likewise.
2386 * soft-fp/fixunssfti.c: Likewise.
2387 * soft-fp/fixunstfdi.c: Likewise.
2388 * soft-fp/fixunstfsi.c: Likewise.
2389 * soft-fp/fixunstfti.c: Likewise.
2390 * soft-fp/floatdidf.c: Likewise.
2391 * soft-fp/floatdisf.c: Likewise.
2392 * soft-fp/floatditf.c: Likewise.
2393 * soft-fp/floatsidf.c: Likewise.
2394 * soft-fp/floatsisf.c: Likewise.
2395 * soft-fp/floatsitf.c: Likewise.
2396 * soft-fp/floattidf.c: Likewise.
2397 * soft-fp/floattisf.c: Likewise.
2398 * soft-fp/floattitf.c: Likewise.
2399 * soft-fp/floatundidf.c: Likewise.
2400 * soft-fp/floatundisf.c: Likewise.
2401 * soft-fp/floatunditf.c: Likewise.
2402 * soft-fp/floatunsidf.c: Likewise.
2403 * soft-fp/floatunsisf.c: Likewise.
2404 * soft-fp/floatunsitf.c: Likewise.
2405 * soft-fp/floatuntidf.c: Likewise.
2406 * soft-fp/floatuntisf.c: Likewise.
2407 * soft-fp/floatuntitf.c: Likewise.
2408 * soft-fp/gedf2.c: Likewise.
2409 * soft-fp/gesf2.c: Likewise.
2410 * soft-fp/getf2.c: Likewise.
2411 * soft-fp/ledf2.c: Likewise.
2412 * soft-fp/lesf2.c: Likewise.
2413 * soft-fp/letf2.c: Likewise.
2414 * soft-fp/muldf3.c: Likewise.
2415 * soft-fp/mulsf3.c: Likewise.
2416 * soft-fp/multf3.c: Likewise.
2417 * soft-fp/negdf2.c: Likewise.
2418 * soft-fp/negsf2.c: Likewise.
2419 * soft-fp/negtf2.c: Likewise.
2420 * soft-fp/op-1.h: Likewise.
2421 * soft-fp/op-2.h: Likewise.
2422 * soft-fp/op-4.h: Likewise.
2423 * soft-fp/op-8.h: Likewise.
2424 * soft-fp/op-common.h: Likewise.
2425 * soft-fp/quad.h: Likewise.
2426 * soft-fp/single.h: Likewise.
2427 * soft-fp/soft-fp.h: Likewise.
2428 * soft-fp/subdf3.c: Likewise.
2429 * soft-fp/subsf3.c: Likewise.
2430 * soft-fp/subtf3.c: Likewise.
2431 * soft-fp/truncdfsf2.c: Likewise.
2432 * soft-fp/trunctfdf2.c: Likewise.
2433 * soft-fp/trunctfsf2.c: Likewise.
2434 * soft-fp/trunctfxf2.c: Likewise.
2435 * soft-fp/unorddf2.c: Likewise.
2436 * soft-fp/unordsf2.c: Likewise.
2437 * soft-fp/unordtf2.c: Likewise.
2438
4dfe21ac
RE
24392015-09-24 Richard Earnshaw <rearnsha@arm.com>
2440
2441 PR libgcc/67624
2442 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2443
df2a1cc4
RO
24442015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2445
2446 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2447 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2448 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2449 messages.
2450 (internal_mcount): Likewise.
2451 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2452 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2453
2d110442
RO
24542015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2455
2456 * configure.ac (libgcc_cv_solaris_crts): New test.
2457 * configure: Regenerate.
2458 * config.in: Regenerate.
2459 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2460 * config/gmon-sol2.c: Rename to ...
2461 * config/sol2/gmon.c: ... this.
2462 Include auto-target.h.
2463 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2464 * config/t-sol2: Rename to ...
2465 * config/sol2/t-sol2: ... this.
2466 (gmon.o): Reflect renaming.
2467 (crtp.o, crtpg.o): New rules.
2468 * config.host (*-*-solaris2*): Reflect renaming.
2469 Use system CRTs if present.
2470 Remove default CRT case.
2471
d572e439
JDA
24722015-09-23 John David Anglin <danglin@gcc.gnu.org>
2473
2474 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2475 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2476 __kernel_cmpxchg2.
2477 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2478 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2479 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2480 (__sync_lock_test_and_set_##WIDTH): Likewise.
2481 (__sync_lock_release_##WIDTH): Likewise.
2482 (__sync_fetch_and_##OP##_4): Change result to match type of
2483 __kernel_cmpxchg.
2484 (__sync_##OP##_and_fetch_4): Likewise.
2485 (__sync_val_compare_and_swap_4): Likewise.
2486 (__sync_bool_compare_and_swap_4): likewise.
2487 (__sync_lock_test_and_set_4): Likewise.
2488 (__sync_lock_release_4): Likewise.
2489 (FETCH_AND_OP_2): Add long long variants.
2490 (OP_AND_FETCH_2): Likewise.
2491 (COMPARE_AND_SWAP_2 ): Likewise.
2492 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2493 (SYNC_LOCK_RELEASE_2): Likewise.
2494 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2495
7d296953 24962015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2497
2498 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2499 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2500 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2501 (get_available_features): Habdle new features.
2502
131314e1
JB
25032015-09-21 James Bowman <james.bowman@ftdichip.com>
2504
2505 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2506 memory layout. Deal correctly with BSS region larger than 32K.
2507 Handle a watchdog reset like a power-on reset. Clean up unused
2508 code.
2509
04218b35
AD
25102015-09-18 Andrew Dixie <andrewd@gentrack.com>
2511 David Edelsohn <dje.gcc@gmail.com>
2512
2513 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2514 * config/rs6000/crtdbase.S: New file.
2515 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2516
c8338173
MF
25172015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2518
2519 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2520 Add support for call0 ABI.
2521
7a84bf71
JDA
25222015-09-13 John David Anglin <danglin@gcc.gnu.org>
2523
2524 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2525
4efab402
SH
25262015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2527
2528 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2529 (__GTHREAD_HAS_COND): Likewise.
2530 (__gthread_t): Likewise.
2531 (__gthread_cond_t): Likewise.
2532 (__gthread_time_t): Likewise.
2533 (__GTHREAD_MUTEX_INIT): Likewise.
2534 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2535 (__GTHREAD_COND_INIT): Likewise.
2536 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2537 (__GTHREAD_TIME_INIT): Likewise.
2538 (__gthread_create): Likewise.
2539 (__gthread_join): Likewise.
2540 (__gthread_detach): Likewise.
2541 (__gthread_equal): Likewise.
2542 (__gthread_self): Likewise.
2543 (__gthread_yield): Likewise.
2544 (__gthread_cond_broadcast): Likewise.
2545 (__gthread_cond_signal): Likewise.
2546 (__gthread_cond_wait): Likewise.
2547 (__gthread_cond_timedwait): Likewise.
2548 (__gthread_cond_wait_recursive): Likewise.
2549 (__gthread_cond_destroy): Likewise.
2550 (rtems_gxx_once): Delete.
2551 (rtems_gxx_key_create): Likewise.
2552 (rtems_gxx_key_delete): Likewise.
2553 (rtems_gxx_getspecific): Likewise.
2554 (rtems_gxx_setspecific): Likewise.
2555 (rtems_gxx_mutex_init): Likewise.
2556 (rtems_gxx_mutex_destroy): Likewise.
2557 (rtems_gxx_mutex_lock): Likewise.
2558 (rtems_gxx_mutex_trylock): Likewise.
2559 (rtems_gxx_mutex_unlock): Likewise.
2560 (rtems_gxx_recursive_mutex_init): Likewise.
2561 (rtems_gxx_recursive_mutex_lock): Likewise.
2562 (rtems_gxx_recursive_mutex_trylock): Likewise.
2563 (rtems_gxx_recursive_mutex_unlock): Likewise.
2564 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2565 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2566 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2567 (__gthread_once): Likewise.
2568 (__gthread_key_create): Likewise.
2569 (__gthread_key_delete): Likewise.
2570 (__gthread_getspecific): Likewise.
2571 (__gthread_setspecific): Likewise.
2572 (__gthread_key_t): Use <pthread.h> type.
2573 (__gthread_once_t): Likewise
2574 (__gthread_mutex_t): Use <sys/lock.h> type.
2575 (__gthread_recursive_mutex_t): Likewise
2576 (__gthread_mutex_lock): Use <sys/lock.h> function.
2577 (__gthread_mutex_trylock): Likewise.
2578 (__gthread_mutex_timedlock): Likewise.
2579 (__gthread_mutex_unlock): Likewise.
2580 (__gthread_mutex_destroy): Likewise.
2581 (__gthread_recursive_mutex_lock): Likewise.
2582 (__gthread_recursive_mutex_trylock): Likewise.
2583 (__gthread_recursive_mutex_timedlock): Likewise.
2584 (__gthread_recursive_mutex_unlock): Likewise.
2585 (__gthread_recursive_mutex_destroy): Likewise.
2586
991995c4
MF
25872015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2588
2589 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2590 context->sp instead of context->cfa.
2591
0e19db59
MF
25922015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2593
2594 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2595 with unwind-dw2-fde-dip.
2596
b6ac5f62
MF
25972015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2598
2599 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2600 CALL12 followed by series of ENTRY to spill windowed registers.
2601 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2602 instead of making linux spill syscall.
2603
3e0f3349
YR
26042015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2605
2606 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2607 (get_intel_cpu): Likewise.
2608
51c728b1
L
26092015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2610
2611 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2612 (get_intel_cpu): Add Knights Landing support.
2613
aff4eeac
UB
26142015-08-11 Uros Bizjak <ubizjak@gmail.com>
2615
2616 PR target/66954
2617 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2618 (get_available_features): Handle FEATURE_PCLMUL.
2619
736e56da
L
26202015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2621
2622 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2623 Broadwell.
2624
54d22142
UB
26252015-07-22 Uros Bizjak <ubizjak@gmail.com>
2626
2627 PR target/66954
2628 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2629 (get_available_features): Handle FEATURE_AES.
2630
20ca17e4
CLT
26312015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2632
2633 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2634 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2635
ebe4a560
NS
26362015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2637
2638 * offloadstuff.c: Constify host data.
2639
180744c0
JB
26402015-07-17 Jan Beulich <jbeulich@suse.com>
2641
2642 * config/t-softfp: Split up "else ifneq".
2643
a03c6ae3
SL
26442015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2645 Cesar Philippidis <cesar@codesourcery.com>
2646 Chung-Lin Tang <cltang@codesourcery.com>
2647
2648 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2649 for __nios2_arch__ level.
2650
73358db5
JM
26512015-07-13 John Marino <gnugcc@marino.st>
2652
2653 * config/i386/t-dragonfly: New.
2654
f9a12f7b
JDA
26552015-07-01 John David Anglin <danglin@gcc.gnu.org>
2656
2657 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2658 better match light-weight syscall argument order.
2659 (__kernel_cmpxchg2): Likewise.
2660 Adjust callers.
2661
cb78b51c
L
26622015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2663
2664 * config.host: Support i[34567]86-*-elfiamcu target.
2665 * config/t-softfp-sfdftf: New file.
2666 * config/i386/32/t-iamcu: Likewise.
2667 * configure: Regenerated.
2668
4fa0f9ea
JL
26692015-06-23 James Lemke <jwlemke@codesourcery.com>
2670
2671 libgcc/config/arm/
2672 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2673
428b3812
L
26742015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2675
2676 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2677
7d296953 26782015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
2679
2680 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2681 md_unwind_header
2682 * config/i386/freebsd-unwind.h: New.
2683
9b789cc1
UB
26842015-05-22 Uros Bizjak <ubizjak@gmail.com>
2685
2686 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2687 i386/t-crtfm to tmake_file.
2688 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2689 (set_fast_math): Use set_fast_math_sse for SSE targets.
2690 * config/i386/t-crtfm: Remove.
2691
3dafb220
AM
26922015-05-21 Alan Modra <amodra@gmail.com>
2693
2694 PR libgcc/66225
2695 * config/rs6000/morestack.S: Remove ".abiversion 1".
2696
0f0fd745
AM
26972015-05-20 Alan Modra <amodra@gmail.com>
2698
2699 * config/rs6000/morestack.S: New.
2700 * config/rs6000/t-stack-rs6000: New.
2701 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2702 to tmake_file.
2703 * generic-morestack.c: Don't build for powerpc 32-bit.
2704
515ae71b
EB
27052015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2706
2707 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2708 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2709
36805406
JL
27102015-05-16 James Bowman <james.bowman@ftdichip.com>
2711
2712 * config.host: FT32 target added.
2713 * config/ft32/*: New files for FT32 target.
2714
ff935d0c
MG
27152015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2716
385c7747
UB
2717 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2718 New macros.
2719 * config/arm/ieee754-df.S: Add CFI directives.
2720 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 2721
9b92a9f3
EB
27222015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2723
2724 * configure.ac: Include config/sjlj.m4.
2725 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2726 * config.in: Regenerate.
2727 * configure: Likewise.
2728 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2729
98b5dc61
UB
27302015-05-12 Uros Bizjak <ubizjak@gmail.com>
2731
2732 * libgcov-util.c: Add space between string literal and macro name.
2733
5a0ff57c
SL
27342015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2735 Chris Jones <chrisj@nvidia.com>
2736 Joshua Conner <jconner@nvidia.com>
2737
2738 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2739 (arm*-*-uclinux*): Likewise.
2740 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2741 * config/arm/crtfastmath.c: New file.
2742
d28ad5d4
BS
27432014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2744
2745 * Makefile.in (real_host_noncanonical): New variable.
2746 (libsubdir): Use it.
2747 * configure.ac (real_host_noncanonical): Compute. Remove special
2748 case for intelmicemul.
2749 * configure: Regenerate.
2750
cc86234f
UB
27512015-04-28 Uros Bizjak <ubizjak@gmail.com>
2752
2753 * config/frv/elf-lib.h: New file.
2754 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2755 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2756 to tm_file.
2757
27582015-04-28 Uros Bizjak <ubizjak@gmail.com>
2759
2760 * config/frv/frvbengin.c: Do not include defaults.h
2761 * config/frv/frvend.c: Ditto.
2762
2f6bd6eb
YS
27632015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2764
2765 * config.host: Add h8300-*-linux
2766 * config/h8300/t-linux: New file.
2767 * config/h8300/lib1funs.s: Change symbol prefix.
2768 * config/h8300/sfp-machine.h: 64bit double support.
2769
15aa7b44
GR
27702015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2771 Szabolcs Nagy <szabolcs.nagy@arm.com>
2772
2773 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2774 Linux if target provides dl_iterate_phdr.
2775
abd0cdc9
L
27762015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2777
2778 PR target/65612
2779 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2780 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2781 (__cpu_indicator_init@GCC_4.8.0): New.
2782 (__cpu_model@GCC_4.8.0): Likewise.
2783 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2784 -DUSE_ELF_SYMVER.
2785
72ed1126
NC
27862015-04-16 Nick Clifton <nickc@redhat.com>
2787
2788 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2789 and __modhi3 functions.
2790 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2791 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2792
d26b2237
CG
27932015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2794
2795 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2796 do-while loop as macro body to avoid warnings.
2797
cacf1f59
JJ
27982015-04-10 Jakub Jelinek <jakub@redhat.com>
2799 Iain Sandoe <iain@codesourcery.com>
2800
2801 PR target/65351
2802 * configure: Regenerate.
2803
e8a4ed3b
JJ
28042015-04-07 Jakub Jelinek <jakub@redhat.com>
2805 Iain Sandoe <iain@codesourcery.com>
2806
2807 PR target/65351
2808 * configure: Regenerate.
2809
0341335e
CLT
28102015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2811
2812 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2813
590e2636 28142015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 2815
590e2636
MF
2816 Implement call0 ABI for xtensa
2817 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2818 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2819 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2820 use ret in call0 ABI.
2821 * config/xtensa/t-windowed: New file.
2822 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2823 * libgcc/configure: Regenerated.
2824 * libgcc/configure.ac: Check if xtensa target is configured for
2825 windowed ABI and thus needs to use custom unwind code.
2826
7727f8f2
JW
28272015-02-12 Jonathan Wakely <jwakely@redhat.com>
2828
2829 PR libgcc/64885
2830 * gthr-single.h: Use __unused__ attribute instead of unused.
2831 * config/gthr-vxworks.h: Likewise.
2832 * config/i386/gthr-win32.h: Likewise.
2833
0e4a0def
KT
28342015-02-27 Kai Tietz <ktietz@redhat.com>
2835
2836 PR target/65038
2837 * config.in: Regenerated.
2838 * configure: Likewise.
2839 * configure.ac (AC_HEADER_STDC): Added explicit.
2840 (AC_CHECK_HEADERS): Check for default headers plus
2841 for ftw.h header.
2842 * libgcov-util.c (gcov_read_profile_dir): Disable use
2843 of ftw-function, if header is not found.
2844 (ftw_read_file): Likewise.
2845
b6530d0a
TS
28462015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2847
2848 PR target/65181
2849 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2850 -Dinhibit_libc.
2851
53cfb467
SL
28522015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2853
2854 * config/arm/bpabi.S (test_div_by_zero): Make label names
2855 consistent between thumb2 and arm mode cases. Separate the
2856 signed comparison on the high word of the numerator from the
2857 unsigned comparison on the low word.
2858 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2859 signed comparison.
2860
77d10a1b
JM
28612015-02-17 Joseph Myers <joseph@codesourcery.com>
2862
2863 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2864 and <string.h>.
2865 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2866
98174188
RE
28672015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2868
2869 PR gcov-profile/61889
471274de 2870 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 2871
771bef14
NC
28722015-02-02 Nick Clifton <nickc@redhat.com>
2873
2874 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2875 rounding up the fraction.
2876
40702893
JDA
28772015-01-31 John David Anglin <danglin@gcc.gnu.org>
2878
2879 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2880 oldval and newval to const void *. Fix typo.
2881 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2882 (FETCH_AND_OP_WORD): Likewise.
2883 (OP_AND_FETCH_WORD): Likewise.
2884 (COMPARE_AND_SWAP_2): Likewise.
2885 (__sync_val_compare_and_swap_4): Likewise.
2886 (__sync_lock_test_and_set_4): Likewise.
2887 (SYNC_LOCK_RELEASE_2): Likewise.
2888 Remove support for long long atomic operations.
2889
f7f049fa
CT
28902015-01-27 Caroline Tice <cmtice@google.com>
2891
2892 Committing VTV Cywin/Ming patch for Patrick Wollgast
2893 * Makefile.in: Move rules to build vtv_*.o out of the check
2894 for CUSTOM_CRTSTUFF.
2895 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2896 i[34567]86-*-mingw*)
2897 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2898 enable_vtable_verify.
2899
8410904a
NC
29002015-01-27 Nick Clifton <nickc@redhat.com>
2901
2902 * config/rl78/cmpsi2.S: Use function start and end macros.
2903 (__gcc_bcmp): New function.
2904 * config/rl78/lshrsi3.S: Use function start and end macros.
2905 * config/rl78/mulsi3.S: Add support for G10.
2906 (__mulqi3): New function for G10.
2907 * config/rl78/signbit.S: Use function start and end macros.
2908 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2909 fpmath-sf.S.
2910 (LIB2FUNCS_EXCLUDE): Define.
2911 (LIB2FUNCS_ST): Define.
2912 * config/rl78/trampoline.S: Use function start and end macros.
2913 * config/rl78/vregs.h (START_FUNC): New macro.
2914 (START_ANOTHER_FUNC): New macro.
2915 (END_FUNC): New macro.
2916 (END_ANOTHER_FUNC): New macro.
2917 * config/rl78/bit-count.S: New file. Contains assembler
2918 implementations of the bit counting functions: ___clzhi2,
2919 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2920 __paritysi2, __popcounthi2 and __popcountsi2.
2921 * config/rl78/fpbit-sf.S: New file. Contains assembler
2922 implementationas of the math functions: __negsf2, __cmpsf2,
2923 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2924 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2925 * config/rl78/fpmath-sf.S: New file. Contains assembler
2926 implementations of the math functions: __subsf3, __addsf3,
2927 __mulsf3 and __divsf3
2928
f962fbf1
RO
29292015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2930
2931 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2932 Add i386/elf-lib.h to tm_file.
2933 * config/i386/elf-lib.h: Fix comment.
2934 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2935 && __sun__ && __svr4__]: Remove workaround.
2936
939911c5
ASJ
29372015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2938
2939 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2940 FEATURE_BMI2.
2941 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2942
c8f2dff2
L
29432015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2944
2945 * config/i386/cpuinfo.c (processor_subtypes): Add
2946 INTEL_COREI7_BROADWELL.
2947 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2948 model numbers.
2949
7bbf9734
UB
29502015-01-23 Uros Bizjak <ubizjak@gmail.com>
2951
2952 * config/i386/elf-lib.h: New file.
2953 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2954 Wrap definition in #ifdef __i386__.
2955 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2956 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2957 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2958 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2959 to tm_file.
2960
324820f1
CG
29612015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2962
2963 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2964 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2965
a9ce4e4a
CLT
29662015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2967
2968 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2969 Update rt_sigframe format and address for current Nios II
2970 Linux conventions.
2971
82a19768
AT
29722015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2973
2974 * config.host (arm*-*-freebsd*): Add new configuration for
2975 arm*-*-freebsd*.
2976 * config/arm/freebsd-atomic.c: New file.
2977 * config/arm/t-freebsd: Likewise.
2978 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2979 'PC-relative indirect' OS's.
2980
0969ec7d
EB
29812015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2982
2983 * config.host: Add Visium support.
2984 * config/visium: New directory.
2985
5624e564
JJ
29862015-01-05 Jakub Jelinek <jakub@redhat.com>
2987
2988 Update copyright years.
2989
82f84ecb
MF
29902014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2991
2992 * config.host: Support mipsisa32r6 and mipsisa64r6.
2993 * config/mips/mips16.S: Do not build for R6.
2994
69044fa9
OE
29952014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2996
2997 * config/sh/crt.h: New.
2998 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2999 symbols.
3000 * config/sh/crt1.S: Likewise.
3001
2405e0ea
UB
30022014-12-15 Uros Bizjak <ubizjak@gmail.com>
3003
3004 PR libgcc/63832
3005 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3006 func_ptr *dtor_list temporary variable to avoid "array subscript
3007 is above array bounds" warnings.
3008
7d296953 30092014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3010
3011 * Makefile.in (with_aix_soname): Define.
3012 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3013 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3014 * configure: Recreate.
3015
a66272f6
OH
30162014-12-05 Olivier Hainque <hainque@adacore.com>
3017
3018 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3019 now provided by defaults.h.
3020
6342b2c5
OE
30212014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3022
7d0ee249 3023 PR target/55351
6342b2c5
OE
3024 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3025 whether it's defined.
3026
c17eac85
IT
30272014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3028
3029 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3030 * config/i386/cpuinfo.c (get_available_features): Detect it.
3031
1025cb6c
TW
30322014-11-27 Tony Wang <tony.wang@arm.com>
3033
3034 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3035 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3036 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3037
d19f2e38
SB
30382014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3039
3040 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3041
17f6e9a3
JDA
30422014-11-24 John David Anglin <danglin@gcc.gnu.org>
3043
3044 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3045 instead.
3046
0cd7c672
GM
30472014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3048 John David Anglin <danglin@gcc.gnu.org>
3049
3050 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3051 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3052 (OP_AND_FETCH_2): Likewise.
3053 (COMPARE_AND_SWAP_2): Likewise.
3054 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3055 (SYNC_LOCK_RELEASE_2): Likewise.
3056 (SUBWORD_SYNC_OP): Remove.
3057 (SUBWORD_VAL_CAS): Likewise.
3058 (SUBWORD_BOOL_CAS): Likewise.
3059 (FETCH_AND_OP_WORD): Update.
3060 Consistently use signed types.
cc86234f 3061
85c64bbe
BS
30622014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3063 Thomas Schwinge <thomas@codesourcery.com>
3064 Ilya Verbin <ilya.verbin@intel.com>
3065 Andrey Turetskiy <andrey.turetskiy@intel.com>
3066
3067 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3068 (crtoffloadend$(objext)): Likewise.
3069 * configure: Regenerate.
3070 * configure.ac (accel_dir_suffix): Compute new variable.
3071 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3072 if enable_offload_targets is not empty.
3073 * offloadstuff.c: New file.
3074
52a1ff8b
NC
30752014-11-13 Nick Clifton <nickc@redhat.com>
3076
3077 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3078 Use START_FUNC and END_FUNC macros to enable linker garbage
3079 collection.
3080 * config/rl78/divmodqi.S: Likewise.
3081 * config/rl78/divmodsi.S: Likewise.
3082 * config/rl78/mulsi3.S: Likewise.
3083 * config/rl78/lib2div.c: Remove G10 functions.
3084 * config/rl78/lib2muls.c: Likewise.
3085 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3086 * config/rl78/vregs.h (START_FUNC): New macro.
3087 (END_FUNC): New macro.
3088
050af144
MF
30892014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3090
3091 * config/mips/mips16.S: Set .module when supported. Update O32
3092 FP64 calling convention and use for FPXX when possible. Add FPXX
3093 calling convention fallback case.
3094
738f2522
BS
30952014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3096
3097 * config.host: Handle nvptx-*-*.
3098 * shared-object.mk (as-flags-$o): Define.
3099 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3100 -xassembler-with-cpp.
3101 * static-object.mk: Identical changes.
3102 * config/nvptx/t-nvptx: New file.
3103 * config/nvptx/crt0.s: New file.
3104 * config/nvptx/free.asm: New file.
3105 * config/nvptx/malloc.asm: New file.
3106 * config/nvptx/realloc.c: New file.
3107
e610393c
JM
31082014-10-30 Joseph Myers <joseph@codesourcery.com>
3109
3110 * Makefile.in (libgcc.map.in): New target.
3111 (libgcc.map): Use libgcc.map.in.
3112 * config/t-softfp (softfp_compat): New variable to be set by
3113 users.
3114 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3115 variables.
3116 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3117 directory.
3118 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3119 that use compat symbols and disable all code unless [SHARED].
3120 * config/t-softfp-compat: New file.
3121 * find-symver.awk: New file.
3122 * configure.ac (--with-glibc-version): New configure option.
3123 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3124 * configure: Regenerate.
3125 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3126 soft-float and e500.
3127
bc1b3a88
JM
31282014-10-29 Joseph Myers <joseph@codesourcery.com>
3129
3130 * config/t-hardfp (hardfp_exclusions): Document new variable for
3131 user to define.
3132 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3133 * config/t-softfp (softfp_extras): Document new variable for user
3134 to define.
3135 (softfp_func_list): Add functions from $(softfp_extras).
3136 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3137 * config.host (powerpc*-*-linux*): For e500v1, use
3138 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3139 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3140 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3141
ef2810c1
JDA
31422014-10-26 John David Anglin <danglin@gcc.gnu.org>
3143
3144 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3145 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3146 memory read accesses are ok.
3147
d80c2bea
JM
31482014-10-25 Joseph Myers <joseph@codesourcery.com>
3149
3150 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3151 * configure: Regenerate.
3152 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3153 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3154 of soft-fp for 32-bit classic hard float. Do not use
3155 t-softfp-excl for soft float.
3156
693b297b
JM
31572014-10-22 Joseph Myers <joseph@codesourcery.com>
3158
3159 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3160 configurations.
3161 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3162 Remove variables.
3163
18a3415e
GJL
31642014-10-22 Georg-Johann Lay <avr@gjlay.de>
3165
3166 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3167 introduced with 2014-10-21 trunk r216525.
3168
c1dd9790 31692014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3170 Vidya Praveen <vidya.praveen@atmel.com>
3171 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3172 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3173 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3174
3175 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3176 order.
3177
3178 Updated library functions for AVRTINY arch.
3179 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3180 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3181 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3182 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3183 wsubi/wadi macors.
3184 (__mulsi3_helper): Update stack, preserve callee saved regs and
3185 argument from stack. Restore callee save registers.
3186 (__mulpsi3): Likewise.
3187 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3188 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3189 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3190 AVRTINY.
3191 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3192 (__do_copy_data): Added new definition for AVRTINY.
3193 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3194 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3195 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3196 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3197 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3198 macors.
18a3415e 3199 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3200 AVRTINY.
3201
18a3415e 3202 Fix broken long multiplication on tiny arch.
c1dd9790 3203
5f606431
JM
32042014-10-09 Joseph Myers <joseph@codesourcery.com>
3205
3206 * soft-fp/double.h: Update from glibc.
3207 * soft-fp/eqdf2.c: Likewise.
3208 * soft-fp/eqsf2.c: Likewise.
3209 * soft-fp/eqtf2.c: Likewise.
3210 * soft-fp/extenddftf2.c: Likewise.
3211 * soft-fp/extended.h: Likewise.
3212 * soft-fp/extendsfdf2.c: Likewise.
3213 * soft-fp/extendsftf2.c: Likewise.
3214 * soft-fp/extendxftf2.c: Likewise.
3215 * soft-fp/gedf2.c: Likewise.
3216 * soft-fp/gesf2.c: Likewise.
3217 * soft-fp/getf2.c: Likewise.
3218 * soft-fp/ledf2.c: Likewise.
3219 * soft-fp/lesf2.c: Likewise.
3220 * soft-fp/letf2.c: Likewise.
3221 * soft-fp/op-1.h: Likewise.
3222 * soft-fp/op-2.h: Likewise.
3223 * soft-fp/op-4.h: Likewise.
3224 * soft-fp/op-8.h: Likewise.
3225 * soft-fp/op-common.h: Likewise.
3226 * soft-fp/quad.h: Likewise.
3227 * soft-fp/single.h: Likewise.
3228 * soft-fp/soft-fp.h: Likewise.
3229 * soft-fp/unorddf2.c: Likewise.
3230 * soft-fp/unordsf2.c: Likewise.
3231 * soft-fp/unordtf2.c: Likewise.
3232 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3233 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3234 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3235 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3236 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3237 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3238 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3239 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3240 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3241 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3242
9b84e7a8
RX
32432014-10-08 Rong Xu <xur@google.com>
3244
3245 * libgcov-util.c (read_gcda_file): Fix format.
3246 (find_match_gcov_info): Ditto.
3247 (calculate_2_entries): New.
3248 (compute_one_gcov): Ditto.
3249 (gcov_info_count_all_cold): Ditto.
3250 (gcov_info_count_all_zero): Ditto.
3251 (extract_file_basename): Ditto.
3252 (get_file_basename): Ditto.
3253 (set_flag): Ditto.
3254 (matched_gcov_info): Ditto.
3255 (calculate_overlap): Ditto.
3256 (gcov_profile_overlap): Ditto.
3257 * libgcov-driver.c (compute_summary): Make
3258 it avavilable for external calls.
3259
fe1090c1
RX
32602014-10-06 Rong Xu <xur@google.com>
3261
3262 * Makefile.in: Ditto.
3263 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3264 (gcov_sort_icall_topn_counter): Ditto.
3265 (gcov_sort_topn_counter_arrays): Ditto.
3266 (dump_one_gcov): Sort indirect_call topn counters.
3267 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3268 function.
3269 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3270 utility function.
3271 (__gcov_indirect_call_topn_profiler): New profiler function.
3272 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3273 * libgcov.h: New decls.
3274
3daa7bbf
TS
32752014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3276
3277 * config.host: Remove support for score-*.
3278
9a79452d
JM
32792014-09-22 Joseph Myers <joseph@codesourcery.com>
3280
3281 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3282 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3283 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3284 __LIBGCC_XF_MANT_DIG__.
3285 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3286 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3287 __LIBGCC_TF_MANT_DIG__.
3288 * libgcc2.c (NOTRUNC): Define in terms of
3289 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3290 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3291
1a849e50
JM
32922014-09-22 Joseph Myers <joseph@codesourcery.com>
3293
3294 PR target/63312
3295 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3296 New macros.
3297
598a1586
HPN
32982014-09-22 Hans-Peter Nilsson <hp@axis.com>
3299
3300 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3301 override USE_PT_GNU_EH_FRAME.
3302 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3303 check USE_EH_FRAME_REGISTRY_ALWAYS against
3304 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3305 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3306 variable for substituted force_explicit_eh_registry.
3307 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3308 * configure.ac (explicit-exception-frame-registration):
3309 New AC_ARG_ENABLE.
3310 * configure: Regenerate.
3311
3a8fe7c6
OH
33122014-09-19 Olivier Hainque <hainque@adacore.com>
3313
3314 * config.host (powerpc-wrs-vxworksmils): New configuration,
3315 same as vxworksae.
3316
dd69f047
JM
33172014-09-18 Joseph Myers <joseph@codesourcery.com>
3318
3319 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3320
e770bfd9
JM
33212014-09-18 Joseph Myers <joseph@codesourcery.com>
3322
3323 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3324 bits not set bits as indicating trapping exceptions.
3325
cadb2b96
NS
33262014-09-17 Nathan sidwell <nathan@acm.org>
3327
3328 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3329 (LIBGCOV_DRIVER): ... here.
3330 * libgcov-driver.c (gcov_master): New.
3331 (gcov_exit): Remove from master chain.
3332 (__gcov_init): Add to master chain if version compatible. Don't
3333 clear the version.
3334 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3335 (gcov_reset_int): Clear master chain, if compatible.
3336 (gcov_dump_int): New internal interface. Dump master chain, if
3337 compatible.
3338 (gcov_dump): Alias for gcov_dump_int.
3339 * libgcov.h (struct gcov_root): Add next and prev fields.
3340 (struct gcov_master): New struct.
3341 (__gcov_master): New.
3342 (gcov_dump_int): Declare.
3343
580d22a3
OH
33442014-09-17 Olivier Hainque <hainque@adacore.com>
3345
3346 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3347 and crtbegin.o + crtend.o to extra_parts.
3348
8cc4b7a2
JM
33492014-09-12 Joseph Myers <joseph@codesourcery.com>
3350
3351 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3352 __LIBGCC_HAS_SF_MODE__.
3353 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3354 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3355 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3356 * config/libbid/bid_gcc_intrinsics.h
3357 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3358 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3359 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3360 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3361 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3362 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3363
ea3f2b24
GJL
33642014-09-11 Georg-Johann Lay <avr@gjlay.de>
3365
3366 PR target/63223
3367 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3368 and R24 as needed. Make work for all devices and .text locations.
3369 (__do_global_ctors, __do_global_dtors): Use word addresses.
3370 (__tablejump__, __tablejump_elpm__): Remove functions.
3371 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3372 Add _tablejump2.
3373 (XICALL, XIJMP): New macros.
3374
b677236a
MS
33752014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3376 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3377
3378 * config.host (aarch64*): Include crtfastmath.o and
3379 t-crtfm.
3380 * config/aarch64/crtfastmath.c: New file.
3381
157e859f
TS
33822014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3383
3384 * config.host: Remove picochip support.
3385 * config/picochip/adddi3.S: Remove.
3386 * config/picochip/ashlsi3.S: Remove.
3387 * config/picochip/ashlsi3.c: Remove.
3388 * config/picochip/ashrsi3.S: Remove.
3389 * config/picochip/ashrsi3.c: Remove.
3390 * config/picochip/clzsi2.S: Remove.
3391 * config/picochip/cmpsi2.S: Remove.
3392 * config/picochip/divmod15.S: Remove.
3393 * config/picochip/divmodhi4.S: Remove.
3394 * config/picochip/divmodsi4.S: Remove.
3395 * config/picochip/lib1funcs.S: Remove.
3396 * config/picochip/longjmp.S: Remove.
3397 * config/picochip/lshrsi3.S: Remove.
3398 * config/picochip/lshrsi3.c: Remove.
3399 * config/picochip/parityhi2.S: Remove.
3400 * config/picochip/popcounthi2.S: Remove.
3401 * config/picochip/setjmp.S: Remove.
3402 * config/picochip/subdi3.S: Remove.
3403 * config/picochip/t-picochip: Remove.
3404 * config/picochip/ucmpsi2.S: Remove.
3405 * config/picochip/udivmodhi4.S: Remove.
3406 * config/picochip/udivmodsi4.S: Remove.
3407
66bb34c0
JM
34082014-09-08 Joseph Myers <joseph@codesourcery.com>
3409
3410 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3411 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3412 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3413 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3414 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3415 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3416 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3417 defined and LIBGCC2_HAS_DF_MODE is defined.
3418 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3419 defined and LIBGCC2_HAS_XF_MODE is defined.
3420 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3421 defined and LIBGCC2_HAS_TF_MODE is defined.
3422
9686a2e6
JM
34232014-09-08 Joseph Myers <joseph@codesourcery.com>
3424
3425 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3426 and ROUND_TOWARDS_ZERO conditionals.
3427
71c3e2ef
NS
34282014-09-07 Nathan sidwell <nathan@acm.org>
3429
3430 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3431 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3432
53d68b9f
JM
34332014-09-05 Joseph Myers <joseph@codesourcery.com>
3434
3435 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3436 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3437 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3438 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3439 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3440 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3441 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3442 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3443 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3444 (DWARF_FRAME_REGISTERS): Change all uses to
3445 __LIBGCC_DWARF_FRAME_REGISTERS__.
3446 (EH_RETURN_STACKADJ_RTX): Change all uses to
3447 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3448 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3449 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3450 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3451 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3452 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3453 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3454 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3455 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3456 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3457 __LIBGCC_STACK_POINTER_REGNUM__.
3458 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3459 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3460 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3461 to __LIBGCC_STACK_POINTER_REGNUM__.
3462 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3463 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3464 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3465 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3466 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3467 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3468 (STACK_POINTER_REGNUM): Change all uses to
3469 __LIBGCC_STACK_POINTER_REGNUM__.
3470 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3471 use to __LIBGCC_STACK_POINTER_REGNUM__.
3472 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3473 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3474 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3475 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3476 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3477 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3478 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3479 to __LIBGCC_STACK_POINTER_REGNUM__.
3480 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3481 Remove conditional definition.
3482 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3483 __LIBGCC_TEXT_SECTION_ASM_OP__.
3484 (EH_FRAME_SECTION_NAME): Change all uses to
3485 __LIBGCC_EH_FRAME_SECTION_NAME__.
3486 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3487 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3488 (CTORS_SECTION_ASM_OP): Change all uses to
3489 __LIBGCC_CTORS_SECTION_ASM_OP__.
3490 (DTORS_SECTION_ASM_OP): Change all uses to
3491 __LIBGCC_DTORS_SECTION_ASM_OP__.
3492 (JCR_SECTION_NAME): Change all uses to
3493 __LIBGCC_JCR_SECTION_NAME__.
3494 (INIT_SECTION_ASM_OP): Change all uses to
3495 __LIBGCC_INIT_SECTION_ASM_OP__.
3496 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3497 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3498 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3499 __LIBGCC_STACK_GROWS_DOWNWARD__.
3500 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3501 __LIBGCC_INIT_SECTION_ASM_OP__.
3502 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3503 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3504 (EH_FRAME_SECTION_NAME): Change all uses to
3505 __LIBGCC_EH_FRAME_SECTION_NAME__.
3506 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3507 definitions. Change all uses to
3508 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3509 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3510 __LIBGCC_STACK_GROWS_DOWNWARD__.
3511 (DWARF_FRAME_REGISTERS): Change all uses to
3512 __LIBGCC_DWARF_FRAME_REGISTERS__.
3513 (EH_RETURN_STACKADJ_RTX): Change all uses to
3514 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3515 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3516 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3517 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3518 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3519 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3520
b20ee094
NS
35212014-09-02 Nathan sidwell <nathan@acm.org>
3522
3523 * libgcov-interface.c (STRONG_ALIAS): New.
3524 (__gcov_flush): Call __gcov_reset_int.
3525 (__gcov_reset): Strong alias for ...
3526 (__gcov_reset_ing): ... this renamed hidden version.
3527 * libgcov.h (__gcov_reset_int): New declaration.
3528
1ac83976
YS
35292014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3530
25efdb9f
YS
3531 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3532 call from here...
3533 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3534 (__dso_handle): Define on Cygwin.
3535 * config/i386/t-cygming (crtbeginS.o): New rule.
3536 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3537
1ac83976
YS
3538 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3539 declaration syntax.
3540
c6f9ea3b
SE
35412014-08-13 Steve Ellcey <sellcey@mips.com>
3542
3543 * crtstuff.c: Undef caddr_t.
3544
5b1ea7c5
SE
35452014-08-12 Steve Ellcey <sellcey@mips.com>
3546
3547 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3548
4303c581
NS
35492014-08-07 Nathan Sidwell <nathan@acm.org>
3550
3551 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3552 (LIBGCOV_DRIVER): ... to here.
3553 * libgcov.h (gcov_do_dump): New #define.
3554 (struct gcov_root): New.
3555 (__gcov_root): New declaration.
3556 (__gcov_dump_one): Declare.
3557 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3558 run_accounted): Delete.
3559 (gcov_compute_histogram): Add LIST argument, adjust.
3560 (compute_summary): Adjust gcov_compute_histogram call.
3561 (gcov_do_dump): Not hidden, static in libgcov.
3562 (gcov_clear): Move to interface.c.
3563 (__gcov_dump_one): New, broken out of ...
3564 (gcov_exit): ... here. Make static.
3565 (__gcov_root): New.
3566 (__gcov_init): Adjust.
3567 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3568 declarations.
3569 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3570 (gcov_clear): Moved from driver.c. Add LIST argument.
3571 (__gcov_reset): Adjust for changed interfaces.
3572 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3573
23742a9e
RAR
35742014-08-04 Rohit <rohitarulraj@freescale.com>
3575
3576 PR target/60102
3577 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3578 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3579
b98a872b
NS
35802014-08-01 Nathan Sidwell <nathan@acm.org>
3581
3582 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3583 LIBGCOV_INTERFACE): Reformat.
3584 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3585 IN_GCOV_TOOL.
3586 * libgcov-interface.c: Reformat some comments.
3587 (__gcov_flush_mx): Add declaration. Tidy up definition.
3588
6adaaa1d
AM
35892014-07-31 Alan Modra <amodra@gmail.com>
3590 Peter Bergner <bergner@vnet.ibm.com>
3591
3592 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3593 (pack_ldouble): New function.
3594 (__gcc_qadd): Use it.
3595 (__gcc_qmul): Likewise.
3596 (__gcc_qdiv): Likewise.
3597 (__gcc_qneg): Likewise.
3598 (__gcc_stoq): Likewise.
3599 (__gcc_dtoq): Likewise.
3600
87cb0c0c
UW
36012014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3602
3603 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3604 (__tpf_eh_return): Add original return address as second parameter.
3605 Handle cases where unwinder routines were called directly, instead
3606 of from within the C++ library.
3607
19926161
NS
36082014-07-29 Nathan Sidwell <nathan@acm.org>
3609
3610 * libgcov.h: Move renaming of entry points to lib gcov specific
3611 portion.
3612 (gcov_do_dump): New rename.
3613 (gcov_rewrite): Remove inline, make HIDDEN.
3614 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3615 (gcov_exit_compute_summary): Rename to ...
3616 (compute_summary): ... here. Add LIST argument.
3617 (gcov_exit_merge_gcda): Rename to ...
3618 (merge_one_data): ... here.
3619 (gcov_exit_write_gcda): Rename to ...
3620 (write_one_data): ... here.
3621 (gcov_exit_merge_summary): Rename to ...
3622 (merge_summary): Add RUN_COUNTED argument.
3623 (gcov_exit_dump_gcov): Rename to ...
3624 (dump_one_gcov): Add RUN_COUNTED argument.
3625 (gcov_do_dump): New function, broken out of ...
3626 (gcov_exit): ... here. Call it.
3627
17522262
AG
36282014-07-27 Anthony Green <green@moxielogic.com>
3629
3630 * config.host: Add moxiebox configuration suppport.
3631
6dc33097
NS
36322014-07-27 Nathan Sidwell <nathan@acm.org>
3633
3634 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3635 (struct gcov_filename): ... here. Include buffer and max length
3636 fields.
3637 (gcov_max_filename): Remove.
3638 (gi_filename): Remove.
3639 (gcov_exit_compute_summary): Compute max filename here.
3640 (gcov_exit_merge_gcda): Add filename parm, adjust.
3641 (gcov_exit_merge_summary): Likewise.
3642 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3643 (gcov_exit): Likewise.
3644 (__gcov_init): Don't calculate max length here.
3645 * libgcov_util.c (max_filename_len): Remove.
3646 (read_gcda_file): Don't calculate max length here.
3647 (gcov_read_profile_dir): Don't propagate here.
3648 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3649 struct gcov_filename changes.
3650 (gcov_exit_open_gcda_file): Likewise.
3651
770f687d
NS
36522014-07-25 Nathan Sidwell <nathan@acm.org>
3653
3654 * libgcov-driver.c (set_gcov_dump_complete,
3655 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3656 functions polluting user's namespace.
3657 (gcov_exit): Set variable directly.
3658 (gcov_clear): Reset variable directly.
3659 * libgcov-interface.c (get_gcov_dymp_complete,
3660 reset_gov_dump_complete): Remove declarations.
3661 (__gcov_reset, __gcov_dump): Don't call them.
3662
fabf71ba
DD
36632014-07-24 DJ Delorie <dj@redhat.com>
3664
3665 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
3666 (__gcc_deregister_frame): Move logic to detect deregister function
3667 to ...
3668 (__gcc_register_frame): here, so it's consistent with the register
3669 logic.
fabf71ba 3670
d10ee722
NS
36712014-07-23 Nathan Sidwell <nathan@acm.org>
3672
3673 * libgcov-driver.c (set_gcov_list): Remove.
3674 (gcov_list): Make non-static in GCOV_TOOL.
3675 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3676
a4137090
JDA
36772014-07-17 John David Anglin <danglin@gcc.gnu.org>
3678
3679 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3680 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3681 Don't use SYNC_LOCK_RELEASE for int type.
3682
72602c6c
RB
36832014-07-14 Richard Biener <rguenther@suse.de>
3684
3685 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3686
d5313205
RX
36872014-07-11 Rong Xu <xur@google.com>
3688
3689 * libgcov-util.c (gcov_max_filename): Fix declartion.
3690
c77556a5
RX
36912014-07-10 Rong Xu <xur@google.com>
3692
3693 Add gcov-tool: an offline gcda profile processing tool
3694 Support.
3695 * libgcov-driver.c (gcov_max_filename): Make available
3696 to gcov-tool.
3697 * libgcov-merge.c (__gcov_merge_add): Replace
3698 gcov_read_counter() with a Macro.
3699 (__gcov_merge_ior): Ditto.
3700 (__gcov_merge_time_profile): Ditto.
3701 (__gcov_merge_single): Ditto.
3702 (__gcov_merge_delta): Ditto.
3703 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3704 in the utility functions.
3705 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3706 gcov_list object link lists.
3707 (tag_function): Ditto.
3708 (tag_blocks): Ditto.
3709 (tag_arcs): Ditto.
3710 (tag_lines): Ditto.
3711 (tag_counters): Ditto.
3712 (tag_summary): Ditto.
3713 (read_gcda_finalize): Ditto.
3714 (read_gcda_file): Ditto.
3715 (ftw_read_file): Ditto.
3716 (read_profile_dir_init): Ditto.
3717 (gcov_read_profile_dir): Ditto.
3718 (gcov_read_counter_mem): Ditto.
3719 (gcov_get_merge_weight): Ditto.
3720 (merge_wrapper): A wrapper function that calls merging handler.
3721 (gcov_merge): Merge two gcov_info objects with weights.
3722 (find_match_gcov_info): Find the matched gcov_info in the list.
3723 (gcov_profile_merge): Merge two gcov_info object lists.
3724 (__gcov_add_counter_op): Process edge profile counter values.
3725 (__gcov_ior_counter_op): Process IOR profile counter values.
3726 (__gcov_delta_counter_op): Process delta profile counter values.
3727 (__gcov_single_counter_op): Process single profile counter values.
3728 (fp_scale): Callback function for float-point scaling.
cc86234f 3729 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
3730 (gcov_profile_scale): Scaling profile counters.
3731 (gcov_profile_normalize): Normalize profile counters.
3732 * libgcov.h: Add headers and functions for gcov-tool use.
3733 (gcov_get_counter): New.
3734 (gcov_get_counter_target): Ditto.
3735 (struct gcov_info): Make the functions field mutable in gcov-tool
3736 compilation.
3737
5c7dac8a
KT
37382014-06-23 Kai Tietz <ktietz@redhat.com>
3739
3740 PR libgcc/61585
3741 * unwind-seh.c (_Unwind_GetGR): Check for proper
3742 index range.
3743 (_Unwind_SetGR): Likewise.
3744
161c9312
NC
37452014-05-22 Nick Clifton <nickc@redhat.com>
3746
3747 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3748 -mhwmult=none.
3749
e3f0315f
TJ
37502014-05-22 Teresa Johnson <tejohnson@google.com>
3751
3752 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3753 include.
3754
dbed5a9b
JM
37552014-05-20 John Marino <gnugcc@marino.st>
3756
3757 * config.host (*-*-dragonfly*): New target.
3758 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3759 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3760 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3761 * config/i386/dragonfly-unwind.h: New.
3762
1ec380e5
MR
37632014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3764
3765 PR libgcc/60166
3766 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3767 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3768
54fde020
BE
37692014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3770
3771 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3772 implementation.
3773
999db125
GJL
37742014-05-12 Georg-Johann Lay <avr@gjlay.de>
3775
3776 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3777
cceaf54a
RO
37782014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3779
3780 PR libgcc/61097
3781 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3782 if --enable-shared.
3783
e3fe9b5b
BE
37842014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3785
3786 Work around for current cygwin32 build problems.
3787 * config/i386/cygming-crtbegin.c (__register_frame_info,
3788 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3789 functions only for 64-bit systems.
3790
54cf37e9
RO
37912014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3792
3793 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3794 (sigill_caught, sigill_hdlr): Remove.
3795
d9f069ab
RO
37962014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3797
3798 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3799 check.
3800 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3801 Solaris 9 single-threaded support.
3802 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3803 Solaris 9 single-threaded support. Add call_user_handler code
3804 sequences.
3805 (sparc_is_sighandler): Likewise.
3806
59976ef8
AK
38072014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3808
3809 * config.host: Append t-floattodi to tmake_file depending on
3810 host_address.
3811
d02bbcf3
JS
38122014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3813
31466bc0 3814 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 3815
c2e7e597
UB
38162014-03-10 Uros Bizjak <ubizjak@gmail.com>
3817
3818 PR libgcc/60472
3819 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 3820 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
3821 Use __builtin_expect when checking *jcr_list for NULL.
3822
227a7dc8
RO
38232014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3824
3825 PR libgcc/59339
3826 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3827 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3828 vtv_*.o to extra_parts if enable_vtable_verify.
3829
df2b279c
NC
38302014-03-06 Nick Clifton <nickc@redhat.com>
3831
3832 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3833 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3834
dc11d79b
JY
38352014-02-28 Joey Ye <joey.ye@arm.com>
3836
3837 PR libgcc/60166
3838 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3839 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3840 Set to zero.
3841
341c653c
WL
38422014-02-24 Walter Lee <walt@tilera.com>
3843
3844 * config.host: Support "tilegx*" and "tilepro*" triplets.
3845 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3846 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3847
95ce7613
CLT
38482014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3849 Chung-Lin Tang <cltang@codesourcery.com>
3850
3851 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3852 * config/nios2/crti.S: Remove .file directive.
3853 * config/nios2/crtn.S: Likewise.
3854
0bb4fc05
KT
38552014-02-18 Kai Tietz <ktietz@redhat.com>
3856 Jonathan Schleifer <js@webkeks.org>
3857
3858 PR objc/56870
3859 * unwind-seh.c (_GCC_specific_handler): Pass proper
3860 value to unwind-handler.
3861
9acf28f1
JM
38622014-02-12 Joseph Myers <joseph@codesourcery.com>
3863
3864 * soft-fp/adddf3.c: Update from glibc.
3865 * soft-fp/addsf3.c: Likewise.
3866 * soft-fp/addtf3.c: Likewise.
3867 * soft-fp/divdf3.c: Likewise.
3868 * soft-fp/divsf3.c: Likewise.
3869 * soft-fp/divtf3.c: Likewise.
3870 * soft-fp/double.h: Likewise.
3871 * soft-fp/eqdf2.c: Likewise.
3872 * soft-fp/eqsf2.c: Likewise.
3873 * soft-fp/eqtf2.c: Likewise.
3874 * soft-fp/extenddftf2.c: Likewise.
3875 * soft-fp/extended.h: Likewise.
3876 * soft-fp/extendsfdf2.c: Likewise.
3877 * soft-fp/extendsftf2.c: Likewise.
3878 * soft-fp/extendxftf2.c: Likewise.
3879 * soft-fp/fixdfdi.c: Likewise.
3880 * soft-fp/fixdfsi.c: Likewise.
3881 * soft-fp/fixdfti.c: Likewise.
3882 * soft-fp/fixsfdi.c: Likewise.
3883 * soft-fp/fixsfsi.c: Likewise.
3884 * soft-fp/fixsfti.c: Likewise.
3885 * soft-fp/fixtfdi.c: Likewise.
3886 * soft-fp/fixtfsi.c: Likewise.
3887 * soft-fp/fixtfti.c: Likewise.
3888 * soft-fp/fixunsdfdi.c: Likewise.
3889 * soft-fp/fixunsdfsi.c: Likewise.
3890 * soft-fp/fixunsdfti.c: Likewise.
3891 * soft-fp/fixunssfdi.c: Likewise.
3892 * soft-fp/fixunssfsi.c: Likewise.
3893 * soft-fp/fixunssfti.c: Likewise.
3894 * soft-fp/fixunstfdi.c: Likewise.
3895 * soft-fp/fixunstfsi.c: Likewise.
3896 * soft-fp/fixunstfti.c: Likewise.
3897 * soft-fp/floatdidf.c: Likewise.
3898 * soft-fp/floatdisf.c: Likewise.
3899 * soft-fp/floatditf.c: Likewise.
3900 * soft-fp/floatsidf.c: Likewise.
3901 * soft-fp/floatsisf.c: Likewise.
3902 * soft-fp/floatsitf.c: Likewise.
3903 * soft-fp/floattidf.c: Likewise.
3904 * soft-fp/floattisf.c: Likewise.
3905 * soft-fp/floattitf.c: Likewise.
3906 * soft-fp/floatundidf.c: Likewise.
3907 * soft-fp/floatundisf.c: Likewise.
3908 * soft-fp/floatunditf.c: Likewise.
3909 * soft-fp/floatunsidf.c: Likewise.
3910 * soft-fp/floatunsisf.c: Likewise.
3911 * soft-fp/floatunsitf.c: Likewise.
3912 * soft-fp/floatuntidf.c: Likewise.
3913 * soft-fp/floatuntisf.c: Likewise.
3914 * soft-fp/floatuntitf.c: Likewise.
3915 * soft-fp/gedf2.c: Likewise.
3916 * soft-fp/gesf2.c: Likewise.
3917 * soft-fp/getf2.c: Likewise.
3918 * soft-fp/ledf2.c: Likewise.
3919 * soft-fp/lesf2.c: Likewise.
3920 * soft-fp/letf2.c: Likewise.
3921 * soft-fp/muldf3.c: Likewise.
3922 * soft-fp/mulsf3.c: Likewise.
3923 * soft-fp/multf3.c: Likewise.
3924 * soft-fp/negdf2.c: Likewise.
3925 * soft-fp/negsf2.c: Likewise.
3926 * soft-fp/negtf2.c: Likewise.
3927 * soft-fp/op-1.h: Likewise.
3928 * soft-fp/op-2.h: Likewise.
3929 * soft-fp/op-4.h: Likewise.
3930 * soft-fp/op-8.h: Likewise.
3931 * soft-fp/op-common.h: Likewise.
3932 * soft-fp/quad.h: Likewise.
3933 * soft-fp/single.h: Likewise.
3934 * soft-fp/soft-fp.h: Likewise.
3935 * soft-fp/subdf3.c: Likewise.
3936 * soft-fp/subsf3.c: Likewise.
3937 * soft-fp/subtf3.c: Likewise.
3938 * soft-fp/truncdfsf2.c: Likewise.
3939 * soft-fp/trunctfdf2.c: Likewise.
3940 * soft-fp/trunctfsf2.c: Likewise.
3941 * soft-fp/trunctfxf2.c: Likewise.
3942 * soft-fp/unorddf2.c: Likewise.
3943 * soft-fp/unordsf2.c: Likewise.
3944 * soft-fp/unordtf2.c: Likewise.
3945 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3946 macro.
3947 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3948 Likewise.
3949 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3950 Likewise.
3951 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3952 Likewise.
3953 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3954 Likewise.
3955 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3956 Likewise.
3957 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3958 Likewise.
3959 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3960 Likewise.
3961 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3962 Likewise.
3963 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3964 Likewise.
3965 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3966 Likewise.
3967 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3968 Likewise.
3969 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3970 Likewise.
3971 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3972 Likewise.
3973 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3974 Likewise.
3975 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3976 Likewise.
3977
ce245ec6
AK
39782014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3979
3980 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3981 cannot be represented.
3982 * config/s390/32/_fixsfdi.c: Likewise.
3983 * config/s390/32/_fixtfdi.c: Likewise.
3984 * config/s390/32/_fixunsdfdi.c: Likewise.
3985 * config/s390/32/_fixunssfdi.c: Likewise.
3986 * config/s390/32/_fixunstfdi.c: Likewise.
3987
1c51d688
RS
39882014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3989
3990 * configure.ac (libgcc_cv_mips_hard_float): New.
3991 * configure: Regenerate.
3992 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3993 t-softfp-sfdf for hard-float targets.
3994 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3995 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3996 (softfp_truncations, softfp_exclude_libgcc2): New.
3997 * config/t-hardfp: New file.
3998 * config/t-hardfp-sfdf: Likewise.
3999 * config/hardfp.c: Likewise.
4000
bbf391db
AK
40012014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4002
4003 * config.host: Include t-floattodi also for s390x.
4004 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4005 * config/s390/32/_fixsfdi.c: Likewise.
4006 * config/s390/32/_fixtfdi.c: Likewise.
4007 * config/s390/32/_fixunsdfdi.c: Likewise.
4008 * config/s390/32/_fixunssfdi.c: Likewise.
4009 * config/s390/32/_fixunstfdi.c: Likewise.
4010
91da0481
RO
40112014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4012
4013 PR target/59788
4014 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4015 (install-libgcc-unwind-map-forbuild): New target.
4016 (all): Depend on install-libgcc-unwind-map-forbuild.
4017 (install-libgcc-unwind-map): New target.
4018 (install): Depend on install-libgcc-unwind-map.
4019
02b67731
SL
40202014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4021
4022 * config/nios2/crti.S (_init): Initialize GOT pointer from
4023 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4024
1ea0a651
RS
40252014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4026
4027 * configure.ac: Check __mips64 when setting host_address.
4028 * configure: Regenerate.
4029 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4030 mips/t-mips64 and t-softfp.
4031 (mips*-*-linux*): Don't add mips/t-tpbit.
4032 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4033 (DPBIT, DPBIT_CFLAGS): Delete.
4034 * config/mips/sfp-machine.h: New file.
4035 * config/mips/t-mips64: Likewise.
4036 * config/mips/t-softfp-tf: Likewise.
4037 * config/mips/t-tpbit: Delete.
4038
f32b0061
MS
40392014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4040
4041 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4042 as long long.
4043
a5420aa4
WL
40442014-01-25 Walter Lee <walt@tilera.com>
4045
4046 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4047 config.h or system.h.
4048 (bool) Define.
4049
24534912
WL
40502014-01-25 Walter Lee <walt@tilera.com>
4051
4052 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4053 (post_atomic_barrier): Ditto.
4054 (__fetch_and_do): New macro.
4055 (__atomic_fetch_and_do): Use __fetch_and_do.
4056 (__sync_fetch_and_do): New macro.
4057 (__sync_fetch_and_add_4): New function.
4058 (__sync_fetch_and_sub_4): New function.
4059 (__sync_fetch_and_or_4): New function.
4060 (__sync_fetch_and_and_4): New function.
4061 (__sync_fetch_and_xor_4): New function.
4062 (__sync_fetch_and_nand_4): New function.
4063 (__sync_fetch_and_add_8): New function.
4064 (__sync_fetch_and_sub_8): New function.
4065 (__sync_fetch_and_or_8): New function.
4066 (__sync_fetch_and_and_8): New function.
4067 (__sync_fetch_and_xor_8): New function.
4068 (__sync_fetch_and_nand_8): New function.
4069 (__do_and_fetch): New macro.
4070 (__atomic_do_and_fetch): Use __do_and_fetch.
4071 (__sync_do_and_fetch): New macro.
4072 (__sync_add_and_fetch_4): New function.
4073 (__sync_sub_and_fetch_4): New function.
4074 (__sync_or_and_fetch_4): New function.
4075 (__sync_and_and_fetch_4): New function.
4076 (__sync_xor_and_fetch_4): New function.
4077 (__sync_nand_and_fetch_4): New function.
4078 (__sync_add_and_fetch_8): New function.
4079 (__sync_sub_and_fetch_8): New function.
4080 (__sync_or_and_fetch_8): New function.
4081 (__sync_and_and_fetch_8): New function.
4082 (__sync_xor_and_fetch_8): New function.
4083 (__sync_nand_and_fetch_8): New function.
4084 (__sync_exchange_methods): New macro.
4085 (__sync_val_compare_and_swap_4): New function.
4086 (__sync_bool_compare_and_swap_4): New function.
4087 (__sync_lock_test_and_test_4): New function.
4088 (__sync_val_compare_and_swap_8): New function.
4089 (__sync_bool_compare_and_swap_8): New function.
4090 (__sync_lock_test_and_test_8): New function.
4091 (__subword_cmpxchg_body): New macro.
4092 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4093 (__atomic_compare_exchange_2): Ditto.
4094 (__sync_subword_cmpxchg): New macro.
4095 (__sync_val_compare_and_swap_1): New function.
4096 (__sync_bool_compare_and_swap_1): New function.
4097 (__sync_val_compare_and_swap_2): New function.
4098 (__sync_bool_compare_and_swap_2): New function.
4099 (__atomic_subword): Rename to ...
4100 (__subword): ... New name.
4101 (__atomic_subword_fetch): Use __subword.
4102 (__sync_subword_fetch): New macro.
4103 (__sync_fetch_and_add_1): New function.
4104 (__sync_fetch_and_sub_1): New function.
4105 (__sync_fetch_and_or_1): New function.
4106 (__sync_fetch_and_and_1): New function.
4107 (__sync_fetch_and_xor_1): New function.
4108 (__sync_fetch_and_nand_1): New function.
4109 (__sync_fetch_and_add_2): New function.
4110 (__sync_fetch_and_sub_2): New function.
4111 (__sync_fetch_and_or_2): New function.
4112 (__sync_fetch_and_and_2): New function.
4113 (__sync_fetch_and_xor_2): New function.
4114 (__sync_fetch_and_nand_2): New function.
4115 (__sync_add_and_fetch_1): New function.
4116 (__sync_sub_and_fetch_1): New function.
4117 (__sync_or_and_fetch_1): New function.
4118 (__sync_and_and_fetch_1): New function.
4119 (__sync_xor_and_fetch_1): New function.
4120 (__sync_nand_and_fetch_1): New function.
4121 (__sync_add_and_fetch_2): New function.
4122 (__sync_sub_and_fetch_2): New function.
4123 (__sync_or_and_fetch_2): New function.
4124 (__sync_and_and_fetch_2): New function.
4125 (__sync_xor_and_fetch_2): New function.
4126 (__sync_nand_and_fetch_2): New function.
4127 (__atomic_subword_lock): Use __subword.
4128 (__sync_subword_lock): New macro.
4129 (__sync_lock_test_and_set_1): New function.
4130 (__sync_lock_test_and_set_2): New function.
4131
4d6d3bc5
WL
41322014-01-25 Walter Lee <walt@tilera.com>
4133
4134 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4135 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4136 (__atomic_subword): Ditto.
4137
cbd9890e
WL
41382014-01-25 Walter Lee <walt@tilera.com>
4139
4140 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4141 a prefix op argument.
4142 (__atomic_nand_fetch_4): Add prefix op.
4143 (__atomic_nand_fetch_8): Ditto.
4144
7d296953 41452014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4146
4147 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4148
46dd1242
L
41492014-01-09 Rong Xu <xur@google.com>
4150
4151 * libgcov-driver.c (this_prg): make it local to save
4152 bss space.
4153 (gcov_exit_compute_summary): Ditto.
4154 (gcov_exit_merge_gcda): Ditto.
4155 (gcov_exit_merge_summary): Ditto.
4156 (gcov_exit_dump_gcov): Ditto.
4157
cc86234f 41582014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4159
4160 * libgcov-driver.c: Use libgcov.h.
4161 (buffer_fn_data): Use xmalloc instead of malloc.
4162 (gcov_exit_merge_gcda): Ditto.
4163 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4164 * libgcov.h: New common header files for libgcov-*.h.
4165 * libgcov-interface.c: Use libgcov.h
4166 * libgcov-merge.c: Ditto.
4167 * libgcov-profiler.c: Ditto.
4168 * Makefile.in: Add dependence to libgcov.h
4169
a02e7bdd
JM
41702014-01-02 Joseph Myers <joseph@codesourcery.com>
4171
4172 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4173 case of small numerator and finite nonzero result.
4174
ac1dca3c
RS
41752014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4176
4177 Update copyright years
4178
f9030485
RS
41792014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4180
4181 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4182 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4183 config/arc/dp-hack.h, config/arc/fp-hack.h,
4184 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4185 config/arc/ieee-754/arc600-dsp/divdf3.S,
4186 config/arc/ieee-754/arc600-dsp/divsf3.S,
4187 config/arc/ieee-754/arc600-dsp/muldf3.S,
4188 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4189 config/arc/ieee-754/arc600-mul64/divdf3.S,
4190 config/arc/ieee-754/arc600-mul64/divsf3.S,
4191 config/arc/ieee-754/arc600-mul64/muldf3.S,
4192 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4193 config/arc/ieee-754/arc600/divsf3.S,
4194 config/arc/ieee-754/arc600/mulsf3.S,
4195 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4196 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4197 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4198 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4199 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4200 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4201 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4202 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4203 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4204 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4205 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4206 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4207 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4208 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4209 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4210 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4211 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4212 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4213 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4214 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4215 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4216 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4217 vtv_start_preinit.c: Use the standard form for the copyright notice.
4218
e430824f
CLT
42192013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4220 Chung-Lin Tang <cltang@codesourcery.com>
4221 Based on patches from Altera Corporation
4222
4223 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4224 * config/nios2/lib2-nios2.h: New file.
4225 * config/nios2/lib2-divmod-hi.c: New file.
4226 * config/nios2/linux-unwind.h: New file.
4227 * config/nios2/lib2-divmod.c: New file.
4228 * config/nios2/linux-atomic.c: New file.
4229 * config/nios2/t-nios2: New file.
4230 * config/nios2/crti.asm: New file.
4231 * config/nios2/t-linux: New file.
4232 * config/nios2/lib2-divtable.c: New file.
4233 * config/nios2/lib2-mul.c: New file.
4234 * config/nios2/tramp.c: New file.
4235 * config/nios2/crtn.asm: New file.
4236
1879e97f
UB
42372013-12-26 Uros Bizjak <ubizjak@gmail.com>
4238
4239 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4240 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4241 from cpuid.h to check vendor signatures.
4242
f4a4bdbb
GG
42432013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4244
c2e7e597 4245 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4246 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4247 (get_amd_cpu): Likewise.
4248
8d2ae544
L
42492013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4250
4251 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4252 Haswell.
4253
74924838
ASJ
42542013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4255 H.J. Lu <hongjiu.lu@intel.com>
4256
0bb52f25
L
4257 PR target/59422
4258 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4259 and AMD_JAGUAR.
4260 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4261 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4262 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4263 FEATURE_XOP and FEATURE_FMA.
4264 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4265 AMDFAM15H_BDVER3.
4266 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4267 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4268 FEATURE_FMA4 and FEATURE_XOP.
4269
d3c11974
L
42702013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4271
4272 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4273 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4274 (get_intel_cpu): Updated.
4275
064c4ff2
ZC
42762013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4277
4278 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4279
8b02e720
UB
42802013-12-09 Uros Bizjak <ubizjak@gmail.com>
4281
4282 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4283 instructions when __SSE_MATH__ is defined.
8b02e720 4284
3fa2ccb4
RC
42852013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4286
4287 * config.host (microblaze-*-rtems*): New.
4288
ecd78fc9
KV
42892013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4290
4291 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4292 architectures that do not have hardware divide instruction.
4293 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4294
b21fbbd2
RS
42952013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4296
4297 * longlong.h: Delete (moved to include/).
4298
b03fb8c9
AZ
42992013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4300
4301 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4302 of normal number and qNaN to not raise an inexact exception.
4303
3c716922
UB
43042013-11-28 Uros Bizjak <ubizjak@gmail.com>
4305
4306 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4307
43082013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4309
4310 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4311 for correct opcodes on BE.
4312
a3458d22
UB
43132013-11-27 Uros Bizjak <ubizjak@gmail.com>
4314
4315 * soft-fp/op-4.h: Update from glibc.
4316
30b8f78b
KV
43172013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4318
4319 * libgcc2.c (__udivmoddi4): Define new implementation when
4320 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4321 divide instructions.
4322
82552a29
OE
43232013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4324
4325 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4326
80e87457
RO
43272013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4328
4329 * config/t-softfp (soft-fp-objects-base): New variable.
4330 (soft-fp-objects): Use it.
4331
44178879
DE
43322013-11-23 David Edelson <dje.gcc@gmail.com>
4333 Andrew Dixie <andrewd@gentrack.com>
4334
4335 PR target/33704
4336 * config/rs6000/aixinitfini.c: New file.
4337 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4338 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4339 symbols.
4340
e5287671
YR
43412013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4342
a3458d22 4343 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4344
867c8b03
JH
43452013-11-18 Jan Hubicka <jh@suse.cz>
4346
7f369373
JH
4347 * libgcov-driver.c (run_accounted): Make global level static.
4348 (gcov_exit_merge_summary): Silence warning; do not clear
4349 run_accounted here.
4350 (gcov_exit): Clear it here.
4351
1d0b3334
JH
4352 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4353 run_accounted.
4354
867c8b03
JH
4355 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4356 (all_prg, crc32): Remove static vars.
4357 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4358 all_prg.
4359 (gcov_exit_merge_gcda): Add crc32 parameter.
4360 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4361 do not account run if it was already accounted.
4362 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4363 (gcov_exit): Initialize all_prg; update.
4364
66204992
AS
43652013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4366
4367 * configure: Regenerate.
4368
b54214fe
UW
43692013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4370 Alan Modra <amodra@gmail.com>
4371
4372 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4373 (frob_update_context): Use it.
4374
43752013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4376 Alan Modra <amodra@gmail.com>
4377
4378 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4379 (trampoline_initial): Provide ELFv2 variant.
4380 (__trampoline_setup): Likewise.
4381
4382 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4383 check for AIX indirect function call sequence if _CALL_ELF == 2.
4384
43852013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4386 Alan Modra <amodra@gmail.com>
4387
4388 * config/rs6000/linux-unwind.h (get_regs): Do not support
4389 old kernel versions if _CALL_ELF == 2.
4390 (frob_update_context): Do not support PLT stub variants only
4391 generated by old linkers if _CALL_ELF == 2.
4392
13e0981a
UW
43932013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4394 Alan Modra <amodra@gmail.com>
4395
4396 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4397 location of CR save area for 64-bit little-endian systems.
4398
1a80085d
EB
43992013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4400
4401 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4402 in tmake_file.
4403 * config/arm/t-vxworks: Delete.
4404
cabeea52
KT
44052013-11-10 Kai Tietz <ktietz@redhat.com>
4406
4407 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4408 Increment load-count on use of LIBGCC_SONAME DLL.
4409 (hmod_libgcc): New static variable to hold handle of
4410 LIBGCC_SONAME DLL.
4411 (__gcc_deregister_frame): Decrement load-count of
4412 LIBGCC_SONAME DLL.
4413
ac088ba1
BRF
44142013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4415
4416 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4417 availability.
4418 * configure: Regenerate
4419
d59a8fcc
UB
44202013-11-07 Uros Bizjak <ubizjak@gmail.com>
4421
4422 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4423 FP_EX_DENORM. Store result to volatile location after SSE division
4424 to close interrupt window. Remove unneeded fwait after x87
4425 division since interrupt window will be closed by emitted fstp.
9de84e84 4426 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4427
9954c743
JM
44282013-11-06 Joseph Myers <joseph@codesourcery.com>
4429
4430 * soft-fp/README: Update.
4431 * soft-fp/adddf3.c: Update from glibc.
4432 * soft-fp/addsf3.c: Likewise.
4433 * soft-fp/addtf3.c: Likewise.
4434 * soft-fp/divdf3.c: Likewise.
4435 * soft-fp/divsf3.c: Likewise.
4436 * soft-fp/divtf3.c: Likewise.
4437 * soft-fp/double.h: Likewise.
4438 * soft-fp/eqdf2.c: Likewise.
4439 * soft-fp/eqsf2.c: Likewise.
4440 * soft-fp/eqtf2.c: Likewise.
4441 * soft-fp/extenddftf2.c: Likewise.
4442 * soft-fp/extended.h: Likewise.
4443 * soft-fp/extendsfdf2.c: Likewise.
4444 * soft-fp/extendsftf2.c: Likewise.
4445 * soft-fp/extendxftf2.c: Likewise.
4446 * soft-fp/fixdfdi.c: Likewise.
4447 * soft-fp/fixdfsi.c: Likewise.
4448 * soft-fp/fixdfti.c: Likewise.
4449 * soft-fp/fixsfdi.c: Likewise.
4450 * soft-fp/fixsfsi.c: Likewise.
4451 * soft-fp/fixsfti.c: Likewise.
4452 * soft-fp/fixtfdi.c: Likewise.
4453 * soft-fp/fixtfsi.c: Likewise.
4454 * soft-fp/fixtfti.c: Likewise.
4455 * soft-fp/fixunsdfdi.c: Likewise.
4456 * soft-fp/fixunsdfsi.c: Likewise.
4457 * soft-fp/fixunsdfti.c: Likewise.
4458 * soft-fp/fixunssfdi.c: Likewise.
4459 * soft-fp/fixunssfsi.c: Likewise.
4460 * soft-fp/fixunssfti.c: Likewise.
4461 * soft-fp/fixunstfdi.c: Likewise.
4462 * soft-fp/fixunstfsi.c: Likewise.
4463 * soft-fp/fixunstfti.c: Likewise.
4464 * soft-fp/floatdidf.c: Likewise.
4465 * soft-fp/floatdisf.c: Likewise.
4466 * soft-fp/floatditf.c: Likewise.
4467 * soft-fp/floatsidf.c: Likewise.
4468 * soft-fp/floatsisf.c: Likewise.
4469 * soft-fp/floatsitf.c: Likewise.
4470 * soft-fp/floattidf.c: Likewise.
4471 * soft-fp/floattisf.c: Likewise.
4472 * soft-fp/floattitf.c: Likewise.
4473 * soft-fp/floatundidf.c: Likewise.
4474 * soft-fp/floatundisf.c: Likewise.
4475 * soft-fp/floatunditf.c: Likewise.
4476 * soft-fp/floatunsidf.c: Likewise.
4477 * soft-fp/floatunsisf.c: Likewise.
4478 * soft-fp/floatunsitf.c: Likewise.
4479 * soft-fp/floatuntidf.c: Likewise.
4480 * soft-fp/floatuntisf.c: Likewise.
4481 * soft-fp/floatuntitf.c: Likewise.
4482 * soft-fp/gedf2.c: Likewise.
4483 * soft-fp/gesf2.c: Likewise.
4484 * soft-fp/getf2.c: Likewise.
4485 * soft-fp/ledf2.c: Likewise.
4486 * soft-fp/lesf2.c: Likewise.
4487 * soft-fp/letf2.c: Likewise.
4488 * soft-fp/muldf3.c: Likewise.
4489 * soft-fp/mulsf3.c: Likewise.
4490 * soft-fp/multf3.c: Likewise.
4491 * soft-fp/negdf2.c: Likewise.
4492 * soft-fp/negsf2.c: Likewise.
4493 * soft-fp/negtf2.c: Likewise.
4494 * soft-fp/op-1.h: Likewise.
4495 * soft-fp/op-2.h: Likewise.
4496 * soft-fp/op-4.h: Likewise.
4497 * soft-fp/op-8.h: Likewise.
4498 * soft-fp/op-common.h: Likewise.
4499 * soft-fp/quad.h: Likewise.
4500 * soft-fp/single.h: Likewise.
4501 * soft-fp/soft-fp.h: Likewise.
4502 * soft-fp/subdf3.c: Likewise.
4503 * soft-fp/subsf3.c: Likewise.
4504 * soft-fp/subtf3.c: Likewise.
4505 * soft-fp/truncdfsf2.c: Likewise.
4506 * soft-fp/trunctfdf2.c: Likewise.
4507 * soft-fp/trunctfsf2.c: Likewise.
4508 * soft-fp/trunctfxf2.c: Likewise.
4509 * soft-fp/unorddf2.c: Likewise.
4510 * soft-fp/unordsf2.c: Likewise.
4511 * soft-fp/unordtf2.c: Likewise.
4512
02ac9503
UB
45132013-11-05 Uros Bizjak <ubizjak@gmail.com>
4514
4515 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4516 (_FP_MUL_MEAT_D): Ditto.
4517 (_FP_DIV_MEAT_S): Ditto.
4518 (_FP_DIV_MEAT_D): Ditto.
4519 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4520 t-softfp-sfdf and t-softfp to tmake_file.
4521
61221141
UB
45222013-11-03 Uros Bizjak <ubizjak@gmail.com>
4523
4524 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4525 * config/i386/crtprec.c: Ditto.
4526
9304f876
CJW
45272013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4528 Shiva Chen <shiva0217@gmail.com>
4529
4530 * config.host (nds32*-elf*): Add nds32 target.
4531 * config/nds32 : New directory and files.
4532
0e499e75
HPN
45332013-10-16 Hans-Peter Nilsson <hp@axis.com>
4534
4535 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4536 * config.host (cpu_type) <Setting default>: Add entry for
4537 crisv32-*-*.
4538 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4539 <crisv32-*-linux*>: Adjust.
4540 * longlong.h: Wrap the whole CRIS section in a single
4541 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4542 and sub_ddmmss.
4543 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4544 defined.
4545 [__CRIS__] (__umulsidi3): Define.
4546 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4547 * config/cris/sfp-machine.h: New file.
4548 * config/cris/umulsidi3.S: New file.
4549 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4550 * config/cris/arit.c (SIGNMULT): New macro.
4551 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4552 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4553 saving 3 out of originally 33 cycles from the fastest
4554 path, 3 out of 54 from the medium path and one from the longest
4555 path. Improve comments.
4556
16022041
RS
45572013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4558
4559 * sync.c: Remove static aliases and define each function directly
4560 under its real name.
4561
69778659
JDA
45622013-10-02 John David Anglin <danglin@gcc.gnu.org>
4563
4564 * config.host (hppa*64*-*-linux*): Define extra_parts.
4565 (hppa*-*-linux*): Likewise.
4566
2deaf8b0
JR
45672013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4568
4569 * config/arc/crtgend.S: Add 2013 to Copyright years.
4570 * config/arc/gmon/atomic.h: Likewise.
4571 * config/arc/gmon/auxreg.h: Likewise.
4572 * config/arc/gmon/sys/gmon_out.h: Likewise.
4573 * config/arc/gmon/sys/gmon.h: Likewise.
4574 * config/arc/gmon/prof-freq.c: Likewise.
4575 * config/arc/gmon/mcount.c: Likewise.
4576 * config/arc/gmon/prof-freq-stub.S: Likewise.
4577 * config/arc/gmon/gmon.c: Likewise.
4578 * config/arc/gmon/machine-gmon.h: Likewise.
4579 * config/arc/gmon/profil.S: Likewise.
4580 * config/arc/gmon/dcache_linesz.S: Likewise.
4581 * config/arc/crtg.S: Likewise.
4582 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4583 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4584 * config/arc/ieee-754/adddf3.S: Likewise.
4585 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4586 * config/arc/ieee-754/fixsfsi.S: Likewise.
4587 * config/arc/ieee-754/gtsf2.S: Likewise.
4588 * config/arc/ieee-754/floatsisf.S: Likewise.
4589 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4590 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4591 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4592 * config/arc/ieee-754/fixdfsi.S: Likewise.
4593 * config/arc/ieee-754/addsf3.S: Likewise.
4594 * config/arc/ieee-754/gesf2.S: Likewise.
4595 * config/arc/ieee-754/floatsidf.S: Likewise.
4596 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4597 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4598 * config/arc/ieee-754/gtdf2.S: Likewise.
4599 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4600 * config/arc/ieee-754/uneqdf2.S: Likewise.
4601 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4602 * config/arc/ieee-754/uneqsf2.S: Likewise.
4603 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4604 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4605 * config/arc/ieee-754/eqdf2.S: Likewise.
4606 * config/arc/ieee-754/ordsf2.S: Likewise.
4607 * config/arc/ieee-754/divsf3.S: Likewise.
4608 * config/arc/ieee-754/divdf3.S: Likewise.
4609 * config/arc/ieee-754/floatunsidf.S: Likewise.
4610 * config/arc/ieee-754/orddf2.S: Likewise.
4611 * config/arc/ieee-754/eqsf2.S: Likewise.
4612 * config/arc/ieee-754/gedf2.S: Likewise.
4613 * config/arc/crtn.S: Likewise.
4614 * config/arc/crti.S: Likewise.
4615 * config/arc/t-arc700-uClibc: Likewise.
4616 * config/arc/asm.h: Likewise.
4617 * config/arc/libgcc-excl.ver: Likewise.
4618 * config/arc/t-arc-newlib: Likewise.
4619 * config/arc/divtab-arc700.c: Likewise.
4620 * config/arc/initfini.c: Likewise.
4621 * config/arc/fp-hack.h: Likewise.
4622
c8e318b0
JR
46232013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4624 Diego Novillo <dnovillo@google.com>
4625
4626 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
4627 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4628 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4629 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 4630
d38a64b4
JR
46312013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4632 Brendan Kehoe <brendan@zen.org>
4633 Simon Cook <simon.cook@embecosm.com>
4634
4635 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4636 * config/arc: New directory.
4637 * longlong.h [__arc__] (umul_ppmm): Remove.
4638 [__arc__] (__umulsidi3): Define.
4639 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4640 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4641
dff717d2
JC
46422013-09-17 Jacek Caban <jacek@codeweavers.com>
4643
4644 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4645 CreateSemaphoreA.
4646 * config/i386/gthr-win32.h: Likewise.
4647
5c0029de
DD
46482013-09-16 DJ Delorie <dj@redhat.com>
4649
844ad6c6 4650 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
4651 * config/rl78/lib2mul.c: Enable for RL78/G10.
4652 * config/rl78/lib2div.c: Likewise.
4653 * config/rl78/lshrsi3.S: Use vregs.h.
4654 * config/rl78/cmpsi2.S: Likewise.
4655 * config/rl78/trampoline.S: Likewise.
4656 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4657
ceb2fc49
DD
46582013-09-14 DJ Delorie <dj@redhat.com>
4659 Nick Clifton <nickc@redhat.com>
4660
4661 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4662 * config/rl78/vregs.h: New.
4663 * config/rl78/signbit.S: New file. Implements signbit function.
4664 * config/rl78/divmodsi.S: New.
4665 * config/rl78/divmodhi.S: New.
4666 * config/rl78/divmodqi.S: New.
4667 * config/rl78/t-rl78: Build them here...
4668 * config/rl78/lib2div.c: ...but not here.
4669
f6a83b4a
DD
46702013-09-12 DJ Delorie <dj@redhat.com>
4671
4672 * config.host (msp*-*-elf): New.
4673 * config/msp430/: New port.
4674
9107b096
IS
46752013-08-18 Iain Sandoe <iain@codesourcery.com>
4676
4677 PR gcov-profile/58127
4678 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4679 __thread var for emulated TLS.
4680 (__gcov_indirect_call_counters): Likewise.
4681
0f9bde1f 46822013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 4683 Catherine Moore <clm@codesourcery.com>
7d296953 4684 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
4685
4686 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4687 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4688 (CALL_STUB_NO_RET): Likewise.
4689 (CALL_STUB_RET): Likewise.
4690 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4691 __mips16_ret call/return stub symbols.
4692 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4693 to tmake_file.
4694
2dc14aac
MR
46952013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4696
4697 * config.host <mips*-*-linux*>: Remove a stray comment.
4698
748d71f3
JH
46992013-08-10 Jan Hubicka <jh@suse.cz>
4700
4701 Work around binutils PR14342
4702 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4703 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4704 (L_gcov_indirect_call_profiler_v2): New.
4705
2fa3d31b
JH
47062013-08-06 Jan Hubicka <jh@suse.cz>
4707
4708 * libgcov.c (__gcov_indirect_call_callee,
4709 __gcov_indirect_call_counters): New global vars.
4710 (__gcov_indirect_call_profiler): replace by ...
4711 (__gcov_indirect_call_profiler_v2) ... this one.
4712
2077db1b
CT
47132013-08-06 Caroline Tice <cmtice@google.com>
4714
d0595b65 4715 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 4716 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
4717 * configure.ac: Add code to check/set enable_vtable_verify.
4718 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 4719 true.
d0595b65
CT
4720 * vtv_start_preinit.c: New file.
4721 * vtv_end_preinit.c: New file.
4722 * vtv_start.c: New file.
4723 * vtv_end.c: New file.
4724 * configure: Regenerated.
2077db1b 4725
46549c20
MK
47262013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4727
4728 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4729 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4730 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4731 GPL-3.0-with-GCC-exception.
4732
72be589b
MR
47332013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4734
4735 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4736 ISA and up.
4737
902a3faf
AK
47382013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4739
4740 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4741 mapping for FPRs when creating the fallback framestate.
4742
02371798
GJL
47432013-07-19 Georg-Johann Lay <avr@gjlay.de>
4744
4745 PR target/57516
4746 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4747 (__round_s2_const, __round_u2_const)
4748 (__round_s4_const, __round_u4_const, __round_x8):
4749 Saturate result if addition result cannot be represented.
4750
ab0e8379
MK
47512013-07-15 Matthias Klose <doko@ubuntu.com>
4752
4753 * libgcc2.c: Don't include <limits.h>.
4754
7da38058
JJ
47552013-07-09 Janis Johnson <janisjo@codesourcery.com>
4756
4757 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4758
1f6eac90
JJ
47592013-07-06 Jakub Jelinek <jakub@redhat.com>
4760
4761 PR target/29776
4762 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4763
4ea3d774
JJ
47642013-06-28 Jakub Jelinek <jakub@redhat.com>
4765
4766 PR middle-end/36041
4767 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4768 Define.
4769 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4770 instead of table lookups.
4771 (__popcountDI2): Likewise.
4772
9d2cdf25
CJW
47732013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4774
4775 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4776 correctly.
4777
fa1e55b0
JM
47782013-06-21 Joseph Myers <joseph@codesourcery.com>
4779
4780 PR other/53317
4781 * soft-fp/adddf3.c: Update from glibc.
4782 * soft-fp/addsf3.c: Likewise.
4783 * soft-fp/addtf3.c: Likewise.
4784 * soft-fp/divdf3.c: Likewise.
4785 * soft-fp/divsf3.c: Likewise.
4786 * soft-fp/divtf3.c: Likewise.
4787 * soft-fp/double.h: Likewise.
4788 * soft-fp/eqdf2.c: Likewise.
4789 * soft-fp/eqsf2.c: Likewise.
4790 * soft-fp/eqtf2.c: Likewise.
4791 * soft-fp/extenddftf2.c: Likewise.
4792 * soft-fp/extended.h: Likewise.
4793 * soft-fp/extendsfdf2.c: Likewise.
4794 * soft-fp/extendsftf2.c: Likewise.
4795 * soft-fp/fixdfdi.c: Likewise.
4796 * soft-fp/fixdfsi.c: Likewise.
4797 * soft-fp/fixsfdi.c: Likewise.
4798 * soft-fp/fixsfsi.c: Likewise.
4799 * soft-fp/fixtfdi.c: Likewise.
4800 * soft-fp/fixtfsi.c: Likewise.
4801 * soft-fp/fixunsdfdi.c: Likewise.
4802 * soft-fp/fixunsdfsi.c: Likewise.
4803 * soft-fp/fixunssfdi.c: Likewise.
4804 * soft-fp/fixunssfsi.c: Likewise.
4805 * soft-fp/fixunstfdi.c: Likewise.
4806 * soft-fp/fixunstfsi.c: Likewise.
4807 * soft-fp/floatdidf.c: Likewise.
4808 * soft-fp/floatdisf.c: Likewise.
4809 * soft-fp/floatditf.c: Likewise.
4810 * soft-fp/floatsidf.c: Likewise.
4811 * soft-fp/floatsisf.c: Likewise.
4812 * soft-fp/floatsitf.c: Likewise.
4813 * soft-fp/floatundidf.c: Likewise.
4814 * soft-fp/floatundisf.c: Likewise.
4815 * soft-fp/floatunditf.c: Likewise.
4816 * soft-fp/floatunsidf.c: Likewise.
4817 * soft-fp/floatunsisf.c: Likewise.
4818 * soft-fp/floatunsitf.c: Likewise.
4819 * soft-fp/gedf2.c: Likewise.
4820 * soft-fp/gesf2.c: Likewise.
4821 * soft-fp/getf2.c: Likewise.
4822 * soft-fp/ledf2.c: Likewise.
4823 * soft-fp/lesf2.c: Likewise.
4824 * soft-fp/letf2.c: Likewise.
4825 * soft-fp/muldf3.c: Likewise.
4826 * soft-fp/mulsf3.c: Likewise.
4827 * soft-fp/multf3.c: Likewise.
4828 * soft-fp/negdf2.c: Likewise.
4829 * soft-fp/negsf2.c: Likewise.
4830 * soft-fp/negtf2.c: Likewise.
4831 * soft-fp/op-1.h: Likewise.
4832 * soft-fp/op-2.h: Likewise.
4833 * soft-fp/op-4.h: Likewise.
4834 * soft-fp/op-8.h: Likewise.
4835 * soft-fp/op-common.h: Likewise.
4836 * soft-fp/quad.h: Likewise.
4837 * soft-fp/single.h: Likewise.
4838 * soft-fp/soft-fp.h: Likewise.
4839 * soft-fp/subdf3.c: Likewise.
4840 * soft-fp/subsf3.c: Likewise.
4841 * soft-fp/subtf3.c: Likewise.
4842 * soft-fp/truncdfsf2.c: Likewise.
4843 * soft-fp/trunctfdf2.c: Likewise.
4844 * soft-fp/trunctfsf2.c: Likewise.
4845 * soft-fp/unorddf2.c: Likewise.
4846 * soft-fp/unordsf2.c: Likewise.
4847 * soft-fp/unordtf2.c: Likewise.
4848 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4849 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4850 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4851 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4852 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4853 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4854 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4855 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4856 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4857 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4858 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4859 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4860
0de86a92
JU
48612013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4862
4863 * config/mips/lib2funcs.c: New file.
4864 * config/mips/t-mips (LIB2ADD_ST): Add it.
4865
0d008882
OE
48662013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4867
4868 PR target/6526
4869 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4870 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4871
776434d1
WL
48722013-06-08 Walter Lee <walt@tilera.com>
4873
4874 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4875 Replace int64_t with long long. Add __extension__ where
4876 appropriate.
4877 * config/tilepro/atomic.c: Include config.h.
4878
6ab3ebb4
DR
48792013-06-06 Douglas B Rupp <rupp@adacore.com>
4880
4881 * config.host (arm-wrs-vxworks): Configure with other soft float.
4882
107eea2c
JU
48832013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4884
4885 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4886 (mips64r5900el-*-elf*): New configurations.
4887
5cc19c62
AM
48882013-06-04 Alan Modra <amodra@gmail.com>
4889
4890 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4891
0f1d3965
YR
48922013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4893
4894 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4895
0ba045df
EB
48962013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4897
4898 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4899 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4900 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4901
49dcafd4
EB
49022013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4903
4904 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4905 (powerpc-wrs-vxworks): Likewise.
4906
4fcb5d87
EB
49072013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4908
4909 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4910 signal frames as well.
4911 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4912 STACK_BIAS to the CFA offset.
4913
0ec33224
RH
49142013-05-17 Richard Henderson <rth@redhat.com>
4915
4916 PR target/49146
4917 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4918 (execute_cfa_program): Use it when storing to fs->regs.
4919
492a8029
KT
49202013-05-08 Kai Tietz <ktietz@redhat.com>
4921
4922 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4923 (__deregister_frame_info): Likewise.
4924
701e2f0a
TS
49252013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4926
e5123d08
TS
4927 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4928 NaN's payload.
4929
701e2f0a
TS
4930 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4931
b9a7eb5d
AM
49322013-04-25 Alan Modra <amodra@gmail.com>
4933
4934 * config.host: Match little-endian powerpc-linux.
4935
dfe192f5
YZ
49362013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4937
4938 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4939 as 'unsigned long long' instead of 'unsigned long'.
4940 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4941 'signed long'.
4942
b6b9af2f
JB
49432013-04-10 Julian Brown <julian@codesourcery.com>
4944
4945 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4946 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4947 unsigned char/unsigned short.
4948 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4949
ecabdd00
JDA
49502013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4951
4952 PR other/55274
4953 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4954
34652576
MI
49552013-04-04 Meador Inge <meadori@codesourcery.com>
4956
4957 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4958 computing the location of the link register.
4959 (aeabi_uldivmod): Ditto.
4960
e9fd8c19
KT
49612013-03-27 Kai Tietz <ktietz@redhat.com>
4962
4963 * config.host: Add support for cygwin x64 target.
4964 * configure: Regenerated.
4965
a6406324
WL
49662013-03-26 Walter Lee <walt@tilera.com>
4967
4968 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4969 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4970
55446c7e
KT
49712013-03-25 Kai Tietz <ktietz@redhat.com>
4972
4973 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4974
d2ae19d9
RM
49752013-03-20 Robert Mason <rbmj@verizon.net>
4976
4977 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4978 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4979 (__gthread_leave_tsd_dtor_context): Add prototypes.
4980 (tls_delete_hook): Update.
4981
22c4c869
CM
49822013-03-20 Catherine Moore <clm@codesourcery.com>
4983 Joseph Myers <joseph@codesourcery.com>
4984 Chao-ying Fu <fu@mips.com>
4985
4986 * config/mips/mips16.S: Don't build for microMIPS.
4987 * config/mips/linux-unwind.h: Handle microMIPS frame.
4988 * config/mips/crtn.S (fini, init): New labels.
4989
fbd28bc3
JJ
49902013-03-14 Jakub Jelinek <jakub@redhat.com>
4991
4992 PR tree-optimization/53265
4993 * unwind-dw2.c (execute_cfa_program): Avoid
4994 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4995 on targets with DWARF_FRAME_REGISTERS < 32.
4996
decc676e
OE
49972013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4998
4999 PR target/49880
5000 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5001 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5002
84ea618a
ST
50032013-03-07 Sriraman Tallam <tmsriram@google.com>
5004
5005 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5006 sandybridge processors.
5007
8f6d1c86
OE
50082013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5009
5010 PR target/56529
5011 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5012 inclusion list.
5013
ecdbd01a 50142013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5015
5016 * config/microblaze/crti.S: Setup stack protection at entry
5017
0b4ce21b
GJL
50182013-03-04 Georg-Johann Lay <avr@gjlay.de>
5019
5020 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5021 (__rotldi3): Shift bytewise if applicable.
5022
b7c3f1ca
JG
50232013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5024
5025 * config/aarch64/sync-cache.c
5026 (__aarch64_sync_cache_range): Silence warnings.
5027
6d65e8f1
CM
50282013-02-25 Catherine Moore <clm@codesourcery.com>
5029
5030 Revert:
5031 2013-02-24 Catherine Moore <clm@codesourcery.com>
5032 Joseph Myers <joseph@codesourcery.com>
5033 Chao-ying Fu <fu@mips.com>
5034
5035 * config/mips/mips16.S: Don't build for microMIPS.
5036 * config/mips/linux-unwind.h: Handle microMIPS frame.
5037 * config/mips/crtn.S (fini, init): New labels.
5038
6941b508
CM
50392013-02-24 Catherine Moore <clm@codesourcery.com>
5040 Joseph Myers <joseph@codesourcery.com>
5041 Chao-ying Fu <fu@mips.com>
5042
5043 * config/mips/mips16.S: Don't build for microMIPS.
5044 * config/mips/linux-unwind.h: Handle microMIPS frame.
5045 * config/mips/crtn.S (fini, init): New labels.
5046
7c422dbb 50472012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5048 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5049 as dividend.
5050
110207ad
AM
50512013-02-16 Alan Modra <amodra@gmail.com>
5052
5053 PR target/55431
5054 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5055 (ppc_fallback_frame_state): Always set up save locations for fp
5056 and altivec. Don't bother with non-callee-saved regs, r0-r13
5057 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5058
e68a4ef6
GJL
50592013-02-12 Georg-Johann Lay <avr@gjlay.de>
5060
5061 PR target/54222
5062 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5063 _ssmulHA, _ssmulSA.
5064 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5065 _ssmulha3, _usmulusa3, _ssmulsa3.
5066 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5067 (__muldi3): XCALL __muldi3_6 instead of rcall.
5068 (__umulsidi3, __mulsidi3): New functions.
5069 (do_prologue_saves, do_epilogue_restores): New .macros.
5070 (__divdi3_moddi3): Use them.
5071 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5072 (__usmulusa3, __ssmulsa3): New functions.
5073
6c59ffd1
IS
50742013-02-11 Iain Sandoe <iain@codesourcery.com>
5075 Jack Howarth <howarth@bromo.med.uc.edu>
5076 Patrick Marlier <patrick.marlier@gmail.com>
5077
5078 PR libitm/55693
5079 * config/darwin-crt-tm.c: Remove dummy functions hack.
5080
85d768f3
GJL
50812013-02-08 Georg-Johann Lay <avr@gjlay.de>
5082
5083 PR target/54222
5084 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5085 * config/avr/lib2-object.mk: New iterator to build objects from it.
5086 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5087 lib2funcs.c.
5088 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5089 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5090 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5091 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5092 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5093 * config/avr/lib1funcs-fixed.S: Implement them.
5094
5d5bf775
RS
50952013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5096
5097 Update copyright years.
5098
99113dff
DE
50992013-02-01 David Edelsohn <dje.gcc@gmail.com>
5100
5101 PR target/54601
5102 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5103 Add crtcxa to extra_parts.
5104 * config/rs6000/exit.h: New file.
5105 * config/rs6000/cxa_atexit.c: New file.
5106 * config/rs6000/cxa_finalize.c: New file.
5107 * config/rs6000/crtcxa.c: New file.
5108 * config/rs6000/t-aix-cxa: New file.
5109 * config/rs6000/libgcc-aix-cxa.ver: New file.
5110
dbdbd982
NC
51112013-01-31 Nick Clifton <nickc@redhat.com>
5112
5113 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5114 variant.
5115
5893f158
GJL
51162013-01-29 Georg-Johann Lay <avr@gjlay.de>
5117
5118 PR target/54222
5119 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5120 _mulQQ, _mulHQ, _mulHA, _mulSA,
5121 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5122 _divQQ, _divHQ, _divHA, _divSA,
5123 _divUQQ, _divUHQ, _divUHA, _divUSA.
5124
ecdbd01a 51252013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5126
dbdbd982 5127 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5128 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5129 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5130 to exclude functions from being built with libgcc.c and use
5131 the microblaze assembly.
5132
ecdbd01a 51332013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5134
5135 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5136 extra_parts.
5137
922c57d1
YZ
51382013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5139
5140 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5141 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5142 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5143 alignment operation.
5144
e0f8b6a0
SN
51452013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5146
5147 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5148 loop start address for cache clearing.
5149
00892272
GJL
51502013-01-14 Georg-Johann Lay <avr@gjlay.de>
5151
5152 * config/avr/lib1funcs.S: Remove trailing blanks.
5153 * config/avr/lib1funcs-fixed.S: Ditto.
5154
e59ec5fd
GJL
51552013-01-14 Georg-Johann Lay <avr@gjlay.de>
5156
5157 * config/avr/avr-lib.h: Add GPL copyright notice.
5158
3ffc1958
GJL
51592013-01-14 Georg-Johann Lay <avr@gjlay.de>
5160
5161 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5162 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5163 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5164 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5165
25c210f9
MK
51662013-01-07 Mark Kettenis <kettenis@openbsd.org>
5167
5168 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5169 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5170
db59befb
NC
51712013-01-04 Nick Clifton <nickc@redhat.com>
5172
5173 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5174 the CALLT instruction is supported.
5175
5aa12dbf
JW
51762012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5177
5178 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5179 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5180
65f14117
JT
51812012-12-13 John Tytgat <John@bass-software.com>
5182
5183 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5184 is 25.
5185
ee3ae4f7
JJ
51862012-12-12 Jakub Jelinek <jakub@redhat.com>
5187
5188 PR libgcc/55451
5189 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5190 undefined signed overflows.
5191
2fcfba3d
UB
51922012-12-09 Uros Bizjak <ubizjak@gmail.com>
5193
5194 PR target/55344
5195 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5196
4f2b3dc2
UB
51972012-12-06 Uros Bizjak <ubizjak@gmail.com>
5198
5199 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5200 (FP_TRAPPING_EXCEPTIONS): Define.
5201 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5202 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5203
066161a2
RH
52042012-12-04 Richard Henderson <rth@redhat.com>
5205
5206 PR bootstrap/55571
5207 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5208
7d296953 52092012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5210
4f2b3dc2 5211 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5212 (FP_EX_SHIFT): Define.
5213 (FP_TRAPPING_EXCEPTIONS): Define.
5214
7d296953 52152012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5216
5217 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5218 (FP_ROUNDMODE): Use FP_RND_MASK.
5219 * config/aarch64/sfp-exceptions.c: New.
5220 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5221 Use __sfp_handle_exceptions.
5222
5005fe22
RE
52232012-12-04 Richard Earnshaw <rearnsha@arm.com>
5224
5225 * config.host: (arm*-*-freebsd*): Remove.
5226 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5227 (arm*-*-elf*): Remove.
5228 (arm*-*-wince-pe*): Remove.
5229 * arm/unwind-arm.c (struct fpa_reg): Delete.
5230 (struct fpa_regs): Delete.
5231 (phase1_vrs): Remove fpa element.
5232 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5233 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5234 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5235 * ieee754-sf.S (floatundisf): Remove FPA support.
5236 (floatdisf): Likewise.
5237 * ieee75f-df.S (floatundidf): Likewise.
5238 (floatdidf): Likewise.
5239
e5a81c8e
KT
52402012-11-29 Kai Tietz <ktietz@redhat.com>
5241
5242 PR target/55445
5243 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5244 * unwind-generic.h: Likewise.
5245 * unwind-seh.c: Likewise.
5246
f4919e4a
RH
52472012-11-28 Richard Henderson <rth@redhat.com>
5248
5249 PR libgcc/48076
5250 * emutls.c (__emutls_get_address): Avoid race condition between
5251 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5252
e13d9d5a
GJL
52532012-11-22 Georg-Johann Lay <avr@gjlay.de>
5254
5255 Adjust decimal point of signed accum mode to GCC default.
5256
5257 PR target/54222
5258 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5259 _divqq_helper.
5260 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5261 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5262 (__mulha3, __mulsa3)
5263 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5264 decimal point of signed accum types.
5265
e13d9d5a
GJL
5266 (__mulusa3_round): New function.
5267 (__mulusa3): Use it.
5268 (__divqq_helper): New function.
5269 (__udivuqq3): Use it.
5270
1b845c6e
JJ
52712012-11-20 Jakub Jelinek <jakub@redhat.com>
5272
5273 PR bootstrap/55370
5274 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5275
822a258a
TJ
52762012-11-18 Teresa Johnson <tejohnson@google.com>
5277
5278 PR bootstrap/55051
5279 * libgcov.c (gcov_exit): Remove merged program summary
5280 comparison unless !GCOV_LOCKED.
5281
7d296953 52822012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5283
5284 * soft-fp: Updated from glibc upstream.
5285
e808687a
ILT
52862012-11-06 Ian Lance Taylor <iant@google.com>
5287
5288 * generic-morestack.c (__generic_morestack): Align the returned
5289 stack pointer to a 32 byte boundary.
5290 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5291 increment the return address until we have decided that we don't
5292 have a varargs function.
5293 (__morestack) [32-bit]: Align stack correctly when calling C
5294 functions.
5295 (__morestack) [64-bit]: Likewise.
5296
460277e0
TS
52972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5298
5299 * configure: Regenerate.
5300
73edb277
UB
53012012-11-02 Uros Bizjak <ubizjak@gmail.com>
5302
5303 PR target/55175
5304 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5305 * config/i386/sfp-machine.h: Guard exception handling
5306 code with _SOFT_FLOAT.
5307 * config/i386/32/sfp-machine.h: Guard rounding handling
5308 code with _SOFT_FLOAT.
5309 * config/i386/64/sfp-machine.h: Ditto.
5310
c1d4fa04
JS
53112012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5312
5313 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5314 as extra_parts.
5315
eff6ca85
UB
53162012-10-26 Uros Bizjak <ubizjak@gmail.com>
5317
5318 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5319 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5320 when appropriate. Correct structure element types.
5321 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5322 -minline-all-stringops from compile flags.
5323
7d296953 53242012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5325
5326 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5327
7d296953 53282012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5329
eff6ca85 5330 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5331
6f288860
SH
53322012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5333
5334 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5335 tmake_file.
5336
1e3d5096
IB
53372012-10-23 Ian Bolton <ian.bolton@arm.com>
5338 Jim MacArthur <jim.macarthur@arm.com>
5339 Marcus Shawcroft <marcus.shawcroft@arm.com>
5340 Nigel Stephens <nigel.stephens@arm.com>
5341 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5342 Richard Earnshaw <rearnsha@arm.com>
5343 Sofiane Naci <sofiane.naci@arm.com>
5344 Stephen Thomas <stephen.thomas@arm.com>
5345 Tejas Belagod <tejas.belagod@arm.com>
5346 Yufeng Zhang <yufeng.zhang@arm.com>
5347
5348 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5349 * config/aarch64/crti.S: New file.
5350 * config/aarch64/crtn.S: New file.
5351 * config/aarch64/linux-unwind.h: New file.
5352 * config/aarch64/sfp-machine.h: New file.
5353 * config/aarch64/sync-cache.c: New file.
5354 * config/aarch64/t-aarch64: New file.
5355 * config/aarch64/t-softfp: New file.
5356
8a740f07
HPN
53572012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5358
5359 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5360 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5361 no-longer-needed LDBU insns.
5362
7d296953 53632012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5364
5365 * config.host
5366 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5367 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5368
595fefee
MGD
53692012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5370
5371 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5372
9945a876
MK
53732012-10-15 Matthias Klose <doko@ubuntu.com>
5374
5375 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5376
1183dc2c
PC
53772012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5378
5379 * configure: Regenerate.
5380 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5381
945a9c1f
UB
53822012-10-10 Uros Bizjak <ubizjak@gmail.com>
5383
5384 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5385 instructions for 64bit targets only.
5386
fb8bf47a
UB
53872012-10-10 Uros Bizjak <ubizjak@gmail.com>
5388
5389 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5390 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5391 * config/i386/32/sfp-machine.h: ... here.
5392 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5393 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5394 New defines.
5395
acb72498
MK
53962012-10-07 Matthias Klose <doko@ubuntu.com>
5397
5398 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5399 as unused.
5400 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5401
8eaee0f0
MK
54022012-10-06 Mark Kettenis <kettenis@openbsd.org>
5403
5404 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5405 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5406 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5407 (ElfW): Likewise.
5408
5e3e4fe8
JW
54092012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5410
5411 PR other/53889
5412 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5413 Fix parameter names.
5414
86086376
OE
54152012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5416
5417 PR target/33135
5418 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5419 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5420 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5421
9597375a
OE
54222012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5423
5424 PR target/50457
5425 * config/sh/linux-atomic.S: Delete.
5426 * config/sh/linux-atomic.c: New.
5427 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5428 linux-atomic.c. Add cflags to disable warnings.
5429
1504e3e1
JW
54302012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5431
5432 PR other/53889
5433 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5434 function.
5435 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5436 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5437 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5438 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5439 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5440 Likewise.
1504e3e1
JW
5441 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5442 Likewise.
5443 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5444 Likewise.
5445 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5446 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5447
17f293b0
MK
54482012-09-19 Mark Kettenis <kettenis@openbsd.org>
5449
9597375a
OE
5450 * config.host (hppa-*-openbsd*): New target.
5451 * config/pa/t-openbsd: New file.
17f293b0 5452
51526856
GJL
54532012-09-15 Georg-Johann Lay <avr@gjlay.de>
5454
5455 PR target/54222
5456 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5457 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5458 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5459 (__divsa3): Use __negsi2 to negate r_quoL.
5460 * config/avr/lib1funcs.S (FALIAS): New macro.
5461 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5462 (__negsi2): ...this new function.
5463 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5464 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5465 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5466 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5467 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5468 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5469
aadb5b43
OE
54702012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5471
5472 PR target/54089
5473 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5474 (lshrsi3): Reimplement as lshrsi3_r0.
5475
d5d66749
AS
54762012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5477
5478 PR target/46191
5479 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5480 of libgcc.a.
5481
c6c36e73
TJ
54822012-09-07 Teresa Johnson <tejohnson@google.com>
5483
9597375a 5484 PR gcov-profile/54487
c6c36e73 5485 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5486 differences.
c6c36e73 5487
b588ae30
GJL
54882012-09-05 Georg-Johann Lay <avr@gjlay.de>
5489
5490 PR target/54461
5491 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5492 not configured --with-avrlibc=no.
5493 * config/avr/t-avrlibc: New file.
5494 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5495 (DPBIT_FUNCS): Ditto.
5496 (TPBIT_FUNCS): Ditto.
5497
abd16fb1
TJ
54982012-09-04 Teresa Johnson <tejohnson@google.com>
5499
5500 * libgcov.c (struct gcov_summary_buffer): New structure.
5501 (gcov_histogram_insert): New function.
5502 (gcov_compute_histogram): Ditto.
5503 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5504 histograms during summary merging.
5505
613061fd
MK
55062012-09-01 Mark Kettenis <kettenis@openbsd.org>
5507
5508 * config.host (x86_64-*-openbsd*): New target.
73edb277 5509
867a8345
CLT
55102012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5511
5512 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5513 attribute.
5514
4aeaaca3
GJL
55152012-08-24 Georg-Johann Lay <avr@gjlay.de>
5516
5517 PR target/54222
5518 * config/avr/t-avr (conv_X): Rename to func_X.
5519
e55e4056
GJL
55202012-08-24 Georg-Johann Lay <avr@gjlay.de>
5521
5522 PR target/54222
5523 * config/avr/lib1funcs-fixed.S: New file.
5524 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5525 after they are used.
5526 (neg2, neg4): New macros.
5527 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5528 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5529 (__umulhisi3): Speed up MUL variant if there is enough flash.
5530 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5531 avr-modes.def.
5532 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5533 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5534 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5535 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5536 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5537 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5538 (LIB2FUNCS_EXCLUDE): Add supported functions.
5539
a147b6d2
GJL
55402012-08-22 Georg-Johann Lay <avr@gjlay.de>
5541
5542 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5543 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5544 libgcc-s-objects.
5545 * fixed-obj.mk: Only expand dependency if $o is not in
5546 LIB2FUNCS_EXCLUDE.
5547
c637141a
L
55482012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5549
5550 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5551
130e00bd
JM
55522012-08-22 Joseph Myers <joseph@codesourcery.com>
5553
5554 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5555 depend on --enable-shared.
5556 ($(lib1asmfuncs-o)): Use %.vis files independent of
5557 --enable-shared.
5558 * static-object.mk ($(base)$(objext), $(base).vis)
5559 ($(base)_s$(objext)): Use same rules for visibility handling as in
5560 shared-object.mk.
5561
4b1b3788
ILT
55622012-08-21 Ian Lance Taylor <iant@google.com>
5563
5564 * config/i386/morestack.S (__morestack_non_split): Increase amount
5565 of space allocated for non-split code stack.
5566
d2468141
JM
55672012-08-19 Joseph Myers <joseph@codesourcery.com>
5568
5569 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5570 even if inhibit_libc.
5571
a508e1a8
JB
55722012-08-17 Julian Brown <julian@codesourcery.com>
5573
5574 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5575 -fexceptions -fnon-call-exceptions if not defined.
5576 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5577 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5578
5615a07d
AS
55792012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5580
5581 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5582 type.
5583
138f5acd
DE
55842012-08-16 David Edelsohn <dje.gcc@gmail.com>
5585
5586 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5587 rs6000/t-slibgcc-aix.
5588
18efc0dd
SB
55892012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5590
5591 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5592
6b39bc38
SB
55932012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5594
5595 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5596
cd25dea0
L
55972012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5598
5599 PR driver/54171
5600 * Makefile.in (version): Replace top_srcdir with srcdir.
5601
a3dda30b
JY
56022012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5603
5604 * Makefile.in (version): set to BASE-VER file from gcc directory.
5605
d04aacfc
NC
56062012-08-01 Nick Clifton <nickc@redhat.com>
5607
5608 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5609 Implements __clrsb for an HImode argument.
5610
0d13c974
NC
56112012-07-31 Nick Clifton <nickc@redhat.com>
5612
5613 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5614 Implements __clrsb for an HImode argument.
5615 * config/stormy16/clrsbhi2.c: New file:
5616 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5617
efbb59b2
SB
56182012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5619
5620 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5621
bf1431e3
TG
56222012-07-19 Tristan Gingold <gingold@adacore.com>
5623 Richard Henderson <rth@redhat.com>
5624
5625 * unwind-seh.c: New file.
5626 * unwind-generic.h: Include windows.h for SEH.
5627 (_Unwind_Exception): Use 6 private fields for SEH.
5628 (_GCC_specific_handler): Declare.
5629 * unwind-c.c (__gcc_personality_seh0): New function.
5630 Adjust for SEH.
5631 * config/i386/libgcc-cygming.ver: New file.
5632 * config/i386/t-seh-eh: New file.
5633 * config.host (x86_64-*-mingw*): Default to seh.
5634
659140c8
SB
56352012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5636
5637 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5638
a20d08fd
UB
56392012-06-17 Uros Bizjak <ubizjak@gmail.com>
5640
5641 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5642 __builtin_expect when checking for exceptions.
5643 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5644
79261115
UB
56452012-06-13 Uros Bizjak <ubizjak@gmail.com>
5646
4a172156
UB
5647 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5648 function declaration.
5649 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5650 (FP_RND_MASK): New.
5651 * config/ia64/sfp-exceptions.c: New.
5652 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 5653
bb5c97d4
UB
56542012-06-13 Uros Bizjak <ubizjak@gmail.com>
5655
5656 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5657 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5658 * config/i386/64/sfp-machine: ... (delete here) ...
5659 * config/i386/sfp-machine.h: ... to here.
5660 (FP_EX_MASK): Remove.
5661 (FP_RND_MASK): New.
5662 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5663
91fe5efb
ST
56642012-06-11 Sriraman Tallam <tmsriram@google.com>
5665
5666 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5667 * config/i386/libgcc-sol2.ver: Ditto.
5668 * config/i386/libgcc-glibc.ver: Ditto.
5669
67a218c5
RM
56702012-06-11 Roland McGrath <mcgrathr@google.com>
5671
5672 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5673 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5674 pthread_cancel.
5675
492fbea1
UB
56762012-06-09 Uros Bizjak <ubizjak@gmail.com>
5677
5678 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5679 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5680 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5681 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5682 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5683 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5684 * config/i386/64/sfp-machine: ... (delete here) ...
5685 * config/i386/sfp-machine.h: ... to here.
5686 (FP_EX_MASK): New.
5687 (__sfp_handle_exceptions): New function declaration.
5688 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5689 * config/i386/sfp-exceptions.c: New.
5690 * config/i386/t-softfp: New.
5691 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5692 i386/t-softfp to tmake_file.
5693
7b4cf266
DM
56942012-06-03 David S. Miller <davem@davemloft.net>
5695
5696 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5697 change.
5698
0de0d5c6
DM
56992012-05-31 David S. Miller <davem@davemloft.net>
5700
5701 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5702 multiply and divide instructions on 32-bit when V9.
5703 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5704
d8c9d391
JM
57052012-05-29 Joseph Myers <joseph@codesourcery.com>
5706
5707 * config/arm/ieee754-df.S: Fix typos.
5708 * config/arm/ieee754-sf.S: Fix typos.
5709 * config/c6x/libunwind.S: Fix typos.
5710 * config/epiphany/udivsi3-float.c: Fix typos.
5711 * config/microblaze/muldi3_hard.S: Fix typos.
5712 * config/picochip/adddi3.S: Fix typos.
5713 * config/picochip/ashlsi3.S: Fix typos.
5714 * config/picochip/ashrsi3.S: Fix typos.
5715 * config/picochip/clzsi2.S: Fix typos.
5716 * config/picochip/cmpsi2.S: Fix typos.
5717 * config/picochip/divmod15.S: Fix typos.
5718 * config/picochip/divmodhi4.S: Fix typos.
5719 * config/picochip/divmodsi4.S: Fix typos.
5720 * config/picochip/longjmp.S: Fix typos.
5721 * config/picochip/lshrsi3.S: Fix typos.
5722 * config/picochip/parityhi2.S: Fix typos.
5723 * config/picochip/popcounthi2.S: Fix typos.
5724 * config/picochip/setjmp.S: Fix typos.
5725 * config/picochip/subdi3.S: Fix typos.
5726 * config/picochip/ucmpsi2.S: Fix typos.
5727 * config/picochip/udivmodhi4.S: Fix typos.
5728 * config/picochip/udivmodsi4.S: Fix typos.
5729 * config/spu/divv2df3.c: Fix typos.
5730 * config/spu/mfc_multi_tag_release.c: Fix typos.
5731 * config/spu/mfc_tag_release.c: Fix typos.
5732 * configure.ac: Fix typos.
5733 * configure: Regenerate.
5734
31a18a7e
ILT
57352012-05-25 Ian Lance Taylor <iant@google.com>
5736
5737 * config/i386/morestack.S (__morestack_non_split): Check whether
5738 caller is varargs and needs %bp to hold the stack frame on return.
5739
c5768510
OH
57402012-05-25 Olivier Hainque <hainque@adacore.com>
5741
5742 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5743 sequence in the non pic case on VxWorks.
5744
7c7c339b
OH
57452012-05-24 Olivier Hainque <hainque@adacore.com>
5746
73fb7630 5747 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
5748 "install-leaf" to "install".
5749
fdc1b7d3
OH
57502012-05-24 Olivier Hainque <hainque@adacore.com>
5751
5752 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5753 Use a separate command for stamp removals.
5754
07ba94b9
AP
57552012-05-21 Andrew Pinski <apinski@cavium.com>
5756
5757 PR bootstrap/53183
5758 * configure.ac: Define the default includes to being none.
5759 * configure: Regenerate.
5760
4677d2eb
OH
57612012-05-16 Olivier Hainque <hainque@adacore.com>
5762
5763 * Makefile.in (install-unwind_h): Rename into ...
5764 (install-unwind_h-forbuild): New target.
5765 (all): Use it instead of the former install-unwind_h.
5766 (install-unwind_h): Reinstate, copy to user install destination
5767 for include files, not to the internal gcc object directory one.
5768 (install-leaf): Depend on it.
5769
7d67c380
OH
57702012-05-15 Olivier Hainque <hainque@adacore.com>
5771
5772 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5773 register numbers. LR_REGNO replaces R_LR.
5774 (ucontext_for): New, helper for ...
5775 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5776 and 5.3 of ...
5777 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5778
aca06c90
RO
57792012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5780
5781 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5782 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5783 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5784 i386/t-cpuinfo ...
5785 (i[34567]86-*-*, x86_64-*-*): ... here.
5786
5787 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5788 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5789
5790 * config/i386/i386-cpuinfo.c: Rename to ...
5791 * config/i386/cpuinfo.c: ... this.
5792 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5793
5794 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5795 (libgcc_cv_init_priority): New test.
5796 * configure: Regenerate.
5797 * config.in: New file.
5798 * Makefile.in (clean): Rename config.h to auto-target.h.
5799 (config.h): Likewise.
5800 (stamp-h): Likewise.
5801
5802 * config/i386/cpuinfo.c (auto-target.h): Include.
5803 (CONSTRUCTOR_PRIORITY): Define.
5804 (__cpu_indicator_init): Use it.
5805
0d03ac1b
L
58062012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5807
5808 * longlong.h: Use a URL instead of an FSF postal address.
5809 Replace spaces with tab.
5810
4a172156 58112012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
5812
5813 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5814 (__gcov_dump): Ditto.
5815 (gcov_dump_complete): New global variable.
5816 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5817 (__gcov_flush): Outline functionality now in gcov_clear.
5818 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5819
e4bb767e
AJ
58202012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5821
31a18a7e
ILT
5822 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5823 (mips*-*-linux*): Include mips/t-tpbit when long double is
5824 16 bytes long.
e4bb767e 5825
5ddecff9
ST
58262012-04-25 Sriraman Tallam <tmsriram@google.com>
5827
5828 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5829 (get_available_features): New argument. Check for AVX2.
5830 (__cpu_indicator_init): Modify call to get_available_features.
5831
b427dd7a
AM
58322012-04-25 Alan Modra <amodra@gmail.com>
5833
5834 * config/rs6000/crtsavevr.S: New file.
5835 * config/rs6000/crtrestvr.S: New file.
5836 * config/rs6000/t-savresfgpr: Build the above.
5837 * config/rs6000/t-netbsd: Likewise.
5838
ad491329
ST
58392012-04-24 Sriraman Tallam <tmsriram@google.com>
5840
5841 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5842
792317cc
ST
58432012-04-24 Sriraman Tallam <tmsriram@google.com>
5844
5845 * libgcc/config/i386/i386-cpuinfo.c: New file.
5846 * libgcc/config/i386/t-cpuinfo: New file.
5847 * libgcc/config.host: Include t-cpuinfo.
5848 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5849
e1be98a4
CF
58502012-04-24 Chao-ying Fu <fu@mips.com>
5851
5852 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5853
1bde7dab
TS
58542012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5855
5856 struct siginfo vs. siginfo_t
5857
5858 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5859 siginfo_t instead of struct siginfo.
5860 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5861 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5862 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5863 (ia64_handle_unwabi): Likewise.
5864 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5865 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5866 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5867 (sh_fallback_frame_state): Likewise.
5868 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5869 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5870
24590f66
L
58712012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5872
5873 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5874 system call number.
5875
9a9dcce8
EB
58762012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5877
5878 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5879 if it hasn't been previously saved.
5880
6401aaf5
L
58812012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5882
5883 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5884 only for glibc.
5885
7fd6378e
GJL
58862012-03-28 Georg-Johann Lay <avr@gjlay.de>
5887
5888 PR target/52737
5889 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5890 instead of __AVR_HAVE_8BIT_SP__.
5891
9e916de7
TG
58922012-03-26 Tristan Gingold <gingold@adacore.com>
5893
5894 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5895 (unw_table_entry): Use unw_word instead of unsigned long.
5896 (_Unwind_FindTableEntry): Likewise.
5897 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5898 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5899 (_Unwind_FindTableEntry): Likewise.
5900 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5901 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5902 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5903 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5904 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5905 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5906 (uw_init_context_1, uw_install_context): Likewise.
5907 (unw_word): Move to unwind-ia64.h
5908
4b12e93d
TG
59092012-03-26 Tristan Gingold <gingold@adacore.com>
5910
5911 * config/vms/vms-ucrt0.c: Update copyright years.
5912 Add a sanity check.
5913 (___gcc_main_flags): Declare.
5914 (__main): Check flags to remap argv and exit code.
5915 * config.host (*-*-*vms*): Adjust extra_parts.
5916 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5917 (crt0.o): Add.
5918
06ea7371
RE
59192012-03-22 Richard Earnshaw <rearnsha@arm.com>
5920
5921 * arm/lib1funcs.asm (ctzsi2): New function.
5922 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5923 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5924 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5925 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5926 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5927 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5928
d82ad50d
AT
59292012-03-21 Andreas Tobler <andreast@fgznet.ch>
5930
5931 * config.host: Add bits to support powerpc64-*-freebsd*.
5932 * config/rs6000/freebsd-unwind.h: New file.
5933 * config/rs6000/t-freebsd64: New file.
5934
b260a8c0
RG
59352012-03-20 Richard Guenther <rguenther@suse.de>
5936
5937 PR gcov-profile/52627
5938 * libgcov.c (init_mx): Fix mutex name.
5939
86286a8a
TG
59402012-03-16 Tristan Gingold <gingold@adacore.com>
5941
5942 * config/ia64/vms-unwind.h: Remove ulong (and replace
5943 it by unw_reg where used). Define unw_reg with __int64.
5944
7888f266
RO
59452012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5946
5947 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5948 Solaris 8 handling.
5949 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5950 Solaris 8 handling.
5951 (sparc_is_sighandler): Likewise.
5952
f155bc64
L
59532012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5954
5955 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5956 <= saved reg size.
5957
d47657bd
RO
59582012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5959
5960 * config/arm/crtn.S: Fix typo.
5961
5bef73a1
RG
59622012-03-13 Richard Guenther <rguenther@suse.de>
5963
5964 * libgcov.c: Remove stdio.h include and NULL un-define.
5965
9c4271f3
RG
59662012-03-13 Richard Guenther <rguenther@suse.de>
5967
5968 PR target/52569
5969 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5970
c6d10e7c
RG
59712012-03-13 Richard Guenther <rguenther@suse.de>
5972
5973 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5974
074a385f
RG
59752012-03-13 Richard Guenther <rguenther@suse.de>
5976
5977 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5978 and __gthread_mutex_init_function definitions.
5979
c4bc5c25
RO
59802012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5981
5982 * config.host (mips*-*-openbsd*): Remove.
5983
5c30094f
RO
59842012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5985
5986 * config.host: Remove alpha*-dec-osf5.1* handling.
5987 * config/alpha/gthr-posix.c: Remove.
5988 * config/alpha/libgcc-osf5.ver: Remove.
5989 * config/alpha/osf5-unwind.h: Remove.
5990 * config/alpha/t-osf-pthread: Remove.
5991 * config/alpha/t-slibgcc-osf: Remove.
5992 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5993 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5994 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5995 * mkmap-flat.awk: Remove osf_export handling.
5996
33e3e24d
RG
59972012-03-12 Richard Guenther <rguenther@suse.de>
5998
5999 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6000 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6001 (__gthread_mutex_init_function): New function.
6002 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6003
6004 PR gcov/49484
6005 * libgcov.c: Include gthr.h.
6006 (__gcov_flush_mx): New global variable.
6007 (init_mx, init_mx_once): New functions.
6008 (__gcov_flush): Protect self with a mutex.
6009 (__gcov_fork): Re-initialize mutex after forking.
6010 * unwind-dw2-fde.c: Change condition under which to use
6011 __GTHREAD_MUTEX_INIT_FUNCTION.
6012
d8aba32a
TG
60132012-03-12 Tristan Gingold <gingold@adacore.com>
6014
6015 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6016 * config/ia64/t-vms: Likewise.
6017
75ffafdc
MH
60182012-03-11 Michael Hope <michael.hope@linaro.org>
6019
4a172156
UB
6020 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6021 for Thumb-2.
75ffafdc 6022
ef6c2c53
WL
60232012-03-07 Walter Lee <walt@tilera.com>
6024
6025 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6026 "arch_atomic_".
6027 (atomic_xor): Rename and move definition to
6028 config/tilepro/atomic.h.
6029 (atomic_nand): Ditto.
6030 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6031 "arch_atomic_".
6032 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6033 (arch_atomic_nand): Ditto.
6034
4e30d980
GJL
60352012-03-07 Georg-Johann Lay <avr@gjlay.de>
6036
6037 PR target/52507
6038 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6039
61108225
GJL
60402012-03-07 Georg-Johann Lay <avr@gjlay.de>
6041
6042 PR target/52505
6043 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6044 from RAM.
6045
b30e10ab
GJL
60462012-03-07 Georg-Johann Lay <avr@gjlay.de>
6047
6048 PR target/52461
6049 PR target/52508
6050 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6051 if RAMPZ affects reading from RAM.
6052 (__tablejump_elpm__): Ditto.
6053 (.xload): Ditto.
6054 (__movmemx_hi): Ditto.
6055 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6056 (__do_global_dtors): Ditto.
6057 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6058 (__movmemx_hi): Ditto.
6059
8993fde4
RH
60602012-03-05 Richard Henderson <rth@redhat.com>
6061
6062 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6063 [ARM] (count_trailing_zeros): Use the builtin.
6064
b7633ee3
KT
60652012-03-01 Kai Tietz <ktietz@redhat.com>
6066
6067 * soft-fp: Imported from glibc upstream.
6068
fbd3340c
KT
60692012-02-28 Kai Tietz <ktietz@redhat.com>
6070
6071 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6072 for mingw-targets as attribute gcc_struct.
6073
e9e053eb
ILT
60742012-02-28 Ian Lance Taylor <iant@google.com>
6075
6076 * generic-morestack.c (__splitstack_releasecontext): Correct call
6077 to __morestack_release_segments.
6078
d80c632e
ST
60792012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6080
6081 PR target/52390
6082 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6083 for __linux__ when removing signals from __morestack_fullmask.
6084
0253a8b1
GJL
60852012-02-23 Georg-Johann Lay <avr@gjlay.de>
6086
6087 PR target/52261
6088 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6089
e10e461e
UW
60902012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6091
6092 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6093 instead of HAVE_INITFINI_ARRAY.
6094 * config/ia64/crtend.S: Likewise.
6095
0c0c6398
KT
60962012-02-20 Kai Tietz <ktietz@redhat.com>
6097
d7470374
KT
6098 PR libstdc++/52300
6099 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6100
0c0c6398
KT
6101 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6102 to w32-unwind.h header.
6103
78c27266
RS
61042012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6105
6106 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6107 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6108 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6109 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6110
5adeb246
RS
61112012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6112
6113 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6114
672ed313
IS
61152012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6116
6117 PR libitm/52220
6118 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6119
e948a1fb
IS
61202012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6121 Patrick Marlier <patrick.marlier@gmail.com>
6122
6123 PR libitm/52220
6124 * config/darwin-crt-tm.c: Generate dummy functions.
6125
6017aed3
IS
61262012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6127 Patrick Marlier <patrick.marlier@gmail.com>
6128
6129 PR libitm/52042
6130 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6131 (__doTMRegistrations): Call it.
e9e053eb 6132 (__doTMdeRegistrations): Likewise.
6017aed3 6133
2da8c1ad 61342012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6135 Anatoly Sokolov <aesok@post.ru>
6136 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6137
6138 PR target/52261
6139 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6140 (__epilogue_restores__): Ditto.
6141
0f952eb4
EB
61422012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6143
6144 PR target/51921
6145 PR target/52205
6146 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6147 Solaris 11 and slightly reformat.
6148 (sparc_is_sighandler): Likewise.
6149
dd552284
WL
61502012-02-14 Walter Lee <walt@tilera.com>
6151
6152 * config.host: Handle tilegx and tilepro.
6153 * config/tilegx/sfp-machine.h: New file.
6154 * config/tilegx/sfp-machine32.h: New file.
6155 * config/tilegx/sfp-machine64.h: New file.
6156 * config/tilegx/t-crtstuff: New file.
6157 * config/tilegx/t-softfp: New file.
6158 * config/tilegx/t-tilegx: New file.
6159 * config/tilepro/atomic.c: New file.
6160 * config/tilepro/atomic.h: New file.
6161 * config/tilepro/linux-unwind.h: New file.
6162 * config/tilepro/sfp-machine.h: New file.
6163 * config/tilepro/softdivide.c: New file.
6164 * config/tilepro/softmpy.S: New file.
6165 * config/tilepro/t-crtstuff: New file.
6166 * config/tilepro/t-tilepro: New file.
6167
b59cbd50
JW
61682012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6169
6170 PR libstdc++/51296
6171 PR libstdc++/51906
6172 * gthr-posix.h: Allow static initializer macros to be disabled.
6173 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6174
6caf807f
CLT
61752012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6176
6177 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6178 Add t-slibgcc-libgcc to tmake_file.
6179 * config/mips/libgcc-mips16.ver: Revert previous patch.
6180 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6181
7d296953
JJ
61822012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6183 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6184
6185 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6186 * config/cr16/crti.S: New file.
6187 * config/cr16/crtlibid.S: New file.
6188 * config/cr16/crtn.S: New file.
6189 * config/cr16/lib1funcs.S: New file.
6190 * config/cr16/t-cr16: New file.
6191 * config/cr16/t-crtlibid: New file.
6192 * config/cr16/unwind-dw2.h: New file.
6193 * config/cr16/unwind-cr16.c: New file.
6194 * config/cr16/divmodhi3.c: New file.
6195
8ef03aa7
AM
61962012-01-25 Alan Modra <amodra@gmail.com>
6197
6198 * config/rs6000/t-linux64: Delete. Move..
6199 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6200 * config/rs6000/t-linux: ..and libgcc flags to here.
6201
daecebc8
DR
62022012-01-22 Douglas B Rupp <rupp@gnat.com>
6203
6204 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6205 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6206 * configure: Regenerate.
6207
ddaf8125
RS
62082012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6209 Richard Sandiford <rdsandiford@googlemail.com>
6210
6211 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6212 * config/mips/mips16.S (__mips16_rdhwr): New function.
6213 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6214
2cd8b32c
NS
62152012-01-11 Nathan Sidwell <nathan@acm.org>
6216
6217 * libgcov.c (__gcov_init): Ignore objects with no functions.
6218
cba300dd
GJL
62192012-01-10 Georg-Johann Lay <avr@gjlay.de>
6220
6221 PR target/49868
6222 Extend __pgmx semantics to linearize memory.
6223 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6224 * config/avr/lib1funcs.S (__xload_1): New function.
6225 (__movmemx_qi, __movmemx_hi): New functions.
6226 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6227 semantics.
9ffaf4bc 6228
3d137660
EB
62292012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6230
6231 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6232 purported sigacthandler address isn't null before dereferencing it.
6233 (sparc_is_sighandler): Likewise.
6234
bf4db96c
EB
62352012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6236
6237 PR ada/41929
6238 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6239 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6240 (sparc_is_sighandler): Likewise.
6241 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6242
1ab3568b
TG
62432012-01-06 Tristan Gingold <gingold@adacore.com>
6244
6245 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6246 compatibility thunks...
6247 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6248 (crtbeginS.o, crtendS.o): ... and these to ...
6249 * config/ia64/t-ia64-elf: ... this new file.
6250 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6251 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6252
925b0ed8
AK
62532012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6254
6255 * configure: Regenerate.
6256 * config/s390/t-crtstuff: Remove -fPIC.
6257
a99ad737
JW
62582012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6259
6260 PR bootstrap/51006
6261 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6262 for NetBSD.
6263
884f56d1
GJL
62642012-01-02 Georg-Johann Lay <avr@gjlay.de>
6265
6266 PR target/51345
6267 * config/avr/lib1funcs.S: Remove FIXME comments.
6268 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6269
8c57e547
GJL
62702012-01-02 Georg-Johann Lay <avr@gjlay.de>
6271
6272 Implement light-weight DImode support.
6273 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6274 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6275 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6276 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6277
04dbc287
NS
62782011-12-30 Nathan Sidwell <nathan@acm.org>
6279
6280 * libgcov.c (gcov_crc32): Remove global var.
6281 (free_fn_data): New function.
6282 (buffer_fn_data): Pass in filename, more robust error recovery.
6283 (crc32_unsigned): New function.
6284 (gcov_exit): More robust detection of new program. More robust
6285 error recovery.
6286 (__gcov_init): Do not update program's crc here.
6287
8e1d97d4
TG
62882011-12-21 Tristan Gingold <gingold@adacore.com>
6289
6290 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6291
9ffaf4bc
ILT
62922011-12-21 Ian Lance Taylor <iant@google.com>
6293
6294 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6295
a0c8d0c1
ILT
62962011-12-20 Ian Lance Taylor <iant@google.com>
6297
6298 * config/i386/morestack.S (__morestack_non_split): If there is
6299 enough stack space already, don't split. Ask for more stack space
6300 than we required.
6301
69048898
SDJ
63022011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6303
6304 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6305 `sys/sdt.h'.
6306 (_Unwind_DebugHook): New function.
6307 (uw_restore_core_regs): New define.
6308 (unwind_phase2): Use uw_restore_core_regs instead of
6309 restore_core_regs.
6310 (unwind_phase2_forced): Likewise.
6311 (__gnu_Unwind_Resume): Likewise.
6312
1bb4b6a3
UB
63132011-12-20 Uros Bizjak <ubizjak@gmail.com>
6314
6315 * config/alpha/linux-unwind.h: Update copyright years.
6316 (MD_FROB_UPDATE_CONTEXT): New define.
6317 (alpha_frob_update_context): New function.
6318
eb028768
RS
63192011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6320
6321 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6322 tmake_file rather replacing it.
6323
6a2045bf
IS
63242011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6325
6326 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6327 function is not used for PPC64.
6a2045bf
IS
6328 (save_world): Amend comments. Update the VRsave mask to reflect the
6329 saved regs.
6330 (rest_world): Update comments, do not clobber r10, do not use r8.
6331 (eh_rest_world_r10): Amend comments, do not use r8.
6332 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6333 no longer used, move restore of CR and target address to the end of
6334 the routine.
6335
a13780a6
L
63362011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6337
6338 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6339 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6340
d7288dfb
GJL
63412011-12-14 Georg-Johann Lay <avr@gjlay.de>
6342
6343 PR target/49313
6344 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6345 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6346
8d2c862d
EB
63472011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6348
6349 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6350
3447cae6
GJL
63512011-12-09 Georg-Johann Lay <avr@gjlay.de>
6352
6353 PR target/49313
6354 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6355 * config/avr/lib1funcs.S (__muldi3): New function.
6356
806fc6aa
AP
63572011-12-06 Andrew Pinski <apinski@cavium.com>
6358
6359 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6360 size of func_ptr.
6361 (__frame_dummy_init_array_entry): Likewise.
6362
28c5e6b5
GJL
63632011-12-06 Georg-Johann Lay <avr@gjlay.de>
6364
6365 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6366
6367 PR target/51345
6368 PR target/51002
6369 * config/avr/lib1funcs.S (__prologue_saves__,
6370 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6371 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6372
8f90394a
IS
63732011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6374
6375 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6376
06dd33ac
JDA
63772011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6378
6379 PR other/51272
6380 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6381 (_ITM_deregisterTMCloneTable): Likewise.
6382 (__register_frame_info): Fix unused warning.
6383 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6384 pthread_default_stacksize_np): Likewise.
6385 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6386
85b8555e
DD
63872011-11-29 DJ Delorie <dj@redhat.com>
6388
6389 * config.host (rl78-*-elf): New case.
6390 * config/rl78: New directory for the Renesas RL78.
6391
4d5ae4ea
BS
63922011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6393
6394 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6395 formatting.
6396
f9c55897
RO
63972011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6398
6399 PR other/51022
6400 * config/rs6000/t-savresfgpr: New file.
6401 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6402 $(srcdir)/config/rs6000/eabi.S.
6403 * config/rs6000/t-ppccomm-ldbl: Remove.
6404 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6405 tmake_file.
6406 (powerpc-*-eabispe*): Likewise.
6407 (powerpc-*-eabi*): Likewise.
6408 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6409 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6410 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6411 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6412 tmake_file.
6413 (powerpc-*-eabisim*): Likewise.
6414 (powerpc-*-elf*): Likewise.
6415 (powerpc-*-eabialtivec*): Likewise.
6416 (powerpc-xilinx-eabi*): Likewise.
6417 (powerpc-*-rtems*): Likewise.
6418 (powerpcle-*-elf*): Likewise.
6419 (powerpcle-*-eabisim*): Likewise.
6420 (powerpcle-*-eabi*): Likewise.
6421
a01207c4
ILT
64222011-11-27 Ian Lance Taylor <iant@google.com>
6423
6424 * generic-morestack.c (__splitstack_find): Check for NULL old
6425 stack value.
6426 (__splitstack_resetcontext): New function.
6427 (__splitstack_releasecontext): New function.
6428 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6429
2b0b8ab2
IS
64302011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6431
6432 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6433
c1d8101c
IS
64342011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6435
6436 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6437
8b281334
RH
64382011-11-26 Richard Henderson <rth@redhat.com>
6439
6440 * config/m68k/linux-atomic.c: New file.
6441 * config/m68k/t-linux: New file.
6442 * config.host (m68k-uclinux, m68k-linux): Use it.
6443
7546aa9d
RH
64442011-11-26 Richard Henderson <rth@redhat.com>
6445
6446 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6447 (__TMC_END__): Only declare if hidden is available; in the definition,
6448 if hidden is unavailable add a null record.
6449 (deregister_tm_clones, register_tm_clones): New.
6450 (__do_global_dtors_aux, frame_dummy): Use them.
6451 (__do_global_dtors, __do_global_ctors_1): Likewise.
6452
e2362f5d
IS
64532011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6454
6455 * config/darwin-crt-tm.c: New file.
6456 * config.host (darwin): Build crttms.o crttme.o to provide
6457 startup and shutdown for tm clones.
6458 * config/t-darwin (crttms.o): New build rule.
6459 (crttme.o): Likewise.
6460
6685dd96
HPN
64612011-11-21 Hans-Peter Nilsson <hp@axis.com>
6462
6463 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6464 et al.
6465
b0dc7e4c
RH
64662011-11-21 Richard Henderson <rth@redhat.com>
6467
6468 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6469 (__TMC_LIST__, __TMC_END__): New.
6470 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6471 (__do_global_dtors): Likewise.
6472 (frame_dummy): Call _ITM_registerTMCloneTable.
6473 (__do_global_ctors_1): Likewise.
6474
d4b4b542
RO
64752011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6476
6477 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6478 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6479 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6480 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6481 * config/i386/t-darwin64: Remove.
6482 * config/sh/t-netbsd (LIB2ADD): Remove.
6483
989bdb74
GJL
64842011-11-21 Georg-Johann Lay <avr@gjlay.de>
6485
6486 PR target/49313
6487 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6488 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6489 * config/avr/lib1funcs.S (wmov): New assembler macro.
6490 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6491 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6492 (__udivmod64): New function.
6493 (__negdi2): New function.
6494
515a0cfc
GP
64952011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6496
6497 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6498 *-*-freebsd*aout*): Remove.
6499
0115d17f
HPN
65002011-11-20 Hans-Peter Nilsson <hp@axis.com>
6501
6502 * static-object.mk (c_flags-$o): Save c_flags.
6503 ($(base)$(objext)): Use it.
6504
93aeb62b
SE
65052011-11-18 Steve Ellcey <sje@cup.hp.com>
6506
6507 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6508
7bc6df2c
GJL
65092011-11-18 Georg-Johann Lay <avr@gjlay.de>
6510
6511 PR target/49868
6512 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6513 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6514 New functions.
6515
425d737b
MGD
65162011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6517
6518 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6519 functions.
1bb4b6a3 6520 (aeabi_uidivmod): Likewise.
425d737b
MGD
6521 (umodsi3): Likewise.
6522 (divsi3): Likewise.
6523 (aeabi_idivmod): Likewise.
6524 (modsi3): Likewise.
6525
f2a176dc
TG
65262011-11-16 Tristan Gingold <gingold@adacore.com>
6527
6528 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6529
7c209481
GJL
65302011-11-15 Georg-Johann Lay <avr@gjlay.de>
6531
6532 PR target/49868
6533 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6534 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6535
9dfd5832
JDA
65362011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6537
6538 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6539 tmake_file list.
6540 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6541 * config/pa/t-stublib64: Delete.
6542
f77dca5d
RH
65432011-11-12 Richard Henderson <rth@redhat.com>
6544
6545 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6546 cast the pointer argument to _Unwind_SetGRPtr.
6547
902828f0
RO
65482011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6549
6550 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6551
e14304ef
ILT
65522011-11-09 Ian Lance Taylor <iant@google.com>
6553
6554 * generic-morestack.c: Include <string.h>.
6555 (uintptr_type): Define.
6556 (struct initial_sp): Add dont_block_signals field. Reduce size of
6557 extra array by 1.
6558 (allocate_segment): Set prev field to NULL. Don't set
6559 __morestack_current_segment or __morestack_segments.
6560 (__generic_morestack): Update current->prev and *pp after calling
6561 allocate_segment.
6562 (__morestack_block_signals): Don't do anything if
6563 dont_block_signals is set.
6564 (__morestack_unblock_signals): Likewise.
6565 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6566 uintptr_type.
6567 (__splitstack_block_signals): New function.
6568 (enum __splitstack_content_offsets): Define.
6569 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6570 (__splitstack_makecontext): New function.
6571 (__splitstack_block_signals_context): New function.
6572 (__splitstack_find_context): New function.
6573 * config/i386/morestack.S (__morestack_get_guard): New function.
6574 (__morestack_set_guard, __morestack_make_guard): New functions.
6575 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6576
e3d871e4
RO
65772011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6578
6579 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6580 (i[34567]86-*-mingw*): ... here.
6581 (x86_64-*-mingw*): ... here.
6582
e55cef40
RO
65832011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6584
6585 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6586
5366b186
NS
65872011-11-07 Nathan Sidwell <nathan@acm.org>
6588
6589 * libgcov.c (struct gcov_fn_buffer): New struct.
6590 (buffer_fn_data): New helper.
6591 (gcov_exit): Rework for new gcov data structures.
6592
74155a6f
GJL
65932011-11-07 Georg-Johann Lay <avr@gjlay.de>
6594
6595 PR target/49313
6596 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6597
200feb07
RO
65982011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6599
6600 * config.host (tmake_file): Correct comment.
6601 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6602 t-libgcc-pic.
6603 (bfin*-uclinux*): Likewise.
6604 (bfin*-linux-uclibc*): Likewise.
6605 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6606
6607 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6608 assigning.
6609 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6610 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6611 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6612 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6613 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6614 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6615 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6616 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6617 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6618 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6619 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6620 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6621 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6622
6623 * config/bfin/t-elf: Remove.
6624 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6625
c9cd1a07
RO
66262011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6627
6628 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6629 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6630 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6631 (lm32-*-elf*): ... this.
6632 (lm32-*-rtems*): ... and this.
6633 Add to tmake_file.
6634 (m32r-*-rtems*): Add to tmake_file.
6635 (moxie-*-rtems*): Likewise.
6636 (sparc-*-rtems*): Likewise.
6637 Remove t-rtems from tmake_file.
6638 (sparc64-*-rtems*): Likewise.
6639 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6640 instead.
6641
9fbcc75d
RO
66422011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6643
6644 PR bootstrap/50982
6645 * config/gthr-posix.h: Move ...
6646 * gthr-posix.h: ... here.
6647 * config/gthr-lynx.h: Reflect this.
6648 * config/gthr-vxworks.h: Likewise.
6649 * config/rs6000/gthr-aix.h: Likewise.
6650 * configure.ac (target_thread_file): Likewise.
6651 * configure: Regenerate.
6652
76644b68
SH
66532011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6654
6655 * config.host (arm*-*-rtemseabi*): New target.
6656
5e490f2a
JDA
66572011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6658
6659 PR other/50991
6660 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6661 extra-parts.
6662
feeeff5c
JR
66632011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6664
6665 * config.host (epiphany-*-elf*): New configuration.
6666 * config/epiphany: New Directory.
6667
d618bb2c
RC
66682011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6669
6670 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6671 * config/avr/t-rtems: New.
6672 Filter out _exit from LIB1ASMFUNCS.
6673
1bb6f778
DM
66742011-11-04 David S. Miller <davem@davemloft.net>
6675
6676 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6677 * configure: Rebuild.
6678
9a7f7422
AK
66792011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6680
6681 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6682 variable.
6683
e4fe948a
GJL
66842011-11-04 Georg-Johann Lay <avr@gjlay.de>
6685
6686 PR target/50931
6687 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6688 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6689
7084e037
JS
66902011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6691
6692 PR target/50989
6693 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6694
1a032034
RO
66952011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6696
6697 * config/c6x/t-elf (LIB2ADDEH): Set.
6698 * config/c6x/t-c6x-elf: Remove.
6699
d385f772
RO
67002011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6701
6702 * config/i386/sol2-ci.S: Rename to ...
6703 * config/i386/crti.S: ... this.
6704 * config/i386/sol2-cn.S: Rename to ...
6705 * config/i386/crtn.S: ... this.
6706 * config/sparc/sol2-ci.S: Rename to ...
6707 * config/sparc/crti.S: ... this.
6708 * config/sparc/sol2-cn.S: Rename to ...
6709 * config/sparc/crtn.S: ... this.
6710 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6711 (crti.o, crtn.o): Remove.
6712
1ba878a9
TG
67132011-11-04 Tristan Gingold <gingold@adacore.com>
6714
6715 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6716
02750c15
KK
67172011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6718
6719 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6720
bf86b067
HPN
67212011-11-03 Hans-Peter Nilsson <hp@axis.com>
6722
6723 * config.host (crisv32-*-none, cris-*-none): Remove.
6724 (crisv32-*-elf): Append to tmake_file, don't just set it.
6725 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6726
d0bc53bd
RO
67272011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6728
6729 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6730 (ecrtn$(objext)): Likewise.
6731 (ncrti$(objext)): Likewise.
6732 (ncrtn$(objext)): Likewise.
6733
036da830
AS
67342011-11-03 Andreas Schwab <schwab@redhat.com>
6735
6736 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6737
d2a7d041
DM
67382011-11-02 David S. Miller <davem@davemloft.net>
6739
6740 * configure.ac: Set host_address on sparc too.
6741 * configure: Regenerate.
6742 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6743 based upon host_address.
6744 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6745
af8ed618
JM
67462011-11-02 Jason Merrill <jason@redhat.com>
6747
6748 * config/rs6000/t-ppccomm: Add missing \.
6749
5d1c8e77
RO
67502011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6751
6752 * gthr-single.h, gthr.h: New files.
6753 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6754 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6755 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6756 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6757 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6758 * configure.ac (thread_header): New variable.
6759 Set it depending on target_thread_file.
6760 (gthr-default.h): Link from $thread_header.
6761 * configure: Regenerate.
6762 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6763
852b75ed
RO
67642011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6765
6766 * configure.ac (tm_file_): New variable.
6767 Determine from tm_file.
6768 (tm_file, tm_defines): Substitute.
6769 * configure: Regenerate.
6770 * mkheader.sh: New file.
6771 * Makefile.in (clean): Remove libgcc_tm.h.
6772 ($(objects)): Depend on libgcc_tm.h.
6773 (libgcc_tm_defines, libgcc_tm_file): New variables.
6774 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6775 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6776 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6777 ($(extra-parts)): Depend on libgcc_tm.h.
6778 * config.host (tm_defines, tm_file): New variable.
6779 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6780 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6781 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6782 (avr-*-rtems*): Likewise.
6783 (avr-*-*): Likewise.
6784 (frv-*-elf): Likewise.
6785 (frv-*-*linux*): Likewise.
6786 (h8300-*-rtems*): Likewise.
6787 (h8300-*-elf*): Likewise.
6788 (i[34567]86-*-darwin*): Likewise.
6789 (x86_64-*-darwin*): Likewise.
6790 (rx-*-elf): Likewise.
6791 (tic6x-*-uclinux): Likewise.
6792 (tic6x-*-elf): Likewise.
6793 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6794 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6795 * config/i386/cygming-crtbegin.c: Likewise.
6796 * config/i386/cygming-crtend.c: Likewise.
6797 * config/ia64/fde-vms.c: Likewise.
6798 * config/ia64/unwind-ia64.c: Likewise.
6799 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6800 * config/rs6000/darwin-fallback.c: Likewise.
6801 * config/stormy16/lib2funcs.c: Likewise.
6802 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6803 * crtstuff.c: Likewise.
6804 * dfp-bit.h: Likewise.
6805 * emutls.c: Likewise.
6806 * fixed-bit.c: Likewise.
6807 * fp-bit.c: Likewise.
6808 * generic-morestack-thread.c: Likewise.
6809 * generic-morestack.c: Likewise.
6810 * libgcc2.c: Likewise.
6811 * libgcov.c: Likewise.
6812 * unwind-dw2-fde-dip.c: Likewise.
6813 * unwind-dw2-fde.c: Likewise.
6814 * unwind-dw2.c: Likewise.
6815 * unwind-sjlj.c: Likewise.
6816
f9989b51
RO
68172011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6818
6819 * configure.ac: Include ../config/picflag.m4.
6820 (GCC_PICFLAG): Call it.
6821 Substitute.
6822 * configure: Regenerate.
6823 * Makefile.in (gcc_srcdir): Remove.
6824 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6825 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6826 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6827 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6828 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6829 Use $<.
6830 Remove comment.
6831 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6832 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6833 to refer to libgcc2.c.
6834 Use $<.
6835 * config/darwin-64.c: New file.
6836 * config/darwin-crt3.c: Remove comment.
6837 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6838 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6839 config/udivmodsi4.c: New files.
6840 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6841 config/memset.c: New files.
6842 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6843 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6844 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6845 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6846 * config/t-openbsd-thread: New file.
6847 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6848 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6849 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6850 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6851 qrnnd.S.
6852 Adapt filename.
6853 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6854 to refer to gthr-posix.c.
6855 * config/alpha/t-vms (LIB2ADD): Set.
6856 * config/alpha/vms-gcc_shell_handler.c: New file.
6857 * config/arm/bpabi.c, config/arm/fp16.c,
6858 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6859 config/arm/unaligned-funcs.c: New files.
6860 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6861 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6862 * config/arm/t-linux: Likewise.
6863 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6864 * config/arm/t-netbsd: New file.
6865 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6866 * config/arm/t-symbian (LIB2ADD_ST): Set.
6867 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6868 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6869 * config/bfin/t-elf: New file.
6870 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6871 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6872 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6873 config/c6x/ltf.c: New files.
6874 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6875 (HOST_LIBGCC2_CFLAGS): Set.
6876 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6877 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6878 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6879 New files.
6880 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6881 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6882 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6883 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6884 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6885 files.
6886 * config/frv/t-frv (LIB2ADD): Set.
6887 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6888 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6889 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6890 config/h8300/popcounthi2.c: New files.
6891 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6892 * config/i386/gthr-win32.c: New file.
6893 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6894 * config/i386/t-cygwin: Likewise.
6895 * config/i386/t-darwin, config/i386/t-darwin64,
6896 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6897 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6898 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6899 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6900 * config/ia64/quadlib.c: New file.
6901 * config/ia64/t-hpux (LIB2ADD): Set.
6902 * config/ia64/t-ia64: Add comment.
6903 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6904 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6905 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6906 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6907 * config/m32c/t-m32c (LIB2ADD): Set.
6908 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6909 * config/m32r/t-m32r: Likewise.
6910 * config/m68k/fpgnulib.c: New file.
6911 * config/m68k/t-floatlib (LIB2ADD): Set.
6912 (xfgnulib.c): New target.
6913 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6914 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6915 * config/mep/t-mep (LIB2ADD): Set.
6916 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6917 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6918 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6919 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6920 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6921 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6922 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6923 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6924 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6925 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6926 New files.
6927 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6928 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6929 * config/pa/fptr.c, config/pa/lib2funcs.S,
6930 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6931 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6932 (LIB2ADD, LIB2ADD_ST): Set.
6933 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6934 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6935 Set.
6936 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6937 * config/pdp11/t-pdp11: New file.
6938 * config/picochip/libgccExtras/adddi3.S,
6939 config/picochip/libgccExtras/ashlsi3.S,
6940 config/picochip/libgccExtras/ashrsi3.S,
6941 config/picochip/libgccExtras/clzsi2.S,
6942 config/picochip/libgccExtras/cmpsi2.S,
6943 config/picochip/libgccExtras/divmod15.S,
6944 config/picochip/libgccExtras/divmodhi4.S,
6945 config/picochip/libgccExtras/divmodsi4.S,
6946 config/picochip/libgccExtras/lshrsi3.S,
6947 config/picochip/libgccExtras/parityhi2.S,
6948 config/picochip/libgccExtras/popcounthi2.S,
6949 config/picochip/libgccExtras/subdi3.S,
6950 config/picochip/libgccExtras/ucmpsi2.S,
6951 config/picochip/libgccExtras/udivmodhi4.S,
6952 config/picochip/libgccExtras/udivmodsi4.S: New files.
6953 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6954 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6955 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6956 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6957 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6958 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6959 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6960 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6961 files.
6962 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6963 (HOST_LIBGCC2_CFLAGS): Set.
6964 * config/rs6000/t-darwin64: New file.
6965 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6966 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6967 * config/rs6000/t-ppccomm (LIB2ADD): Add
6968 $(srcdir)/config/rs6000/tramp.S.
6969 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6970 Add $(srcdir)/config/rs6000/eabi.S.
6971 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6972 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6973 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6974 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6975 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6976 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6977 * config/rs6000/tramp.S: New file.
6978 * config/s390/t-tpf: Remove.
6979 * config/sh/linux-atomic.S: New file.
6980 * config/sh/t-linux (LIB2ADD): Set.
6981 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6982 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6983 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6984 to unwind-dw2.c.
6985 (HOST_LIBGCC2_CFLAGS): Set.
6986 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6987 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6988 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6989 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6990 config/spu/mfc_multi_tag_release.c,
6991 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6992 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6993 config/spu/multi3.c: New files.
6994 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6995 (HOST_LIBGCC2_CFLAGS): Set.
6996 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6997 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6998 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6999 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7000 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7001 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7002 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7003 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7004 config/stormy16/umodsi3.c: New files.
7005 * config/xtensa/lib2funcs.S: New file.
7006 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7007 * config/xtensa/t-xtensa (LIB2ADD): Set.
7008 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7009 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7010 Add t-freebsd-thread to tmake_file for posix threads.
7011 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7012 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7013 (*-*-lynxos*): Likewise.
7014 (*-*-netbsd*): Likewise.
7015 (*-*-openbsd*): Likewise.
7016 Add t-openbsd-thread to tmake_file for posix threads.
7017 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7018 (*-*-vxworks*): Set tmake_file.
7019 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7020 (alpha*-*-freebsd*): Likewise.
7021 (alpha*-*-netbsd*): Likewise.
7022 (alpha*-*-openbsd*): Likewise.
7023 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7024 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7025 (alpha*-dec-*vms*): Likewise.
7026 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7027 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7028 (bfin*-uclinux*): Likewise.
7029 (bfin*-linux-uclibc*): Likewise.
7030 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7031 (crisv32-*-none): Likewise.
7032 (cris-*-elf): Likewise.
7033 (cris-*-none): Likewise.
7034 (cris-*-linux*, crisv32-*-linux*): Likewise.
7035 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7036 tmake_file.
7037 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7038 tmake_file.
7039 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7040 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7041 (x86_64-*-elf*): Likewise.
7042 (i[34567]86-*-nto-qnx*): Likewise.
7043 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7044 win32 threads.
7045 (x86_64-*-mingw*): Likewise.
7046 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7047 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7048 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7049 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7050 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7051 tmake_file.
7052 (mipsisa64sr71k-*-elf*): Likewise.
7053 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7054 (mips-*-elf*, mipsel-*-elf*): Likewise.
7055 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7056 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7057 (mips*-*-rtems*): Likewise.
7058 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7059 to tmake_file.
7060 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7061 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7062 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7063 (spu-*-elf*): Likewise.
7064 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7065
45b86625
RO
70662011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7067
7068 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7069 $(srcdir) to refer to $(LIB1ASMSRC).
7070 Use $<.
7071 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7072 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7073 config/arm/lib1funcs.S: New files.
7074 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7075 * config/arm/t-arm: New file.
7076 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7077 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7078 config/arm/t-strongarm-elf: New files.
7079 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7080 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7081 * config/avr/lib1funcs.S: New file.
7082 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7083 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7084 * config/c6x/lib1funcs.S: New file.
7085 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7086 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7087 * config/frv/lib1funcs.S: New file.
7088 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7089 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7090 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7091 * config/ia64/__divxf3.asm: Rename to ...
7092 * config/ia64/__divxf3.S: ... this.
7093 Adapt lib1funcs.asm filename.
7094 * config/ia64/_fixtfdi.asm: Rename to ...
7095 * config/ia64/_fixtfdi.S: ... this.
7096 Adapt lib1funcs.asm filename.
7097 * config/ia64/_fixunstfdi.asm: Rename to ...
7098 * config/ia64/_fixunstfdi.S: ... this.
7099 Adapt lib1funcs.asm filename.
7100 * config/ia64/_floatditf.asm: Rename to ...
7101 * config/ia64/_floatditf.S: ... this.
7102 Adapt lib1funcs.asm filename.
7103 * config/ia64/lib1funcs.S: New file.
7104 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7105 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7106 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7107 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7108 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7109 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7110 * config/mep/lib1funcs.S: New file.
7111 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7112 * config/mips/mips16.S: New file.
7113 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7114 * config/pa/milli64.S: New file.
7115 * config/pa/t-linux, config/pa/t-linux64: New files.
7116 * config/picochip/lib1funcs.S: New file.
7117 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7118 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7119 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7120 * config/sh/t-netbsd: New file.
7121 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7122 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7123 * config/sh/t-sh64: New file.
7124 * config/sparc/lb1spc.S: New file.
7125 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7126 filename.
7127 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7128 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7129 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7130 config/xtensa/lib1funcs.S: New files.
7131 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7132 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7133 tmake_file.
7134 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7135 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7136 (arm*-*-linux*): Likewise.
7137 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7138 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7139 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7140 (arm*-*-ecos-elf): Likewise.
7141 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7142 (arm*-*-rtems*): Likewise.
7143 (arm*-*-elf): Likewise.
7144 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7145 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7146 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7147 (bfin*-uclinux*): Likewise.
7148 (bfin*-linux-uclibc*): Likewise.
7149 (bfin*-rtems*): Likewise.
7150 (bfin*-*): Likewise.
7151 (fido-*-elf): Merge into m68k-*-elf*.
7152 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7153 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7154 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7155 (h8300-*-elf*): Likewise.
7156 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7157 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7158 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7159 (i[34567]86-*-mingw*): Likewise.
7160 (x86_64-*-mingw*): Likewise.
7161 (i[34567]86-*-interix3*): Likewise.
7162 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7163 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7164 (m68k-*-elf*): Also handle fido-*-elf.
7165 Add m68k/t-floatlib to tmake_file.
7166 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7167 (m68k-*-linux*): Likewise.
7168 (m68k-*-rtems*): Likewise.
7169 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7170 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7171 sh64*-*-*.
7172 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7173 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7174 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7175 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7176 sh/t-netbsd to tmake_file.
7177 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7178 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7179 (sh-wrs-vxworks): Likewise.
7180 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7181 *-leon[3-9]*.
7182 (v850*-*-*): Add v850/t-v850 to tmake_file.
7183 (vax-*-linux*): Add vax/t-linux to tmake_file.
7184 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7185
5f73c6cc
RO
71862011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7187
7188 * crtstuff.c: New file.
7189 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7190 (CRTSTUFF_T_CFLAGS): Define.
7191 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7192 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7193 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7194 crtstuff.c.
7195 Use $<.
7196 (crtbeginT.o): Use $(objext).
7197 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7198 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7199 (gcc-extra-parts): Remove.
7200 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7201 Set extra_parts.
7202 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7203 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7204 Add t-crtstuff-pic to tmake_file.
7205 (*-*-lynxos*): New case.
7206 Set tmake_file, extra_parts.
7207 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7208 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7209 *-*-netbsdelf[2-9]*.
7210 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7211 (*-*-rtems*): Set extra_parts.
7212 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7213 (*-*-uclinux*): New case.
7214 Set extra_parts.
7215 (*-*-vms*): New case.
7216 Set tmake_file, extra_parts.
7217 (*-*-elf): Set extra_parts.
7218 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7219 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7220 vms/t-vms64.
7221 Set extra_parts.
7222 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7223 Set extra_parts.
7224 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7225 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7226 (arm-wrs-vxworks): Append to tmake_file.
7227 Set extra_parts.
7228 (arm*-*-uclinux*): Set extra_parts.
7229 (arm*-*-ecos-elf): Likewise.
7230 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7231 arm*-*-eabi*.
7232 (arm*-*-rtems*): Set extra_parts.
7233 (arm*-*-elf): Likewise.
7234 (avr-*-rtems*): Clear extra_parts.
7235 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7236 Set extra_parts.
7237 (bfin*-uclinux*): Likewise.
7238 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7239 (bfin*-rtems*): Append to tmake_file.
7240 Set extra_parts.
7241 (bfin*-*): Likewise.
7242 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7243 (crisv32-*-elf): ... this.
7244 (crisv32-*-none): ... this.
7245 (cris-*-elf, cris-*-none): New cases.
7246 Add cris/t-elfmulti to tmake_file.
7247 (fr30-*-elf): Append to tmake_file.
7248 Set extra_parts.
7249 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7250 Set extra_parts.
7251 (h8300-*-rtems*): Append to tmake_file.
7252 Set extra_parts.
7253 (h8300-*-elf*): Likewise.
7254 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7255 Set extra_parts.
7256 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7257 Set extra_parts.
7258 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7259 (x86_64-*-elf*): Likewise.
7260 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7261 (x86_64-*-freebsd*): Likewise.
7262 (x86_64-*-netbsd*): Likewise.
7263 (i[34567]86-*-linux*): Likewise.
7264 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7265 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7266 (x86_64-*-linux*): Likewise.
7267 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7268 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7269 tmake_file.
7270 Set extra_parts.
7271 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7272 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7273 Append to extra_parts, remove crtbegin.o, crtend.o.
7274 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7275 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7276 crtend.o, crtbeginS.o, crtendS.o.
7277 (ia64*-*-linux*): Comment extra_parts.
7278 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7279 Set extra_parts.
7280 (iq2000*-*-elf*): Clear extra_parts.
7281 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7282 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7283 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7284 (m32r-*-rtems*): ... this.
7285 Add m32r/t-m32r to tmake_file.
7286 (m68k-*-elf*): Add t-crtin to tmake_file.
7287 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7288 (mcore-*-elf): Likewise.
7289 (microblaze*-*-*): Set extra_parts.
7290 (mips*-sde-elf*): New case.
7291 Set tmake_file, extra_parts.
7292 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7293 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7294 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7295 tmake_file.
7296 Set extra_parts.
7297 (mipsisa64sr71k-*-elf*): Likewise.
7298 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7299 (mips-*-elf*, mipsel-*-elf*): Likewise.
7300 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7301 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7302 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7303 (mips*-*-rtems*): Likewise.
7304 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7305 (moxie-*-*): Split into ...
7306 (moxie-*-elf, moxie-*-uclinux*): ... this.
7307 Add to extra_parts, remove crtbegin.o, crtend.o.
7308 (moxie-*-rtems*): New case.
7309 Set tmake_file.
7310 Clear extra_parts.
7311 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7312 Set extra_parts.
7313 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7314 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7315 tmake_file.
7316 Set extra_parts.
7317 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7318 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7319 Set extra_parts.
7320 (powerpc-*-eabisim*): Likewise.
7321 (powerpc-*-elf*): Likewise.
7322 (powerpc-*-eabialtivec*): Likewise.
7323 (powerpc-xilinx-eabi*): Likewise.
7324 (powerpc-*-eabi*): Likewise.
7325 (powerpc-*-rtems*): Likewise.
7326 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7327 tmake_file.
7328 Set extra_parts.
7329 (powerpc-*-lynxos*): Add to tmake_file.
7330 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7331 rs6000/t-crtstuff, t-crtstuff-pic.
7332 Set extra_parts.
7333 (powerpcle-*-eabisim*): Likewise.
7334 (powerpcle-*-eabi*): Likewise.
7335 (rx-*-elf): Remove extra_parts.
7336 (s390x-ibm-tpf*): Set extra_parts.
7337 (score-*-elf): Set extra_parts.
7338 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7339 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7340 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7341 (sh64l*-*-netbsd*): Split into ...
7342 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7343 Add t-crtstuff-pic to tmake_file.
7344 Set extra_parts.
7345 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7346 Set extra_parts.
7347 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7348 (sparc-*-elf*): Remove t-crtin from tmake_file.
7349 Add to extra_parts, remove crtbegin.o, crtend.o.
7350 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7351 (sparc64-*-linux*): Likewise.
7352 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7353 Add to extra_parts, remove crtbegin.o, crtend.o.
7354 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7355 Add to extra_parts, remove crtbegin.o, crtend.o.
7356 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7357 Add to extra_parts, remove crtbegin.o, crtend.o.
7358 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7359 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7360 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7361 Set extra_parts.
7362 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7363 Set extra_parts.
7364 (tic6x-*-*): Change to ...
7365 (tic6x-*-elf): ... this.
7366 Set extra_parts.
7367 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7368 Set extra_parts.
7369 (am33_2.0-*-linux*): Add comment.
7370 (mep*-*-*): Add mep/t-mep to tmake_file.
7371 Set extra_parts.
7372 * config/alpha/t-vms: New file.
7373 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7374 * config/arm/crti.S, config/arm/crtn.S: New files.
7375 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7376 * config/bfin/crtlibid.S: New file.
7377 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7378 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7379 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7380 (crti.o, crtin.o): New rules.
7381 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7382 * config/c6x/t-uclinux: New file.
7383 * config/cris/t-elfmulti: New file.
7384 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7385 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7386 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7387 * config/frv/t-frv: New file.
7388 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7389 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7390 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7391 New files.
7392 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7393 refer to cygming-crtbegin.c, cygming-crtend.c.
7394 Use $<.
7395 * config/i386/t-nto: New file.
7396 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7397 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7398 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7399 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7400 Use .S extension.
7401 Use $<.
7402 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7403 (crtinitS.o): New rule.
7404 * config/ia64/vms-crtinit.S: New file.
7405 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7406 * config/m32r/initfini.c: New file.
7407 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7408 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7409 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7410 * config/mep/t-mep: New file.
7411 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7412 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7413 * config/mips/crti.S, config/mips/crtn.S: New files.
7414 * config/mips/t-crtstuff: New file.
7415 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7416 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7417 (CUSTOM_CRTIN): Set.
7418 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7419 dependencies.
7420 Use $(srcdir) to refer to crti.S, crtn.S.
7421 Use .S extension, $<.
7422 * config/moxie/crti.asm: Rename to ...
7423 * config/moxie/crti.S: ... this.
7424 * config/moxie/crtn.asm: Rename to ...
7425 * config/moxie/crtn.S: ... this.
7426 * config/moxie/t-moxie: Remove.
7427 * config/pa/stublib.c: New file.
7428 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7429 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7430 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7431 * config/rs6000/t-crtstuff: New file.
7432 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7433 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7434 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7435 Make output file explicit.
7436 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7437 Make output file explicit.
7438 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7439 Make output file explicit.
7440 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7441 Make output file explicit.
7442 * config/score/crti.S, config/score/crtn.S: New files.
7443 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7444 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7445 files.
7446 * config/sh/t-sh, config/sh/t-superh: New files.
7447 * config/sparc/t-linux64: New file.
7448 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7449 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7450 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7451 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7452 * config/t-crtin: Remove.
7453 * config/t-crtstuff-pic: New file.
7454 * config/t-sol2 (CUSTOM_CRTIN): Set.
7455 (crti.o, crtn.o): New rules.
7456 * config/vms/t-vms: New file.
7457 * config/vms/vms-ucrt0.c: New file.
7458 * config/xtensa/t-elf: New file.
7459
b040f2be
RO
74602011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7461
7462 * Makefile.in (SHLIB_NM_FLAGS): Set.
7463 * mkmap-flat.awk, mkmap-symver.awk: New files.
7464 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7465 exceptions.
7466 * configure: Regenerate.
7467 * config/libgcc-glibc.ver: New file.
7468 * config/libgcc-libsystem.ver: New file.
7469 * config/t-libunwind (SHLIB_LC): Set.
7470 * config/t-linux: New file.
7471 * config/t-slibgcc (INSTALL_SHLIB): New.
7472 (SHLIB_INSTALL): Use it.
7473 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7474 to mkmap-symver.awk.
7475 (SHLIB_MAPFILES): Don't append, adapt pathname.
7476 (SHLIB_VERPFX): Set.
7477 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7478 to mkmap-symver.awk.
7479 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7480 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7481 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7482 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7483 to mkmap-flat.awk.
7484 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7485 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7486 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7487 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7488 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7489 * config/i386/libgcc-darwin.10.4.ver,
7490 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7491 New files.
7492 * config/i386/t-darwin: Remove.
7493 * config/i386/t-darwin64: Likewise.
7494 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7495 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7496 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7497 * config/i386/t-linux: New file.
7498 * config/i386/t-mingw32: New file.
7499 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7500 * config/ia64/t-glibc: Rename to ...
7501 * config/ia64/t-linux: ... this.
7502 (SHLIB_MAPFILES): Set.
7503 * config/ia64/t-glibc-libunwind: Rename to ...
7504 * config/ia64/t-linux-libunwind: ... this.
7505 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7506 * config/ia64/t-slibgcc-hpux: New file.
7507 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7508 * config/m68k/t-slibgcc-elf-ver: New file.
7509 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7510 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7511 to mkmap-flat.awk.
7512 * config/pa/t-slibgcc-hpux: New file.
7513 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7514 files.
7515 * config/rs6000/libgcc-darwin.10.4.ver,
7516 config/rs6000/libgcc-darwin.10.5.ver: New files.
7517 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7518 config/rs6000/libgcc-glibc.ver.
7519 * config/rs6000/libgcc-ppc64.ver: Rename to
7520 config/rs6000/libgcc-ibm-ldouble.ver.
7521 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7522 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7523 * config/rs6000/t-ldbl128: Rename to ...
7524 * config/rs6000/t-linux: ... this.
7525 (SHLIB_MAPFILES): Adapt filename.
7526 * config/rs6000/t-slibgcc-aix: New file.
7527 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7528 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7529 libgcc-excl.ver, libgcc-glibc.ver.
7530 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7531 * config/sparc/libgcc-glibc.ver: New file.
7532 * config/sparc/t-linux: New file.
7533 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7534 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7535 t-slibgcc-elf-ver to tmake_file.
7536 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7537 *-*-freebsd[34].
7538 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7539 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7540 t-slibgcc-elf-ver, t-linux to tmake_file.
7541 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7542 tmake_file.
7543 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7544 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7545 (alpha*-dec-*vms*): Likewise.
7546 (arm*-*-freebsd*): Append to tmake_file.
7547 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7548 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7549 arm*-*-linux-*eabi.
7550 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7551 tmake_file for arm*-*-symbianelf*.
7552 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7553 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7554 cris/t-linux.
7555 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7556 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7557 pa/t-slibgcc-dwarf-ver to tmake_file.
7558 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7559 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7560 (hppa*64*-*-hpux11*): Likewise.
7561 (hppa[12]*-*-hpux11*): Likewise.
7562 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7563 i386/t-crtpc, i386/t-crtfm.
7564 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7565 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7566 to tmake_file.
7567 Add i386/t-cygwin to tmake_file.
7568 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7569 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7570 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7571 to tmake_file.
7572 Add i386/t-mingw32 to tmake_file.
7573 (x86_64-*-mingw*): Likewise.
7574 (ia64*-*-freebsd*): Append to tmake_file.
7575 (ia64*-*-linux*): Append to tmake_file.
7576 Replace ia64/t-glibc by ia64/t-linux.
7577 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7578 system libunwind.
7579 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7580 t-slibgcc-hpux to tmake_file.
7581 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7582 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7583 (m32rle-*-linux*): Likewise.
7584 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7585 sjlj exceptions.
7586 (microblaze*-linux*): New case.
7587 Append to tmake_file, add t-slibgcc-nolc-override.
7588 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7589 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7590 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7591 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7592 rs6000/t-slibgcc-aix to tmake_file.
7593 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7594 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7595 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7596 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7597 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7598 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7599 sh*-*-linux*.
7600 (sparc-*-linux*): Append to tmake_file for *-leon*.
7601 Add sparc/t-linux to tmake_file for non-Leon targets.
7602 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7603 (tic6x-*-uclinux): New case.
7604 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7605 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7606 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7607 (am33_2.0-*-linux*): Append to tmake_file.
7608 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7609 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7610 x86_64-*-kfreebsd*-gnu.
7611 Add i386/t-linux to tmake_file.
7612
18b4bd7b
ILT
76132011-10-28 Ian Lance Taylor <iant@google.com>
7614
7615 * config/i386/morestack.S: Correct CFI information to do proper
7616 returns throughout function. In 32-bit mode, save %ebx so that it
7617 is restored on unwind.
7618
5b2d9d90
BS
76192011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7620
7621 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7622 case where B3 isn't the return register.
7623
0d53e346
BS
7624 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7625 logic for doubleword pops.
7626
cbffbd59
AT
76272011-10-25 Andreas Tobler <andreast@fgznet.ch>
7628
7629 * config/rs6000/t-freebsd: Add wildcard.
7630
56dc349e
PB
76312011-10-21 Paul Brook <paul@codesourcery.com>
7632
7633 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7634
1e06b07d
UB
76352011-10-16 Uros Bizjak <ubizjak@gmail.com>
7636 Eric Botcazou <ebotcazou@adacore.com>
7637
7638 PR target/50737
7639 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7640 fs->signal_frame to 1.
7641
b5204884
ILT
76422011-10-07 Ian Lance Taylor <iant@google.com>
7643
7644 * generic-morestack-thread.c: #include <errno.h>.
7645
91a639a1
ILT
76462011-10-07 Ian Lance Taylor <iant@google.com>
7647
7648 PR target/46093
7649 * generic-morestack.c (__generic_morestack): Make sure the segment
7650 is large enough for both the stack frame and the copied
7651 parameters.
7652
cc49116d
RO
76532011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7654
7655 PR bootstrap/49804
7656 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7657 extra_parts.
7658
2996d8c3
NC
76592011-09-28 Nick Clifton <nickc@redhat.com>
7660
7661 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7662 64-bit doubles are not enabled.
7663 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7664 and floatunsisf functions.
7665
1e874273 76662011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 7667
1e874273
PB
7668 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7669 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7670 * unwind-arm-common.inc: New file.
7671 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7672 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7673 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7674 * config/c6x/libunwind.S: New file.
7675 * config/c6x/pr-support.c: New file.
7676 * config/c6x/unwind-c6x.c: New file.
7677 * config/c6x/unwind-c6x.h: New file.
7678 * config/c6x/t-c6x-elf: New file.
7679
f70c879a
UB
76802011-08-23 Uros Bizjak <ubizjak@gmail.com>
7681
7682 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7683 (ASM_DIVZERO): Ditto.
7684 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7685
c55b374b
RS
76862011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7687
7688 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7689
1e138510
RS
76902011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7691
7692 PR target/50090
7693 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7694 instead of an assembly one.
7695
1563503d
PB
76962011-08-12 Paolo Bonzini <bonzini@gnu.org>
7697
7698 PR bootstrap/50047
7699 * Makefile.in (install-unwind_h): Create
7700 $(gcc_objdir)/include/unwind.h atomically.
7701
3627ac1a
RO
77022011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7703
7704 * Makefile.in (install-unwind_h): Remove destination file first.
7705
c6412d86
RO
77062011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7707
7708 * sync.c: New file.
7709 * config/mips/t-mips16: New file.
7710 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7711 (mips*-*-linux*): Likewise.
7712 (mips*-sde-elf*): Likewise.
7713 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7714 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7715 Add mips/t-mips16 to tmake_file.
7716 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7717 (mips-*-elf*): Likewise.
7718 (mips64-*-elf*): Likewise.
7719 (mips64orion-*-elf*): Likewise.
7720 (mips*-*-rtems*): Likewise.
7721 (mipstx39-*-elf*): Likewise.
7722 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7723 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7724 LIBGCC_SYNC_CFLAGS.
7725 Use $(srcdir) to refer to sync.c.
7726 Use $<.
7727 ($(libgcc-sync-funcs-o)): Likewise.
7728 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7729 ($(libgcc-sync-funcs-s-o)): Likewise.
7730
3cb6e5bd
AS
77312011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7732
7733 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7734 t-libunwind.
7735
cca2207a
L
77362011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7737
7738 PR other/48007
7739 * config/i386/value-unwind.h: New.
7740
ed39fbad
RS
77412011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7742
7743 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7744 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7745 Add to tmake_file rather than overriding it.
7746
aca0b0b3
RO
77472011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7748
7749 * config/t-softfp: Remove.
7750 * soft-fp: Moved from ../gcc/config.
7751 * soft-fp/README: Remove t-softfp reference.
7752 * soft-fp/t-softfp: Move to config/t-softfp.
7753 (softfp_machine_header): Remove.
7754 (softfp_file_list): Remove config subdir.
7755 (soft-fp-objects): New variable.
7756 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7757 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7758 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7759 * config/t-softfp-excl: New file.
7760 * config/t-softfp-sfdf: New file.
7761 * config/t-softfp-tf: New file.
7762 * config/no-sfp-machine.h: New file.
7763 * config/arm/sfp-machine.h: New file.
7764 * config/arm/t-softfp: New file.
7765 * config/c6x/sfp-machine.h: New file.
7766 * config/i386/32/t-fprules-softfp: Rename to ...
7767 * config/i386/32/t-softfp: ... this.
7768 (tifunctions, LIB2ADD): Remove.
7769 (softfp_int_modes): Override.
7770 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7771 subdir.
7772 * config/i386/64/eqtf2.c: Likewise.
7773 * config/i386/64/getf2.c: Likewise.
7774 * config/i386/64/letf2.c: Likewise.
7775 * config/ia64/sft-machine.h: New file.
7776 * config/ia64/t-fprules-softfp: Rename to ...
7777 * config/ia64/t-softfp: ... this.
7778 * config/lm32/sfp-machine.h: New file.
7779 * config/moxie/t-moxie-softfp: Remove.
7780 * config/rs6000/ibm-ldouble-format: New file.
7781 * config/rs6000/ibm-ldouble.c: New file.
7782 * config/rs6000/libgcc-ppc-glibc.ver: New file
7783 * config/rs6000/libgcc-ppc64.ver: New file
7784 * config/rs6000/sfp-machine.h: New file.
7785 * config/rs6000/t-freebsd: New file.
7786 * config/rs6000/t-ibm-ldouble: New file.
7787 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7788 libgcc-ppc-glibc.ver.
7789 * config/rs6000/t-linux64: New file.
7790 * config/rs6000/t-ppccomm (LIB2ADD): Add
7791 $(srcdir)/config/rs6000/ibm-ldouble.c.
7792 * config/rs6000/t-ppccomm-ldbl: New file.
7793 * config/score/sfp-machine.h: New file.
7794 * config.host (sfp_machine_header): Explain.
7795 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7796 t-softfp to tmake_file.
7797 (arm*-*-uclinux*): Likewise.
7798 (arm*-*-ecos-elf): Likewise.
7799 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7800 (arm*-*-rtems*): Likewise.
7801 (arm*-*-elf): Likewise.
7802 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7803 in tmake_file.
7804 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7805 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7806 (lm32-*-uclinux*): Likewise.
7807 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7808 t-softfp-excl, t-softfp.
7809 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7810 (powerpc64-*-darwin*): Likewise.
7811 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7812 to tmake_file.
7813 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7814 tmake_file.
7815 (powerpc-*-eabisim*): Likewise.
7816 (powerpc-*-elf*): Likewise.
7817 (powerpc-*-eabialtivec*): Likewise.
7818 (powerpc-xilinx-eabi*): Likewise.
7819 (powerpc-*-rtems*): Likewise.
7820 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7821 t-softfp-excl, t-softfp to tmake_file.
7822 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7823 rs6000/t-ppccomm-ldbl to tmake_file.
7824 (powerpcle-*-elf*): Likewise.
7825 (powerpcle-*-eabisim*): Likewise.
7826 (powerpcle-*-eabi*): Likewise.
7827 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7828 rs6000/t-ibm-ldouble to tmake_file.
7829 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7830 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7831 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7832 (tic6x-*-*): Likewise.
7833 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7834 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7835 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7836 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7837 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7838 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7839 t-softfp to tmake_file.
7840 * configure.ac (sfp_machine_header): Provide default if unset.
7841 Substitute.
7842 Link sfp-machine.h to config/$sfp_machine_header.
7843 * configure: Regenerate.
7844
569dc494
RO
78452011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7846
7847 * Makefile.in (double_type_size, long_double_type_size): Set.
7848 Remove $(fpbit-in-libgcc) support.
7849 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7850 (fpbit-src): New variable.
7851 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7852 Compile with -DFLOAT $(FPBIT_CFLAGS).
7853 Use $<.
7854 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7855 Compile with $(FPBIT_CFLAGS).
7856 Use $<.
7857 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7858 Compile with -DFLOAT $(TPBIT_CFLAGS).
7859 Use $<.
7860 * configure.ac (double_type_size, long_double_type_size):
7861 Determine and substitute.
7862 * configure: Regenerate.
7863 * fp-bit.c, fp-bit.h: New files.
7864 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7865 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7866 * config/mips/t-mips: New file.
7867 * config/mips/t-sdemtk: New file.
7868 * config/rs6000/ppc64-fp.c: New file.
7869 * config/rs6000/t-darwin (LIB2ADD): Add
7870 $(srcdir)/config/rs6000/ppc64-fp.c.
7871 * config/rs6000/t-ppc64-fp: New file.
7872 * config/rx/rx-lib.h: New file.
7873 * config/rx/t-rx (FPBIT): Set to true.
7874 ($(gcc_objdir)/fp-bit.c): Remove.
7875 (DPBIT): Set to true only with -m64bit-doubles.
7876 ($(gcc_objdir)/dp-bit.c): Remove.
7877 * config/sparc/t-softfp: Remove.
7878 * config/spu/t-elf: New file.
7879 * config/t-fdpbit, config/t-fpbit: New files.
7880 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7881 (mips*-*-*): Likewise.
7882 (arm-wrs-vxworks): Likewise.
7883 (arm*-*-freebsd*): Likewise.
7884 (avr-*-rtems*): Add t-fpbit to tmake_file.
7885 (avr-*-*): Likewise.
7886 (bfin*-elf*): Add t-fdpbit to tmake_file.
7887 (bfin*-uclinux*): Likewise.
7888 (bfin*-linux-uclibc*): Likewise.
7889 (bfin*-rtems*): New case.
7890 Add t-fdpbit to tmake_file.
7891 (bfin*-*): Add t-fdpbit to tmake_file.
7892 (crisv32-*-elf): Likewise.
7893 (cris-*-linux*): Likewise.
7894 (fr30-*-elf): Likewise.
7895 (frv-*-elf, frv-*-*linux*): Likewise.
7896 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7897 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7898 (m32r-*-elf*): Likewise.
7899 (m32rle-*-elf*): Likewise.
7900 (m32r-*-linux*): Likewise.
7901 (m32rle-*-linux*): Likewise.
7902 (mcore-*-elf): Add t-fdpbit to tmake_file.
7903 (microblaze*-*-*): Likewise.
7904 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7905 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7906 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7907 Fix typo.
7908 Add mips/t-tpbit to tmake-file.
7909 (mips*-*-linux*): Fix typo.
7910 (mips*-sde-elf*): New case
7911 Add mips/t-sdemtk unless using newlib.
7912 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7913 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7914 (mn10300-*-*): Likewise.
7915 (pdp11-*-*): Likewise.
7916 (picochip-*-*): Add t-fpbit to tmake_file.
7917 (powerpc-*-eabisimaltivec*): Likewise.
7918 (powerpc-*-eabisim*): Likewise.
7919 (powerpc-*-elf*): Likewise.
7920 (powerpc-*-eabialtivec*): Likewise.
7921 (powerpc-xilinx-eabi*): New case.
7922 Add t-fdpbit to tmake_file.
7923 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7924 (powerpc-*-rtems*): Likewise.
7925 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7926 tmake_file.
7927 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7928 tmake_file.
7929 (powerpc-*-lynxos*): Likewise.
7930 (powerpcle-*-elf*): Likewise.
7931 (powerpcle-*-eabisim*): Likewise.
7932 (powerpcle-*-eabi*): Likewise.
7933 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7934 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7935 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7936 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7937 (rx-*-elf): Add t-fdpbit to tmake_file.
7938 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7939 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7940 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7941 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7942 sh*-*-netbsd*.
7943 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7944 (sh-wrs-vxworks): Likewise.
7945 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7946 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7947 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7948 (sparc64-*-rtems*): ... new case.
7949 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7950 (spu-*-elf*): Likewise.
7951 Add spu/t-elf to tmake_file.
7952 (v850*-*-*): Add t-fdpbit to tmake_file.
7953 (xstormy16-*-elf): Likewise.
7954 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7955 (mep*-*-*): Likewise.
7956
201cdb74
RO
79572011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7958
7959 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7960 variables.
7961 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7962 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7963 (install-unwind_h): New target.
7964 (all): Depend on it.
7965 * config.host (unwind_header): New variable.
7966 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7967 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7968 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7969 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7970 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7971 Set unwind_header.
7972 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7973 Set unwind_header.
7974 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7975 arm*-*-eabi*.
7976 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7977 Set unwind_header.
7978 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7979 (ia64*-*-freebsd*): Likewise.
7980 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7981 tmake_file.
7982 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7983 $with_system_libunwind.
7984 (ia64*-*-hpux*): Set tmake_file.
7985 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7986 (picochip-*-*): Set tmake_file.
7987 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7988 md_unwind_header.
7989 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7990 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7991 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7992 (xtensa*-*-elf*): Set tmake_file.
7993 (xtensa*-*-linux*): Likewise.
7994 * configure.ac: Include ../config/unwind_ipinfo.m4.
7995 Call GCC_CHECK_UNWIND_GETIPINFO.
7996 Link unwind.h to $unwind_header.
7997 * configure: Regenerate.
7998 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7999 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8000 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8001 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8002 * config/unwind-dw2-fde-darwin.c: New file.
8003 * config/arm/libunwind.S, config/arm/pr-support.c,
8004 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8005 config/arm/unwind-arm.h,: New files.
8006 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8007 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8008 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8009 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8010 config/ia64/unwind-ia64.h: New files.
8011 * config/picochip/t-picochip: New file.
8012 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8013 files.
8014 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8015 * config/s390/t-tpf (LIB2ADDEH): Remove.
8016 * config/t-darwin (LIB2ADDEH): Set.
8017 * config/t-eh-dw2-dip: New file.
8018 * config/t-libunwind, config/t-libunwind-elf: New files.
8019 * config/t-sol2 (LIB2ADDEH): Remove.
8020 * config/xtensa/t-xtensa: New file.
8021
40f2f11f
L
80222011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8023
8024 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8025 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8026 long long to check rt_sigreturn syscall.
8027
bd15e32c
AM
80282011-08-02 Alan Modra <amodra@gmail.com>
8029
8030 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8031 Restore for indirect call bcrtl from correct stack slot, and only
8032 if cfa+40 isn't valid.
8033
655b30bf
JB
80342011-08-01 Julian Brown <julian@codesourcery.com>
8035
8036 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8037 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8038 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8039
247eb06f
JB
80402011-08-01 Julian Brown <julian@codesourcery.com>
8041
8042 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8043 (libgcc-std.ver.in): Use above.
8044 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8045 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8046 throughout file.
8047 * config/t-fixedpoint-gnu-prefix: New file.
8048 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8049 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8050 instead of __PFX__.
8051
02a8fe00
L
80522011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8053
8054 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8055 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8056 for x86-64. Properly check __x86_64__ and __LP64__.
8057
5fce9126
L
80582010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8059
8060 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8061 version.
8062 (_FP_WS_TYPE): Likewise.
8063 (_FP_I_TYPE): Likewise.
8064
2374a88a
AM
80652011-07-28 Alan Modra <amodra@gmail.com>
8066
8067 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8068 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8069 in a plt call stub. Do restore r2 if stopped on bctrl.
8070
e44dbbe1
RO
80712011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8072
8073 * config.host (i[3456x]86-*-netware*): Remove.
8074 * config/i386/netware-crt0.c, config/i386/t-nwld,
8075 config/i386/t-slibgcc-nwld: Remove.
8076
bcead286
BS
80772011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8078
8079 * config.host: Handle tic6x-*-*.
8080 * config/c6x/c6x-abi.h: New file.
8081
b3fe1584
RO
80822011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8083
8084 * config/i386/crtprec.c: New file.
8085 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8086 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8087 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8088 (x86_64-*-darwin*): Likewise.
8089 (i[34567]86-*-solaris2*: Likewise.
8090
35d8090d
RO
80912011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8092
8093 * config/alpha/crtfastmath.c: New file.
8094 * config/i386/crtfastmath.c: New file.
8095 * config/ia64/crtfastmath.c: New file.
8096 * config/mips/crtfastmath.c: New file.
8097 * config/sparc/crtfastmath.c: New file.
8098
8099 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8100 crtfastmath.c.
8101 Add -frandom-seed=gcc-crtfastmath.
8102 * config/alpha/t-crtfm: Remove.
8103 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8104 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8105
8106 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8107 (alpha*-dec-osf5.1*): Likewise.
8108 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8109 Add crtfastmath.o to extra_parts.
8110 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8111 Add crtfastmath.o to extra_parts.
8112 (x86_64-*-darwin*): Likewise.
8113 (x86_64-*-mingw*): Likewise.
8114 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8115 (ia64*-*-freebsd*): Likewise.
8116 (ia64*-*-linux*): Likewise.
8117 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8118 Add crtfastmath.o to extra_parts.
8119
e141542e
RO
81202011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8121
8122 * config/darwin-crt3.o: New file.
8123 * config/rs6000/darwin-crt2.c: New file.
8124 * config/t-darwin: New file.
8125 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8126 (crt2.o): New rule.
8127 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8128 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8129 (powerpc64-*-darwin*): Likewise.
8130
2d1efe2d
RO
81312011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8132
8133 * config/i386/netware-crt0.c: New file.
8134 * config/i386/t-nwld: Rename to ...
8135 * config/i386/t-slibgcc-nwld: ... this.
8136 * config/i386/t-nwld: New file.
8137 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8138 tmake_file.
8139 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8140 extra_parts.
8141
4a8bb046
RO
81422011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8143
8144 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8145 i386/t-crtstuff.
8146 * configure: Regenerate.
8147
2d8d5935
RO
81482011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8149
8150 * dfp-bit.c, dfp-bit.h: New files.
8151 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8152 variables.
8153 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8154 ($(d64pbit-o)): Likewise.
8155 ($(d128pbit-o)): Likewise.
8156 * config/t-dfprules: New file.
8157 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8158 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8159 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8160 (x86_64-*-linux*): Likewise.
8161 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8162 (i[34567]86-*-cygwin*): Likewise.
8163 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8164 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8165
2c50b2c3
RO
81662011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8167
8168 * Makfile.in (LIBGCOV): New variable.
8169 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8170 * libgcov.c: New file.
8171
a039d7c2
RO
81722011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8173
8174 * fixed-bit.c, fixed-bit.h: New files.
8175 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8176 refer to fixed-bit.c.
8177
1e4b2746
JM
81782011-07-07 Joseph Myers <joseph@codesourcery.com>
8179
8180 * config.host (*local*): Remove.
8181
fbdd5d87
RO
81822011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8183
8184 PR target/39150
8185 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8186 like i?86-*-solaris2.1[0-9]*.
8187 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8188 * configure.ac (i?86-*-solaris2*): Likewise.
8189 * configure: Regenerate.
8190
9e7714f4
TS
81912011-07-06 Thomas Schwinge <thomas@schwinge.name>
8192
8193 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8194 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8195 md_unwind_header by splitting out of...
8196 (i[34567]86-*-linux*): ... this.
8197 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8198 Remove md_unwind_header by splitting out of...
8199 (x86_64-*-linux*): ... this.
8200
6dab9931
GJL
82012011-07-04 Georg-Johann Lay <avr@gjlay.de>
8202
8203 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8204
4be46d19
NC
82052011-06-28 Nick Clifton <nickc@redhat.com>
8206
8207 * config.host: Recognize all V850 variants.
8208
1da9434b
UB
82092011-06-22 Uros Bizjak <ubizjak@gmail.com>
8210
8211 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8212
e4d48a4d
RO
82132011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8214
8215 * shared-object.mk (c_flags-$o): Save c_flags.
8216 ($(base)$(objext)): Use it.
8217 ($(base)_s$(objext)): Likewise.
8218
3801c801
BS
82192011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8220
8221 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8222 * libgcc-std.ver.in (GCC_4.7.0): New section.
8223
0ad8bb3b 82242011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8225
0ad8bb3b
GJL
8226 PR target/49313
8227 PR target/29524
8228 * config/avr/t-avr: Fix line endings.
8229 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8230 _parityXX2.
8231
ea963999
OH
82322011-06-14 Olivier Hainque <hainque@adacore.com>
8233 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8234
8235 * config/mips/irix6-unwind.h: New file.
8236 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8237
b11b0904
EB
82382011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8239
8240 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8241 (sparc64_fallback_frame_state): Use it.
8242 (sparc64_frob_update_context): Further adjust context.
8243 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8244 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8245 * config/sparc/sol2-cn.S: Likewise.
8246
10e48e39
RO
82472011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8248
8249 * enable-execute-stack-empty.c: New file.
8250 * enable-execute-stack-mprotect.c: New file.
8251 * config/i386/enable-execute-stack-mingw32.c: New file.
8252 * config.host (enable_execute_stack): New variable.
8253 Select appropriate variants.
8254 * configure.ac: Link enable-execute-stack.c to
8255 $enable_execute_stack.
8256 * configure: Regenerate.
8257 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8258 (lib2funcs): Remove _enable_execute_stack.
8259
10c4cabc
DM
82602011-06-09 David S. Miller <davem@davemloft.net>
8261 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8262
8263 * config.host (sparc-*-linux*): Correct md_unwind_header
8264 filename.
8265 (s390x-ibm-tpf*): Fix typo.
8266
aa4203e7
RO
82672011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8268
8269 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8270 Add crtfastmath.o to extra_parts.
8271 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8272 mips/t-crtfm.
8273 * config/mips/t-crtfm: Remove.
8274
0defd786
JDA
82752011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8276
8277 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8278
82f247af
KK
82792011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8280
8281 * config.host (sh*-*-linux*): Fix typo.
8282
58cd1d70
RO
82832011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8284
8285 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8286 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8287 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8288 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8289 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8290 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8291 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8292 Wrap in !__MINGW64__.
8293 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8294 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8295 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8296 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8297 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8298 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8299 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8300 Wrap in !__LP64__.
8301 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8302 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8303 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8304 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8305 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8306 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8307 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8308 * config/no-unwind.h: New file.
8309 * config.host (md_unwind_header): Document.
8310 Define.
8311 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8312 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8313 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8314 hppa[12]*-*-hpux11*): Set md_unwind_header.
8315 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8316 Set md_unwind_header.
8317 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8318 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8319 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8320 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8321 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8322 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8323 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8324 md_unwind_header.
8325 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8326 * configure: Regenerate.
8327
737346fa
RO
83282011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8329
8330 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8331 Set tmake_file, extra_parts.
8332 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8333 Remove O32 support.
8334 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8335 Remove O32 support.
8336 * config/mips/t-irix6: New file.
8337 * config/mips/t-slibgcc-irix: New file.
8338
c192cee6
RO
83392011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8340
8341 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8342 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8343
ee33b5f0
RO
83442011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8345
8346 * configure.ac (target_thread_file): Determine thread model.
8347 * configure: Regenerate.
8348 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8349 * config/alpha/t-alpha: New file.
8350 * config/alpha/t-crtfm: Use $<.
8351 * config/alpha/t-ieee: New file.
8352 * config/alpha/t-osf-pthread: New file.
8353 * config/alpha/t-slibgcc-osf: New file.
8354 * config/alpha/libgcc-osf5.ver: New file.
8355
0699e415
RO
83562011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8357
8358 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8359 tmake_file.
8360 Add crtfastmath.o to extra_parts.
8361
a3fab9c2
RO
83622011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8363
8364 * config/gmon-sol2.c: Reindent.
8365 Cleanup comments.
8366 Remove, correct casts.
8367 Use STDERR_FILENO, NULL.
8368 (BASEADDRESS): Remove.
8369 (minbrk): Remove.
8370 (errno, sbrk): Remove declarations.
8371 (monstartup) [hp300]: Remove.
8372 (mcount): Remove.
8373
ca24c5ad
RO
83742011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8375
8376 * Makefile.in (cpu_type): Define.
8377 * config.host (i[34567]86-*-rtems*): Handle it.
8378 (i[34567]86-*-solaris2*): Move body ...
8379 (*-*-solaris2*): ... here.
8380 New case, generalize.
8381 (sparc-*-elf*): Handle it.
8382 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8383 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8384 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8385 Fold into ...
8386 (sparc*-*-solaris2*): ... this.
8387 New case.
8388 (sparc64-*-elf*): Handle it.
8389 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8390 Merge ../gcc/config/i386/gmon-sol2.c.
8391 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8392 Use C comments.
8393 Merge ../gcc/config/i386/sol2-gc1.asm.
8394 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8395 Use C comments.
8396 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8397 Use C comments.
8398 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8399 * config/i386/t-crtstuff: New file.
8400 * config/i386/t-softfp: New file.
8401 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8402 $(T)crti.o, $(T)crtn.o): Remove.
8403 (gcrt1.o): New rule.
8404 (TARGET_LIBGCC2_CFLAGS): Remove.
8405 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8406 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8407 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8408 * config/sparc/t-sol2: New file.
8409 * config/sparc/t-crtfm: Move to ...
8410 * config/t-crtfm: ... this.
8411 Use $(cpu_type), $<.
8412 * config/t-crtin: New file.
8413 * config/sparc/t-softfp: New file.
8414 * config/sparc/t-softmul: New file.
8415 * config/t-rtems: New file.
8416 * config/t-slibgcc: New file.
8417 * config/t-slibgcc-elf-ver: New file.
8418 * config/t-slibgcc-gld: New file.
8419 * config/t-slibgcc-sld: New file.
8420 * config/t-sol2: New file.
8421 * configure.ac: Include ../config/lib-ld.m4.
8422 Call AC_LIB_PROG_LD_GNU.
8423 Substitute cpu_type.
8424 * configure: Regenerate.
8425
ad5f3d7b
BS
84262011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8427
8428 PR bootstrap/49173
8429 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8430 libgcc-std.ver in the build directory.
8431 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8432 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8433
cdbf4541
BS
84342011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8435
8436 * libgcc-std.ver.in: New file.
8437 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8438 variables.
8439 (libgcc-std.ver): New rule.
8440 * config/t-gnu-prefix: New file.
8441
c8028650
RO
84422011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8443
8444 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8445
4a68b4ca
JM
84462011-05-10 Joseph Myers <joseph@codesourcery.com>
8447
8448 * config/i386/darwin-lib.h: New file.
8449
80cf2e08
JM
84502011-05-10 Joseph Myers <joseph@codesourcery.com>
8451
8452 * config/arm/symbian-lib.h: New.
8453
a3330c9d
CD
84542011-05-04 Chris Demetriou <cgd@google.com>
8455
8456 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8457 (__x86.get_pc_thunk.bx): ...this.
8458 (__morestack): Adjust for rename, remove undef of __i686.
8459
6ace0756
CD
84602011-05-03 Chris Demetriou <cgd@google.com>
8461
8462 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8463
ebb9f8b0
JM
84642011-03-22 Joseph Myers <joseph@codesourcery.com>
8465
8466 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8467 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8468 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8469 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8470 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8471 Remove cases.
8472
9cfa1499
AT
84732011-03-14 Andreas Tobler <andreast@fgznet.ch>
8474
8475 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8476 Adjust copyright year.
8477
457186f6
ILT
84782011-03-07 Ian Lance Taylor <iant@google.com>
8479
8480 * generic-morestack.c (__splitstack_find): Adjust returned stack
8481 pointer to include all registers pushed by __morestack.
8482
58c741a6
DK
84832011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8484
8485 PR target/40125
8486 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8487 (toolexecdir): Calculate and AC_SUBST.
8488 (toolexeclibdir): Likewise.
8489 * Makefile.in (target_noncanonical): Import.
8490 (toolexecdir): Likewise.
8491 (toolexeclibdir): Likewise.
8492 * configure: Regenerate.
8493
26716c44
NF
84942010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8495
8496 PR target/46040
8497 * config/arm/bpabi.h: Rename to...
8498 * config/arm/bpabi-lib.h: ...this.
8499
b595b1a1
RO
85002010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8501
8502 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8503 appropriate.
8504 * configure: Regenerate.
8505
a3abe41c
NF
85062010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8507
8508 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8509 __FLOAT_WORD_ORDER__.
8510 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8511 Delete.
8512
455c8f48
RW
85132010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8514
8515 PR other/46202
8516 * Makefile.in (install-strip): New phony target.
8517
f3824a8b
ILT
85182010-11-07 Ian Lance Taylor <iant@google.com>
8519
8520 PR target/46089
8521 * config/i386/morestack.S (__morestack_large_model): New
8522 function.
8523
18ed6ee4
NF
85242010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8525
8526 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8527 Delete.
8528 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8529
8ac7fdcb
NF
85302010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8531
8532 * config/arm/bpabi.h: New file.
8533 * config/frv/frv-abi.h: New file.
8534
cdb388c2
ILT
85352010-10-01 Ian Lance Taylor <iant@google.com>
8536
8537 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8538 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8539
ef7c141c
L
85402010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8541
8542 PR target/45858
8543 * config.host: Add the missing `$'.
8544
80920132
ME
85452010-09-30 Michael Eager <eager@eagercon.com>
8546
8547 * config.host: Add microblaze*-*-*.
8548 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8549 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8550 udivsi3.asm,umodsi3.asm}: New.
8551
6dace308
ILT
85522010-09-28 Ian Lance Taylor <iant@google.com>
8553
8554 * configure.ac: Adjust CFI test to test assembler directly rather
8555 than checking gcc preprocessor macro.
8556 * configure: Rebuild.
8557
b6110d6d
ILT
85582010-09-27 Ian Lance Taylor <iant@google.com>
8559
8560 * configure.ac: Test whether assembler supports CFI directives.
8561 * config.host: Only add t-stack and i386/t-stack-i386 to
8562 tmake_file if libgcc_cv_cfi is "yes".
8563 * configure: Rebuild.
8564
7458026b
ILT
85652010-09-27 Ian Lance Taylor <iant@google.com>
8566
8567 * generic-morestack.h: New file.
8568 * generic-morestack.c: New file.
8569 * generic-morestack-thread.c: New file.
8570 * config/i386/morestack.S: New file.
8571 * config/t-stack: New file.
8572 * config/i386/t-stack-i386: New file.
8573 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8574 i386/t-stack-i386 to tmake_file.
8575
5b50fc0c
IS
85762010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8577
8578 * Makefile.in (libgcc-extra-parts): Check for static archives and
8579 invoke ranlib after installing them.
8580 (gcc-extra-parts): Likewise.
8581 (install-leaf): Likewise.
8582
b93cf342
L
85832010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8584
8585 * configure: Regenerated.
8586
996b42ef
KT
85872010-09-10 Kai Tietz <kai.tietz@onevision.com>
8588
b93cf342 8589 * configure: Regenerated.
996b42ef 8590
be1c764e
GP
85912010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8592 Andrew Pinski <pinskia@gmail.com>
8593
1da9434b 8594 PR target/40959
be1c764e
GP
8595 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8596
cc0ae0ca
L
85972010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8598
8599 PR target/45524
8600 * configure: Regenerated.
8601
84f47d20
AS
86022010-09-06 Andreas Schwab <schwab@redhat.com>
8603
8604 * configure: Regenerate.
8605
4159fb8d
UB
86062010-09-03 Uros Bizjak <ubizjak@gmail.com>
8607
8608 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8609 64bit targets.
8610 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8611 for 64bit targets.
8612
0df8fcc8
UB
86132010-09-03 Uros Bizjak <ubizjak@gmail.com>
8614 Iain Sandoe <iains@gcc.gnu.org>
8615
8616 PR target/45476
8617 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8618 LIB2FUNCS_EXCLUDE functions.
8619
3c39bca6
AK
86202010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8621
8622 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8623 Include dfp.m4.
8624 * configure: Regenerate.
8625
d78552bd
UB
86262010-09-01 Uros Bizjak <ubizjak@gmail.com>
8627
8628 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8629 i386/t-freebsd to tmake_file.
8630 * config/i386/t-freebsd: New file.
8631 * config/i386/libgcc-bsd.ver: New file.
8632
c5b79d4e
NF
86332010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8634
8635 * config.host (powerpc*-eabispe*): Set tmake_file.
8636 (powerpc*-eabi*): Likewise.
8637 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8638 crtbeginS, crtendS, crtbeginT.
8639
48b09a92
KH
86402010-06-12 Kazu Hirata <kazu@codesourcery.com>
8641
8642 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8643 to tmake_file. Add crtfastmath.o to extra_parts.
8644 * config/mips/t-crtfm: New.
8645
7d296953 86462010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
8647
8648 * config.host (sparc64-*-rtems*): New target.
8649
ed104137
RO
86502010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8651
8652 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8653 assembler syntax.
8654
3f56ef8b
TS
86552010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8656
8657 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8658
8c200350
RO
86592010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8660
8661 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8662 alpha-dec-osf5.0* support.
8663
7d296953 86642010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
8665
8666 * config.host: Add lm32-*-rtems*.
8667
f128db92 86682010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 8669 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
8670
8671 PR target/39048
8672 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8673 like other remaining 32-bit x86 OSes.
8674 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8675 assembler syntax.
8676 * config/i386/libgcc-sol2.ver: New file.
8677 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8678
7d296953 86792010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
8680
8681 PR c/43553
8682 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8683 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8684 is used and substitute set_use_emutls.
8685 * configure: Regenerated.
8686
15baf7f8
TG
86872010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8688
8689 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8690
7f5441df
RO
86912010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8692
8693 PR target/38085
8694 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8695 MULTILIB_CFLAGS.
8696 ($(T)gcrt1.o): Likewise.
8697 ($(T)crt1.o): Likewise.
8698 ($(T)crti.o): Likewise.
8699 ($(T)crtn.o): Likewise.
8700
ef74edbd
RW
87012010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8702
8703 PR other/42980
8704 * Makefile.in (install): Use $(MAKE) string in rule, for
8705 parallel make.
8706
e7c914db
HPN
87072010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8708
8709 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8710 * config/mmix/t-mmix: New file.
8711 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8712
1bcb71c4
JH
87132010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8714
8715 PR java/41991
8716 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8717 SHLIB_MAPFILES.
8718
e6e50811
AG
87192010-01-04 Anthony Green <green@moxielogic.com>
8720
8721 * config/moxie/crti.asm, config/moxie/crtn.asm,
8722 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8723 config/moxie/t-moxie: New files.
8724 * config.host: Add t-moxie-softfp reference.
8725
7d296953 87262009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
8727
8728 PR other/39888
8729 * config/t-slibgcc-darwin: Fix embedded rpaths for
8730 --enable-version-specific-runtime-libs, build extension stub
8731 libs exposing features available from current libgcc_s.
8732
7d296953 87332009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 8734
d78552bd
UB
8735 * config.host: Add lm32 targets.
8736 * config/lm32: New directory.
8737 * config/lm32/libgcc_lm32.h: New file.
8738 * config/lm32/_mulsi3.c: New file.
8739 * config/lm32/_udivmodsi4.c: New file.
8740 * config/lm32/_divsi3.c: New file.
8741 * config/lm32/_modsi3.c: New file.
8742 * config/lm32/_udivsi3.c: New file.
8743 * config/lm32/_umodsi3.c: New file.
8744 * config/lm32/_lshrsi3.S: New file.
8745 * config/lm32/_ashrsi3.S: New file.
8746 * config/lm32/_ashlsi3.S: New file.
8747 * config/lm32/crti.S: New file.
8748 * config/lm32/crtn.S: New file.
8749 * config/lm32/t-lm32: New file.
8750 * config/lm32/t-elf: New file.
8751 * config/lm32/t-uclinux: New file.
aa4945c1 8752
65a324b4
NC
87532009-10-26 Nick Clifton <nickc@redhat.com>
8754
8755 * config.host: Add support for RX target.
8756 * config/rx: New directory.
8757 * config/rx/rx-abi-functions.c: New file. Supplementary
8758 functions for libgcc to support the RX ABI.
8759 * config/rx/rx-abi.h: New file. Supplementary header file for
8760 libgcc RX ABI functions.
8761 * config/rx/t-rx: New file: Makefile fragment for building
8762 libgcc for the RX.
8763
dfb3b0e3
UB
87642009-10-09 Uros Bizjak <ubizjak@gmail.com>
8765
8766 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8767 constraint of y0 to "g".
8768
81dd9fd7
AK
87692009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8770
8771 * config.host: Include the s390 makefile fragments.
8772 * config/s390/32/_fixdfdi.c: New file.
8773 * config/s390/32/_fixsfdi.c: New file.
8774 * config/s390/32/_fixtfdi.c: New file.
8775 * config/s390/32/_fixunsdfdi.c: New file.
8776 * config/s390/32/_fixunssfdi.c: New file.
8777 * config/s390/32/_fixunstfdi.c: New file.
8778 * config/s390/32/t-floattodi: New file.
8779 * config/s390/libgcc-glibc.ver: New file.
8780 * config/s390/t-crtstuff: New file.
8781 * config/s390/t-linux: New file.
8782 * config/s390/t-tpf: New file.
8783
df58e648
RW
87842009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8785
8786 * configure.ac (AC_PREREQ): Bump to 2.64.
8787
79052be3
KK
87882009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8789
8790 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8791
5213506e
RW
87922009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8793
8794 * configure: Regenerate.
8795
a9a25daa
DR
87962009-08-09 Douglas B Rupp <rupp@gnat.com>
8797
8798 * config.host (ia64-hp-*vms*): New target.
8799 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8800 with ia64-hp-*vms*.
8801
6efbd53f
RW
88022009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8803
8804 * configure.ac: Add snippet for maintainer-mode.
8805 * configure: Regenerate.
8806 * Makefile.in (AUTOCONF, configure_deps): New variables.
8807 ($(srcdir)/configure)): New rule, active only with maintainer
8808 mode turned on.
8809
7acf4da6
DD
88102009-06-23 DJ Delorie <dj@redhat.com>
8811
8812 Add MeP port.
8813 * config.host: Add mep support.
8814
54f549af
KT
88152009-06-22 Kai Tietz <kai.tietz@onevision.com>
8816
34481f28 8817 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8818 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
8819
8820 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8821 for mingw targets.
54f549af
KT
8822 * config/i386/64/_multc3.c: Likewise.
8823 * config/i386/64/_powitf2.c: Likewise.
8824 * config/i386/64/eqtf2.c: Likewise.
8825 * config/i386/64/getf2.c: Likewise.
8826 * config/i386/64/letf2.c: Likewise.
8827 * config/i386/64/letf2.c: Likewise.
34481f28
UB
8828 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8829 unsigned long long for x64 mingw targets.
8830 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8831 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 8832
fea96e25
MR
88332009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8834
8835 * config.host (vax-*-linux*): New.
8836
cceb575c
AG
88372009-05-31 Anthony Green <green@moxielogic.com>
8838
8839 * config.host: Add moxie support.
8840 * config/moxie/t-moxie: New file.
8841
7d296953 88422009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
8843
8844 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8845 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 8846
532bfb0a
AJ
88472009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8848
8849 * config.host: Add i386/${host_address}/t-fprules-softfp to
8850 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8851
748086b7
JJ
88522009-04-09 Nick Clifton <nickc@redhat.com>
8853
8854 * config/ia64/tf-signs.c: Change copyright header to refer to
8855 version 3 of the GNU General Public License with version 3.1
8856 of the GCC Runtime Library Exception and to point readers at
8857 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8858 web page.
8859 * config/i386/32/tf-signs.c: Likewise.
8860 * config/libbid/_addsub_dd.c: Likewise.
8861 * config/libbid/_addsub_sd.c: Likewise.
8862 * config/libbid/_addsub_td.c: Likewise.
8863 * config/libbid/_dd_to_df.c: Likewise.
8864 * config/libbid/_dd_to_di.c: Likewise.
8865 * config/libbid/_dd_to_sd.c: Likewise.
8866 * config/libbid/_dd_to_sf.c: Likewise.
8867 * config/libbid/_dd_to_si.c: Likewise.
8868 * config/libbid/_dd_to_td.c: Likewise.
8869 * config/libbid/_dd_to_tf.c: Likewise.
8870 * config/libbid/_dd_to_udi.c: Likewise.
8871 * config/libbid/_dd_to_usi.c: Likewise.
8872 * config/libbid/_dd_to_xf.c: Likewise.
8873 * config/libbid/_df_to_dd.c: Likewise.
8874 * config/libbid/_df_to_sd.c: Likewise.
8875 * config/libbid/_df_to_td.c: Likewise.
8876 * config/libbid/_di_to_dd.c: Likewise.
8877 * config/libbid/_di_to_sd.c: Likewise.
8878 * config/libbid/_di_to_td.c: Likewise.
8879 * config/libbid/_div_dd.c: Likewise.
8880 * config/libbid/_div_sd.c: Likewise.
8881 * config/libbid/_div_td.c: Likewise.
8882 * config/libbid/_eq_dd.c: Likewise.
8883 * config/libbid/_eq_sd.c: Likewise.
8884 * config/libbid/_eq_td.c: Likewise.
8885 * config/libbid/_ge_dd.c: Likewise.
8886 * config/libbid/_ge_sd.c: Likewise.
8887 * config/libbid/_ge_td.c: Likewise.
8888 * config/libbid/_gt_dd.c: Likewise.
8889 * config/libbid/_gt_sd.c: Likewise.
8890 * config/libbid/_gt_td.c: Likewise.
8891 * config/libbid/_isinfd128.c: Likewise.
8892 * config/libbid/_isinfd32.c: Likewise.
8893 * config/libbid/_isinfd64.c: Likewise.
8894 * config/libbid/_le_dd.c: Likewise.
8895 * config/libbid/_le_sd.c: Likewise.
8896 * config/libbid/_le_td.c: Likewise.
8897 * config/libbid/_lt_dd.c: Likewise.
8898 * config/libbid/_lt_sd.c: Likewise.
8899 * config/libbid/_lt_td.c: Likewise.
8900 * config/libbid/_mul_dd.c: Likewise.
8901 * config/libbid/_mul_sd.c: Likewise.
8902 * config/libbid/_mul_td.c: Likewise.
8903 * config/libbid/_ne_dd.c: Likewise.
8904 * config/libbid/_ne_sd.c: Likewise.
8905 * config/libbid/_ne_td.c: Likewise.
8906 * config/libbid/_sd_to_dd.c: Likewise.
8907 * config/libbid/_sd_to_df.c: Likewise.
8908 * config/libbid/_sd_to_di.c: Likewise.
8909 * config/libbid/_sd_to_sf.c: Likewise.
8910 * config/libbid/_sd_to_si.c: Likewise.
8911 * config/libbid/_sd_to_td.c: Likewise.
8912 * config/libbid/_sd_to_tf.c: Likewise.
8913 * config/libbid/_sd_to_udi.c: Likewise.
8914 * config/libbid/_sd_to_usi.c: Likewise.
8915 * config/libbid/_sd_to_xf.c: Likewise.
8916 * config/libbid/_sf_to_dd.c: Likewise.
8917 * config/libbid/_sf_to_sd.c: Likewise.
8918 * config/libbid/_sf_to_td.c: Likewise.
8919 * config/libbid/_si_to_dd.c: Likewise.
8920 * config/libbid/_si_to_sd.c: Likewise.
8921 * config/libbid/_si_to_td.c: Likewise.
8922 * config/libbid/_td_to_dd.c: Likewise.
8923 * config/libbid/_td_to_df.c: Likewise.
8924 * config/libbid/_td_to_di.c: Likewise.
8925 * config/libbid/_td_to_sd.c: Likewise.
8926 * config/libbid/_td_to_sf.c: Likewise.
8927 * config/libbid/_td_to_si.c: Likewise.
8928 * config/libbid/_td_to_tf.c: Likewise.
8929 * config/libbid/_td_to_udi.c: Likewise.
8930 * config/libbid/_td_to_usi.c: Likewise.
8931 * config/libbid/_td_to_xf.c: Likewise.
8932 * config/libbid/_tf_to_dd.c: Likewise.
8933 * config/libbid/_tf_to_sd.c: Likewise.
8934 * config/libbid/_tf_to_td.c: Likewise.
8935 * config/libbid/_udi_to_dd.c: Likewise.
8936 * config/libbid/_udi_to_sd.c: Likewise.
8937 * config/libbid/_udi_to_td.c: Likewise.
8938 * config/libbid/_unord_dd.c: Likewise.
8939 * config/libbid/_unord_sd.c: Likewise.
8940 * config/libbid/_unord_td.c: Likewise.
8941 * config/libbid/_usi_to_dd.c: Likewise.
8942 * config/libbid/_usi_to_sd.c: Likewise.
8943 * config/libbid/_usi_to_td.c: Likewise.
8944 * config/libbid/_xf_to_dd.c: Likewise.
8945 * config/libbid/_xf_to_sd.c: Likewise.
8946 * config/libbid/_xf_to_td.c: Likewise.
8947 * config/libbid/bid128.c: Likewise.
8948 * config/libbid/bid128_2_str.h: Likewise.
8949 * config/libbid/bid128_2_str_macros.h: Likewise.
8950 * config/libbid/bid128_2_str_tables.c: Likewise.
8951 * config/libbid/bid128_add.c: Likewise.
8952 * config/libbid/bid128_compare.c: Likewise.
8953 * config/libbid/bid128_div.c: Likewise.
8954 * config/libbid/bid128_fma.c: Likewise.
8955 * config/libbid/bid128_logb.c: Likewise.
8956 * config/libbid/bid128_minmax.c: Likewise.
8957 * config/libbid/bid128_mul.c: Likewise.
8958 * config/libbid/bid128_next.c: Likewise.
8959 * config/libbid/bid128_noncomp.c: Likewise.
8960 * config/libbid/bid128_quantize.c: Likewise.
8961 * config/libbid/bid128_rem.c: Likewise.
8962 * config/libbid/bid128_round_integral.c: Likewise.
8963 * config/libbid/bid128_scalb.c: Likewise.
8964 * config/libbid/bid128_sqrt.c: Likewise.
8965 * config/libbid/bid128_string.c: Likewise.
8966 * config/libbid/bid128_to_int16.c: Likewise.
8967 * config/libbid/bid128_to_int32.c: Likewise.
8968 * config/libbid/bid128_to_int64.c: Likewise.
8969 * config/libbid/bid128_to_int8.c: Likewise.
8970 * config/libbid/bid128_to_uint16.c: Likewise.
8971 * config/libbid/bid128_to_uint32.c: Likewise.
8972 * config/libbid/bid128_to_uint64.c: Likewise.
8973 * config/libbid/bid128_to_uint8.c: Likewise.
8974 * config/libbid/bid32_to_bid128.c: Likewise.
8975 * config/libbid/bid32_to_bid64.c: Likewise.
8976 * config/libbid/bid64_add.c: Likewise.
8977 * config/libbid/bid64_compare.c: Likewise.
8978 * config/libbid/bid64_div.c: Likewise.
8979 * config/libbid/bid64_fma.c: Likewise.
8980 * config/libbid/bid64_logb.c: Likewise.
8981 * config/libbid/bid64_minmax.c: Likewise.
8982 * config/libbid/bid64_mul.c: Likewise.
8983 * config/libbid/bid64_next.c: Likewise.
8984 * config/libbid/bid64_noncomp.c: Likewise.
8985 * config/libbid/bid64_quantize.c: Likewise.
8986 * config/libbid/bid64_rem.c: Likewise.
8987 * config/libbid/bid64_round_integral.c: Likewise.
8988 * config/libbid/bid64_scalb.c: Likewise.
8989 * config/libbid/bid64_sqrt.c: Likewise.
8990 * config/libbid/bid64_string.c: Likewise.
8991 * config/libbid/bid64_to_bid128.c: Likewise.
8992 * config/libbid/bid64_to_int16.c: Likewise.
8993 * config/libbid/bid64_to_int32.c: Likewise.
8994 * config/libbid/bid64_to_int64.c: Likewise.
8995 * config/libbid/bid64_to_int8.c: Likewise.
8996 * config/libbid/bid64_to_uint16.c: Likewise.
8997 * config/libbid/bid64_to_uint32.c: Likewise.
8998 * config/libbid/bid64_to_uint64.c: Likewise.
8999 * config/libbid/bid64_to_uint8.c: Likewise.
9000 * config/libbid/bid_b2d.h: Likewise.
9001 * config/libbid/bid_binarydecimal.c: Likewise.
9002 * config/libbid/bid_conf.h: Likewise.
9003 * config/libbid/bid_convert_data.c: Likewise.
9004 * config/libbid/bid_decimal_data.c: Likewise.
9005 * config/libbid/bid_decimal_globals.c: Likewise.
9006 * config/libbid/bid_div_macros.h: Likewise.
9007 * config/libbid/bid_dpd.c: Likewise.
9008 * config/libbid/bid_flag_operations.c: Likewise.
9009 * config/libbid/bid_from_int.c: Likewise.
9010 * config/libbid/bid_functions.h: Likewise.
9011 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9012 * config/libbid/bid_inline_add.h: Likewise.
9013 * config/libbid/bid_internal.h: Likewise.
9014 * config/libbid/bid_round.c: Likewise.
9015 * config/libbid/bid_sqrt_macros.h: Likewise.
9016
90172009-04-09 Jakub Jelinek <jakub@redhat.com>
9018
9019 * Makefile.in: Change copyright header to refer to version
9020 3 of the GNU General Public License and to point readers at the
9021 COPYING3 file and the FSF's license web page.
9022 * config.host: Likewise.
9023
633dd061
AM
90242009-04-07 Alan Modra <amodra@bigpond.net.au>
9025
9026 * config.host: Reorder and merge to match config.gcc change.
9027
457d1d00
AM
90282009-04-03 Alan Modra <amodra@bigpond.net.au>
9029
9030 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9031
52c0e446
JM
90322009-03-28 Joseph Myers <joseph@codesourcery.com>
9033
9034 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9035 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9036 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9037 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9038
ba181049
UB
90392009-02-12 Uros Bizjak <ubizjak@gmail.com>
9040
9041 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9042 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9043
c252db20
L
90442009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9045
ba181049
UB
9046 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9047 ia64/t-softfp-compat to tmake_file.
c252db20
L
9048
9049 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9050
9051 * config/ia64/__divxf3.asm: New.
9052 * config/ia64/_fixtfdi.asm: Likewise.
9053 * config/ia64/_fixunstfdi.asm: Likewise.
9054 * config/ia64/_floatditf.asm: Likewise.
9055 * config/ia64/t-fprules-softfp: Likewise.
9056 * config/ia64/t-softfp-compat: Likewise.
9057 * config/ia64/tf-signs.c: Likewise.
9058
c60535f9
BE
90592009-01-18 Ben Elliston <bje@au.ibm.com>
9060
9061 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9062
ce16861e
BE
90632009-01-16 Ben Elliston <bje@au.ibm.com>
9064
9065 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9066 to tmake_file.
9067
bcf4713b
BE
90682009-01-13 Ben Elliston <bje@au.ibm.com>
9069
9070 * config/t-softfp: New file.
9071 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9072 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9073
7d296953 90742009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9075
9076 * config.host: Add m32r*-*-rtems*.
9077
7d296953 90782008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9079
9080 * config.host: Add m32c*-*-rtems*.
9081
19523300
RO
90822008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9083
9084 PR bootstrap/33100
9085 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9086 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9087 * configure: Regenerate.
9088 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9089 tmake_file here from gcc/config.gcc.
9090 Move extra_parts here from gcc/config.gcc.
9091 * config/i386/t-sol2: Move here from gcc/config/i386.
9092 Use gcc_srcdir instead of srcdir.
9093
0a4a51c7
AN
90942008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9095
9096 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9097 case.
9098
2a761e46
TS
90992008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9100
9101 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9102
c0451df7
TS
91032008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9104
9105 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9106
358da97e
HS
91072008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9108
9109 Add picoChip port.
9110 * config.host: Add picochip-*-*.
9111
c660f132
BW
91122008-08-06 Bob Wilson <bob.wilson@acm.org>
9113
9114 * config.host: Match more processor names for Xtensa.
9115
d1349557
L
91162008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9117
9118 * config/i386/64/t-softfp-compat: Update comments.
9119
dd7b73c0
L
91202008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9121
9122 * config/i386/64/_divtc3-compat.c: Moved to ...
9123 * config/i386/64/_divtc3.c: Here.
9124
9125 * config/i386/64/_multc3-compat.c: Moved to ...
9126 * config/i386/64/_multc3.c: Here.
9127
9128 * config/i386/64/_powitf2-compat.c: Moved to ...
9129 * config/i386/64/_powitf2.c: Here.
9130
9131 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9132 .c suffix instead of -compat.c.
9133
6e1fab3d
UB
91342008-07-05 Uros Bizjak <ubizjak@gmail.com>
9135
9136 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9137 (_FP_MUL_MEAT_D): Ditto.
9138 (_FP_DIV_MEAT_S): Ditto.
9139 (_FP_DIV_MEAT_D): Ditto.
9140
f92518d7
RS
91412008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9142
9143 * Makefile.in: Add support for __sync_* libgcc functions.
9144
d0aede14
L
91452008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9146
9147 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9148
c174f11c
L
91492008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9150
9151 PR boostrap/36702
9152 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9153 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9154
9155 * config/i386/64/t-fprules-softfp: Moved to ...
9156 * config/i386/64/t-softfp-compat: This. New.
9157
5f464fa2
UB
91582008-07-02 Uros Bizjak <ubizjak@gmail.com>
9159
9160 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9161 Initialize f with 0.0.
9162
ff473280
L
91632008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9164
9165 PR target/36669
9166 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9167
9168 * config/i386/64/_divtc3-compat.c: New.
9169 * config/i386/64/_multc3-compat.c: Likewise.
9170 * config/i386/64/_powitf2-compat.c: Likewise.
9171 * config/i386/64/eqtf2.c: Likewise.
9172 * config/i386/64/getf2.c: Likewise.
9173 * config/i386/64/letf2.c: Likewise.
9174 * config/i386/64/t-fprules-softfp: Likewise.
9175
91762008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9177
9178 * config.host: Add i386/${host_address}/t-fprules-softfp to
9179 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9180 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9181
9182 * configure.ac: Set host_address to 64 or 32 for x86.
9183 * configure: Regenerated.
9184
9185 * Makefile.in (config.status): Also depend on
9186 $(srcdir)/config.host.
9187
9188 * config/i386/32/t-fprules-softfp: New.
9189 * config/i386/32/tf-signs.c: Likewise.
9190
9191 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9192
91932008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9194 Uros Bizjak <ubizjak@gmail.com>
9195
9196 * config/i386/32/sfp-machine.h: New.
9197
30551d99
NF
91982008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9199
9200 * config/rs6000/t-ppccomm: Remove rules that conflict with
9201 auto-generated rules.
9202
18c04407
RW
92032008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9204
9205 * configure.ac: sinclude override.m4.
9206 * configure: Regenerate.
9207
10fbe77a
BRF
92082008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9209
9210 * configure: Regenerate.
9211
bc6d4c3f
JM
92122008-06-10 Joseph Myers <joseph@codesourcery.com>
9213
9214 * Makefile.in (DECNUMINC): Remove
9215 -I$(MULTIBUILDTOP)../../libdecnumber.
9216 * gstdint.h: New.
9217
cd985f66
JM
92182008-06-07 Joseph Myers <joseph@codesourcery.com>
9219
9220 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9221 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9222 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9223 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9224 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9225 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9226 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9227 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9228 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9229 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9230 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9231 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9232 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9233 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9234
93fea8d3
AL
92352008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9236
9237 * config.host (sh2[lbe]*-*-linux*): Allow target.
9238
18724e30
NF
92392008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9240
9241 * config/rs6000/t-ppccomm: Add build rules for new files.
9242 (LIB2ADD_ST): New variable.
9243
47583040
AH
92442008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9245
9246 PR target/34210
9247 PR target/35508
9248 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9249 * config/t-avr: New file. Build 16bit libgcc functions.
9250
cf8e67fe
JJ
92512008-03-02 Jakub Jelinek <jakub@redhat.com>
9252
9253 PR target/35401
9254 * config/t-slibgcc-darwin: Make install-leaf dependent on
9255 install-darwin-libgcc-stubs instead of install.
9256
8d8da227
JM
92572008-01-25 Joseph Myers <joseph@codesourcery.com>
9258
9259 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9260 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9261 sh-*-rtemscoff*): Remove cases.
9262
edbf8b16
RS
92632007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9264
9265 * Makefile.in (all): Use install-leaf rather than install.
9266 (install): Split most of the rule into...
9267 (install-leaf): ...this new one.
9268
89deeaff
EK
92692007-12-19 Etsushi Kato <ek.kato@gmail.com>
9270 Paolo Bonzini <bonzini@gnu.org>
9271
9272 PR target/30572
5f464fa2
UB
9273 * Makefile.in: Use @shlib_slibdir@ substitution to get
9274 correct install name on darwin.
89deeaff 9275 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9276
4081d704
HPN
92772007-12-15 Hans-Peter Nilsson <hp@axis.com>
9278
9279 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9280 cris-*-elf and cris-*-none.
9281 (crisv32-*-linux*): Similar, as cris-*-linux*.
9282
f43e89a3
RIL
92832007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9284
9285 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9286
b4e9c2c6
L
92872007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9288
9289 PR regression/33926
9290 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9291 * configure: Regenerated.
9292
b2a00c89
L
92932007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9294
9295 * Makefile.in (dfp-filenames): Replace decimal_globals,
9296 decimal_data, binarydecimal and convert_data with
9297 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9298 and bid_convert_data, respectively.
9299
8d2a9e0e
CF
93002007-09-17 Chao-ying Fu <fu@mips.com>
9301 Nigel Stephens <nigel@mips.com>
9302
9303 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9304 * Makefile.in (fixed_point): Define.
9305 Check if fixed_point is yes to build support functions.
9306 * configure.ac: Check for fixed_point support.
9307 * configure: Regenerated.
9308 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9309 funcs, modes, from, to.
9310
2b53935d
JJ
93112007-09-11 Janis Johnson <janis187@us.ibm.com
9312
9313 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9314
2533577f
JJ
93152007-09-10 Janis Johnson <janis187@us.ibm.com>
9316
9317 * Makefile.in (dfp-filenames): Remove decUtility, add
9318 decDouble, decPacked, decQuad, decSingle.
9319
3ae3dbd6
HK
93202007-08-27 Hans Kester <hans.kester@ellips.nl>
9321
9322 * config.host : Add x86_64-elf target.
9323
22867d02
L
93242007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9325
9326 * configure.ac (set_have_cc_tls): Add a missing =.
9327 * configure: Regenerated.
9328
6f461e76
L
93292007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9330
9331 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9332 and x86_64-*-linux*.
9333
9334 * config/t-tls: New file.
9335
dfb3b0e3 9336 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9337
9338 * configure.ac: Include ../config/enable.m4 and
9339 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9340 supports TLS and substitute set_have_cc_tls.
9341 * configure: Regenerated.
9342
200359e8
L
93432007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9344
9345 * Makefile.in: Use libbid for DFP when BID is enabled.
9346
76f5e200
DS
93472007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9348
9349 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9350 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9351 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9352
9bd196f0 93532007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9354 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9355
9356 PR target/29498
9357 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9358 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9359 * config/i386/t-crtfm: Compile crtfastmath.o with
9360 -minline-all-stringops.
9361
1910440e
RS
93622007-05-10 Richard Sandiford <richard@codesourcery.com>
9363
9364 * config.host (sparc-wrs-vxworks): New target.
9365
7d33c31d
KH
93662007-04-14 Kazu Hirata <kazu@codesourcery.com>
9367
9368 * config.host: Recognize fido.
9369
96fccd0d
JJ
93702007-04-04 Janis Johnson <janis187@us.ibm.com>
9371
9372 * configure: Check host, not target, for decimal float support.
9373
577565f9
UB
93742007-04-03 Uros Bizjak <ubizjak@gmail.com>
9375
9376 * config/i386/t-crtpc: New file.
9377 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9378 (x86_64-*-linux*): Ditto.
577565f9 9379
ccf8e764
RH
93802007-02-30 Kai Tietz <kai.tietz@onevision.com>
9381
9382 * config.host (x86_64-*-mingw*): New target.
9383
79b87c74
MM
93842007-03-23 Michael Meissner <michael.meissner@amd.com>
9385 H.J. Lu <hongjiu.lu@intel.com>
9386
9387 * Makefile.in (enable_decimal_float): New.
9388 (DECNUMINC): Add
9389 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9390 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9391 (decbits-filenames): This.
9392 (decbits-objects): New.
9393 (libgcc-objects): Add $(decbits-objects).
9394
9395 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9396 Substitute enable_decimal_float.
9397 * configure: Regenerated.
9398
8fce4e31
HPN
93992007-03-19 Hans-Peter Nilsson <hp@axis.com>
9400
9401 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9402
e8bb4597
BM
94032007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9404
9405 * Makefile.in (install-info): New dummy target.
9406
344189f9
BS
94072007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9408
9409 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9410
ac84c172
BM
94112007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9412
9413 * Makefile.in: Add install-html and install-pdf dummy
9414 targets.
9415
cd5c2357
RS
94162007-02-05 Roger Sayle <roger@eyesopen.com>
9417 Daniel Jacobowitz <dan@codesourcery.com>
9418
9419 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9420 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9421 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9422
d9a66f98
JJ
94232007-01-29 Janis Johnson <janis187@us.ibm.com>
9424
9425 * Makefile.in (dec-filenames): Add decExcept.
9426
9891ec5f
DJ
94272007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9428
9429 PR bootstrap/30469
9430 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9431 -fprofile-use.
9432
d6efbf5a
DJ
94332007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9434
9435 * configure.ac: Add --enable-version-specific-runtime-libs.
9436 Correct $slibdir default.
9437 * configure: Regenerated.
9438
17caeff2
JM
94392007-01-23 Joseph Myers <joseph@codesourcery.com>
9440
9441 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9442
5ea41e3a
AP
94432007-01-21 Andrew Pinski <pinskia@gmail.com>
9444
9445 PR target/30519
9446 * config.host (alpha*-*-linux*): Set extra_parts.
9447
26900826
KK
94482007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9449
9450 * config/sh/t-linux: New.
9451 * config.host (sh*-*-linux*): Set tmake_file.
9452
97af925b
DJ
94532007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9454
9455 * Makefile.in (install): Handle multilibs.
9456
b0088af7
BM
94572007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9458
9459 * Makefile.in: Added .PHONY entry for documentation targets.
9460
e0a9456a
BM
94612007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9462
9463 * Makefile.in: Add empty info, html, dvi, pdf targets.
9464
7fd453b4
MS
94652007-01-04 Mike Stump <mrs@apple.com>
9466
9467 * Makefile.in (MAKEINFO): Remove.
9468 (PERL): Likewise.
9469
14e8fc8b
PB
94702007-01-04 Paolo Bonzini <bonzini@gnu.org>
9471
9472 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9473 * configure: Regenerate.
9474 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9475 (gcc_objdir): Use it.
14e8fc8b 9476
1555beba
DJ
94772007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9478
9479 * config.host (ia64*-*-linux*): Set tmake_file.
9480
79e6eaeb
DJ
94812007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9482
9483 * Makefile.in (version): Define.
9484
fa958513
DJ
94852007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9486 Paolo Bonzini <bonzini@gnu.org>
9487
9488 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9489 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9490 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9491 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9492 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9493 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9494 * configure: Generated.
818ab71a 9495\f
85ec4feb 9496Copyright (C) 2007-2018 Free Software Foundation, Inc.
818ab71a
JJ
9497
9498Copying and distribution of this file, with or without modification,
9499are permitted in any medium without royalty provided the copyright
9500notice and this notice are preserved.