]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856).
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
22e05272
JM
12018-10-31 Joseph Myers <joseph@codesourcery.com>
2
3 PR bootstrap/82856
4 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
5 * configure: Regenerate.
6
8180cde0
CZ
72018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
8
9 * config/arc/lib1funcs.S (_muldi3): New function.
10 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
11
be7b071e
RV
122018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13
14 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
15
3239d726
ML
162018-10-25 Martin Liska <mliska@suse.cz>
17
18 PR other/87735
19 * libgcov-profiler.c: Revert.
20
19b55958
ML
212018-10-24 Martin Liska <mliska@suse.cz>
22
23 * libgcov-profiler.c: Start from 1 in order to distinguish
24 functions which were seen and these that were not.
25
a9a2fddb
PK
262018-10-18 Paul Koning <ni1d@arrl.net>
27
28 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
29 standard.
30 * divmod.c: Update references to __udivmodsi4.
31 * udivmod.c: Ditto.
32 * udivhi3.c: New file.
33 * udivmodhi4.c: New file.
34 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
35
fc8abc46
RV
362018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
37
38 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
39
87f918e3
OH
402018-10-12 Olivier Hainque <hainque@adacore.com>
41
42 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
43 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
44
be86efa7
PK
452018-10-08 Paul Koning <ni1d@arrl.net>
46
47 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
48
3edbcdbe
ML
492018-10-04 Martin Liska <mliska@suse.cz>
50
51 PR gcov-profile/84107
52 * libgcov-profiler.c (__gcov_indirect_call):
53 Change type to indirect_call_tuple.
54 (struct indirect_call_tuple): New struct.
55 (__gcov_indirect_call_topn_profiler): Change type.
56 (__gcov_indirect_call_profiler_v2): Use the new
57 variables.
58 * libgcov.h (struct indirect_call_tuple): New struct
59 definition.
60
af8096fc
UB
612018-10-03 Uros Bizjak <ubizjak@gmail.com>
62
63 * libgcc2.c (isnan): Use __builtin_isnan.
64 (isfinite): Use __builtin_isfinite.
65 (isinf): Use __builtin_isinf.
66
0a76bba4
UB
672018-09-26 Uros Bizjak <ubizjak@gmail.com>
68
69 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
70
5244089f
OH
712018-09-21 Alexandre Oliva <oliva@adacore.com>
72
73 * config/vxcache.c: New file. Provide __clear_cache, based on
74 the cacheTextUpdate VxWorks service.
75 * config/t-vxworks (LIB2ADD): Add vxcache.c.
76 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
77 * config/t-vxwoks7: Likewise.
78
512cc015
ML
792018-09-21 Martin Liska <mliska@suse.cz>
80
81 * libgcov-driver.c (crc32_unsigned): Remove.
82 (gcov_histogram_insert): Likewise.
83 (gcov_compute_histogram): Likewise.
84 (compute_summary): Simplify rapidly.
85 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
86 (merge_summary): Rapidly simplify.
87 (dump_one_gcov): Ignore gcov_summary.
88 (gcov_do_dump): Do not handle program summary, it's not
89 used.
90 * libgcov-util.c (tag_summary): Remove.
91 (read_gcda_finalize): Fix coding style.
92 (read_gcda_file): Initialize curr_object_summary.
93 (compute_summary): Remove.
94 (calculate_overlap): Remove settings of run_max.
95
36ff254b
MC
962018-09-21 Monk Chiang <sh.chiang04@gmail.com>
97
98 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
99 ucontext_t type instead.
100 (nds32_fallback_frame_state): Remove struct _sigframe statement.
101
229a033d
KC
1022018-09-21 Kito Cheng <kito.cheng@gmail.com>
103
104 * config/nds32/t-nds32-glibc: New file.
105
53c6feb2
RO
1062018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
107
108 * configure.ac (solaris_ld_v2_maps): New test.
109 * configure: Regenerate.
110 * Makefile.in (solaris_ld_v2_maps): New variable.
111 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
112 if supported.
113
ebdb6f23
RE
1142018-08-23 Richard Earnshaw <rearnsha@arm.com>
115
116 PR target/86951
117 * config/arm/lib1funcs.asm (speculation_barrier): New function.
118 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
119 to build.
120
a49c064e
IS
1212018-08-22 Iain Sandoe <iain@sandoe.co.uk>
122
123 * config/unwind-dw2-fde-darwin.c
124 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
125 * config/darwin10-unwind-find-enc-func.c: … to here.
126 * config/t-darwin: Build Darwin10 unwinder shim crt.
127 * libgcc/config.host: Add the Darwin10 unwinder shim.
128
9a5b8df7
RV
1292018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
130
131 * config.host: Add crtbegin.o and crtend.o for
132 powerpc-wrs-vxworks target.
133
4cd0bc3b
J
1342018-08-17 Jojo <jijie_rong@c-sky.com>
135 Huibin Wang <huibin_wang@c-sky.com>
136 Sandra Loosemore <sandra@codesourcery.com>
137 Chung-Lin Tang <cltang@codesourcery.com>
138
139 C-SKY port: libgcc
140
141 * config.host: Add C-SKY support.
142 * config/csky/*: New.
143
a4931745
CJW
1442018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
145
146 * config/nds32/t-nds32-isr: Rearrange object dependency.
147 * config/nds32/initfini.c: Add dwarf2 unwinding support.
148 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
149 and registers usage.
150 * config/nds32/isr-library/excp_isr.S: Ditto.
151 * config/nds32/isr-library/intr_isr.S: Ditto.
152 * config/nds32/isr-library/reset.S: Ditto.
153 * config/nds32/isr-library/restore_all.inc: Ditto.
154 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
155 * config/nds32/isr-library/restore_partial.inc: Ditto.
156 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
157 * config/nds32/isr-library/save_all.inc: Ditto.
158 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
159 * config/nds32/isr-library/save_partial.inc: Ditto.
160 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
161 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
162
2b1969f6
JDA
1632018-08-11 John David Anglin <danglin@gcc.gnu.org>
164
165 * config/pa/linux-atomic.c: Update comment.
166 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
167 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
168 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
169 __ATOMIC_RELAXED for atomic loads.
170 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
171 unordered store to release lock.
172 (__sync_lock_release_8): Likewise.
173 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 174
89fff9cc
NP
1752018-08-02 Nicolas Pitre <nico@fluxnic.net>
176
177 PR libgcc/86512
178 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
179 exponent goes negative. Update my email address.
180 * config/arm/ieee754-sf.S: Likewise.
181
fd2e1dcd
ML
1822018-08-01 Martin Liska <mliska@suse.cz>
183
184 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 185 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 186
b7415975
CL
1872018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
188
189 * config/arm/ieee754-df.S: Fix comment for code working on
190 architectures >= 4.
191 * config/arm/ieee754-sf.S: Likewise.
192
b72e71a3
L
1932018-07-27 H.J. Lu <hongjiu.lu@intel.com>
194
195 PR libgcc/85334
196 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
197 Removed.
198
1c686aa4
JC
1992018-07-05 James Clarke <jrtc27@jrtc27.com>
200
201 * configure: Regenerated.
202
b61c9b99
RO
2032018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
204
205 * Makefile.in (install_leaf): Use enable_gcov instead of
206 enable_libgcov.
207
1765b023
RV
2082018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
209
210 * configure.ac: Add --disable-gcov option.
211 * configure: Regenerate.
212 * Makefile.in: Honour @enable_gcov@.
213
9b2e34ef
CL
2142018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
215
216 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
217 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
218 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
219 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
220 __ARM_ARCH__.
221 * config/arm/ieee754-sf.S: Likewise.
222 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
223
d1b0dd54
CL
2242018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
225
226 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
227 longer supported.
228 * config/arm/ieee754-sf.S: Likewise.
229
1f3fa525
TM
2302018-06-20 Than McIntosh <thanm@google.com>
231
232 PR libgcc/86213
233 * generic-morestack.c (allocate_segment): Move calls to getenv and
234 getpagesize to __morestack_load_mmap.
235 (__morestack_load_mmap) Initialize static_pagesize and
236 use_guard_page here so as to avoid clobbering SSE regs during a
237 __morestack call.
238
6a8886e4
MM
2392018-06-18 Michael Meissner <meissner@linux.ibm.com>
240
241 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
242 support modules with -mno-gnu-attribute.
243 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
244
fb997097
OH
2452018-06-07 Olivier Hainque <hainque@adacore.com>
246
247 * config/t-vxworks (LIBGCC_INCLUDES): Add
248 -I$(MULTIBUILDTOP)../../gcc/include.
249 * config/t-vxworks7: Likewise. Reformat a bit to match
250 the t-vxworks layout.
251
a548a5a1
OM
2522018-06-07 Olga Makhotina <olga.makhotina@intel.com>
253
254 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
255
244aebfd
ML
2562018-06-07 Martin Liska <mliska@suse.cz>
257
258 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 259 all_prg.
244aebfd 260
6c086e8c
ML
2612018-06-07 Martin Liska <mliska@suse.cz>
262
92a285c1 263 PR bootstrap/86057
6c086e8c 264 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 265 memcpy instead of mempcpy.
6c086e8c 266 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 267 prefix and set it.
6c086e8c 268 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 269 here and properly copy content into it.
6c086e8c 270 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 271 field, change prefix from size_t into char *.
6c086e8c
ML
272 (compute_summary): Do not calculate longest filename.
273 (gcov_do_dump): Release memory of gf.filename after each file.
274 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 275 compute_summary.
6c086e8c
ML
276 (calculate_overlap): Likewise.
277
97a53d1d
ML
2782018-06-05 Martin Liska <mliska@suse.cz>
279
280 PR gcov-profile/47618
281 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 282 function.
97a53d1d
ML
283 (gcov_exit_open_gcda_file): Use it.
284
7f3577f5
ML
2852018-06-05 Martin Liska <mliska@suse.cz>
286
287 * libgcov-driver.c (gcov_compute_histogram): Remove usage
288 of gcov_ctr_summary.
289 (compute_summary): Do it just for a single summary.
290 (merge_one_data): Likewise.
291 (merge_summary): Simplify as we read just single summary.
292 (dump_one_gcov): Pass proper argument.
293 * libgcov-util.c (compute_one_gcov): Simplify as we have just
294 single summary.
295 (gcov_info_count_all_cold): Likewise.
296 (calculate_overlap): Likewise.
297
cf3cd43d
CJW
2982018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
299 Monk Chiang <sh.chiang04@gmail.com>
300
301 * config.host (nds32*-linux*): New.
302 * config/nds32/linux-atomic.c: New file.
303 * config/nds32/linux-unwind.h: New file.
304
8b8003ed
UB
3052018-05-31 Uros Bizjak <ubizjak@gmail.com>
306
307 PR target/85591
308 * config/i386/cpuinfo.c (get_amd_cpu): Return
309 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
310
bbdf026f
RV
3112018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
312
92a285c1 313 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 314
0e8f29da
ML
3152018-05-29 Martin Liska <mliska@suse.cz>
316
92a285c1 317 PR gcov-profile/85759
0e8f29da 318 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 319 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 320 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 321 overwrite a gcov file with a different timestamp.
0e8f29da 322
54fd1590
K
3232018-05-23 Kalamatee <kalamatee@gmail.com>
324
325 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
326 path to Lf$finfty.
327
09baee1a
KC
3282018-05-18 Kito Cheng <kito.cheng@gmail.com>
329 Monk Chiang <sh.chiang04@gmail.com>
330 Jim Wilson <jimw@sifive.com>
331
332 * config/riscv/save-restore.S: Add support for rv32e.
333
c3f808d3
KT
3342018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
335
336 * config/arm/libunwind.S: Update comment relating to armv5.
337
fcf4f831
JL
3382018-05-17 Jerome Lambourg <lambourg@adacore.com>
339
340 * config/arm/cmse.c (cmse_check_address_range): Replace
341 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
342
74b2bb19
OM
3432018-05-17 Olga Makhotina <olga.makhotina@intel.com>
344
345 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
346 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
347
50e461df
OM
3482018-05-08 Olga Makhotina <olga.makhotina@intel.com>
349
350 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
351 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
352
e5f1cdb1
AC
3532018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
354
355 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
356
8f479d7a
AT
3572018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
358 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
359
360 PR libgcc/84292
361 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
362 op_and_fetch to return the right result.
363
ae043291
AM
3642018-04-27 Alan Modra <amodra@gmail.com>
365
366 PR libgcc/85532
367 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
368 -fno-asynchronous-unwind-tables.
369
ba169b74
CJW
3702018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
371
372 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
373 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
374
ffc2fc06
L
3752018-04-24 H.J. Lu <hongjiu.lu@intel.com>
376
377 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
378 when including "config/i386/shadow-stack-unwind.h".
379
7b47ecf2
L
3802018-04-24 H.J. Lu <hongjiu.lu@intel.com>
381
382 * configure: Regenerated.
383
661eb8f9
MM
3842018-04-20 Michael Meissner <meissner@linux.ibm.com>
385
386 PR target/85456
387 * config/rs6000/_powikf2.c: New file. Add support for the
388 __builtin_powil function when long double is IEEE 128-bit floating
389 point.
390 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
391 __powikf2 support.
392 (__powikf2): Likewise.
393 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
394 (__powikf2_hw): Likewise.
395 (__powikf2): Likewise.
396 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
397 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
398 (_powikf2-hw.c): Likewise.
399
5707be3c
L
4002018-04-19 H.J. Lu <hongjiu.lu@intel.com>
401
402 PR libgcc/85334
403 * unwind-generic.h (_Unwind_Frames_Increment): New.
404 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
405 Likewise.
406 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
407 count with _Unwind_Frames_Increment.
408 (_Unwind_ForcedUnwind_Phase2): Likewise.
409
5f9ca0b8
L
4102018-04-19 H.J. Lu <hongjiu.lu@intel.com>
411
412 PR libgcc/85379
413 * config/i386/morestack.S (__stack_split_initialize): Add
414 _CET_ENDBR.
415
a0e1df88
JJ
4162018-04-19 Jakub Jelinek <jakub@redhat.com>
417
418 * configure: Regenerated.
419
001ddaa8
DM
4202018-04-18 David Malcolm <dmalcolm@redhat.com>
421
422 PR jit/85384
423 * configure: Regenerate.
424
a57f99ba
JJ
4252018-04-16 Jakub Jelinek <jakub@redhat.com>
426
427 PR target/84945
428 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
429 -Wdangling-else warnings. Mask shift counts to avoid
430 -Wshift-count-negative and -Wshift-count-overflow false positives.
431
4d47fe5a
RB
4322018-04-06 Ruslan Bukin <br@bsdpad.com>
433
434 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
435
059cc8ac
L
4362018-03-29 H.J. Lu <hongjiu.lu@intel.com>
437
438 PR target/85100
439 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
440 (XSTATE_FP): Likewise.
441 (XSTATE_SSE): Likewise.
442 (XSTATE_YMM): Likewise.
443 (XSTATE_OPMASK): Likewise.
444 (XSTATE_ZMM): Likewise.
445 (XSTATE_HI_ZMM): Likewise.
446 (XCR_AVX_ENABLED_MASK): Likewise.
447 (XCR_AVX512F_ENABLED_MASK): Likewise.
448 (get_available_features): Enable AVX and AVX512 features only
449 if their states are supported by OSXSAVE.
450
f2620385
IT
4512018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
452
453 PR target/85025
454 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
455 Fix a typo, tmp => 255.
456
ae6dca8c
JJ
4572018-03-20 Jakub Jelinek <jakub@redhat.com>
458
459 PR target/84945
460 * config/i386/cpuinfo.h (__cpu_features2): Declare.
461 * config/i386/cpuinfo.c (__cpu_features2): New variable for
462 ifndef SHARED only.
463 (set_feature): Define.
464 (get_available_features): Use set_feature macro. Set __cpu_features2
465 to the second word of features ifndef SHARED.
466
c36b04c1
JK
4672018-03-15 Julia Koval <julia.koval@intel.com>
468
469 * config/i386/cpuinfo.c (get_available_features): Add
470 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
471 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
472 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
473 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
474 FEATURE_AVX512BITALG.
475
79ab5364
JK
4762018-03-14 Julia Koval <julia.koval@intel.com>
477
478 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
479 icelake client and icelake server.
480
66a00b11
JDA
4812018-03-06 John David Anglin <danglin@gcc.gnu.org>
482
483 * config/pa/fptr.c (_dl_read_access_allowed): New.
484 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 485
ce579a4f
JJ
4862018-02-28 Jakub Jelinek <jakub@redhat.com>
487
488 PR debug/83917
489 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
490 $asm_hidden_op if visibility ("hidden") attribute works.
491 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
492 * config/i386/i386-asm.h: Don't include auto-host.h.
493 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
494 PACKAGE_URL): Don't undefine.
495 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
496 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
497 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
498 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
499 definition instead of hardcoded .hidden.
500 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
501 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
502 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
503 (USE_GAS_CFI_DIRECTIVES): Don't define.
504 * configure: Regenerated.
505 * config.in: Likewise.
506
e5868319
JJ
5072018-02-26 Jakub Jelinek <jakub@redhat.com>
508
509 PR debug/83917
510 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
511 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
512 inclusion of auto-target.h and auto-host.h.
513 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
514 __GCC_HAVE_DWARF2_CFI_ASM.
515 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
516 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
517 cfi_pop): Define.
518 * config/i386/cygwin.S: Don't include auto-host.h here, just
519 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
520 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
521 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
522 * config/i386/resms64fx.h: Add cfi_* directives.
523 * config/i386/resms64x.h: Likewise.
524
faef260e
MF
5252018-02-20 Max Filippov <jcmvbkbc@gmail.com>
526
527 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
528 .literal_position directive.
529 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
530
14e335ed
IT
5312018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
532
533 PR target/84148
534 * configure: Regenerate.
535
95df0433
IT
5362018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
537
538 PR target/84239
539 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
540 Include cetintrin.h not x86intrin.h.
541
f8de876d
IT
5422018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
543
544 PR target/84239
95df0433 545 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
546 Use new _get_ssp and _inc_ssp intrinsics.
547
02da1e9c
JK
5482018-02-02 Julia Koval <julia.koval@intel.com>
549
550 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
551
048c6a9a
CZ
5522018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
553
554 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
555 option.
556 (__divsi3): Use RF16 safe registers.
557 (__modsi3): Likewise.
558
0889f168
MF
5592018-01-23 Max Filippov <jcmvbkbc@gmail.com>
560
561 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
562 (__divsf3): Make NaN return value quiet.
563 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
564 (__divdf3): Make NaN return value quiet.
565
bc8b0d04
SP
5662018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
567
568 * config/rl78/anddi3.S: New assembly file.
569 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
570
99cc06ea
SP
5712018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
572
573 * config/rl78/umindi3.S: New assembly file.
574 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
575
6e9007a0
SP
5762018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
577
578 * config/rl78/smindi3.S: New assembly file.
579 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
580
d975e494 5812018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 582
d975e494
SP
583 * config/rl78/smaxdi3.S: New assembly file.
584 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
585
6a18c146 5862018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 587
5dd16013
SP
588 * config/rl78/umaxdi3.S: New assembly file.
589 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 590
07baf4a5
JDA
5912018-01-21 John David Anglin <danglin@gcc.gnu.org>
592
593 PR lto/83452
594 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
595 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 596
dbc3af4f
RS
5972018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
598
599 * config/aarch64/value-unwind.h (aarch64_vg): New function.
600 (DWARF_LAZY_REGISTER_VALUE): Define.
601 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
602 to provide a fallback register value.
603
68df9882
MM
6042018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
605
606 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
607 __ibm128, instead of trying to use long double.
608 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
609 accomidate -mabi=ieeelongdouble multilibs.
610 (CVT_IBM128_TO_FLOAT128): Likewise.
611 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
612 the appropriate IBM extended double type.
613 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
614 (__gcc_qsub): Likewise.
615 (__gcc_qmul): Likewise.
616 (__gcc_qdiv): Likewise.
617 (pack_ldouble): Likewise.
618 (__gcc_qneg): Likewise.
619 (__gcc_qeq): Likewise.
620 (__gcc_qne): Likewise.
621 (__gcc_qge): Likewise.
622 (__gcc_qle): Likewise.
623 (__gcc_stoq): Likewise.
624 (__gcc_dtoq): Likewise.
625 (__gcc_itoq): Likewise.
626 (__gcc_utoq): Likewise.
627 (__gcc_qunord): Likewise.
628 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
629 quad-float128.h for the definitions.
630 (COPYSIGN): Use the f128 version instead of the q version.
631 (INFINITY): Likewise.
632 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
633 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
634 quad-float128.h for the definitions.
635 (COPYSIGN): Use the f128 version instead of the q version.
636 (INFINITY): Likewise.
637 (FABS): Likewise.
638 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
639 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
640 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
641
64b371b1
SH
6422018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
643
644 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
645 configuration.
646
85ec4feb
JJ
6472018-01-03 Jakub Jelinek <jakub@redhat.com>
648
649 Update copyright years.
650
6512017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
652
653 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
654 * config/riscv/multi3.c: New file.
655 * config/riscv/multi3.S: Remove.
656
3a4c600f
JW
6572017-12-08 Jim Wilson <jimw@sifive.com>
658
659 * config/riscv/div.S: Use FUNC_* macros.
660 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
661 * config/riscv/save-restore.S: Likewise.
662 * config/riscv/riscv-asm.h: New.
663
75ad35b5
MM
6642017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
665
6ae3512c
MM
666 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
667 * config/rs6000/_divkc3.c (__divkc3): Likewise.
668
75ad35b5
MM
669 PR libgcc/83112
670 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
671 correct type for all ifunc resolvers to silence -Wattribute-alias
672 warnings. Eliminate the forward declaration of the resolver
673 functions which is no longer needed.
674 (__subkf3_resolve): Likewise.
675 (__mulkf3_resolve): Likewise.
676 (__divkf3_resolve): Likewise.
677 (__negkf2_resolve): Likewise.
678 (__eqkf2_resolve): Likewise.
679 (__nekf2_resolve): Likewise.
680 (__gekf2_resolve): Likewise.
681 (__gtkf2_resolve): Likewise.
682 (__lekf2_resolve): Likewise.
683 (__ltkf2_resolve): Likewise.
684 (__unordkf2_resolve): Likewise.
685 (__extendsfkf2_resolve): Likewise.
686 (__extenddfkf2_resolve): Likewise.
687 (__trunckfsf2_resolve): Likewise.
688 (__trunckfdf2_resolve): Likewise.
689 (__fixkfsi_resolve): Likewise.
690 (__fixkfdi_resolve): Likewise.
691 (__fixunskfsi_resolve): Likewise.
692 (__fixunskfdi_resolve): Likewise.
693 (__floatsikf_resolve): Likewise.
694 (__floatdikf_resolve): Likewise.
695 (__floatunsikf_resolve): Likewise.
696 (__floatundikf_resolve): Likewise.
697 (__extendkftf2_resolve): Likewise.
698 (__trunctfkf2_resolve): Likewise.
699
700 PR libgcc/83103
701 * config/rs6000/quad-float128.h (TF): Don't define if long double
702 is IEEE 128-bit floating point.
703 (TCtype): Define as either TCmode or KCmode, depending on whether
704 long double is IEEE 128-bit floating point.
705 (__mulkc3_sw): Add declarations for software/hardware versions of
706 complex multiply/divide.
707 (__divkc3_sw): Likewise.
708 (__mulkc3_hw): Likewise.
709 (__divkc3_hw): Likewise.
710 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
711 handlers to switch between using software emulation and hardware
712 float128 instructions, build the complex multiply/divide functions
713 for both software and hardware support.
714 * config/rs6000/_divkc3.c (_divkc3): Likewise.
715 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
716 (__divkc3_resolve): Likewise.
717 (__mulkc3): Likewise.
718 (__divkc3): Likewise.
719 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
720 (fp128_hw_src): Likewise.
721 (fp128_hw_static_obj): Likewise.
722 (fp128_hw_shared_obj): Likewise.
723 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
724 _mulkc3.c and _divkc3.c, changing the function name.
725 (_divkc3-hw.c): Likewise.
726 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
727 and _divkc3-hw.c.
728
c234d831
UB
7292017-11-26 Julia Koval <julia.koval@intel.com>
730
731 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
732 * config/i386/cpuinfo.h (processor_subtypes): Add
733 INTEL_COREI7_CANNONLAKE.
734
1ebafce0
IT
7352017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
736
737 PR bootstrap/83015
738 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
739 parameter.
740 * config/xtensa/unwind-dw2-xtensa.c: Likewise
741 * config/ia64/unwind-ia64.c: Add frames parameter.
742 * unwind-sjlj.c: Likewise.
743
6a10fff4
IT
7442017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
745
746 * config/i386/linux-unwind.h: Include
747 config/i386/shadow-stack-unwind.h.
748 * config/i386/shadow-stack-unwind.h: New file.
749 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
750 pass it to _Unwind_Frames_Extra.
751 * unwind-generic.h (_Unwind_Frames_Extra): New.
752 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
753 parameter. Add local variable frames to count number of frames.
754 (_Unwind_ForcedUnwind_Phase2): Likewise.
755 (_Unwind_RaiseException): Add local variable frames to count
756 number of frames, pass it to _Unwind_RaiseException_Phase2 and
757 uw_install_context.
758 (_Unwind_ForcedUnwind): Likewise.
759 (_Unwind_Resume): Likewise.
760 (_Unwind_Resume_or_Rethrow): Likewise.
761
1ecae1fc
IT
7622017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
763
764 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
765 (CET_FLAGS): New.
766 * config/i386/morestack.S: Include <cet.h>.
767 (__morestack_large_model): Add _CET_ENDBR at function entrance.
768 * config/i386/resms64.h: Include <cet.h>.
769 * config/i386/resms64f.h: Likewise.
770 * config/i386/resms64fx.h: Likewise.
771 * config/i386/resms64x.h: Likewise.
772 * config/i386/savms64.h: Likewise.
773 * config/i386/savms64f.h: Likewise.
774 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
775 (CRTSTUFF_T_CFLAGS): Likewise.
776 * configure.ac: Include ../config/cet.m4.
777 Set and substitute CET_FLAGS.
778 * configure: Regenerated.
779
f021f1d3
RO
7802017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
781
782 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
783 renaming.
784 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
785 * configure.ac (libgcc_cv_solaris_crts): Likewise.
786 * configure: Regenerate.
787
65f480c7
TV
7882017-11-07 Tom de Vries <tom@codesourcery.com>
789
790 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
791 after "do {} while (0)".
792
2a321acb
TV
7932017-11-07 Tom de Vries <tom@codesourcery.com>
794
795 PR other/82784
796 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
797 semicolon after "do {} while (0)".
798 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
799 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
800 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
801 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
802
59fcf6c3
AT
8032017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
804
805 PR libgcc/82635
806 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
807 sysctl to determine whether we're in a trampoline.
808 Keep the pattern matching method for systems without
809 KERN_PROC_SIGTRAMP sysctl.
810
b0c7ddf8
CM
8112017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
812 Vineet Gupta <vgupta@synopsys.com>
813
814 * config.host (arc*-*-linux*): Set md_unwind_header variable.
815 * config/arc/linux-unwind-reg.def: New file.
816 * config/arc/linux-unwind-reg.h: Likewise.
817
5feee954
SP
8182017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
819
820 * config/rl78/subdi3.S: New assembly file.
821 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
822
a0bf6cf7
SP
8232017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
824
825 * config/rl78/adddi3.S: New assembly file.
826 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
827
e7176f75
JJ
8282017-10-13 Jakub Jelinek <jakub@redhat.com>
829
830 PR target/82274
831 * libgcc2.c (__mulvDI3): If both operands have
832 the same highpart of -1 and the topmost bit of lowpart is 0,
833 multiplication overflows even if both lowparts are 0.
834
db6601d2
JB
8352017-09-28 James Bowman <james.bowman@ftdichip.com>
836
837 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
838
938b6f1e
JM
8392017-09-26 Joseph Myers <joseph@codesourcery.com>
840
841 * config/microblaze/crti.S, config/microblaze/crtn.S,
842 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
843 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
844 config/microblaze/mulsi3.S,
845 config/microblaze/stack_overflow_exit.S,
846 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
847 config/pa/milli64.S: Add .note.GNU-stack section.
848
89762a83
DS
8492017-09-23 Daniel Santos <daniel.santos@pobox.com>
850
851 * configure.ac: Add Check for HAVE_AS_AVX.
852 * config.in: Regenerate.
853 * configure: Likewise.
854 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
855 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
856 Correct out-of-date comments.
857
cace2309
SP
8582017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
859
860 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
861 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
862
3cb626e4
DS
8632017-09-17 Daniel Santos <daniel.santos@pobox.com>
864
cace2309 865 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
866 (ASMNAME): Modify to use PASTE2.
867 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
868 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 869 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 870 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
871 * config/i386/resms64f.S: Likewise.
872 * config/i386/resms64fx.S: Likewise.
873 * config/i386/resms64x.S: Likewise.
874 * config/i386/savms64.S: Likewise.
875 * config/i386/savms64f.S: Likewise.
876 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 877 includes it's corresponding header file.
cace2309
SP
878 * config/i386/avx_resms64f.S: Likewise.
879 * config/i386/avx_resms64fx.S: Likewise.
880 * config/i386/avx_resms64x.S: Likewise.
881 * config/i386/avx_savms64.S: Likewise.
882 * config/i386/avx_savms64f.S: Likewise.
883 * config/i386/sse_resms64.S: Likewise.
884 * config/i386/sse_resms64f.S: Likewise.
885 * config/i386/sse_resms64fx.S: Likewise.
886 * config/i386/sse_resms64x.S: Likewise.
887 * config/i386/sse_savms64.S: Likewise.
888 * config/i386/sse_savms64f.S: Likewise.
889 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 890
2f19c491 8912017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
892 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
893
611e7036
OH
8942017-08-31 Olivier Hainque <hainque@adacore.com>
895
896 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
897 match as powerpc-wrs-vxworks*.
898
c8f34527
JY
8992017-08-07 Jonathan Yong <10walls@gmail.com>
900
901 * config.host (*-cygwin): Include file from mingw
902 config/i386/enable-execute-stack-mingw32.c
903
0b458d2b 9042017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
905 Doug Rupp <rupp@adacore.com>
906 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
907
908 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
909 as well as arm-wrs-vxworks.
910 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
911 LIB2ADDEH.
912 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
913 __exidx_start and __exidx_end for downloadable modules.
914
4df612fa
OH
9152017-08-01 Olivier Hainque <hainque@adacore.com>
916
917 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
918 * config/t-vxworks7: Likewise.
919
5560e8c0
OH
9202017-08-01 Olivier Hainque <hainque@adacore.com>
921
922 * config/t-vxworks: Instead of redefining LIB2ADD,
923 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
924
16bab95a
SH
9252017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
926
927 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
928
9cbc07cc
DS
9292017-07-24 Daniel Santos <daniel.santos@pobox.com>
930
931 PR testsuite/80759
932 * config.host: include i386/t-msabi for darwin and solaris.
933 * config/i386/i386-asm.h
934 (ELFFN): Rename to FN_TYPE.
935 (FN_SIZE): New macro.
936 (FN_HIDDEN): Likewise.
937 (ASMNAME): Likewise.
938 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
939 .globl.
940 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
941 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
942 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
943 .macro.
944 * config/i386/resms64f.S: Likewise.
945 * config/i386/resms64fx.S: Likewise.
946 * config/i386/resms64x.S: Likewise.
947 * config/i386/savms64.S: Likewise.
948 * config/i386/savms64f.S: Likewise.
949
de742204
JM
9502017-07-19 John Marino <gnugcc@marino.st>
951
952 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
953
3787ee47
MM
9542017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
955
956 PR target/81193
957 * configure.ac (PowerPC float128 hardware support): Test whether
958 we can use __builtin_cpu_supports before enabling the ifunc
959 handler.
960 * configure: Regenerate.
961
b1938888
VG
9622017-07-10 Vineet Gupta <vgupta@synopsys.com>
963
964 * config.host: Remove uclibc from arc target spec.
965
bec75e53
KW
9662017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
967
968 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
969
d4391a62
PB
9702017-07-07 Peter Bergner <bergner@vnet.ibm.com>
971
972 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
973 (have_ieee_hw_p): Delete function.
974 (SW_OR_HW) Use __builtin_cpu_supports().
975
9296dd9b
TP
9762017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
977
978 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
979
b85a969e
OH
9802017-07-03 Olivier Hainque <hainque@adacore.com>
981
d4391a62 982 * config/t-vxworks7: New file, really.
b85a969e 983
883312dc
JM
9842017-06-28 Joseph Myers <joseph@codesourcery.com>
985
986 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
987 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
988 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
989 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
990 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
991 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
992 config/pa/linux-unwind.h (pa32_fallback_frame_state),
993 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
994 config/sh/linux-unwind.h (sh_fallback_frame_state),
995 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
996 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
997 ucontext_t instead of struct ucontext.
998
50567938
JL
9992017-06-27 Jerome Lambourg <lambourg@adacore.com>
1000
1001 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1002 (x86_64-wrs-vxworks7): Likewise.
1003
e4b0df93
OH
10042017-06-27 Olivier Hainque <hainque@adacore.com>
1005
1006 * config/t-vxworks7: New file.
1007 * config.host (*-*-vxworks7): Use it.
1008
60edf8bb
MT
10092017-06-22 Matt Turner <mattst88@gmail.com>
1010
1011 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1012 skylake case.
1013
a51a76e5
RB
10142017-06-21 Richard Biener <rguenther@suse.de>
1015
1016 PR gcov-profile/81080
1017 * configure.ac: Add AC_SYS_LARGEFILE.
1018 * libgcov.h: Include auto-target.h before tsystem.h to pick
1019 up _FILE_OFFSET_BITS which might differ for multilibs.
1020 * config.in: Regenerate.
1021 * configure: Likewise.
1022
f0cd49c5
RE
10232017-06-16 Richard Earnshaw <rearnsha@arm.com>
1024
1025 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1026
4f751c54
ML
10272017-06-09 Martin Liska <mliska@suse.cz>
1028
1029 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1030 Reset __gcov_indirect_call_callee to NULL.
1031
1ac644c8
OH
10322017-06-08 Olivier Hainque <hainque@adacore.com>
1033
1034 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1035 the set of -I options, support for direct inclusions of net/uio.h
1036 by VxWorks header files via ioLib.h.
1037
d8b9cd27
TR
10382017-06-07 Tony Reix <tony.reix@atos.net>
1039 Matthieu Sarter <matthieu.sarter.external@atos.net>
1040 David Edelsohn <dje.gcc@gmail.com>
1041
92a285c1
ML
1042 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1043 unconditionally.
1044 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1045 AIX 7.2 support.
d8b9cd27 1046
38a75ccc
OH
10472017-06-02 Olivier Hainque <hainque@adacore.com>
1048
1049 * config/vxlib.c (__gthread_once): Add missing value to
1050 return statement.
1051
5b2edf53
OH
10522017-05-30 Olivier Hainque <hainque@adacore.com>
1053
1054 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1055 dollar sign before $(MULTIDIR).
1056
7d66e265
RH
10572017-05-26 Richard Henderson <rth@redhat.com>
1058
1059 PR libgcc/80037
1060 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1061
78eca309
AT
10622017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1063
1064 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1065 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1066 * config/arm/unwind-arm.c: Implement the above.
1067
c39d309a
AZ
10682017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1069
1070 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1071 section for a non-executable stack.
1072
eac8c9f2
KW
10732017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1074
1075 PR target/80600
1076 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1077
d6d4d770
DS
10782017-05-14 Daniel Santos <daniel.santos@pobox.com>
1079
1080 * config.host: Add i386/t-msabi to i386/t-linux file list.
1081 * config/i386/i386-asm.h: New file.
1082 * config/i386/resms64.S: New file.
1083 * config/i386/resms64f.S: New file.
1084 * config/i386/resms64fx.S: New file.
1085 * config/i386/resms64x.S: New file.
1086 * config/i386/savms64.S: New file.
1087 * config/i386/savms64f.S: New file.
1088 * config/i386/t-msabi: New file.
1089
8ef2b9a7
AT
10902017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1091
1092 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1093 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1094
7ab8766a
JC
10952017-05-05 Joshua Conner <joshconner@google.com>
1096
1097 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1098 pc-relative indirect handling for fuchsia.
1099 * config/t-slibgcc-fuchsia: New file.
1100 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1101 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1102
46928a8f
ML
11032017-04-19 Martin Liska <mliska@suse.cz>
1104
1105 PR gcov-profile/80435
1106 * Makefile.in: Install gcov.h.
1107 * gcov.h: New file.
1108 * libgcov.h: Use the header and make __gcov_flush publicly
1109 visible.
1110
63971184
ML
11112017-04-18 Martin Liska <mliska@suse.cz>
1112
1113 PR gcov-profile/78783
1114 * libgcov-driver.c (gcov_get_filename): New function.
1115
29d8aae6
JL
11162017-04-07 Jeff Law <law@redhat.com>
1117
1118 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1119 target makefile fragment.
1120 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1121
2bdf7fc6
AM
11222017-04-07 Alan Modra <amodra@gmail.com>
1123
1124 PR target/45053
1125 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1126
5764ee3c
JW
11272017-04-03 Jonathan Wakely <jwakely@redhat.com>
1128
1129 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1130
c4192ad7
CZ
11312017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1132
1133 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1134
4ccfdb28
JM
11352017-03-10 John Marino <gnugcc@marino.st>
1136
1137 * config/aarch64/freebsd-unwind.h: New file.
1138 * config.host: Add aarch64-*-freebsd unwinder.
1139
4144e4e3
SB
11402017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1141
1142 * config/rs6000/crtrestvr.s: Use .machine altivec.
1143 * config/rs6000/crtsavevr.s: Ditto.
1144
7502c597
SB
11452017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1146
1147 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1148 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1149 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1150 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1151 * configure: Regenerate.
1152 * config.in: Regenerate.
1153
db9f7f65
JY
11542017-03-02 Jonathan Yong <10walls@gmail.com>
1155
1156 * config/i386/gthr-win32.h: Define NOGDI before
1157 windows.h include to prevent w32api CC_NONE macro
1158 clash with libgfortran.
1159
126437c5
JY
11602017-03-02 Jonathan Yong <10walls@gmail.com>
1161
1162 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1163
31927af6
AP
11642017-02-16 Andrew Pinski <apinski@cavium.com>
1165
1166 * config/aarch64/value-unwind.h: New file.
1167 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1168 to tm_file.
1169
0bd99911
PD
11702017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1171
1172 * config.host: Add RISC-V tuples.
1173 * config/riscv/atomic.c: New file.
1174 * config/riscv/crti.S: Likewise.
1175 * config/riscv/crtn.S: Likewise.
1176 * config/riscv/div.S: Likewise.
1177 * config/riscv/linux-unwind.h: Likewise.
1178 * config/riscv/muldi3.S: Likewise.
1179 * config/riscv/multi3.S: Likewise.
1180 * config/riscv/save-restore.S: Likewise.
1181 * config/riscv/sfp-machine.h: Likewise.
1182 * config/riscv/t-elf: Likewise.
1183 * config/riscv/t-elf32: Likewise.
1184 * config/riscv/t-elf64: Likewise.
1185 * config/riscv/t-softfp32: Likewise.
1186 * config/riscv/t-softfp64: Likewise.
1187
a8c9ef2a
JJ
11882017-01-24 Jakub Jelinek <jakub@redhat.com>
1189
1190 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1191 /* FALLTHRU */ comments.
1192
c6c82710
GP
11932017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1194
1195 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1196
a876231c
JW
11972017-01-20 Jiong Wang <jiong.wang@arm.com>
1198
1199 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1200 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1201 DW_CFA_GNU_window_save for AArch64 and LP64.
1202
aa348be2
JW
12032017-01-20 Jiong Wang <jiong.wang@arm.com>
1204
1205 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1206
5636faf2
JW
12072017-01-19 Jiong Wang <jiong.wang@arm.com>
1208
1209 * config/aarch64/aarch64-unwind.h: New file.
1210 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1211 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1212 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1213 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1214 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1215 (aarch64_post_extract_frame_addr): New function.
1216 (aarch64_post_frob_eh_handler_addr): New function.
1217 (aarch64_frob_update_context): New function.
1218 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1219 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1220 aarch64*-*-freebsd*):
1221 Initialize md_unwind_header to include aarch64-unwind.h.
1222 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1223 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1224 __aarch64__.
1225 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1226 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1227 (uw_frob_return_addr): New function.
1228 (uw_install_context): Use uw_frob_return_addr.
1229
3c36aa6b
JJ
12302017-01-17 Jakub Jelinek <jakub@redhat.com>
1231
1232 PR other/79046
1233 * configure.ac: Add GCC_BASE_VER.
1234 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1235 version from BASE-VER file.
1236 * configure: Regenerated.
1237
829afb8f
JS
12382017-01-13 Joe Seymour <joe.s@somniumtech.com>
1239
1240 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1241 libmul_f5.a): Filter archived prerequisites.
1242
79fc8ffe
AS
12432017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1244
1245 * config/i386/cpuinfo.h (processor_features): Add
1246 FEATURE_AVX512VPOPCNTDQ.
1247 * config/i386/cpuinfo.c (get_available_features): Habdle new
1248 feature.
1249
fec5f4e0
JM
12502017-01-04 Joseph Myers <joseph@codesourcery.com>
1251
1252 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1253 payload if [__mips_nan2008].
1254
8f56cb51
AM
12552017-01-04 Alan Modra <amodra@gmail.com>
1256
1257 * Makefile.in (configure_deps): Update.
1258 * configure: Regenerate.
1259
cbe34bb5
JJ
12602017-01-01 Jakub Jelinek <jakub@redhat.com>
1261
1262 Update copyright years.
1263
ab955692
KW
12642016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1265
1266 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1267 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1268 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1269
de34320f
MK
12702016-12-17 Matthias Klose <doko@ubuntu.com>
1271
1272 * config/arc/gmon: Remove empty directory.
1273
e04ea1da
CZ
12742016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1275
1276 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1277 crtgend.
1278 (arc*-*-elf*): Likewise.
1279 * config/arc/t-arc: Remove old gmon lib targets.
1280 * config/arc/crtg.S: Remove.
1281 * config/arc/crtgend.S: Likewise.
1282 * config/arc/gmon/atomic.h: Likewise.
1283 * config/arc/gmon/auxreg.h: Likewise.
1284 * config/arc/gmon/dcache_linesz.S: Likewise.
1285 * config/arc/gmon/gmon.c: Likewise.
1286 * config/arc/gmon/machine-gmon.h: Likewise.
1287 * config/arc/gmon/mcount.c: Likewise.
1288 * config/arc/gmon/prof-freq-stub.S: Likewise.
1289 * config/arc/gmon/prof-freq.c: Likewise.
1290 * config/arc/gmon/profil.S: Likewise.
1291 * config/arc/gmon/sys/gmon.h: Likewise.
1292 * config/arc/gmon/sys/gmon_out.h: Likewise.
1293 * config/arc/t-arc-newlib: Likewise.
1294 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1295
8ae1c2c1
GS
12962016-12-12 George Spelvin <linux@sciencehorizons.net>
1297
1298 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1299
a5b947fa
GS
13002016-12-12 George Spelvin <linux@sciencehorizons.net>
1301
1302 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1303 R16 instead of push + pop.
1304 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1305
d6574dd1
KW
13062016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1307
1308 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1309 tmake_file.
1310
62440b4f
CM
13112016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1312
1313 * config.host (arc*-*-linux-uclibc*): Use default extra
1314 objects. Include linux-android header.
1315 * config/arc/crti.S (_init): Declare symbol as function.
1316 (_fini): Likewise.
1317
31cfd832
TK
13182016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1319
1320 PR fortran/78379
1321 * config/i386/cpuinfo.c: Move denums for processor vendors,
1322 processor type, processor subtypes and declaration of
1323 struct __processor_model into
1324 * config/i386/cpuinfo.h: New header file.
1325
c92e08e3
AV
13262016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1327 Thomas Preud'homme <thomas.preudhomme@arm.com>
1328
1329 * config/arm/cmse_nonsecure_call.S: New.
1330 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1331
de7b5723
AV
13322016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1333 Thomas Preud'homme <thomas.preudhomme@arm.com>
1334
1335 * config/arm/t-arm (HAVE_CMSE): New.
1336 * config/arm/cmse.c: New.
1337
7a0d2bce
TP
13382016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1339
b3a5bff4
TP
1340 PR gcc/74748
1341 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1342 use generic linker version information on Blackfin.
1343
7a0d2bce
TP
1344 PR gcc/74748
1345 * libgcc/mkmap-symver.awk: add support for skip_underscore
1346
b410cf1d
IS
13472016-11-27 Iain Sandoe <iain@codesourcery.com>
1348 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1349
1350 PR target/67710
1351 * config/t-darwin: Default builds to 10.5 codegen.
1352
2e5f8203
JG
13532016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1354
1355 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1356 (_FP_NANSIGN_H): Likewise.
1357 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1358 (softfp_truncations): Add tfhf.
1359 (softfp_extras): Add required conversion functions.
1360
bea64ca3
JG
13612016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1362 Matthew Wahab <matthew.wahab@arm.com>
1363
1364 * config/arm/fp16.c (binary64): New.
1365 (__gnu_d2h_internal): New.
1366 (__gnu_d2h_ieee): New.
1367 (__gnu_d2h_alternative): New.
1368
8630cadb
JG
13692016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1370 Matthew Wahab <matthew.wahab@arm.com>
1371
1372 * config/arm/fp16.c (struct format): New.
1373 (binary32): New.
1374 (__gnu_float2h_internal): New. Body moved from
1375 __gnu_f2h_internal and generalize.
1376 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1377 Call it with binary32.
1378
5823ef23
JG
13792016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1380
1381 * soft-fp/extendhftf2.c: Update from glibc.
1382 * soft-fp/fixhfti.c: Likewise.
1383 * soft-fp/fixunshfti.c: Likewise.
1384 * soft-fp/floattihf.c: Likewise.
1385 * soft-fp/floatuntihf.c: Likewise.
1386 * soft-fp/half.h: Likewise.
1387 * soft-fp/trunctfhf2.c: Likewise.
1388
62a7df9f
MG
13892016-11-20 Marc Glisse <marc.glisse@inria.fr>
1390
1391 PR libgcc/77813
1392 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1393 __TMC_END__ behind a passthrough asm.
1394
7a384912
WL
13952016-11-18 Walter Lee <walt@tilera.com>
1396
62a7df9f 1397 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1398
9775c1a5
L
13992016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1400
1401 * config/i386/cpuinfo.c (processor_features): Add
1402 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1403
48c842ab
CZ
14042016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1405
1406 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1407 (__ARC_NORM__): Use instead ARC_OPTFPE.
1408 * config/arc/fp-hack.h: Likewise.
1409 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1410 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1411
5012919d
AM
14122016-11-16 Alexander Monakov <amonakov@ispras.ru>
1413
1414 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1415 * config/nvptx/mgomp.c: New file.
1416 * config/nvptx/t-nvptx: Add mgomp.c
1417
00178b98
WB
14182016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1419
1420 PR libgcc/68468
1421 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1422
d64af69f
CZ
14232016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1424
1425 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1426 of checking for cpus.
1427 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1428 (__modsi3, __clzsi2): Likewise.
1429
9d8f95de
SN
14302016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1431
1432 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1433 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1434 * config/i386/t-cpuinfo-static: New.
1435
7d29f8e3
ML
14362016-11-03 Martin Liska <mliska@suse.cz>
1437
1438 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1439 (__gcov_time_profiler_atomic): Likewise.
1440
5de3e2d8
BE
14412016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1442
1443 PR libgcc/78067
1444 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1445 count_leading_zeros.
1446
18362447
UB
14472016-11-02 Uros Bizjak <ubizjak@gmail.com>
1448
1449 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1450 * libgcc2.c (__divmoddi4): New function.
1451 * libgcc2.h (__divmoddi4): Declare.
1452 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1453 and __PFX_divmodti4.
1454
33107571
FW
14552016-10-24 Florian Weimer <fweimer@redhat.com>
1456
1457 PR libgcc/78064
1458 * unwind-c.c: Include auto-target.h.
1459
4c6d7494
JDA
14602016-10-19 John David Anglin <danglin@gcc.gnu.org>
1461
18362447 1462 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1463 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1464 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1465 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1466 hppa*64*-*-hpux11*.
1467
2a26adf1
MF
14682016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1469
1470 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1471 definition.
1472 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1473 definition.
1474 * config/xtensa/t-windowed (LIB2ADDEH): Use
1475 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1476 or xtensa/t-linux.
1477
66192aa1
DKC
14782016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1479
1480 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1481 __ieee754_sqrt): New functions.
1482 (__divdf3): Add implementation with new FPU instructions under
1483 #if XCHAL_HAVE_DFP_DIV.
1484 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1485 __ieee754_sqrtf): New functions.
1486 (__divsf3): Add implementation with new FPU instructions under
1487 #if XCHAL_HAVE_FP_DIV.
1488 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1489 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1490
4d0cdd0c
TP
14912016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1492
1493 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1494 equivalent.
1495 * config/tilepro/atomic.c: Likewise and stop casting model to
1496 enum memmodel.
1497
73f01cca
JM
14982016-10-10 Joseph Myers <joseph@codesourcery.com>
1499
1500 PR target/77586
1501 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1502 soft-fp.
1503
b20e7532
AT
15042016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1505
1506 * config.host: Add support for aarch64-*-freebsd*.
1507
a786cec4
AS
15082016-10-05 Andreas Schwab <schwab@suse.de>
1509
1510 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1511 (.section .init_array): Don't call __do_jv_register_classes.
1512 (.section .init): Likewise.
1513
5a79befb
JJ
15142016-10-04 Jakub Jelinek <jakub@redhat.com>
1515
1516 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1517 (__JCR_LIST__): Remove.
1518 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1519 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1520 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1521 * config/ia64/crtend.S (__JCR_END__): Remove.
1522 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1523 conditionals.
1524 (__JCR_LIST__, __JCR_END__): Remove.
1525 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1526 (__do_global_ctors_1): Likewise.
1527
e0ab3753
UB
15282015-09-28 Uros Bizjak <ubizjak@gmail.com>
1529
1530 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1531 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1532
8c9434c2
ML
15332016-09-27 Martin Liska <mliska@suse.cz>
1534
1535 PR gcov-profile/7970
1536 PR gcov-profile/16855
1537 PR gcov-profile/44779
1538 * libgcov-driver.c (__gcov_init): Do not register a atexit
1539 handler.
1540 (__gcov_exit): Rename from gcov_exit.
1541 * libgcov.h (__gcov_exit): Declare.
1542
56b653f1
ML
15432016-09-27 Martin Liska <mliska@suse.cz>
1544
1545 PR bootstrap/77749
1546 * Makefile.in: Remove _gcov_merge_delta.
1547 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1548 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1549 * libgcov.h: Remove declaration of __gcov_merge_delta.
1550
7e02fd1b
EB
15512016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1552
1553 * configure.ac: Do not create links, only substitute the filenames.
1554 * configure: Regenerate.
1555 * Makefile.in: Assign the substitution results to variables.
1556 (LIBGCC_LINKS): Define.
1557 (enable-execute-stack.c): New rule.
1558 (unwind.h): Likewise.
1559 (md-unwind-support.h): Likewise.
1560 (sfp-machine.h): Likewise.
1561 (gthr-default.h): Likewise.
1562 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1563 unwind.h as prerequisite of install-unwind_h-forbuild.
1564
29991048
JJ
15652016-09-16 Jakub Jelinek <jakub@redhat.com>
1566
1567 PR libgcc/71744
1568 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1569 is not the primary registry and atomics are available.
1570 (any_objects_registered): New variable.
1571 (__register_frame_info_bases, __register_frame_info_table_bases):
1572 Atomically store 1 to any_objects_registered after registering first
1573 unwind info.
1574 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1575
0abcd6cc
JG
15762016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1577
1578 PR target/63250
1579 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1580 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1581 (HFtype): Likewise.
1582 (HCtype): Likewise.
1583 (__divhc3): Likewise.
1584 (__mulhc3): Likewise.
1585 * libgcc2.c: Support _mulhc3 and _divhc3.
1586
d758aeb5
JM
15872016-09-07 Joseph Myers <joseph@codesourcery.com>
1588
1589 PR libgcc/77519
1590 * libgcc2.c (NOTRUNC): Invert settings.
1591
7fe76f6a
ML
15922016-09-06 Martin Liska <mliska@suse.cz>
1593
1594 PR gcov-profile/77378
1595 PR gcov-profile/77466
1596 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1597 conditionaly enable/disable *_atomic functions.
1598
21184026
JM
15992016-08-26 Joseph Myers <joseph@codesourcery.com>
1600
1601 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1602 where not already enabled.
1603
726f49c3
SN
16042016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1605
1606 * config/mips/linux-unwind.h: Use sys/syscall.h.
1607
feeb6268
JM
16082016-08-16 Joseph Myers <joseph@codesourcery.com>
1609
1610 PR libgcc/77265
1611 * soft-fp/adddf3.c: Update from glibc.
1612 * soft-fp/addsf3.c: Likewise.
1613 * soft-fp/addtf3.c: Likewise.
1614 * soft-fp/divdf3.c: Likewise.
1615 * soft-fp/divsf3.c: Likewise.
1616 * soft-fp/divtf3.c: Likewise.
1617 * soft-fp/double.h: Likewise.
1618 * soft-fp/eqdf2.c: Likewise.
1619 * soft-fp/eqsf2.c: Likewise.
1620 * soft-fp/eqtf2.c: Likewise.
1621 * soft-fp/extenddftf2.c: Likewise.
1622 * soft-fp/extended.h: Likewise.
1623 * soft-fp/extendsfdf2.c: Likewise.
1624 * soft-fp/extendsftf2.c: Likewise.
1625 * soft-fp/extendxftf2.c: Likewise.
1626 * soft-fp/fixdfdi.c: Likewise.
1627 * soft-fp/fixdfsi.c: Likewise.
1628 * soft-fp/fixdfti.c: Likewise.
1629 * soft-fp/fixsfdi.c: Likewise.
1630 * soft-fp/fixsfsi.c: Likewise.
1631 * soft-fp/fixsfti.c: Likewise.
1632 * soft-fp/fixtfdi.c: Likewise.
1633 * soft-fp/fixtfsi.c: Likewise.
1634 * soft-fp/fixtfti.c: Likewise.
1635 * soft-fp/fixunsdfdi.c: Likewise.
1636 * soft-fp/fixunsdfsi.c: Likewise.
1637 * soft-fp/fixunsdfti.c: Likewise.
1638 * soft-fp/fixunssfdi.c: Likewise.
1639 * soft-fp/fixunssfsi.c: Likewise.
1640 * soft-fp/fixunssfti.c: Likewise.
1641 * soft-fp/fixunstfdi.c: Likewise.
1642 * soft-fp/fixunstfsi.c: Likewise.
1643 * soft-fp/fixunstfti.c: Likewise.
1644 * soft-fp/floatdidf.c: Likewise.
1645 * soft-fp/floatdisf.c: Likewise.
1646 * soft-fp/floatditf.c: Likewise.
1647 * soft-fp/floatsidf.c: Likewise.
1648 * soft-fp/floatsisf.c: Likewise.
1649 * soft-fp/floatsitf.c: Likewise.
1650 * soft-fp/floattidf.c: Likewise.
1651 * soft-fp/floattisf.c: Likewise.
1652 * soft-fp/floattitf.c: Likewise.
1653 * soft-fp/floatundidf.c: Likewise.
1654 * soft-fp/floatundisf.c: Likewise.
1655 * soft-fp/floatunditf.c: Likewise.
1656 * soft-fp/floatunsidf.c: Likewise.
1657 * soft-fp/floatunsisf.c: Likewise.
1658 * soft-fp/floatunsitf.c: Likewise.
1659 * soft-fp/floatuntidf.c: Likewise.
1660 * soft-fp/floatuntisf.c: Likewise.
1661 * soft-fp/floatuntitf.c: Likewise.
1662 * soft-fp/gedf2.c: Likewise.
1663 * soft-fp/gesf2.c: Likewise.
1664 * soft-fp/getf2.c: Likewise.
1665 * soft-fp/ledf2.c: Likewise.
1666 * soft-fp/lesf2.c: Likewise.
1667 * soft-fp/letf2.c: Likewise.
1668 * soft-fp/muldf3.c: Likewise.
1669 * soft-fp/mulsf3.c: Likewise.
1670 * soft-fp/multf3.c: Likewise.
1671 * soft-fp/negdf2.c: Likewise.
1672 * soft-fp/negsf2.c: Likewise.
1673 * soft-fp/negtf2.c: Likewise.
1674 * soft-fp/op-1.h: Likewise.
1675 * soft-fp/op-2.h: Likewise.
1676 * soft-fp/op-4.h: Likewise.
1677 * soft-fp/op-8.h: Likewise.
1678 * soft-fp/op-common.h: Likewise.
1679 * soft-fp/quad.h: Likewise.
1680 * soft-fp/single.h: Likewise.
1681 * soft-fp/soft-fp.h: Likewise.
1682 * soft-fp/subdf3.c: Likewise.
1683 * soft-fp/subsf3.c: Likewise.
1684 * soft-fp/subtf3.c: Likewise.
1685 * soft-fp/truncdfsf2.c: Likewise.
1686 * soft-fp/trunctfdf2.c: Likewise.
1687 * soft-fp/trunctfsf2.c: Likewise.
1688 * soft-fp/trunctfxf2.c: Likewise.
1689 * soft-fp/unorddf2.c: Likewise.
1690 * soft-fp/unordsf2.c: Likewise.
1691 * soft-fp/unordtf2.c: Likewise.
1692
2e6fc1ac
GG
16932016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1694
1695 PR gcov-profile/67097
1696 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1697
a266236e
ML
16982016-08-10 Martin Liska <mliska@suse.cz>
1699
1700 PR gcov-profile/58306
1701 * Makefile.in: New functions (modules) are added.
1702 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1703 function.
1704 (__gcov_pow2_profiler_atomic): New function.
1705 (__gcov_one_value_profiler_body): New argument is instroduced.
1706 (__gcov_one_value_profiler): Call with the new argument.
1707 (__gcov_one_value_profiler_atomic): Likewise.
1708 (__gcov_indirect_call_profiler_v2): Likewise.
1709 (__gcov_time_profiler_atomic): New function.
1710 (__gcov_average_profiler_atomic): Likewise.
1711 (__gcov_ior_profiler_atomic): Likewise.
1712 * libgcov.h: Declare the aforementioned functions.
1713
e0c8eebf
ML
17142016-08-09 Martin Liska <mliska@suse.cz>
1715
1716 * libgcov-util.c: Fix typo and GNU coding style.
1717
6dce6418
ML
17182016-08-09 Martin Liska <mliska@suse.cz>
1719
1720 * Makefile.in: Remove __gcov_indirect_call_profiler.
1721 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1722 function.
1723 * libgcov.h: And the declaration of the function.
1724
dcb1e137
ML
17252016-08-09 Martin Liska <mliska@suse.cz>
1726
1727 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1728 power of two.
1729
d6e69705
BS
17302016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1731
1732 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1733 * config/rs6000/_mulkc3.c: Likewise.
1734
96aa1f95
GJL
17352016-07-29 Georg-Johann Lay <avr@gjlay.de>
1736
1737 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1738 zero_reg as previous call to __umulhisi3 already cleared it.
1739
a1b01d34
AJ
17402016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1741
1742 PR target/59833
1743 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1744
985a47b2
NC
17452016-07-19 Nick Clifton <nickc@redhat.com>
1746
1747 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1748 Add crtinit.o and crtfini.o to extra_parts.
1749
f906f5ed
BS
17502016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1751
1752 * config/rs6000/_divkc3.c: New.
1753 * config/rs6000/_mulkc3.c: New.
1754 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1755 and _divkc3.
1756 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1757 fp128_ppc_funcs.
1758
82742404
HW
17592016-07-11 Hale Wang <hale.wang@arm.com>
1760 Andre Vieira <andre.simoesdiasvieira@arm.com>
1761
1762 * config/arm/lib1funcs.S: Add new wrapper.
1763
05a437c1
TP
17642016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1765
1766 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1767
3d16d9ec
TP
17682016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1769
1770 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1771 and ARMv5t* rather than for a fixed list of architectures.
1772
6f493951
TP
17732016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1774
1775 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1776 implementation suitable for.
1777 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1778 for all Thumb-1 only targets.
1779 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1780 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1781 __ARM_ARCH_6M__.
1782 (EQUIV): Likewise.
1783 (ARM_FUNC_ALIAS): Likewise.
1784 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1785 version.
1786 (modsi3): Likewise.
1787 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1788 (clzdi2): Likewise.
1789 (ctzsi2): Likewise.
1790 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1791 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1792 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1793 __ARM_ARCH_6M__ and add comment to indicate the connection between
1794 this condition and the one in gcc/config/arm/elf.h.
1795 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1796 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1797 * config/arm/t-softfp: Likewise.
1798
1770511a
TS
17992016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1800
1801 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1802 CTOR_LISTS_DEFINED_EXTERNALLY.
1803
ba6be749
WL
18042016-06-28 Walter Lee <walt@tilera.com>
1805
1806 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1807 asm/unistd.h.
1808 (SPR_CMPEXCH_VALUE): Define for tilegx.
1809 (__NR_FAST_cmpxchg): Define for tilepro.
1810 (__NR_FAST_atomic_update): Define for tilepro.
1811 (__NR_FAST_cmpxchg64): Define for tilepro.
1812
a34c0db5
JS
18132016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1814
18362447 1815 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 1816
0609abda
TS
18172016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1818
1819 * config.host: Remove support for mep-*.
1820 * config/mep/lib1funcs.S: Remove.
1821 * config/mep/lib2funcs.c: Remove.
1822 * config/mep/t-mep: Remove.
1823 * config/mep/tramp.c: Remove.
1824
3e326935
TS
18252016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1826
1827 * config.host: Remove support for avr-rtems.
1828 * config/avr/t-rtems: Remove.
1829
914b155c
TS
18302016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1831
1832 * config.host: Remove m32r-rtems support.
1833
5ebf89bd
TS
18342016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1835
1836 * config.host: Remove h8300-rtems support.
1837
8466af06
TS
18382016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1839
1840 * config.host: Remove support for knetbsd.
1841
d980e738
TS
18422016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1843
1844 * config.host: Remove support for openbsd 2 and 3.
1845
ee2499b4
TS
18462016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1847
1848 * config.host: Remove interix support.
1849 * config/i386/t-interix: Remove.
1850
9f92937b
JDA
18512016-06-18 John David Anglin <danglin@gcc.gnu.org>
1852
1853 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1854 least-significant bit in function pointer for fixup.
1855
0a0ec53d
AC
18562016-06-05 Aaron Conole <aconole@redhat.com>
1857 Nathan Sidwell <nathan@acm.org>
1858
1859 PR libgcc/71400
1860 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1861 (get_gcov_error_file): Check __gcov_error_file before trying to
1862 initialize it.
1863 (gcov_error): Always use get_gcov_error_file.
1864
8aa5bdd6
AC
18652016-06-02 Aaron Conole <aconole@redhat.com>
1866
1867 * libgcov-driver-system.c (__gcov_error_file): New.
1868 (get_gcov_error_file): New.
1869 (gcov_error): Use and set __gcov_error_file.
1870 (gcov_error_exit): New.
1871 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1872
40774faf
NS
18732016-05-26 Nathan Sidwell <nathan@acm.org>
1874
1875 * config/nvptx/free.asm: Delete.
1876 * config/nvptx/malloc.asm: Delete.
1877 * config/nvptx/realloc.c: Delete.
1878 * t-nvptx: Update.
1879
69a6d5ad
NS
18802016-05-25 Nathan Sidwell <nathan@acm.org>
1881
1882 * config/nvptx/crt0.s: Delete.
1883 * config/nvptx/crt0.c: New.
1884 * t-nvptx: Update.
1885
6befaff6
SL
18862016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1887
385c7747 1888 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
1889 dw2/seh configuration.
1890 [x86_64-*-mingw*]: Likewise.
1891
ad251dfd
JS
18922016-05-10 Joel Sherrill <joel@rtems.org>
1893
1894 PR libgcc/70720
1895 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1896 targets so the same extra_parts are built. Also have tmake_file add
1897 on to its value rather than override.
1898
bc6d9014
OE
18992016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1900
1901 * config.host: Remove SH5 support.
1902 * configure: Likewise.
1903
9129c8cf
OE
19042016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1905
1906 * config/sh/crt1.S: Remove SH5 support.
1907 * config/sh/crti.S: Likewise.
1908 * config/sh/crtn.S: Likewise.
1909 * config/sh/lib1funcs-4-300.S: Likewise.
1910 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1911 * config/sh/lib1funcs.S: Likewise.
1912 * config/sh/linux-unwind.h: Likewise.
1913 * config/sh/t-sh64: Delete.
1914
39d50464
CZ
19152016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1916
1917 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1918
8b48923b
CZ
19192016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1920 Joern Rennecke <joern.rennecke@embecosm.com>
1921
1922 * config/arc/crttls.S: New file.
1923 * config/arc/t-arc: New rule.
1924 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1925
2de1cf8c
NC
19262016-04-25 Nick Clifton <nickc@redhat.com>
1927
1928 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1929 (__mspabi_cmpd): Likewise.
1930 * config/msp430/floathidf.c (__floathidf): Likewise.
1931 * config/msp430/floathisf.c (__floathisf): Likewise
1932 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1933 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1934 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1935 second parameter.
1936 (__ashrsi3): Likewise.
1937
b8ce3fe2
WB
19382016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1939
1940 * config/m68k/linux-atomic.c: Do not include unistd.h
1941
4986f823
MG
19422016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1943
1944 * config/arm/ieee754-df.S: Fix typos in comments.
1945
35fbda43
MM
19462016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1947
1948 PR target/70381
1949 * configure.ac (powerpc*-*-linux*): Rework tests to build
1950 __float128 emulation routines to not depend on using #pragma GCC
1951 target to enable -mfloat128.
1952 * configure: Regnerate.
1953
72d1a48d
EB
19542016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1955
1956 PR target/67172
1957 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1958 __MINGW32__ is defined.
1959
dc2e8995
JB
19602016-03-28 James Bowman <james.bowman@ftdichip.com>
1961
385c7747 1962 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 1963
104cdaf1
MM
19642016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1965
1966 PR libgcc/70363
1967 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1968 built with an assembler that does not support ISA 3.0
1969 instructions, rename __extendkftf2_sw to __extendkftf2.
1970
a5046f48
RO
19712016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1972
1973 PR target/38239
1974 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1975 call-clobbered registers.
1976 (internal_mcount): Remove __i386__ handling.
1977
df674f74
JS
19782016-02-26 Joel Sherrill <joel@rtems.org>
1979
1980 * config.host: Add x86_64-*-rtems*.
1981
7cb065d6
JS
19822016-02-26 Joel Sherrill <joel@rtems.org>
1983
1984 * libgcc/config.host: Add aarch64-*-rtems*.
1985
47dfdc53
PM
19862016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1987 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1988
1989 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1990 union of u64 and double.
1991 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1992 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1993 value.
1994 (FP_ROUNDMODE): Update the usage of _fpscr.
1995
e6861a99
IV
19962016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1997
1998 PR driver/68463
1999 * Makefile.in (crtoffloadtable$(objext)): New rule.
2000 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2001 enable_offload_targets is not empty.
2002 * configure: Regenerate.
2003 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2004 crtoffloadtable.
2005
9bfcbdee
MF
20062016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2007
2008 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2009 .literal_position before the function.
2010 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2011 Likewise.
2012
4cb4721f
MK
20132016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2014
2015 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2016 * config/s390/morestack.S: New file.
2017 * config/s390/t-stack-s390: New file.
2018 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2019
b29d9a29
WL
20202016-02-12 Walter Lee <walt@tilera.com>
2021
2022 * config.host (tilegx*-*-linux*): remove ti from
2023 softfp_int_modes for 32-bit configs.
2024
03a0ae7d
ILT
20252016-02-10 Ian Lance Taylor <iant@google.com>
2026
2027 PR go/68562
2028 * config/i386/morestack.S (__stack_split_initialize): Align
2029 stack.
2030
68750bce
AT
20312016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2032
2033 PR bootstrap/69611
2034 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2035 __FLOAT128__ to compile only for __float128 capable targets.
2036
7d296953
JJ
20372016-01-25 Jakub Jelinek <jakub@redhat.com>
2038
2039 PR target/69444
2040 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2041 instead of ___NO_FPRS__.
2042
a71c0334 20432016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2044 Steven Munroe <munroesj@linux.vnet.ibm.com>
2045 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2046
2047 * config/rs6000/float128-sed: New files to convert TF names to KF
2048 names for PowerPC IEEE 128-bit floating point support.
2049 * config/rs6000/float128-sed-hw: Likewise.
2050
2051 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2052 floating point hardware support.
2053
2054 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2055 128-bit floating point software emulation or use ISA 3.0 hardware
2056 support if it is available.
2057
2058 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2059 floating point.
2060
2061 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2062 floating point to IBM extended double.
2063
2064 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2065 double to IEEE 128-bit floating point.
2066
2067 * config/rs6000/t-float128: New Makefile fragments to enable
2068 building __float128 emulation support.
2069 * config/rs6000/t-float128-hw: Likewise.
2070
2071 * config/rs6000/sfp-exceptions.c: New file to provide exception
2072 support for IEEE 128-bit floating point.
2073
2074 * config/rs6000/floattikf.c: New files for converting between IEEE
2075 128-bit floating point and signed/unsigned 128-bit integers.
2076 * config/rs6000/fixunskfti.c: Likewise.
2077 * config/rs6000/fixkfti.c: Likewise.
2078 * config/rs6000/floatuntikf.c: Likewise.
2079
2080 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2081 when building on 64-bit systems, or when VSX is enabled.
2082 (_FP_W_TYPE): Likewise.
2083 (_FP_WS_TYPE): Likewise.
2084 (_FP_I_TYPE): Likewise.
2085 (TItype): Define on 64-bit systems.
2086 (UTItype): Likewise.
2087 (TI_BITS): Likewise.
2088 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2089 (_FP_MUL_MEAT_Q): Likewise.
2090 (_FP_DIV_MEAT_D): Likewise.
2091 (_FP_DIV_MEAT_Q): Likewise.
2092 (_FP_NANFRAC_D): Likewise.
2093 (_FP_NANFRAC_Q): Likewise.
2094 (ISA_BIT): Add exception support if we are being compiled on a
2095 machine with hardware floating point support to build the IEEE
2096 128-bit emulation functions.
2097 (FP_EX_INVALID): Likewise.
2098 (FP_EX_OVERFLOW): Likewise.
2099 (FP_EX_UNDERFLOW): Likewise.
2100 (FP_EX_DIVZERO): Likewise.
2101 (FP_EX_INEXACT): Likewise.
2102 (FP_EX_ALL): Likewise.
2103 (__sfp_handle_exceptions): Likewise.
2104 (FP_HANDLE_EXCEPTIONS): Likewise.
2105 (FP_RND_NEAREST): Likewise.
2106 (FP_RND_ZERO): Likewise.
2107 (FP_RND_PINF): Likewise.
2108 (FP_RND_MINF): Likewise.
2109 (FP_RND_MASK): Likewise.
2110 (_FP_DECL_EX): Likewise.
2111 (FP_INIT_ROUNDMODE): Likewise.
2112 (FP_ROUNDMODE): Likewise.
2113
2114 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2115 VSX code, enable IEEE 128-bit floating point. If the compiler can
2116 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2117 floating point hardware instructions and it supports declaring
2118 functions with the ifunc attribute, enable ifunc functions to
2119 switch between software and hardware support.
2120 * configure.ac (powerpc*-*-linux*): Likewise.
2121 * configure: Regenerate.
2122
bdc27e50
NC
21232016-01-15 Nick Clifton <nickc@redhat.com>
2124
2125 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2126 dependency as the source file to be compiled.
2127 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2128 (lib2hw_mul_f5.o): Likewise.
2129
006df05d
MM
21302016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2131
2132 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2133 * libgcc/config/rs6000/fixkfti.c: Likewise.
2134 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2135 * libgcc/config/rs6000/float128-hw.c: Likewise.
2136 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2137 * libgcc/config/rs6000/float128-sed: Likewise.
2138 * libgcc/config/rs6000/floattikf.c: Likewise.
2139 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2140 * libgcc/config/rs6000/quad-float128.h: Likewise.
2141 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2142 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2143 * libgcc/config/rs6000/t-float128: Likewise.
2144 * libgcc/config/rs6000/t-float128-hw: Likewise.
2145 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2146 * libgcc/config.host: Likewise.
2147 * libgcc/configure: Likewise.
2148 * libgcc/configure.ac: Likewise.
2149
29176d57 21502016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2151 Steven Munroe <munroesj@linux.vnet.ibm.com>
2152 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2153
2154 * config/rs6000/sfp-exceptions.c: New file to provide exception
2155 support for IEEE 128-bit floating point.
2156
2157 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2158 floating point hardware support.
2159
2160 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2161 point conversions.
2162 * config/rs6000/fixunskfti.c: Likewise.
2163 * config/rs6000/fixkfti.c: Likewise.
2164 * config/rs6000/floatuntikf.c: Likewise.
2165 * config/rs6000/extendkftf2-sw.c: Likewise.
2166 * config/rs6000/trunctfkf2-sw.c: Likewise.
2167
2168 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2169 128-bit floating point software emulation or use ISA 3.0 hardware
2170 support if it is available.
2171
2172 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2173 floating point.
2174
2175 * config/rs6000/t-float128: New Makefile fragments to enable
2176 building __float128 emulation support.
2177 * config/rs6000/t-float128-hw: Likewise.
2178
2179 * config/rs6000/float128-sed: New file to convert TF names to KF
2180 names for PowerPC IEEE 128-bit floating point support.
2181
2182 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2183 when building on 64-bit systems, or when VSX is enabled.
2184 (_FP_W_TYPE): Likewise.
2185 (_FP_WS_TYPE): Likewise.
2186 (_FP_I_TYPE): Likewise.
2187 (TItype): Define on 64-bit systems.
2188 (UTItype): Likewise.
2189 (TI_BITS): Likewise.
2190 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2191 (_FP_MUL_MEAT_Q): Likewise.
2192 (_FP_DIV_MEAT_D): Likewise.
2193 (_FP_DIV_MEAT_Q): Likewise.
2194 (_FP_NANFRAC_D): Likewise.
2195 (_FP_NANFRAC_Q): Likewise.
2196 (ISA_BIT): Add exception support if we are being compiled on a
2197 machine with hardware floating point support to build the IEEE
2198 128-bit emulation functions.
2199 (FP_EX_INVALID): Likewise.
2200 (FP_EX_OVERFLOW): Likewise.
2201 (FP_EX_UNDERFLOW): Likewise.
2202 (FP_EX_DIVZERO): Likewise.
2203 (FP_EX_INEXACT): Likewise.
2204 (FP_EX_ALL): Likewise.
2205 (__sfp_handle_exceptions): Likewise.
2206 (FP_HANDLE_EXCEPTIONS): Likewise.
2207 (FP_RND_NEAREST): Likewise.
2208 (FP_RND_ZERO): Likewise.
2209 (FP_RND_PINF): Likewise.
2210 (FP_RND_MINF): Likewise.
2211 (FP_RND_MASK): Likewise.
2212 (_FP_DECL_EX): Likewise.
2213 (FP_INIT_ROUNDMODE): Likewise.
2214 (FP_ROUNDMODE): Likewise.
2215
2216 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2217 compiler can do __float128.
2218 * configure: Regenerate.
2219
2220 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2221 VSX code, enable IEEE 128-bit floating point.
2222
a2218983
OH
22232016-01-05 Olivier Hainque <hainque@adacore.com>
2224
2225 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2226 specificities.
a2218983 2227
818ab71a
JJ
22282016-01-04 Jakub Jelinek <jakub@redhat.com>
2229
2230 Update copyright years.
2231
5a6c8ffa
AP
22322015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2233
2234 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2235 soft-fp targets.
5a6c8ffa 2236
077067a5
BE
22372015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2238
2239 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2240 instead of abort to avoid dependency on stdlib.h.
2241
787c1027
JDA
22422015-12-09 John David Anglin <danglin@gcc.gnu.org>
2243
2244 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2245 to initialize call to __dl_fixup once.
2246
04a9ae28
NC
22472015-12-04 Nick Clifton <nickc@redhat.com>
2248
2249 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2250 Allow for the second argument being negative.
2251 * config.host (extra_parts): Define for MSP430. Create separate
2252 libraries for each of the hardware multiply formats.
2253 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2254 that are needed.
2255 * config/msp430/lib2mul.c: Likewise.
2256 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2257 Add rules to build hardware multiply libraries.
2258 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2259 __mspabi_divul function.
2260 (__mspabi_divllu): New stub function.
2261
9a32d437
JDA
22622015-12-01 John David Anglin <danglin@gcc.gnu.org>
2263
2264 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2265 fixup values if saved GOT address doesn't match runtime address.
2266 (fixup_branch_offset): Reorder list.
2267
e5ef217c
RO
22682015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2269
2270 * Makefile.in (VTV_CFLAGS): New variable.
2271 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2272 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2273 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2274 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2275 to extra_parts if $enable_vtable_verify = yes.
2276
78cc43a2
SN
22772015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2278
2279 PR target/68059
2280 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2281 (write): ...this and fix the return type.
2282
9afebea2
DD
22832015-11-19 DJ Delorie <dj@redhat.com>
2284
2285 * config/msp430/lib2hw_mul.S: Fix alignment.
2286
33f47f42
NS
22872015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2288
2289 * config/nvptx/reduction.c: New.
2290 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2291
d9adb476
DE
22922015-11-15 David Edelsohn <dje.gcc@gmail.com>
2293
2294 * config/rs6000/on_exit.c: New file.
2295 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2296 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2297
c0ab1970
CZ
22982015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2299
2300 * config/arc/dp-hack.h: Add support for ARCHS.
2301 * config/arc/ieee-754/divdf3.S: Likewise.
2302 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2303 * config/arc/ieee-754/muldf3.S: Likewise.
2304 * config/arc/ieee-754/mulsf3.S: Likewise
2305 * config/arc/lib1funcs.S: Likewise
2306 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2307 for ARCv2 cores.
2308 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2309 for ARCv2 cores.
2310 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2311 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2312 cores.
2313
e6b6bf09
RO
23142015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2315
2316 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2317 value.
2318 * config/ia64/crtend.S: Likewise.
2319
a153644f
TS
23202015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2321
2322 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2323 __CHAR_BIT__ instead of BITS_PER_UNIT.
2324 * fixed-bit.h: Likewise.
2325 * fp-bit.h: Likewise.
2326 * libgcc2.c (__popcountSI2): Likewise.
2327 (__popcountDI2): Likewise.
2328 * libgcc2.h: Likewise.
2329 * libgcov.h: Likewise.
2330
3dee689d
DE
23312015-11-07 David Edelsohn <dje.gcc@gmail.com>
2332
2333 * config/rs6000/atexit.c: New file.
2334 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2335 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2336 * config/rs6000/cxa_finalize.c
2337 (catomic_compare_and_exchange_bool_acq): Negate return value.
2338
2ef543e4
VK
23392015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2340
2341 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2342 (processor_subtypes): Add znver1.
2343 (get_amd_cpu): Detect znver1.
2344
1300f017
CL
23452015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2346
2347 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2348 Include crtfastmath.o.
2349
3e5bb7ee
JR
23502015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2351
2352 PR libgcc/66883
2353 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2354
793aa938
KP
23552015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2356
2357 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2358 * config/rl78/divmodsi.S: Update return register to r8.
2359 * config/rl78/divmodhi.S: Update return register to r8,r9.
2360 Branch to main_loop_done_himode to pop registers before return.
2361
7d296953 23622015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2363
2364 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2365 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2366
6a192b5a
KY
23672015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2368
2369 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2370
4a0a9457
MF
23712015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2372
2373 * config.host (xtensa*-*-uclinux*): New configuration.
2374
ab91c076
KY
23752015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2376
385c7747 2377 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2378 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2379
30954527
JM
23802015-09-28 Joseph Myers <joseph@codesourcery.com>
2381
2382 * soft-fp/adddf3.c: Update from glibc.
2383 * soft-fp/addsf3.c: Likewise.
2384 * soft-fp/addtf3.c: Likewise.
2385 * soft-fp/divdf3.c: Likewise.
2386 * soft-fp/divsf3.c: Likewise.
2387 * soft-fp/divtf3.c: Likewise.
2388 * soft-fp/double.h: Likewise.
2389 * soft-fp/eqdf2.c: Likewise.
2390 * soft-fp/eqsf2.c: Likewise.
2391 * soft-fp/eqtf2.c: Likewise.
2392 * soft-fp/extenddftf2.c: Likewise.
2393 * soft-fp/extended.h: Likewise.
2394 * soft-fp/extendsfdf2.c: Likewise.
2395 * soft-fp/extendsftf2.c: Likewise.
2396 * soft-fp/extendxftf2.c: Likewise.
2397 * soft-fp/fixdfdi.c: Likewise.
2398 * soft-fp/fixdfsi.c: Likewise.
2399 * soft-fp/fixdfti.c: Likewise.
2400 * soft-fp/fixsfdi.c: Likewise.
2401 * soft-fp/fixsfsi.c: Likewise.
2402 * soft-fp/fixsfti.c: Likewise.
2403 * soft-fp/fixtfdi.c: Likewise.
2404 * soft-fp/fixtfsi.c: Likewise.
2405 * soft-fp/fixtfti.c: Likewise.
2406 * soft-fp/fixunsdfdi.c: Likewise.
2407 * soft-fp/fixunsdfsi.c: Likewise.
2408 * soft-fp/fixunsdfti.c: Likewise.
2409 * soft-fp/fixunssfdi.c: Likewise.
2410 * soft-fp/fixunssfsi.c: Likewise.
2411 * soft-fp/fixunssfti.c: Likewise.
2412 * soft-fp/fixunstfdi.c: Likewise.
2413 * soft-fp/fixunstfsi.c: Likewise.
2414 * soft-fp/fixunstfti.c: Likewise.
2415 * soft-fp/floatdidf.c: Likewise.
2416 * soft-fp/floatdisf.c: Likewise.
2417 * soft-fp/floatditf.c: Likewise.
2418 * soft-fp/floatsidf.c: Likewise.
2419 * soft-fp/floatsisf.c: Likewise.
2420 * soft-fp/floatsitf.c: Likewise.
2421 * soft-fp/floattidf.c: Likewise.
2422 * soft-fp/floattisf.c: Likewise.
2423 * soft-fp/floattitf.c: Likewise.
2424 * soft-fp/floatundidf.c: Likewise.
2425 * soft-fp/floatundisf.c: Likewise.
2426 * soft-fp/floatunditf.c: Likewise.
2427 * soft-fp/floatunsidf.c: Likewise.
2428 * soft-fp/floatunsisf.c: Likewise.
2429 * soft-fp/floatunsitf.c: Likewise.
2430 * soft-fp/floatuntidf.c: Likewise.
2431 * soft-fp/floatuntisf.c: Likewise.
2432 * soft-fp/floatuntitf.c: Likewise.
2433 * soft-fp/gedf2.c: Likewise.
2434 * soft-fp/gesf2.c: Likewise.
2435 * soft-fp/getf2.c: Likewise.
2436 * soft-fp/ledf2.c: Likewise.
2437 * soft-fp/lesf2.c: Likewise.
2438 * soft-fp/letf2.c: Likewise.
2439 * soft-fp/muldf3.c: Likewise.
2440 * soft-fp/mulsf3.c: Likewise.
2441 * soft-fp/multf3.c: Likewise.
2442 * soft-fp/negdf2.c: Likewise.
2443 * soft-fp/negsf2.c: Likewise.
2444 * soft-fp/negtf2.c: Likewise.
2445 * soft-fp/op-1.h: Likewise.
2446 * soft-fp/op-2.h: Likewise.
2447 * soft-fp/op-4.h: Likewise.
2448 * soft-fp/op-8.h: Likewise.
2449 * soft-fp/op-common.h: Likewise.
2450 * soft-fp/quad.h: Likewise.
2451 * soft-fp/single.h: Likewise.
2452 * soft-fp/soft-fp.h: Likewise.
2453 * soft-fp/subdf3.c: Likewise.
2454 * soft-fp/subsf3.c: Likewise.
2455 * soft-fp/subtf3.c: Likewise.
2456 * soft-fp/truncdfsf2.c: Likewise.
2457 * soft-fp/trunctfdf2.c: Likewise.
2458 * soft-fp/trunctfsf2.c: Likewise.
2459 * soft-fp/trunctfxf2.c: Likewise.
2460 * soft-fp/unorddf2.c: Likewise.
2461 * soft-fp/unordsf2.c: Likewise.
2462 * soft-fp/unordtf2.c: Likewise.
2463
4dfe21ac
RE
24642015-09-24 Richard Earnshaw <rearnsha@arm.com>
2465
2466 PR libgcc/67624
2467 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2468
df2a1cc4
RO
24692015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2470
2471 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2472 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2473 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2474 messages.
2475 (internal_mcount): Likewise.
2476 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2477 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2478
2d110442
RO
24792015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2480
2481 * configure.ac (libgcc_cv_solaris_crts): New test.
2482 * configure: Regenerate.
2483 * config.in: Regenerate.
2484 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2485 * config/gmon-sol2.c: Rename to ...
2486 * config/sol2/gmon.c: ... this.
2487 Include auto-target.h.
2488 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2489 * config/t-sol2: Rename to ...
2490 * config/sol2/t-sol2: ... this.
2491 (gmon.o): Reflect renaming.
2492 (crtp.o, crtpg.o): New rules.
2493 * config.host (*-*-solaris2*): Reflect renaming.
2494 Use system CRTs if present.
2495 Remove default CRT case.
2496
d572e439
JDA
24972015-09-23 John David Anglin <danglin@gcc.gnu.org>
2498
2499 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2500 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2501 __kernel_cmpxchg2.
2502 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2503 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2504 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2505 (__sync_lock_test_and_set_##WIDTH): Likewise.
2506 (__sync_lock_release_##WIDTH): Likewise.
2507 (__sync_fetch_and_##OP##_4): Change result to match type of
2508 __kernel_cmpxchg.
2509 (__sync_##OP##_and_fetch_4): Likewise.
2510 (__sync_val_compare_and_swap_4): Likewise.
2511 (__sync_bool_compare_and_swap_4): likewise.
2512 (__sync_lock_test_and_set_4): Likewise.
2513 (__sync_lock_release_4): Likewise.
2514 (FETCH_AND_OP_2): Add long long variants.
2515 (OP_AND_FETCH_2): Likewise.
2516 (COMPARE_AND_SWAP_2 ): Likewise.
2517 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2518 (SYNC_LOCK_RELEASE_2): Likewise.
2519 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2520
7d296953 25212015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
2522
2523 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2524 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2525 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2526 (get_available_features): Habdle new features.
2527
131314e1
JB
25282015-09-21 James Bowman <james.bowman@ftdichip.com>
2529
2530 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2531 memory layout. Deal correctly with BSS region larger than 32K.
2532 Handle a watchdog reset like a power-on reset. Clean up unused
2533 code.
2534
04218b35
AD
25352015-09-18 Andrew Dixie <andrewd@gentrack.com>
2536 David Edelsohn <dje.gcc@gmail.com>
2537
2538 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2539 * config/rs6000/crtdbase.S: New file.
2540 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2541
c8338173
MF
25422015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2543
2544 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2545 Add support for call0 ABI.
2546
7a84bf71
JDA
25472015-09-13 John David Anglin <danglin@gcc.gnu.org>
2548
2549 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2550
4efab402
SH
25512015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2552
2553 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2554 (__GTHREAD_HAS_COND): Likewise.
2555 (__gthread_t): Likewise.
2556 (__gthread_cond_t): Likewise.
2557 (__gthread_time_t): Likewise.
2558 (__GTHREAD_MUTEX_INIT): Likewise.
2559 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2560 (__GTHREAD_COND_INIT): Likewise.
2561 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2562 (__GTHREAD_TIME_INIT): Likewise.
2563 (__gthread_create): Likewise.
2564 (__gthread_join): Likewise.
2565 (__gthread_detach): Likewise.
2566 (__gthread_equal): Likewise.
2567 (__gthread_self): Likewise.
2568 (__gthread_yield): Likewise.
2569 (__gthread_cond_broadcast): Likewise.
2570 (__gthread_cond_signal): Likewise.
2571 (__gthread_cond_wait): Likewise.
2572 (__gthread_cond_timedwait): Likewise.
2573 (__gthread_cond_wait_recursive): Likewise.
2574 (__gthread_cond_destroy): Likewise.
2575 (rtems_gxx_once): Delete.
2576 (rtems_gxx_key_create): Likewise.
2577 (rtems_gxx_key_delete): Likewise.
2578 (rtems_gxx_getspecific): Likewise.
2579 (rtems_gxx_setspecific): Likewise.
2580 (rtems_gxx_mutex_init): Likewise.
2581 (rtems_gxx_mutex_destroy): Likewise.
2582 (rtems_gxx_mutex_lock): Likewise.
2583 (rtems_gxx_mutex_trylock): Likewise.
2584 (rtems_gxx_mutex_unlock): Likewise.
2585 (rtems_gxx_recursive_mutex_init): Likewise.
2586 (rtems_gxx_recursive_mutex_lock): Likewise.
2587 (rtems_gxx_recursive_mutex_trylock): Likewise.
2588 (rtems_gxx_recursive_mutex_unlock): Likewise.
2589 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2590 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2591 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2592 (__gthread_once): Likewise.
2593 (__gthread_key_create): Likewise.
2594 (__gthread_key_delete): Likewise.
2595 (__gthread_getspecific): Likewise.
2596 (__gthread_setspecific): Likewise.
2597 (__gthread_key_t): Use <pthread.h> type.
2598 (__gthread_once_t): Likewise
2599 (__gthread_mutex_t): Use <sys/lock.h> type.
2600 (__gthread_recursive_mutex_t): Likewise
2601 (__gthread_mutex_lock): Use <sys/lock.h> function.
2602 (__gthread_mutex_trylock): Likewise.
2603 (__gthread_mutex_timedlock): Likewise.
2604 (__gthread_mutex_unlock): Likewise.
2605 (__gthread_mutex_destroy): Likewise.
2606 (__gthread_recursive_mutex_lock): Likewise.
2607 (__gthread_recursive_mutex_trylock): Likewise.
2608 (__gthread_recursive_mutex_timedlock): Likewise.
2609 (__gthread_recursive_mutex_unlock): Likewise.
2610 (__gthread_recursive_mutex_destroy): Likewise.
2611
991995c4
MF
26122015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2613
2614 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2615 context->sp instead of context->cfa.
2616
0e19db59
MF
26172015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2618
2619 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2620 with unwind-dw2-fde-dip.
2621
b6ac5f62
MF
26222015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2623
2624 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2625 CALL12 followed by series of ENTRY to spill windowed registers.
2626 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2627 instead of making linux spill syscall.
2628
3e0f3349
YR
26292015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2630
2631 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2632 (get_intel_cpu): Likewise.
2633
51c728b1
L
26342015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2635
2636 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2637 (get_intel_cpu): Add Knights Landing support.
2638
aff4eeac
UB
26392015-08-11 Uros Bizjak <ubizjak@gmail.com>
2640
2641 PR target/66954
2642 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2643 (get_available_features): Handle FEATURE_PCLMUL.
2644
736e56da
L
26452015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2646
2647 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2648 Broadwell.
2649
54d22142
UB
26502015-07-22 Uros Bizjak <ubizjak@gmail.com>
2651
2652 PR target/66954
2653 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2654 (get_available_features): Handle FEATURE_AES.
2655
20ca17e4
CLT
26562015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2657
2658 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2659 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2660
ebe4a560
NS
26612015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2662
2663 * offloadstuff.c: Constify host data.
2664
180744c0
JB
26652015-07-17 Jan Beulich <jbeulich@suse.com>
2666
2667 * config/t-softfp: Split up "else ifneq".
2668
a03c6ae3
SL
26692015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2670 Cesar Philippidis <cesar@codesourcery.com>
2671 Chung-Lin Tang <cltang@codesourcery.com>
2672
2673 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2674 for __nios2_arch__ level.
2675
73358db5
JM
26762015-07-13 John Marino <gnugcc@marino.st>
2677
2678 * config/i386/t-dragonfly: New.
2679
f9a12f7b
JDA
26802015-07-01 John David Anglin <danglin@gcc.gnu.org>
2681
2682 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2683 better match light-weight syscall argument order.
2684 (__kernel_cmpxchg2): Likewise.
2685 Adjust callers.
2686
cb78b51c
L
26872015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2688
2689 * config.host: Support i[34567]86-*-elfiamcu target.
2690 * config/t-softfp-sfdftf: New file.
2691 * config/i386/32/t-iamcu: Likewise.
2692 * configure: Regenerated.
2693
4fa0f9ea
JL
26942015-06-23 James Lemke <jwlemke@codesourcery.com>
2695
2696 libgcc/config/arm/
2697 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2698
428b3812
L
26992015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2702
7d296953 27032015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
2704
2705 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2706 md_unwind_header
2707 * config/i386/freebsd-unwind.h: New.
2708
9b789cc1
UB
27092015-05-22 Uros Bizjak <ubizjak@gmail.com>
2710
2711 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2712 i386/t-crtfm to tmake_file.
2713 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2714 (set_fast_math): Use set_fast_math_sse for SSE targets.
2715 * config/i386/t-crtfm: Remove.
2716
3dafb220
AM
27172015-05-21 Alan Modra <amodra@gmail.com>
2718
2719 PR libgcc/66225
2720 * config/rs6000/morestack.S: Remove ".abiversion 1".
2721
0f0fd745
AM
27222015-05-20 Alan Modra <amodra@gmail.com>
2723
2724 * config/rs6000/morestack.S: New.
2725 * config/rs6000/t-stack-rs6000: New.
2726 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2727 to tmake_file.
2728 * generic-morestack.c: Don't build for powerpc 32-bit.
2729
515ae71b
EB
27302015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2731
2732 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2733 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2734
36805406
JL
27352015-05-16 James Bowman <james.bowman@ftdichip.com>
2736
2737 * config.host: FT32 target added.
2738 * config/ft32/*: New files for FT32 target.
2739
ff935d0c
MG
27402015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2741
385c7747
UB
2742 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2743 New macros.
2744 * config/arm/ieee754-df.S: Add CFI directives.
2745 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 2746
9b92a9f3
EB
27472015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2748
2749 * configure.ac: Include config/sjlj.m4.
2750 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2751 * config.in: Regenerate.
2752 * configure: Likewise.
2753 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2754
98b5dc61
UB
27552015-05-12 Uros Bizjak <ubizjak@gmail.com>
2756
2757 * libgcov-util.c: Add space between string literal and macro name.
2758
5a0ff57c
SL
27592015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2760 Chris Jones <chrisj@nvidia.com>
2761 Joshua Conner <jconner@nvidia.com>
2762
2763 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2764 (arm*-*-uclinux*): Likewise.
2765 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2766 * config/arm/crtfastmath.c: New file.
2767
d28ad5d4
BS
27682014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2769
2770 * Makefile.in (real_host_noncanonical): New variable.
2771 (libsubdir): Use it.
2772 * configure.ac (real_host_noncanonical): Compute. Remove special
2773 case for intelmicemul.
2774 * configure: Regenerate.
2775
cc86234f
UB
27762015-04-28 Uros Bizjak <ubizjak@gmail.com>
2777
2778 * config/frv/elf-lib.h: New file.
2779 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2780 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2781 to tm_file.
2782
27832015-04-28 Uros Bizjak <ubizjak@gmail.com>
2784
2785 * config/frv/frvbengin.c: Do not include defaults.h
2786 * config/frv/frvend.c: Ditto.
2787
2f6bd6eb
YS
27882015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2789
2790 * config.host: Add h8300-*-linux
2791 * config/h8300/t-linux: New file.
2792 * config/h8300/lib1funs.s: Change symbol prefix.
2793 * config/h8300/sfp-machine.h: 64bit double support.
2794
15aa7b44
GR
27952015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2796 Szabolcs Nagy <szabolcs.nagy@arm.com>
2797
2798 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2799 Linux if target provides dl_iterate_phdr.
2800
abd0cdc9
L
28012015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2802
2803 PR target/65612
2804 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2805 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2806 (__cpu_indicator_init@GCC_4.8.0): New.
2807 (__cpu_model@GCC_4.8.0): Likewise.
2808 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2809 -DUSE_ELF_SYMVER.
2810
72ed1126
NC
28112015-04-16 Nick Clifton <nickc@redhat.com>
2812
2813 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2814 and __modhi3 functions.
2815 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2816 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2817
d26b2237
CG
28182015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2819
2820 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2821 do-while loop as macro body to avoid warnings.
2822
cacf1f59
JJ
28232015-04-10 Jakub Jelinek <jakub@redhat.com>
2824 Iain Sandoe <iain@codesourcery.com>
2825
2826 PR target/65351
2827 * configure: Regenerate.
2828
e8a4ed3b
JJ
28292015-04-07 Jakub Jelinek <jakub@redhat.com>
2830 Iain Sandoe <iain@codesourcery.com>
2831
2832 PR target/65351
2833 * configure: Regenerate.
2834
0341335e
CLT
28352015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2836
2837 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2838
590e2636 28392015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 2840
590e2636
MF
2841 Implement call0 ABI for xtensa
2842 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2843 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2844 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2845 use ret in call0 ABI.
2846 * config/xtensa/t-windowed: New file.
2847 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2848 * libgcc/configure: Regenerated.
2849 * libgcc/configure.ac: Check if xtensa target is configured for
2850 windowed ABI and thus needs to use custom unwind code.
2851
7727f8f2
JW
28522015-02-12 Jonathan Wakely <jwakely@redhat.com>
2853
2854 PR libgcc/64885
2855 * gthr-single.h: Use __unused__ attribute instead of unused.
2856 * config/gthr-vxworks.h: Likewise.
2857 * config/i386/gthr-win32.h: Likewise.
2858
0e4a0def
KT
28592015-02-27 Kai Tietz <ktietz@redhat.com>
2860
2861 PR target/65038
2862 * config.in: Regenerated.
2863 * configure: Likewise.
2864 * configure.ac (AC_HEADER_STDC): Added explicit.
2865 (AC_CHECK_HEADERS): Check for default headers plus
2866 for ftw.h header.
2867 * libgcov-util.c (gcov_read_profile_dir): Disable use
2868 of ftw-function, if header is not found.
2869 (ftw_read_file): Likewise.
2870
b6530d0a
TS
28712015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2872
2873 PR target/65181
2874 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2875 -Dinhibit_libc.
2876
53cfb467
SL
28772015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2878
2879 * config/arm/bpabi.S (test_div_by_zero): Make label names
2880 consistent between thumb2 and arm mode cases. Separate the
2881 signed comparison on the high word of the numerator from the
2882 unsigned comparison on the low word.
2883 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2884 signed comparison.
2885
77d10a1b
JM
28862015-02-17 Joseph Myers <joseph@codesourcery.com>
2887
2888 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2889 and <string.h>.
2890 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2891
98174188
RE
28922015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2893
2894 PR gcov-profile/61889
471274de 2895 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 2896
771bef14
NC
28972015-02-02 Nick Clifton <nickc@redhat.com>
2898
2899 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2900 rounding up the fraction.
2901
40702893
JDA
29022015-01-31 John David Anglin <danglin@gcc.gnu.org>
2903
2904 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2905 oldval and newval to const void *. Fix typo.
2906 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2907 (FETCH_AND_OP_WORD): Likewise.
2908 (OP_AND_FETCH_WORD): Likewise.
2909 (COMPARE_AND_SWAP_2): Likewise.
2910 (__sync_val_compare_and_swap_4): Likewise.
2911 (__sync_lock_test_and_set_4): Likewise.
2912 (SYNC_LOCK_RELEASE_2): Likewise.
2913 Remove support for long long atomic operations.
2914
f7f049fa
CT
29152015-01-27 Caroline Tice <cmtice@google.com>
2916
2917 Committing VTV Cywin/Ming patch for Patrick Wollgast
2918 * Makefile.in: Move rules to build vtv_*.o out of the check
2919 for CUSTOM_CRTSTUFF.
2920 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2921 i[34567]86-*-mingw*)
2922 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2923 enable_vtable_verify.
2924
8410904a
NC
29252015-01-27 Nick Clifton <nickc@redhat.com>
2926
2927 * config/rl78/cmpsi2.S: Use function start and end macros.
2928 (__gcc_bcmp): New function.
2929 * config/rl78/lshrsi3.S: Use function start and end macros.
2930 * config/rl78/mulsi3.S: Add support for G10.
2931 (__mulqi3): New function for G10.
2932 * config/rl78/signbit.S: Use function start and end macros.
2933 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2934 fpmath-sf.S.
2935 (LIB2FUNCS_EXCLUDE): Define.
2936 (LIB2FUNCS_ST): Define.
2937 * config/rl78/trampoline.S: Use function start and end macros.
2938 * config/rl78/vregs.h (START_FUNC): New macro.
2939 (START_ANOTHER_FUNC): New macro.
2940 (END_FUNC): New macro.
2941 (END_ANOTHER_FUNC): New macro.
2942 * config/rl78/bit-count.S: New file. Contains assembler
2943 implementations of the bit counting functions: ___clzhi2,
2944 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2945 __paritysi2, __popcounthi2 and __popcountsi2.
2946 * config/rl78/fpbit-sf.S: New file. Contains assembler
2947 implementationas of the math functions: __negsf2, __cmpsf2,
2948 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2949 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2950 * config/rl78/fpmath-sf.S: New file. Contains assembler
2951 implementations of the math functions: __subsf3, __addsf3,
2952 __mulsf3 and __divsf3
2953
f962fbf1
RO
29542015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2955
2956 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2957 Add i386/elf-lib.h to tm_file.
2958 * config/i386/elf-lib.h: Fix comment.
2959 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2960 && __sun__ && __svr4__]: Remove workaround.
2961
939911c5
ASJ
29622015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2963
2964 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2965 FEATURE_BMI2.
2966 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2967
c8f2dff2
L
29682015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2969
2970 * config/i386/cpuinfo.c (processor_subtypes): Add
2971 INTEL_COREI7_BROADWELL.
2972 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2973 model numbers.
2974
7bbf9734
UB
29752015-01-23 Uros Bizjak <ubizjak@gmail.com>
2976
2977 * config/i386/elf-lib.h: New file.
2978 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2979 Wrap definition in #ifdef __i386__.
2980 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2981 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2982 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2983 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2984 to tm_file.
2985
324820f1
CG
29862015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2987
2988 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2989 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2990
a9ce4e4a
CLT
29912015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2992
2993 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2994 Update rt_sigframe format and address for current Nios II
2995 Linux conventions.
2996
82a19768
AT
29972015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2998
2999 * config.host (arm*-*-freebsd*): Add new configuration for
3000 arm*-*-freebsd*.
3001 * config/arm/freebsd-atomic.c: New file.
3002 * config/arm/t-freebsd: Likewise.
3003 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3004 'PC-relative indirect' OS's.
3005
0969ec7d
EB
30062015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3007
3008 * config.host: Add Visium support.
3009 * config/visium: New directory.
3010
5624e564
JJ
30112015-01-05 Jakub Jelinek <jakub@redhat.com>
3012
3013 Update copyright years.
3014
82f84ecb
MF
30152014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3016
3017 * config.host: Support mipsisa32r6 and mipsisa64r6.
3018 * config/mips/mips16.S: Do not build for R6.
3019
69044fa9
OE
30202014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3021
3022 * config/sh/crt.h: New.
3023 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3024 symbols.
3025 * config/sh/crt1.S: Likewise.
3026
2405e0ea
UB
30272014-12-15 Uros Bizjak <ubizjak@gmail.com>
3028
3029 PR libgcc/63832
3030 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3031 func_ptr *dtor_list temporary variable to avoid "array subscript
3032 is above array bounds" warnings.
3033
7d296953 30342014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3035
3036 * Makefile.in (with_aix_soname): Define.
3037 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3038 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3039 * configure: Recreate.
3040
a66272f6
OH
30412014-12-05 Olivier Hainque <hainque@adacore.com>
3042
3043 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3044 now provided by defaults.h.
3045
6342b2c5
OE
30462014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3047
7d0ee249 3048 PR target/55351
6342b2c5
OE
3049 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3050 whether it's defined.
3051
c17eac85
IT
30522014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3053
3054 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3055 * config/i386/cpuinfo.c (get_available_features): Detect it.
3056
1025cb6c
TW
30572014-11-27 Tony Wang <tony.wang@arm.com>
3058
3059 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3060 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3061 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3062
d19f2e38
SB
30632014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3064
3065 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3066
17f6e9a3
JDA
30672014-11-24 John David Anglin <danglin@gcc.gnu.org>
3068
3069 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3070 instead.
3071
0cd7c672
GM
30722014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3073 John David Anglin <danglin@gcc.gnu.org>
3074
3075 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3076 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3077 (OP_AND_FETCH_2): Likewise.
3078 (COMPARE_AND_SWAP_2): Likewise.
3079 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3080 (SYNC_LOCK_RELEASE_2): Likewise.
3081 (SUBWORD_SYNC_OP): Remove.
3082 (SUBWORD_VAL_CAS): Likewise.
3083 (SUBWORD_BOOL_CAS): Likewise.
3084 (FETCH_AND_OP_WORD): Update.
3085 Consistently use signed types.
cc86234f 3086
85c64bbe
BS
30872014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3088 Thomas Schwinge <thomas@codesourcery.com>
3089 Ilya Verbin <ilya.verbin@intel.com>
3090 Andrey Turetskiy <andrey.turetskiy@intel.com>
3091
3092 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3093 (crtoffloadend$(objext)): Likewise.
3094 * configure: Regenerate.
3095 * configure.ac (accel_dir_suffix): Compute new variable.
3096 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3097 if enable_offload_targets is not empty.
3098 * offloadstuff.c: New file.
3099
52a1ff8b
NC
31002014-11-13 Nick Clifton <nickc@redhat.com>
3101
3102 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3103 Use START_FUNC and END_FUNC macros to enable linker garbage
3104 collection.
3105 * config/rl78/divmodqi.S: Likewise.
3106 * config/rl78/divmodsi.S: Likewise.
3107 * config/rl78/mulsi3.S: Likewise.
3108 * config/rl78/lib2div.c: Remove G10 functions.
3109 * config/rl78/lib2muls.c: Likewise.
3110 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3111 * config/rl78/vregs.h (START_FUNC): New macro.
3112 (END_FUNC): New macro.
3113
050af144
MF
31142014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3115
3116 * config/mips/mips16.S: Set .module when supported. Update O32
3117 FP64 calling convention and use for FPXX when possible. Add FPXX
3118 calling convention fallback case.
3119
738f2522
BS
31202014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3121
3122 * config.host: Handle nvptx-*-*.
3123 * shared-object.mk (as-flags-$o): Define.
3124 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3125 -xassembler-with-cpp.
3126 * static-object.mk: Identical changes.
3127 * config/nvptx/t-nvptx: New file.
3128 * config/nvptx/crt0.s: New file.
3129 * config/nvptx/free.asm: New file.
3130 * config/nvptx/malloc.asm: New file.
3131 * config/nvptx/realloc.c: New file.
3132
e610393c
JM
31332014-10-30 Joseph Myers <joseph@codesourcery.com>
3134
3135 * Makefile.in (libgcc.map.in): New target.
3136 (libgcc.map): Use libgcc.map.in.
3137 * config/t-softfp (softfp_compat): New variable to be set by
3138 users.
3139 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3140 variables.
3141 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3142 directory.
3143 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3144 that use compat symbols and disable all code unless [SHARED].
3145 * config/t-softfp-compat: New file.
3146 * find-symver.awk: New file.
3147 * configure.ac (--with-glibc-version): New configure option.
3148 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3149 * configure: Regenerate.
3150 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3151 soft-float and e500.
3152
bc1b3a88
JM
31532014-10-29 Joseph Myers <joseph@codesourcery.com>
3154
3155 * config/t-hardfp (hardfp_exclusions): Document new variable for
3156 user to define.
3157 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3158 * config/t-softfp (softfp_extras): Document new variable for user
3159 to define.
3160 (softfp_func_list): Add functions from $(softfp_extras).
3161 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3162 * config.host (powerpc*-*-linux*): For e500v1, use
3163 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3164 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3165 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3166
ef2810c1
JDA
31672014-10-26 John David Anglin <danglin@gcc.gnu.org>
3168
3169 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3170 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3171 memory read accesses are ok.
3172
d80c2bea
JM
31732014-10-25 Joseph Myers <joseph@codesourcery.com>
3174
3175 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3176 * configure: Regenerate.
3177 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3178 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3179 of soft-fp for 32-bit classic hard float. Do not use
3180 t-softfp-excl for soft float.
3181
693b297b
JM
31822014-10-22 Joseph Myers <joseph@codesourcery.com>
3183
3184 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3185 configurations.
3186 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3187 Remove variables.
3188
18a3415e
GJL
31892014-10-22 Georg-Johann Lay <avr@gjlay.de>
3190
3191 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3192 introduced with 2014-10-21 trunk r216525.
3193
c1dd9790 31942014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3195 Vidya Praveen <vidya.praveen@atmel.com>
3196 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3197 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3198 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3199
3200 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3201 order.
3202
3203 Updated library functions for AVRTINY arch.
3204 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3205 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3206 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3207 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3208 wsubi/wadi macors.
3209 (__mulsi3_helper): Update stack, preserve callee saved regs and
3210 argument from stack. Restore callee save registers.
3211 (__mulpsi3): Likewise.
3212 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3213 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3214 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3215 AVRTINY.
3216 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3217 (__do_copy_data): Added new definition for AVRTINY.
3218 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3219 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3220 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3221 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3222 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3223 macors.
18a3415e 3224 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3225 AVRTINY.
3226
18a3415e 3227 Fix broken long multiplication on tiny arch.
c1dd9790 3228
5f606431
JM
32292014-10-09 Joseph Myers <joseph@codesourcery.com>
3230
3231 * soft-fp/double.h: Update from glibc.
3232 * soft-fp/eqdf2.c: Likewise.
3233 * soft-fp/eqsf2.c: Likewise.
3234 * soft-fp/eqtf2.c: Likewise.
3235 * soft-fp/extenddftf2.c: Likewise.
3236 * soft-fp/extended.h: Likewise.
3237 * soft-fp/extendsfdf2.c: Likewise.
3238 * soft-fp/extendsftf2.c: Likewise.
3239 * soft-fp/extendxftf2.c: Likewise.
3240 * soft-fp/gedf2.c: Likewise.
3241 * soft-fp/gesf2.c: Likewise.
3242 * soft-fp/getf2.c: Likewise.
3243 * soft-fp/ledf2.c: Likewise.
3244 * soft-fp/lesf2.c: Likewise.
3245 * soft-fp/letf2.c: Likewise.
3246 * soft-fp/op-1.h: Likewise.
3247 * soft-fp/op-2.h: Likewise.
3248 * soft-fp/op-4.h: Likewise.
3249 * soft-fp/op-8.h: Likewise.
3250 * soft-fp/op-common.h: Likewise.
3251 * soft-fp/quad.h: Likewise.
3252 * soft-fp/single.h: Likewise.
3253 * soft-fp/soft-fp.h: Likewise.
3254 * soft-fp/unorddf2.c: Likewise.
3255 * soft-fp/unordsf2.c: Likewise.
3256 * soft-fp/unordtf2.c: Likewise.
3257 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3258 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3259 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3260 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3261 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3262 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3263 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3264 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3265 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3266 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3267
9b84e7a8
RX
32682014-10-08 Rong Xu <xur@google.com>
3269
3270 * libgcov-util.c (read_gcda_file): Fix format.
3271 (find_match_gcov_info): Ditto.
3272 (calculate_2_entries): New.
3273 (compute_one_gcov): Ditto.
3274 (gcov_info_count_all_cold): Ditto.
3275 (gcov_info_count_all_zero): Ditto.
3276 (extract_file_basename): Ditto.
3277 (get_file_basename): Ditto.
3278 (set_flag): Ditto.
3279 (matched_gcov_info): Ditto.
3280 (calculate_overlap): Ditto.
3281 (gcov_profile_overlap): Ditto.
3282 * libgcov-driver.c (compute_summary): Make
3283 it avavilable for external calls.
3284
fe1090c1
RX
32852014-10-06 Rong Xu <xur@google.com>
3286
3287 * Makefile.in: Ditto.
3288 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3289 (gcov_sort_icall_topn_counter): Ditto.
3290 (gcov_sort_topn_counter_arrays): Ditto.
3291 (dump_one_gcov): Sort indirect_call topn counters.
3292 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3293 function.
3294 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3295 utility function.
3296 (__gcov_indirect_call_topn_profiler): New profiler function.
3297 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3298 * libgcov.h: New decls.
3299
3daa7bbf
TS
33002014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3301
3302 * config.host: Remove support for score-*.
3303
9a79452d
JM
33042014-09-22 Joseph Myers <joseph@codesourcery.com>
3305
3306 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3307 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3308 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3309 __LIBGCC_XF_MANT_DIG__.
3310 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3311 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3312 __LIBGCC_TF_MANT_DIG__.
3313 * libgcc2.c (NOTRUNC): Define in terms of
3314 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3315 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3316
1a849e50
JM
33172014-09-22 Joseph Myers <joseph@codesourcery.com>
3318
3319 PR target/63312
3320 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3321 New macros.
3322
598a1586
HPN
33232014-09-22 Hans-Peter Nilsson <hp@axis.com>
3324
3325 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3326 override USE_PT_GNU_EH_FRAME.
3327 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3328 check USE_EH_FRAME_REGISTRY_ALWAYS against
3329 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3330 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3331 variable for substituted force_explicit_eh_registry.
3332 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3333 * configure.ac (explicit-exception-frame-registration):
3334 New AC_ARG_ENABLE.
3335 * configure: Regenerate.
3336
3a8fe7c6
OH
33372014-09-19 Olivier Hainque <hainque@adacore.com>
3338
3339 * config.host (powerpc-wrs-vxworksmils): New configuration,
3340 same as vxworksae.
3341
dd69f047
JM
33422014-09-18 Joseph Myers <joseph@codesourcery.com>
3343
3344 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3345
e770bfd9
JM
33462014-09-18 Joseph Myers <joseph@codesourcery.com>
3347
3348 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3349 bits not set bits as indicating trapping exceptions.
3350
cadb2b96
NS
33512014-09-17 Nathan sidwell <nathan@acm.org>
3352
3353 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3354 (LIBGCOV_DRIVER): ... here.
3355 * libgcov-driver.c (gcov_master): New.
3356 (gcov_exit): Remove from master chain.
3357 (__gcov_init): Add to master chain if version compatible. Don't
3358 clear the version.
3359 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3360 (gcov_reset_int): Clear master chain, if compatible.
3361 (gcov_dump_int): New internal interface. Dump master chain, if
3362 compatible.
3363 (gcov_dump): Alias for gcov_dump_int.
3364 * libgcov.h (struct gcov_root): Add next and prev fields.
3365 (struct gcov_master): New struct.
3366 (__gcov_master): New.
3367 (gcov_dump_int): Declare.
3368
580d22a3
OH
33692014-09-17 Olivier Hainque <hainque@adacore.com>
3370
3371 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3372 and crtbegin.o + crtend.o to extra_parts.
3373
8cc4b7a2
JM
33742014-09-12 Joseph Myers <joseph@codesourcery.com>
3375
3376 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3377 __LIBGCC_HAS_SF_MODE__.
3378 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3379 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3380 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3381 * config/libbid/bid_gcc_intrinsics.h
3382 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3383 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3384 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3385 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3386 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3387 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3388
ea3f2b24
GJL
33892014-09-11 Georg-Johann Lay <avr@gjlay.de>
3390
3391 PR target/63223
3392 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3393 and R24 as needed. Make work for all devices and .text locations.
3394 (__do_global_ctors, __do_global_dtors): Use word addresses.
3395 (__tablejump__, __tablejump_elpm__): Remove functions.
3396 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3397 Add _tablejump2.
3398 (XICALL, XIJMP): New macros.
3399
b677236a
MS
34002014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3401 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3402
3403 * config.host (aarch64*): Include crtfastmath.o and
3404 t-crtfm.
3405 * config/aarch64/crtfastmath.c: New file.
3406
157e859f
TS
34072014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3408
3409 * config.host: Remove picochip support.
3410 * config/picochip/adddi3.S: Remove.
3411 * config/picochip/ashlsi3.S: Remove.
3412 * config/picochip/ashlsi3.c: Remove.
3413 * config/picochip/ashrsi3.S: Remove.
3414 * config/picochip/ashrsi3.c: Remove.
3415 * config/picochip/clzsi2.S: Remove.
3416 * config/picochip/cmpsi2.S: Remove.
3417 * config/picochip/divmod15.S: Remove.
3418 * config/picochip/divmodhi4.S: Remove.
3419 * config/picochip/divmodsi4.S: Remove.
3420 * config/picochip/lib1funcs.S: Remove.
3421 * config/picochip/longjmp.S: Remove.
3422 * config/picochip/lshrsi3.S: Remove.
3423 * config/picochip/lshrsi3.c: Remove.
3424 * config/picochip/parityhi2.S: Remove.
3425 * config/picochip/popcounthi2.S: Remove.
3426 * config/picochip/setjmp.S: Remove.
3427 * config/picochip/subdi3.S: Remove.
3428 * config/picochip/t-picochip: Remove.
3429 * config/picochip/ucmpsi2.S: Remove.
3430 * config/picochip/udivmodhi4.S: Remove.
3431 * config/picochip/udivmodsi4.S: Remove.
3432
66bb34c0
JM
34332014-09-08 Joseph Myers <joseph@codesourcery.com>
3434
3435 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3436 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3437 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3438 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3439 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3440 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3441 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3442 defined and LIBGCC2_HAS_DF_MODE is defined.
3443 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3444 defined and LIBGCC2_HAS_XF_MODE is defined.
3445 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3446 defined and LIBGCC2_HAS_TF_MODE is defined.
3447
9686a2e6
JM
34482014-09-08 Joseph Myers <joseph@codesourcery.com>
3449
3450 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3451 and ROUND_TOWARDS_ZERO conditionals.
3452
71c3e2ef
NS
34532014-09-07 Nathan sidwell <nathan@acm.org>
3454
3455 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3456 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3457
53d68b9f
JM
34582014-09-05 Joseph Myers <joseph@codesourcery.com>
3459
3460 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3461 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3462 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3463 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3464 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3465 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3466 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3467 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3468 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3469 (DWARF_FRAME_REGISTERS): Change all uses to
3470 __LIBGCC_DWARF_FRAME_REGISTERS__.
3471 (EH_RETURN_STACKADJ_RTX): Change all uses to
3472 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3473 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3474 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3475 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3476 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3477 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3478 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3479 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3480 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3481 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3482 __LIBGCC_STACK_POINTER_REGNUM__.
3483 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3484 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3485 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3486 to __LIBGCC_STACK_POINTER_REGNUM__.
3487 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3488 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3489 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3490 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3491 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3492 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3493 (STACK_POINTER_REGNUM): Change all uses to
3494 __LIBGCC_STACK_POINTER_REGNUM__.
3495 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3496 use to __LIBGCC_STACK_POINTER_REGNUM__.
3497 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3498 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3499 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3500 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3501 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3502 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3503 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3504 to __LIBGCC_STACK_POINTER_REGNUM__.
3505 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3506 Remove conditional definition.
3507 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3508 __LIBGCC_TEXT_SECTION_ASM_OP__.
3509 (EH_FRAME_SECTION_NAME): Change all uses to
3510 __LIBGCC_EH_FRAME_SECTION_NAME__.
3511 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3512 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3513 (CTORS_SECTION_ASM_OP): Change all uses to
3514 __LIBGCC_CTORS_SECTION_ASM_OP__.
3515 (DTORS_SECTION_ASM_OP): Change all uses to
3516 __LIBGCC_DTORS_SECTION_ASM_OP__.
3517 (JCR_SECTION_NAME): Change all uses to
3518 __LIBGCC_JCR_SECTION_NAME__.
3519 (INIT_SECTION_ASM_OP): Change all uses to
3520 __LIBGCC_INIT_SECTION_ASM_OP__.
3521 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3522 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3523 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3524 __LIBGCC_STACK_GROWS_DOWNWARD__.
3525 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3526 __LIBGCC_INIT_SECTION_ASM_OP__.
3527 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3528 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3529 (EH_FRAME_SECTION_NAME): Change all uses to
3530 __LIBGCC_EH_FRAME_SECTION_NAME__.
3531 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3532 definitions. Change all uses to
3533 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3534 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3535 __LIBGCC_STACK_GROWS_DOWNWARD__.
3536 (DWARF_FRAME_REGISTERS): Change all uses to
3537 __LIBGCC_DWARF_FRAME_REGISTERS__.
3538 (EH_RETURN_STACKADJ_RTX): Change all uses to
3539 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3540 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3541 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3542 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3543 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3544 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3545
b20ee094
NS
35462014-09-02 Nathan sidwell <nathan@acm.org>
3547
3548 * libgcov-interface.c (STRONG_ALIAS): New.
3549 (__gcov_flush): Call __gcov_reset_int.
3550 (__gcov_reset): Strong alias for ...
3551 (__gcov_reset_ing): ... this renamed hidden version.
3552 * libgcov.h (__gcov_reset_int): New declaration.
3553
1ac83976
YS
35542014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3555
25efdb9f
YS
3556 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3557 call from here...
3558 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3559 (__dso_handle): Define on Cygwin.
3560 * config/i386/t-cygming (crtbeginS.o): New rule.
3561 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3562
1ac83976
YS
3563 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3564 declaration syntax.
3565
c6f9ea3b
SE
35662014-08-13 Steve Ellcey <sellcey@mips.com>
3567
3568 * crtstuff.c: Undef caddr_t.
3569
5b1ea7c5
SE
35702014-08-12 Steve Ellcey <sellcey@mips.com>
3571
3572 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3573
4303c581
NS
35742014-08-07 Nathan Sidwell <nathan@acm.org>
3575
3576 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3577 (LIBGCOV_DRIVER): ... to here.
3578 * libgcov.h (gcov_do_dump): New #define.
3579 (struct gcov_root): New.
3580 (__gcov_root): New declaration.
3581 (__gcov_dump_one): Declare.
3582 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3583 run_accounted): Delete.
3584 (gcov_compute_histogram): Add LIST argument, adjust.
3585 (compute_summary): Adjust gcov_compute_histogram call.
3586 (gcov_do_dump): Not hidden, static in libgcov.
3587 (gcov_clear): Move to interface.c.
3588 (__gcov_dump_one): New, broken out of ...
3589 (gcov_exit): ... here. Make static.
3590 (__gcov_root): New.
3591 (__gcov_init): Adjust.
3592 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3593 declarations.
3594 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3595 (gcov_clear): Moved from driver.c. Add LIST argument.
3596 (__gcov_reset): Adjust for changed interfaces.
3597 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3598
23742a9e
RAR
35992014-08-04 Rohit <rohitarulraj@freescale.com>
3600
3601 PR target/60102
3602 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3603 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3604
b98a872b
NS
36052014-08-01 Nathan Sidwell <nathan@acm.org>
3606
3607 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3608 LIBGCOV_INTERFACE): Reformat.
3609 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3610 IN_GCOV_TOOL.
3611 * libgcov-interface.c: Reformat some comments.
3612 (__gcov_flush_mx): Add declaration. Tidy up definition.
3613
6adaaa1d
AM
36142014-07-31 Alan Modra <amodra@gmail.com>
3615 Peter Bergner <bergner@vnet.ibm.com>
3616
3617 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3618 (pack_ldouble): New function.
3619 (__gcc_qadd): Use it.
3620 (__gcc_qmul): Likewise.
3621 (__gcc_qdiv): Likewise.
3622 (__gcc_qneg): Likewise.
3623 (__gcc_stoq): Likewise.
3624 (__gcc_dtoq): Likewise.
3625
87cb0c0c
UW
36262014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3627
3628 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3629 (__tpf_eh_return): Add original return address as second parameter.
3630 Handle cases where unwinder routines were called directly, instead
3631 of from within the C++ library.
3632
19926161
NS
36332014-07-29 Nathan Sidwell <nathan@acm.org>
3634
3635 * libgcov.h: Move renaming of entry points to lib gcov specific
3636 portion.
3637 (gcov_do_dump): New rename.
3638 (gcov_rewrite): Remove inline, make HIDDEN.
3639 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3640 (gcov_exit_compute_summary): Rename to ...
3641 (compute_summary): ... here. Add LIST argument.
3642 (gcov_exit_merge_gcda): Rename to ...
3643 (merge_one_data): ... here.
3644 (gcov_exit_write_gcda): Rename to ...
3645 (write_one_data): ... here.
3646 (gcov_exit_merge_summary): Rename to ...
3647 (merge_summary): Add RUN_COUNTED argument.
3648 (gcov_exit_dump_gcov): Rename to ...
3649 (dump_one_gcov): Add RUN_COUNTED argument.
3650 (gcov_do_dump): New function, broken out of ...
3651 (gcov_exit): ... here. Call it.
3652
17522262
AG
36532014-07-27 Anthony Green <green@moxielogic.com>
3654
3655 * config.host: Add moxiebox configuration suppport.
3656
6dc33097
NS
36572014-07-27 Nathan Sidwell <nathan@acm.org>
3658
3659 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3660 (struct gcov_filename): ... here. Include buffer and max length
3661 fields.
3662 (gcov_max_filename): Remove.
3663 (gi_filename): Remove.
3664 (gcov_exit_compute_summary): Compute max filename here.
3665 (gcov_exit_merge_gcda): Add filename parm, adjust.
3666 (gcov_exit_merge_summary): Likewise.
3667 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3668 (gcov_exit): Likewise.
3669 (__gcov_init): Don't calculate max length here.
3670 * libgcov_util.c (max_filename_len): Remove.
3671 (read_gcda_file): Don't calculate max length here.
3672 (gcov_read_profile_dir): Don't propagate here.
3673 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3674 struct gcov_filename changes.
3675 (gcov_exit_open_gcda_file): Likewise.
3676
770f687d
NS
36772014-07-25 Nathan Sidwell <nathan@acm.org>
3678
3679 * libgcov-driver.c (set_gcov_dump_complete,
3680 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3681 functions polluting user's namespace.
3682 (gcov_exit): Set variable directly.
3683 (gcov_clear): Reset variable directly.
3684 * libgcov-interface.c (get_gcov_dymp_complete,
3685 reset_gov_dump_complete): Remove declarations.
3686 (__gcov_reset, __gcov_dump): Don't call them.
3687
fabf71ba
DD
36882014-07-24 DJ Delorie <dj@redhat.com>
3689
3690 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
3691 (__gcc_deregister_frame): Move logic to detect deregister function
3692 to ...
3693 (__gcc_register_frame): here, so it's consistent with the register
3694 logic.
fabf71ba 3695
d10ee722
NS
36962014-07-23 Nathan Sidwell <nathan@acm.org>
3697
3698 * libgcov-driver.c (set_gcov_list): Remove.
3699 (gcov_list): Make non-static in GCOV_TOOL.
3700 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3701
a4137090
JDA
37022014-07-17 John David Anglin <danglin@gcc.gnu.org>
3703
3704 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3705 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3706 Don't use SYNC_LOCK_RELEASE for int type.
3707
72602c6c
RB
37082014-07-14 Richard Biener <rguenther@suse.de>
3709
3710 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3711
d5313205
RX
37122014-07-11 Rong Xu <xur@google.com>
3713
3714 * libgcov-util.c (gcov_max_filename): Fix declartion.
3715
c77556a5
RX
37162014-07-10 Rong Xu <xur@google.com>
3717
3718 Add gcov-tool: an offline gcda profile processing tool
3719 Support.
3720 * libgcov-driver.c (gcov_max_filename): Make available
3721 to gcov-tool.
3722 * libgcov-merge.c (__gcov_merge_add): Replace
3723 gcov_read_counter() with a Macro.
3724 (__gcov_merge_ior): Ditto.
3725 (__gcov_merge_time_profile): Ditto.
3726 (__gcov_merge_single): Ditto.
3727 (__gcov_merge_delta): Ditto.
3728 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3729 in the utility functions.
3730 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3731 gcov_list object link lists.
3732 (tag_function): Ditto.
3733 (tag_blocks): Ditto.
3734 (tag_arcs): Ditto.
3735 (tag_lines): Ditto.
3736 (tag_counters): Ditto.
3737 (tag_summary): Ditto.
3738 (read_gcda_finalize): Ditto.
3739 (read_gcda_file): Ditto.
3740 (ftw_read_file): Ditto.
3741 (read_profile_dir_init): Ditto.
3742 (gcov_read_profile_dir): Ditto.
3743 (gcov_read_counter_mem): Ditto.
3744 (gcov_get_merge_weight): Ditto.
3745 (merge_wrapper): A wrapper function that calls merging handler.
3746 (gcov_merge): Merge two gcov_info objects with weights.
3747 (find_match_gcov_info): Find the matched gcov_info in the list.
3748 (gcov_profile_merge): Merge two gcov_info object lists.
3749 (__gcov_add_counter_op): Process edge profile counter values.
3750 (__gcov_ior_counter_op): Process IOR profile counter values.
3751 (__gcov_delta_counter_op): Process delta profile counter values.
3752 (__gcov_single_counter_op): Process single profile counter values.
3753 (fp_scale): Callback function for float-point scaling.
cc86234f 3754 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
3755 (gcov_profile_scale): Scaling profile counters.
3756 (gcov_profile_normalize): Normalize profile counters.
3757 * libgcov.h: Add headers and functions for gcov-tool use.
3758 (gcov_get_counter): New.
3759 (gcov_get_counter_target): Ditto.
3760 (struct gcov_info): Make the functions field mutable in gcov-tool
3761 compilation.
3762
5c7dac8a
KT
37632014-06-23 Kai Tietz <ktietz@redhat.com>
3764
3765 PR libgcc/61585
3766 * unwind-seh.c (_Unwind_GetGR): Check for proper
3767 index range.
3768 (_Unwind_SetGR): Likewise.
3769
161c9312
NC
37702014-05-22 Nick Clifton <nickc@redhat.com>
3771
3772 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3773 -mhwmult=none.
3774
e3f0315f
TJ
37752014-05-22 Teresa Johnson <tejohnson@google.com>
3776
3777 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3778 include.
3779
dbed5a9b
JM
37802014-05-20 John Marino <gnugcc@marino.st>
3781
3782 * config.host (*-*-dragonfly*): New target.
3783 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3784 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3785 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3786 * config/i386/dragonfly-unwind.h: New.
3787
1ec380e5
MR
37882014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3789
3790 PR libgcc/60166
3791 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3792 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3793
54fde020
BE
37942014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3795
3796 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3797 implementation.
3798
999db125
GJL
37992014-05-12 Georg-Johann Lay <avr@gjlay.de>
3800
3801 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3802
cceaf54a
RO
38032014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3804
3805 PR libgcc/61097
3806 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3807 if --enable-shared.
3808
e3fe9b5b
BE
38092014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3810
3811 Work around for current cygwin32 build problems.
3812 * config/i386/cygming-crtbegin.c (__register_frame_info,
3813 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3814 functions only for 64-bit systems.
3815
54cf37e9
RO
38162014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3817
3818 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3819 (sigill_caught, sigill_hdlr): Remove.
3820
d9f069ab
RO
38212014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3822
3823 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3824 check.
3825 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3826 Solaris 9 single-threaded support.
3827 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3828 Solaris 9 single-threaded support. Add call_user_handler code
3829 sequences.
3830 (sparc_is_sighandler): Likewise.
3831
59976ef8
AK
38322014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3833
3834 * config.host: Append t-floattodi to tmake_file depending on
3835 host_address.
3836
d02bbcf3
JS
38372014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3838
31466bc0 3839 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 3840
c2e7e597
UB
38412014-03-10 Uros Bizjak <ubizjak@gmail.com>
3842
3843 PR libgcc/60472
3844 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 3845 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
3846 Use __builtin_expect when checking *jcr_list for NULL.
3847
227a7dc8
RO
38482014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3849
3850 PR libgcc/59339
3851 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3852 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3853 vtv_*.o to extra_parts if enable_vtable_verify.
3854
df2b279c
NC
38552014-03-06 Nick Clifton <nickc@redhat.com>
3856
3857 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3858 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3859
dc11d79b
JY
38602014-02-28 Joey Ye <joey.ye@arm.com>
3861
3862 PR libgcc/60166
3863 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3864 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3865 Set to zero.
3866
341c653c
WL
38672014-02-24 Walter Lee <walt@tilera.com>
3868
3869 * config.host: Support "tilegx*" and "tilepro*" triplets.
3870 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3871 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3872
95ce7613
CLT
38732014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3874 Chung-Lin Tang <cltang@codesourcery.com>
3875
3876 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3877 * config/nios2/crti.S: Remove .file directive.
3878 * config/nios2/crtn.S: Likewise.
3879
0bb4fc05
KT
38802014-02-18 Kai Tietz <ktietz@redhat.com>
3881 Jonathan Schleifer <js@webkeks.org>
3882
3883 PR objc/56870
3884 * unwind-seh.c (_GCC_specific_handler): Pass proper
3885 value to unwind-handler.
3886
9acf28f1
JM
38872014-02-12 Joseph Myers <joseph@codesourcery.com>
3888
3889 * soft-fp/adddf3.c: Update from glibc.
3890 * soft-fp/addsf3.c: Likewise.
3891 * soft-fp/addtf3.c: Likewise.
3892 * soft-fp/divdf3.c: Likewise.
3893 * soft-fp/divsf3.c: Likewise.
3894 * soft-fp/divtf3.c: Likewise.
3895 * soft-fp/double.h: Likewise.
3896 * soft-fp/eqdf2.c: Likewise.
3897 * soft-fp/eqsf2.c: Likewise.
3898 * soft-fp/eqtf2.c: Likewise.
3899 * soft-fp/extenddftf2.c: Likewise.
3900 * soft-fp/extended.h: Likewise.
3901 * soft-fp/extendsfdf2.c: Likewise.
3902 * soft-fp/extendsftf2.c: Likewise.
3903 * soft-fp/extendxftf2.c: Likewise.
3904 * soft-fp/fixdfdi.c: Likewise.
3905 * soft-fp/fixdfsi.c: Likewise.
3906 * soft-fp/fixdfti.c: Likewise.
3907 * soft-fp/fixsfdi.c: Likewise.
3908 * soft-fp/fixsfsi.c: Likewise.
3909 * soft-fp/fixsfti.c: Likewise.
3910 * soft-fp/fixtfdi.c: Likewise.
3911 * soft-fp/fixtfsi.c: Likewise.
3912 * soft-fp/fixtfti.c: Likewise.
3913 * soft-fp/fixunsdfdi.c: Likewise.
3914 * soft-fp/fixunsdfsi.c: Likewise.
3915 * soft-fp/fixunsdfti.c: Likewise.
3916 * soft-fp/fixunssfdi.c: Likewise.
3917 * soft-fp/fixunssfsi.c: Likewise.
3918 * soft-fp/fixunssfti.c: Likewise.
3919 * soft-fp/fixunstfdi.c: Likewise.
3920 * soft-fp/fixunstfsi.c: Likewise.
3921 * soft-fp/fixunstfti.c: Likewise.
3922 * soft-fp/floatdidf.c: Likewise.
3923 * soft-fp/floatdisf.c: Likewise.
3924 * soft-fp/floatditf.c: Likewise.
3925 * soft-fp/floatsidf.c: Likewise.
3926 * soft-fp/floatsisf.c: Likewise.
3927 * soft-fp/floatsitf.c: Likewise.
3928 * soft-fp/floattidf.c: Likewise.
3929 * soft-fp/floattisf.c: Likewise.
3930 * soft-fp/floattitf.c: Likewise.
3931 * soft-fp/floatundidf.c: Likewise.
3932 * soft-fp/floatundisf.c: Likewise.
3933 * soft-fp/floatunditf.c: Likewise.
3934 * soft-fp/floatunsidf.c: Likewise.
3935 * soft-fp/floatunsisf.c: Likewise.
3936 * soft-fp/floatunsitf.c: Likewise.
3937 * soft-fp/floatuntidf.c: Likewise.
3938 * soft-fp/floatuntisf.c: Likewise.
3939 * soft-fp/floatuntitf.c: Likewise.
3940 * soft-fp/gedf2.c: Likewise.
3941 * soft-fp/gesf2.c: Likewise.
3942 * soft-fp/getf2.c: Likewise.
3943 * soft-fp/ledf2.c: Likewise.
3944 * soft-fp/lesf2.c: Likewise.
3945 * soft-fp/letf2.c: Likewise.
3946 * soft-fp/muldf3.c: Likewise.
3947 * soft-fp/mulsf3.c: Likewise.
3948 * soft-fp/multf3.c: Likewise.
3949 * soft-fp/negdf2.c: Likewise.
3950 * soft-fp/negsf2.c: Likewise.
3951 * soft-fp/negtf2.c: Likewise.
3952 * soft-fp/op-1.h: Likewise.
3953 * soft-fp/op-2.h: Likewise.
3954 * soft-fp/op-4.h: Likewise.
3955 * soft-fp/op-8.h: Likewise.
3956 * soft-fp/op-common.h: Likewise.
3957 * soft-fp/quad.h: Likewise.
3958 * soft-fp/single.h: Likewise.
3959 * soft-fp/soft-fp.h: Likewise.
3960 * soft-fp/subdf3.c: Likewise.
3961 * soft-fp/subsf3.c: Likewise.
3962 * soft-fp/subtf3.c: Likewise.
3963 * soft-fp/truncdfsf2.c: Likewise.
3964 * soft-fp/trunctfdf2.c: Likewise.
3965 * soft-fp/trunctfsf2.c: Likewise.
3966 * soft-fp/trunctfxf2.c: Likewise.
3967 * soft-fp/unorddf2.c: Likewise.
3968 * soft-fp/unordsf2.c: Likewise.
3969 * soft-fp/unordtf2.c: Likewise.
3970 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3971 macro.
3972 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3973 Likewise.
3974 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3975 Likewise.
3976 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3977 Likewise.
3978 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3979 Likewise.
3980 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3981 Likewise.
3982 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3983 Likewise.
3984 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3985 Likewise.
3986 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3987 Likewise.
3988 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3989 Likewise.
3990 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3991 Likewise.
3992 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3993 Likewise.
3994 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3995 Likewise.
3996 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3997 Likewise.
3998 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3999 Likewise.
4000 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4001 Likewise.
4002
ce245ec6
AK
40032014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4004
4005 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4006 cannot be represented.
4007 * config/s390/32/_fixsfdi.c: Likewise.
4008 * config/s390/32/_fixtfdi.c: Likewise.
4009 * config/s390/32/_fixunsdfdi.c: Likewise.
4010 * config/s390/32/_fixunssfdi.c: Likewise.
4011 * config/s390/32/_fixunstfdi.c: Likewise.
4012
1c51d688
RS
40132014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4014
4015 * configure.ac (libgcc_cv_mips_hard_float): New.
4016 * configure: Regenerate.
4017 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4018 t-softfp-sfdf for hard-float targets.
4019 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4020 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4021 (softfp_truncations, softfp_exclude_libgcc2): New.
4022 * config/t-hardfp: New file.
4023 * config/t-hardfp-sfdf: Likewise.
4024 * config/hardfp.c: Likewise.
4025
bbf391db
AK
40262014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4027
4028 * config.host: Include t-floattodi also for s390x.
4029 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4030 * config/s390/32/_fixsfdi.c: Likewise.
4031 * config/s390/32/_fixtfdi.c: Likewise.
4032 * config/s390/32/_fixunsdfdi.c: Likewise.
4033 * config/s390/32/_fixunssfdi.c: Likewise.
4034 * config/s390/32/_fixunstfdi.c: Likewise.
4035
91da0481
RO
40362014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4037
4038 PR target/59788
4039 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4040 (install-libgcc-unwind-map-forbuild): New target.
4041 (all): Depend on install-libgcc-unwind-map-forbuild.
4042 (install-libgcc-unwind-map): New target.
4043 (install): Depend on install-libgcc-unwind-map.
4044
02b67731
SL
40452014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4046
4047 * config/nios2/crti.S (_init): Initialize GOT pointer from
4048 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4049
1ea0a651
RS
40502014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4051
4052 * configure.ac: Check __mips64 when setting host_address.
4053 * configure: Regenerate.
4054 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4055 mips/t-mips64 and t-softfp.
4056 (mips*-*-linux*): Don't add mips/t-tpbit.
4057 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4058 (DPBIT, DPBIT_CFLAGS): Delete.
4059 * config/mips/sfp-machine.h: New file.
4060 * config/mips/t-mips64: Likewise.
4061 * config/mips/t-softfp-tf: Likewise.
4062 * config/mips/t-tpbit: Delete.
4063
f32b0061
MS
40642014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4065
4066 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4067 as long long.
4068
a5420aa4
WL
40692014-01-25 Walter Lee <walt@tilera.com>
4070
4071 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4072 config.h or system.h.
4073 (bool) Define.
4074
24534912
WL
40752014-01-25 Walter Lee <walt@tilera.com>
4076
4077 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4078 (post_atomic_barrier): Ditto.
4079 (__fetch_and_do): New macro.
4080 (__atomic_fetch_and_do): Use __fetch_and_do.
4081 (__sync_fetch_and_do): New macro.
4082 (__sync_fetch_and_add_4): New function.
4083 (__sync_fetch_and_sub_4): New function.
4084 (__sync_fetch_and_or_4): New function.
4085 (__sync_fetch_and_and_4): New function.
4086 (__sync_fetch_and_xor_4): New function.
4087 (__sync_fetch_and_nand_4): New function.
4088 (__sync_fetch_and_add_8): New function.
4089 (__sync_fetch_and_sub_8): New function.
4090 (__sync_fetch_and_or_8): New function.
4091 (__sync_fetch_and_and_8): New function.
4092 (__sync_fetch_and_xor_8): New function.
4093 (__sync_fetch_and_nand_8): New function.
4094 (__do_and_fetch): New macro.
4095 (__atomic_do_and_fetch): Use __do_and_fetch.
4096 (__sync_do_and_fetch): New macro.
4097 (__sync_add_and_fetch_4): New function.
4098 (__sync_sub_and_fetch_4): New function.
4099 (__sync_or_and_fetch_4): New function.
4100 (__sync_and_and_fetch_4): New function.
4101 (__sync_xor_and_fetch_4): New function.
4102 (__sync_nand_and_fetch_4): New function.
4103 (__sync_add_and_fetch_8): New function.
4104 (__sync_sub_and_fetch_8): New function.
4105 (__sync_or_and_fetch_8): New function.
4106 (__sync_and_and_fetch_8): New function.
4107 (__sync_xor_and_fetch_8): New function.
4108 (__sync_nand_and_fetch_8): New function.
4109 (__sync_exchange_methods): New macro.
4110 (__sync_val_compare_and_swap_4): New function.
4111 (__sync_bool_compare_and_swap_4): New function.
4112 (__sync_lock_test_and_test_4): New function.
4113 (__sync_val_compare_and_swap_8): New function.
4114 (__sync_bool_compare_and_swap_8): New function.
4115 (__sync_lock_test_and_test_8): New function.
4116 (__subword_cmpxchg_body): New macro.
4117 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4118 (__atomic_compare_exchange_2): Ditto.
4119 (__sync_subword_cmpxchg): New macro.
4120 (__sync_val_compare_and_swap_1): New function.
4121 (__sync_bool_compare_and_swap_1): New function.
4122 (__sync_val_compare_and_swap_2): New function.
4123 (__sync_bool_compare_and_swap_2): New function.
4124 (__atomic_subword): Rename to ...
4125 (__subword): ... New name.
4126 (__atomic_subword_fetch): Use __subword.
4127 (__sync_subword_fetch): New macro.
4128 (__sync_fetch_and_add_1): New function.
4129 (__sync_fetch_and_sub_1): New function.
4130 (__sync_fetch_and_or_1): New function.
4131 (__sync_fetch_and_and_1): New function.
4132 (__sync_fetch_and_xor_1): New function.
4133 (__sync_fetch_and_nand_1): New function.
4134 (__sync_fetch_and_add_2): New function.
4135 (__sync_fetch_and_sub_2): New function.
4136 (__sync_fetch_and_or_2): New function.
4137 (__sync_fetch_and_and_2): New function.
4138 (__sync_fetch_and_xor_2): New function.
4139 (__sync_fetch_and_nand_2): New function.
4140 (__sync_add_and_fetch_1): New function.
4141 (__sync_sub_and_fetch_1): New function.
4142 (__sync_or_and_fetch_1): New function.
4143 (__sync_and_and_fetch_1): New function.
4144 (__sync_xor_and_fetch_1): New function.
4145 (__sync_nand_and_fetch_1): New function.
4146 (__sync_add_and_fetch_2): New function.
4147 (__sync_sub_and_fetch_2): New function.
4148 (__sync_or_and_fetch_2): New function.
4149 (__sync_and_and_fetch_2): New function.
4150 (__sync_xor_and_fetch_2): New function.
4151 (__sync_nand_and_fetch_2): New function.
4152 (__atomic_subword_lock): Use __subword.
4153 (__sync_subword_lock): New macro.
4154 (__sync_lock_test_and_set_1): New function.
4155 (__sync_lock_test_and_set_2): New function.
4156
4d6d3bc5
WL
41572014-01-25 Walter Lee <walt@tilera.com>
4158
4159 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4160 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4161 (__atomic_subword): Ditto.
4162
cbd9890e
WL
41632014-01-25 Walter Lee <walt@tilera.com>
4164
4165 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4166 a prefix op argument.
4167 (__atomic_nand_fetch_4): Add prefix op.
4168 (__atomic_nand_fetch_8): Ditto.
4169
7d296953 41702014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4171
4172 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4173
46dd1242
L
41742014-01-09 Rong Xu <xur@google.com>
4175
4176 * libgcov-driver.c (this_prg): make it local to save
4177 bss space.
4178 (gcov_exit_compute_summary): Ditto.
4179 (gcov_exit_merge_gcda): Ditto.
4180 (gcov_exit_merge_summary): Ditto.
4181 (gcov_exit_dump_gcov): Ditto.
4182
cc86234f 41832014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4184
4185 * libgcov-driver.c: Use libgcov.h.
4186 (buffer_fn_data): Use xmalloc instead of malloc.
4187 (gcov_exit_merge_gcda): Ditto.
4188 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4189 * libgcov.h: New common header files for libgcov-*.h.
4190 * libgcov-interface.c: Use libgcov.h
4191 * libgcov-merge.c: Ditto.
4192 * libgcov-profiler.c: Ditto.
4193 * Makefile.in: Add dependence to libgcov.h
4194
a02e7bdd
JM
41952014-01-02 Joseph Myers <joseph@codesourcery.com>
4196
4197 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4198 case of small numerator and finite nonzero result.
4199
ac1dca3c
RS
42002014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4201
4202 Update copyright years
4203
f9030485
RS
42042014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4205
4206 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4207 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4208 config/arc/dp-hack.h, config/arc/fp-hack.h,
4209 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4210 config/arc/ieee-754/arc600-dsp/divdf3.S,
4211 config/arc/ieee-754/arc600-dsp/divsf3.S,
4212 config/arc/ieee-754/arc600-dsp/muldf3.S,
4213 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4214 config/arc/ieee-754/arc600-mul64/divdf3.S,
4215 config/arc/ieee-754/arc600-mul64/divsf3.S,
4216 config/arc/ieee-754/arc600-mul64/muldf3.S,
4217 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4218 config/arc/ieee-754/arc600/divsf3.S,
4219 config/arc/ieee-754/arc600/mulsf3.S,
4220 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4221 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4222 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4223 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4224 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4225 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4226 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4227 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4228 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4229 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4230 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4231 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4232 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4233 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4234 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4235 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4236 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4237 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4238 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4239 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4240 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4241 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4242 vtv_start_preinit.c: Use the standard form for the copyright notice.
4243
e430824f
CLT
42442013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4245 Chung-Lin Tang <cltang@codesourcery.com>
4246 Based on patches from Altera Corporation
4247
4248 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4249 * config/nios2/lib2-nios2.h: New file.
4250 * config/nios2/lib2-divmod-hi.c: New file.
4251 * config/nios2/linux-unwind.h: New file.
4252 * config/nios2/lib2-divmod.c: New file.
4253 * config/nios2/linux-atomic.c: New file.
4254 * config/nios2/t-nios2: New file.
4255 * config/nios2/crti.asm: New file.
4256 * config/nios2/t-linux: New file.
4257 * config/nios2/lib2-divtable.c: New file.
4258 * config/nios2/lib2-mul.c: New file.
4259 * config/nios2/tramp.c: New file.
4260 * config/nios2/crtn.asm: New file.
4261
1879e97f
UB
42622013-12-26 Uros Bizjak <ubizjak@gmail.com>
4263
4264 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4265 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4266 from cpuid.h to check vendor signatures.
4267
f4a4bdbb
GG
42682013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4269
c2e7e597 4270 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4271 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4272 (get_amd_cpu): Likewise.
4273
8d2ae544
L
42742013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4275
4276 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4277 Haswell.
4278
74924838
ASJ
42792013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4280 H.J. Lu <hongjiu.lu@intel.com>
4281
0bb52f25
L
4282 PR target/59422
4283 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4284 and AMD_JAGUAR.
4285 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4286 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4287 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4288 FEATURE_XOP and FEATURE_FMA.
4289 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4290 AMDFAM15H_BDVER3.
4291 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4292 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4293 FEATURE_FMA4 and FEATURE_XOP.
4294
d3c11974
L
42952013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4296
4297 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4298 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4299 (get_intel_cpu): Updated.
4300
064c4ff2
ZC
43012013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4302
4303 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4304
8b02e720
UB
43052013-12-09 Uros Bizjak <ubizjak@gmail.com>
4306
4307 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4308 instructions when __SSE_MATH__ is defined.
8b02e720 4309
3fa2ccb4
RC
43102013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4311
4312 * config.host (microblaze-*-rtems*): New.
4313
ecd78fc9
KV
43142013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4315
4316 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4317 architectures that do not have hardware divide instruction.
4318 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4319
b21fbbd2
RS
43202013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4321
4322 * longlong.h: Delete (moved to include/).
4323
b03fb8c9
AZ
43242013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4325
4326 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4327 of normal number and qNaN to not raise an inexact exception.
4328
3c716922
UB
43292013-11-28 Uros Bizjak <ubizjak@gmail.com>
4330
4331 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4332
43332013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4334
4335 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4336 for correct opcodes on BE.
4337
a3458d22
UB
43382013-11-27 Uros Bizjak <ubizjak@gmail.com>
4339
4340 * soft-fp/op-4.h: Update from glibc.
4341
30b8f78b
KV
43422013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4343
4344 * libgcc2.c (__udivmoddi4): Define new implementation when
4345 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4346 divide instructions.
4347
82552a29
OE
43482013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4349
4350 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4351
80e87457
RO
43522013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4353
4354 * config/t-softfp (soft-fp-objects-base): New variable.
4355 (soft-fp-objects): Use it.
4356
44178879
DE
43572013-11-23 David Edelson <dje.gcc@gmail.com>
4358 Andrew Dixie <andrewd@gentrack.com>
4359
4360 PR target/33704
4361 * config/rs6000/aixinitfini.c: New file.
4362 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4363 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4364 symbols.
4365
e5287671
YR
43662013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4367
a3458d22 4368 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4369
867c8b03
JH
43702013-11-18 Jan Hubicka <jh@suse.cz>
4371
7f369373
JH
4372 * libgcov-driver.c (run_accounted): Make global level static.
4373 (gcov_exit_merge_summary): Silence warning; do not clear
4374 run_accounted here.
4375 (gcov_exit): Clear it here.
4376
1d0b3334
JH
4377 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4378 run_accounted.
4379
867c8b03
JH
4380 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4381 (all_prg, crc32): Remove static vars.
4382 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4383 all_prg.
4384 (gcov_exit_merge_gcda): Add crc32 parameter.
4385 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4386 do not account run if it was already accounted.
4387 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4388 (gcov_exit): Initialize all_prg; update.
4389
66204992
AS
43902013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4391
4392 * configure: Regenerate.
4393
b54214fe
UW
43942013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4395 Alan Modra <amodra@gmail.com>
4396
4397 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4398 (frob_update_context): Use it.
4399
44002013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4401 Alan Modra <amodra@gmail.com>
4402
4403 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4404 (trampoline_initial): Provide ELFv2 variant.
4405 (__trampoline_setup): Likewise.
4406
4407 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4408 check for AIX indirect function call sequence if _CALL_ELF == 2.
4409
44102013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4411 Alan Modra <amodra@gmail.com>
4412
4413 * config/rs6000/linux-unwind.h (get_regs): Do not support
4414 old kernel versions if _CALL_ELF == 2.
4415 (frob_update_context): Do not support PLT stub variants only
4416 generated by old linkers if _CALL_ELF == 2.
4417
13e0981a
UW
44182013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4419 Alan Modra <amodra@gmail.com>
4420
4421 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4422 location of CR save area for 64-bit little-endian systems.
4423
1a80085d
EB
44242013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4425
4426 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4427 in tmake_file.
4428 * config/arm/t-vxworks: Delete.
4429
cabeea52
KT
44302013-11-10 Kai Tietz <ktietz@redhat.com>
4431
4432 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4433 Increment load-count on use of LIBGCC_SONAME DLL.
4434 (hmod_libgcc): New static variable to hold handle of
4435 LIBGCC_SONAME DLL.
4436 (__gcc_deregister_frame): Decrement load-count of
4437 LIBGCC_SONAME DLL.
4438
ac088ba1
BRF
44392013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4440
4441 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4442 availability.
4443 * configure: Regenerate
4444
d59a8fcc
UB
44452013-11-07 Uros Bizjak <ubizjak@gmail.com>
4446
4447 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4448 FP_EX_DENORM. Store result to volatile location after SSE division
4449 to close interrupt window. Remove unneeded fwait after x87
4450 division since interrupt window will be closed by emitted fstp.
9de84e84 4451 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4452
9954c743
JM
44532013-11-06 Joseph Myers <joseph@codesourcery.com>
4454
4455 * soft-fp/README: Update.
4456 * soft-fp/adddf3.c: Update from glibc.
4457 * soft-fp/addsf3.c: Likewise.
4458 * soft-fp/addtf3.c: Likewise.
4459 * soft-fp/divdf3.c: Likewise.
4460 * soft-fp/divsf3.c: Likewise.
4461 * soft-fp/divtf3.c: Likewise.
4462 * soft-fp/double.h: Likewise.
4463 * soft-fp/eqdf2.c: Likewise.
4464 * soft-fp/eqsf2.c: Likewise.
4465 * soft-fp/eqtf2.c: Likewise.
4466 * soft-fp/extenddftf2.c: Likewise.
4467 * soft-fp/extended.h: Likewise.
4468 * soft-fp/extendsfdf2.c: Likewise.
4469 * soft-fp/extendsftf2.c: Likewise.
4470 * soft-fp/extendxftf2.c: Likewise.
4471 * soft-fp/fixdfdi.c: Likewise.
4472 * soft-fp/fixdfsi.c: Likewise.
4473 * soft-fp/fixdfti.c: Likewise.
4474 * soft-fp/fixsfdi.c: Likewise.
4475 * soft-fp/fixsfsi.c: Likewise.
4476 * soft-fp/fixsfti.c: Likewise.
4477 * soft-fp/fixtfdi.c: Likewise.
4478 * soft-fp/fixtfsi.c: Likewise.
4479 * soft-fp/fixtfti.c: Likewise.
4480 * soft-fp/fixunsdfdi.c: Likewise.
4481 * soft-fp/fixunsdfsi.c: Likewise.
4482 * soft-fp/fixunsdfti.c: Likewise.
4483 * soft-fp/fixunssfdi.c: Likewise.
4484 * soft-fp/fixunssfsi.c: Likewise.
4485 * soft-fp/fixunssfti.c: Likewise.
4486 * soft-fp/fixunstfdi.c: Likewise.
4487 * soft-fp/fixunstfsi.c: Likewise.
4488 * soft-fp/fixunstfti.c: Likewise.
4489 * soft-fp/floatdidf.c: Likewise.
4490 * soft-fp/floatdisf.c: Likewise.
4491 * soft-fp/floatditf.c: Likewise.
4492 * soft-fp/floatsidf.c: Likewise.
4493 * soft-fp/floatsisf.c: Likewise.
4494 * soft-fp/floatsitf.c: Likewise.
4495 * soft-fp/floattidf.c: Likewise.
4496 * soft-fp/floattisf.c: Likewise.
4497 * soft-fp/floattitf.c: Likewise.
4498 * soft-fp/floatundidf.c: Likewise.
4499 * soft-fp/floatundisf.c: Likewise.
4500 * soft-fp/floatunditf.c: Likewise.
4501 * soft-fp/floatunsidf.c: Likewise.
4502 * soft-fp/floatunsisf.c: Likewise.
4503 * soft-fp/floatunsitf.c: Likewise.
4504 * soft-fp/floatuntidf.c: Likewise.
4505 * soft-fp/floatuntisf.c: Likewise.
4506 * soft-fp/floatuntitf.c: Likewise.
4507 * soft-fp/gedf2.c: Likewise.
4508 * soft-fp/gesf2.c: Likewise.
4509 * soft-fp/getf2.c: Likewise.
4510 * soft-fp/ledf2.c: Likewise.
4511 * soft-fp/lesf2.c: Likewise.
4512 * soft-fp/letf2.c: Likewise.
4513 * soft-fp/muldf3.c: Likewise.
4514 * soft-fp/mulsf3.c: Likewise.
4515 * soft-fp/multf3.c: Likewise.
4516 * soft-fp/negdf2.c: Likewise.
4517 * soft-fp/negsf2.c: Likewise.
4518 * soft-fp/negtf2.c: Likewise.
4519 * soft-fp/op-1.h: Likewise.
4520 * soft-fp/op-2.h: Likewise.
4521 * soft-fp/op-4.h: Likewise.
4522 * soft-fp/op-8.h: Likewise.
4523 * soft-fp/op-common.h: Likewise.
4524 * soft-fp/quad.h: Likewise.
4525 * soft-fp/single.h: Likewise.
4526 * soft-fp/soft-fp.h: Likewise.
4527 * soft-fp/subdf3.c: Likewise.
4528 * soft-fp/subsf3.c: Likewise.
4529 * soft-fp/subtf3.c: Likewise.
4530 * soft-fp/truncdfsf2.c: Likewise.
4531 * soft-fp/trunctfdf2.c: Likewise.
4532 * soft-fp/trunctfsf2.c: Likewise.
4533 * soft-fp/trunctfxf2.c: Likewise.
4534 * soft-fp/unorddf2.c: Likewise.
4535 * soft-fp/unordsf2.c: Likewise.
4536 * soft-fp/unordtf2.c: Likewise.
4537
02ac9503
UB
45382013-11-05 Uros Bizjak <ubizjak@gmail.com>
4539
4540 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4541 (_FP_MUL_MEAT_D): Ditto.
4542 (_FP_DIV_MEAT_S): Ditto.
4543 (_FP_DIV_MEAT_D): Ditto.
4544 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4545 t-softfp-sfdf and t-softfp to tmake_file.
4546
61221141
UB
45472013-11-03 Uros Bizjak <ubizjak@gmail.com>
4548
4549 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4550 * config/i386/crtprec.c: Ditto.
4551
9304f876
CJW
45522013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4553 Shiva Chen <shiva0217@gmail.com>
4554
4555 * config.host (nds32*-elf*): Add nds32 target.
4556 * config/nds32 : New directory and files.
4557
0e499e75
HPN
45582013-10-16 Hans-Peter Nilsson <hp@axis.com>
4559
4560 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4561 * config.host (cpu_type) <Setting default>: Add entry for
4562 crisv32-*-*.
4563 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4564 <crisv32-*-linux*>: Adjust.
4565 * longlong.h: Wrap the whole CRIS section in a single
4566 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4567 and sub_ddmmss.
4568 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4569 defined.
4570 [__CRIS__] (__umulsidi3): Define.
4571 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4572 * config/cris/sfp-machine.h: New file.
4573 * config/cris/umulsidi3.S: New file.
4574 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4575 * config/cris/arit.c (SIGNMULT): New macro.
4576 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4577 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4578 saving 3 out of originally 33 cycles from the fastest
4579 path, 3 out of 54 from the medium path and one from the longest
4580 path. Improve comments.
4581
16022041
RS
45822013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4583
4584 * sync.c: Remove static aliases and define each function directly
4585 under its real name.
4586
69778659
JDA
45872013-10-02 John David Anglin <danglin@gcc.gnu.org>
4588
4589 * config.host (hppa*64*-*-linux*): Define extra_parts.
4590 (hppa*-*-linux*): Likewise.
4591
2deaf8b0
JR
45922013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4593
4594 * config/arc/crtgend.S: Add 2013 to Copyright years.
4595 * config/arc/gmon/atomic.h: Likewise.
4596 * config/arc/gmon/auxreg.h: Likewise.
4597 * config/arc/gmon/sys/gmon_out.h: Likewise.
4598 * config/arc/gmon/sys/gmon.h: Likewise.
4599 * config/arc/gmon/prof-freq.c: Likewise.
4600 * config/arc/gmon/mcount.c: Likewise.
4601 * config/arc/gmon/prof-freq-stub.S: Likewise.
4602 * config/arc/gmon/gmon.c: Likewise.
4603 * config/arc/gmon/machine-gmon.h: Likewise.
4604 * config/arc/gmon/profil.S: Likewise.
4605 * config/arc/gmon/dcache_linesz.S: Likewise.
4606 * config/arc/crtg.S: Likewise.
4607 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4608 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4609 * config/arc/ieee-754/adddf3.S: Likewise.
4610 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4611 * config/arc/ieee-754/fixsfsi.S: Likewise.
4612 * config/arc/ieee-754/gtsf2.S: Likewise.
4613 * config/arc/ieee-754/floatsisf.S: Likewise.
4614 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4615 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4616 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4617 * config/arc/ieee-754/fixdfsi.S: Likewise.
4618 * config/arc/ieee-754/addsf3.S: Likewise.
4619 * config/arc/ieee-754/gesf2.S: Likewise.
4620 * config/arc/ieee-754/floatsidf.S: Likewise.
4621 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4622 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4623 * config/arc/ieee-754/gtdf2.S: Likewise.
4624 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4625 * config/arc/ieee-754/uneqdf2.S: Likewise.
4626 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4627 * config/arc/ieee-754/uneqsf2.S: Likewise.
4628 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4629 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4630 * config/arc/ieee-754/eqdf2.S: Likewise.
4631 * config/arc/ieee-754/ordsf2.S: Likewise.
4632 * config/arc/ieee-754/divsf3.S: Likewise.
4633 * config/arc/ieee-754/divdf3.S: Likewise.
4634 * config/arc/ieee-754/floatunsidf.S: Likewise.
4635 * config/arc/ieee-754/orddf2.S: Likewise.
4636 * config/arc/ieee-754/eqsf2.S: Likewise.
4637 * config/arc/ieee-754/gedf2.S: Likewise.
4638 * config/arc/crtn.S: Likewise.
4639 * config/arc/crti.S: Likewise.
4640 * config/arc/t-arc700-uClibc: Likewise.
4641 * config/arc/asm.h: Likewise.
4642 * config/arc/libgcc-excl.ver: Likewise.
4643 * config/arc/t-arc-newlib: Likewise.
4644 * config/arc/divtab-arc700.c: Likewise.
4645 * config/arc/initfini.c: Likewise.
4646 * config/arc/fp-hack.h: Likewise.
4647
c8e318b0
JR
46482013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4649 Diego Novillo <dnovillo@google.com>
4650
4651 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
4652 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4653 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4654 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 4655
d38a64b4
JR
46562013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4657 Brendan Kehoe <brendan@zen.org>
4658 Simon Cook <simon.cook@embecosm.com>
4659
4660 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4661 * config/arc: New directory.
4662 * longlong.h [__arc__] (umul_ppmm): Remove.
4663 [__arc__] (__umulsidi3): Define.
4664 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4665 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4666
dff717d2
JC
46672013-09-17 Jacek Caban <jacek@codeweavers.com>
4668
4669 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4670 CreateSemaphoreA.
4671 * config/i386/gthr-win32.h: Likewise.
4672
5c0029de
DD
46732013-09-16 DJ Delorie <dj@redhat.com>
4674
844ad6c6 4675 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
4676 * config/rl78/lib2mul.c: Enable for RL78/G10.
4677 * config/rl78/lib2div.c: Likewise.
4678 * config/rl78/lshrsi3.S: Use vregs.h.
4679 * config/rl78/cmpsi2.S: Likewise.
4680 * config/rl78/trampoline.S: Likewise.
4681 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4682
ceb2fc49
DD
46832013-09-14 DJ Delorie <dj@redhat.com>
4684 Nick Clifton <nickc@redhat.com>
4685
4686 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4687 * config/rl78/vregs.h: New.
4688 * config/rl78/signbit.S: New file. Implements signbit function.
4689 * config/rl78/divmodsi.S: New.
4690 * config/rl78/divmodhi.S: New.
4691 * config/rl78/divmodqi.S: New.
4692 * config/rl78/t-rl78: Build them here...
4693 * config/rl78/lib2div.c: ...but not here.
4694
f6a83b4a
DD
46952013-09-12 DJ Delorie <dj@redhat.com>
4696
4697 * config.host (msp*-*-elf): New.
4698 * config/msp430/: New port.
4699
9107b096
IS
47002013-08-18 Iain Sandoe <iain@codesourcery.com>
4701
4702 PR gcov-profile/58127
4703 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4704 __thread var for emulated TLS.
4705 (__gcov_indirect_call_counters): Likewise.
4706
0f9bde1f 47072013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 4708 Catherine Moore <clm@codesourcery.com>
7d296953 4709 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
4710
4711 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4712 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4713 (CALL_STUB_NO_RET): Likewise.
4714 (CALL_STUB_RET): Likewise.
4715 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4716 __mips16_ret call/return stub symbols.
4717 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4718 to tmake_file.
4719
2dc14aac
MR
47202013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4721
4722 * config.host <mips*-*-linux*>: Remove a stray comment.
4723
748d71f3
JH
47242013-08-10 Jan Hubicka <jh@suse.cz>
4725
4726 Work around binutils PR14342
4727 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4728 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4729 (L_gcov_indirect_call_profiler_v2): New.
4730
2fa3d31b
JH
47312013-08-06 Jan Hubicka <jh@suse.cz>
4732
4733 * libgcov.c (__gcov_indirect_call_callee,
4734 __gcov_indirect_call_counters): New global vars.
4735 (__gcov_indirect_call_profiler): replace by ...
4736 (__gcov_indirect_call_profiler_v2) ... this one.
4737
2077db1b
CT
47382013-08-06 Caroline Tice <cmtice@google.com>
4739
d0595b65 4740 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 4741 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
4742 * configure.ac: Add code to check/set enable_vtable_verify.
4743 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 4744 true.
d0595b65
CT
4745 * vtv_start_preinit.c: New file.
4746 * vtv_end_preinit.c: New file.
4747 * vtv_start.c: New file.
4748 * vtv_end.c: New file.
4749 * configure: Regenerated.
2077db1b 4750
46549c20
MK
47512013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4752
4753 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4754 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4755 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4756 GPL-3.0-with-GCC-exception.
4757
72be589b
MR
47582013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4759
4760 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4761 ISA and up.
4762
902a3faf
AK
47632013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4764
4765 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4766 mapping for FPRs when creating the fallback framestate.
4767
02371798
GJL
47682013-07-19 Georg-Johann Lay <avr@gjlay.de>
4769
4770 PR target/57516
4771 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4772 (__round_s2_const, __round_u2_const)
4773 (__round_s4_const, __round_u4_const, __round_x8):
4774 Saturate result if addition result cannot be represented.
4775
ab0e8379
MK
47762013-07-15 Matthias Klose <doko@ubuntu.com>
4777
4778 * libgcc2.c: Don't include <limits.h>.
4779
7da38058
JJ
47802013-07-09 Janis Johnson <janisjo@codesourcery.com>
4781
4782 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4783
1f6eac90
JJ
47842013-07-06 Jakub Jelinek <jakub@redhat.com>
4785
4786 PR target/29776
4787 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4788
4ea3d774
JJ
47892013-06-28 Jakub Jelinek <jakub@redhat.com>
4790
4791 PR middle-end/36041
4792 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4793 Define.
4794 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4795 instead of table lookups.
4796 (__popcountDI2): Likewise.
4797
9d2cdf25
CJW
47982013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4799
4800 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4801 correctly.
4802
fa1e55b0
JM
48032013-06-21 Joseph Myers <joseph@codesourcery.com>
4804
4805 PR other/53317
4806 * soft-fp/adddf3.c: Update from glibc.
4807 * soft-fp/addsf3.c: Likewise.
4808 * soft-fp/addtf3.c: Likewise.
4809 * soft-fp/divdf3.c: Likewise.
4810 * soft-fp/divsf3.c: Likewise.
4811 * soft-fp/divtf3.c: Likewise.
4812 * soft-fp/double.h: Likewise.
4813 * soft-fp/eqdf2.c: Likewise.
4814 * soft-fp/eqsf2.c: Likewise.
4815 * soft-fp/eqtf2.c: Likewise.
4816 * soft-fp/extenddftf2.c: Likewise.
4817 * soft-fp/extended.h: Likewise.
4818 * soft-fp/extendsfdf2.c: Likewise.
4819 * soft-fp/extendsftf2.c: Likewise.
4820 * soft-fp/fixdfdi.c: Likewise.
4821 * soft-fp/fixdfsi.c: Likewise.
4822 * soft-fp/fixsfdi.c: Likewise.
4823 * soft-fp/fixsfsi.c: Likewise.
4824 * soft-fp/fixtfdi.c: Likewise.
4825 * soft-fp/fixtfsi.c: Likewise.
4826 * soft-fp/fixunsdfdi.c: Likewise.
4827 * soft-fp/fixunsdfsi.c: Likewise.
4828 * soft-fp/fixunssfdi.c: Likewise.
4829 * soft-fp/fixunssfsi.c: Likewise.
4830 * soft-fp/fixunstfdi.c: Likewise.
4831 * soft-fp/fixunstfsi.c: Likewise.
4832 * soft-fp/floatdidf.c: Likewise.
4833 * soft-fp/floatdisf.c: Likewise.
4834 * soft-fp/floatditf.c: Likewise.
4835 * soft-fp/floatsidf.c: Likewise.
4836 * soft-fp/floatsisf.c: Likewise.
4837 * soft-fp/floatsitf.c: Likewise.
4838 * soft-fp/floatundidf.c: Likewise.
4839 * soft-fp/floatundisf.c: Likewise.
4840 * soft-fp/floatunditf.c: Likewise.
4841 * soft-fp/floatunsidf.c: Likewise.
4842 * soft-fp/floatunsisf.c: Likewise.
4843 * soft-fp/floatunsitf.c: Likewise.
4844 * soft-fp/gedf2.c: Likewise.
4845 * soft-fp/gesf2.c: Likewise.
4846 * soft-fp/getf2.c: Likewise.
4847 * soft-fp/ledf2.c: Likewise.
4848 * soft-fp/lesf2.c: Likewise.
4849 * soft-fp/letf2.c: Likewise.
4850 * soft-fp/muldf3.c: Likewise.
4851 * soft-fp/mulsf3.c: Likewise.
4852 * soft-fp/multf3.c: Likewise.
4853 * soft-fp/negdf2.c: Likewise.
4854 * soft-fp/negsf2.c: Likewise.
4855 * soft-fp/negtf2.c: Likewise.
4856 * soft-fp/op-1.h: Likewise.
4857 * soft-fp/op-2.h: Likewise.
4858 * soft-fp/op-4.h: Likewise.
4859 * soft-fp/op-8.h: Likewise.
4860 * soft-fp/op-common.h: Likewise.
4861 * soft-fp/quad.h: Likewise.
4862 * soft-fp/single.h: Likewise.
4863 * soft-fp/soft-fp.h: Likewise.
4864 * soft-fp/subdf3.c: Likewise.
4865 * soft-fp/subsf3.c: Likewise.
4866 * soft-fp/subtf3.c: Likewise.
4867 * soft-fp/truncdfsf2.c: Likewise.
4868 * soft-fp/trunctfdf2.c: Likewise.
4869 * soft-fp/trunctfsf2.c: Likewise.
4870 * soft-fp/unorddf2.c: Likewise.
4871 * soft-fp/unordsf2.c: Likewise.
4872 * soft-fp/unordtf2.c: Likewise.
4873 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4874 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4875 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4876 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4877 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4878 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4879 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4880 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4881 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4882 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4883 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4884 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4885
0de86a92
JU
48862013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4887
4888 * config/mips/lib2funcs.c: New file.
4889 * config/mips/t-mips (LIB2ADD_ST): Add it.
4890
0d008882
OE
48912013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4892
4893 PR target/6526
4894 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4895 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4896
776434d1
WL
48972013-06-08 Walter Lee <walt@tilera.com>
4898
4899 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4900 Replace int64_t with long long. Add __extension__ where
4901 appropriate.
4902 * config/tilepro/atomic.c: Include config.h.
4903
6ab3ebb4
DR
49042013-06-06 Douglas B Rupp <rupp@adacore.com>
4905
4906 * config.host (arm-wrs-vxworks): Configure with other soft float.
4907
107eea2c
JU
49082013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4909
4910 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4911 (mips64r5900el-*-elf*): New configurations.
4912
5cc19c62
AM
49132013-06-04 Alan Modra <amodra@gmail.com>
4914
4915 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4916
0f1d3965
YR
49172013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4918
4919 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4920
0ba045df
EB
49212013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4922
4923 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4924 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4925 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4926
49dcafd4
EB
49272013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4928
4929 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4930 (powerpc-wrs-vxworks): Likewise.
4931
4fcb5d87
EB
49322013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4933
4934 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4935 signal frames as well.
4936 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4937 STACK_BIAS to the CFA offset.
4938
0ec33224
RH
49392013-05-17 Richard Henderson <rth@redhat.com>
4940
4941 PR target/49146
4942 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4943 (execute_cfa_program): Use it when storing to fs->regs.
4944
492a8029
KT
49452013-05-08 Kai Tietz <ktietz@redhat.com>
4946
4947 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4948 (__deregister_frame_info): Likewise.
4949
701e2f0a
TS
49502013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4951
e5123d08
TS
4952 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4953 NaN's payload.
4954
701e2f0a
TS
4955 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4956
b9a7eb5d
AM
49572013-04-25 Alan Modra <amodra@gmail.com>
4958
4959 * config.host: Match little-endian powerpc-linux.
4960
dfe192f5
YZ
49612013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4962
4963 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4964 as 'unsigned long long' instead of 'unsigned long'.
4965 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4966 'signed long'.
4967
b6b9af2f
JB
49682013-04-10 Julian Brown <julian@codesourcery.com>
4969
4970 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4971 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4972 unsigned char/unsigned short.
4973 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4974
ecabdd00
JDA
49752013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4976
4977 PR other/55274
4978 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4979
34652576
MI
49802013-04-04 Meador Inge <meadori@codesourcery.com>
4981
4982 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4983 computing the location of the link register.
4984 (aeabi_uldivmod): Ditto.
4985
e9fd8c19
KT
49862013-03-27 Kai Tietz <ktietz@redhat.com>
4987
4988 * config.host: Add support for cygwin x64 target.
4989 * configure: Regenerated.
4990
a6406324
WL
49912013-03-26 Walter Lee <walt@tilera.com>
4992
4993 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4994 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4995
55446c7e
KT
49962013-03-25 Kai Tietz <ktietz@redhat.com>
4997
4998 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4999
d2ae19d9
RM
50002013-03-20 Robert Mason <rbmj@verizon.net>
5001
5002 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5003 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5004 (__gthread_leave_tsd_dtor_context): Add prototypes.
5005 (tls_delete_hook): Update.
5006
22c4c869
CM
50072013-03-20 Catherine Moore <clm@codesourcery.com>
5008 Joseph Myers <joseph@codesourcery.com>
5009 Chao-ying Fu <fu@mips.com>
5010
5011 * config/mips/mips16.S: Don't build for microMIPS.
5012 * config/mips/linux-unwind.h: Handle microMIPS frame.
5013 * config/mips/crtn.S (fini, init): New labels.
5014
fbd28bc3
JJ
50152013-03-14 Jakub Jelinek <jakub@redhat.com>
5016
5017 PR tree-optimization/53265
5018 * unwind-dw2.c (execute_cfa_program): Avoid
5019 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5020 on targets with DWARF_FRAME_REGISTERS < 32.
5021
decc676e
OE
50222013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5023
5024 PR target/49880
5025 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5026 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5027
84ea618a
ST
50282013-03-07 Sriraman Tallam <tmsriram@google.com>
5029
5030 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5031 sandybridge processors.
5032
8f6d1c86
OE
50332013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5034
5035 PR target/56529
5036 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5037 inclusion list.
5038
ecdbd01a 50392013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5040
5041 * config/microblaze/crti.S: Setup stack protection at entry
5042
0b4ce21b
GJL
50432013-03-04 Georg-Johann Lay <avr@gjlay.de>
5044
5045 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5046 (__rotldi3): Shift bytewise if applicable.
5047
b7c3f1ca
JG
50482013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5049
5050 * config/aarch64/sync-cache.c
5051 (__aarch64_sync_cache_range): Silence warnings.
5052
6d65e8f1
CM
50532013-02-25 Catherine Moore <clm@codesourcery.com>
5054
5055 Revert:
5056 2013-02-24 Catherine Moore <clm@codesourcery.com>
5057 Joseph Myers <joseph@codesourcery.com>
5058 Chao-ying Fu <fu@mips.com>
5059
5060 * config/mips/mips16.S: Don't build for microMIPS.
5061 * config/mips/linux-unwind.h: Handle microMIPS frame.
5062 * config/mips/crtn.S (fini, init): New labels.
5063
6941b508
CM
50642013-02-24 Catherine Moore <clm@codesourcery.com>
5065 Joseph Myers <joseph@codesourcery.com>
5066 Chao-ying Fu <fu@mips.com>
5067
5068 * config/mips/mips16.S: Don't build for microMIPS.
5069 * config/mips/linux-unwind.h: Handle microMIPS frame.
5070 * config/mips/crtn.S (fini, init): New labels.
5071
7c422dbb 50722012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5073 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5074 as dividend.
5075
110207ad
AM
50762013-02-16 Alan Modra <amodra@gmail.com>
5077
5078 PR target/55431
5079 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5080 (ppc_fallback_frame_state): Always set up save locations for fp
5081 and altivec. Don't bother with non-callee-saved regs, r0-r13
5082 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5083
e68a4ef6
GJL
50842013-02-12 Georg-Johann Lay <avr@gjlay.de>
5085
5086 PR target/54222
5087 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5088 _ssmulHA, _ssmulSA.
5089 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5090 _ssmulha3, _usmulusa3, _ssmulsa3.
5091 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5092 (__muldi3): XCALL __muldi3_6 instead of rcall.
5093 (__umulsidi3, __mulsidi3): New functions.
5094 (do_prologue_saves, do_epilogue_restores): New .macros.
5095 (__divdi3_moddi3): Use them.
5096 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5097 (__usmulusa3, __ssmulsa3): New functions.
5098
6c59ffd1
IS
50992013-02-11 Iain Sandoe <iain@codesourcery.com>
5100 Jack Howarth <howarth@bromo.med.uc.edu>
5101 Patrick Marlier <patrick.marlier@gmail.com>
5102
5103 PR libitm/55693
5104 * config/darwin-crt-tm.c: Remove dummy functions hack.
5105
85d768f3
GJL
51062013-02-08 Georg-Johann Lay <avr@gjlay.de>
5107
5108 PR target/54222
5109 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5110 * config/avr/lib2-object.mk: New iterator to build objects from it.
5111 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5112 lib2funcs.c.
5113 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5114 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5115 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5116 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5117 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5118 * config/avr/lib1funcs-fixed.S: Implement them.
5119
5d5bf775
RS
51202013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5121
5122 Update copyright years.
5123
99113dff
DE
51242013-02-01 David Edelsohn <dje.gcc@gmail.com>
5125
5126 PR target/54601
5127 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5128 Add crtcxa to extra_parts.
5129 * config/rs6000/exit.h: New file.
5130 * config/rs6000/cxa_atexit.c: New file.
5131 * config/rs6000/cxa_finalize.c: New file.
5132 * config/rs6000/crtcxa.c: New file.
5133 * config/rs6000/t-aix-cxa: New file.
5134 * config/rs6000/libgcc-aix-cxa.ver: New file.
5135
dbdbd982
NC
51362013-01-31 Nick Clifton <nickc@redhat.com>
5137
5138 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5139 variant.
5140
5893f158
GJL
51412013-01-29 Georg-Johann Lay <avr@gjlay.de>
5142
5143 PR target/54222
5144 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5145 _mulQQ, _mulHQ, _mulHA, _mulSA,
5146 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5147 _divQQ, _divHQ, _divHA, _divSA,
5148 _divUQQ, _divUHQ, _divUHA, _divUSA.
5149
ecdbd01a 51502013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5151
dbdbd982 5152 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5153 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5154 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5155 to exclude functions from being built with libgcc.c and use
5156 the microblaze assembly.
5157
ecdbd01a 51582013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5159
5160 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5161 extra_parts.
5162
922c57d1
YZ
51632013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5164
5165 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5166 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5167 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5168 alignment operation.
5169
e0f8b6a0
SN
51702013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5171
5172 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5173 loop start address for cache clearing.
5174
00892272
GJL
51752013-01-14 Georg-Johann Lay <avr@gjlay.de>
5176
5177 * config/avr/lib1funcs.S: Remove trailing blanks.
5178 * config/avr/lib1funcs-fixed.S: Ditto.
5179
e59ec5fd
GJL
51802013-01-14 Georg-Johann Lay <avr@gjlay.de>
5181
5182 * config/avr/avr-lib.h: Add GPL copyright notice.
5183
3ffc1958
GJL
51842013-01-14 Georg-Johann Lay <avr@gjlay.de>
5185
5186 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5187 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5188 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5189 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5190
25c210f9
MK
51912013-01-07 Mark Kettenis <kettenis@openbsd.org>
5192
5193 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5194 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5195
db59befb
NC
51962013-01-04 Nick Clifton <nickc@redhat.com>
5197
5198 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5199 the CALLT instruction is supported.
5200
5aa12dbf
JW
52012012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5202
5203 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5204 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5205
65f14117
JT
52062012-12-13 John Tytgat <John@bass-software.com>
5207
5208 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5209 is 25.
5210
ee3ae4f7
JJ
52112012-12-12 Jakub Jelinek <jakub@redhat.com>
5212
5213 PR libgcc/55451
5214 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5215 undefined signed overflows.
5216
2fcfba3d
UB
52172012-12-09 Uros Bizjak <ubizjak@gmail.com>
5218
5219 PR target/55344
5220 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5221
4f2b3dc2
UB
52222012-12-06 Uros Bizjak <ubizjak@gmail.com>
5223
5224 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5225 (FP_TRAPPING_EXCEPTIONS): Define.
5226 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5227 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5228
066161a2
RH
52292012-12-04 Richard Henderson <rth@redhat.com>
5230
5231 PR bootstrap/55571
5232 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5233
7d296953 52342012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5235
4f2b3dc2 5236 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5237 (FP_EX_SHIFT): Define.
5238 (FP_TRAPPING_EXCEPTIONS): Define.
5239
7d296953 52402012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5241
5242 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5243 (FP_ROUNDMODE): Use FP_RND_MASK.
5244 * config/aarch64/sfp-exceptions.c: New.
5245 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5246 Use __sfp_handle_exceptions.
5247
5005fe22
RE
52482012-12-04 Richard Earnshaw <rearnsha@arm.com>
5249
5250 * config.host: (arm*-*-freebsd*): Remove.
5251 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5252 (arm*-*-elf*): Remove.
5253 (arm*-*-wince-pe*): Remove.
5254 * arm/unwind-arm.c (struct fpa_reg): Delete.
5255 (struct fpa_regs): Delete.
5256 (phase1_vrs): Remove fpa element.
5257 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5258 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5259 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5260 * ieee754-sf.S (floatundisf): Remove FPA support.
5261 (floatdisf): Likewise.
5262 * ieee75f-df.S (floatundidf): Likewise.
5263 (floatdidf): Likewise.
5264
e5a81c8e
KT
52652012-11-29 Kai Tietz <ktietz@redhat.com>
5266
5267 PR target/55445
5268 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5269 * unwind-generic.h: Likewise.
5270 * unwind-seh.c: Likewise.
5271
f4919e4a
RH
52722012-11-28 Richard Henderson <rth@redhat.com>
5273
5274 PR libgcc/48076
5275 * emutls.c (__emutls_get_address): Avoid race condition between
5276 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5277
e13d9d5a
GJL
52782012-11-22 Georg-Johann Lay <avr@gjlay.de>
5279
5280 Adjust decimal point of signed accum mode to GCC default.
5281
5282 PR target/54222
5283 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5284 _divqq_helper.
5285 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5286 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5287 (__mulha3, __mulsa3)
5288 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5289 decimal point of signed accum types.
5290
e13d9d5a
GJL
5291 (__mulusa3_round): New function.
5292 (__mulusa3): Use it.
5293 (__divqq_helper): New function.
5294 (__udivuqq3): Use it.
5295
1b845c6e
JJ
52962012-11-20 Jakub Jelinek <jakub@redhat.com>
5297
5298 PR bootstrap/55370
5299 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5300
822a258a
TJ
53012012-11-18 Teresa Johnson <tejohnson@google.com>
5302
5303 PR bootstrap/55051
5304 * libgcov.c (gcov_exit): Remove merged program summary
5305 comparison unless !GCOV_LOCKED.
5306
7d296953 53072012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5308
5309 * soft-fp: Updated from glibc upstream.
5310
e808687a
ILT
53112012-11-06 Ian Lance Taylor <iant@google.com>
5312
5313 * generic-morestack.c (__generic_morestack): Align the returned
5314 stack pointer to a 32 byte boundary.
5315 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5316 increment the return address until we have decided that we don't
5317 have a varargs function.
5318 (__morestack) [32-bit]: Align stack correctly when calling C
5319 functions.
5320 (__morestack) [64-bit]: Likewise.
5321
460277e0
TS
53222012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5323
5324 * configure: Regenerate.
5325
73edb277
UB
53262012-11-02 Uros Bizjak <ubizjak@gmail.com>
5327
5328 PR target/55175
5329 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5330 * config/i386/sfp-machine.h: Guard exception handling
5331 code with _SOFT_FLOAT.
5332 * config/i386/32/sfp-machine.h: Guard rounding handling
5333 code with _SOFT_FLOAT.
5334 * config/i386/64/sfp-machine.h: Ditto.
5335
c1d4fa04
JS
53362012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5337
5338 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5339 as extra_parts.
5340
eff6ca85
UB
53412012-10-26 Uros Bizjak <ubizjak@gmail.com>
5342
5343 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5344 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5345 when appropriate. Correct structure element types.
5346 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5347 -minline-all-stringops from compile flags.
5348
7d296953 53492012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5350
5351 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5352
7d296953 53532012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5354
eff6ca85 5355 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5356
6f288860
SH
53572012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5358
5359 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5360 tmake_file.
5361
1e3d5096
IB
53622012-10-23 Ian Bolton <ian.bolton@arm.com>
5363 Jim MacArthur <jim.macarthur@arm.com>
5364 Marcus Shawcroft <marcus.shawcroft@arm.com>
5365 Nigel Stephens <nigel.stephens@arm.com>
5366 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5367 Richard Earnshaw <rearnsha@arm.com>
5368 Sofiane Naci <sofiane.naci@arm.com>
5369 Stephen Thomas <stephen.thomas@arm.com>
5370 Tejas Belagod <tejas.belagod@arm.com>
5371 Yufeng Zhang <yufeng.zhang@arm.com>
5372
5373 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5374 * config/aarch64/crti.S: New file.
5375 * config/aarch64/crtn.S: New file.
5376 * config/aarch64/linux-unwind.h: New file.
5377 * config/aarch64/sfp-machine.h: New file.
5378 * config/aarch64/sync-cache.c: New file.
5379 * config/aarch64/t-aarch64: New file.
5380 * config/aarch64/t-softfp: New file.
5381
8a740f07
HPN
53822012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5383
5384 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5385 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5386 no-longer-needed LDBU insns.
5387
7d296953 53882012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5389
5390 * config.host
5391 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5392 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5393
595fefee
MGD
53942012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5395
5396 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5397
9945a876
MK
53982012-10-15 Matthias Klose <doko@ubuntu.com>
5399
5400 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5401
1183dc2c
PC
54022012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5403
5404 * configure: Regenerate.
5405 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5406
945a9c1f
UB
54072012-10-10 Uros Bizjak <ubizjak@gmail.com>
5408
5409 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5410 instructions for 64bit targets only.
5411
fb8bf47a
UB
54122012-10-10 Uros Bizjak <ubizjak@gmail.com>
5413
5414 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5415 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5416 * config/i386/32/sfp-machine.h: ... here.
5417 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5418 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5419 New defines.
5420
acb72498
MK
54212012-10-07 Matthias Klose <doko@ubuntu.com>
5422
5423 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5424 as unused.
5425 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5426
8eaee0f0
MK
54272012-10-06 Mark Kettenis <kettenis@openbsd.org>
5428
5429 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5430 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5431 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5432 (ElfW): Likewise.
5433
5e3e4fe8
JW
54342012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5435
5436 PR other/53889
5437 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5438 Fix parameter names.
5439
86086376
OE
54402012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5441
5442 PR target/33135
5443 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5444 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5445 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5446
9597375a
OE
54472012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5448
5449 PR target/50457
5450 * config/sh/linux-atomic.S: Delete.
5451 * config/sh/linux-atomic.c: New.
5452 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5453 linux-atomic.c. Add cflags to disable warnings.
5454
1504e3e1
JW
54552012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5456
5457 PR other/53889
5458 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5459 function.
5460 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5461 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5462 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5463 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5464 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5465 Likewise.
1504e3e1
JW
5466 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5467 Likewise.
5468 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5469 Likewise.
5470 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5471 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5472
17f293b0
MK
54732012-09-19 Mark Kettenis <kettenis@openbsd.org>
5474
9597375a
OE
5475 * config.host (hppa-*-openbsd*): New target.
5476 * config/pa/t-openbsd: New file.
17f293b0 5477
51526856
GJL
54782012-09-15 Georg-Johann Lay <avr@gjlay.de>
5479
5480 PR target/54222
5481 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5482 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5483 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5484 (__divsa3): Use __negsi2 to negate r_quoL.
5485 * config/avr/lib1funcs.S (FALIAS): New macro.
5486 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5487 (__negsi2): ...this new function.
5488 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5489 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5490 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5491 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5492 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5493 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5494
aadb5b43
OE
54952012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5496
5497 PR target/54089
5498 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5499 (lshrsi3): Reimplement as lshrsi3_r0.
5500
d5d66749
AS
55012012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5502
5503 PR target/46191
5504 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5505 of libgcc.a.
5506
c6c36e73
TJ
55072012-09-07 Teresa Johnson <tejohnson@google.com>
5508
9597375a 5509 PR gcov-profile/54487
c6c36e73 5510 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 5511 differences.
c6c36e73 5512
b588ae30
GJL
55132012-09-05 Georg-Johann Lay <avr@gjlay.de>
5514
5515 PR target/54461
5516 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5517 not configured --with-avrlibc=no.
5518 * config/avr/t-avrlibc: New file.
5519 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5520 (DPBIT_FUNCS): Ditto.
5521 (TPBIT_FUNCS): Ditto.
5522
abd16fb1
TJ
55232012-09-04 Teresa Johnson <tejohnson@google.com>
5524
5525 * libgcov.c (struct gcov_summary_buffer): New structure.
5526 (gcov_histogram_insert): New function.
5527 (gcov_compute_histogram): Ditto.
5528 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5529 histograms during summary merging.
5530
613061fd
MK
55312012-09-01 Mark Kettenis <kettenis@openbsd.org>
5532
5533 * config.host (x86_64-*-openbsd*): New target.
73edb277 5534
867a8345
CLT
55352012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5536
5537 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5538 attribute.
5539
4aeaaca3
GJL
55402012-08-24 Georg-Johann Lay <avr@gjlay.de>
5541
5542 PR target/54222
5543 * config/avr/t-avr (conv_X): Rename to func_X.
5544
e55e4056
GJL
55452012-08-24 Georg-Johann Lay <avr@gjlay.de>
5546
5547 PR target/54222
5548 * config/avr/lib1funcs-fixed.S: New file.
5549 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5550 after they are used.
5551 (neg2, neg4): New macros.
5552 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5553 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5554 (__umulhisi3): Speed up MUL variant if there is enough flash.
5555 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5556 avr-modes.def.
5557 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5558 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5559 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5560 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5561 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5562 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5563 (LIB2FUNCS_EXCLUDE): Add supported functions.
5564
a147b6d2
GJL
55652012-08-22 Georg-Johann Lay <avr@gjlay.de>
5566
5567 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5568 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5569 libgcc-s-objects.
5570 * fixed-obj.mk: Only expand dependency if $o is not in
5571 LIB2FUNCS_EXCLUDE.
5572
c637141a
L
55732012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5574
5575 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5576
130e00bd
JM
55772012-08-22 Joseph Myers <joseph@codesourcery.com>
5578
5579 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5580 depend on --enable-shared.
5581 ($(lib1asmfuncs-o)): Use %.vis files independent of
5582 --enable-shared.
5583 * static-object.mk ($(base)$(objext), $(base).vis)
5584 ($(base)_s$(objext)): Use same rules for visibility handling as in
5585 shared-object.mk.
5586
4b1b3788
ILT
55872012-08-21 Ian Lance Taylor <iant@google.com>
5588
5589 * config/i386/morestack.S (__morestack_non_split): Increase amount
5590 of space allocated for non-split code stack.
5591
d2468141
JM
55922012-08-19 Joseph Myers <joseph@codesourcery.com>
5593
5594 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5595 even if inhibit_libc.
5596
a508e1a8
JB
55972012-08-17 Julian Brown <julian@codesourcery.com>
5598
5599 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5600 -fexceptions -fnon-call-exceptions if not defined.
5601 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5602 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5603
5615a07d
AS
56042012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5605
5606 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5607 type.
5608
138f5acd
DE
56092012-08-16 David Edelsohn <dje.gcc@gmail.com>
5610
5611 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5612 rs6000/t-slibgcc-aix.
5613
18efc0dd
SB
56142012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5615
5616 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5617
6b39bc38
SB
56182012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5619
5620 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5621
cd25dea0
L
56222012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5623
5624 PR driver/54171
5625 * Makefile.in (version): Replace top_srcdir with srcdir.
5626
a3dda30b
JY
56272012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5628
5629 * Makefile.in (version): set to BASE-VER file from gcc directory.
5630
d04aacfc
NC
56312012-08-01 Nick Clifton <nickc@redhat.com>
5632
5633 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5634 Implements __clrsb for an HImode argument.
5635
0d13c974
NC
56362012-07-31 Nick Clifton <nickc@redhat.com>
5637
5638 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5639 Implements __clrsb for an HImode argument.
5640 * config/stormy16/clrsbhi2.c: New file:
5641 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5642
efbb59b2
SB
56432012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5644
5645 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5646
bf1431e3
TG
56472012-07-19 Tristan Gingold <gingold@adacore.com>
5648 Richard Henderson <rth@redhat.com>
5649
5650 * unwind-seh.c: New file.
5651 * unwind-generic.h: Include windows.h for SEH.
5652 (_Unwind_Exception): Use 6 private fields for SEH.
5653 (_GCC_specific_handler): Declare.
5654 * unwind-c.c (__gcc_personality_seh0): New function.
5655 Adjust for SEH.
5656 * config/i386/libgcc-cygming.ver: New file.
5657 * config/i386/t-seh-eh: New file.
5658 * config.host (x86_64-*-mingw*): Default to seh.
5659
659140c8
SB
56602012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5661
5662 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5663
a20d08fd
UB
56642012-06-17 Uros Bizjak <ubizjak@gmail.com>
5665
5666 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5667 __builtin_expect when checking for exceptions.
5668 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5669
79261115
UB
56702012-06-13 Uros Bizjak <ubizjak@gmail.com>
5671
4a172156
UB
5672 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5673 function declaration.
5674 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5675 (FP_RND_MASK): New.
5676 * config/ia64/sfp-exceptions.c: New.
5677 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 5678
bb5c97d4
UB
56792012-06-13 Uros Bizjak <ubizjak@gmail.com>
5680
5681 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5682 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5683 * config/i386/64/sfp-machine: ... (delete here) ...
5684 * config/i386/sfp-machine.h: ... to here.
5685 (FP_EX_MASK): Remove.
5686 (FP_RND_MASK): New.
5687 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5688
91fe5efb
ST
56892012-06-11 Sriraman Tallam <tmsriram@google.com>
5690
5691 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5692 * config/i386/libgcc-sol2.ver: Ditto.
5693 * config/i386/libgcc-glibc.ver: Ditto.
5694
67a218c5
RM
56952012-06-11 Roland McGrath <mcgrathr@google.com>
5696
5697 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5698 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5699 pthread_cancel.
5700
492fbea1
UB
57012012-06-09 Uros Bizjak <ubizjak@gmail.com>
5702
5703 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5704 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5705 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5706 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5707 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5708 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5709 * config/i386/64/sfp-machine: ... (delete here) ...
5710 * config/i386/sfp-machine.h: ... to here.
5711 (FP_EX_MASK): New.
5712 (__sfp_handle_exceptions): New function declaration.
5713 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5714 * config/i386/sfp-exceptions.c: New.
5715 * config/i386/t-softfp: New.
5716 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5717 i386/t-softfp to tmake_file.
5718
7b4cf266
DM
57192012-06-03 David S. Miller <davem@davemloft.net>
5720
5721 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5722 change.
5723
0de0d5c6
DM
57242012-05-31 David S. Miller <davem@davemloft.net>
5725
5726 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5727 multiply and divide instructions on 32-bit when V9.
5728 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5729
d8c9d391
JM
57302012-05-29 Joseph Myers <joseph@codesourcery.com>
5731
5732 * config/arm/ieee754-df.S: Fix typos.
5733 * config/arm/ieee754-sf.S: Fix typos.
5734 * config/c6x/libunwind.S: Fix typos.
5735 * config/epiphany/udivsi3-float.c: Fix typos.
5736 * config/microblaze/muldi3_hard.S: Fix typos.
5737 * config/picochip/adddi3.S: Fix typos.
5738 * config/picochip/ashlsi3.S: Fix typos.
5739 * config/picochip/ashrsi3.S: Fix typos.
5740 * config/picochip/clzsi2.S: Fix typos.
5741 * config/picochip/cmpsi2.S: Fix typos.
5742 * config/picochip/divmod15.S: Fix typos.
5743 * config/picochip/divmodhi4.S: Fix typos.
5744 * config/picochip/divmodsi4.S: Fix typos.
5745 * config/picochip/longjmp.S: Fix typos.
5746 * config/picochip/lshrsi3.S: Fix typos.
5747 * config/picochip/parityhi2.S: Fix typos.
5748 * config/picochip/popcounthi2.S: Fix typos.
5749 * config/picochip/setjmp.S: Fix typos.
5750 * config/picochip/subdi3.S: Fix typos.
5751 * config/picochip/ucmpsi2.S: Fix typos.
5752 * config/picochip/udivmodhi4.S: Fix typos.
5753 * config/picochip/udivmodsi4.S: Fix typos.
5754 * config/spu/divv2df3.c: Fix typos.
5755 * config/spu/mfc_multi_tag_release.c: Fix typos.
5756 * config/spu/mfc_tag_release.c: Fix typos.
5757 * configure.ac: Fix typos.
5758 * configure: Regenerate.
5759
31a18a7e
ILT
57602012-05-25 Ian Lance Taylor <iant@google.com>
5761
5762 * config/i386/morestack.S (__morestack_non_split): Check whether
5763 caller is varargs and needs %bp to hold the stack frame on return.
5764
c5768510
OH
57652012-05-25 Olivier Hainque <hainque@adacore.com>
5766
5767 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5768 sequence in the non pic case on VxWorks.
5769
7c7c339b
OH
57702012-05-24 Olivier Hainque <hainque@adacore.com>
5771
73fb7630 5772 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
5773 "install-leaf" to "install".
5774
fdc1b7d3
OH
57752012-05-24 Olivier Hainque <hainque@adacore.com>
5776
5777 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5778 Use a separate command for stamp removals.
5779
07ba94b9
AP
57802012-05-21 Andrew Pinski <apinski@cavium.com>
5781
5782 PR bootstrap/53183
5783 * configure.ac: Define the default includes to being none.
5784 * configure: Regenerate.
5785
4677d2eb
OH
57862012-05-16 Olivier Hainque <hainque@adacore.com>
5787
5788 * Makefile.in (install-unwind_h): Rename into ...
5789 (install-unwind_h-forbuild): New target.
5790 (all): Use it instead of the former install-unwind_h.
5791 (install-unwind_h): Reinstate, copy to user install destination
5792 for include files, not to the internal gcc object directory one.
5793 (install-leaf): Depend on it.
5794
7d67c380
OH
57952012-05-15 Olivier Hainque <hainque@adacore.com>
5796
5797 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5798 register numbers. LR_REGNO replaces R_LR.
5799 (ucontext_for): New, helper for ...
5800 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5801 and 5.3 of ...
5802 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5803
aca06c90
RO
58042012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5805
5806 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5807 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5808 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5809 i386/t-cpuinfo ...
5810 (i[34567]86-*-*, x86_64-*-*): ... here.
5811
5812 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5813 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5814
5815 * config/i386/i386-cpuinfo.c: Rename to ...
5816 * config/i386/cpuinfo.c: ... this.
5817 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5818
5819 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5820 (libgcc_cv_init_priority): New test.
5821 * configure: Regenerate.
5822 * config.in: New file.
5823 * Makefile.in (clean): Rename config.h to auto-target.h.
5824 (config.h): Likewise.
5825 (stamp-h): Likewise.
5826
5827 * config/i386/cpuinfo.c (auto-target.h): Include.
5828 (CONSTRUCTOR_PRIORITY): Define.
5829 (__cpu_indicator_init): Use it.
5830
0d03ac1b
L
58312012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5832
5833 * longlong.h: Use a URL instead of an FSF postal address.
5834 Replace spaces with tab.
5835
4a172156 58362012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
5837
5838 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5839 (__gcov_dump): Ditto.
5840 (gcov_dump_complete): New global variable.
5841 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5842 (__gcov_flush): Outline functionality now in gcov_clear.
5843 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5844
e4bb767e
AJ
58452012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5846
31a18a7e
ILT
5847 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5848 (mips*-*-linux*): Include mips/t-tpbit when long double is
5849 16 bytes long.
e4bb767e 5850
5ddecff9
ST
58512012-04-25 Sriraman Tallam <tmsriram@google.com>
5852
5853 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5854 (get_available_features): New argument. Check for AVX2.
5855 (__cpu_indicator_init): Modify call to get_available_features.
5856
b427dd7a
AM
58572012-04-25 Alan Modra <amodra@gmail.com>
5858
5859 * config/rs6000/crtsavevr.S: New file.
5860 * config/rs6000/crtrestvr.S: New file.
5861 * config/rs6000/t-savresfgpr: Build the above.
5862 * config/rs6000/t-netbsd: Likewise.
5863
ad491329
ST
58642012-04-24 Sriraman Tallam <tmsriram@google.com>
5865
5866 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5867
792317cc
ST
58682012-04-24 Sriraman Tallam <tmsriram@google.com>
5869
5870 * libgcc/config/i386/i386-cpuinfo.c: New file.
5871 * libgcc/config/i386/t-cpuinfo: New file.
5872 * libgcc/config.host: Include t-cpuinfo.
5873 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5874
e1be98a4
CF
58752012-04-24 Chao-ying Fu <fu@mips.com>
5876
5877 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5878
1bde7dab
TS
58792012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5880
5881 struct siginfo vs. siginfo_t
5882
5883 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5884 siginfo_t instead of struct siginfo.
5885 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5886 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5887 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5888 (ia64_handle_unwabi): Likewise.
5889 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5890 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5891 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5892 (sh_fallback_frame_state): Likewise.
5893 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5894 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5895
24590f66
L
58962012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5897
5898 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5899 system call number.
5900
9a9dcce8
EB
59012012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5902
5903 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5904 if it hasn't been previously saved.
5905
6401aaf5
L
59062012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5907
5908 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5909 only for glibc.
5910
7fd6378e
GJL
59112012-03-28 Georg-Johann Lay <avr@gjlay.de>
5912
5913 PR target/52737
5914 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5915 instead of __AVR_HAVE_8BIT_SP__.
5916
9e916de7
TG
59172012-03-26 Tristan Gingold <gingold@adacore.com>
5918
5919 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5920 (unw_table_entry): Use unw_word instead of unsigned long.
5921 (_Unwind_FindTableEntry): Likewise.
5922 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5923 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5924 (_Unwind_FindTableEntry): Likewise.
5925 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5926 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5927 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5928 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5929 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5930 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5931 (uw_init_context_1, uw_install_context): Likewise.
5932 (unw_word): Move to unwind-ia64.h
5933
4b12e93d
TG
59342012-03-26 Tristan Gingold <gingold@adacore.com>
5935
5936 * config/vms/vms-ucrt0.c: Update copyright years.
5937 Add a sanity check.
5938 (___gcc_main_flags): Declare.
5939 (__main): Check flags to remap argv and exit code.
5940 * config.host (*-*-*vms*): Adjust extra_parts.
5941 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5942 (crt0.o): Add.
5943
06ea7371
RE
59442012-03-22 Richard Earnshaw <rearnsha@arm.com>
5945
5946 * arm/lib1funcs.asm (ctzsi2): New function.
5947 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5948 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5949 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5950 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5951 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5952 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5953
d82ad50d
AT
59542012-03-21 Andreas Tobler <andreast@fgznet.ch>
5955
5956 * config.host: Add bits to support powerpc64-*-freebsd*.
5957 * config/rs6000/freebsd-unwind.h: New file.
5958 * config/rs6000/t-freebsd64: New file.
5959
b260a8c0
RG
59602012-03-20 Richard Guenther <rguenther@suse.de>
5961
5962 PR gcov-profile/52627
5963 * libgcov.c (init_mx): Fix mutex name.
5964
86286a8a
TG
59652012-03-16 Tristan Gingold <gingold@adacore.com>
5966
5967 * config/ia64/vms-unwind.h: Remove ulong (and replace
5968 it by unw_reg where used). Define unw_reg with __int64.
5969
7888f266
RO
59702012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5971
5972 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5973 Solaris 8 handling.
5974 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5975 Solaris 8 handling.
5976 (sparc_is_sighandler): Likewise.
5977
f155bc64
L
59782012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5979
5980 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5981 <= saved reg size.
5982
d47657bd
RO
59832012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5984
5985 * config/arm/crtn.S: Fix typo.
5986
5bef73a1
RG
59872012-03-13 Richard Guenther <rguenther@suse.de>
5988
5989 * libgcov.c: Remove stdio.h include and NULL un-define.
5990
9c4271f3
RG
59912012-03-13 Richard Guenther <rguenther@suse.de>
5992
5993 PR target/52569
5994 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5995
c6d10e7c
RG
59962012-03-13 Richard Guenther <rguenther@suse.de>
5997
5998 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5999
074a385f
RG
60002012-03-13 Richard Guenther <rguenther@suse.de>
6001
6002 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6003 and __gthread_mutex_init_function definitions.
6004
c4bc5c25
RO
60052012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6006
6007 * config.host (mips*-*-openbsd*): Remove.
6008
5c30094f
RO
60092012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6010
6011 * config.host: Remove alpha*-dec-osf5.1* handling.
6012 * config/alpha/gthr-posix.c: Remove.
6013 * config/alpha/libgcc-osf5.ver: Remove.
6014 * config/alpha/osf5-unwind.h: Remove.
6015 * config/alpha/t-osf-pthread: Remove.
6016 * config/alpha/t-slibgcc-osf: Remove.
6017 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6018 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6019 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6020 * mkmap-flat.awk: Remove osf_export handling.
6021
33e3e24d
RG
60222012-03-12 Richard Guenther <rguenther@suse.de>
6023
6024 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6025 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6026 (__gthread_mutex_init_function): New function.
6027 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6028
6029 PR gcov/49484
6030 * libgcov.c: Include gthr.h.
6031 (__gcov_flush_mx): New global variable.
6032 (init_mx, init_mx_once): New functions.
6033 (__gcov_flush): Protect self with a mutex.
6034 (__gcov_fork): Re-initialize mutex after forking.
6035 * unwind-dw2-fde.c: Change condition under which to use
6036 __GTHREAD_MUTEX_INIT_FUNCTION.
6037
d8aba32a
TG
60382012-03-12 Tristan Gingold <gingold@adacore.com>
6039
6040 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6041 * config/ia64/t-vms: Likewise.
6042
75ffafdc
MH
60432012-03-11 Michael Hope <michael.hope@linaro.org>
6044
4a172156
UB
6045 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6046 for Thumb-2.
75ffafdc 6047
ef6c2c53
WL
60482012-03-07 Walter Lee <walt@tilera.com>
6049
6050 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6051 "arch_atomic_".
6052 (atomic_xor): Rename and move definition to
6053 config/tilepro/atomic.h.
6054 (atomic_nand): Ditto.
6055 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6056 "arch_atomic_".
6057 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6058 (arch_atomic_nand): Ditto.
6059
4e30d980
GJL
60602012-03-07 Georg-Johann Lay <avr@gjlay.de>
6061
6062 PR target/52507
6063 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6064
61108225
GJL
60652012-03-07 Georg-Johann Lay <avr@gjlay.de>
6066
6067 PR target/52505
6068 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6069 from RAM.
6070
b30e10ab
GJL
60712012-03-07 Georg-Johann Lay <avr@gjlay.de>
6072
6073 PR target/52461
6074 PR target/52508
6075 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6076 if RAMPZ affects reading from RAM.
6077 (__tablejump_elpm__): Ditto.
6078 (.xload): Ditto.
6079 (__movmemx_hi): Ditto.
6080 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6081 (__do_global_dtors): Ditto.
6082 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6083 (__movmemx_hi): Ditto.
6084
8993fde4
RH
60852012-03-05 Richard Henderson <rth@redhat.com>
6086
6087 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6088 [ARM] (count_trailing_zeros): Use the builtin.
6089
b7633ee3
KT
60902012-03-01 Kai Tietz <ktietz@redhat.com>
6091
6092 * soft-fp: Imported from glibc upstream.
6093
fbd3340c
KT
60942012-02-28 Kai Tietz <ktietz@redhat.com>
6095
6096 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6097 for mingw-targets as attribute gcc_struct.
6098
e9e053eb
ILT
60992012-02-28 Ian Lance Taylor <iant@google.com>
6100
6101 * generic-morestack.c (__splitstack_releasecontext): Correct call
6102 to __morestack_release_segments.
6103
d80c632e
ST
61042012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6105
6106 PR target/52390
6107 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6108 for __linux__ when removing signals from __morestack_fullmask.
6109
0253a8b1
GJL
61102012-02-23 Georg-Johann Lay <avr@gjlay.de>
6111
6112 PR target/52261
6113 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6114
e10e461e
UW
61152012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6116
6117 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6118 instead of HAVE_INITFINI_ARRAY.
6119 * config/ia64/crtend.S: Likewise.
6120
0c0c6398
KT
61212012-02-20 Kai Tietz <ktietz@redhat.com>
6122
d7470374
KT
6123 PR libstdc++/52300
6124 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6125
0c0c6398
KT
6126 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6127 to w32-unwind.h header.
6128
78c27266
RS
61292012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6130
6131 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6132 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6133 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6134 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6135
5adeb246
RS
61362012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6137
6138 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6139
672ed313
IS
61402012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6141
6142 PR libitm/52220
6143 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6144
e948a1fb
IS
61452012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6146 Patrick Marlier <patrick.marlier@gmail.com>
6147
6148 PR libitm/52220
6149 * config/darwin-crt-tm.c: Generate dummy functions.
6150
6017aed3
IS
61512012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6152 Patrick Marlier <patrick.marlier@gmail.com>
6153
6154 PR libitm/52042
6155 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6156 (__doTMRegistrations): Call it.
e9e053eb 6157 (__doTMdeRegistrations): Likewise.
6017aed3 6158
2da8c1ad 61592012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6160 Anatoly Sokolov <aesok@post.ru>
6161 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6162
6163 PR target/52261
6164 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6165 (__epilogue_restores__): Ditto.
6166
0f952eb4
EB
61672012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6168
6169 PR target/51921
6170 PR target/52205
6171 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6172 Solaris 11 and slightly reformat.
6173 (sparc_is_sighandler): Likewise.
6174
dd552284
WL
61752012-02-14 Walter Lee <walt@tilera.com>
6176
6177 * config.host: Handle tilegx and tilepro.
6178 * config/tilegx/sfp-machine.h: New file.
6179 * config/tilegx/sfp-machine32.h: New file.
6180 * config/tilegx/sfp-machine64.h: New file.
6181 * config/tilegx/t-crtstuff: New file.
6182 * config/tilegx/t-softfp: New file.
6183 * config/tilegx/t-tilegx: New file.
6184 * config/tilepro/atomic.c: New file.
6185 * config/tilepro/atomic.h: New file.
6186 * config/tilepro/linux-unwind.h: New file.
6187 * config/tilepro/sfp-machine.h: New file.
6188 * config/tilepro/softdivide.c: New file.
6189 * config/tilepro/softmpy.S: New file.
6190 * config/tilepro/t-crtstuff: New file.
6191 * config/tilepro/t-tilepro: New file.
6192
b59cbd50
JW
61932012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6194
6195 PR libstdc++/51296
6196 PR libstdc++/51906
6197 * gthr-posix.h: Allow static initializer macros to be disabled.
6198 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6199
6caf807f
CLT
62002012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6201
6202 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6203 Add t-slibgcc-libgcc to tmake_file.
6204 * config/mips/libgcc-mips16.ver: Revert previous patch.
6205 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6206
7d296953
JJ
62072012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6208 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6209
6210 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6211 * config/cr16/crti.S: New file.
6212 * config/cr16/crtlibid.S: New file.
6213 * config/cr16/crtn.S: New file.
6214 * config/cr16/lib1funcs.S: New file.
6215 * config/cr16/t-cr16: New file.
6216 * config/cr16/t-crtlibid: New file.
6217 * config/cr16/unwind-dw2.h: New file.
6218 * config/cr16/unwind-cr16.c: New file.
6219 * config/cr16/divmodhi3.c: New file.
6220
8ef03aa7
AM
62212012-01-25 Alan Modra <amodra@gmail.com>
6222
6223 * config/rs6000/t-linux64: Delete. Move..
6224 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6225 * config/rs6000/t-linux: ..and libgcc flags to here.
6226
daecebc8
DR
62272012-01-22 Douglas B Rupp <rupp@gnat.com>
6228
6229 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6230 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6231 * configure: Regenerate.
6232
ddaf8125
RS
62332012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6234 Richard Sandiford <rdsandiford@googlemail.com>
6235
6236 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6237 * config/mips/mips16.S (__mips16_rdhwr): New function.
6238 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6239
2cd8b32c
NS
62402012-01-11 Nathan Sidwell <nathan@acm.org>
6241
6242 * libgcov.c (__gcov_init): Ignore objects with no functions.
6243
cba300dd
GJL
62442012-01-10 Georg-Johann Lay <avr@gjlay.de>
6245
6246 PR target/49868
6247 Extend __pgmx semantics to linearize memory.
6248 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6249 * config/avr/lib1funcs.S (__xload_1): New function.
6250 (__movmemx_qi, __movmemx_hi): New functions.
6251 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6252 semantics.
9ffaf4bc 6253
3d137660
EB
62542012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6255
6256 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6257 purported sigacthandler address isn't null before dereferencing it.
6258 (sparc_is_sighandler): Likewise.
6259
bf4db96c
EB
62602012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6261
6262 PR ada/41929
6263 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6264 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6265 (sparc_is_sighandler): Likewise.
6266 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6267
1ab3568b
TG
62682012-01-06 Tristan Gingold <gingold@adacore.com>
6269
6270 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6271 compatibility thunks...
6272 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6273 (crtbeginS.o, crtendS.o): ... and these to ...
6274 * config/ia64/t-ia64-elf: ... this new file.
6275 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6276 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6277
925b0ed8
AK
62782012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6279
6280 * configure: Regenerate.
6281 * config/s390/t-crtstuff: Remove -fPIC.
6282
a99ad737
JW
62832012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6284
6285 PR bootstrap/51006
6286 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6287 for NetBSD.
6288
884f56d1
GJL
62892012-01-02 Georg-Johann Lay <avr@gjlay.de>
6290
6291 PR target/51345
6292 * config/avr/lib1funcs.S: Remove FIXME comments.
6293 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6294
8c57e547
GJL
62952012-01-02 Georg-Johann Lay <avr@gjlay.de>
6296
6297 Implement light-weight DImode support.
6298 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6299 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6300 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6301 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6302
04dbc287
NS
63032011-12-30 Nathan Sidwell <nathan@acm.org>
6304
6305 * libgcov.c (gcov_crc32): Remove global var.
6306 (free_fn_data): New function.
6307 (buffer_fn_data): Pass in filename, more robust error recovery.
6308 (crc32_unsigned): New function.
6309 (gcov_exit): More robust detection of new program. More robust
6310 error recovery.
6311 (__gcov_init): Do not update program's crc here.
6312
8e1d97d4
TG
63132011-12-21 Tristan Gingold <gingold@adacore.com>
6314
6315 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6316
9ffaf4bc
ILT
63172011-12-21 Ian Lance Taylor <iant@google.com>
6318
6319 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6320
a0c8d0c1
ILT
63212011-12-20 Ian Lance Taylor <iant@google.com>
6322
6323 * config/i386/morestack.S (__morestack_non_split): If there is
6324 enough stack space already, don't split. Ask for more stack space
6325 than we required.
6326
69048898
SDJ
63272011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6328
6329 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6330 `sys/sdt.h'.
6331 (_Unwind_DebugHook): New function.
6332 (uw_restore_core_regs): New define.
6333 (unwind_phase2): Use uw_restore_core_regs instead of
6334 restore_core_regs.
6335 (unwind_phase2_forced): Likewise.
6336 (__gnu_Unwind_Resume): Likewise.
6337
1bb4b6a3
UB
63382011-12-20 Uros Bizjak <ubizjak@gmail.com>
6339
6340 * config/alpha/linux-unwind.h: Update copyright years.
6341 (MD_FROB_UPDATE_CONTEXT): New define.
6342 (alpha_frob_update_context): New function.
6343
eb028768
RS
63442011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6345
6346 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6347 tmake_file rather replacing it.
6348
6a2045bf
IS
63492011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6350
6351 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6352 function is not used for PPC64.
6a2045bf
IS
6353 (save_world): Amend comments. Update the VRsave mask to reflect the
6354 saved regs.
6355 (rest_world): Update comments, do not clobber r10, do not use r8.
6356 (eh_rest_world_r10): Amend comments, do not use r8.
6357 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6358 no longer used, move restore of CR and target address to the end of
6359 the routine.
6360
a13780a6
L
63612011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6362
6363 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6364 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6365
d7288dfb
GJL
63662011-12-14 Georg-Johann Lay <avr@gjlay.de>
6367
6368 PR target/49313
6369 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6370 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6371
8d2c862d
EB
63722011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6373
6374 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6375
3447cae6
GJL
63762011-12-09 Georg-Johann Lay <avr@gjlay.de>
6377
6378 PR target/49313
6379 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6380 * config/avr/lib1funcs.S (__muldi3): New function.
6381
806fc6aa
AP
63822011-12-06 Andrew Pinski <apinski@cavium.com>
6383
6384 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6385 size of func_ptr.
6386 (__frame_dummy_init_array_entry): Likewise.
6387
28c5e6b5
GJL
63882011-12-06 Georg-Johann Lay <avr@gjlay.de>
6389
6390 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6391
6392 PR target/51345
6393 PR target/51002
6394 * config/avr/lib1funcs.S (__prologue_saves__,
6395 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6396 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6397
8f90394a
IS
63982011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6399
6400 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6401
06dd33ac
JDA
64022011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6403
6404 PR other/51272
6405 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6406 (_ITM_deregisterTMCloneTable): Likewise.
6407 (__register_frame_info): Fix unused warning.
6408 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6409 pthread_default_stacksize_np): Likewise.
6410 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6411
85b8555e
DD
64122011-11-29 DJ Delorie <dj@redhat.com>
6413
6414 * config.host (rl78-*-elf): New case.
6415 * config/rl78: New directory for the Renesas RL78.
6416
4d5ae4ea
BS
64172011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6418
6419 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6420 formatting.
6421
f9c55897
RO
64222011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6423
6424 PR other/51022
6425 * config/rs6000/t-savresfgpr: New file.
6426 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6427 $(srcdir)/config/rs6000/eabi.S.
6428 * config/rs6000/t-ppccomm-ldbl: Remove.
6429 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6430 tmake_file.
6431 (powerpc-*-eabispe*): Likewise.
6432 (powerpc-*-eabi*): Likewise.
6433 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6434 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6435 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6436 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6437 tmake_file.
6438 (powerpc-*-eabisim*): Likewise.
6439 (powerpc-*-elf*): Likewise.
6440 (powerpc-*-eabialtivec*): Likewise.
6441 (powerpc-xilinx-eabi*): Likewise.
6442 (powerpc-*-rtems*): Likewise.
6443 (powerpcle-*-elf*): Likewise.
6444 (powerpcle-*-eabisim*): Likewise.
6445 (powerpcle-*-eabi*): Likewise.
6446
a01207c4
ILT
64472011-11-27 Ian Lance Taylor <iant@google.com>
6448
6449 * generic-morestack.c (__splitstack_find): Check for NULL old
6450 stack value.
6451 (__splitstack_resetcontext): New function.
6452 (__splitstack_releasecontext): New function.
6453 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6454
2b0b8ab2
IS
64552011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6456
6457 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6458
c1d8101c
IS
64592011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6460
6461 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6462
8b281334
RH
64632011-11-26 Richard Henderson <rth@redhat.com>
6464
6465 * config/m68k/linux-atomic.c: New file.
6466 * config/m68k/t-linux: New file.
6467 * config.host (m68k-uclinux, m68k-linux): Use it.
6468
7546aa9d
RH
64692011-11-26 Richard Henderson <rth@redhat.com>
6470
6471 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6472 (__TMC_END__): Only declare if hidden is available; in the definition,
6473 if hidden is unavailable add a null record.
6474 (deregister_tm_clones, register_tm_clones): New.
6475 (__do_global_dtors_aux, frame_dummy): Use them.
6476 (__do_global_dtors, __do_global_ctors_1): Likewise.
6477
e2362f5d
IS
64782011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6479
6480 * config/darwin-crt-tm.c: New file.
6481 * config.host (darwin): Build crttms.o crttme.o to provide
6482 startup and shutdown for tm clones.
6483 * config/t-darwin (crttms.o): New build rule.
6484 (crttme.o): Likewise.
6485
6685dd96
HPN
64862011-11-21 Hans-Peter Nilsson <hp@axis.com>
6487
6488 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6489 et al.
6490
b0dc7e4c
RH
64912011-11-21 Richard Henderson <rth@redhat.com>
6492
6493 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6494 (__TMC_LIST__, __TMC_END__): New.
6495 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6496 (__do_global_dtors): Likewise.
6497 (frame_dummy): Call _ITM_registerTMCloneTable.
6498 (__do_global_ctors_1): Likewise.
6499
d4b4b542
RO
65002011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6501
6502 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6503 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6504 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6505 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6506 * config/i386/t-darwin64: Remove.
6507 * config/sh/t-netbsd (LIB2ADD): Remove.
6508
989bdb74
GJL
65092011-11-21 Georg-Johann Lay <avr@gjlay.de>
6510
6511 PR target/49313
6512 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6513 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6514 * config/avr/lib1funcs.S (wmov): New assembler macro.
6515 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6516 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6517 (__udivmod64): New function.
6518 (__negdi2): New function.
6519
515a0cfc
GP
65202011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6521
6522 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6523 *-*-freebsd*aout*): Remove.
6524
0115d17f
HPN
65252011-11-20 Hans-Peter Nilsson <hp@axis.com>
6526
6527 * static-object.mk (c_flags-$o): Save c_flags.
6528 ($(base)$(objext)): Use it.
6529
93aeb62b
SE
65302011-11-18 Steve Ellcey <sje@cup.hp.com>
6531
6532 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6533
7bc6df2c
GJL
65342011-11-18 Georg-Johann Lay <avr@gjlay.de>
6535
6536 PR target/49868
6537 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6538 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6539 New functions.
6540
425d737b
MGD
65412011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6542
6543 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6544 functions.
1bb4b6a3 6545 (aeabi_uidivmod): Likewise.
425d737b
MGD
6546 (umodsi3): Likewise.
6547 (divsi3): Likewise.
6548 (aeabi_idivmod): Likewise.
6549 (modsi3): Likewise.
6550
f2a176dc
TG
65512011-11-16 Tristan Gingold <gingold@adacore.com>
6552
6553 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6554
7c209481
GJL
65552011-11-15 Georg-Johann Lay <avr@gjlay.de>
6556
6557 PR target/49868
6558 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6559 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6560
9dfd5832
JDA
65612011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6562
6563 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6564 tmake_file list.
6565 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6566 * config/pa/t-stublib64: Delete.
6567
f77dca5d
RH
65682011-11-12 Richard Henderson <rth@redhat.com>
6569
6570 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6571 cast the pointer argument to _Unwind_SetGRPtr.
6572
902828f0
RO
65732011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6574
6575 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6576
e14304ef
ILT
65772011-11-09 Ian Lance Taylor <iant@google.com>
6578
6579 * generic-morestack.c: Include <string.h>.
6580 (uintptr_type): Define.
6581 (struct initial_sp): Add dont_block_signals field. Reduce size of
6582 extra array by 1.
6583 (allocate_segment): Set prev field to NULL. Don't set
6584 __morestack_current_segment or __morestack_segments.
6585 (__generic_morestack): Update current->prev and *pp after calling
6586 allocate_segment.
6587 (__morestack_block_signals): Don't do anything if
6588 dont_block_signals is set.
6589 (__morestack_unblock_signals): Likewise.
6590 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6591 uintptr_type.
6592 (__splitstack_block_signals): New function.
6593 (enum __splitstack_content_offsets): Define.
6594 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6595 (__splitstack_makecontext): New function.
6596 (__splitstack_block_signals_context): New function.
6597 (__splitstack_find_context): New function.
6598 * config/i386/morestack.S (__morestack_get_guard): New function.
6599 (__morestack_set_guard, __morestack_make_guard): New functions.
6600 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6601
e3d871e4
RO
66022011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6603
6604 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6605 (i[34567]86-*-mingw*): ... here.
6606 (x86_64-*-mingw*): ... here.
6607
e55cef40
RO
66082011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6609
6610 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6611
5366b186
NS
66122011-11-07 Nathan Sidwell <nathan@acm.org>
6613
6614 * libgcov.c (struct gcov_fn_buffer): New struct.
6615 (buffer_fn_data): New helper.
6616 (gcov_exit): Rework for new gcov data structures.
6617
74155a6f
GJL
66182011-11-07 Georg-Johann Lay <avr@gjlay.de>
6619
6620 PR target/49313
6621 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6622
200feb07
RO
66232011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6624
6625 * config.host (tmake_file): Correct comment.
6626 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6627 t-libgcc-pic.
6628 (bfin*-uclinux*): Likewise.
6629 (bfin*-linux-uclibc*): Likewise.
6630 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6631
6632 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6633 assigning.
6634 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6635 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6636 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6637 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6638 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6639 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6640 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6641 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6642 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6643 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6644 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6645 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6646 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6647
6648 * config/bfin/t-elf: Remove.
6649 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6650
c9cd1a07
RO
66512011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6652
6653 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6654 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6655 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6656 (lm32-*-elf*): ... this.
6657 (lm32-*-rtems*): ... and this.
6658 Add to tmake_file.
6659 (m32r-*-rtems*): Add to tmake_file.
6660 (moxie-*-rtems*): Likewise.
6661 (sparc-*-rtems*): Likewise.
6662 Remove t-rtems from tmake_file.
6663 (sparc64-*-rtems*): Likewise.
6664 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6665 instead.
6666
9fbcc75d
RO
66672011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6668
6669 PR bootstrap/50982
6670 * config/gthr-posix.h: Move ...
6671 * gthr-posix.h: ... here.
6672 * config/gthr-lynx.h: Reflect this.
6673 * config/gthr-vxworks.h: Likewise.
6674 * config/rs6000/gthr-aix.h: Likewise.
6675 * configure.ac (target_thread_file): Likewise.
6676 * configure: Regenerate.
6677
76644b68
SH
66782011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6679
6680 * config.host (arm*-*-rtemseabi*): New target.
6681
5e490f2a
JDA
66822011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6683
6684 PR other/50991
6685 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6686 extra-parts.
6687
feeeff5c
JR
66882011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6689
6690 * config.host (epiphany-*-elf*): New configuration.
6691 * config/epiphany: New Directory.
6692
d618bb2c
RC
66932011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6694
6695 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6696 * config/avr/t-rtems: New.
6697 Filter out _exit from LIB1ASMFUNCS.
6698
1bb6f778
DM
66992011-11-04 David S. Miller <davem@davemloft.net>
6700
6701 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6702 * configure: Rebuild.
6703
9a7f7422
AK
67042011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6705
6706 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6707 variable.
6708
e4fe948a
GJL
67092011-11-04 Georg-Johann Lay <avr@gjlay.de>
6710
6711 PR target/50931
6712 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6713 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6714
7084e037
JS
67152011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6716
6717 PR target/50989
6718 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6719
1a032034
RO
67202011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6721
6722 * config/c6x/t-elf (LIB2ADDEH): Set.
6723 * config/c6x/t-c6x-elf: Remove.
6724
d385f772
RO
67252011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6726
6727 * config/i386/sol2-ci.S: Rename to ...
6728 * config/i386/crti.S: ... this.
6729 * config/i386/sol2-cn.S: Rename to ...
6730 * config/i386/crtn.S: ... this.
6731 * config/sparc/sol2-ci.S: Rename to ...
6732 * config/sparc/crti.S: ... this.
6733 * config/sparc/sol2-cn.S: Rename to ...
6734 * config/sparc/crtn.S: ... this.
6735 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6736 (crti.o, crtn.o): Remove.
6737
1ba878a9
TG
67382011-11-04 Tristan Gingold <gingold@adacore.com>
6739
6740 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6741
02750c15
KK
67422011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6743
6744 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6745
bf86b067
HPN
67462011-11-03 Hans-Peter Nilsson <hp@axis.com>
6747
6748 * config.host (crisv32-*-none, cris-*-none): Remove.
6749 (crisv32-*-elf): Append to tmake_file, don't just set it.
6750 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6751
d0bc53bd
RO
67522011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6753
6754 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6755 (ecrtn$(objext)): Likewise.
6756 (ncrti$(objext)): Likewise.
6757 (ncrtn$(objext)): Likewise.
6758
036da830
AS
67592011-11-03 Andreas Schwab <schwab@redhat.com>
6760
6761 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6762
d2a7d041
DM
67632011-11-02 David S. Miller <davem@davemloft.net>
6764
6765 * configure.ac: Set host_address on sparc too.
6766 * configure: Regenerate.
6767 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6768 based upon host_address.
6769 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6770
af8ed618
JM
67712011-11-02 Jason Merrill <jason@redhat.com>
6772
6773 * config/rs6000/t-ppccomm: Add missing \.
6774
5d1c8e77
RO
67752011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6776
6777 * gthr-single.h, gthr.h: New files.
6778 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6779 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6780 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6781 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6782 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6783 * configure.ac (thread_header): New variable.
6784 Set it depending on target_thread_file.
6785 (gthr-default.h): Link from $thread_header.
6786 * configure: Regenerate.
6787 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6788
852b75ed
RO
67892011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6790
6791 * configure.ac (tm_file_): New variable.
6792 Determine from tm_file.
6793 (tm_file, tm_defines): Substitute.
6794 * configure: Regenerate.
6795 * mkheader.sh: New file.
6796 * Makefile.in (clean): Remove libgcc_tm.h.
6797 ($(objects)): Depend on libgcc_tm.h.
6798 (libgcc_tm_defines, libgcc_tm_file): New variables.
6799 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6800 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6801 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6802 ($(extra-parts)): Depend on libgcc_tm.h.
6803 * config.host (tm_defines, tm_file): New variable.
6804 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6805 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6806 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6807 (avr-*-rtems*): Likewise.
6808 (avr-*-*): Likewise.
6809 (frv-*-elf): Likewise.
6810 (frv-*-*linux*): Likewise.
6811 (h8300-*-rtems*): Likewise.
6812 (h8300-*-elf*): Likewise.
6813 (i[34567]86-*-darwin*): Likewise.
6814 (x86_64-*-darwin*): Likewise.
6815 (rx-*-elf): Likewise.
6816 (tic6x-*-uclinux): Likewise.
6817 (tic6x-*-elf): Likewise.
6818 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6819 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6820 * config/i386/cygming-crtbegin.c: Likewise.
6821 * config/i386/cygming-crtend.c: Likewise.
6822 * config/ia64/fde-vms.c: Likewise.
6823 * config/ia64/unwind-ia64.c: Likewise.
6824 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6825 * config/rs6000/darwin-fallback.c: Likewise.
6826 * config/stormy16/lib2funcs.c: Likewise.
6827 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6828 * crtstuff.c: Likewise.
6829 * dfp-bit.h: Likewise.
6830 * emutls.c: Likewise.
6831 * fixed-bit.c: Likewise.
6832 * fp-bit.c: Likewise.
6833 * generic-morestack-thread.c: Likewise.
6834 * generic-morestack.c: Likewise.
6835 * libgcc2.c: Likewise.
6836 * libgcov.c: Likewise.
6837 * unwind-dw2-fde-dip.c: Likewise.
6838 * unwind-dw2-fde.c: Likewise.
6839 * unwind-dw2.c: Likewise.
6840 * unwind-sjlj.c: Likewise.
6841
f9989b51
RO
68422011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6843
6844 * configure.ac: Include ../config/picflag.m4.
6845 (GCC_PICFLAG): Call it.
6846 Substitute.
6847 * configure: Regenerate.
6848 * Makefile.in (gcc_srcdir): Remove.
6849 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6850 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6851 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6852 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6853 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6854 Use $<.
6855 Remove comment.
6856 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6857 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6858 to refer to libgcc2.c.
6859 Use $<.
6860 * config/darwin-64.c: New file.
6861 * config/darwin-crt3.c: Remove comment.
6862 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6863 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6864 config/udivmodsi4.c: New files.
6865 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6866 config/memset.c: New files.
6867 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6868 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6869 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6870 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6871 * config/t-openbsd-thread: New file.
6872 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6873 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6874 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6875 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6876 qrnnd.S.
6877 Adapt filename.
6878 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6879 to refer to gthr-posix.c.
6880 * config/alpha/t-vms (LIB2ADD): Set.
6881 * config/alpha/vms-gcc_shell_handler.c: New file.
6882 * config/arm/bpabi.c, config/arm/fp16.c,
6883 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6884 config/arm/unaligned-funcs.c: New files.
6885 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6886 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6887 * config/arm/t-linux: Likewise.
6888 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6889 * config/arm/t-netbsd: New file.
6890 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6891 * config/arm/t-symbian (LIB2ADD_ST): Set.
6892 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6893 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6894 * config/bfin/t-elf: New file.
6895 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6896 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6897 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6898 config/c6x/ltf.c: New files.
6899 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6900 (HOST_LIBGCC2_CFLAGS): Set.
6901 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6902 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6903 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6904 New files.
6905 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6906 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6907 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6908 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6909 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6910 files.
6911 * config/frv/t-frv (LIB2ADD): Set.
6912 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6913 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6914 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6915 config/h8300/popcounthi2.c: New files.
6916 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6917 * config/i386/gthr-win32.c: New file.
6918 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6919 * config/i386/t-cygwin: Likewise.
6920 * config/i386/t-darwin, config/i386/t-darwin64,
6921 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6922 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6923 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6924 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6925 * config/ia64/quadlib.c: New file.
6926 * config/ia64/t-hpux (LIB2ADD): Set.
6927 * config/ia64/t-ia64: Add comment.
6928 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6929 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6930 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6931 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6932 * config/m32c/t-m32c (LIB2ADD): Set.
6933 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6934 * config/m32r/t-m32r: Likewise.
6935 * config/m68k/fpgnulib.c: New file.
6936 * config/m68k/t-floatlib (LIB2ADD): Set.
6937 (xfgnulib.c): New target.
6938 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6939 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6940 * config/mep/t-mep (LIB2ADD): Set.
6941 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6942 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6943 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6944 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6945 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6946 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6947 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6948 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6949 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6950 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6951 New files.
6952 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6953 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6954 * config/pa/fptr.c, config/pa/lib2funcs.S,
6955 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6956 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6957 (LIB2ADD, LIB2ADD_ST): Set.
6958 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6959 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6960 Set.
6961 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6962 * config/pdp11/t-pdp11: New file.
6963 * config/picochip/libgccExtras/adddi3.S,
6964 config/picochip/libgccExtras/ashlsi3.S,
6965 config/picochip/libgccExtras/ashrsi3.S,
6966 config/picochip/libgccExtras/clzsi2.S,
6967 config/picochip/libgccExtras/cmpsi2.S,
6968 config/picochip/libgccExtras/divmod15.S,
6969 config/picochip/libgccExtras/divmodhi4.S,
6970 config/picochip/libgccExtras/divmodsi4.S,
6971 config/picochip/libgccExtras/lshrsi3.S,
6972 config/picochip/libgccExtras/parityhi2.S,
6973 config/picochip/libgccExtras/popcounthi2.S,
6974 config/picochip/libgccExtras/subdi3.S,
6975 config/picochip/libgccExtras/ucmpsi2.S,
6976 config/picochip/libgccExtras/udivmodhi4.S,
6977 config/picochip/libgccExtras/udivmodsi4.S: New files.
6978 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6979 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6980 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6981 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6982 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6983 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6984 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6985 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6986 files.
6987 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6988 (HOST_LIBGCC2_CFLAGS): Set.
6989 * config/rs6000/t-darwin64: New file.
6990 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6991 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6992 * config/rs6000/t-ppccomm (LIB2ADD): Add
6993 $(srcdir)/config/rs6000/tramp.S.
6994 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6995 Add $(srcdir)/config/rs6000/eabi.S.
6996 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6997 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6998 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6999 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7000 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7001 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7002 * config/rs6000/tramp.S: New file.
7003 * config/s390/t-tpf: Remove.
7004 * config/sh/linux-atomic.S: New file.
7005 * config/sh/t-linux (LIB2ADD): Set.
7006 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7007 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7008 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7009 to unwind-dw2.c.
7010 (HOST_LIBGCC2_CFLAGS): Set.
7011 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7012 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7013 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7014 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7015 config/spu/mfc_multi_tag_release.c,
7016 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7017 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7018 config/spu/multi3.c: New files.
7019 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7020 (HOST_LIBGCC2_CFLAGS): Set.
7021 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7022 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7023 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7024 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7025 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7026 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7027 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7028 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7029 config/stormy16/umodsi3.c: New files.
7030 * config/xtensa/lib2funcs.S: New file.
7031 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7032 * config/xtensa/t-xtensa (LIB2ADD): Set.
7033 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7034 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7035 Add t-freebsd-thread to tmake_file for posix threads.
7036 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7037 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7038 (*-*-lynxos*): Likewise.
7039 (*-*-netbsd*): Likewise.
7040 (*-*-openbsd*): Likewise.
7041 Add t-openbsd-thread to tmake_file for posix threads.
7042 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7043 (*-*-vxworks*): Set tmake_file.
7044 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7045 (alpha*-*-freebsd*): Likewise.
7046 (alpha*-*-netbsd*): Likewise.
7047 (alpha*-*-openbsd*): Likewise.
7048 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7049 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7050 (alpha*-dec-*vms*): Likewise.
7051 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7052 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7053 (bfin*-uclinux*): Likewise.
7054 (bfin*-linux-uclibc*): Likewise.
7055 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7056 (crisv32-*-none): Likewise.
7057 (cris-*-elf): Likewise.
7058 (cris-*-none): Likewise.
7059 (cris-*-linux*, crisv32-*-linux*): Likewise.
7060 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7061 tmake_file.
7062 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7063 tmake_file.
7064 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7065 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7066 (x86_64-*-elf*): Likewise.
7067 (i[34567]86-*-nto-qnx*): Likewise.
7068 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7069 win32 threads.
7070 (x86_64-*-mingw*): Likewise.
7071 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7072 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7073 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7074 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7075 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7076 tmake_file.
7077 (mipsisa64sr71k-*-elf*): Likewise.
7078 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7079 (mips-*-elf*, mipsel-*-elf*): Likewise.
7080 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7081 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7082 (mips*-*-rtems*): Likewise.
7083 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7084 to tmake_file.
7085 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7086 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7087 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7088 (spu-*-elf*): Likewise.
7089 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7090
45b86625
RO
70912011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7092
7093 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7094 $(srcdir) to refer to $(LIB1ASMSRC).
7095 Use $<.
7096 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7097 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7098 config/arm/lib1funcs.S: New files.
7099 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7100 * config/arm/t-arm: New file.
7101 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7102 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7103 config/arm/t-strongarm-elf: New files.
7104 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7105 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7106 * config/avr/lib1funcs.S: New file.
7107 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7108 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7109 * config/c6x/lib1funcs.S: New file.
7110 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7111 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7112 * config/frv/lib1funcs.S: New file.
7113 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7114 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7115 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7116 * config/ia64/__divxf3.asm: Rename to ...
7117 * config/ia64/__divxf3.S: ... this.
7118 Adapt lib1funcs.asm filename.
7119 * config/ia64/_fixtfdi.asm: Rename to ...
7120 * config/ia64/_fixtfdi.S: ... this.
7121 Adapt lib1funcs.asm filename.
7122 * config/ia64/_fixunstfdi.asm: Rename to ...
7123 * config/ia64/_fixunstfdi.S: ... this.
7124 Adapt lib1funcs.asm filename.
7125 * config/ia64/_floatditf.asm: Rename to ...
7126 * config/ia64/_floatditf.S: ... this.
7127 Adapt lib1funcs.asm filename.
7128 * config/ia64/lib1funcs.S: New file.
7129 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7130 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7131 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7132 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7133 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7134 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7135 * config/mep/lib1funcs.S: New file.
7136 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7137 * config/mips/mips16.S: New file.
7138 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7139 * config/pa/milli64.S: New file.
7140 * config/pa/t-linux, config/pa/t-linux64: New files.
7141 * config/picochip/lib1funcs.S: New file.
7142 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7143 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7144 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7145 * config/sh/t-netbsd: New file.
7146 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7147 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7148 * config/sh/t-sh64: New file.
7149 * config/sparc/lb1spc.S: New file.
7150 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7151 filename.
7152 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7153 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7154 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7155 config/xtensa/lib1funcs.S: New files.
7156 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7157 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7158 tmake_file.
7159 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7160 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7161 (arm*-*-linux*): Likewise.
7162 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7163 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7164 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7165 (arm*-*-ecos-elf): Likewise.
7166 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7167 (arm*-*-rtems*): Likewise.
7168 (arm*-*-elf): Likewise.
7169 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7170 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7171 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7172 (bfin*-uclinux*): Likewise.
7173 (bfin*-linux-uclibc*): Likewise.
7174 (bfin*-rtems*): Likewise.
7175 (bfin*-*): Likewise.
7176 (fido-*-elf): Merge into m68k-*-elf*.
7177 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7178 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7179 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7180 (h8300-*-elf*): Likewise.
7181 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7182 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7183 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7184 (i[34567]86-*-mingw*): Likewise.
7185 (x86_64-*-mingw*): Likewise.
7186 (i[34567]86-*-interix3*): Likewise.
7187 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7188 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7189 (m68k-*-elf*): Also handle fido-*-elf.
7190 Add m68k/t-floatlib to tmake_file.
7191 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7192 (m68k-*-linux*): Likewise.
7193 (m68k-*-rtems*): Likewise.
7194 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7195 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7196 sh64*-*-*.
7197 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7198 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7199 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7200 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7201 sh/t-netbsd to tmake_file.
7202 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7203 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7204 (sh-wrs-vxworks): Likewise.
7205 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7206 *-leon[3-9]*.
7207 (v850*-*-*): Add v850/t-v850 to tmake_file.
7208 (vax-*-linux*): Add vax/t-linux to tmake_file.
7209 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7210
5f73c6cc
RO
72112011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7212
7213 * crtstuff.c: New file.
7214 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7215 (CRTSTUFF_T_CFLAGS): Define.
7216 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7217 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7218 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7219 crtstuff.c.
7220 Use $<.
7221 (crtbeginT.o): Use $(objext).
7222 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7223 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7224 (gcc-extra-parts): Remove.
7225 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7226 Set extra_parts.
7227 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7228 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7229 Add t-crtstuff-pic to tmake_file.
7230 (*-*-lynxos*): New case.
7231 Set tmake_file, extra_parts.
7232 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7233 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7234 *-*-netbsdelf[2-9]*.
7235 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7236 (*-*-rtems*): Set extra_parts.
7237 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7238 (*-*-uclinux*): New case.
7239 Set extra_parts.
7240 (*-*-vms*): New case.
7241 Set tmake_file, extra_parts.
7242 (*-*-elf): Set extra_parts.
7243 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7244 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7245 vms/t-vms64.
7246 Set extra_parts.
7247 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7248 Set extra_parts.
7249 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7250 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7251 (arm-wrs-vxworks): Append to tmake_file.
7252 Set extra_parts.
7253 (arm*-*-uclinux*): Set extra_parts.
7254 (arm*-*-ecos-elf): Likewise.
7255 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7256 arm*-*-eabi*.
7257 (arm*-*-rtems*): Set extra_parts.
7258 (arm*-*-elf): Likewise.
7259 (avr-*-rtems*): Clear extra_parts.
7260 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7261 Set extra_parts.
7262 (bfin*-uclinux*): Likewise.
7263 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7264 (bfin*-rtems*): Append to tmake_file.
7265 Set extra_parts.
7266 (bfin*-*): Likewise.
7267 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7268 (crisv32-*-elf): ... this.
7269 (crisv32-*-none): ... this.
7270 (cris-*-elf, cris-*-none): New cases.
7271 Add cris/t-elfmulti to tmake_file.
7272 (fr30-*-elf): Append to tmake_file.
7273 Set extra_parts.
7274 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7275 Set extra_parts.
7276 (h8300-*-rtems*): Append to tmake_file.
7277 Set extra_parts.
7278 (h8300-*-elf*): Likewise.
7279 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7280 Set extra_parts.
7281 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7282 Set extra_parts.
7283 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7284 (x86_64-*-elf*): Likewise.
7285 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7286 (x86_64-*-freebsd*): Likewise.
7287 (x86_64-*-netbsd*): Likewise.
7288 (i[34567]86-*-linux*): Likewise.
7289 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7290 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7291 (x86_64-*-linux*): Likewise.
7292 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7293 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7294 tmake_file.
7295 Set extra_parts.
7296 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7297 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7298 Append to extra_parts, remove crtbegin.o, crtend.o.
7299 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7300 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7301 crtend.o, crtbeginS.o, crtendS.o.
7302 (ia64*-*-linux*): Comment extra_parts.
7303 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7304 Set extra_parts.
7305 (iq2000*-*-elf*): Clear extra_parts.
7306 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7307 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7308 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7309 (m32r-*-rtems*): ... this.
7310 Add m32r/t-m32r to tmake_file.
7311 (m68k-*-elf*): Add t-crtin to tmake_file.
7312 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7313 (mcore-*-elf): Likewise.
7314 (microblaze*-*-*): Set extra_parts.
7315 (mips*-sde-elf*): New case.
7316 Set tmake_file, extra_parts.
7317 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7318 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7319 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7320 tmake_file.
7321 Set extra_parts.
7322 (mipsisa64sr71k-*-elf*): Likewise.
7323 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7324 (mips-*-elf*, mipsel-*-elf*): Likewise.
7325 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7326 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7327 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7328 (mips*-*-rtems*): Likewise.
7329 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7330 (moxie-*-*): Split into ...
7331 (moxie-*-elf, moxie-*-uclinux*): ... this.
7332 Add to extra_parts, remove crtbegin.o, crtend.o.
7333 (moxie-*-rtems*): New case.
7334 Set tmake_file.
7335 Clear extra_parts.
7336 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7337 Set extra_parts.
7338 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7339 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7340 tmake_file.
7341 Set extra_parts.
7342 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7343 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7344 Set extra_parts.
7345 (powerpc-*-eabisim*): Likewise.
7346 (powerpc-*-elf*): Likewise.
7347 (powerpc-*-eabialtivec*): Likewise.
7348 (powerpc-xilinx-eabi*): Likewise.
7349 (powerpc-*-eabi*): Likewise.
7350 (powerpc-*-rtems*): Likewise.
7351 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7352 tmake_file.
7353 Set extra_parts.
7354 (powerpc-*-lynxos*): Add to tmake_file.
7355 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7356 rs6000/t-crtstuff, t-crtstuff-pic.
7357 Set extra_parts.
7358 (powerpcle-*-eabisim*): Likewise.
7359 (powerpcle-*-eabi*): Likewise.
7360 (rx-*-elf): Remove extra_parts.
7361 (s390x-ibm-tpf*): Set extra_parts.
7362 (score-*-elf): Set extra_parts.
7363 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7364 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7365 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7366 (sh64l*-*-netbsd*): Split into ...
7367 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7368 Add t-crtstuff-pic to tmake_file.
7369 Set extra_parts.
7370 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7371 Set extra_parts.
7372 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7373 (sparc-*-elf*): Remove t-crtin from tmake_file.
7374 Add to extra_parts, remove crtbegin.o, crtend.o.
7375 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7376 (sparc64-*-linux*): Likewise.
7377 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7378 Add to extra_parts, remove crtbegin.o, crtend.o.
7379 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7380 Add to extra_parts, remove crtbegin.o, crtend.o.
7381 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7382 Add to extra_parts, remove crtbegin.o, crtend.o.
7383 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7384 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7385 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7386 Set extra_parts.
7387 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7388 Set extra_parts.
7389 (tic6x-*-*): Change to ...
7390 (tic6x-*-elf): ... this.
7391 Set extra_parts.
7392 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7393 Set extra_parts.
7394 (am33_2.0-*-linux*): Add comment.
7395 (mep*-*-*): Add mep/t-mep to tmake_file.
7396 Set extra_parts.
7397 * config/alpha/t-vms: New file.
7398 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7399 * config/arm/crti.S, config/arm/crtn.S: New files.
7400 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7401 * config/bfin/crtlibid.S: New file.
7402 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7403 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7404 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7405 (crti.o, crtin.o): New rules.
7406 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7407 * config/c6x/t-uclinux: New file.
7408 * config/cris/t-elfmulti: New file.
7409 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7410 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7411 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7412 * config/frv/t-frv: New file.
7413 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7414 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7415 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7416 New files.
7417 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7418 refer to cygming-crtbegin.c, cygming-crtend.c.
7419 Use $<.
7420 * config/i386/t-nto: New file.
7421 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7422 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7423 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7424 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7425 Use .S extension.
7426 Use $<.
7427 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7428 (crtinitS.o): New rule.
7429 * config/ia64/vms-crtinit.S: New file.
7430 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7431 * config/m32r/initfini.c: New file.
7432 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7433 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7434 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7435 * config/mep/t-mep: New file.
7436 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7437 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7438 * config/mips/crti.S, config/mips/crtn.S: New files.
7439 * config/mips/t-crtstuff: New file.
7440 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7441 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7442 (CUSTOM_CRTIN): Set.
7443 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7444 dependencies.
7445 Use $(srcdir) to refer to crti.S, crtn.S.
7446 Use .S extension, $<.
7447 * config/moxie/crti.asm: Rename to ...
7448 * config/moxie/crti.S: ... this.
7449 * config/moxie/crtn.asm: Rename to ...
7450 * config/moxie/crtn.S: ... this.
7451 * config/moxie/t-moxie: Remove.
7452 * config/pa/stublib.c: New file.
7453 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7454 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7455 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7456 * config/rs6000/t-crtstuff: New file.
7457 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7458 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7459 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7460 Make output file explicit.
7461 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7462 Make output file explicit.
7463 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7464 Make output file explicit.
7465 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7466 Make output file explicit.
7467 * config/score/crti.S, config/score/crtn.S: New files.
7468 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7469 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7470 files.
7471 * config/sh/t-sh, config/sh/t-superh: New files.
7472 * config/sparc/t-linux64: New file.
7473 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7474 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7475 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7476 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7477 * config/t-crtin: Remove.
7478 * config/t-crtstuff-pic: New file.
7479 * config/t-sol2 (CUSTOM_CRTIN): Set.
7480 (crti.o, crtn.o): New rules.
7481 * config/vms/t-vms: New file.
7482 * config/vms/vms-ucrt0.c: New file.
7483 * config/xtensa/t-elf: New file.
7484
b040f2be
RO
74852011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7486
7487 * Makefile.in (SHLIB_NM_FLAGS): Set.
7488 * mkmap-flat.awk, mkmap-symver.awk: New files.
7489 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7490 exceptions.
7491 * configure: Regenerate.
7492 * config/libgcc-glibc.ver: New file.
7493 * config/libgcc-libsystem.ver: New file.
7494 * config/t-libunwind (SHLIB_LC): Set.
7495 * config/t-linux: New file.
7496 * config/t-slibgcc (INSTALL_SHLIB): New.
7497 (SHLIB_INSTALL): Use it.
7498 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7499 to mkmap-symver.awk.
7500 (SHLIB_MAPFILES): Don't append, adapt pathname.
7501 (SHLIB_VERPFX): Set.
7502 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7503 to mkmap-symver.awk.
7504 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7505 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7506 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7507 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7508 to mkmap-flat.awk.
7509 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7510 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7511 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7512 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7513 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7514 * config/i386/libgcc-darwin.10.4.ver,
7515 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7516 New files.
7517 * config/i386/t-darwin: Remove.
7518 * config/i386/t-darwin64: Likewise.
7519 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7520 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7521 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7522 * config/i386/t-linux: New file.
7523 * config/i386/t-mingw32: New file.
7524 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7525 * config/ia64/t-glibc: Rename to ...
7526 * config/ia64/t-linux: ... this.
7527 (SHLIB_MAPFILES): Set.
7528 * config/ia64/t-glibc-libunwind: Rename to ...
7529 * config/ia64/t-linux-libunwind: ... this.
7530 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7531 * config/ia64/t-slibgcc-hpux: New file.
7532 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7533 * config/m68k/t-slibgcc-elf-ver: New file.
7534 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7535 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7536 to mkmap-flat.awk.
7537 * config/pa/t-slibgcc-hpux: New file.
7538 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7539 files.
7540 * config/rs6000/libgcc-darwin.10.4.ver,
7541 config/rs6000/libgcc-darwin.10.5.ver: New files.
7542 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7543 config/rs6000/libgcc-glibc.ver.
7544 * config/rs6000/libgcc-ppc64.ver: Rename to
7545 config/rs6000/libgcc-ibm-ldouble.ver.
7546 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7547 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7548 * config/rs6000/t-ldbl128: Rename to ...
7549 * config/rs6000/t-linux: ... this.
7550 (SHLIB_MAPFILES): Adapt filename.
7551 * config/rs6000/t-slibgcc-aix: New file.
7552 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7553 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7554 libgcc-excl.ver, libgcc-glibc.ver.
7555 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7556 * config/sparc/libgcc-glibc.ver: New file.
7557 * config/sparc/t-linux: New file.
7558 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7559 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7560 t-slibgcc-elf-ver to tmake_file.
7561 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7562 *-*-freebsd[34].
7563 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7564 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7565 t-slibgcc-elf-ver, t-linux to tmake_file.
7566 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7567 tmake_file.
7568 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7569 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7570 (alpha*-dec-*vms*): Likewise.
7571 (arm*-*-freebsd*): Append to tmake_file.
7572 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7573 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7574 arm*-*-linux-*eabi.
7575 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7576 tmake_file for arm*-*-symbianelf*.
7577 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7578 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7579 cris/t-linux.
7580 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7581 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7582 pa/t-slibgcc-dwarf-ver to tmake_file.
7583 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7584 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7585 (hppa*64*-*-hpux11*): Likewise.
7586 (hppa[12]*-*-hpux11*): Likewise.
7587 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7588 i386/t-crtpc, i386/t-crtfm.
7589 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7590 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7591 to tmake_file.
7592 Add i386/t-cygwin to tmake_file.
7593 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7594 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7595 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7596 to tmake_file.
7597 Add i386/t-mingw32 to tmake_file.
7598 (x86_64-*-mingw*): Likewise.
7599 (ia64*-*-freebsd*): Append to tmake_file.
7600 (ia64*-*-linux*): Append to tmake_file.
7601 Replace ia64/t-glibc by ia64/t-linux.
7602 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7603 system libunwind.
7604 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7605 t-slibgcc-hpux to tmake_file.
7606 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7607 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7608 (m32rle-*-linux*): Likewise.
7609 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7610 sjlj exceptions.
7611 (microblaze*-linux*): New case.
7612 Append to tmake_file, add t-slibgcc-nolc-override.
7613 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7614 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7615 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7616 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7617 rs6000/t-slibgcc-aix to tmake_file.
7618 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7619 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7620 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7621 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7622 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7623 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7624 sh*-*-linux*.
7625 (sparc-*-linux*): Append to tmake_file for *-leon*.
7626 Add sparc/t-linux to tmake_file for non-Leon targets.
7627 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7628 (tic6x-*-uclinux): New case.
7629 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7630 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7631 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7632 (am33_2.0-*-linux*): Append to tmake_file.
7633 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7634 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7635 x86_64-*-kfreebsd*-gnu.
7636 Add i386/t-linux to tmake_file.
7637
18b4bd7b
ILT
76382011-10-28 Ian Lance Taylor <iant@google.com>
7639
7640 * config/i386/morestack.S: Correct CFI information to do proper
7641 returns throughout function. In 32-bit mode, save %ebx so that it
7642 is restored on unwind.
7643
5b2d9d90
BS
76442011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7645
7646 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7647 case where B3 isn't the return register.
7648
0d53e346
BS
7649 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7650 logic for doubleword pops.
7651
cbffbd59
AT
76522011-10-25 Andreas Tobler <andreast@fgznet.ch>
7653
7654 * config/rs6000/t-freebsd: Add wildcard.
7655
56dc349e
PB
76562011-10-21 Paul Brook <paul@codesourcery.com>
7657
7658 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7659
1e06b07d
UB
76602011-10-16 Uros Bizjak <ubizjak@gmail.com>
7661 Eric Botcazou <ebotcazou@adacore.com>
7662
7663 PR target/50737
7664 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7665 fs->signal_frame to 1.
7666
b5204884
ILT
76672011-10-07 Ian Lance Taylor <iant@google.com>
7668
7669 * generic-morestack-thread.c: #include <errno.h>.
7670
91a639a1
ILT
76712011-10-07 Ian Lance Taylor <iant@google.com>
7672
7673 PR target/46093
7674 * generic-morestack.c (__generic_morestack): Make sure the segment
7675 is large enough for both the stack frame and the copied
7676 parameters.
7677
cc49116d
RO
76782011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7679
7680 PR bootstrap/49804
7681 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7682 extra_parts.
7683
2996d8c3
NC
76842011-09-28 Nick Clifton <nickc@redhat.com>
7685
7686 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7687 64-bit doubles are not enabled.
7688 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7689 and floatunsisf functions.
7690
1e874273 76912011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 7692
1e874273
PB
7693 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7694 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7695 * unwind-arm-common.inc: New file.
7696 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7697 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7698 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7699 * config/c6x/libunwind.S: New file.
7700 * config/c6x/pr-support.c: New file.
7701 * config/c6x/unwind-c6x.c: New file.
7702 * config/c6x/unwind-c6x.h: New file.
7703 * config/c6x/t-c6x-elf: New file.
7704
f70c879a
UB
77052011-08-23 Uros Bizjak <ubizjak@gmail.com>
7706
7707 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7708 (ASM_DIVZERO): Ditto.
7709 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7710
c55b374b
RS
77112011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7712
7713 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7714
1e138510
RS
77152011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7716
7717 PR target/50090
7718 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7719 instead of an assembly one.
7720
1563503d
PB
77212011-08-12 Paolo Bonzini <bonzini@gnu.org>
7722
7723 PR bootstrap/50047
7724 * Makefile.in (install-unwind_h): Create
7725 $(gcc_objdir)/include/unwind.h atomically.
7726
3627ac1a
RO
77272011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7728
7729 * Makefile.in (install-unwind_h): Remove destination file first.
7730
c6412d86
RO
77312011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7732
7733 * sync.c: New file.
7734 * config/mips/t-mips16: New file.
7735 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7736 (mips*-*-linux*): Likewise.
7737 (mips*-sde-elf*): Likewise.
7738 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7739 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7740 Add mips/t-mips16 to tmake_file.
7741 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7742 (mips-*-elf*): Likewise.
7743 (mips64-*-elf*): Likewise.
7744 (mips64orion-*-elf*): Likewise.
7745 (mips*-*-rtems*): Likewise.
7746 (mipstx39-*-elf*): Likewise.
7747 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7748 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7749 LIBGCC_SYNC_CFLAGS.
7750 Use $(srcdir) to refer to sync.c.
7751 Use $<.
7752 ($(libgcc-sync-funcs-o)): Likewise.
7753 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7754 ($(libgcc-sync-funcs-s-o)): Likewise.
7755
3cb6e5bd
AS
77562011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7757
7758 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7759 t-libunwind.
7760
cca2207a
L
77612011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7762
7763 PR other/48007
7764 * config/i386/value-unwind.h: New.
7765
ed39fbad
RS
77662011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7767
7768 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7769 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7770 Add to tmake_file rather than overriding it.
7771
aca0b0b3
RO
77722011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7773
7774 * config/t-softfp: Remove.
7775 * soft-fp: Moved from ../gcc/config.
7776 * soft-fp/README: Remove t-softfp reference.
7777 * soft-fp/t-softfp: Move to config/t-softfp.
7778 (softfp_machine_header): Remove.
7779 (softfp_file_list): Remove config subdir.
7780 (soft-fp-objects): New variable.
7781 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7782 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7783 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7784 * config/t-softfp-excl: New file.
7785 * config/t-softfp-sfdf: New file.
7786 * config/t-softfp-tf: New file.
7787 * config/no-sfp-machine.h: New file.
7788 * config/arm/sfp-machine.h: New file.
7789 * config/arm/t-softfp: New file.
7790 * config/c6x/sfp-machine.h: New file.
7791 * config/i386/32/t-fprules-softfp: Rename to ...
7792 * config/i386/32/t-softfp: ... this.
7793 (tifunctions, LIB2ADD): Remove.
7794 (softfp_int_modes): Override.
7795 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7796 subdir.
7797 * config/i386/64/eqtf2.c: Likewise.
7798 * config/i386/64/getf2.c: Likewise.
7799 * config/i386/64/letf2.c: Likewise.
7800 * config/ia64/sft-machine.h: New file.
7801 * config/ia64/t-fprules-softfp: Rename to ...
7802 * config/ia64/t-softfp: ... this.
7803 * config/lm32/sfp-machine.h: New file.
7804 * config/moxie/t-moxie-softfp: Remove.
7805 * config/rs6000/ibm-ldouble-format: New file.
7806 * config/rs6000/ibm-ldouble.c: New file.
7807 * config/rs6000/libgcc-ppc-glibc.ver: New file
7808 * config/rs6000/libgcc-ppc64.ver: New file
7809 * config/rs6000/sfp-machine.h: New file.
7810 * config/rs6000/t-freebsd: New file.
7811 * config/rs6000/t-ibm-ldouble: New file.
7812 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7813 libgcc-ppc-glibc.ver.
7814 * config/rs6000/t-linux64: New file.
7815 * config/rs6000/t-ppccomm (LIB2ADD): Add
7816 $(srcdir)/config/rs6000/ibm-ldouble.c.
7817 * config/rs6000/t-ppccomm-ldbl: New file.
7818 * config/score/sfp-machine.h: New file.
7819 * config.host (sfp_machine_header): Explain.
7820 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7821 t-softfp to tmake_file.
7822 (arm*-*-uclinux*): Likewise.
7823 (arm*-*-ecos-elf): Likewise.
7824 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7825 (arm*-*-rtems*): Likewise.
7826 (arm*-*-elf): Likewise.
7827 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7828 in tmake_file.
7829 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7830 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7831 (lm32-*-uclinux*): Likewise.
7832 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7833 t-softfp-excl, t-softfp.
7834 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7835 (powerpc64-*-darwin*): Likewise.
7836 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7837 to tmake_file.
7838 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7839 tmake_file.
7840 (powerpc-*-eabisim*): Likewise.
7841 (powerpc-*-elf*): Likewise.
7842 (powerpc-*-eabialtivec*): Likewise.
7843 (powerpc-xilinx-eabi*): Likewise.
7844 (powerpc-*-rtems*): Likewise.
7845 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7846 t-softfp-excl, t-softfp to tmake_file.
7847 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7848 rs6000/t-ppccomm-ldbl to tmake_file.
7849 (powerpcle-*-elf*): Likewise.
7850 (powerpcle-*-eabisim*): Likewise.
7851 (powerpcle-*-eabi*): Likewise.
7852 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7853 rs6000/t-ibm-ldouble to tmake_file.
7854 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7855 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7856 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7857 (tic6x-*-*): Likewise.
7858 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7859 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7860 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7861 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7862 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7863 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7864 t-softfp to tmake_file.
7865 * configure.ac (sfp_machine_header): Provide default if unset.
7866 Substitute.
7867 Link sfp-machine.h to config/$sfp_machine_header.
7868 * configure: Regenerate.
7869
569dc494
RO
78702011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7871
7872 * Makefile.in (double_type_size, long_double_type_size): Set.
7873 Remove $(fpbit-in-libgcc) support.
7874 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7875 (fpbit-src): New variable.
7876 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7877 Compile with -DFLOAT $(FPBIT_CFLAGS).
7878 Use $<.
7879 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7880 Compile with $(FPBIT_CFLAGS).
7881 Use $<.
7882 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7883 Compile with -DFLOAT $(TPBIT_CFLAGS).
7884 Use $<.
7885 * configure.ac (double_type_size, long_double_type_size):
7886 Determine and substitute.
7887 * configure: Regenerate.
7888 * fp-bit.c, fp-bit.h: New files.
7889 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7890 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7891 * config/mips/t-mips: New file.
7892 * config/mips/t-sdemtk: New file.
7893 * config/rs6000/ppc64-fp.c: New file.
7894 * config/rs6000/t-darwin (LIB2ADD): Add
7895 $(srcdir)/config/rs6000/ppc64-fp.c.
7896 * config/rs6000/t-ppc64-fp: New file.
7897 * config/rx/rx-lib.h: New file.
7898 * config/rx/t-rx (FPBIT): Set to true.
7899 ($(gcc_objdir)/fp-bit.c): Remove.
7900 (DPBIT): Set to true only with -m64bit-doubles.
7901 ($(gcc_objdir)/dp-bit.c): Remove.
7902 * config/sparc/t-softfp: Remove.
7903 * config/spu/t-elf: New file.
7904 * config/t-fdpbit, config/t-fpbit: New files.
7905 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7906 (mips*-*-*): Likewise.
7907 (arm-wrs-vxworks): Likewise.
7908 (arm*-*-freebsd*): Likewise.
7909 (avr-*-rtems*): Add t-fpbit to tmake_file.
7910 (avr-*-*): Likewise.
7911 (bfin*-elf*): Add t-fdpbit to tmake_file.
7912 (bfin*-uclinux*): Likewise.
7913 (bfin*-linux-uclibc*): Likewise.
7914 (bfin*-rtems*): New case.
7915 Add t-fdpbit to tmake_file.
7916 (bfin*-*): Add t-fdpbit to tmake_file.
7917 (crisv32-*-elf): Likewise.
7918 (cris-*-linux*): Likewise.
7919 (fr30-*-elf): Likewise.
7920 (frv-*-elf, frv-*-*linux*): Likewise.
7921 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7922 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7923 (m32r-*-elf*): Likewise.
7924 (m32rle-*-elf*): Likewise.
7925 (m32r-*-linux*): Likewise.
7926 (m32rle-*-linux*): Likewise.
7927 (mcore-*-elf): Add t-fdpbit to tmake_file.
7928 (microblaze*-*-*): Likewise.
7929 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7930 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7931 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7932 Fix typo.
7933 Add mips/t-tpbit to tmake-file.
7934 (mips*-*-linux*): Fix typo.
7935 (mips*-sde-elf*): New case
7936 Add mips/t-sdemtk unless using newlib.
7937 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7938 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7939 (mn10300-*-*): Likewise.
7940 (pdp11-*-*): Likewise.
7941 (picochip-*-*): Add t-fpbit to tmake_file.
7942 (powerpc-*-eabisimaltivec*): Likewise.
7943 (powerpc-*-eabisim*): Likewise.
7944 (powerpc-*-elf*): Likewise.
7945 (powerpc-*-eabialtivec*): Likewise.
7946 (powerpc-xilinx-eabi*): New case.
7947 Add t-fdpbit to tmake_file.
7948 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7949 (powerpc-*-rtems*): Likewise.
7950 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7951 tmake_file.
7952 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7953 tmake_file.
7954 (powerpc-*-lynxos*): Likewise.
7955 (powerpcle-*-elf*): Likewise.
7956 (powerpcle-*-eabisim*): Likewise.
7957 (powerpcle-*-eabi*): Likewise.
7958 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7959 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7960 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7961 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7962 (rx-*-elf): Add t-fdpbit to tmake_file.
7963 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7964 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7965 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7966 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7967 sh*-*-netbsd*.
7968 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7969 (sh-wrs-vxworks): Likewise.
7970 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7971 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7972 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7973 (sparc64-*-rtems*): ... new case.
7974 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7975 (spu-*-elf*): Likewise.
7976 Add spu/t-elf to tmake_file.
7977 (v850*-*-*): Add t-fdpbit to tmake_file.
7978 (xstormy16-*-elf): Likewise.
7979 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7980 (mep*-*-*): Likewise.
7981
201cdb74
RO
79822011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7983
7984 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7985 variables.
7986 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7987 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7988 (install-unwind_h): New target.
7989 (all): Depend on it.
7990 * config.host (unwind_header): New variable.
7991 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7992 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7993 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7994 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7995 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7996 Set unwind_header.
7997 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7998 Set unwind_header.
7999 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8000 arm*-*-eabi*.
8001 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8002 Set unwind_header.
8003 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8004 (ia64*-*-freebsd*): Likewise.
8005 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8006 tmake_file.
8007 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8008 $with_system_libunwind.
8009 (ia64*-*-hpux*): Set tmake_file.
8010 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8011 (picochip-*-*): Set tmake_file.
8012 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8013 md_unwind_header.
8014 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8015 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8016 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8017 (xtensa*-*-elf*): Set tmake_file.
8018 (xtensa*-*-linux*): Likewise.
8019 * configure.ac: Include ../config/unwind_ipinfo.m4.
8020 Call GCC_CHECK_UNWIND_GETIPINFO.
8021 Link unwind.h to $unwind_header.
8022 * configure: Regenerate.
8023 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8024 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8025 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8026 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8027 * config/unwind-dw2-fde-darwin.c: New file.
8028 * config/arm/libunwind.S, config/arm/pr-support.c,
8029 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8030 config/arm/unwind-arm.h,: New files.
8031 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8032 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8033 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8034 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8035 config/ia64/unwind-ia64.h: New files.
8036 * config/picochip/t-picochip: New file.
8037 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8038 files.
8039 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8040 * config/s390/t-tpf (LIB2ADDEH): Remove.
8041 * config/t-darwin (LIB2ADDEH): Set.
8042 * config/t-eh-dw2-dip: New file.
8043 * config/t-libunwind, config/t-libunwind-elf: New files.
8044 * config/t-sol2 (LIB2ADDEH): Remove.
8045 * config/xtensa/t-xtensa: New file.
8046
40f2f11f
L
80472011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8048
8049 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8050 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8051 long long to check rt_sigreturn syscall.
8052
bd15e32c
AM
80532011-08-02 Alan Modra <amodra@gmail.com>
8054
8055 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8056 Restore for indirect call bcrtl from correct stack slot, and only
8057 if cfa+40 isn't valid.
8058
655b30bf
JB
80592011-08-01 Julian Brown <julian@codesourcery.com>
8060
8061 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8062 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8063 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8064
247eb06f
JB
80652011-08-01 Julian Brown <julian@codesourcery.com>
8066
8067 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8068 (libgcc-std.ver.in): Use above.
8069 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8070 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8071 throughout file.
8072 * config/t-fixedpoint-gnu-prefix: New file.
8073 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8074 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8075 instead of __PFX__.
8076
02a8fe00
L
80772011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8078
8079 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8080 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8081 for x86-64. Properly check __x86_64__ and __LP64__.
8082
5fce9126
L
80832010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8084
8085 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8086 version.
8087 (_FP_WS_TYPE): Likewise.
8088 (_FP_I_TYPE): Likewise.
8089
2374a88a
AM
80902011-07-28 Alan Modra <amodra@gmail.com>
8091
8092 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8093 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8094 in a plt call stub. Do restore r2 if stopped on bctrl.
8095
e44dbbe1
RO
80962011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8097
8098 * config.host (i[3456x]86-*-netware*): Remove.
8099 * config/i386/netware-crt0.c, config/i386/t-nwld,
8100 config/i386/t-slibgcc-nwld: Remove.
8101
bcead286
BS
81022011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8103
8104 * config.host: Handle tic6x-*-*.
8105 * config/c6x/c6x-abi.h: New file.
8106
b3fe1584
RO
81072011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8108
8109 * config/i386/crtprec.c: New file.
8110 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8111 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8112 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8113 (x86_64-*-darwin*): Likewise.
8114 (i[34567]86-*-solaris2*: Likewise.
8115
35d8090d
RO
81162011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8117
8118 * config/alpha/crtfastmath.c: New file.
8119 * config/i386/crtfastmath.c: New file.
8120 * config/ia64/crtfastmath.c: New file.
8121 * config/mips/crtfastmath.c: New file.
8122 * config/sparc/crtfastmath.c: New file.
8123
8124 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8125 crtfastmath.c.
8126 Add -frandom-seed=gcc-crtfastmath.
8127 * config/alpha/t-crtfm: Remove.
8128 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8129 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8130
8131 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8132 (alpha*-dec-osf5.1*): Likewise.
8133 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8134 Add crtfastmath.o to extra_parts.
8135 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8136 Add crtfastmath.o to extra_parts.
8137 (x86_64-*-darwin*): Likewise.
8138 (x86_64-*-mingw*): Likewise.
8139 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8140 (ia64*-*-freebsd*): Likewise.
8141 (ia64*-*-linux*): Likewise.
8142 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8143 Add crtfastmath.o to extra_parts.
8144
e141542e
RO
81452011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8146
8147 * config/darwin-crt3.o: New file.
8148 * config/rs6000/darwin-crt2.c: New file.
8149 * config/t-darwin: New file.
8150 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8151 (crt2.o): New rule.
8152 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8153 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8154 (powerpc64-*-darwin*): Likewise.
8155
2d1efe2d
RO
81562011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8157
8158 * config/i386/netware-crt0.c: New file.
8159 * config/i386/t-nwld: Rename to ...
8160 * config/i386/t-slibgcc-nwld: ... this.
8161 * config/i386/t-nwld: New file.
8162 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8163 tmake_file.
8164 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8165 extra_parts.
8166
4a8bb046
RO
81672011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8168
8169 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8170 i386/t-crtstuff.
8171 * configure: Regenerate.
8172
2d8d5935
RO
81732011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8174
8175 * dfp-bit.c, dfp-bit.h: New files.
8176 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8177 variables.
8178 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8179 ($(d64pbit-o)): Likewise.
8180 ($(d128pbit-o)): Likewise.
8181 * config/t-dfprules: New file.
8182 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8183 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8184 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8185 (x86_64-*-linux*): Likewise.
8186 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8187 (i[34567]86-*-cygwin*): Likewise.
8188 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8189 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8190
2c50b2c3
RO
81912011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8192
8193 * Makfile.in (LIBGCOV): New variable.
8194 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8195 * libgcov.c: New file.
8196
a039d7c2
RO
81972011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8198
8199 * fixed-bit.c, fixed-bit.h: New files.
8200 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8201 refer to fixed-bit.c.
8202
1e4b2746
JM
82032011-07-07 Joseph Myers <joseph@codesourcery.com>
8204
8205 * config.host (*local*): Remove.
8206
fbdd5d87
RO
82072011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8208
8209 PR target/39150
8210 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8211 like i?86-*-solaris2.1[0-9]*.
8212 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8213 * configure.ac (i?86-*-solaris2*): Likewise.
8214 * configure: Regenerate.
8215
9e7714f4
TS
82162011-07-06 Thomas Schwinge <thomas@schwinge.name>
8217
8218 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8219 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8220 md_unwind_header by splitting out of...
8221 (i[34567]86-*-linux*): ... this.
8222 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8223 Remove md_unwind_header by splitting out of...
8224 (x86_64-*-linux*): ... this.
8225
6dab9931
GJL
82262011-07-04 Georg-Johann Lay <avr@gjlay.de>
8227
8228 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8229
4be46d19
NC
82302011-06-28 Nick Clifton <nickc@redhat.com>
8231
8232 * config.host: Recognize all V850 variants.
8233
1da9434b
UB
82342011-06-22 Uros Bizjak <ubizjak@gmail.com>
8235
8236 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8237
e4d48a4d
RO
82382011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8239
8240 * shared-object.mk (c_flags-$o): Save c_flags.
8241 ($(base)$(objext)): Use it.
8242 ($(base)_s$(objext)): Likewise.
8243
3801c801
BS
82442011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8245
8246 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8247 * libgcc-std.ver.in (GCC_4.7.0): New section.
8248
0ad8bb3b 82492011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8250
0ad8bb3b
GJL
8251 PR target/49313
8252 PR target/29524
8253 * config/avr/t-avr: Fix line endings.
8254 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8255 _parityXX2.
8256
ea963999
OH
82572011-06-14 Olivier Hainque <hainque@adacore.com>
8258 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8259
8260 * config/mips/irix6-unwind.h: New file.
8261 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8262
b11b0904
EB
82632011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8264
8265 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8266 (sparc64_fallback_frame_state): Use it.
8267 (sparc64_frob_update_context): Further adjust context.
8268 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8269 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8270 * config/sparc/sol2-cn.S: Likewise.
8271
10e48e39
RO
82722011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8273
8274 * enable-execute-stack-empty.c: New file.
8275 * enable-execute-stack-mprotect.c: New file.
8276 * config/i386/enable-execute-stack-mingw32.c: New file.
8277 * config.host (enable_execute_stack): New variable.
8278 Select appropriate variants.
8279 * configure.ac: Link enable-execute-stack.c to
8280 $enable_execute_stack.
8281 * configure: Regenerate.
8282 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8283 (lib2funcs): Remove _enable_execute_stack.
8284
10c4cabc
DM
82852011-06-09 David S. Miller <davem@davemloft.net>
8286 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8287
8288 * config.host (sparc-*-linux*): Correct md_unwind_header
8289 filename.
8290 (s390x-ibm-tpf*): Fix typo.
8291
aa4203e7
RO
82922011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8293
8294 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8295 Add crtfastmath.o to extra_parts.
8296 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8297 mips/t-crtfm.
8298 * config/mips/t-crtfm: Remove.
8299
0defd786
JDA
83002011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8301
8302 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8303
82f247af
KK
83042011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8305
8306 * config.host (sh*-*-linux*): Fix typo.
8307
58cd1d70
RO
83082011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8309
8310 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8311 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8312 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8313 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8314 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8315 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8316 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8317 Wrap in !__MINGW64__.
8318 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8319 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8320 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8321 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8322 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8323 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8324 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8325 Wrap in !__LP64__.
8326 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8327 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8328 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8329 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8330 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8331 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8332 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8333 * config/no-unwind.h: New file.
8334 * config.host (md_unwind_header): Document.
8335 Define.
8336 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8337 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8338 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8339 hppa[12]*-*-hpux11*): Set md_unwind_header.
8340 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8341 Set md_unwind_header.
8342 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8343 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8344 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8345 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8346 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8347 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8348 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8349 md_unwind_header.
8350 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8351 * configure: Regenerate.
8352
737346fa
RO
83532011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8354
8355 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8356 Set tmake_file, extra_parts.
8357 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8358 Remove O32 support.
8359 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8360 Remove O32 support.
8361 * config/mips/t-irix6: New file.
8362 * config/mips/t-slibgcc-irix: New file.
8363
c192cee6
RO
83642011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8365
8366 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8367 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8368
ee33b5f0
RO
83692011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8370
8371 * configure.ac (target_thread_file): Determine thread model.
8372 * configure: Regenerate.
8373 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8374 * config/alpha/t-alpha: New file.
8375 * config/alpha/t-crtfm: Use $<.
8376 * config/alpha/t-ieee: New file.
8377 * config/alpha/t-osf-pthread: New file.
8378 * config/alpha/t-slibgcc-osf: New file.
8379 * config/alpha/libgcc-osf5.ver: New file.
8380
0699e415
RO
83812011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8382
8383 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8384 tmake_file.
8385 Add crtfastmath.o to extra_parts.
8386
a3fab9c2
RO
83872011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8388
8389 * config/gmon-sol2.c: Reindent.
8390 Cleanup comments.
8391 Remove, correct casts.
8392 Use STDERR_FILENO, NULL.
8393 (BASEADDRESS): Remove.
8394 (minbrk): Remove.
8395 (errno, sbrk): Remove declarations.
8396 (monstartup) [hp300]: Remove.
8397 (mcount): Remove.
8398
ca24c5ad
RO
83992011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8400
8401 * Makefile.in (cpu_type): Define.
8402 * config.host (i[34567]86-*-rtems*): Handle it.
8403 (i[34567]86-*-solaris2*): Move body ...
8404 (*-*-solaris2*): ... here.
8405 New case, generalize.
8406 (sparc-*-elf*): Handle it.
8407 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8408 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8409 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8410 Fold into ...
8411 (sparc*-*-solaris2*): ... this.
8412 New case.
8413 (sparc64-*-elf*): Handle it.
8414 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8415 Merge ../gcc/config/i386/gmon-sol2.c.
8416 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8417 Use C comments.
8418 Merge ../gcc/config/i386/sol2-gc1.asm.
8419 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8420 Use C comments.
8421 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8422 Use C comments.
8423 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8424 * config/i386/t-crtstuff: New file.
8425 * config/i386/t-softfp: New file.
8426 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8427 $(T)crti.o, $(T)crtn.o): Remove.
8428 (gcrt1.o): New rule.
8429 (TARGET_LIBGCC2_CFLAGS): Remove.
8430 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8431 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8432 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8433 * config/sparc/t-sol2: New file.
8434 * config/sparc/t-crtfm: Move to ...
8435 * config/t-crtfm: ... this.
8436 Use $(cpu_type), $<.
8437 * config/t-crtin: New file.
8438 * config/sparc/t-softfp: New file.
8439 * config/sparc/t-softmul: New file.
8440 * config/t-rtems: New file.
8441 * config/t-slibgcc: New file.
8442 * config/t-slibgcc-elf-ver: New file.
8443 * config/t-slibgcc-gld: New file.
8444 * config/t-slibgcc-sld: New file.
8445 * config/t-sol2: New file.
8446 * configure.ac: Include ../config/lib-ld.m4.
8447 Call AC_LIB_PROG_LD_GNU.
8448 Substitute cpu_type.
8449 * configure: Regenerate.
8450
ad5f3d7b
BS
84512011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8452
8453 PR bootstrap/49173
8454 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8455 libgcc-std.ver in the build directory.
8456 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8457 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8458
cdbf4541
BS
84592011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8460
8461 * libgcc-std.ver.in: New file.
8462 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8463 variables.
8464 (libgcc-std.ver): New rule.
8465 * config/t-gnu-prefix: New file.
8466
c8028650
RO
84672011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8468
8469 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8470
4a68b4ca
JM
84712011-05-10 Joseph Myers <joseph@codesourcery.com>
8472
8473 * config/i386/darwin-lib.h: New file.
8474
80cf2e08
JM
84752011-05-10 Joseph Myers <joseph@codesourcery.com>
8476
8477 * config/arm/symbian-lib.h: New.
8478
a3330c9d
CD
84792011-05-04 Chris Demetriou <cgd@google.com>
8480
8481 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8482 (__x86.get_pc_thunk.bx): ...this.
8483 (__morestack): Adjust for rename, remove undef of __i686.
8484
6ace0756
CD
84852011-05-03 Chris Demetriou <cgd@google.com>
8486
8487 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8488
ebb9f8b0
JM
84892011-03-22 Joseph Myers <joseph@codesourcery.com>
8490
8491 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8492 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8493 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8494 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8495 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8496 Remove cases.
8497
9cfa1499
AT
84982011-03-14 Andreas Tobler <andreast@fgznet.ch>
8499
8500 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8501 Adjust copyright year.
8502
457186f6
ILT
85032011-03-07 Ian Lance Taylor <iant@google.com>
8504
8505 * generic-morestack.c (__splitstack_find): Adjust returned stack
8506 pointer to include all registers pushed by __morestack.
8507
58c741a6
DK
85082011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8509
8510 PR target/40125
8511 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8512 (toolexecdir): Calculate and AC_SUBST.
8513 (toolexeclibdir): Likewise.
8514 * Makefile.in (target_noncanonical): Import.
8515 (toolexecdir): Likewise.
8516 (toolexeclibdir): Likewise.
8517 * configure: Regenerate.
8518
26716c44
NF
85192010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8520
8521 PR target/46040
8522 * config/arm/bpabi.h: Rename to...
8523 * config/arm/bpabi-lib.h: ...this.
8524
b595b1a1
RO
85252010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8526
8527 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8528 appropriate.
8529 * configure: Regenerate.
8530
a3abe41c
NF
85312010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8532
8533 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8534 __FLOAT_WORD_ORDER__.
8535 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8536 Delete.
8537
455c8f48
RW
85382010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8539
8540 PR other/46202
8541 * Makefile.in (install-strip): New phony target.
8542
f3824a8b
ILT
85432010-11-07 Ian Lance Taylor <iant@google.com>
8544
8545 PR target/46089
8546 * config/i386/morestack.S (__morestack_large_model): New
8547 function.
8548
18ed6ee4
NF
85492010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8550
8551 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8552 Delete.
8553 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8554
8ac7fdcb
NF
85552010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8556
8557 * config/arm/bpabi.h: New file.
8558 * config/frv/frv-abi.h: New file.
8559
cdb388c2
ILT
85602010-10-01 Ian Lance Taylor <iant@google.com>
8561
8562 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8563 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8564
ef7c141c
L
85652010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8566
8567 PR target/45858
8568 * config.host: Add the missing `$'.
8569
80920132
ME
85702010-09-30 Michael Eager <eager@eagercon.com>
8571
8572 * config.host: Add microblaze*-*-*.
8573 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8574 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8575 udivsi3.asm,umodsi3.asm}: New.
8576
6dace308
ILT
85772010-09-28 Ian Lance Taylor <iant@google.com>
8578
8579 * configure.ac: Adjust CFI test to test assembler directly rather
8580 than checking gcc preprocessor macro.
8581 * configure: Rebuild.
8582
b6110d6d
ILT
85832010-09-27 Ian Lance Taylor <iant@google.com>
8584
8585 * configure.ac: Test whether assembler supports CFI directives.
8586 * config.host: Only add t-stack and i386/t-stack-i386 to
8587 tmake_file if libgcc_cv_cfi is "yes".
8588 * configure: Rebuild.
8589
7458026b
ILT
85902010-09-27 Ian Lance Taylor <iant@google.com>
8591
8592 * generic-morestack.h: New file.
8593 * generic-morestack.c: New file.
8594 * generic-morestack-thread.c: New file.
8595 * config/i386/morestack.S: New file.
8596 * config/t-stack: New file.
8597 * config/i386/t-stack-i386: New file.
8598 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8599 i386/t-stack-i386 to tmake_file.
8600
5b50fc0c
IS
86012010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8602
8603 * Makefile.in (libgcc-extra-parts): Check for static archives and
8604 invoke ranlib after installing them.
8605 (gcc-extra-parts): Likewise.
8606 (install-leaf): Likewise.
8607
b93cf342
L
86082010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8609
8610 * configure: Regenerated.
8611
996b42ef
KT
86122010-09-10 Kai Tietz <kai.tietz@onevision.com>
8613
b93cf342 8614 * configure: Regenerated.
996b42ef 8615
be1c764e
GP
86162010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8617 Andrew Pinski <pinskia@gmail.com>
8618
1da9434b 8619 PR target/40959
be1c764e
GP
8620 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8621
cc0ae0ca
L
86222010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8623
8624 PR target/45524
8625 * configure: Regenerated.
8626
84f47d20
AS
86272010-09-06 Andreas Schwab <schwab@redhat.com>
8628
8629 * configure: Regenerate.
8630
4159fb8d
UB
86312010-09-03 Uros Bizjak <ubizjak@gmail.com>
8632
8633 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8634 64bit targets.
8635 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8636 for 64bit targets.
8637
0df8fcc8
UB
86382010-09-03 Uros Bizjak <ubizjak@gmail.com>
8639 Iain Sandoe <iains@gcc.gnu.org>
8640
8641 PR target/45476
8642 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8643 LIB2FUNCS_EXCLUDE functions.
8644
3c39bca6
AK
86452010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8646
8647 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8648 Include dfp.m4.
8649 * configure: Regenerate.
8650
d78552bd
UB
86512010-09-01 Uros Bizjak <ubizjak@gmail.com>
8652
8653 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8654 i386/t-freebsd to tmake_file.
8655 * config/i386/t-freebsd: New file.
8656 * config/i386/libgcc-bsd.ver: New file.
8657
c5b79d4e
NF
86582010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8659
8660 * config.host (powerpc*-eabispe*): Set tmake_file.
8661 (powerpc*-eabi*): Likewise.
8662 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8663 crtbeginS, crtendS, crtbeginT.
8664
48b09a92
KH
86652010-06-12 Kazu Hirata <kazu@codesourcery.com>
8666
8667 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8668 to tmake_file. Add crtfastmath.o to extra_parts.
8669 * config/mips/t-crtfm: New.
8670
7d296953 86712010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
8672
8673 * config.host (sparc64-*-rtems*): New target.
8674
ed104137
RO
86752010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8676
8677 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8678 assembler syntax.
8679
3f56ef8b
TS
86802010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8681
8682 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8683
8c200350
RO
86842010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8685
8686 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8687 alpha-dec-osf5.0* support.
8688
7d296953 86892010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
8690
8691 * config.host: Add lm32-*-rtems*.
8692
f128db92 86932010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 8694 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
8695
8696 PR target/39048
8697 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8698 like other remaining 32-bit x86 OSes.
8699 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8700 assembler syntax.
8701 * config/i386/libgcc-sol2.ver: New file.
8702 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8703
7d296953 87042010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
8705
8706 PR c/43553
8707 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8708 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8709 is used and substitute set_use_emutls.
8710 * configure: Regenerated.
8711
15baf7f8
TG
87122010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8713
8714 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8715
7f5441df
RO
87162010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8717
8718 PR target/38085
8719 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8720 MULTILIB_CFLAGS.
8721 ($(T)gcrt1.o): Likewise.
8722 ($(T)crt1.o): Likewise.
8723 ($(T)crti.o): Likewise.
8724 ($(T)crtn.o): Likewise.
8725
ef74edbd
RW
87262010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8727
8728 PR other/42980
8729 * Makefile.in (install): Use $(MAKE) string in rule, for
8730 parallel make.
8731
e7c914db
HPN
87322010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8733
8734 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8735 * config/mmix/t-mmix: New file.
8736 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8737
1bcb71c4
JH
87382010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8739
8740 PR java/41991
8741 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8742 SHLIB_MAPFILES.
8743
e6e50811
AG
87442010-01-04 Anthony Green <green@moxielogic.com>
8745
8746 * config/moxie/crti.asm, config/moxie/crtn.asm,
8747 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8748 config/moxie/t-moxie: New files.
8749 * config.host: Add t-moxie-softfp reference.
8750
7d296953 87512009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
8752
8753 PR other/39888
8754 * config/t-slibgcc-darwin: Fix embedded rpaths for
8755 --enable-version-specific-runtime-libs, build extension stub
8756 libs exposing features available from current libgcc_s.
8757
7d296953 87582009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 8759
d78552bd
UB
8760 * config.host: Add lm32 targets.
8761 * config/lm32: New directory.
8762 * config/lm32/libgcc_lm32.h: New file.
8763 * config/lm32/_mulsi3.c: New file.
8764 * config/lm32/_udivmodsi4.c: New file.
8765 * config/lm32/_divsi3.c: New file.
8766 * config/lm32/_modsi3.c: New file.
8767 * config/lm32/_udivsi3.c: New file.
8768 * config/lm32/_umodsi3.c: New file.
8769 * config/lm32/_lshrsi3.S: New file.
8770 * config/lm32/_ashrsi3.S: New file.
8771 * config/lm32/_ashlsi3.S: New file.
8772 * config/lm32/crti.S: New file.
8773 * config/lm32/crtn.S: New file.
8774 * config/lm32/t-lm32: New file.
8775 * config/lm32/t-elf: New file.
8776 * config/lm32/t-uclinux: New file.
aa4945c1 8777
65a324b4
NC
87782009-10-26 Nick Clifton <nickc@redhat.com>
8779
8780 * config.host: Add support for RX target.
8781 * config/rx: New directory.
8782 * config/rx/rx-abi-functions.c: New file. Supplementary
8783 functions for libgcc to support the RX ABI.
8784 * config/rx/rx-abi.h: New file. Supplementary header file for
8785 libgcc RX ABI functions.
8786 * config/rx/t-rx: New file: Makefile fragment for building
8787 libgcc for the RX.
8788
dfb3b0e3
UB
87892009-10-09 Uros Bizjak <ubizjak@gmail.com>
8790
8791 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8792 constraint of y0 to "g".
8793
81dd9fd7
AK
87942009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8795
8796 * config.host: Include the s390 makefile fragments.
8797 * config/s390/32/_fixdfdi.c: New file.
8798 * config/s390/32/_fixsfdi.c: New file.
8799 * config/s390/32/_fixtfdi.c: New file.
8800 * config/s390/32/_fixunsdfdi.c: New file.
8801 * config/s390/32/_fixunssfdi.c: New file.
8802 * config/s390/32/_fixunstfdi.c: New file.
8803 * config/s390/32/t-floattodi: New file.
8804 * config/s390/libgcc-glibc.ver: New file.
8805 * config/s390/t-crtstuff: New file.
8806 * config/s390/t-linux: New file.
8807 * config/s390/t-tpf: New file.
8808
df58e648
RW
88092009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8810
8811 * configure.ac (AC_PREREQ): Bump to 2.64.
8812
79052be3
KK
88132009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8814
8815 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8816
5213506e
RW
88172009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8818
8819 * configure: Regenerate.
8820
a9a25daa
DR
88212009-08-09 Douglas B Rupp <rupp@gnat.com>
8822
8823 * config.host (ia64-hp-*vms*): New target.
8824 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8825 with ia64-hp-*vms*.
8826
6efbd53f
RW
88272009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8828
8829 * configure.ac: Add snippet for maintainer-mode.
8830 * configure: Regenerate.
8831 * Makefile.in (AUTOCONF, configure_deps): New variables.
8832 ($(srcdir)/configure)): New rule, active only with maintainer
8833 mode turned on.
8834
7acf4da6
DD
88352009-06-23 DJ Delorie <dj@redhat.com>
8836
8837 Add MeP port.
8838 * config.host: Add mep support.
8839
54f549af
KT
88402009-06-22 Kai Tietz <kai.tietz@onevision.com>
8841
34481f28 8842 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8843 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
8844
8845 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8846 for mingw targets.
54f549af
KT
8847 * config/i386/64/_multc3.c: Likewise.
8848 * config/i386/64/_powitf2.c: Likewise.
8849 * config/i386/64/eqtf2.c: Likewise.
8850 * config/i386/64/getf2.c: Likewise.
8851 * config/i386/64/letf2.c: Likewise.
8852 * config/i386/64/letf2.c: Likewise.
34481f28
UB
8853 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8854 unsigned long long for x64 mingw targets.
8855 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8856 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 8857
fea96e25
MR
88582009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8859
8860 * config.host (vax-*-linux*): New.
8861
cceb575c
AG
88622009-05-31 Anthony Green <green@moxielogic.com>
8863
8864 * config.host: Add moxie support.
8865 * config/moxie/t-moxie: New file.
8866
7d296953 88672009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
8868
8869 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8870 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 8871
532bfb0a
AJ
88722009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8873
8874 * config.host: Add i386/${host_address}/t-fprules-softfp to
8875 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8876
748086b7
JJ
88772009-04-09 Nick Clifton <nickc@redhat.com>
8878
8879 * config/ia64/tf-signs.c: Change copyright header to refer to
8880 version 3 of the GNU General Public License with version 3.1
8881 of the GCC Runtime Library Exception and to point readers at
8882 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8883 web page.
8884 * config/i386/32/tf-signs.c: Likewise.
8885 * config/libbid/_addsub_dd.c: Likewise.
8886 * config/libbid/_addsub_sd.c: Likewise.
8887 * config/libbid/_addsub_td.c: Likewise.
8888 * config/libbid/_dd_to_df.c: Likewise.
8889 * config/libbid/_dd_to_di.c: Likewise.
8890 * config/libbid/_dd_to_sd.c: Likewise.
8891 * config/libbid/_dd_to_sf.c: Likewise.
8892 * config/libbid/_dd_to_si.c: Likewise.
8893 * config/libbid/_dd_to_td.c: Likewise.
8894 * config/libbid/_dd_to_tf.c: Likewise.
8895 * config/libbid/_dd_to_udi.c: Likewise.
8896 * config/libbid/_dd_to_usi.c: Likewise.
8897 * config/libbid/_dd_to_xf.c: Likewise.
8898 * config/libbid/_df_to_dd.c: Likewise.
8899 * config/libbid/_df_to_sd.c: Likewise.
8900 * config/libbid/_df_to_td.c: Likewise.
8901 * config/libbid/_di_to_dd.c: Likewise.
8902 * config/libbid/_di_to_sd.c: Likewise.
8903 * config/libbid/_di_to_td.c: Likewise.
8904 * config/libbid/_div_dd.c: Likewise.
8905 * config/libbid/_div_sd.c: Likewise.
8906 * config/libbid/_div_td.c: Likewise.
8907 * config/libbid/_eq_dd.c: Likewise.
8908 * config/libbid/_eq_sd.c: Likewise.
8909 * config/libbid/_eq_td.c: Likewise.
8910 * config/libbid/_ge_dd.c: Likewise.
8911 * config/libbid/_ge_sd.c: Likewise.
8912 * config/libbid/_ge_td.c: Likewise.
8913 * config/libbid/_gt_dd.c: Likewise.
8914 * config/libbid/_gt_sd.c: Likewise.
8915 * config/libbid/_gt_td.c: Likewise.
8916 * config/libbid/_isinfd128.c: Likewise.
8917 * config/libbid/_isinfd32.c: Likewise.
8918 * config/libbid/_isinfd64.c: Likewise.
8919 * config/libbid/_le_dd.c: Likewise.
8920 * config/libbid/_le_sd.c: Likewise.
8921 * config/libbid/_le_td.c: Likewise.
8922 * config/libbid/_lt_dd.c: Likewise.
8923 * config/libbid/_lt_sd.c: Likewise.
8924 * config/libbid/_lt_td.c: Likewise.
8925 * config/libbid/_mul_dd.c: Likewise.
8926 * config/libbid/_mul_sd.c: Likewise.
8927 * config/libbid/_mul_td.c: Likewise.
8928 * config/libbid/_ne_dd.c: Likewise.
8929 * config/libbid/_ne_sd.c: Likewise.
8930 * config/libbid/_ne_td.c: Likewise.
8931 * config/libbid/_sd_to_dd.c: Likewise.
8932 * config/libbid/_sd_to_df.c: Likewise.
8933 * config/libbid/_sd_to_di.c: Likewise.
8934 * config/libbid/_sd_to_sf.c: Likewise.
8935 * config/libbid/_sd_to_si.c: Likewise.
8936 * config/libbid/_sd_to_td.c: Likewise.
8937 * config/libbid/_sd_to_tf.c: Likewise.
8938 * config/libbid/_sd_to_udi.c: Likewise.
8939 * config/libbid/_sd_to_usi.c: Likewise.
8940 * config/libbid/_sd_to_xf.c: Likewise.
8941 * config/libbid/_sf_to_dd.c: Likewise.
8942 * config/libbid/_sf_to_sd.c: Likewise.
8943 * config/libbid/_sf_to_td.c: Likewise.
8944 * config/libbid/_si_to_dd.c: Likewise.
8945 * config/libbid/_si_to_sd.c: Likewise.
8946 * config/libbid/_si_to_td.c: Likewise.
8947 * config/libbid/_td_to_dd.c: Likewise.
8948 * config/libbid/_td_to_df.c: Likewise.
8949 * config/libbid/_td_to_di.c: Likewise.
8950 * config/libbid/_td_to_sd.c: Likewise.
8951 * config/libbid/_td_to_sf.c: Likewise.
8952 * config/libbid/_td_to_si.c: Likewise.
8953 * config/libbid/_td_to_tf.c: Likewise.
8954 * config/libbid/_td_to_udi.c: Likewise.
8955 * config/libbid/_td_to_usi.c: Likewise.
8956 * config/libbid/_td_to_xf.c: Likewise.
8957 * config/libbid/_tf_to_dd.c: Likewise.
8958 * config/libbid/_tf_to_sd.c: Likewise.
8959 * config/libbid/_tf_to_td.c: Likewise.
8960 * config/libbid/_udi_to_dd.c: Likewise.
8961 * config/libbid/_udi_to_sd.c: Likewise.
8962 * config/libbid/_udi_to_td.c: Likewise.
8963 * config/libbid/_unord_dd.c: Likewise.
8964 * config/libbid/_unord_sd.c: Likewise.
8965 * config/libbid/_unord_td.c: Likewise.
8966 * config/libbid/_usi_to_dd.c: Likewise.
8967 * config/libbid/_usi_to_sd.c: Likewise.
8968 * config/libbid/_usi_to_td.c: Likewise.
8969 * config/libbid/_xf_to_dd.c: Likewise.
8970 * config/libbid/_xf_to_sd.c: Likewise.
8971 * config/libbid/_xf_to_td.c: Likewise.
8972 * config/libbid/bid128.c: Likewise.
8973 * config/libbid/bid128_2_str.h: Likewise.
8974 * config/libbid/bid128_2_str_macros.h: Likewise.
8975 * config/libbid/bid128_2_str_tables.c: Likewise.
8976 * config/libbid/bid128_add.c: Likewise.
8977 * config/libbid/bid128_compare.c: Likewise.
8978 * config/libbid/bid128_div.c: Likewise.
8979 * config/libbid/bid128_fma.c: Likewise.
8980 * config/libbid/bid128_logb.c: Likewise.
8981 * config/libbid/bid128_minmax.c: Likewise.
8982 * config/libbid/bid128_mul.c: Likewise.
8983 * config/libbid/bid128_next.c: Likewise.
8984 * config/libbid/bid128_noncomp.c: Likewise.
8985 * config/libbid/bid128_quantize.c: Likewise.
8986 * config/libbid/bid128_rem.c: Likewise.
8987 * config/libbid/bid128_round_integral.c: Likewise.
8988 * config/libbid/bid128_scalb.c: Likewise.
8989 * config/libbid/bid128_sqrt.c: Likewise.
8990 * config/libbid/bid128_string.c: Likewise.
8991 * config/libbid/bid128_to_int16.c: Likewise.
8992 * config/libbid/bid128_to_int32.c: Likewise.
8993 * config/libbid/bid128_to_int64.c: Likewise.
8994 * config/libbid/bid128_to_int8.c: Likewise.
8995 * config/libbid/bid128_to_uint16.c: Likewise.
8996 * config/libbid/bid128_to_uint32.c: Likewise.
8997 * config/libbid/bid128_to_uint64.c: Likewise.
8998 * config/libbid/bid128_to_uint8.c: Likewise.
8999 * config/libbid/bid32_to_bid128.c: Likewise.
9000 * config/libbid/bid32_to_bid64.c: Likewise.
9001 * config/libbid/bid64_add.c: Likewise.
9002 * config/libbid/bid64_compare.c: Likewise.
9003 * config/libbid/bid64_div.c: Likewise.
9004 * config/libbid/bid64_fma.c: Likewise.
9005 * config/libbid/bid64_logb.c: Likewise.
9006 * config/libbid/bid64_minmax.c: Likewise.
9007 * config/libbid/bid64_mul.c: Likewise.
9008 * config/libbid/bid64_next.c: Likewise.
9009 * config/libbid/bid64_noncomp.c: Likewise.
9010 * config/libbid/bid64_quantize.c: Likewise.
9011 * config/libbid/bid64_rem.c: Likewise.
9012 * config/libbid/bid64_round_integral.c: Likewise.
9013 * config/libbid/bid64_scalb.c: Likewise.
9014 * config/libbid/bid64_sqrt.c: Likewise.
9015 * config/libbid/bid64_string.c: Likewise.
9016 * config/libbid/bid64_to_bid128.c: Likewise.
9017 * config/libbid/bid64_to_int16.c: Likewise.
9018 * config/libbid/bid64_to_int32.c: Likewise.
9019 * config/libbid/bid64_to_int64.c: Likewise.
9020 * config/libbid/bid64_to_int8.c: Likewise.
9021 * config/libbid/bid64_to_uint16.c: Likewise.
9022 * config/libbid/bid64_to_uint32.c: Likewise.
9023 * config/libbid/bid64_to_uint64.c: Likewise.
9024 * config/libbid/bid64_to_uint8.c: Likewise.
9025 * config/libbid/bid_b2d.h: Likewise.
9026 * config/libbid/bid_binarydecimal.c: Likewise.
9027 * config/libbid/bid_conf.h: Likewise.
9028 * config/libbid/bid_convert_data.c: Likewise.
9029 * config/libbid/bid_decimal_data.c: Likewise.
9030 * config/libbid/bid_decimal_globals.c: Likewise.
9031 * config/libbid/bid_div_macros.h: Likewise.
9032 * config/libbid/bid_dpd.c: Likewise.
9033 * config/libbid/bid_flag_operations.c: Likewise.
9034 * config/libbid/bid_from_int.c: Likewise.
9035 * config/libbid/bid_functions.h: Likewise.
9036 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9037 * config/libbid/bid_inline_add.h: Likewise.
9038 * config/libbid/bid_internal.h: Likewise.
9039 * config/libbid/bid_round.c: Likewise.
9040 * config/libbid/bid_sqrt_macros.h: Likewise.
9041
90422009-04-09 Jakub Jelinek <jakub@redhat.com>
9043
9044 * Makefile.in: Change copyright header to refer to version
9045 3 of the GNU General Public License and to point readers at the
9046 COPYING3 file and the FSF's license web page.
9047 * config.host: Likewise.
9048
633dd061
AM
90492009-04-07 Alan Modra <amodra@bigpond.net.au>
9050
9051 * config.host: Reorder and merge to match config.gcc change.
9052
457d1d00
AM
90532009-04-03 Alan Modra <amodra@bigpond.net.au>
9054
9055 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9056
52c0e446
JM
90572009-03-28 Joseph Myers <joseph@codesourcery.com>
9058
9059 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9060 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9061 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9062 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9063
ba181049
UB
90642009-02-12 Uros Bizjak <ubizjak@gmail.com>
9065
9066 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9067 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9068
c252db20
L
90692009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9070
ba181049
UB
9071 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9072 ia64/t-softfp-compat to tmake_file.
c252db20
L
9073
9074 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9075
9076 * config/ia64/__divxf3.asm: New.
9077 * config/ia64/_fixtfdi.asm: Likewise.
9078 * config/ia64/_fixunstfdi.asm: Likewise.
9079 * config/ia64/_floatditf.asm: Likewise.
9080 * config/ia64/t-fprules-softfp: Likewise.
9081 * config/ia64/t-softfp-compat: Likewise.
9082 * config/ia64/tf-signs.c: Likewise.
9083
c60535f9
BE
90842009-01-18 Ben Elliston <bje@au.ibm.com>
9085
9086 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9087
ce16861e
BE
90882009-01-16 Ben Elliston <bje@au.ibm.com>
9089
9090 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9091 to tmake_file.
9092
bcf4713b
BE
90932009-01-13 Ben Elliston <bje@au.ibm.com>
9094
9095 * config/t-softfp: New file.
9096 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9097 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9098
7d296953 90992009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9100
9101 * config.host: Add m32r*-*-rtems*.
9102
7d296953 91032008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9104
9105 * config.host: Add m32c*-*-rtems*.
9106
19523300
RO
91072008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9108
9109 PR bootstrap/33100
9110 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9111 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9112 * configure: Regenerate.
9113 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9114 tmake_file here from gcc/config.gcc.
9115 Move extra_parts here from gcc/config.gcc.
9116 * config/i386/t-sol2: Move here from gcc/config/i386.
9117 Use gcc_srcdir instead of srcdir.
9118
0a4a51c7
AN
91192008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9120
9121 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9122 case.
9123
2a761e46
TS
91242008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9125
9126 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9127
c0451df7
TS
91282008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9129
9130 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9131
358da97e
HS
91322008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9133
9134 Add picoChip port.
9135 * config.host: Add picochip-*-*.
9136
c660f132
BW
91372008-08-06 Bob Wilson <bob.wilson@acm.org>
9138
9139 * config.host: Match more processor names for Xtensa.
9140
d1349557
L
91412008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9142
9143 * config/i386/64/t-softfp-compat: Update comments.
9144
dd7b73c0
L
91452008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9146
9147 * config/i386/64/_divtc3-compat.c: Moved to ...
9148 * config/i386/64/_divtc3.c: Here.
9149
9150 * config/i386/64/_multc3-compat.c: Moved to ...
9151 * config/i386/64/_multc3.c: Here.
9152
9153 * config/i386/64/_powitf2-compat.c: Moved to ...
9154 * config/i386/64/_powitf2.c: Here.
9155
9156 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9157 .c suffix instead of -compat.c.
9158
6e1fab3d
UB
91592008-07-05 Uros Bizjak <ubizjak@gmail.com>
9160
9161 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9162 (_FP_MUL_MEAT_D): Ditto.
9163 (_FP_DIV_MEAT_S): Ditto.
9164 (_FP_DIV_MEAT_D): Ditto.
9165
f92518d7
RS
91662008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9167
9168 * Makefile.in: Add support for __sync_* libgcc functions.
9169
d0aede14
L
91702008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9171
9172 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9173
c174f11c
L
91742008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9175
9176 PR boostrap/36702
9177 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9178 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9179
9180 * config/i386/64/t-fprules-softfp: Moved to ...
9181 * config/i386/64/t-softfp-compat: This. New.
9182
5f464fa2
UB
91832008-07-02 Uros Bizjak <ubizjak@gmail.com>
9184
9185 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9186 Initialize f with 0.0.
9187
ff473280
L
91882008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9189
9190 PR target/36669
9191 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9192
9193 * config/i386/64/_divtc3-compat.c: New.
9194 * config/i386/64/_multc3-compat.c: Likewise.
9195 * config/i386/64/_powitf2-compat.c: Likewise.
9196 * config/i386/64/eqtf2.c: Likewise.
9197 * config/i386/64/getf2.c: Likewise.
9198 * config/i386/64/letf2.c: Likewise.
9199 * config/i386/64/t-fprules-softfp: Likewise.
9200
92012008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9202
9203 * config.host: Add i386/${host_address}/t-fprules-softfp to
9204 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9205 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9206
9207 * configure.ac: Set host_address to 64 or 32 for x86.
9208 * configure: Regenerated.
9209
9210 * Makefile.in (config.status): Also depend on
9211 $(srcdir)/config.host.
9212
9213 * config/i386/32/t-fprules-softfp: New.
9214 * config/i386/32/tf-signs.c: Likewise.
9215
9216 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9217
92182008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9219 Uros Bizjak <ubizjak@gmail.com>
9220
9221 * config/i386/32/sfp-machine.h: New.
9222
30551d99
NF
92232008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9224
9225 * config/rs6000/t-ppccomm: Remove rules that conflict with
9226 auto-generated rules.
9227
18c04407
RW
92282008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9229
9230 * configure.ac: sinclude override.m4.
9231 * configure: Regenerate.
9232
10fbe77a
BRF
92332008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9234
9235 * configure: Regenerate.
9236
bc6d4c3f
JM
92372008-06-10 Joseph Myers <joseph@codesourcery.com>
9238
9239 * Makefile.in (DECNUMINC): Remove
9240 -I$(MULTIBUILDTOP)../../libdecnumber.
9241 * gstdint.h: New.
9242
cd985f66
JM
92432008-06-07 Joseph Myers <joseph@codesourcery.com>
9244
9245 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9246 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9247 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9248 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9249 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9250 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9251 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9252 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9253 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9254 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9255 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9256 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9257 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9258 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9259
93fea8d3
AL
92602008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9261
9262 * config.host (sh2[lbe]*-*-linux*): Allow target.
9263
18724e30
NF
92642008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9265
9266 * config/rs6000/t-ppccomm: Add build rules for new files.
9267 (LIB2ADD_ST): New variable.
9268
47583040
AH
92692008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9270
9271 PR target/34210
9272 PR target/35508
9273 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9274 * config/t-avr: New file. Build 16bit libgcc functions.
9275
cf8e67fe
JJ
92762008-03-02 Jakub Jelinek <jakub@redhat.com>
9277
9278 PR target/35401
9279 * config/t-slibgcc-darwin: Make install-leaf dependent on
9280 install-darwin-libgcc-stubs instead of install.
9281
8d8da227
JM
92822008-01-25 Joseph Myers <joseph@codesourcery.com>
9283
9284 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9285 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9286 sh-*-rtemscoff*): Remove cases.
9287
edbf8b16
RS
92882007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9289
9290 * Makefile.in (all): Use install-leaf rather than install.
9291 (install): Split most of the rule into...
9292 (install-leaf): ...this new one.
9293
89deeaff
EK
92942007-12-19 Etsushi Kato <ek.kato@gmail.com>
9295 Paolo Bonzini <bonzini@gnu.org>
9296
9297 PR target/30572
5f464fa2
UB
9298 * Makefile.in: Use @shlib_slibdir@ substitution to get
9299 correct install name on darwin.
89deeaff 9300 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9301
4081d704
HPN
93022007-12-15 Hans-Peter Nilsson <hp@axis.com>
9303
9304 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9305 cris-*-elf and cris-*-none.
9306 (crisv32-*-linux*): Similar, as cris-*-linux*.
9307
f43e89a3
RIL
93082007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9309
9310 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9311
b4e9c2c6
L
93122007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9313
9314 PR regression/33926
9315 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9316 * configure: Regenerated.
9317
b2a00c89
L
93182007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9319
9320 * Makefile.in (dfp-filenames): Replace decimal_globals,
9321 decimal_data, binarydecimal and convert_data with
9322 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9323 and bid_convert_data, respectively.
9324
8d2a9e0e
CF
93252007-09-17 Chao-ying Fu <fu@mips.com>
9326 Nigel Stephens <nigel@mips.com>
9327
9328 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9329 * Makefile.in (fixed_point): Define.
9330 Check if fixed_point is yes to build support functions.
9331 * configure.ac: Check for fixed_point support.
9332 * configure: Regenerated.
9333 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9334 funcs, modes, from, to.
9335
2b53935d
JJ
93362007-09-11 Janis Johnson <janis187@us.ibm.com
9337
9338 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9339
2533577f
JJ
93402007-09-10 Janis Johnson <janis187@us.ibm.com>
9341
9342 * Makefile.in (dfp-filenames): Remove decUtility, add
9343 decDouble, decPacked, decQuad, decSingle.
9344
3ae3dbd6
HK
93452007-08-27 Hans Kester <hans.kester@ellips.nl>
9346
9347 * config.host : Add x86_64-elf target.
9348
22867d02
L
93492007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9350
9351 * configure.ac (set_have_cc_tls): Add a missing =.
9352 * configure: Regenerated.
9353
6f461e76
L
93542007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9355
9356 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9357 and x86_64-*-linux*.
9358
9359 * config/t-tls: New file.
9360
dfb3b0e3 9361 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9362
9363 * configure.ac: Include ../config/enable.m4 and
9364 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9365 supports TLS and substitute set_have_cc_tls.
9366 * configure: Regenerated.
9367
200359e8
L
93682007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9369
9370 * Makefile.in: Use libbid for DFP when BID is enabled.
9371
76f5e200
DS
93722007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9373
9374 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9375 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9376 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9377
9bd196f0 93782007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9379 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9380
9381 PR target/29498
9382 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9383 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9384 * config/i386/t-crtfm: Compile crtfastmath.o with
9385 -minline-all-stringops.
9386
1910440e
RS
93872007-05-10 Richard Sandiford <richard@codesourcery.com>
9388
9389 * config.host (sparc-wrs-vxworks): New target.
9390
7d33c31d
KH
93912007-04-14 Kazu Hirata <kazu@codesourcery.com>
9392
9393 * config.host: Recognize fido.
9394
96fccd0d
JJ
93952007-04-04 Janis Johnson <janis187@us.ibm.com>
9396
9397 * configure: Check host, not target, for decimal float support.
9398
577565f9
UB
93992007-04-03 Uros Bizjak <ubizjak@gmail.com>
9400
9401 * config/i386/t-crtpc: New file.
9402 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9403 (x86_64-*-linux*): Ditto.
577565f9 9404
ccf8e764
RH
94052007-02-30 Kai Tietz <kai.tietz@onevision.com>
9406
9407 * config.host (x86_64-*-mingw*): New target.
9408
79b87c74
MM
94092007-03-23 Michael Meissner <michael.meissner@amd.com>
9410 H.J. Lu <hongjiu.lu@intel.com>
9411
9412 * Makefile.in (enable_decimal_float): New.
9413 (DECNUMINC): Add
9414 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9415 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9416 (decbits-filenames): This.
9417 (decbits-objects): New.
9418 (libgcc-objects): Add $(decbits-objects).
9419
9420 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9421 Substitute enable_decimal_float.
9422 * configure: Regenerated.
9423
8fce4e31
HPN
94242007-03-19 Hans-Peter Nilsson <hp@axis.com>
9425
9426 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9427
e8bb4597
BM
94282007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9429
9430 * Makefile.in (install-info): New dummy target.
9431
344189f9
BS
94322007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9433
9434 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9435
ac84c172
BM
94362007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9437
9438 * Makefile.in: Add install-html and install-pdf dummy
9439 targets.
9440
cd5c2357
RS
94412007-02-05 Roger Sayle <roger@eyesopen.com>
9442 Daniel Jacobowitz <dan@codesourcery.com>
9443
9444 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9445 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9446 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9447
d9a66f98
JJ
94482007-01-29 Janis Johnson <janis187@us.ibm.com>
9449
9450 * Makefile.in (dec-filenames): Add decExcept.
9451
9891ec5f
DJ
94522007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9453
9454 PR bootstrap/30469
9455 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9456 -fprofile-use.
9457
d6efbf5a
DJ
94582007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9459
9460 * configure.ac: Add --enable-version-specific-runtime-libs.
9461 Correct $slibdir default.
9462 * configure: Regenerated.
9463
17caeff2
JM
94642007-01-23 Joseph Myers <joseph@codesourcery.com>
9465
9466 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9467
5ea41e3a
AP
94682007-01-21 Andrew Pinski <pinskia@gmail.com>
9469
9470 PR target/30519
9471 * config.host (alpha*-*-linux*): Set extra_parts.
9472
26900826
KK
94732007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9474
9475 * config/sh/t-linux: New.
9476 * config.host (sh*-*-linux*): Set tmake_file.
9477
97af925b
DJ
94782007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9479
9480 * Makefile.in (install): Handle multilibs.
9481
b0088af7
BM
94822007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9483
9484 * Makefile.in: Added .PHONY entry for documentation targets.
9485
e0a9456a
BM
94862007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9487
9488 * Makefile.in: Add empty info, html, dvi, pdf targets.
9489
7fd453b4
MS
94902007-01-04 Mike Stump <mrs@apple.com>
9491
9492 * Makefile.in (MAKEINFO): Remove.
9493 (PERL): Likewise.
9494
14e8fc8b
PB
94952007-01-04 Paolo Bonzini <bonzini@gnu.org>
9496
9497 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9498 * configure: Regenerate.
9499 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 9500 (gcc_objdir): Use it.
14e8fc8b 9501
1555beba
DJ
95022007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9503
9504 * config.host (ia64*-*-linux*): Set tmake_file.
9505
79e6eaeb
DJ
95062007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9507
9508 * Makefile.in (version): Define.
9509
fa958513
DJ
95102007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9511 Paolo Bonzini <bonzini@gnu.org>
9512
9513 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9514 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9515 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9516 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9517 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9518 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9519 * configure: Generated.
818ab71a 9520\f
85ec4feb 9521Copyright (C) 2007-2018 Free Software Foundation, Inc.
818ab71a
JJ
9522
9523Copying and distribution of this file, with or without modification,
9524are permitted in any medium without royalty provided the copyright
9525notice and this notice are preserved.