]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
openacc: Set bias to zero for explicit attach/detach clauses in C and C++
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
b5f24739
GA
12020-07-02 Martin Liska <mliska@suse.cz>
2
3 PR gcov-profile/95348
4 * libgcov-driver.c (merge_one_data): Merge only profiles
5 that are not of non-zero type.
6 (write_one_data): Write counters only if there's one non-zero
7 value.
8 * libgcov-util.c (tag_function): Change signature from unsigned
9 to int.
10 (tag_blocks): Likewise.
11 (tag_arcs): Likewise.
12 (tag_counters): Likewise.
13 (tag_summary): Likewise.
14 (tag_lines): Read only if COUNTERS is non-zero.
15 (read_gcda_file): Handle negative length for COUNTERS type.
16
d61ffe12
GA
172020-06-25 Martin Liska <mliska@suse.cz>
18
19 * libgcov-driver.c (merge_summary): Remove function as its name
20 is misleading and doing something different.
21 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
22 in gcov-tool.
23 * libgcov-util.c (curr_object_summary): Remove.
24 (read_gcda_file): Remove unused curr_object_summary.
25 (gcov_merge): Merge summaries.
26 * libgcov.h: Add summary argument for gcov_info struct.
27
2e546c26
GA
282020-06-24 H.J. Lu <hjl.tools@gmail.com>
29
30 PR target/95259
31 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
32 "common/config/i386/i386-cpuinfo.h" and
33 "common/config/i386/cpuinfo.h".
34 (__cpu_features2): Changed to array.
35 (get_amd_cpu): Removed.
36 (get_intel_cpu): Likewise.
37 (get_available_features): Likewise.
38 (__cpu_indicator_init): Call cpu_indicator_init.
39 * config/i386/cpuinfo.h: Removed.
40
4543acc8
GA
412020-06-23 David Edelsohn <dje.gcc@gmail.com>
42
43 * Makefile.in: Remove uses of empty.mk. Use -include.
44 * config/avr/t-avr: Use -include.
45 * empty.mk: Delete.
46
f86e11a2
GA
472020-06-21 David Edelsohn <dje.gcc@gmail.com>
48
49 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
50 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
51 and 64 bit with -maix64.
52 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
53 Build and install AIX-style FAT libraries.
54
aff95ee7
GA
552020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
56
57 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
58 'i386/gnu-unwind.h'
59 * config/i386/gnu-unwind.h: New file.
60
612020-06-17 Martin Liska <mliska@suse.cz>
62
63 * libgcov-util.c (read_gcda_finalize): Remove const operator.
64 (merge_wrapper): Add both counts and use them properly.
65 (topn_to_memory_representation): New function.
66 (gcov_merge): Covert on disk representation to in memory
67 representation.
68 * libgcov.h: Remove const operator.
69
6fb94d67
GA
702020-06-15 Max Filippov <jcmvbkbc@gmail.com>
71
72 * configure: Regenerate.
73 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
74 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
75
b952c2cf
GA
762020-06-09 Martin Liska <mliska@suse.cz>
77
78 PR gcov-profile/95494
79 * libgcov-driver.c (write_top_counters): Cast first to
80 intptr_t as sizeof(*) != sizeof(gcov_type).
81 * libgcov.h (gcov_counter_set_if_null): Remove.
82 (gcov_topn_add_value): Cast first to intptr_t and update
83 linked list directly.
84
852020-06-09 Max Filippov <jcmvbkbc@gmail.com>
86
87 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
88 with uw_install_context_1.
89
3add3425
GA
902020-06-04 Andreas Schwab <schwab@suse.de>
91
92 PR target/59230
93 PR libfortran/59227
94 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
95 soft-fp/divtf3.c.
96 (LIB2ADD): Add config/ia64/divtf3.c.
97 * config/ia64/divtf3.c: New file.
98
9a5b7438
GA
992020-06-03 Martin Liska <mliska@suse.cz>
100
101 PR gcov-profile/95480
102 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
103 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
104 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
105 (gcov_counter_set_if_null): Likewise.
106
a9312a79
GA
1072020-06-02 Jim Wilson <jimw@sifive.com>
108
109 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
110 to bgtz.
111
1122020-06-02 Martin Liska <mliska@suse.cz>
113
114 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
115 of xmalloc.
116
1172020-06-02 Martin Liska <mliska@suse.cz>
118
119 * libgcov-driver.c (prune_topn_counter): Remove.
120 (prune_counters): Likewise.
121 (merge_one_data): Special case TOP N counters
122 as they have variable length.
123 (write_top_counters): New.
124 (write_one_data): Special case TOP N.
125 (dump_one_gcov): Do not prune TOP N counters.
126 * libgcov-merge.c (merge_topn_values_set): Remove.
127 (__gcov_merge_topn): Use gcov_topn_add_value.
128 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
129 Likewise here.
130 * libgcov.h (gcov_counter_add): New.
131 (gcov_counter_set_if_null): Likewise.
132 (gcov_topn_add_value): New.
133
4a9aa9de
GA
1342020-06-01 Uroš Bizjak <ubizjak@gmail.com>
135
136 * config/i386/sfp-exceptions.c (struct fenv):
137 Add __attribute__ ((gcc_struct)).
138
885ef72f
GA
1392020-05-29 H.J. Lu <hjl.tools@gmail.com>
140
141 PR bootstrap/95413
142 * configure: Regenerated.
143
53ffb43a
GA
1442020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
145
146 PR gcov-profile/95332
147 * libgcov-util.c (read_gcda_file): Call gcov_magic.
148 * libgcov.h (gcov_magic): Disable GCC poison.
149
5855bdfa
L
1502020-05-21 H.J. Lu <hongjiu.lu@intel.com>
151
152 PR target/95212
153 * config/i386/cpuinfo.h (processor_features): Move
154 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
155
35b98036
L
1562020-05-20 H.J. Lu <hongjiu.lu@intel.com>
157
158 PR target/91695
159 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
160 check.
161
45395445
L
1622020-05-19 H.J. Lu <hongjiu.lu@intel.com>
163
164 PR target/95212
165 PR target/95220
166 * config/i386/cpuinfo.c (get_available_features): Fix
167 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
168 * config/i386/cpuinfo.h (processor_features): Add
169 FEATURE_AVX512VP2INTERSECT.
170
4c1a5d8b
L
1712020-05-15 H.J. Lu <hongjiu.lu@intel.com>
172
173 PR bootstrap/95147
174 * configure: Regenerated.
175
8d286dd1
L
1762020-05-14 H.J. Lu <hongjiu.lu@intel.com>
177
178 * configure: Regenerated.
179
39748a89
HPN
1802020-05-09 Hans-Peter Nilsson <hp@axis.com>
181
182 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
183 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
184
d3a1459c
UB
1852020-05-06 Uroš Bizjak <ubizjak@gmail.com>
186
187 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
188 (__math_force_eval_div): New define.
189 (__sfp_handle_exceptions): Use __math_force_eval_div to use
190 generic division to generate INVALID, DIVZERO and INEXACT
191 exceptions.
192
12667785
KT
1932020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
194
195 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
196 instead of getauxval.
197 (AT_HWCAP): Define.
198 (HWCAP_ATOMICS): Define.
199 Guard detection on __gnu_linux__.
200
ef836167
MM
2012020-05-05 Michael Meissner <meissner@linux.ibm.com>
202
203 * config.host: Delete changes meant for a private branch.
204 * config/rs6000/t-float128: Likewise.
205 * configure.ac: Likewise.
206 * configure: Likewise.
207
811b7636
ML
2082020-05-05 Martin Liska <mliska@suse.cz>
209
210 PR gcov-profile/93623
211 * Makefile.in: Remove __gcov_flush.
212 * gcov.h (__gcov_flush): Remove.
213 * libgcov-interface.c (__gcov_flush): Remove.
214 (init_mx): Use renamed mutex.
215 (__gcov_lock): Likewise.
216 (__gcov_unlock): Likewise.
217 (__gcov_fork): Likewise.
218 (__gcov_flush): Remove.
219
c0532db4
ML
2202020-05-05 Martin Liska <mliska@suse.cz>
221
222 PR gcov-profile/93623
223 * libgcov-interface.c (__gcov_fork): Do not flush
224 and reset only in child process.
225 (__gcov_execl): Dump counters only and reset them
226 only if exec* fails.
227 (__gcov_execlp): Likewise.
228 (__gcov_execle): Likewise.
229 (__gcov_execv): Likewise.
230 (__gcov_execvp): Likewise.
231 (__gcov_execve): Likewise.
232
d39f7dc8
ML
2332020-05-05 Martin Liska <mliska@suse.cz>
234
235 PR gcov-profile/93623
236 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
237 * libgcov-interface.c (ALIAS_void_fn): Remove.
238 (__gcov_lock): New.
239 (__gcov_unlock): New.
240 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
241 (__gcov_reset): Likewise.
242 (__gcov_dump): Likewise.
243 * libgcov.h (__gcov_lock): New declaration.
244 (__gcov_unlock): Likewise.
245
afb9b710
UB
2462020-05-01 Uroš Bizjak <ubizjak@gmail.com>
247
248 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 249 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
250 generic division to generate INVALID and DIVZERO exceptions.
251
66711279
SH
2522020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
253
254 * config/rs6000/crtresfpr.S: Use .machine ppc.
255 * config/rs6000/crtresxfpr.S: Likewise.
256 * config/rs6000/crtsavfpr.S: Likewise.
257
fb22faf4
SN
2582020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
259
260 PR target/94514
261 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
262 Update context->flags accroding to the frame state.
263
df73e584
UB
2642020-04-19 Uroš Bizjak <ubizjak@gmail.com>
265
266 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
267 Remove unneeded assignments to volatile memory.
268
5b2f76e3
JJ
2692020-04-15 Jakub Jelinek <jakub@redhat.com>
270
271 PR target/93053
272 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
273 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
274 is not defined, use just .arch armv8-a.
275 (B, M, N, OPN): Define.
276 (COMMENT): New .macro.
277 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
278 defined. Otherwise, move the operands right after the glue? and
279 comment out operands where the macros are used.
280 * configure: Regenerated.
281 * config.in: Regenerated.
282
50c78532
ILT
2832020-04-07 Ian Lance Taylor <iant@golang.org>
284
285 PR libgcc/94513
286 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
287 syscall instead.
288
458ca332
ILT
2892020-04-04 Ian Lance Taylor <iant@golang.org>
290
291 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
292
710d54ed
ILT
2932020-04-03 Ian Lance Taylor <iant@golang.org>
294
295 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
296 than mmap/munmap, to avoid hooks.
297
b749b5ec
JJ
2982020-04-03 Jim Johnston <jjohnst@us.ibm.com>
299
300 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
301 (TPFRA_OFFSET): Macros removed.
302 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
303 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
304 (PG3_SKIPPING_OFFSET): New macros.
305 (__isPATrange): Use cinfc_fast for the check.
306 (__isSkipResetAddr): New function.
307 (s390_fallback_frame_state): Check for skip trace addresses. Use
308 either ICST_CRET or ICST_SRET to calculate return address
309 location.
310 (__tpf_eh_return): Handle skip trace addresses.
311
a9cd2d78
RE
3122020-03-26 Richard Earnshaw <rearnsha@arm.com>
313
314 PR target/94220
315 * config/arm/lib1funcs.asm (COND): Use a single definition for
316 unified syntax.
317 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
318 (aeabi_idivmod): Likewise.
319 (divsi3_skip_div0_test): Likewise.
320
f582ca0f
MI
3212020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
322
323 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
324
068fe0a9
AK
3252020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
326
327 * config.host: Include the new makefile fragment.
328 * config/s390/t-tpf: New file.
329
6b9ce2b4
RE
3302020-03-03 Richard Earnshaw <rearnsha@arm.com>
331
332 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
333 syntax.
334 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
335 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
336 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
337 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
338 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
339 syntax.
340 (divsi3, modsi3): Likewise.
341 (clzdi2, ctzsi2): Likewise.
342 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
343 unified syntax.
344 (UNWIND_WRAPPER): Likewise.
345
8dd5d8f3
ML
3462020-03-02 Martin Liska <mliska@suse.cz>
347
348 * libgcov-interface.c: Remove duplicate
349 declaration of __gcov_flush_mx.
350
ea0b1252
ML
3512020-02-18 Martin Liska <mliska@suse.cz>
352
353 PR ipa/92924
354 * libgcov-merge.c (merge_topn_values_set): Record
355 when a TOP N counter becomes invalid. When merging
356 remove a smallest value if the space is needed.
357
02ce382c
SL
3582020-02-12 Sandra Loosemore <sandra@codesourcery.com>
359
360 PR libstdc++/79193
361 PR libstdc++/88999
362
363 * configure: Regenerated.
364
7214fce3
JL
3652020-02-10 Jeff Law <law@redhat.com>
366
367 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
368 sections.
369 * config/frv/frvend.c: Similarly.
370
cf0f07ef
L
3712020-02-10 H.J. Lu <hongjiu.lu@intel.com>
372
373 PR libgcc/85334
374 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
375 New.
376
5602b48b
CL
3772020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
378
379 PR target/93615
380 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
381 _Unwind_gnu_Find_got.
382 * unwind-pe.h: Likewise.
383
811a475e
JJ
3842020-02-07 Jakub Jelinek <jakub@redhat.com>
385
386 PR target/93615
387 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
388 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
389 trailing :s in asm. Formatting fixes.
390 (_Unwind_decode_typeinfo_ptr): Adjust caller.
391
2d33dcfe
SL
3922020-01-31 Sandra Loosemore <sandra@codesourcery.com>
393
394 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
395
396 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
397 * config/nios2-elf-lib.h: New.
398 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
399 code for finding GOT base for nios2.
400
3ae37f92
ML
4012020-01-27 Martin Liska <mliska@suse.cz>
402
403 PR gcov-profile/93403
404 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
405 Call __gcov_indirect_call_profiler_body.
406 (__gcov_indirect_call_profiler_body): New.
407 (__gcov_indirect_call_profiler_v4_atomic): New.
408 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
409 New declaration.
410
2744b8b2
CZ
4112020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
412
413 * config/arc/crti.S: Add RF16 object attribute.
414 * config/arc/crtn.S: Likewise.
415 * config/arc/crttls.S: Likewise.
416 * config/arc/lib1funcs.S: Likewise.
417 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
418 * config/arc/lib2funcs.c: New file.
419 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
420
e8e66971
MR
4212020-01-24 Maciej W. Rozycki <macro@wdc.com>
422
423 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
424 * configure.ac: Handle `--with-toolexeclibdir='.
425 * configure: Regenerate.
426
54b3d52c
DM
4272020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
428
429 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
430
a3c1e1f2
DM
4312020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
432
433 * config/mips/gnustack.h: New file.
434 * config/mips/crti.S: Include gnustack.h.
435 * config/mips/crtn.S: Likewise.
436 * config/mips/mips16.S: Likewise.
437 * config/mips/vr4120-div.S: Likewise.
438
e9ee848d
ML
4392020-01-23 Martin Liska <mliska@suse.cz>
440
441 * libgcov-driver.c (prune_topn_counter): Remove
442 check for -1 as we only prune run-time counters
443 that do not generate an invalid state.
444
7491c17f
ML
4452020-01-22 Martin Liska <mliska@suse.cz>
446
447 PR tree-optimization/92924
448 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
449 try to find an existing value, then find an empty slot
450 if not found.
451
5f32f9cf
ML
4522020-01-22 Martin Liska <mliska@suse.cz>
453
454 PR tree-optimization/92924
455 * libgcov-driver.c (prune_topn_counter): New.
456 (prune_counters): Likewise.
457 (dump_one_gcov): Prune a run-time counter.
458 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
459 For a known value, add GCOV_TOPN_VALUES to value.
460 Otherwise, decrement all counters by one.
461
463f6499
HPN
4622020-01-18 Hans-Peter Nilsson <hp@axis.com>
463
464 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
465
84479e3a
JDA
4662020-01-18 John David Anglin <danglin@gcc.gnu.org>
467
468 PR libgcc/92988
469 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
470 DEFAULT_USE_CXA_ATEXIT is true.
471
e953433f 4722020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 473 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
474
475 * config/arm/t-arm: Check return value of gcc rather than lack of
476 output.
477
03e87724
GJL
4782020-01-14 Georg-Johann Lay <avr@gjlay.de>
479
480 * config/avr/lib1funcs.S (skip): Simplify.
481
af9bd920
KCY
4822020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
483
484 * config/gcn/atomic.c: Remove include of stdint.h.
485 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
486 __UINTPTR_TYPE__.
487
d6491d15
KCY
4882020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
489
490 * config/gcn/atomic.c: New.
491 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
492
f30dd607
GJL
4932020-01-08 Georg-Johann Lay <avr@gjlay.de>
494
495 Implement 64-bit double functions.
496
497 PR target/92055
498 * config.host (tmake_file) [target=avr]: Add t-libf7,
499 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
500 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
501 depending on sizeof (double) or sizeof (long double).
502 * config/avr/libf7: New folder.
503
5205a445
OH
5042020-01-05 Olivier Hainque <hainque@adacore.com>
505
506 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
507 by IN_LIBGCC2.
508
8d9254fc
JJ
5092020-01-01 Jakub Jelinek <jakub@redhat.com>
510
511 Update copyright years.
512
abb6c3ee
OH
5132019-12-30 Olivier Hainque <hainque@adacore.com>
514
515 * config/gthr-vxworks.h: Use _vxworks-versions.h.
516 * config/gthr-vxworks-tls.c: Likewise.
517
d7f5094a
OH
5182019-12-30 Olivier Hainque <hainque@adacore.com>
519
520 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
521 standard zero-initializer syntax.
522
49cfaa2a
OH
5232019-12-30 Olivier Hainque <hainque@adacore.com>
524
525 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
526 reference to the internal VX_GET_TLS_DATA interface.
527
89b9a554
OH
5282019-12-30 Olivier Hainque <hainque@adacore.com>
529
530 * config/vxcrtstuff.c: Fix incorrect spelling of
531 USE_INITFINI_ARRAY in guard.
532
e8aa9f55
JL
5332019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
534
535 * config.host: s/msp430*-*-elf/msp430-*-elf*.
536 Override default "extra_parts" variable.
537 * configure: Regenerate.
538 * configure.ac: Disable TM clone registry by default for
539 msp430-elfbare.
540
a9046e98
JL
5412019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
542
543 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
544 "extra_parts".
545 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
546
34a53788
JL
5472019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
548
549 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
550 true.
551
21a098f4
JL
5522019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
553
554 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
555 defined instead of its value.
556
ad8b7783
JL
5572019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
558
559 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
560 if it will have contents.
561
08d7ff78
GJL
5622019-12-05 Georg-Johann Lay <avr@gjlay.de>
563
564 PR target/92055
565 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
566
3d3a96a2
SN
5672019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
568
34b4d99d 569 PR libgcc/91737
3d3a96a2
SN
570 * config.host: Add t-gthr-noweak on *-*-musl*.
571 * config/t-gthr-noweak: New file.
572
632b5e3d
JDA
5732019-11-17 John David Anglin <danglin@gcc.gnu.org>
574
575 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
576 volatile void *. Remove trap check.
577 (__kernel_cmpxchg2): Likewise.
578 (FETCH_AND_OP_2): Adjust operand types.
579 (OP_AND_FETCH_2): Likewise.
580 (FETCH_AND_OP_WORD): Likewise.
581 (OP_AND_FETCH_WORD): Likewise.
582 (COMPARE_AND_SWAP_2): Likewise.
583 (__sync_val_compare_and_swap_4): Likewise.
584 (__sync_bool_compare_and_swap_4): Likewise.
585 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
586 (__sync_lock_test_and_set_4): Likewise.
587 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
588 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
589 for release.
590 (__sync_lock_release_8): Remove.
591
838fd641
SN
5922019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
593
594 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
595 of __sigset_t.
596
27204060
JL
5972019-11-14 Jerome Lambourg <lambourg@adacore.com>
598 Doug Rupp <rupp@adacore.com>
599 Olivier Hainque <hainque@adacore.com>
600
601 * config.host: Collapse the arm-vxworks entries into
602 a single arm-wrs-vxworks7* one.
603 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
604 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
605 kernel modules, to be overriden by libstdc++ when we link with
606 it. Rely on externally provided __exidx_start/end.
607
3004f893
DR
6082019-11-14 Doug Rupp <rupp@adacore.com>
609 Olivier Hainque <hainque@adacore.com>
610
611 * config.host: Handle aarch64*-wrs-vxworks7*.
612
36e5f4d4
OH
6132019-11-12 Olivier Hainque <hainque@adacore.com>
614
615 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
616 sources except the cxx0x support to LIB2ADDEH. We don't support
617 cxx0x on AE/653.
618 * config/t-vxworksae: New file.
619 * config.host: Handle *-*-vxworksae: Add the two aforementioned
620 Makefile fragment files at their expected position in the tmake_file
621 list, in accordance with what is done for other VxWorks variants.
622
806dd047
CG
6232019-11-12 Corentin Gay <gay@adacore.com>
624 Jerome Lambourg <lambourg@adacore.com>
625 Olivier Hainque <hainque@adacore.com>
626
627 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
628 sources to LIB2ADDEH.
629 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
630 * config/t-vxworks7: Likewise.
631
632 * config.host: Append a block at the end of the file to add the
633 t-gthr files to the tmake_file list for VxWorks after everything
634 else.
635
636 * config/vxlib.c: Rename as gthr-vxworks.c.
637 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
638
639 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
640 API and a basic error checking API, both internal. Simplify the
641 __gthread_once_t type definition and initializers. Add sections
642 for condition variables support and for the C++0x thread support,
643 conditioned against Vx653 for the latter.
644
645 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
646 implementation, leveraging the TAS internal API.
647 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
648 API, leveraging the general availability of TLS services in VxWorks7
649 post SR6xxx.
650 (__gthread_setspecific, __gthread_setspecific): Use it.
651 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
652 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
653 support based on VxWorks primitives.
654 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
655 based on VxWorks primitives.
656
78e49fb1
JL
6572019-11-06 Jerome Lambourg <lambourg@adacore.com>
658 Olivier Hainque <hainque@adacore.com>
659
660 * config/vxcrtstuff.c: New file.
661 * config/t-vxcrtstuff: New Makefile fragment.
662 * config.host: Append t-vxcrtstuff to the tmake_file list
663 on all VxWorks ports using dwarf for table based EH.
664
29f3def3
GJL
6652019-11-07 Georg-Johann Lay <avr@gjlay.de>
666
667 Support 64-bit double and 64-bit long double configurations.
668
669 PR target/92055
670 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
671 long double is a 32-bit type.
672 * config/avr/t-avrlibc: Copy double64 and long-double64
673 multilib(s) from the vanilla one.
674 * config/avr/t-copy-libgcc: New Makefile snip.
675
62ec242e
JL
6762019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
677
678 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
679 the target output object format is not ELF.
680 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
681
da5c1bbe
OE
6822019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
683
684 PR libgcc/78804
685 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
686 * fp-bit.c (pack_d, unpack_d): Remove special cases for
687 FLOAT_BIT_ORDER_MISMATCH.
688 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
689
8dc56a22
JW
6902019-11-01 Jim Wilson <jimw@sifive.com>
691
692 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
693
91c64455
JL
6942019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
695
696 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
697 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
698 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
699 Define symbols for 32-bit and f5series hardware multiply
700 register addresses.
701 Replace hard-coded register addresses with symbols.
702 Fix "_mspabi*" typo.
703 Fix whitespace.
704 * config/msp430/lib2mul.c: Add comment.
705
85093ac6
JDA
7062019-10-15 John David Anglin <danglin@gcc.gnu.org>
707
708 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
709 unsigned int. Adjust callers.
710 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
711 unsigned int *. Load relocation offset before function pointer.
712 Add barrier to ensure ordering.
713
1aea083d
JDA
7142019-10-12 John David Anglin <danglin@gcc.gnu.org>
715
716 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
717 Load PIC register after branch target. Fix white space.
718 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
719 implementations. Load PIC register after branch target. Don't
720 clobber function pointer when it points to function descriptor.
721 Use nullification instead of branch in LINUX implementation.
722
c49af82c
JDA
7232019-10-03 John David Anglin <danglin@gcc.gnu.org>
724
725 * config/pa/fptr.c: Disable -Warray-bounds warning.
726
88a51d68
RH
7272019-09-25 Richard Henderson <richard.henderson@linaro.org>
728
9e46fd07
RH
729 * config.in, configure: Re-rebuild with stock autoconf 2.69,
730 not the ubuntu modified 2.69.
731
58d169ba
RH
732 PR target/91833
733 * config/aarch64/lse-init.c: Include auto-target.h. Disable
734 initialization if !HAVE_SYS_AUXV_H.
735 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
736 * config.in, configure: Rebuild.
737
88a51d68
RH
738 PR target/91834
739 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
740 overlap the inputs.
741
761e6bb9
SZ
7422019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
743
744 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
745 CTR_EL0.IDC and CTR_EL0.DIC.
746
76c93295
CL
7472019-09-20 Christophe Lyon <christophe.lyon@st.com>
748
749 Revert:
750 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
751 Mickaël Guêné <mickael.guene@st.com>
752
753 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
754 architecture.
755
33befddc
RH
7562019-09-19 Richard Henderson <richard.henderson@linaro.org>
757
758 * config/aarch64/lse-init.c: New file.
759 * config/aarch64/lse.S: New file.
760 * config/aarch64/t-lse: New file.
761 * config.host: Add t-lse to all aarch64 tuples.
762
ae1152e5
CL
7632019-09-10 Christophe Lyon <christophe.lyon@st.com>
764 Mickaël Guêné <mickael.guene@st.com>
765
84818dbb
CL
766 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
767 architecture.
768
7692019-09-10 Christophe Lyon <christophe.lyon@st.com>
770 Mickaël Guêné <mickael.guene@st.com>
771
ae1152e5
CL
772 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
773 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
774 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
775 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
776 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
777 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
778 (__gnu_personality_sigframe_fdpic): New.
779 (get_eit_entry): Add FDPIC signal frame support.
780
5d727a4b
CL
7812019-09-10 Christophe Lyon <christophe.lyon@st.com>
782 Mickaël Guêné <mickael.guene@st.com>
783
784 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
785 (__kernel_dmb): Likewise.
786 (__fdpic_cmpxchg): New function.
787 (__fdpic_dmb): New function.
788 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
789 (gnu_Unwind_Find_got): New function.
790 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
791 * unwind-arm-common.inc (UCB_PR_GOT): New.
792 (funcdesc_t): New struct.
793 (get_eit_entry): Add FDPIC support.
794 (unwind_phase2): Likewise.
795 (unwind_phase2_forced): Likewise.
796 (__gnu_Unwind_RaiseException): Likewise.
797 (__gnu_Unwind_Resume): Likewise.
798 (__gnu_Unwind_Backtrace): Likewise.
799 * unwind-pe.h (read_encoded_value_with_base): Likewise.
800
b1e21e5a 8012019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 802 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 803
11189793
CL
804 * libgcc/crtstuff.c: Add support for FDPIC.
805
8062019-09-10 Christophe Lyon <christophe.lyon@st.com>
807
808 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 809
91dfef96
JM
8102019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
811
812 * config.host: Set cpu_type for bpf-*-* targets.
813 * config/bpf/t-bpf: Likewise.
814 * config/bpf/crtn.S: Likewise.
815 * config/bpf/crti.S: New file.
816
2f4d8951
JW
8172019-09-06 Jim Wilson <jimw@sifive.com>
818
819 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
820 (riscv*-*-freebsd*): Likewise.
821
2f2aeda9
UW
8222019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
823
824 * config.host: Remove references to spu.
825 * config/spu/: Remove directory.
826
d16017da
JL
8272019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
828
829 PR target/91306
830 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
831 element type, instead of "sizeof" the element type.
832 (__DTOR_LIST__): Likewise.
833 (__TMC_LIST__): Likewise.
834 (__do_global_dtors_aux_fini_array_entry): Likewise.
835 (__frame_dummy_init_array_entry): Likewise.
836 (__CTOR_END__): Likewise.
837 (__DTOR_END__): Likweise.
838 (__FRAME_END__): Likewise.
839 (__TMC_END__): Likewise.
840
a9fcfec3
HL
8412019-08-20 Lili Cui <lilicui@intel.com>
842
843 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
844 INTEL_COREI7_COOPERLAKE.
845
428642b1
MT
8462019-07-31 Matt Thomas <matt@3am-software.com>
847 Nick Hudson <nick@nthcliff.demon.co.uk>
848 Matthew Green <mrg@eterna.com.au>
849 Maya Rashish <coypu@sdf.org>
850
851 * config.host (hppa*-*-netbsd*): New case.
852 * config/pa/t-netbsd: New file.
853
f0efd925
JH
8542019-07-31 Joel Hutton <Joel.Hutton@arm.com>
855
856 * config/arm/cmse.c (cmse_check_address_range): Add
857 warn_unused_result attribute.
858
a861990d
ML
8592019-07-22 Martin Liska <mliska@suse.cz>
860
861 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
862 * config/pa/t-stublib: Likewise.
863
9c0dba7c
SH
8642019-07-22 Stafford Horne <shorne@gmail.com>
865
866 PR target/90362
867 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
868 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
869 instructions are not available on every processor. Change a
870 l.bnf to l.bf to fix logic issue.
871
61afc8f8
IS
8722019-07-04 Iain Sandoe <iain@sandoe.co.uk>
873
874 * config.host: Remove reference to t-darwin8.
875
179c7ef5
IS
8762019-07-03 Iain Sandoe <iain@sandoe.co.uk>
877
878 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
879 list.
880 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
881 mmacosx-version-min for crts to run across all system versions.
882 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
883 * config/t-darwin: Revise mmacosx-version-min for crts to run across
884 system versions >= 10.4.
885
596341c7
ML
8862019-07-03 Martin Liska <mliska@suse.cz>
887
888 * Makefile.in: Use topn_values instead of one_value names.
889 * libgcov-merge.c (__gcov_merge_single): Move to ...
890 (__gcov_merge_topn): ... this.
891 (merge_single_value_set): Move to ...
892 (merge_topn_values_set): ... this.
893 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
894 ...
895 (__gcov_topn_values_profiler_body): ... this.
896 (__gcov_one_value_profiler_v2): Move to ...
897 (__gcov_topn_values_profiler): ... this.
898 (__gcov_one_value_profiler_v2_atomic): Move to ...
899 (__gcov_topn_values_profiler_atomic): ... this.
900 (__gcov_indirect_call_profiler_v4): Remove.
901 * libgcov-util.c (__gcov_single_counter_op): Move to ...
902 (__gcov_topn_counter_op): ... this.
903 * libgcov.h (L_gcov_merge_single): Remove.
904 (L_gcov_merge_topn): New.
905 (__gcov_merge_single): Remove.
906 (__gcov_merge_topn): New.
907 (__gcov_one_value_profiler_v2): Move to ..
908 (__gcov_topn_values_profiler): ... this.
909 (__gcov_one_value_profiler_v2_atomic): Move to ...
910 (__gcov_topn_values_profiler_atomic): ... this.
911
1b309ca5
ML
9122019-07-03 Martin Liska <mliska@suse.cz>
913
914 * libgcov-merge.c (merge_single_value_set): Support N values.
915 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
916
5a460280
ID
9172019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
918
919 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
920 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
921 * configure.ac: Add --disable-tm-clone-registry option.
922 * configure: Regenerate.
923
45309d28
ML
9242019-06-27 Martin Liska <mliska@suse.cz>
925
926 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
927 dead assignments.
928 * libgcov-util.c: Likewise.
929
c2f7a665
ML
9302019-06-27 Martin Liska <mliska@suse.cz>
931
932 * libgcov-util.c (gcov_profile_merge): Release allocated
933 memory.
934 (calculate_overlap): Likewise.
935
a8e55c61
IS
9362019-06-25 Iain Sandoe <iain@sandoe.co.uk>
937
938 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
939 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
940 Build objects for the out of line save/restore register functions
941 so that they can be used for any supported Darwin version.
942 * config/t-darwin: Default the build Darwin version to Darwin8
943 (MacOS 10.4).
944
e5ce4cbc
ML
9452019-06-25 Martin Liska <mliska@suse.cz>
946
947 * libgcov-driver-system.c (replace_filename_variables): Do not
948 call strlen with NULL argument.
949
52a47d28
AS
9502019-06-25 Andrew Stubbs <ams@codesourcery.com>
951
952 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
953 * config/gcn/unwind-gcn.c: New file.
954
76d46331
KCY
9552019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
956 Andrew Stubbs <ams@codesourcery.com>
957
958 * configure: Regenerate.
959 * config/gcn/gthr-gcn.h: New.
960
787783a0
TV
9612019-06-18 Tom de Vries <tdevries@suse.de>
962
963 * config/nvptx/crt0.c (__main): Declare.
964
f32f7585
MG
9652019-06-17 Matthew Green <mrg@eterna.com.au>
966 Maya Rashish <coypu@sdf.org>
967
968 * config.host (aarch64*-*-netbsd*): New case.
969
0fcc78f7
JL
9702019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
971
972 * config/msp430/slli.S (__mspabi_sllll): New library function for
973 performing a logical left shift of a 64-bit value.
974 * config/msp430/srai.S (__mspabi_srall): New library function for
975 performing a arithmetic right shift of a 64-bit value.
976 * config/msp430/srll.S (__mspabi_srlll): New library function for
977 performing a logical right shift of a 64-bit value.
978
b27c1082
MT
9792019-06-14 Matt Thomas <matt@3am-software.com>
980 Matthew Green <mrg@eterna.com.au>
981 Nick Hudson <skrll@netbsd.org>
982 Maya Rashish <coypu@sdf.org>
983
984 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
985 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
986 functions to build.
987 * config/arm/t-netbsd-eabi: New file.
988
ae7deb4b
DD
9892019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
990
991 * config.host: Add PRU target.
992 * config/pru/asri.c: New file.
993 * config/pru/eqd.c: New file.
994 * config/pru/eqf.c: New file.
995 * config/pru/ged.c: New file.
996 * config/pru/gef.c: New file.
997 * config/pru/gtd.c: New file.
998 * config/pru/gtf.c: New file.
999 * config/pru/led.c: New file.
1000 * config/pru/lef.c: New file.
1001 * config/pru/lib2bitcountHI.c: New file.
1002 * config/pru/lib2divHI.c: New file.
1003 * config/pru/lib2divQI.c: New file.
1004 * config/pru/lib2divSI.c: New file.
1005 * config/pru/libgcc-eabi.ver: New file.
1006 * config/pru/ltd.c: New file.
1007 * config/pru/ltf.c: New file.
1008 * config/pru/mpyll.S: New file.
1009 * config/pru/pru-abi.h: New file.
1010 * config/pru/pru-asm.h: New file.
1011 * config/pru/pru-divmod.h: New file.
1012 * config/pru/sfp-machine.h: New file.
1013 * config/pru/t-pru: New file.
1014
0d7b3e47
JJ
10152019-06-11 Jakub Jelinek <jakub@redhat.com>
1016
1017 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1018
54e2d83c
ML
10192019-06-10 Martin Liska <mliska@suse.cz>
1020
1021 PR bootstrap/90808
1022 * libgcov.h: Add ATTRIBUTE_UNUSED.
1023
92d41717
ML
10242019-06-10 Martin Liska <mliska@suse.cz>
1025
1026 * Makefile.in: Add __gcov_one_value_profiler_v2,
1027 __gcov_one_value_profiler_v2_atomic and
1028 __gcov_indirect_call_profiler_v4.
1029 * libgcov-merge.c (__gcov_merge_single): Change
1030 function signature.
1031 (merge_single_value_set): New.
1032 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1033 Update functionality.
1034 (__gcov_one_value_profiler): Remove.
1035 (__gcov_one_value_profiler_v2): ... this.
1036 (__gcov_one_value_profiler_atomic): Rename to ...
1037 (__gcov_one_value_profiler_v2_atomic): this.
1038 (__gcov_indirect_call_profiler_v3): Rename to ...
1039 (__gcov_indirect_call_profiler_v4): ... this.
1040 * libgcov.h (__gcov_one_value_profiler): Remove.
1041 (__gcov_one_value_profiler_atomic): Remove.
1042 (__gcov_one_value_profiler_v2_atomic): New.
1043 (__gcov_indirect_call_profiler_v3): Remove.
1044 (__gcov_one_value_profiler_v2): New.
1045 (__gcov_indirect_call_profiler_v4): New.
1046 (gcov_get_counter_ignore_scaling): New function.
1047
e37333ba
ML
10482019-06-07 Martin Liska <mliska@suse.cz>
1049
1050 * Makefile.in: Remove usage of
1051 _gcov_merge_icall_topn.
1052 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1053 (gcov_sort_icall_topn_counter): Likewise.
1054 (gcov_sort_topn_counter_arrays): Likewise.
1055 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1056 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1057 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1058 Likewise.
1059 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1060 (struct indirect_call_tuple): Remove.
1061 (__gcov_indirect_call_topn_profiler): Remove.
1062 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1063 * libgcov.h (gcov_sort_n_vals): Remove.
1064 (L_gcov_merge_icall_topn): Likewise.
1065 (__gcov_merge_icall_topn): Likewise.
1066 (__gcov_indirect_call_topn_profiler): Likewise.
1067
34a4a9c2
IS
10682019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1069
1070 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1071 altivec enabled.
1072
d1b2f85f
JL
10732019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1074
1075 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1076 section.
1077 (__mspabi_slli): Likewise.
1078 (__mspabi_slll_n): Likewise.
1079 (__mspabi_slll): Likewise.
1080 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1081 (__mspabi_srai): Likewise.
1082 (__mspabi_sral_n): Likewise.
1083 (__mspabi_sral): Likewise.
1084 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1085 (__mspabi_srli): Likewise.
1086 (__mspabi_srll_n): Likewise.
1087 (__mspabi_srll): Likewise.
1088
e69a13d1
YS
10892019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1090
1091 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1092 Add appropriate tm_file clause as well.
1093 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1094
b009eac1
JC
10952019-06-05 James Clarke <jrtc27@jrtc27.com>
1096
1097 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1098 rather than .data/.bss so it can be accessed via gp-relative
1099 addressing.
1100
781d39f2
DE
11012019-06-05 David Edelsohn <dje.gcc@gmail.com>
1102
1103 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1104 (CR2_REGNO): Rename to R_CR2.
1105 (XER_REGNO): Rename to R_XER.
1106 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1107 (VRSAVE_REGNO): Rename to R_VRSAVE.
1108 (VSCR_REGNO): R_VSCR.
1109
76aaa9cd
YS
11102019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1111
1112 * config.host (rx-*-linux*): Add new case.
1113 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1114
8fc16d72
ST
11152019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1116
1117 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1118 function.
1119 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1120 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1121 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1122 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1123 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1124 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1125 string.
1126 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1127 string.
1128 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1129
e54b1a92
RO
11302019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1131
1132 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1133 Remove Solaris 9 and 10 support.
1134 (sparc_is_sighandler): Likewise.
1135
abbb8307
JDA
11362019-05-26 John David Anglin <danglin@gcc.gnu.org>
1137
1138 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1139
2581344d
L
11402019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1141
1142 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1143 4_FP_W_TYPEs are used for IEEE quad precision.
1144 * soft-fp/extendhftf2.c: Likewise.
1145 * soft-fp/extendsftf2.c: Likewise.
1146 * soft-fp/extendxftf2.c: Likewise.
1147 * soft-fp/trunctfdf2.c: Likewise.
1148 * soft-fp/trunctfhf2.c: Likewise.
1149 * soft-fp/trunctfsf2.c: Likewise.
1150 * soft-fp/trunctfxf2.c: Likewise.
1151 * config/rs6000/ibm-ldouble.c: Likewise.
1152
ccd1242e
RO
11532019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1154
1155 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1156 *-*-solaris2*.
1157 * configure.ac: Likewise.
1158 * configure: Regenerate.
1159
1160 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1161 Solaris 10 and Solaris 11 < snv_125 handling.
1162
ef5eb79d
IS
11632019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1164
1165 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1166
4f0e90fa
HL
11672019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1168
1169 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1170 * config/i386/cpuinfo.h (enum processor_features): Add
1171 FEATURE_AVX512BF16.
1172
48528842
RR
11732019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1174 Bernd Edlinger <bernd.edlinger@hotmail.de>
1175 Jakub Jelinek <jakub@redhat.com>
1176
1177 PR target/89093
1178 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1179 * config/arm/unwind-arm.c: Likewise.
1180 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1181 attribute for ARM.
1182
887e182f
MC
11832019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1184
1185 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1186 (RT_SIGRETURN): Update.
1187 (nds32_fallback_frame_state): Update.
1188
a90b0cdd
MS
11892019-02-21 Martin Sebor <msebor@redhat.com>
1190
1191 * libgcc2.h (__clear_cache): Correct signature.
1192 * libgcc2.c (__clear_cache): Same.
1193
1ed28eda
UB
11942019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1195
1196 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1197 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1198
fe95aee9
UB
11992019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1200
1201 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1202 regno instead of index to DWARF_ZERO_REG.
1203
bf7988f1
EB
12042019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1205
1206 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1207 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1208
ba2c1ca8
UB
12092019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1210
1211 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1212 to HOST_LIBGCC2_CFLAGS.
1213
6395ba73
L
12142019-01-23 Joseph Myers <joseph@codesourcery.com>
1215
1216 PR libgcc/88931
ba2c1ca8 1217 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 1218
756721ba
ML
12192019-01-18 Martin Liska <mliska@suse.cz>
1220
1221 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1222 to ...
1223 (__gcov_indirect_call_profiler_v3): ... this.
1224 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1225 (__gcov_indirect_call_profiler_v3): Likewise.
1226 * Makefile.in: Bump function name.
1227
d273c40a
ML
12282019-01-18 Martin Liska <mliska@suse.cz>
1229
1230 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1231 (gcov_version): Use in gcov_error.
1232 (merge_one_data): Likewise.
1233 (dump_one_gcov): Likewise.
1234
be9d9fdb
ML
12352019-01-18 Martin Liska <mliska@suse.cz>
1236
1237 * libgcov-driver.c (gcov_version_string): New function.
1238 (gcov_version): Convert version integer into string.
1239
91d7b7fe
AS
12402019-01-17 Andrew Stubbs <ams@codesourcery.com>
1241 Kwok Cheung Yeung <kcy@codesourcery.com>
1242 Julian Brown <julian@codesourcery.com>
1243 Tom de Vries <tom@codesourcery.com>
1244
1245 * config.host: Recognize amdgcn*-*-amdhsa.
1246 * config/gcn/crt0.c: New file.
1247 * config/gcn/lib2-divmod-hi.c: New file.
1248 * config/gcn/lib2-divmod.c: New file.
1249 * config/gcn/lib2-gcn.h: New file.
1250 * config/gcn/sfp-machine.h: New file.
1251 * config/gcn/t-amdgcn: New file.
1252
67914693
SL
12532019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1254
1255 PR other/16615
1256
1257 * config/c6x/libunwind.S: Mechanically replace "can not" with
1258 "cannot".
1259 * config/tilepro/atomic.h: Likewise.
1260 * config/vxlib-tls.c: Likewise.
1261 * generic-morestack-thread.c: Likewise.
1262 * generic-morestack.c: Likewise.
1263 * mkmap-symver.awk: Likewise.
1264
a5544970
JJ
12652019-01-01 Jakub Jelinek <jakub@redhat.com>
1266
1267 Update copyright years.
1268
da77eace
L
12692018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1272 to ignore -Waddress-of-packed-member.
1273
72e3a529
TP
12742018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1275
1276 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1277 parameter and corresponding code.
1278 (ARM_FUNC_START): Likewise in both definitions.
1279 Also update footer comment about condition that need to match with
1280 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1281 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1282 defined. Weakly define it in this case.
1283 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1284 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1285 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1286 comment to keep condition in sync with the one in
1287 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1288
5d54c798
WX
12892018-12-18 Wei Xiao <wei3.xiao@intel.com>
1290
1291 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1292 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1293
5a2580b6
RV
12942018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1295
1296 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1297 and .cfi_endproc directives for VxWorks targets.
1298
c0c5112b
PK
12992018-12-05 Paul Koning <ni1d@arrl.net>
1300
1301 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1302
1ea7ea18
AM
13032018-11-27 Alan Modra <amodra@gmail.com>
1304
1305 * config/rs6000/morestack.S (__stack_split_initialize),
1306 (__morestack_get_guard, __morestack_set_guard),
1307 (__morestack_make_guard): Provide CFI covering these functions.
1308 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1309
ff641ae1
XQ
13102018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1311
1ea7ea18 1312 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
1313 (sc_pt_regs_lr): Update for kernel.
1314 (sc_pt_regs_tls): Update for kernel.
1315
28209372
XQ
13162018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1317
1318 * config/csky/linux-unwind.h: Fix coding style.
1319
b2a71af6
XQ
13202018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1321
1322 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 1323 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
1324 instructions to adapt to changes in the kernel
1325
d929e137
SH
13262018-11-09 Stafford Horne <shorne@gmail.com>
1327 Richard Henderson <rth@twiddle.net>
1328
1329 * config.host: Add OpenRISC support.
1330 * config/or1k/*: New.
1331
222cfefa
KC
13322018-11-08 Kito Cheng <kito@andestech.com>
1333
1334 * soft-fp/adddf3.c: Update from glibc.
1335 * soft-fp/addsf3.c: Likewise.
1336 * soft-fp/addtf3.c: Likewise.
1337 * soft-fp/divdf3.c: Likewise.
1338 * soft-fp/divsf3.c: Likewise.
1339 * soft-fp/divtf3.c: Likewise.
1340 * soft-fp/double.h: Likewise.
1341 * soft-fp/eqdf2.c: Likewise.
1342 * soft-fp/eqsf2.c: Likewise.
1343 * soft-fp/eqtf2.c: Likewise.
1344 * soft-fp/extenddftf2.c: Likewise.
1345 * soft-fp/extended.h: Likewise.
1346 * soft-fp/extendhftf2.c: Likewise.
1347 * soft-fp/extendsfdf2.c: Likewise.
1348 * soft-fp/extendsftf2.c: Likewise.
1349 * soft-fp/extendxftf2.c: Likewise.
1350 * soft-fp/fixdfdi.c: Likewise.
1351 * soft-fp/fixdfsi.c: Likewise.
1352 * soft-fp/fixdfti.c: Likewise.
1353 * soft-fp/fixhfti.c: Likewise.
1354 * soft-fp/fixsfdi.c: Likewise.
1355 * soft-fp/fixsfsi.c: Likewise.
1356 * soft-fp/fixsfti.c: Likewise.
1357 * soft-fp/fixtfdi.c: Likewise.
1358 * soft-fp/fixtfsi.c: Likewise.
1359 * soft-fp/fixtfti.c: Likewise.
1360 * soft-fp/fixunsdfdi.c: Likewise.
1361 * soft-fp/fixunsdfsi.c: Likewise.
1362 * soft-fp/fixunsdfti.c: Likewise.
1363 * soft-fp/fixunshfti.c: Likewise.
1364 * soft-fp/fixunssfdi.c: Likewise.
1365 * soft-fp/fixunssfsi.c: Likewise.
1366 * soft-fp/fixunssfti.c: Likewise.
1367 * soft-fp/fixunstfdi.c: Likewise.
1368 * soft-fp/fixunstfsi.c: Likewise.
1369 * soft-fp/fixunstfti.c: Likewise.
1370 * soft-fp/floatdidf.c: Likewise.
1371 * soft-fp/floatdisf.c: Likewise.
1372 * soft-fp/floatditf.c: Likewise.
1373 * soft-fp/floatsidf.c: Likewise.
1374 * soft-fp/floatsisf.c: Likewise.
1375 * soft-fp/floatsitf.c: Likewise.
1376 * soft-fp/floattidf.c: Likewise.
1377 * soft-fp/floattihf.c: Likewise.
1378 * soft-fp/floattisf.c: Likewise.
1379 * soft-fp/floattitf.c: Likewise.
1380 * soft-fp/floatundidf.c: Likewise.
1381 * soft-fp/floatundisf.c: Likewise.
1382 * soft-fp/floatunditf.c: Likewise.
1383 * soft-fp/floatunsidf.c: Likewise.
1384 * soft-fp/floatunsisf.c: Likewise.
1385 * soft-fp/floatunsitf.c: Likewise.
1386 * soft-fp/floatuntidf.c: Likewise.
1387 * soft-fp/floatuntihf.c: Likewise.
1388 * soft-fp/floatuntisf.c: Likewise.
1389 * soft-fp/floatuntitf.c: Likewise.
1390 * soft-fp/gedf2.c: Likewise.
1391 * soft-fp/gesf2.c: Likewise.
1392 * soft-fp/getf2.c: Likewise.
1393 * soft-fp/half.h: Likewise.
1394 * soft-fp/ledf2.c: Likewise.
1395 * soft-fp/lesf2.c: Likewise.
1396 * soft-fp/letf2.c: Likewise.
1397 * soft-fp/muldf3.c: Likewise.
1398 * soft-fp/mulsf3.c: Likewise.
1399 * soft-fp/multf3.c: Likewise.
1400 * soft-fp/negdf2.c: Likewise.
1401 * soft-fp/negsf2.c: Likewise.
1402 * soft-fp/negtf2.c: Likewise.
1403 * soft-fp/op-1.h: Likewise.
1404 * soft-fp/op-2.h: Likewise.
1405 * soft-fp/op-4.h: Likewise.
1406 * soft-fp/op-8.h: Likewise.
1407 * soft-fp/op-common.h: Likewise.
1408 * soft-fp/quad.h: Likewise.
1409 * soft-fp/single.h: Likewise.
1410 * soft-fp/soft-fp.h: Likewise.
1411 * soft-fp/subdf3.c: Likewise.
1412 * soft-fp/subsf3.c: Likewise.
1413 * soft-fp/subtf3.c: Likewise.
1414 * soft-fp/truncdfsf2.c: Likewise.
1415 * soft-fp/trunctfdf2.c: Likewise.
1416 * soft-fp/trunctfhf2.c: Likewise.
1417 * soft-fp/trunctfsf2.c: Likewise.
1418 * soft-fp/trunctfxf2.c: Likewise.
1419 * soft-fp/unorddf2.c: Likewise.
1420 * soft-fp/unordsf2.c: Likewise.
1421 * soft-fp/unordtf2.c: Likewise.
1422
2901f42f
VK
14232018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1424
1425 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1426 * config/i386/cpuinfo.h (processor_types): Add znver2.
1427
4310ca66
PK
14282018-11-01 Paul Koning <ni1d@arrl.net>
1429
1430 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1431 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1432
22e05272
JM
14332018-10-31 Joseph Myers <joseph@codesourcery.com>
1434
1435 PR bootstrap/82856
1436 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1437 * configure: Regenerate.
1438
8180cde0
CZ
14392018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1440
1441 * config/arc/lib1funcs.S (_muldi3): New function.
1442 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1443
be7b071e
RV
14442018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1445
1446 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1447
3239d726
ML
14482018-10-25 Martin Liska <mliska@suse.cz>
1449
1450 PR other/87735
1451 * libgcov-profiler.c: Revert.
1452
19b55958
ML
14532018-10-24 Martin Liska <mliska@suse.cz>
1454
1455 * libgcov-profiler.c: Start from 1 in order to distinguish
1456 functions which were seen and these that were not.
1457
a9a2fddb
PK
14582018-10-18 Paul Koning <ni1d@arrl.net>
1459
1460 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1461 standard.
1462 * divmod.c: Update references to __udivmodsi4.
1463 * udivmod.c: Ditto.
1464 * udivhi3.c: New file.
1465 * udivmodhi4.c: New file.
1466 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1467
fc8abc46
RV
14682018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1469
1470 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1471
87f918e3
OH
14722018-10-12 Olivier Hainque <hainque@adacore.com>
1473
1474 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1475 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1476
be86efa7
PK
14772018-10-08 Paul Koning <ni1d@arrl.net>
1478
1479 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1480
3edbcdbe
ML
14812018-10-04 Martin Liska <mliska@suse.cz>
1482
1483 PR gcov-profile/84107
1484 * libgcov-profiler.c (__gcov_indirect_call):
1485 Change type to indirect_call_tuple.
1486 (struct indirect_call_tuple): New struct.
1487 (__gcov_indirect_call_topn_profiler): Change type.
1488 (__gcov_indirect_call_profiler_v2): Use the new
1489 variables.
1490 * libgcov.h (struct indirect_call_tuple): New struct
1491 definition.
1492
af8096fc
UB
14932018-10-03 Uros Bizjak <ubizjak@gmail.com>
1494
1495 * libgcc2.c (isnan): Use __builtin_isnan.
1496 (isfinite): Use __builtin_isfinite.
1497 (isinf): Use __builtin_isinf.
1498
0a76bba4
UB
14992018-09-26 Uros Bizjak <ubizjak@gmail.com>
1500
1501 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1502
5244089f
OH
15032018-09-21 Alexandre Oliva <oliva@adacore.com>
1504
1505 * config/vxcache.c: New file. Provide __clear_cache, based on
1506 the cacheTextUpdate VxWorks service.
1507 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1508 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1509 * config/t-vxwoks7: Likewise.
1510
512cc015
ML
15112018-09-21 Martin Liska <mliska@suse.cz>
1512
1513 * libgcov-driver.c (crc32_unsigned): Remove.
1514 (gcov_histogram_insert): Likewise.
1515 (gcov_compute_histogram): Likewise.
1516 (compute_summary): Simplify rapidly.
1517 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1518 (merge_summary): Rapidly simplify.
1519 (dump_one_gcov): Ignore gcov_summary.
1520 (gcov_do_dump): Do not handle program summary, it's not
1521 used.
1522 * libgcov-util.c (tag_summary): Remove.
1523 (read_gcda_finalize): Fix coding style.
1524 (read_gcda_file): Initialize curr_object_summary.
1525 (compute_summary): Remove.
1526 (calculate_overlap): Remove settings of run_max.
1527
36ff254b
MC
15282018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1529
1530 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1531 ucontext_t type instead.
1532 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1533
229a033d
KC
15342018-09-21 Kito Cheng <kito.cheng@gmail.com>
1535
1536 * config/nds32/t-nds32-glibc: New file.
1537
53c6feb2
RO
15382018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1539
1540 * configure.ac (solaris_ld_v2_maps): New test.
1541 * configure: Regenerate.
1542 * Makefile.in (solaris_ld_v2_maps): New variable.
1543 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1544 if supported.
1545
ebdb6f23
RE
15462018-08-23 Richard Earnshaw <rearnsha@arm.com>
1547
1548 PR target/86951
1549 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1550 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1551 to build.
1552
a49c064e
IS
15532018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1554
1ea7ea18 1555 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1556 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1557 * config/darwin10-unwind-find-enc-func.c: … to here.
1558 * config/t-darwin: Build Darwin10 unwinder shim crt.
1559 * libgcc/config.host: Add the Darwin10 unwinder shim.
1560
9a5b8df7
RV
15612018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1562
1563 * config.host: Add crtbegin.o and crtend.o for
1564 powerpc-wrs-vxworks target.
1565
4cd0bc3b
J
15662018-08-17 Jojo <jijie_rong@c-sky.com>
1567 Huibin Wang <huibin_wang@c-sky.com>
1568 Sandra Loosemore <sandra@codesourcery.com>
1569 Chung-Lin Tang <cltang@codesourcery.com>
1570
1571 C-SKY port: libgcc
1572
1573 * config.host: Add C-SKY support.
1574 * config/csky/*: New.
1575
a4931745
CJW
15762018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1577
1578 * config/nds32/t-nds32-isr: Rearrange object dependency.
1579 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1580 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1581 and registers usage.
1582 * config/nds32/isr-library/excp_isr.S: Ditto.
1583 * config/nds32/isr-library/intr_isr.S: Ditto.
1584 * config/nds32/isr-library/reset.S: Ditto.
1585 * config/nds32/isr-library/restore_all.inc: Ditto.
1586 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1587 * config/nds32/isr-library/restore_partial.inc: Ditto.
1588 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1589 * config/nds32/isr-library/save_all.inc: Ditto.
1590 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1591 * config/nds32/isr-library/save_partial.inc: Ditto.
1592 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1593 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1594
2b1969f6
JDA
15952018-08-11 John David Anglin <danglin@gcc.gnu.org>
1596
1597 * config/pa/linux-atomic.c: Update comment.
1598 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1599 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1600 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1601 __ATOMIC_RELAXED for atomic loads.
1602 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1603 unordered store to release lock.
1604 (__sync_lock_release_8): Likewise.
1605 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 1606
89fff9cc
NP
16072018-08-02 Nicolas Pitre <nico@fluxnic.net>
1608
1609 PR libgcc/86512
1610 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1611 exponent goes negative. Update my email address.
1612 * config/arm/ieee754-sf.S: Likewise.
1613
fd2e1dcd
ML
16142018-08-01 Martin Liska <mliska@suse.cz>
1615
1616 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 1617 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 1618
b7415975
CL
16192018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1620
1621 * config/arm/ieee754-df.S: Fix comment for code working on
1622 architectures >= 4.
1623 * config/arm/ieee754-sf.S: Likewise.
1624
b72e71a3
L
16252018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 PR libgcc/85334
1628 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1629 Removed.
1630
1c686aa4
JC
16312018-07-05 James Clarke <jrtc27@jrtc27.com>
1632
1633 * configure: Regenerated.
1634
b61c9b99
RO
16352018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1636
1637 * Makefile.in (install_leaf): Use enable_gcov instead of
1638 enable_libgcov.
1639
1765b023
RV
16402018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1641
1642 * configure.ac: Add --disable-gcov option.
1643 * configure: Regenerate.
1644 * Makefile.in: Honour @enable_gcov@.
1645
9b2e34ef
CL
16462018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1647
1648 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1649 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1650 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1651 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1652 __ARM_ARCH__.
1653 * config/arm/ieee754-sf.S: Likewise.
1654 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1655
d1b0dd54
CL
16562018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1657
1658 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1659 longer supported.
1660 * config/arm/ieee754-sf.S: Likewise.
1661
1f3fa525
TM
16622018-06-20 Than McIntosh <thanm@google.com>
1663
1664 PR libgcc/86213
1665 * generic-morestack.c (allocate_segment): Move calls to getenv and
1666 getpagesize to __morestack_load_mmap.
1667 (__morestack_load_mmap) Initialize static_pagesize and
1668 use_guard_page here so as to avoid clobbering SSE regs during a
1669 __morestack call.
1670
6a8886e4
MM
16712018-06-18 Michael Meissner <meissner@linux.ibm.com>
1672
1673 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1674 support modules with -mno-gnu-attribute.
1675 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1676
fb997097
OH
16772018-06-07 Olivier Hainque <hainque@adacore.com>
1678
1679 * config/t-vxworks (LIBGCC_INCLUDES): Add
1680 -I$(MULTIBUILDTOP)../../gcc/include.
1681 * config/t-vxworks7: Likewise. Reformat a bit to match
1682 the t-vxworks layout.
1683
a548a5a1
OM
16842018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1685
1686 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1687
244aebfd
ML
16882018-06-07 Martin Liska <mliska@suse.cz>
1689
1690 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1691 all_prg.
244aebfd 1692
6c086e8c
ML
16932018-06-07 Martin Liska <mliska@suse.cz>
1694
92a285c1 1695 PR bootstrap/86057
6c086e8c 1696 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1697 memcpy instead of mempcpy.
6c086e8c 1698 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1699 prefix and set it.
6c086e8c 1700 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1701 here and properly copy content into it.
6c086e8c 1702 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1703 field, change prefix from size_t into char *.
6c086e8c
ML
1704 (compute_summary): Do not calculate longest filename.
1705 (gcov_do_dump): Release memory of gf.filename after each file.
1706 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1707 compute_summary.
6c086e8c
ML
1708 (calculate_overlap): Likewise.
1709
97a53d1d
ML
17102018-06-05 Martin Liska <mliska@suse.cz>
1711
1712 PR gcov-profile/47618
1713 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1714 function.
97a53d1d
ML
1715 (gcov_exit_open_gcda_file): Use it.
1716
7f3577f5
ML
17172018-06-05 Martin Liska <mliska@suse.cz>
1718
1719 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1720 of gcov_ctr_summary.
1721 (compute_summary): Do it just for a single summary.
1722 (merge_one_data): Likewise.
1723 (merge_summary): Simplify as we read just single summary.
1724 (dump_one_gcov): Pass proper argument.
1725 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1726 single summary.
1727 (gcov_info_count_all_cold): Likewise.
1728 (calculate_overlap): Likewise.
1729
cf3cd43d
CJW
17302018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1731 Monk Chiang <sh.chiang04@gmail.com>
1732
1733 * config.host (nds32*-linux*): New.
1734 * config/nds32/linux-atomic.c: New file.
1735 * config/nds32/linux-unwind.h: New file.
1736
8b8003ed
UB
17372018-05-31 Uros Bizjak <ubizjak@gmail.com>
1738
1739 PR target/85591
1740 * config/i386/cpuinfo.c (get_amd_cpu): Return
1741 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1742
bbdf026f
RV
17432018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1744
92a285c1 1745 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1746
0e8f29da
ML
17472018-05-29 Martin Liska <mliska@suse.cz>
1748
92a285c1 1749 PR gcov-profile/85759
0e8f29da 1750 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1751 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1752 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1753 overwrite a gcov file with a different timestamp.
0e8f29da 1754
54fd1590
K
17552018-05-23 Kalamatee <kalamatee@gmail.com>
1756
1757 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1758 path to Lf$finfty.
1759
09baee1a
KC
17602018-05-18 Kito Cheng <kito.cheng@gmail.com>
1761 Monk Chiang <sh.chiang04@gmail.com>
1762 Jim Wilson <jimw@sifive.com>
1763
1764 * config/riscv/save-restore.S: Add support for rv32e.
1765
c3f808d3
KT
17662018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1767
1768 * config/arm/libunwind.S: Update comment relating to armv5.
1769
fcf4f831
JL
17702018-05-17 Jerome Lambourg <lambourg@adacore.com>
1771
1772 * config/arm/cmse.c (cmse_check_address_range): Replace
1773 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1774
74b2bb19
OM
17752018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1776
1777 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1778 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1779
50e461df
OM
17802018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1781
1782 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1783 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1784
e5f1cdb1
AC
17852018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1786
1787 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1788
8f479d7a
AT
17892018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1790 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1791
1792 PR libgcc/84292
1793 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1794 op_and_fetch to return the right result.
1795
ae043291
AM
17962018-04-27 Alan Modra <amodra@gmail.com>
1797
1798 PR libgcc/85532
1799 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1800 -fno-asynchronous-unwind-tables.
1801
ba169b74
CJW
18022018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1803
1804 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1805 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1806
ffc2fc06
L
18072018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1808
1809 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1810 when including "config/i386/shadow-stack-unwind.h".
1811
7b47ecf2
L
18122018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1813
1814 * configure: Regenerated.
1815
661eb8f9
MM
18162018-04-20 Michael Meissner <meissner@linux.ibm.com>
1817
1818 PR target/85456
1819 * config/rs6000/_powikf2.c: New file. Add support for the
1820 __builtin_powil function when long double is IEEE 128-bit floating
1821 point.
1822 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1823 __powikf2 support.
1824 (__powikf2): Likewise.
1825 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1826 (__powikf2_hw): Likewise.
1827 (__powikf2): Likewise.
1828 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1829 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1830 (_powikf2-hw.c): Likewise.
1831
5707be3c
L
18322018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1833
1834 PR libgcc/85334
1835 * unwind-generic.h (_Unwind_Frames_Increment): New.
1836 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1837 Likewise.
1838 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1839 count with _Unwind_Frames_Increment.
1840 (_Unwind_ForcedUnwind_Phase2): Likewise.
1841
5f9ca0b8
L
18422018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1843
1844 PR libgcc/85379
1845 * config/i386/morestack.S (__stack_split_initialize): Add
1846 _CET_ENDBR.
1847
a0e1df88
JJ
18482018-04-19 Jakub Jelinek <jakub@redhat.com>
1849
1850 * configure: Regenerated.
1851
001ddaa8
DM
18522018-04-18 David Malcolm <dmalcolm@redhat.com>
1853
1854 PR jit/85384
1855 * configure: Regenerate.
1856
a57f99ba
JJ
18572018-04-16 Jakub Jelinek <jakub@redhat.com>
1858
1859 PR target/84945
1860 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1861 -Wdangling-else warnings. Mask shift counts to avoid
1862 -Wshift-count-negative and -Wshift-count-overflow false positives.
1863
4d47fe5a
RB
18642018-04-06 Ruslan Bukin <br@bsdpad.com>
1865
1866 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1867
059cc8ac
L
18682018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1869
1870 PR target/85100
1871 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1872 (XSTATE_FP): Likewise.
1873 (XSTATE_SSE): Likewise.
1874 (XSTATE_YMM): Likewise.
1875 (XSTATE_OPMASK): Likewise.
1876 (XSTATE_ZMM): Likewise.
1877 (XSTATE_HI_ZMM): Likewise.
1878 (XCR_AVX_ENABLED_MASK): Likewise.
1879 (XCR_AVX512F_ENABLED_MASK): Likewise.
1880 (get_available_features): Enable AVX and AVX512 features only
1881 if their states are supported by OSXSAVE.
1882
f2620385
IT
18832018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1884
1885 PR target/85025
1886 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1887 Fix a typo, tmp => 255.
1888
ae6dca8c
JJ
18892018-03-20 Jakub Jelinek <jakub@redhat.com>
1890
1891 PR target/84945
1892 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1893 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1894 ifndef SHARED only.
1895 (set_feature): Define.
1896 (get_available_features): Use set_feature macro. Set __cpu_features2
1897 to the second word of features ifndef SHARED.
1898
c36b04c1
JK
18992018-03-15 Julia Koval <julia.koval@intel.com>
1900
1901 * config/i386/cpuinfo.c (get_available_features): Add
1902 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1903 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1904 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1905 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1906 FEATURE_AVX512BITALG.
1907
79ab5364
JK
19082018-03-14 Julia Koval <julia.koval@intel.com>
1909
1910 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1911 icelake client and icelake server.
1912
66a00b11
JDA
19132018-03-06 John David Anglin <danglin@gcc.gnu.org>
1914
1915 * config/pa/fptr.c (_dl_read_access_allowed): New.
1916 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1917
ce579a4f
JJ
19182018-02-28 Jakub Jelinek <jakub@redhat.com>
1919
1920 PR debug/83917
1921 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1922 $asm_hidden_op if visibility ("hidden") attribute works.
1923 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1924 * config/i386/i386-asm.h: Don't include auto-host.h.
1925 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1926 PACKAGE_URL): Don't undefine.
1927 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1928 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1929 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1930 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1931 definition instead of hardcoded .hidden.
1932 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1933 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1934 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1935 (USE_GAS_CFI_DIRECTIVES): Don't define.
1936 * configure: Regenerated.
1937 * config.in: Likewise.
1938
e5868319
JJ
19392018-02-26 Jakub Jelinek <jakub@redhat.com>
1940
1941 PR debug/83917
1942 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1943 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1944 inclusion of auto-target.h and auto-host.h.
1945 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1946 __GCC_HAVE_DWARF2_CFI_ASM.
1947 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1948 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1949 cfi_pop): Define.
1950 * config/i386/cygwin.S: Don't include auto-host.h here, just
1951 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1952 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1953 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1954 * config/i386/resms64fx.h: Add cfi_* directives.
1955 * config/i386/resms64x.h: Likewise.
1956
faef260e
MF
19572018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1958
1959 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1960 .literal_position directive.
1961 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1962
14e335ed
IT
19632018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1964
1965 PR target/84148
1966 * configure: Regenerate.
1967
95df0433
IT
19682018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1969
1970 PR target/84239
1971 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1972 Include cetintrin.h not x86intrin.h.
1973
f8de876d
IT
19742018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1975
1976 PR target/84239
95df0433 1977 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1978 Use new _get_ssp and _inc_ssp intrinsics.
1979
02da1e9c
JK
19802018-02-02 Julia Koval <julia.koval@intel.com>
1981
1982 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1983
048c6a9a
CZ
19842018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1985
1986 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1987 option.
1988 (__divsi3): Use RF16 safe registers.
1989 (__modsi3): Likewise.
1990
0889f168
MF
19912018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1992
1993 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1994 (__divsf3): Make NaN return value quiet.
1995 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1996 (__divdf3): Make NaN return value quiet.
1997
bc8b0d04
SP
19982018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1999
2000 * config/rl78/anddi3.S: New assembly file.
2001 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2002
99cc06ea
SP
20032018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2004
2005 * config/rl78/umindi3.S: New assembly file.
2006 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2007
6e9007a0
SP
20082018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2009
2010 * config/rl78/smindi3.S: New assembly file.
2011 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2012
d975e494 20132018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2014
d975e494
SP
2015 * config/rl78/smaxdi3.S: New assembly file.
2016 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2017
6a18c146 20182018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2019
5dd16013
SP
2020 * config/rl78/umaxdi3.S: New assembly file.
2021 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 2022
07baf4a5
JDA
20232018-01-21 John David Anglin <danglin@gcc.gnu.org>
2024
2025 PR lto/83452
2026 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2027 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 2028
dbc3af4f
RS
20292018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2030
2031 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2032 (DWARF_LAZY_REGISTER_VALUE): Define.
2033 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2034 to provide a fallback register value.
2035
68df9882
MM
20362018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2037
2038 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2039 __ibm128, instead of trying to use long double.
2040 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2041 accomidate -mabi=ieeelongdouble multilibs.
2042 (CVT_IBM128_TO_FLOAT128): Likewise.
2043 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2044 the appropriate IBM extended double type.
2045 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2046 (__gcc_qsub): Likewise.
2047 (__gcc_qmul): Likewise.
2048 (__gcc_qdiv): Likewise.
2049 (pack_ldouble): Likewise.
2050 (__gcc_qneg): Likewise.
2051 (__gcc_qeq): Likewise.
2052 (__gcc_qne): Likewise.
2053 (__gcc_qge): Likewise.
2054 (__gcc_qle): Likewise.
2055 (__gcc_stoq): Likewise.
2056 (__gcc_dtoq): Likewise.
2057 (__gcc_itoq): Likewise.
2058 (__gcc_utoq): Likewise.
2059 (__gcc_qunord): Likewise.
2060 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2061 quad-float128.h for the definitions.
2062 (COPYSIGN): Use the f128 version instead of the q version.
2063 (INFINITY): Likewise.
2064 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2065 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2066 quad-float128.h for the definitions.
2067 (COPYSIGN): Use the f128 version instead of the q version.
2068 (INFINITY): Likewise.
2069 (FABS): Likewise.
2070 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2071 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2072 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2073
64b371b1
SH
20742018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2075
2076 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2077 configuration.
2078
85ec4feb
JJ
20792018-01-03 Jakub Jelinek <jakub@redhat.com>
2080
2081 Update copyright years.
2082
20832017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
2084
2085 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2086 * config/riscv/multi3.c: New file.
2087 * config/riscv/multi3.S: Remove.
2088
3a4c600f
JW
20892017-12-08 Jim Wilson <jimw@sifive.com>
2090
2091 * config/riscv/div.S: Use FUNC_* macros.
2092 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2093 * config/riscv/save-restore.S: Likewise.
2094 * config/riscv/riscv-asm.h: New.
2095
75ad35b5
MM
20962017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2097
6ae3512c
MM
2098 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2099 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2100
75ad35b5
MM
2101 PR libgcc/83112
2102 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2103 correct type for all ifunc resolvers to silence -Wattribute-alias
2104 warnings. Eliminate the forward declaration of the resolver
2105 functions which is no longer needed.
2106 (__subkf3_resolve): Likewise.
2107 (__mulkf3_resolve): Likewise.
2108 (__divkf3_resolve): Likewise.
2109 (__negkf2_resolve): Likewise.
2110 (__eqkf2_resolve): Likewise.
2111 (__nekf2_resolve): Likewise.
2112 (__gekf2_resolve): Likewise.
2113 (__gtkf2_resolve): Likewise.
2114 (__lekf2_resolve): Likewise.
2115 (__ltkf2_resolve): Likewise.
2116 (__unordkf2_resolve): Likewise.
2117 (__extendsfkf2_resolve): Likewise.
2118 (__extenddfkf2_resolve): Likewise.
2119 (__trunckfsf2_resolve): Likewise.
2120 (__trunckfdf2_resolve): Likewise.
2121 (__fixkfsi_resolve): Likewise.
2122 (__fixkfdi_resolve): Likewise.
2123 (__fixunskfsi_resolve): Likewise.
2124 (__fixunskfdi_resolve): Likewise.
2125 (__floatsikf_resolve): Likewise.
2126 (__floatdikf_resolve): Likewise.
2127 (__floatunsikf_resolve): Likewise.
2128 (__floatundikf_resolve): Likewise.
2129 (__extendkftf2_resolve): Likewise.
2130 (__trunctfkf2_resolve): Likewise.
2131
2132 PR libgcc/83103
2133 * config/rs6000/quad-float128.h (TF): Don't define if long double
2134 is IEEE 128-bit floating point.
2135 (TCtype): Define as either TCmode or KCmode, depending on whether
2136 long double is IEEE 128-bit floating point.
2137 (__mulkc3_sw): Add declarations for software/hardware versions of
2138 complex multiply/divide.
2139 (__divkc3_sw): Likewise.
2140 (__mulkc3_hw): Likewise.
2141 (__divkc3_hw): Likewise.
2142 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2143 handlers to switch between using software emulation and hardware
2144 float128 instructions, build the complex multiply/divide functions
2145 for both software and hardware support.
2146 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2147 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2148 (__divkc3_resolve): Likewise.
2149 (__mulkc3): Likewise.
2150 (__divkc3): Likewise.
2151 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2152 (fp128_hw_src): Likewise.
2153 (fp128_hw_static_obj): Likewise.
2154 (fp128_hw_shared_obj): Likewise.
2155 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2156 _mulkc3.c and _divkc3.c, changing the function name.
2157 (_divkc3-hw.c): Likewise.
2158 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2159 and _divkc3-hw.c.
2160
c234d831
UB
21612017-11-26 Julia Koval <julia.koval@intel.com>
2162
2163 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2164 * config/i386/cpuinfo.h (processor_subtypes): Add
2165 INTEL_COREI7_CANNONLAKE.
2166
1ebafce0
IT
21672017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2168
2169 PR bootstrap/83015
2170 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2171 parameter.
2172 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2173 * config/ia64/unwind-ia64.c: Add frames parameter.
2174 * unwind-sjlj.c: Likewise.
2175
6a10fff4
IT
21762017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2177
2178 * config/i386/linux-unwind.h: Include
2179 config/i386/shadow-stack-unwind.h.
2180 * config/i386/shadow-stack-unwind.h: New file.
2181 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2182 pass it to _Unwind_Frames_Extra.
2183 * unwind-generic.h (_Unwind_Frames_Extra): New.
2184 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2185 parameter. Add local variable frames to count number of frames.
2186 (_Unwind_ForcedUnwind_Phase2): Likewise.
2187 (_Unwind_RaiseException): Add local variable frames to count
2188 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2189 uw_install_context.
2190 (_Unwind_ForcedUnwind): Likewise.
2191 (_Unwind_Resume): Likewise.
2192 (_Unwind_Resume_or_Rethrow): Likewise.
2193
1ecae1fc
IT
21942017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2195
2196 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2197 (CET_FLAGS): New.
2198 * config/i386/morestack.S: Include <cet.h>.
2199 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2200 * config/i386/resms64.h: Include <cet.h>.
2201 * config/i386/resms64f.h: Likewise.
2202 * config/i386/resms64fx.h: Likewise.
2203 * config/i386/resms64x.h: Likewise.
2204 * config/i386/savms64.h: Likewise.
2205 * config/i386/savms64f.h: Likewise.
2206 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2207 (CRTSTUFF_T_CFLAGS): Likewise.
2208 * configure.ac: Include ../config/cet.m4.
2209 Set and substitute CET_FLAGS.
2210 * configure: Regenerated.
2211
f021f1d3
RO
22122017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2213
2214 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2215 renaming.
2216 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2217 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2218 * configure: Regenerate.
2219
65f480c7
TV
22202017-11-07 Tom de Vries <tom@codesourcery.com>
2221
2222 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2223 after "do {} while (0)".
2224
2a321acb
TV
22252017-11-07 Tom de Vries <tom@codesourcery.com>
2226
2227 PR other/82784
2228 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2229 semicolon after "do {} while (0)".
2230 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2231 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2232 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2233 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2234
59fcf6c3
AT
22352017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2236
2237 PR libgcc/82635
2238 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2239 sysctl to determine whether we're in a trampoline.
2240 Keep the pattern matching method for systems without
2241 KERN_PROC_SIGTRAMP sysctl.
2242
b0c7ddf8
CM
22432017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2244 Vineet Gupta <vgupta@synopsys.com>
2245
2246 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2247 * config/arc/linux-unwind-reg.def: New file.
2248 * config/arc/linux-unwind-reg.h: Likewise.
2249
5feee954
SP
22502017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2251
2252 * config/rl78/subdi3.S: New assembly file.
2253 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2254
a0bf6cf7
SP
22552017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2256
2257 * config/rl78/adddi3.S: New assembly file.
2258 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2259
e7176f75
JJ
22602017-10-13 Jakub Jelinek <jakub@redhat.com>
2261
2262 PR target/82274
2263 * libgcc2.c (__mulvDI3): If both operands have
2264 the same highpart of -1 and the topmost bit of lowpart is 0,
2265 multiplication overflows even if both lowparts are 0.
2266
db6601d2
JB
22672017-09-28 James Bowman <james.bowman@ftdichip.com>
2268
2269 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2270
938b6f1e
JM
22712017-09-26 Joseph Myers <joseph@codesourcery.com>
2272
2273 * config/microblaze/crti.S, config/microblaze/crtn.S,
2274 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2275 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2276 config/microblaze/mulsi3.S,
2277 config/microblaze/stack_overflow_exit.S,
2278 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2279 config/pa/milli64.S: Add .note.GNU-stack section.
2280
89762a83
DS
22812017-09-23 Daniel Santos <daniel.santos@pobox.com>
2282
2283 * configure.ac: Add Check for HAVE_AS_AVX.
2284 * config.in: Regenerate.
2285 * configure: Likewise.
2286 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2287 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2288 Correct out-of-date comments.
2289
cace2309
SP
22902017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2291
2292 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2293 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2294
3cb626e4
DS
22952017-09-17 Daniel Santos <daniel.santos@pobox.com>
2296
cace2309 2297 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
2298 (ASMNAME): Modify to use PASTE2.
2299 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2300 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 2301 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 2302 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
2303 * config/i386/resms64f.S: Likewise.
2304 * config/i386/resms64fx.S: Likewise.
2305 * config/i386/resms64x.S: Likewise.
2306 * config/i386/savms64.S: Likewise.
2307 * config/i386/savms64f.S: Likewise.
2308 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 2309 includes it's corresponding header file.
cace2309
SP
2310 * config/i386/avx_resms64f.S: Likewise.
2311 * config/i386/avx_resms64fx.S: Likewise.
2312 * config/i386/avx_resms64x.S: Likewise.
2313 * config/i386/avx_savms64.S: Likewise.
2314 * config/i386/avx_savms64f.S: Likewise.
2315 * config/i386/sse_resms64.S: Likewise.
2316 * config/i386/sse_resms64f.S: Likewise.
2317 * config/i386/sse_resms64fx.S: Likewise.
2318 * config/i386/sse_resms64x.S: Likewise.
2319 * config/i386/sse_savms64.S: Likewise.
2320 * config/i386/sse_savms64f.S: Likewise.
2321 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 2322
2f19c491 23232017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
2324 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2325
611e7036
OH
23262017-08-31 Olivier Hainque <hainque@adacore.com>
2327
2328 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2329 match as powerpc-wrs-vxworks*.
2330
c8f34527
JY
23312017-08-07 Jonathan Yong <10walls@gmail.com>
2332
2333 * config.host (*-cygwin): Include file from mingw
2334 config/i386/enable-execute-stack-mingw32.c
2335
0b458d2b 23362017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
2337 Doug Rupp <rupp@adacore.com>
2338 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
2339
2340 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2341 as well as arm-wrs-vxworks.
2342 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2343 LIB2ADDEH.
2344 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2345 __exidx_start and __exidx_end for downloadable modules.
2346
4df612fa
OH
23472017-08-01 Olivier Hainque <hainque@adacore.com>
2348
2349 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2350 * config/t-vxworks7: Likewise.
2351
5560e8c0
OH
23522017-08-01 Olivier Hainque <hainque@adacore.com>
2353
2354 * config/t-vxworks: Instead of redefining LIB2ADD,
2355 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2356
16bab95a
SH
23572017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2358
2359 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2360
9cbc07cc
DS
23612017-07-24 Daniel Santos <daniel.santos@pobox.com>
2362
2363 PR testsuite/80759
2364 * config.host: include i386/t-msabi for darwin and solaris.
2365 * config/i386/i386-asm.h
2366 (ELFFN): Rename to FN_TYPE.
2367 (FN_SIZE): New macro.
2368 (FN_HIDDEN): Likewise.
2369 (ASMNAME): Likewise.
2370 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2371 .globl.
2372 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2373 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2374 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2375 .macro.
2376 * config/i386/resms64f.S: Likewise.
2377 * config/i386/resms64fx.S: Likewise.
2378 * config/i386/resms64x.S: Likewise.
2379 * config/i386/savms64.S: Likewise.
2380 * config/i386/savms64f.S: Likewise.
2381
de742204
JM
23822017-07-19 John Marino <gnugcc@marino.st>
2383
2384 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2385
3787ee47
MM
23862017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2387
2388 PR target/81193
2389 * configure.ac (PowerPC float128 hardware support): Test whether
2390 we can use __builtin_cpu_supports before enabling the ifunc
2391 handler.
2392 * configure: Regenerate.
2393
b1938888
VG
23942017-07-10 Vineet Gupta <vgupta@synopsys.com>
2395
2396 * config.host: Remove uclibc from arc target spec.
2397
bec75e53
KW
23982017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2399
2400 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2401
d4391a62
PB
24022017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2403
2404 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2405 (have_ieee_hw_p): Delete function.
2406 (SW_OR_HW) Use __builtin_cpu_supports().
2407
9296dd9b
TP
24082017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2409
2410 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2411
b85a969e
OH
24122017-07-03 Olivier Hainque <hainque@adacore.com>
2413
d4391a62 2414 * config/t-vxworks7: New file, really.
b85a969e 2415
883312dc
JM
24162017-06-28 Joseph Myers <joseph@codesourcery.com>
2417
2418 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2419 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2420 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2421 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2422 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2423 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2424 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2425 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2426 config/sh/linux-unwind.h (sh_fallback_frame_state),
2427 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2428 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2429 ucontext_t instead of struct ucontext.
2430
50567938
JL
24312017-06-27 Jerome Lambourg <lambourg@adacore.com>
2432
2433 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2434 (x86_64-wrs-vxworks7): Likewise.
2435
e4b0df93
OH
24362017-06-27 Olivier Hainque <hainque@adacore.com>
2437
2438 * config/t-vxworks7: New file.
2439 * config.host (*-*-vxworks7): Use it.
2440
60edf8bb
MT
24412017-06-22 Matt Turner <mattst88@gmail.com>
2442
2443 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2444 skylake case.
2445
a51a76e5
RB
24462017-06-21 Richard Biener <rguenther@suse.de>
2447
2448 PR gcov-profile/81080
2449 * configure.ac: Add AC_SYS_LARGEFILE.
2450 * libgcov.h: Include auto-target.h before tsystem.h to pick
2451 up _FILE_OFFSET_BITS which might differ for multilibs.
2452 * config.in: Regenerate.
2453 * configure: Likewise.
2454
f0cd49c5
RE
24552017-06-16 Richard Earnshaw <rearnsha@arm.com>
2456
2457 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2458
4f751c54
ML
24592017-06-09 Martin Liska <mliska@suse.cz>
2460
2461 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2462 Reset __gcov_indirect_call_callee to NULL.
2463
1ac644c8
OH
24642017-06-08 Olivier Hainque <hainque@adacore.com>
2465
2466 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2467 the set of -I options, support for direct inclusions of net/uio.h
2468 by VxWorks header files via ioLib.h.
2469
d8b9cd27
TR
24702017-06-07 Tony Reix <tony.reix@atos.net>
2471 Matthieu Sarter <matthieu.sarter.external@atos.net>
2472 David Edelsohn <dje.gcc@gmail.com>
2473
92a285c1
ML
2474 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2475 unconditionally.
2476 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2477 AIX 7.2 support.
d8b9cd27 2478
38a75ccc
OH
24792017-06-02 Olivier Hainque <hainque@adacore.com>
2480
2481 * config/vxlib.c (__gthread_once): Add missing value to
2482 return statement.
2483
5b2edf53
OH
24842017-05-30 Olivier Hainque <hainque@adacore.com>
2485
2486 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2487 dollar sign before $(MULTIDIR).
2488
7d66e265
RH
24892017-05-26 Richard Henderson <rth@redhat.com>
2490
2491 PR libgcc/80037
2492 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2493
78eca309
AT
24942017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2495
2496 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2497 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2498 * config/arm/unwind-arm.c: Implement the above.
2499
c39d309a
AZ
25002017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2501
2502 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2503 section for a non-executable stack.
2504
eac8c9f2
KW
25052017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2506
2507 PR target/80600
2508 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2509
d6d4d770
DS
25102017-05-14 Daniel Santos <daniel.santos@pobox.com>
2511
2512 * config.host: Add i386/t-msabi to i386/t-linux file list.
2513 * config/i386/i386-asm.h: New file.
2514 * config/i386/resms64.S: New file.
2515 * config/i386/resms64f.S: New file.
2516 * config/i386/resms64fx.S: New file.
2517 * config/i386/resms64x.S: New file.
2518 * config/i386/savms64.S: New file.
2519 * config/i386/savms64f.S: New file.
2520 * config/i386/t-msabi: New file.
2521
8ef2b9a7
AT
25222017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2523
2524 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2525 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2526
7ab8766a
JC
25272017-05-05 Joshua Conner <joshconner@google.com>
2528
2529 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2530 pc-relative indirect handling for fuchsia.
2531 * config/t-slibgcc-fuchsia: New file.
2532 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2533 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2534
46928a8f
ML
25352017-04-19 Martin Liska <mliska@suse.cz>
2536
2537 PR gcov-profile/80435
2538 * Makefile.in: Install gcov.h.
2539 * gcov.h: New file.
2540 * libgcov.h: Use the header and make __gcov_flush publicly
2541 visible.
2542
63971184
ML
25432017-04-18 Martin Liska <mliska@suse.cz>
2544
2545 PR gcov-profile/78783
2546 * libgcov-driver.c (gcov_get_filename): New function.
2547
29d8aae6
JL
25482017-04-07 Jeff Law <law@redhat.com>
2549
2550 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2551 target makefile fragment.
2552 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2553
2bdf7fc6
AM
25542017-04-07 Alan Modra <amodra@gmail.com>
2555
2556 PR target/45053
2557 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2558
5764ee3c
JW
25592017-04-03 Jonathan Wakely <jwakely@redhat.com>
2560
2561 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2562
c4192ad7
CZ
25632017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2564
2565 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2566
4ccfdb28
JM
25672017-03-10 John Marino <gnugcc@marino.st>
2568
2569 * config/aarch64/freebsd-unwind.h: New file.
2570 * config.host: Add aarch64-*-freebsd unwinder.
2571
4144e4e3
SB
25722017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2573
2574 * config/rs6000/crtrestvr.s: Use .machine altivec.
2575 * config/rs6000/crtsavevr.s: Ditto.
2576
7502c597
SB
25772017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2578
2579 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2580 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2581 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2582 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2583 * configure: Regenerate.
2584 * config.in: Regenerate.
2585
db9f7f65
JY
25862017-03-02 Jonathan Yong <10walls@gmail.com>
2587
2588 * config/i386/gthr-win32.h: Define NOGDI before
2589 windows.h include to prevent w32api CC_NONE macro
2590 clash with libgfortran.
2591
126437c5
JY
25922017-03-02 Jonathan Yong <10walls@gmail.com>
2593
2594 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2595
31927af6
AP
25962017-02-16 Andrew Pinski <apinski@cavium.com>
2597
2598 * config/aarch64/value-unwind.h: New file.
2599 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2600 to tm_file.
2601
0bd99911
PD
26022017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2603
2604 * config.host: Add RISC-V tuples.
2605 * config/riscv/atomic.c: New file.
2606 * config/riscv/crti.S: Likewise.
2607 * config/riscv/crtn.S: Likewise.
2608 * config/riscv/div.S: Likewise.
2609 * config/riscv/linux-unwind.h: Likewise.
2610 * config/riscv/muldi3.S: Likewise.
2611 * config/riscv/multi3.S: Likewise.
2612 * config/riscv/save-restore.S: Likewise.
2613 * config/riscv/sfp-machine.h: Likewise.
2614 * config/riscv/t-elf: Likewise.
2615 * config/riscv/t-elf32: Likewise.
2616 * config/riscv/t-elf64: Likewise.
2617 * config/riscv/t-softfp32: Likewise.
2618 * config/riscv/t-softfp64: Likewise.
2619
a8c9ef2a
JJ
26202017-01-24 Jakub Jelinek <jakub@redhat.com>
2621
2622 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2623 /* FALLTHRU */ comments.
2624
c6c82710
GP
26252017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2626
2627 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2628
a876231c
JW
26292017-01-20 Jiong Wang <jiong.wang@arm.com>
2630
2631 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2632 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2633 DW_CFA_GNU_window_save for AArch64 and LP64.
2634
aa348be2
JW
26352017-01-20 Jiong Wang <jiong.wang@arm.com>
2636
2637 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2638
5636faf2
JW
26392017-01-19 Jiong Wang <jiong.wang@arm.com>
2640
2641 * config/aarch64/aarch64-unwind.h: New file.
2642 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2643 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2644 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2645 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2646 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2647 (aarch64_post_extract_frame_addr): New function.
2648 (aarch64_post_frob_eh_handler_addr): New function.
2649 (aarch64_frob_update_context): New function.
2650 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2651 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2652 aarch64*-*-freebsd*):
2653 Initialize md_unwind_header to include aarch64-unwind.h.
2654 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2655 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2656 __aarch64__.
2657 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2658 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2659 (uw_frob_return_addr): New function.
2660 (uw_install_context): Use uw_frob_return_addr.
2661
3c36aa6b
JJ
26622017-01-17 Jakub Jelinek <jakub@redhat.com>
2663
2664 PR other/79046
2665 * configure.ac: Add GCC_BASE_VER.
2666 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2667 version from BASE-VER file.
2668 * configure: Regenerated.
2669
829afb8f
JS
26702017-01-13 Joe Seymour <joe.s@somniumtech.com>
2671
2672 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2673 libmul_f5.a): Filter archived prerequisites.
2674
79fc8ffe
AS
26752017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2676
2677 * config/i386/cpuinfo.h (processor_features): Add
2678 FEATURE_AVX512VPOPCNTDQ.
2679 * config/i386/cpuinfo.c (get_available_features): Habdle new
2680 feature.
2681
fec5f4e0
JM
26822017-01-04 Joseph Myers <joseph@codesourcery.com>
2683
2684 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2685 payload if [__mips_nan2008].
2686
8f56cb51
AM
26872017-01-04 Alan Modra <amodra@gmail.com>
2688
2689 * Makefile.in (configure_deps): Update.
2690 * configure: Regenerate.
2691
cbe34bb5
JJ
26922017-01-01 Jakub Jelinek <jakub@redhat.com>
2693
2694 Update copyright years.
2695
ab955692
KW
26962016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2697
2698 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2699 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2700 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2701
de34320f
MK
27022016-12-17 Matthias Klose <doko@ubuntu.com>
2703
2704 * config/arc/gmon: Remove empty directory.
2705
e04ea1da
CZ
27062016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2707
2708 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2709 crtgend.
2710 (arc*-*-elf*): Likewise.
2711 * config/arc/t-arc: Remove old gmon lib targets.
2712 * config/arc/crtg.S: Remove.
2713 * config/arc/crtgend.S: Likewise.
2714 * config/arc/gmon/atomic.h: Likewise.
2715 * config/arc/gmon/auxreg.h: Likewise.
2716 * config/arc/gmon/dcache_linesz.S: Likewise.
2717 * config/arc/gmon/gmon.c: Likewise.
2718 * config/arc/gmon/machine-gmon.h: Likewise.
2719 * config/arc/gmon/mcount.c: Likewise.
2720 * config/arc/gmon/prof-freq-stub.S: Likewise.
2721 * config/arc/gmon/prof-freq.c: Likewise.
2722 * config/arc/gmon/profil.S: Likewise.
2723 * config/arc/gmon/sys/gmon.h: Likewise.
2724 * config/arc/gmon/sys/gmon_out.h: Likewise.
2725 * config/arc/t-arc-newlib: Likewise.
2726 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2727
8ae1c2c1
GS
27282016-12-12 George Spelvin <linux@sciencehorizons.net>
2729
2730 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2731
a5b947fa
GS
27322016-12-12 George Spelvin <linux@sciencehorizons.net>
2733
2734 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2735 R16 instead of push + pop.
2736 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2737
d6574dd1
KW
27382016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2739
2740 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2741 tmake_file.
2742
62440b4f
CM
27432016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2744
2745 * config.host (arc*-*-linux-uclibc*): Use default extra
2746 objects. Include linux-android header.
2747 * config/arc/crti.S (_init): Declare symbol as function.
2748 (_fini): Likewise.
2749
31cfd832
TK
27502016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2751
2752 PR fortran/78379
2753 * config/i386/cpuinfo.c: Move denums for processor vendors,
2754 processor type, processor subtypes and declaration of
2755 struct __processor_model into
2756 * config/i386/cpuinfo.h: New header file.
2757
c92e08e3
AV
27582016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2759 Thomas Preud'homme <thomas.preudhomme@arm.com>
2760
2761 * config/arm/cmse_nonsecure_call.S: New.
2762 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2763
de7b5723
AV
27642016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2765 Thomas Preud'homme <thomas.preudhomme@arm.com>
2766
2767 * config/arm/t-arm (HAVE_CMSE): New.
2768 * config/arm/cmse.c: New.
2769
7a0d2bce
TP
27702016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2771
b3a5bff4
TP
2772 PR gcc/74748
2773 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2774 use generic linker version information on Blackfin.
2775
7a0d2bce
TP
2776 PR gcc/74748
2777 * libgcc/mkmap-symver.awk: add support for skip_underscore
2778
b410cf1d
IS
27792016-11-27 Iain Sandoe <iain@codesourcery.com>
2780 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2781
2782 PR target/67710
2783 * config/t-darwin: Default builds to 10.5 codegen.
2784
2e5f8203
JG
27852016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2786
2787 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2788 (_FP_NANSIGN_H): Likewise.
2789 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2790 (softfp_truncations): Add tfhf.
2791 (softfp_extras): Add required conversion functions.
2792
bea64ca3
JG
27932016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2794 Matthew Wahab <matthew.wahab@arm.com>
2795
2796 * config/arm/fp16.c (binary64): New.
2797 (__gnu_d2h_internal): New.
2798 (__gnu_d2h_ieee): New.
2799 (__gnu_d2h_alternative): New.
2800
8630cadb
JG
28012016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2802 Matthew Wahab <matthew.wahab@arm.com>
2803
2804 * config/arm/fp16.c (struct format): New.
2805 (binary32): New.
2806 (__gnu_float2h_internal): New. Body moved from
2807 __gnu_f2h_internal and generalize.
2808 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2809 Call it with binary32.
2810
5823ef23
JG
28112016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2812
2813 * soft-fp/extendhftf2.c: Update from glibc.
2814 * soft-fp/fixhfti.c: Likewise.
2815 * soft-fp/fixunshfti.c: Likewise.
2816 * soft-fp/floattihf.c: Likewise.
2817 * soft-fp/floatuntihf.c: Likewise.
2818 * soft-fp/half.h: Likewise.
2819 * soft-fp/trunctfhf2.c: Likewise.
2820
62a7df9f
MG
28212016-11-20 Marc Glisse <marc.glisse@inria.fr>
2822
2823 PR libgcc/77813
2824 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2825 __TMC_END__ behind a passthrough asm.
2826
7a384912
WL
28272016-11-18 Walter Lee <walt@tilera.com>
2828
62a7df9f 2829 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2830
9775c1a5
L
28312016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2832
2833 * config/i386/cpuinfo.c (processor_features): Add
2834 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2835
48c842ab
CZ
28362016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2837
2838 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2839 (__ARC_NORM__): Use instead ARC_OPTFPE.
2840 * config/arc/fp-hack.h: Likewise.
2841 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2842 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2843
5012919d
AM
28442016-11-16 Alexander Monakov <amonakov@ispras.ru>
2845
2846 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2847 * config/nvptx/mgomp.c: New file.
2848 * config/nvptx/t-nvptx: Add mgomp.c
2849
00178b98
WB
28502016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2851
2852 PR libgcc/68468
2853 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2854
d64af69f
CZ
28552016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2856
2857 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2858 of checking for cpus.
2859 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2860 (__modsi3, __clzsi2): Likewise.
2861
9d8f95de
SN
28622016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2863
2864 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2865 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2866 * config/i386/t-cpuinfo-static: New.
2867
7d29f8e3
ML
28682016-11-03 Martin Liska <mliska@suse.cz>
2869
2870 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2871 (__gcov_time_profiler_atomic): Likewise.
2872
5de3e2d8
BE
28732016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2874
2875 PR libgcc/78067
2876 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2877 count_leading_zeros.
2878
18362447
UB
28792016-11-02 Uros Bizjak <ubizjak@gmail.com>
2880
2881 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2882 * libgcc2.c (__divmoddi4): New function.
2883 * libgcc2.h (__divmoddi4): Declare.
2884 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2885 and __PFX_divmodti4.
2886
33107571
FW
28872016-10-24 Florian Weimer <fweimer@redhat.com>
2888
2889 PR libgcc/78064
2890 * unwind-c.c: Include auto-target.h.
2891
4c6d7494
JDA
28922016-10-19 John David Anglin <danglin@gcc.gnu.org>
2893
18362447 2894 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2895 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2896 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2897 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2898 hppa*64*-*-hpux11*.
2899
2a26adf1
MF
29002016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2901
2902 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2903 definition.
2904 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2905 definition.
2906 * config/xtensa/t-windowed (LIB2ADDEH): Use
2907 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2908 or xtensa/t-linux.
2909
66192aa1
DKC
29102016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2911
2912 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2913 __ieee754_sqrt): New functions.
2914 (__divdf3): Add implementation with new FPU instructions under
2915 #if XCHAL_HAVE_DFP_DIV.
2916 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2917 __ieee754_sqrtf): New functions.
2918 (__divsf3): Add implementation with new FPU instructions under
2919 #if XCHAL_HAVE_FP_DIV.
2920 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2921 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2922
4d0cdd0c
TP
29232016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2924
2925 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2926 equivalent.
2927 * config/tilepro/atomic.c: Likewise and stop casting model to
2928 enum memmodel.
2929
73f01cca
JM
29302016-10-10 Joseph Myers <joseph@codesourcery.com>
2931
2932 PR target/77586
2933 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2934 soft-fp.
2935
b20e7532
AT
29362016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2937
2938 * config.host: Add support for aarch64-*-freebsd*.
2939
a786cec4
AS
29402016-10-05 Andreas Schwab <schwab@suse.de>
2941
2942 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2943 (.section .init_array): Don't call __do_jv_register_classes.
2944 (.section .init): Likewise.
2945
5a79befb
JJ
29462016-10-04 Jakub Jelinek <jakub@redhat.com>
2947
2948 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2949 (__JCR_LIST__): Remove.
2950 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2951 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2952 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2953 * config/ia64/crtend.S (__JCR_END__): Remove.
2954 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2955 conditionals.
2956 (__JCR_LIST__, __JCR_END__): Remove.
2957 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2958 (__do_global_ctors_1): Likewise.
2959
e0ab3753
UB
29602015-09-28 Uros Bizjak <ubizjak@gmail.com>
2961
2962 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2963 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2964
8c9434c2
ML
29652016-09-27 Martin Liska <mliska@suse.cz>
2966
2967 PR gcov-profile/7970
2968 PR gcov-profile/16855
2969 PR gcov-profile/44779
2970 * libgcov-driver.c (__gcov_init): Do not register a atexit
2971 handler.
2972 (__gcov_exit): Rename from gcov_exit.
2973 * libgcov.h (__gcov_exit): Declare.
2974
56b653f1
ML
29752016-09-27 Martin Liska <mliska@suse.cz>
2976
2977 PR bootstrap/77749
2978 * Makefile.in: Remove _gcov_merge_delta.
2979 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2980 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2981 * libgcov.h: Remove declaration of __gcov_merge_delta.
2982
7e02fd1b
EB
29832016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2984
2985 * configure.ac: Do not create links, only substitute the filenames.
2986 * configure: Regenerate.
2987 * Makefile.in: Assign the substitution results to variables.
2988 (LIBGCC_LINKS): Define.
2989 (enable-execute-stack.c): New rule.
2990 (unwind.h): Likewise.
2991 (md-unwind-support.h): Likewise.
2992 (sfp-machine.h): Likewise.
2993 (gthr-default.h): Likewise.
2994 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2995 unwind.h as prerequisite of install-unwind_h-forbuild.
2996
29991048
JJ
29972016-09-16 Jakub Jelinek <jakub@redhat.com>
2998
2999 PR libgcc/71744
3000 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3001 is not the primary registry and atomics are available.
3002 (any_objects_registered): New variable.
3003 (__register_frame_info_bases, __register_frame_info_table_bases):
3004 Atomically store 1 to any_objects_registered after registering first
3005 unwind info.
3006 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3007
0abcd6cc
JG
30082016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3009
3010 PR target/63250
3011 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3012 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3013 (HFtype): Likewise.
3014 (HCtype): Likewise.
3015 (__divhc3): Likewise.
3016 (__mulhc3): Likewise.
3017 * libgcc2.c: Support _mulhc3 and _divhc3.
3018
d758aeb5
JM
30192016-09-07 Joseph Myers <joseph@codesourcery.com>
3020
3021 PR libgcc/77519
3022 * libgcc2.c (NOTRUNC): Invert settings.
3023
7fe76f6a
ML
30242016-09-06 Martin Liska <mliska@suse.cz>
3025
3026 PR gcov-profile/77378
3027 PR gcov-profile/77466
3028 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3029 conditionaly enable/disable *_atomic functions.
3030
21184026
JM
30312016-08-26 Joseph Myers <joseph@codesourcery.com>
3032
3033 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3034 where not already enabled.
3035
726f49c3
SN
30362016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3037
3038 * config/mips/linux-unwind.h: Use sys/syscall.h.
3039
feeb6268
JM
30402016-08-16 Joseph Myers <joseph@codesourcery.com>
3041
3042 PR libgcc/77265
3043 * soft-fp/adddf3.c: Update from glibc.
3044 * soft-fp/addsf3.c: Likewise.
3045 * soft-fp/addtf3.c: Likewise.
3046 * soft-fp/divdf3.c: Likewise.
3047 * soft-fp/divsf3.c: Likewise.
3048 * soft-fp/divtf3.c: Likewise.
3049 * soft-fp/double.h: Likewise.
3050 * soft-fp/eqdf2.c: Likewise.
3051 * soft-fp/eqsf2.c: Likewise.
3052 * soft-fp/eqtf2.c: Likewise.
3053 * soft-fp/extenddftf2.c: Likewise.
3054 * soft-fp/extended.h: Likewise.
3055 * soft-fp/extendsfdf2.c: Likewise.
3056 * soft-fp/extendsftf2.c: Likewise.
3057 * soft-fp/extendxftf2.c: Likewise.
3058 * soft-fp/fixdfdi.c: Likewise.
3059 * soft-fp/fixdfsi.c: Likewise.
3060 * soft-fp/fixdfti.c: Likewise.
3061 * soft-fp/fixsfdi.c: Likewise.
3062 * soft-fp/fixsfsi.c: Likewise.
3063 * soft-fp/fixsfti.c: Likewise.
3064 * soft-fp/fixtfdi.c: Likewise.
3065 * soft-fp/fixtfsi.c: Likewise.
3066 * soft-fp/fixtfti.c: Likewise.
3067 * soft-fp/fixunsdfdi.c: Likewise.
3068 * soft-fp/fixunsdfsi.c: Likewise.
3069 * soft-fp/fixunsdfti.c: Likewise.
3070 * soft-fp/fixunssfdi.c: Likewise.
3071 * soft-fp/fixunssfsi.c: Likewise.
3072 * soft-fp/fixunssfti.c: Likewise.
3073 * soft-fp/fixunstfdi.c: Likewise.
3074 * soft-fp/fixunstfsi.c: Likewise.
3075 * soft-fp/fixunstfti.c: Likewise.
3076 * soft-fp/floatdidf.c: Likewise.
3077 * soft-fp/floatdisf.c: Likewise.
3078 * soft-fp/floatditf.c: Likewise.
3079 * soft-fp/floatsidf.c: Likewise.
3080 * soft-fp/floatsisf.c: Likewise.
3081 * soft-fp/floatsitf.c: Likewise.
3082 * soft-fp/floattidf.c: Likewise.
3083 * soft-fp/floattisf.c: Likewise.
3084 * soft-fp/floattitf.c: Likewise.
3085 * soft-fp/floatundidf.c: Likewise.
3086 * soft-fp/floatundisf.c: Likewise.
3087 * soft-fp/floatunditf.c: Likewise.
3088 * soft-fp/floatunsidf.c: Likewise.
3089 * soft-fp/floatunsisf.c: Likewise.
3090 * soft-fp/floatunsitf.c: Likewise.
3091 * soft-fp/floatuntidf.c: Likewise.
3092 * soft-fp/floatuntisf.c: Likewise.
3093 * soft-fp/floatuntitf.c: Likewise.
3094 * soft-fp/gedf2.c: Likewise.
3095 * soft-fp/gesf2.c: Likewise.
3096 * soft-fp/getf2.c: Likewise.
3097 * soft-fp/ledf2.c: Likewise.
3098 * soft-fp/lesf2.c: Likewise.
3099 * soft-fp/letf2.c: Likewise.
3100 * soft-fp/muldf3.c: Likewise.
3101 * soft-fp/mulsf3.c: Likewise.
3102 * soft-fp/multf3.c: Likewise.
3103 * soft-fp/negdf2.c: Likewise.
3104 * soft-fp/negsf2.c: Likewise.
3105 * soft-fp/negtf2.c: Likewise.
3106 * soft-fp/op-1.h: Likewise.
3107 * soft-fp/op-2.h: Likewise.
3108 * soft-fp/op-4.h: Likewise.
3109 * soft-fp/op-8.h: Likewise.
3110 * soft-fp/op-common.h: Likewise.
3111 * soft-fp/quad.h: Likewise.
3112 * soft-fp/single.h: Likewise.
3113 * soft-fp/soft-fp.h: Likewise.
3114 * soft-fp/subdf3.c: Likewise.
3115 * soft-fp/subsf3.c: Likewise.
3116 * soft-fp/subtf3.c: Likewise.
3117 * soft-fp/truncdfsf2.c: Likewise.
3118 * soft-fp/trunctfdf2.c: Likewise.
3119 * soft-fp/trunctfsf2.c: Likewise.
3120 * soft-fp/trunctfxf2.c: Likewise.
3121 * soft-fp/unorddf2.c: Likewise.
3122 * soft-fp/unordsf2.c: Likewise.
3123 * soft-fp/unordtf2.c: Likewise.
3124
2e6fc1ac
GG
31252016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3126
3127 PR gcov-profile/67097
3128 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3129
a266236e
ML
31302016-08-10 Martin Liska <mliska@suse.cz>
3131
3132 PR gcov-profile/58306
3133 * Makefile.in: New functions (modules) are added.
3134 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3135 function.
3136 (__gcov_pow2_profiler_atomic): New function.
3137 (__gcov_one_value_profiler_body): New argument is instroduced.
3138 (__gcov_one_value_profiler): Call with the new argument.
3139 (__gcov_one_value_profiler_atomic): Likewise.
3140 (__gcov_indirect_call_profiler_v2): Likewise.
3141 (__gcov_time_profiler_atomic): New function.
3142 (__gcov_average_profiler_atomic): Likewise.
3143 (__gcov_ior_profiler_atomic): Likewise.
3144 * libgcov.h: Declare the aforementioned functions.
3145
e0c8eebf
ML
31462016-08-09 Martin Liska <mliska@suse.cz>
3147
3148 * libgcov-util.c: Fix typo and GNU coding style.
3149
6dce6418
ML
31502016-08-09 Martin Liska <mliska@suse.cz>
3151
3152 * Makefile.in: Remove __gcov_indirect_call_profiler.
3153 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3154 function.
3155 * libgcov.h: And the declaration of the function.
3156
dcb1e137
ML
31572016-08-09 Martin Liska <mliska@suse.cz>
3158
3159 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3160 power of two.
3161
d6e69705
BS
31622016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3163
3164 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3165 * config/rs6000/_mulkc3.c: Likewise.
3166
96aa1f95
GJL
31672016-07-29 Georg-Johann Lay <avr@gjlay.de>
3168
3169 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3170 zero_reg as previous call to __umulhisi3 already cleared it.
3171
a1b01d34
AJ
31722016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3173
3174 PR target/59833
3175 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3176
985a47b2
NC
31772016-07-19 Nick Clifton <nickc@redhat.com>
3178
3179 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3180 Add crtinit.o and crtfini.o to extra_parts.
3181
f906f5ed
BS
31822016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3183
3184 * config/rs6000/_divkc3.c: New.
3185 * config/rs6000/_mulkc3.c: New.
3186 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3187 and _divkc3.
3188 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3189 fp128_ppc_funcs.
3190
82742404
HW
31912016-07-11 Hale Wang <hale.wang@arm.com>
3192 Andre Vieira <andre.simoesdiasvieira@arm.com>
3193
3194 * config/arm/lib1funcs.S: Add new wrapper.
3195
05a437c1
TP
31962016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3197
3198 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3199
3d16d9ec
TP
32002016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3201
3202 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3203 and ARMv5t* rather than for a fixed list of architectures.
3204
6f493951
TP
32052016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3206
3207 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3208 implementation suitable for.
3209 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3210 for all Thumb-1 only targets.
3211 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3212 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3213 __ARM_ARCH_6M__.
3214 (EQUIV): Likewise.
3215 (ARM_FUNC_ALIAS): Likewise.
3216 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3217 version.
3218 (modsi3): Likewise.
3219 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3220 (clzdi2): Likewise.
3221 (ctzsi2): Likewise.
3222 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3223 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3224 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3225 __ARM_ARCH_6M__ and add comment to indicate the connection between
3226 this condition and the one in gcc/config/arm/elf.h.
3227 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3228 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3229 * config/arm/t-softfp: Likewise.
3230
1770511a
TS
32312016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3232
3233 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3234 CTOR_LISTS_DEFINED_EXTERNALLY.
3235
ba6be749
WL
32362016-06-28 Walter Lee <walt@tilera.com>
3237
3238 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3239 asm/unistd.h.
3240 (SPR_CMPEXCH_VALUE): Define for tilegx.
3241 (__NR_FAST_cmpxchg): Define for tilepro.
3242 (__NR_FAST_atomic_update): Define for tilepro.
3243 (__NR_FAST_cmpxchg64): Define for tilepro.
3244
a34c0db5
JS
32452016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3246
18362447 3247 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 3248
0609abda
TS
32492016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3250
3251 * config.host: Remove support for mep-*.
3252 * config/mep/lib1funcs.S: Remove.
3253 * config/mep/lib2funcs.c: Remove.
3254 * config/mep/t-mep: Remove.
3255 * config/mep/tramp.c: Remove.
3256
3e326935
TS
32572016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3258
3259 * config.host: Remove support for avr-rtems.
3260 * config/avr/t-rtems: Remove.
3261
914b155c
TS
32622016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3263
3264 * config.host: Remove m32r-rtems support.
3265
5ebf89bd
TS
32662016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3267
3268 * config.host: Remove h8300-rtems support.
3269
8466af06
TS
32702016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3271
3272 * config.host: Remove support for knetbsd.
3273
d980e738
TS
32742016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3275
3276 * config.host: Remove support for openbsd 2 and 3.
3277
ee2499b4
TS
32782016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3279
3280 * config.host: Remove interix support.
3281 * config/i386/t-interix: Remove.
3282
9f92937b
JDA
32832016-06-18 John David Anglin <danglin@gcc.gnu.org>
3284
3285 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3286 least-significant bit in function pointer for fixup.
3287
0a0ec53d
AC
32882016-06-05 Aaron Conole <aconole@redhat.com>
3289 Nathan Sidwell <nathan@acm.org>
3290
3291 PR libgcc/71400
3292 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3293 (get_gcov_error_file): Check __gcov_error_file before trying to
3294 initialize it.
3295 (gcov_error): Always use get_gcov_error_file.
3296
8aa5bdd6
AC
32972016-06-02 Aaron Conole <aconole@redhat.com>
3298
3299 * libgcov-driver-system.c (__gcov_error_file): New.
3300 (get_gcov_error_file): New.
3301 (gcov_error): Use and set __gcov_error_file.
3302 (gcov_error_exit): New.
3303 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3304
40774faf
NS
33052016-05-26 Nathan Sidwell <nathan@acm.org>
3306
3307 * config/nvptx/free.asm: Delete.
3308 * config/nvptx/malloc.asm: Delete.
3309 * config/nvptx/realloc.c: Delete.
3310 * t-nvptx: Update.
3311
69a6d5ad
NS
33122016-05-25 Nathan Sidwell <nathan@acm.org>
3313
3314 * config/nvptx/crt0.s: Delete.
3315 * config/nvptx/crt0.c: New.
3316 * t-nvptx: Update.
3317
6befaff6
SL
33182016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3319
385c7747 3320 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
3321 dw2/seh configuration.
3322 [x86_64-*-mingw*]: Likewise.
3323
ad251dfd
JS
33242016-05-10 Joel Sherrill <joel@rtems.org>
3325
3326 PR libgcc/70720
3327 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3328 targets so the same extra_parts are built. Also have tmake_file add
3329 on to its value rather than override.
3330
bc6d9014
OE
33312016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3332
3333 * config.host: Remove SH5 support.
3334 * configure: Likewise.
3335
9129c8cf
OE
33362016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3337
3338 * config/sh/crt1.S: Remove SH5 support.
3339 * config/sh/crti.S: Likewise.
3340 * config/sh/crtn.S: Likewise.
3341 * config/sh/lib1funcs-4-300.S: Likewise.
3342 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3343 * config/sh/lib1funcs.S: Likewise.
3344 * config/sh/linux-unwind.h: Likewise.
3345 * config/sh/t-sh64: Delete.
3346
39d50464
CZ
33472016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3348
3349 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3350
8b48923b
CZ
33512016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3352 Joern Rennecke <joern.rennecke@embecosm.com>
3353
3354 * config/arc/crttls.S: New file.
3355 * config/arc/t-arc: New rule.
3356 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3357
2de1cf8c
NC
33582016-04-25 Nick Clifton <nickc@redhat.com>
3359
3360 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3361 (__mspabi_cmpd): Likewise.
3362 * config/msp430/floathidf.c (__floathidf): Likewise.
3363 * config/msp430/floathisf.c (__floathisf): Likewise
3364 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3365 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3366 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3367 second parameter.
3368 (__ashrsi3): Likewise.
3369
b8ce3fe2
WB
33702016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3371
3372 * config/m68k/linux-atomic.c: Do not include unistd.h
3373
4986f823
MG
33742016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3375
3376 * config/arm/ieee754-df.S: Fix typos in comments.
3377
35fbda43
MM
33782016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3379
3380 PR target/70381
3381 * configure.ac (powerpc*-*-linux*): Rework tests to build
3382 __float128 emulation routines to not depend on using #pragma GCC
3383 target to enable -mfloat128.
3384 * configure: Regnerate.
3385
72d1a48d
EB
33862016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3387
3388 PR target/67172
3389 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3390 __MINGW32__ is defined.
3391
dc2e8995
JB
33922016-03-28 James Bowman <james.bowman@ftdichip.com>
3393
385c7747 3394 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 3395
104cdaf1
MM
33962016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3397
3398 PR libgcc/70363
3399 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3400 built with an assembler that does not support ISA 3.0
3401 instructions, rename __extendkftf2_sw to __extendkftf2.
3402
a5046f48
RO
34032016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3404
3405 PR target/38239
3406 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3407 call-clobbered registers.
3408 (internal_mcount): Remove __i386__ handling.
3409
df674f74
JS
34102016-02-26 Joel Sherrill <joel@rtems.org>
3411
3412 * config.host: Add x86_64-*-rtems*.
3413
7cb065d6
JS
34142016-02-26 Joel Sherrill <joel@rtems.org>
3415
3416 * libgcc/config.host: Add aarch64-*-rtems*.
3417
47dfdc53
PM
34182016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3419 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3420
3421 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3422 union of u64 and double.
3423 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3424 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3425 value.
3426 (FP_ROUNDMODE): Update the usage of _fpscr.
3427
e6861a99
IV
34282016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3429
3430 PR driver/68463
3431 * Makefile.in (crtoffloadtable$(objext)): New rule.
3432 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3433 enable_offload_targets is not empty.
3434 * configure: Regenerate.
3435 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3436 crtoffloadtable.
3437
9bfcbdee
MF
34382016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3439
3440 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3441 .literal_position before the function.
3442 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3443 Likewise.
3444
4cb4721f
MK
34452016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3446
3447 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3448 * config/s390/morestack.S: New file.
3449 * config/s390/t-stack-s390: New file.
3450 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3451
b29d9a29
WL
34522016-02-12 Walter Lee <walt@tilera.com>
3453
3454 * config.host (tilegx*-*-linux*): remove ti from
3455 softfp_int_modes for 32-bit configs.
3456
03a0ae7d
ILT
34572016-02-10 Ian Lance Taylor <iant@google.com>
3458
3459 PR go/68562
3460 * config/i386/morestack.S (__stack_split_initialize): Align
3461 stack.
3462
68750bce
AT
34632016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3464
3465 PR bootstrap/69611
3466 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3467 __FLOAT128__ to compile only for __float128 capable targets.
3468
7d296953
JJ
34692016-01-25 Jakub Jelinek <jakub@redhat.com>
3470
3471 PR target/69444
3472 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3473 instead of ___NO_FPRS__.
3474
a71c0334 34752016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3476 Steven Munroe <munroesj@linux.vnet.ibm.com>
3477 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3478
3479 * config/rs6000/float128-sed: New files to convert TF names to KF
3480 names for PowerPC IEEE 128-bit floating point support.
3481 * config/rs6000/float128-sed-hw: Likewise.
3482
3483 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3484 floating point hardware support.
3485
3486 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3487 128-bit floating point software emulation or use ISA 3.0 hardware
3488 support if it is available.
3489
3490 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3491 floating point.
3492
3493 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3494 floating point to IBM extended double.
3495
3496 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3497 double to IEEE 128-bit floating point.
3498
3499 * config/rs6000/t-float128: New Makefile fragments to enable
3500 building __float128 emulation support.
3501 * config/rs6000/t-float128-hw: Likewise.
3502
3503 * config/rs6000/sfp-exceptions.c: New file to provide exception
3504 support for IEEE 128-bit floating point.
3505
3506 * config/rs6000/floattikf.c: New files for converting between IEEE
3507 128-bit floating point and signed/unsigned 128-bit integers.
3508 * config/rs6000/fixunskfti.c: Likewise.
3509 * config/rs6000/fixkfti.c: Likewise.
3510 * config/rs6000/floatuntikf.c: Likewise.
3511
3512 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3513 when building on 64-bit systems, or when VSX is enabled.
3514 (_FP_W_TYPE): Likewise.
3515 (_FP_WS_TYPE): Likewise.
3516 (_FP_I_TYPE): Likewise.
3517 (TItype): Define on 64-bit systems.
3518 (UTItype): Likewise.
3519 (TI_BITS): Likewise.
3520 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3521 (_FP_MUL_MEAT_Q): Likewise.
3522 (_FP_DIV_MEAT_D): Likewise.
3523 (_FP_DIV_MEAT_Q): Likewise.
3524 (_FP_NANFRAC_D): Likewise.
3525 (_FP_NANFRAC_Q): Likewise.
3526 (ISA_BIT): Add exception support if we are being compiled on a
3527 machine with hardware floating point support to build the IEEE
3528 128-bit emulation functions.
3529 (FP_EX_INVALID): Likewise.
3530 (FP_EX_OVERFLOW): Likewise.
3531 (FP_EX_UNDERFLOW): Likewise.
3532 (FP_EX_DIVZERO): Likewise.
3533 (FP_EX_INEXACT): Likewise.
3534 (FP_EX_ALL): Likewise.
3535 (__sfp_handle_exceptions): Likewise.
3536 (FP_HANDLE_EXCEPTIONS): Likewise.
3537 (FP_RND_NEAREST): Likewise.
3538 (FP_RND_ZERO): Likewise.
3539 (FP_RND_PINF): Likewise.
3540 (FP_RND_MINF): Likewise.
3541 (FP_RND_MASK): Likewise.
3542 (_FP_DECL_EX): Likewise.
3543 (FP_INIT_ROUNDMODE): Likewise.
3544 (FP_ROUNDMODE): Likewise.
3545
3546 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3547 VSX code, enable IEEE 128-bit floating point. If the compiler can
3548 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3549 floating point hardware instructions and it supports declaring
3550 functions with the ifunc attribute, enable ifunc functions to
3551 switch between software and hardware support.
3552 * configure.ac (powerpc*-*-linux*): Likewise.
3553 * configure: Regenerate.
3554
bdc27e50
NC
35552016-01-15 Nick Clifton <nickc@redhat.com>
3556
3557 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3558 dependency as the source file to be compiled.
3559 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3560 (lib2hw_mul_f5.o): Likewise.
3561
006df05d
MM
35622016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3563
3564 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3565 * libgcc/config/rs6000/fixkfti.c: Likewise.
3566 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3567 * libgcc/config/rs6000/float128-hw.c: Likewise.
3568 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3569 * libgcc/config/rs6000/float128-sed: Likewise.
3570 * libgcc/config/rs6000/floattikf.c: Likewise.
3571 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3572 * libgcc/config/rs6000/quad-float128.h: Likewise.
3573 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3574 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3575 * libgcc/config/rs6000/t-float128: Likewise.
3576 * libgcc/config/rs6000/t-float128-hw: Likewise.
3577 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3578 * libgcc/config.host: Likewise.
3579 * libgcc/configure: Likewise.
3580 * libgcc/configure.ac: Likewise.
3581
29176d57 35822016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3583 Steven Munroe <munroesj@linux.vnet.ibm.com>
3584 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
3585
3586 * config/rs6000/sfp-exceptions.c: New file to provide exception
3587 support for IEEE 128-bit floating point.
3588
3589 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3590 floating point hardware support.
3591
3592 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3593 point conversions.
3594 * config/rs6000/fixunskfti.c: Likewise.
3595 * config/rs6000/fixkfti.c: Likewise.
3596 * config/rs6000/floatuntikf.c: Likewise.
3597 * config/rs6000/extendkftf2-sw.c: Likewise.
3598 * config/rs6000/trunctfkf2-sw.c: Likewise.
3599
3600 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3601 128-bit floating point software emulation or use ISA 3.0 hardware
3602 support if it is available.
3603
3604 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3605 floating point.
3606
3607 * config/rs6000/t-float128: New Makefile fragments to enable
3608 building __float128 emulation support.
3609 * config/rs6000/t-float128-hw: Likewise.
3610
3611 * config/rs6000/float128-sed: New file to convert TF names to KF
3612 names for PowerPC IEEE 128-bit floating point support.
3613
3614 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3615 when building on 64-bit systems, or when VSX is enabled.
3616 (_FP_W_TYPE): Likewise.
3617 (_FP_WS_TYPE): Likewise.
3618 (_FP_I_TYPE): Likewise.
3619 (TItype): Define on 64-bit systems.
3620 (UTItype): Likewise.
3621 (TI_BITS): Likewise.
3622 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3623 (_FP_MUL_MEAT_Q): Likewise.
3624 (_FP_DIV_MEAT_D): Likewise.
3625 (_FP_DIV_MEAT_Q): Likewise.
3626 (_FP_NANFRAC_D): Likewise.
3627 (_FP_NANFRAC_Q): Likewise.
3628 (ISA_BIT): Add exception support if we are being compiled on a
3629 machine with hardware floating point support to build the IEEE
3630 128-bit emulation functions.
3631 (FP_EX_INVALID): Likewise.
3632 (FP_EX_OVERFLOW): Likewise.
3633 (FP_EX_UNDERFLOW): Likewise.
3634 (FP_EX_DIVZERO): Likewise.
3635 (FP_EX_INEXACT): Likewise.
3636 (FP_EX_ALL): Likewise.
3637 (__sfp_handle_exceptions): Likewise.
3638 (FP_HANDLE_EXCEPTIONS): Likewise.
3639 (FP_RND_NEAREST): Likewise.
3640 (FP_RND_ZERO): Likewise.
3641 (FP_RND_PINF): Likewise.
3642 (FP_RND_MINF): Likewise.
3643 (FP_RND_MASK): Likewise.
3644 (_FP_DECL_EX): Likewise.
3645 (FP_INIT_ROUNDMODE): Likewise.
3646 (FP_ROUNDMODE): Likewise.
3647
3648 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3649 compiler can do __float128.
3650 * configure: Regenerate.
3651
3652 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3653 VSX code, enable IEEE 128-bit floating point.
3654
a2218983
OH
36552016-01-05 Olivier Hainque <hainque@adacore.com>
3656
3657 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3658 specificities.
a2218983 3659
818ab71a
JJ
36602016-01-04 Jakub Jelinek <jakub@redhat.com>
3661
3662 Update copyright years.
3663
5a6c8ffa
AP
36642015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3665
3666 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3667 soft-fp targets.
5a6c8ffa 3668
077067a5
BE
36692015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3670
3671 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3672 instead of abort to avoid dependency on stdlib.h.
3673
787c1027
JDA
36742015-12-09 John David Anglin <danglin@gcc.gnu.org>
3675
3676 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3677 to initialize call to __dl_fixup once.
3678
04a9ae28
NC
36792015-12-04 Nick Clifton <nickc@redhat.com>
3680
3681 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3682 Allow for the second argument being negative.
3683 * config.host (extra_parts): Define for MSP430. Create separate
3684 libraries for each of the hardware multiply formats.
3685 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3686 that are needed.
3687 * config/msp430/lib2mul.c: Likewise.
3688 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3689 Add rules to build hardware multiply libraries.
3690 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3691 __mspabi_divul function.
3692 (__mspabi_divllu): New stub function.
3693
9a32d437
JDA
36942015-12-01 John David Anglin <danglin@gcc.gnu.org>
3695
3696 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3697 fixup values if saved GOT address doesn't match runtime address.
3698 (fixup_branch_offset): Reorder list.
3699
e5ef217c
RO
37002015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3701
3702 * Makefile.in (VTV_CFLAGS): New variable.
3703 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3704 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3705 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3706 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3707 to extra_parts if $enable_vtable_verify = yes.
3708
78cc43a2
SN
37092015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3710
3711 PR target/68059
3712 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3713 (write): ...this and fix the return type.
3714
9afebea2
DD
37152015-11-19 DJ Delorie <dj@redhat.com>
3716
3717 * config/msp430/lib2hw_mul.S: Fix alignment.
3718
33f47f42
NS
37192015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3720
3721 * config/nvptx/reduction.c: New.
3722 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3723
d9adb476
DE
37242015-11-15 David Edelsohn <dje.gcc@gmail.com>
3725
3726 * config/rs6000/on_exit.c: New file.
3727 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3728 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3729
c0ab1970
CZ
37302015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3731
3732 * config/arc/dp-hack.h: Add support for ARCHS.
3733 * config/arc/ieee-754/divdf3.S: Likewise.
3734 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3735 * config/arc/ieee-754/muldf3.S: Likewise.
3736 * config/arc/ieee-754/mulsf3.S: Likewise
3737 * config/arc/lib1funcs.S: Likewise
3738 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3739 for ARCv2 cores.
3740 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3741 for ARCv2 cores.
3742 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3743 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3744 cores.
3745
e6b6bf09
RO
37462015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3747
3748 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3749 value.
3750 * config/ia64/crtend.S: Likewise.
3751
a153644f
TS
37522015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3753
3754 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3755 __CHAR_BIT__ instead of BITS_PER_UNIT.
3756 * fixed-bit.h: Likewise.
3757 * fp-bit.h: Likewise.
3758 * libgcc2.c (__popcountSI2): Likewise.
3759 (__popcountDI2): Likewise.
3760 * libgcc2.h: Likewise.
3761 * libgcov.h: Likewise.
3762
3dee689d
DE
37632015-11-07 David Edelsohn <dje.gcc@gmail.com>
3764
3765 * config/rs6000/atexit.c: New file.
3766 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3767 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3768 * config/rs6000/cxa_finalize.c
3769 (catomic_compare_and_exchange_bool_acq): Negate return value.
3770
2ef543e4
VK
37712015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3772
3773 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3774 (processor_subtypes): Add znver1.
3775 (get_amd_cpu): Detect znver1.
3776
1300f017
CL
37772015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3778
3779 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3780 Include crtfastmath.o.
3781
3e5bb7ee
JR
37822015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3783
3784 PR libgcc/66883
3785 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3786
793aa938
KP
37872015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3788
3789 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3790 * config/rl78/divmodsi.S: Update return register to r8.
3791 * config/rl78/divmodhi.S: Update return register to r8,r9.
3792 Branch to main_loop_done_himode to pop registers before return.
3793
7d296953 37942015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3795
3796 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3797 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3798
6a192b5a
KY
37992015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3800
3801 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3802
4a0a9457
MF
38032015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3804
3805 * config.host (xtensa*-*-uclinux*): New configuration.
3806
ab91c076
KY
38072015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3808
385c7747 3809 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3810 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3811
30954527
JM
38122015-09-28 Joseph Myers <joseph@codesourcery.com>
3813
3814 * soft-fp/adddf3.c: Update from glibc.
3815 * soft-fp/addsf3.c: Likewise.
3816 * soft-fp/addtf3.c: Likewise.
3817 * soft-fp/divdf3.c: Likewise.
3818 * soft-fp/divsf3.c: Likewise.
3819 * soft-fp/divtf3.c: Likewise.
3820 * soft-fp/double.h: Likewise.
3821 * soft-fp/eqdf2.c: Likewise.
3822 * soft-fp/eqsf2.c: Likewise.
3823 * soft-fp/eqtf2.c: Likewise.
3824 * soft-fp/extenddftf2.c: Likewise.
3825 * soft-fp/extended.h: Likewise.
3826 * soft-fp/extendsfdf2.c: Likewise.
3827 * soft-fp/extendsftf2.c: Likewise.
3828 * soft-fp/extendxftf2.c: Likewise.
3829 * soft-fp/fixdfdi.c: Likewise.
3830 * soft-fp/fixdfsi.c: Likewise.
3831 * soft-fp/fixdfti.c: Likewise.
3832 * soft-fp/fixsfdi.c: Likewise.
3833 * soft-fp/fixsfsi.c: Likewise.
3834 * soft-fp/fixsfti.c: Likewise.
3835 * soft-fp/fixtfdi.c: Likewise.
3836 * soft-fp/fixtfsi.c: Likewise.
3837 * soft-fp/fixtfti.c: Likewise.
3838 * soft-fp/fixunsdfdi.c: Likewise.
3839 * soft-fp/fixunsdfsi.c: Likewise.
3840 * soft-fp/fixunsdfti.c: Likewise.
3841 * soft-fp/fixunssfdi.c: Likewise.
3842 * soft-fp/fixunssfsi.c: Likewise.
3843 * soft-fp/fixunssfti.c: Likewise.
3844 * soft-fp/fixunstfdi.c: Likewise.
3845 * soft-fp/fixunstfsi.c: Likewise.
3846 * soft-fp/fixunstfti.c: Likewise.
3847 * soft-fp/floatdidf.c: Likewise.
3848 * soft-fp/floatdisf.c: Likewise.
3849 * soft-fp/floatditf.c: Likewise.
3850 * soft-fp/floatsidf.c: Likewise.
3851 * soft-fp/floatsisf.c: Likewise.
3852 * soft-fp/floatsitf.c: Likewise.
3853 * soft-fp/floattidf.c: Likewise.
3854 * soft-fp/floattisf.c: Likewise.
3855 * soft-fp/floattitf.c: Likewise.
3856 * soft-fp/floatundidf.c: Likewise.
3857 * soft-fp/floatundisf.c: Likewise.
3858 * soft-fp/floatunditf.c: Likewise.
3859 * soft-fp/floatunsidf.c: Likewise.
3860 * soft-fp/floatunsisf.c: Likewise.
3861 * soft-fp/floatunsitf.c: Likewise.
3862 * soft-fp/floatuntidf.c: Likewise.
3863 * soft-fp/floatuntisf.c: Likewise.
3864 * soft-fp/floatuntitf.c: Likewise.
3865 * soft-fp/gedf2.c: Likewise.
3866 * soft-fp/gesf2.c: Likewise.
3867 * soft-fp/getf2.c: Likewise.
3868 * soft-fp/ledf2.c: Likewise.
3869 * soft-fp/lesf2.c: Likewise.
3870 * soft-fp/letf2.c: Likewise.
3871 * soft-fp/muldf3.c: Likewise.
3872 * soft-fp/mulsf3.c: Likewise.
3873 * soft-fp/multf3.c: Likewise.
3874 * soft-fp/negdf2.c: Likewise.
3875 * soft-fp/negsf2.c: Likewise.
3876 * soft-fp/negtf2.c: Likewise.
3877 * soft-fp/op-1.h: Likewise.
3878 * soft-fp/op-2.h: Likewise.
3879 * soft-fp/op-4.h: Likewise.
3880 * soft-fp/op-8.h: Likewise.
3881 * soft-fp/op-common.h: Likewise.
3882 * soft-fp/quad.h: Likewise.
3883 * soft-fp/single.h: Likewise.
3884 * soft-fp/soft-fp.h: Likewise.
3885 * soft-fp/subdf3.c: Likewise.
3886 * soft-fp/subsf3.c: Likewise.
3887 * soft-fp/subtf3.c: Likewise.
3888 * soft-fp/truncdfsf2.c: Likewise.
3889 * soft-fp/trunctfdf2.c: Likewise.
3890 * soft-fp/trunctfsf2.c: Likewise.
3891 * soft-fp/trunctfxf2.c: Likewise.
3892 * soft-fp/unorddf2.c: Likewise.
3893 * soft-fp/unordsf2.c: Likewise.
3894 * soft-fp/unordtf2.c: Likewise.
3895
4dfe21ac
RE
38962015-09-24 Richard Earnshaw <rearnsha@arm.com>
3897
3898 PR libgcc/67624
3899 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3900
df2a1cc4
RO
39012015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3902
3903 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3904 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3905 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3906 messages.
3907 (internal_mcount): Likewise.
3908 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3909 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3910
2d110442
RO
39112015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3912
3913 * configure.ac (libgcc_cv_solaris_crts): New test.
3914 * configure: Regenerate.
3915 * config.in: Regenerate.
3916 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3917 * config/gmon-sol2.c: Rename to ...
3918 * config/sol2/gmon.c: ... this.
3919 Include auto-target.h.
3920 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3921 * config/t-sol2: Rename to ...
3922 * config/sol2/t-sol2: ... this.
3923 (gmon.o): Reflect renaming.
3924 (crtp.o, crtpg.o): New rules.
3925 * config.host (*-*-solaris2*): Reflect renaming.
3926 Use system CRTs if present.
3927 Remove default CRT case.
3928
d572e439
JDA
39292015-09-23 John David Anglin <danglin@gcc.gnu.org>
3930
3931 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3932 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3933 __kernel_cmpxchg2.
3934 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3935 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3936 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3937 (__sync_lock_test_and_set_##WIDTH): Likewise.
3938 (__sync_lock_release_##WIDTH): Likewise.
3939 (__sync_fetch_and_##OP##_4): Change result to match type of
3940 __kernel_cmpxchg.
3941 (__sync_##OP##_and_fetch_4): Likewise.
3942 (__sync_val_compare_and_swap_4): Likewise.
3943 (__sync_bool_compare_and_swap_4): likewise.
3944 (__sync_lock_test_and_set_4): Likewise.
3945 (__sync_lock_release_4): Likewise.
3946 (FETCH_AND_OP_2): Add long long variants.
3947 (OP_AND_FETCH_2): Likewise.
3948 (COMPARE_AND_SWAP_2 ): Likewise.
3949 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3950 (SYNC_LOCK_RELEASE_2): Likewise.
3951 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3952
7d296953 39532015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3954
3955 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3956 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3957 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3958 (get_available_features): Habdle new features.
3959
131314e1
JB
39602015-09-21 James Bowman <james.bowman@ftdichip.com>
3961
3962 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3963 memory layout. Deal correctly with BSS region larger than 32K.
3964 Handle a watchdog reset like a power-on reset. Clean up unused
3965 code.
3966
04218b35
AD
39672015-09-18 Andrew Dixie <andrewd@gentrack.com>
3968 David Edelsohn <dje.gcc@gmail.com>
3969
3970 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3971 * config/rs6000/crtdbase.S: New file.
3972 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3973
c8338173
MF
39742015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3975
3976 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3977 Add support for call0 ABI.
3978
7a84bf71
JDA
39792015-09-13 John David Anglin <danglin@gcc.gnu.org>
3980
3981 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3982
4efab402
SH
39832015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3984
3985 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3986 (__GTHREAD_HAS_COND): Likewise.
3987 (__gthread_t): Likewise.
3988 (__gthread_cond_t): Likewise.
3989 (__gthread_time_t): Likewise.
3990 (__GTHREAD_MUTEX_INIT): Likewise.
3991 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3992 (__GTHREAD_COND_INIT): Likewise.
3993 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3994 (__GTHREAD_TIME_INIT): Likewise.
3995 (__gthread_create): Likewise.
3996 (__gthread_join): Likewise.
3997 (__gthread_detach): Likewise.
3998 (__gthread_equal): Likewise.
3999 (__gthread_self): Likewise.
4000 (__gthread_yield): Likewise.
4001 (__gthread_cond_broadcast): Likewise.
4002 (__gthread_cond_signal): Likewise.
4003 (__gthread_cond_wait): Likewise.
4004 (__gthread_cond_timedwait): Likewise.
4005 (__gthread_cond_wait_recursive): Likewise.
4006 (__gthread_cond_destroy): Likewise.
4007 (rtems_gxx_once): Delete.
4008 (rtems_gxx_key_create): Likewise.
4009 (rtems_gxx_key_delete): Likewise.
4010 (rtems_gxx_getspecific): Likewise.
4011 (rtems_gxx_setspecific): Likewise.
4012 (rtems_gxx_mutex_init): Likewise.
4013 (rtems_gxx_mutex_destroy): Likewise.
4014 (rtems_gxx_mutex_lock): Likewise.
4015 (rtems_gxx_mutex_trylock): Likewise.
4016 (rtems_gxx_mutex_unlock): Likewise.
4017 (rtems_gxx_recursive_mutex_init): Likewise.
4018 (rtems_gxx_recursive_mutex_lock): Likewise.
4019 (rtems_gxx_recursive_mutex_trylock): Likewise.
4020 (rtems_gxx_recursive_mutex_unlock): Likewise.
4021 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4022 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4023 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4024 (__gthread_once): Likewise.
4025 (__gthread_key_create): Likewise.
4026 (__gthread_key_delete): Likewise.
4027 (__gthread_getspecific): Likewise.
4028 (__gthread_setspecific): Likewise.
4029 (__gthread_key_t): Use <pthread.h> type.
4030 (__gthread_once_t): Likewise
4031 (__gthread_mutex_t): Use <sys/lock.h> type.
4032 (__gthread_recursive_mutex_t): Likewise
4033 (__gthread_mutex_lock): Use <sys/lock.h> function.
4034 (__gthread_mutex_trylock): Likewise.
4035 (__gthread_mutex_timedlock): Likewise.
4036 (__gthread_mutex_unlock): Likewise.
4037 (__gthread_mutex_destroy): Likewise.
4038 (__gthread_recursive_mutex_lock): Likewise.
4039 (__gthread_recursive_mutex_trylock): Likewise.
4040 (__gthread_recursive_mutex_timedlock): Likewise.
4041 (__gthread_recursive_mutex_unlock): Likewise.
4042 (__gthread_recursive_mutex_destroy): Likewise.
4043
991995c4
MF
40442015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4045
4046 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4047 context->sp instead of context->cfa.
4048
0e19db59
MF
40492015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4050
4051 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4052 with unwind-dw2-fde-dip.
4053
b6ac5f62
MF
40542015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4055
4056 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4057 CALL12 followed by series of ENTRY to spill windowed registers.
4058 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4059 instead of making linux spill syscall.
4060
3e0f3349
YR
40612015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4062
4063 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4064 (get_intel_cpu): Likewise.
4065
51c728b1
L
40662015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4067
4068 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4069 (get_intel_cpu): Add Knights Landing support.
4070
aff4eeac
UB
40712015-08-11 Uros Bizjak <ubizjak@gmail.com>
4072
4073 PR target/66954
4074 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4075 (get_available_features): Handle FEATURE_PCLMUL.
4076
736e56da
L
40772015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4078
4079 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4080 Broadwell.
4081
54d22142
UB
40822015-07-22 Uros Bizjak <ubizjak@gmail.com>
4083
4084 PR target/66954
4085 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4086 (get_available_features): Handle FEATURE_AES.
4087
20ca17e4
CLT
40882015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4089
4090 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4091 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4092
ebe4a560
NS
40932015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4094
4095 * offloadstuff.c: Constify host data.
4096
180744c0
JB
40972015-07-17 Jan Beulich <jbeulich@suse.com>
4098
4099 * config/t-softfp: Split up "else ifneq".
4100
a03c6ae3
SL
41012015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4102 Cesar Philippidis <cesar@codesourcery.com>
4103 Chung-Lin Tang <cltang@codesourcery.com>
4104
4105 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4106 for __nios2_arch__ level.
4107
73358db5
JM
41082015-07-13 John Marino <gnugcc@marino.st>
4109
4110 * config/i386/t-dragonfly: New.
4111
f9a12f7b
JDA
41122015-07-01 John David Anglin <danglin@gcc.gnu.org>
4113
4114 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4115 better match light-weight syscall argument order.
4116 (__kernel_cmpxchg2): Likewise.
4117 Adjust callers.
4118
cb78b51c
L
41192015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4120
4121 * config.host: Support i[34567]86-*-elfiamcu target.
4122 * config/t-softfp-sfdftf: New file.
4123 * config/i386/32/t-iamcu: Likewise.
4124 * configure: Regenerated.
4125
4fa0f9ea
JL
41262015-06-23 James Lemke <jwlemke@codesourcery.com>
4127
4128 libgcc/config/arm/
4129 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4130
428b3812
L
41312015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4132
4133 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4134
7d296953 41352015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
4136
4137 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4138 md_unwind_header
4139 * config/i386/freebsd-unwind.h: New.
4140
9b789cc1
UB
41412015-05-22 Uros Bizjak <ubizjak@gmail.com>
4142
4143 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4144 i386/t-crtfm to tmake_file.
4145 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4146 (set_fast_math): Use set_fast_math_sse for SSE targets.
4147 * config/i386/t-crtfm: Remove.
4148
3dafb220
AM
41492015-05-21 Alan Modra <amodra@gmail.com>
4150
4151 PR libgcc/66225
4152 * config/rs6000/morestack.S: Remove ".abiversion 1".
4153
0f0fd745
AM
41542015-05-20 Alan Modra <amodra@gmail.com>
4155
4156 * config/rs6000/morestack.S: New.
4157 * config/rs6000/t-stack-rs6000: New.
4158 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4159 to tmake_file.
4160 * generic-morestack.c: Don't build for powerpc 32-bit.
4161
515ae71b
EB
41622015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4163
4164 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4165 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4166
36805406
JL
41672015-05-16 James Bowman <james.bowman@ftdichip.com>
4168
4169 * config.host: FT32 target added.
4170 * config/ft32/*: New files for FT32 target.
4171
ff935d0c
MG
41722015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4173
385c7747
UB
4174 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4175 New macros.
4176 * config/arm/ieee754-df.S: Add CFI directives.
4177 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 4178
9b92a9f3
EB
41792015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4180
4181 * configure.ac: Include config/sjlj.m4.
4182 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4183 * config.in: Regenerate.
4184 * configure: Likewise.
4185 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4186
98b5dc61
UB
41872015-05-12 Uros Bizjak <ubizjak@gmail.com>
4188
4189 * libgcov-util.c: Add space between string literal and macro name.
4190
5a0ff57c
SL
41912015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4192 Chris Jones <chrisj@nvidia.com>
4193 Joshua Conner <jconner@nvidia.com>
4194
4195 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4196 (arm*-*-uclinux*): Likewise.
4197 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4198 * config/arm/crtfastmath.c: New file.
4199
d28ad5d4
BS
42002014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4201
4202 * Makefile.in (real_host_noncanonical): New variable.
4203 (libsubdir): Use it.
4204 * configure.ac (real_host_noncanonical): Compute. Remove special
4205 case for intelmicemul.
4206 * configure: Regenerate.
4207
cc86234f
UB
42082015-04-28 Uros Bizjak <ubizjak@gmail.com>
4209
4210 * config/frv/elf-lib.h: New file.
4211 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4212 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4213 to tm_file.
4214
42152015-04-28 Uros Bizjak <ubizjak@gmail.com>
4216
4217 * config/frv/frvbengin.c: Do not include defaults.h
4218 * config/frv/frvend.c: Ditto.
4219
2f6bd6eb
YS
42202015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4221
4222 * config.host: Add h8300-*-linux
4223 * config/h8300/t-linux: New file.
4224 * config/h8300/lib1funs.s: Change symbol prefix.
4225 * config/h8300/sfp-machine.h: 64bit double support.
4226
15aa7b44
GR
42272015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4228 Szabolcs Nagy <szabolcs.nagy@arm.com>
4229
4230 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4231 Linux if target provides dl_iterate_phdr.
4232
abd0cdc9
L
42332015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4234
4235 PR target/65612
4236 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4237 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4238 (__cpu_indicator_init@GCC_4.8.0): New.
4239 (__cpu_model@GCC_4.8.0): Likewise.
4240 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4241 -DUSE_ELF_SYMVER.
4242
72ed1126
NC
42432015-04-16 Nick Clifton <nickc@redhat.com>
4244
4245 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4246 and __modhi3 functions.
4247 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4248 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4249
d26b2237
CG
42502015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4251
4252 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4253 do-while loop as macro body to avoid warnings.
4254
cacf1f59
JJ
42552015-04-10 Jakub Jelinek <jakub@redhat.com>
4256 Iain Sandoe <iain@codesourcery.com>
4257
4258 PR target/65351
4259 * configure: Regenerate.
4260
e8a4ed3b
JJ
42612015-04-07 Jakub Jelinek <jakub@redhat.com>
4262 Iain Sandoe <iain@codesourcery.com>
4263
4264 PR target/65351
4265 * configure: Regenerate.
4266
0341335e
CLT
42672015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4268
4269 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4270
590e2636 42712015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 4272
590e2636
MF
4273 Implement call0 ABI for xtensa
4274 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4275 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4276 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4277 use ret in call0 ABI.
4278 * config/xtensa/t-windowed: New file.
4279 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4280 * libgcc/configure: Regenerated.
4281 * libgcc/configure.ac: Check if xtensa target is configured for
4282 windowed ABI and thus needs to use custom unwind code.
4283
7727f8f2
JW
42842015-02-12 Jonathan Wakely <jwakely@redhat.com>
4285
4286 PR libgcc/64885
4287 * gthr-single.h: Use __unused__ attribute instead of unused.
4288 * config/gthr-vxworks.h: Likewise.
4289 * config/i386/gthr-win32.h: Likewise.
4290
0e4a0def
KT
42912015-02-27 Kai Tietz <ktietz@redhat.com>
4292
4293 PR target/65038
4294 * config.in: Regenerated.
4295 * configure: Likewise.
4296 * configure.ac (AC_HEADER_STDC): Added explicit.
4297 (AC_CHECK_HEADERS): Check for default headers plus
4298 for ftw.h header.
4299 * libgcov-util.c (gcov_read_profile_dir): Disable use
4300 of ftw-function, if header is not found.
4301 (ftw_read_file): Likewise.
4302
b6530d0a
TS
43032015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4304
4305 PR target/65181
4306 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4307 -Dinhibit_libc.
4308
53cfb467
SL
43092015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4310
4311 * config/arm/bpabi.S (test_div_by_zero): Make label names
4312 consistent between thumb2 and arm mode cases. Separate the
4313 signed comparison on the high word of the numerator from the
4314 unsigned comparison on the low word.
4315 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4316 signed comparison.
4317
77d10a1b
JM
43182015-02-17 Joseph Myers <joseph@codesourcery.com>
4319
4320 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4321 and <string.h>.
4322 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4323
98174188
RE
43242015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4325
4326 PR gcov-profile/61889
471274de 4327 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 4328
771bef14
NC
43292015-02-02 Nick Clifton <nickc@redhat.com>
4330
4331 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4332 rounding up the fraction.
4333
40702893
JDA
43342015-01-31 John David Anglin <danglin@gcc.gnu.org>
4335
4336 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4337 oldval and newval to const void *. Fix typo.
4338 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4339 (FETCH_AND_OP_WORD): Likewise.
4340 (OP_AND_FETCH_WORD): Likewise.
4341 (COMPARE_AND_SWAP_2): Likewise.
4342 (__sync_val_compare_and_swap_4): Likewise.
4343 (__sync_lock_test_and_set_4): Likewise.
4344 (SYNC_LOCK_RELEASE_2): Likewise.
4345 Remove support for long long atomic operations.
4346
f7f049fa
CT
43472015-01-27 Caroline Tice <cmtice@google.com>
4348
4349 Committing VTV Cywin/Ming patch for Patrick Wollgast
4350 * Makefile.in: Move rules to build vtv_*.o out of the check
4351 for CUSTOM_CRTSTUFF.
4352 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4353 i[34567]86-*-mingw*)
4354 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4355 enable_vtable_verify.
4356
8410904a
NC
43572015-01-27 Nick Clifton <nickc@redhat.com>
4358
4359 * config/rl78/cmpsi2.S: Use function start and end macros.
4360 (__gcc_bcmp): New function.
4361 * config/rl78/lshrsi3.S: Use function start and end macros.
4362 * config/rl78/mulsi3.S: Add support for G10.
4363 (__mulqi3): New function for G10.
4364 * config/rl78/signbit.S: Use function start and end macros.
4365 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4366 fpmath-sf.S.
4367 (LIB2FUNCS_EXCLUDE): Define.
4368 (LIB2FUNCS_ST): Define.
4369 * config/rl78/trampoline.S: Use function start and end macros.
4370 * config/rl78/vregs.h (START_FUNC): New macro.
4371 (START_ANOTHER_FUNC): New macro.
4372 (END_FUNC): New macro.
4373 (END_ANOTHER_FUNC): New macro.
4374 * config/rl78/bit-count.S: New file. Contains assembler
4375 implementations of the bit counting functions: ___clzhi2,
4376 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4377 __paritysi2, __popcounthi2 and __popcountsi2.
4378 * config/rl78/fpbit-sf.S: New file. Contains assembler
4379 implementationas of the math functions: __negsf2, __cmpsf2,
4380 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4381 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4382 * config/rl78/fpmath-sf.S: New file. Contains assembler
4383 implementations of the math functions: __subsf3, __addsf3,
4384 __mulsf3 and __divsf3
4385
f962fbf1
RO
43862015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4387
4388 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4389 Add i386/elf-lib.h to tm_file.
4390 * config/i386/elf-lib.h: Fix comment.
4391 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4392 && __sun__ && __svr4__]: Remove workaround.
4393
939911c5
ASJ
43942015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4395
4396 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4397 FEATURE_BMI2.
4398 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4399
c8f2dff2
L
44002015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4401
4402 * config/i386/cpuinfo.c (processor_subtypes): Add
4403 INTEL_COREI7_BROADWELL.
4404 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4405 model numbers.
4406
7bbf9734
UB
44072015-01-23 Uros Bizjak <ubizjak@gmail.com>
4408
4409 * config/i386/elf-lib.h: New file.
4410 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4411 Wrap definition in #ifdef __i386__.
4412 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4413 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4414 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4415 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4416 to tm_file.
4417
324820f1
CG
44182015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4419
4420 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4421 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4422
a9ce4e4a
CLT
44232015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4424
4425 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4426 Update rt_sigframe format and address for current Nios II
4427 Linux conventions.
4428
82a19768
AT
44292015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4430
4431 * config.host (arm*-*-freebsd*): Add new configuration for
4432 arm*-*-freebsd*.
4433 * config/arm/freebsd-atomic.c: New file.
4434 * config/arm/t-freebsd: Likewise.
4435 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4436 'PC-relative indirect' OS's.
4437
0969ec7d
EB
44382015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4439
4440 * config.host: Add Visium support.
4441 * config/visium: New directory.
4442
5624e564
JJ
44432015-01-05 Jakub Jelinek <jakub@redhat.com>
4444
4445 Update copyright years.
4446
82f84ecb
MF
44472014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4448
4449 * config.host: Support mipsisa32r6 and mipsisa64r6.
4450 * config/mips/mips16.S: Do not build for R6.
4451
69044fa9
OE
44522014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4453
4454 * config/sh/crt.h: New.
4455 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4456 symbols.
4457 * config/sh/crt1.S: Likewise.
4458
2405e0ea
UB
44592014-12-15 Uros Bizjak <ubizjak@gmail.com>
4460
4461 PR libgcc/63832
4462 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4463 func_ptr *dtor_list temporary variable to avoid "array subscript
4464 is above array bounds" warnings.
4465
7d296953 44662014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4467
4468 * Makefile.in (with_aix_soname): Define.
4469 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4470 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4471 * configure: Recreate.
4472
a66272f6
OH
44732014-12-05 Olivier Hainque <hainque@adacore.com>
4474
4475 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4476 now provided by defaults.h.
4477
6342b2c5
OE
44782014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4479
7d0ee249 4480 PR target/55351
6342b2c5
OE
4481 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4482 whether it's defined.
4483
c17eac85
IT
44842014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4485
4486 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4487 * config/i386/cpuinfo.c (get_available_features): Detect it.
4488
1025cb6c
TW
44892014-11-27 Tony Wang <tony.wang@arm.com>
4490
4491 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4492 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4493 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4494
d19f2e38
SB
44952014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4496
4497 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4498
17f6e9a3
JDA
44992014-11-24 John David Anglin <danglin@gcc.gnu.org>
4500
4501 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4502 instead.
4503
0cd7c672
GM
45042014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4505 John David Anglin <danglin@gcc.gnu.org>
4506
4507 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4508 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4509 (OP_AND_FETCH_2): Likewise.
4510 (COMPARE_AND_SWAP_2): Likewise.
4511 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4512 (SYNC_LOCK_RELEASE_2): Likewise.
4513 (SUBWORD_SYNC_OP): Remove.
4514 (SUBWORD_VAL_CAS): Likewise.
4515 (SUBWORD_BOOL_CAS): Likewise.
4516 (FETCH_AND_OP_WORD): Update.
4517 Consistently use signed types.
cc86234f 4518
85c64bbe
BS
45192014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4520 Thomas Schwinge <thomas@codesourcery.com>
4521 Ilya Verbin <ilya.verbin@intel.com>
4522 Andrey Turetskiy <andrey.turetskiy@intel.com>
4523
4524 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4525 (crtoffloadend$(objext)): Likewise.
4526 * configure: Regenerate.
4527 * configure.ac (accel_dir_suffix): Compute new variable.
4528 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4529 if enable_offload_targets is not empty.
4530 * offloadstuff.c: New file.
4531
52a1ff8b
NC
45322014-11-13 Nick Clifton <nickc@redhat.com>
4533
4534 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4535 Use START_FUNC and END_FUNC macros to enable linker garbage
4536 collection.
4537 * config/rl78/divmodqi.S: Likewise.
4538 * config/rl78/divmodsi.S: Likewise.
4539 * config/rl78/mulsi3.S: Likewise.
4540 * config/rl78/lib2div.c: Remove G10 functions.
4541 * config/rl78/lib2muls.c: Likewise.
4542 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4543 * config/rl78/vregs.h (START_FUNC): New macro.
4544 (END_FUNC): New macro.
4545
050af144
MF
45462014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4547
4548 * config/mips/mips16.S: Set .module when supported. Update O32
4549 FP64 calling convention and use for FPXX when possible. Add FPXX
4550 calling convention fallback case.
4551
738f2522
BS
45522014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4553
4554 * config.host: Handle nvptx-*-*.
4555 * shared-object.mk (as-flags-$o): Define.
4556 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4557 -xassembler-with-cpp.
4558 * static-object.mk: Identical changes.
4559 * config/nvptx/t-nvptx: New file.
4560 * config/nvptx/crt0.s: New file.
4561 * config/nvptx/free.asm: New file.
4562 * config/nvptx/malloc.asm: New file.
4563 * config/nvptx/realloc.c: New file.
4564
e610393c
JM
45652014-10-30 Joseph Myers <joseph@codesourcery.com>
4566
4567 * Makefile.in (libgcc.map.in): New target.
4568 (libgcc.map): Use libgcc.map.in.
4569 * config/t-softfp (softfp_compat): New variable to be set by
4570 users.
4571 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4572 variables.
4573 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4574 directory.
4575 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4576 that use compat symbols and disable all code unless [SHARED].
4577 * config/t-softfp-compat: New file.
4578 * find-symver.awk: New file.
4579 * configure.ac (--with-glibc-version): New configure option.
4580 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4581 * configure: Regenerate.
4582 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4583 soft-float and e500.
4584
bc1b3a88
JM
45852014-10-29 Joseph Myers <joseph@codesourcery.com>
4586
4587 * config/t-hardfp (hardfp_exclusions): Document new variable for
4588 user to define.
4589 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4590 * config/t-softfp (softfp_extras): Document new variable for user
4591 to define.
4592 (softfp_func_list): Add functions from $(softfp_extras).
4593 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4594 * config.host (powerpc*-*-linux*): For e500v1, use
4595 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4596 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4597 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4598
ef2810c1
JDA
45992014-10-26 John David Anglin <danglin@gcc.gnu.org>
4600
4601 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4602 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4603 memory read accesses are ok.
4604
d80c2bea
JM
46052014-10-25 Joseph Myers <joseph@codesourcery.com>
4606
4607 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4608 * configure: Regenerate.
4609 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4610 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4611 of soft-fp for 32-bit classic hard float. Do not use
4612 t-softfp-excl for soft float.
4613
693b297b
JM
46142014-10-22 Joseph Myers <joseph@codesourcery.com>
4615
4616 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4617 configurations.
4618 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4619 Remove variables.
4620
18a3415e
GJL
46212014-10-22 Georg-Johann Lay <avr@gjlay.de>
4622
4623 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4624 introduced with 2014-10-21 trunk r216525.
4625
c1dd9790 46262014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4627 Vidya Praveen <vidya.praveen@atmel.com>
4628 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4629 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4630 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4631
4632 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4633 order.
4634
4635 Updated library functions for AVRTINY arch.
4636 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4637 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4638 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4639 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4640 wsubi/wadi macors.
4641 (__mulsi3_helper): Update stack, preserve callee saved regs and
4642 argument from stack. Restore callee save registers.
4643 (__mulpsi3): Likewise.
4644 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4645 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4646 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4647 AVRTINY.
4648 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4649 (__do_copy_data): Added new definition for AVRTINY.
4650 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4651 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4652 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4653 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4654 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4655 macors.
18a3415e 4656 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4657 AVRTINY.
4658
18a3415e 4659 Fix broken long multiplication on tiny arch.
c1dd9790 4660
5f606431
JM
46612014-10-09 Joseph Myers <joseph@codesourcery.com>
4662
4663 * soft-fp/double.h: Update from glibc.
4664 * soft-fp/eqdf2.c: Likewise.
4665 * soft-fp/eqsf2.c: Likewise.
4666 * soft-fp/eqtf2.c: Likewise.
4667 * soft-fp/extenddftf2.c: Likewise.
4668 * soft-fp/extended.h: Likewise.
4669 * soft-fp/extendsfdf2.c: Likewise.
4670 * soft-fp/extendsftf2.c: Likewise.
4671 * soft-fp/extendxftf2.c: Likewise.
4672 * soft-fp/gedf2.c: Likewise.
4673 * soft-fp/gesf2.c: Likewise.
4674 * soft-fp/getf2.c: Likewise.
4675 * soft-fp/ledf2.c: Likewise.
4676 * soft-fp/lesf2.c: Likewise.
4677 * soft-fp/letf2.c: Likewise.
4678 * soft-fp/op-1.h: Likewise.
4679 * soft-fp/op-2.h: Likewise.
4680 * soft-fp/op-4.h: Likewise.
4681 * soft-fp/op-8.h: Likewise.
4682 * soft-fp/op-common.h: Likewise.
4683 * soft-fp/quad.h: Likewise.
4684 * soft-fp/single.h: Likewise.
4685 * soft-fp/soft-fp.h: Likewise.
4686 * soft-fp/unorddf2.c: Likewise.
4687 * soft-fp/unordsf2.c: Likewise.
4688 * soft-fp/unordtf2.c: Likewise.
4689 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4690 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4691 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4692 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4693 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4694 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4695 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4696 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4697 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4698 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4699
9b84e7a8
RX
47002014-10-08 Rong Xu <xur@google.com>
4701
4702 * libgcov-util.c (read_gcda_file): Fix format.
4703 (find_match_gcov_info): Ditto.
4704 (calculate_2_entries): New.
4705 (compute_one_gcov): Ditto.
4706 (gcov_info_count_all_cold): Ditto.
4707 (gcov_info_count_all_zero): Ditto.
4708 (extract_file_basename): Ditto.
4709 (get_file_basename): Ditto.
4710 (set_flag): Ditto.
4711 (matched_gcov_info): Ditto.
4712 (calculate_overlap): Ditto.
4713 (gcov_profile_overlap): Ditto.
4714 * libgcov-driver.c (compute_summary): Make
4715 it avavilable for external calls.
4716
fe1090c1
RX
47172014-10-06 Rong Xu <xur@google.com>
4718
4719 * Makefile.in: Ditto.
4720 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4721 (gcov_sort_icall_topn_counter): Ditto.
4722 (gcov_sort_topn_counter_arrays): Ditto.
4723 (dump_one_gcov): Sort indirect_call topn counters.
4724 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4725 function.
4726 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4727 utility function.
4728 (__gcov_indirect_call_topn_profiler): New profiler function.
4729 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4730 * libgcov.h: New decls.
4731
3daa7bbf
TS
47322014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4733
4734 * config.host: Remove support for score-*.
4735
9a79452d
JM
47362014-09-22 Joseph Myers <joseph@codesourcery.com>
4737
4738 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4739 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4740 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4741 __LIBGCC_XF_MANT_DIG__.
4742 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4743 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4744 __LIBGCC_TF_MANT_DIG__.
4745 * libgcc2.c (NOTRUNC): Define in terms of
4746 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4747 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4748
1a849e50
JM
47492014-09-22 Joseph Myers <joseph@codesourcery.com>
4750
4751 PR target/63312
4752 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4753 New macros.
4754
598a1586
HPN
47552014-09-22 Hans-Peter Nilsson <hp@axis.com>
4756
4757 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4758 override USE_PT_GNU_EH_FRAME.
4759 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4760 check USE_EH_FRAME_REGISTRY_ALWAYS against
4761 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4762 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4763 variable for substituted force_explicit_eh_registry.
4764 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4765 * configure.ac (explicit-exception-frame-registration):
4766 New AC_ARG_ENABLE.
4767 * configure: Regenerate.
4768
3a8fe7c6
OH
47692014-09-19 Olivier Hainque <hainque@adacore.com>
4770
4771 * config.host (powerpc-wrs-vxworksmils): New configuration,
4772 same as vxworksae.
4773
dd69f047
JM
47742014-09-18 Joseph Myers <joseph@codesourcery.com>
4775
4776 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4777
e770bfd9
JM
47782014-09-18 Joseph Myers <joseph@codesourcery.com>
4779
4780 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4781 bits not set bits as indicating trapping exceptions.
4782
cadb2b96
NS
47832014-09-17 Nathan sidwell <nathan@acm.org>
4784
4785 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4786 (LIBGCOV_DRIVER): ... here.
4787 * libgcov-driver.c (gcov_master): New.
4788 (gcov_exit): Remove from master chain.
4789 (__gcov_init): Add to master chain if version compatible. Don't
4790 clear the version.
4791 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4792 (gcov_reset_int): Clear master chain, if compatible.
4793 (gcov_dump_int): New internal interface. Dump master chain, if
4794 compatible.
4795 (gcov_dump): Alias for gcov_dump_int.
4796 * libgcov.h (struct gcov_root): Add next and prev fields.
4797 (struct gcov_master): New struct.
4798 (__gcov_master): New.
4799 (gcov_dump_int): Declare.
4800
580d22a3
OH
48012014-09-17 Olivier Hainque <hainque@adacore.com>
4802
4803 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4804 and crtbegin.o + crtend.o to extra_parts.
4805
8cc4b7a2
JM
48062014-09-12 Joseph Myers <joseph@codesourcery.com>
4807
4808 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4809 __LIBGCC_HAS_SF_MODE__.
4810 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4811 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4812 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4813 * config/libbid/bid_gcc_intrinsics.h
4814 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4815 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4816 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4817 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4818 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4819 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4820
ea3f2b24
GJL
48212014-09-11 Georg-Johann Lay <avr@gjlay.de>
4822
4823 PR target/63223
4824 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4825 and R24 as needed. Make work for all devices and .text locations.
4826 (__do_global_ctors, __do_global_dtors): Use word addresses.
4827 (__tablejump__, __tablejump_elpm__): Remove functions.
4828 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4829 Add _tablejump2.
4830 (XICALL, XIJMP): New macros.
4831
b677236a
MS
48322014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4833 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4834
4835 * config.host (aarch64*): Include crtfastmath.o and
4836 t-crtfm.
4837 * config/aarch64/crtfastmath.c: New file.
4838
157e859f
TS
48392014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4840
4841 * config.host: Remove picochip support.
4842 * config/picochip/adddi3.S: Remove.
4843 * config/picochip/ashlsi3.S: Remove.
4844 * config/picochip/ashlsi3.c: Remove.
4845 * config/picochip/ashrsi3.S: Remove.
4846 * config/picochip/ashrsi3.c: Remove.
4847 * config/picochip/clzsi2.S: Remove.
4848 * config/picochip/cmpsi2.S: Remove.
4849 * config/picochip/divmod15.S: Remove.
4850 * config/picochip/divmodhi4.S: Remove.
4851 * config/picochip/divmodsi4.S: Remove.
4852 * config/picochip/lib1funcs.S: Remove.
4853 * config/picochip/longjmp.S: Remove.
4854 * config/picochip/lshrsi3.S: Remove.
4855 * config/picochip/lshrsi3.c: Remove.
4856 * config/picochip/parityhi2.S: Remove.
4857 * config/picochip/popcounthi2.S: Remove.
4858 * config/picochip/setjmp.S: Remove.
4859 * config/picochip/subdi3.S: Remove.
4860 * config/picochip/t-picochip: Remove.
4861 * config/picochip/ucmpsi2.S: Remove.
4862 * config/picochip/udivmodhi4.S: Remove.
4863 * config/picochip/udivmodsi4.S: Remove.
4864
66bb34c0
JM
48652014-09-08 Joseph Myers <joseph@codesourcery.com>
4866
4867 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4868 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4869 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4870 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4871 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4872 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4873 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4874 defined and LIBGCC2_HAS_DF_MODE is defined.
4875 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4876 defined and LIBGCC2_HAS_XF_MODE is defined.
4877 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4878 defined and LIBGCC2_HAS_TF_MODE is defined.
4879
9686a2e6
JM
48802014-09-08 Joseph Myers <joseph@codesourcery.com>
4881
4882 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4883 and ROUND_TOWARDS_ZERO conditionals.
4884
71c3e2ef
NS
48852014-09-07 Nathan sidwell <nathan@acm.org>
4886
4887 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4888 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4889
53d68b9f
JM
48902014-09-05 Joseph Myers <joseph@codesourcery.com>
4891
4892 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4893 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4894 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4895 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4896 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4897 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4898 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4899 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4900 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4901 (DWARF_FRAME_REGISTERS): Change all uses to
4902 __LIBGCC_DWARF_FRAME_REGISTERS__.
4903 (EH_RETURN_STACKADJ_RTX): Change all uses to
4904 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4905 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4906 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4907 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4908 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4909 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4910 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4911 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4912 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4913 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4914 __LIBGCC_STACK_POINTER_REGNUM__.
4915 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4916 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4917 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4918 to __LIBGCC_STACK_POINTER_REGNUM__.
4919 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4920 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4921 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4922 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4923 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4924 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4925 (STACK_POINTER_REGNUM): Change all uses to
4926 __LIBGCC_STACK_POINTER_REGNUM__.
4927 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4928 use to __LIBGCC_STACK_POINTER_REGNUM__.
4929 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4930 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4931 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4932 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4933 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4934 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4935 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4936 to __LIBGCC_STACK_POINTER_REGNUM__.
4937 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4938 Remove conditional definition.
4939 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4940 __LIBGCC_TEXT_SECTION_ASM_OP__.
4941 (EH_FRAME_SECTION_NAME): Change all uses to
4942 __LIBGCC_EH_FRAME_SECTION_NAME__.
4943 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4944 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4945 (CTORS_SECTION_ASM_OP): Change all uses to
4946 __LIBGCC_CTORS_SECTION_ASM_OP__.
4947 (DTORS_SECTION_ASM_OP): Change all uses to
4948 __LIBGCC_DTORS_SECTION_ASM_OP__.
4949 (JCR_SECTION_NAME): Change all uses to
4950 __LIBGCC_JCR_SECTION_NAME__.
4951 (INIT_SECTION_ASM_OP): Change all uses to
4952 __LIBGCC_INIT_SECTION_ASM_OP__.
4953 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4954 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4955 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4956 __LIBGCC_STACK_GROWS_DOWNWARD__.
4957 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4958 __LIBGCC_INIT_SECTION_ASM_OP__.
4959 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4960 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4961 (EH_FRAME_SECTION_NAME): Change all uses to
4962 __LIBGCC_EH_FRAME_SECTION_NAME__.
4963 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4964 definitions. Change all uses to
4965 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4966 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4967 __LIBGCC_STACK_GROWS_DOWNWARD__.
4968 (DWARF_FRAME_REGISTERS): Change all uses to
4969 __LIBGCC_DWARF_FRAME_REGISTERS__.
4970 (EH_RETURN_STACKADJ_RTX): Change all uses to
4971 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4972 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4973 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4974 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4975 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4976 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4977
b20ee094
NS
49782014-09-02 Nathan sidwell <nathan@acm.org>
4979
4980 * libgcov-interface.c (STRONG_ALIAS): New.
4981 (__gcov_flush): Call __gcov_reset_int.
4982 (__gcov_reset): Strong alias for ...
4983 (__gcov_reset_ing): ... this renamed hidden version.
4984 * libgcov.h (__gcov_reset_int): New declaration.
4985
1ac83976
YS
49862014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4987
25efdb9f
YS
4988 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4989 call from here...
4990 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4991 (__dso_handle): Define on Cygwin.
4992 * config/i386/t-cygming (crtbeginS.o): New rule.
4993 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4994
1ac83976
YS
4995 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4996 declaration syntax.
4997
c6f9ea3b
SE
49982014-08-13 Steve Ellcey <sellcey@mips.com>
4999
5000 * crtstuff.c: Undef caddr_t.
5001
5b1ea7c5
SE
50022014-08-12 Steve Ellcey <sellcey@mips.com>
5003
5004 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5005
4303c581
NS
50062014-08-07 Nathan Sidwell <nathan@acm.org>
5007
5008 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5009 (LIBGCOV_DRIVER): ... to here.
5010 * libgcov.h (gcov_do_dump): New #define.
5011 (struct gcov_root): New.
5012 (__gcov_root): New declaration.
5013 (__gcov_dump_one): Declare.
5014 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5015 run_accounted): Delete.
5016 (gcov_compute_histogram): Add LIST argument, adjust.
5017 (compute_summary): Adjust gcov_compute_histogram call.
5018 (gcov_do_dump): Not hidden, static in libgcov.
5019 (gcov_clear): Move to interface.c.
5020 (__gcov_dump_one): New, broken out of ...
5021 (gcov_exit): ... here. Make static.
5022 (__gcov_root): New.
5023 (__gcov_init): Adjust.
5024 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5025 declarations.
5026 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5027 (gcov_clear): Moved from driver.c. Add LIST argument.
5028 (__gcov_reset): Adjust for changed interfaces.
5029 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5030
23742a9e
RAR
50312014-08-04 Rohit <rohitarulraj@freescale.com>
5032
5033 PR target/60102
5034 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 5035 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 5036
b98a872b
NS
50372014-08-01 Nathan Sidwell <nathan@acm.org>
5038
5039 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5040 LIBGCOV_INTERFACE): Reformat.
5041 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5042 IN_GCOV_TOOL.
5043 * libgcov-interface.c: Reformat some comments.
5044 (__gcov_flush_mx): Add declaration. Tidy up definition.
5045
6adaaa1d
AM
50462014-07-31 Alan Modra <amodra@gmail.com>
5047 Peter Bergner <bergner@vnet.ibm.com>
5048
5049 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5050 (pack_ldouble): New function.
5051 (__gcc_qadd): Use it.
5052 (__gcc_qmul): Likewise.
5053 (__gcc_qdiv): Likewise.
5054 (__gcc_qneg): Likewise.
5055 (__gcc_stoq): Likewise.
5056 (__gcc_dtoq): Likewise.
5057
87cb0c0c
UW
50582014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5059
5060 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5061 (__tpf_eh_return): Add original return address as second parameter.
5062 Handle cases where unwinder routines were called directly, instead
5063 of from within the C++ library.
5064
19926161
NS
50652014-07-29 Nathan Sidwell <nathan@acm.org>
5066
5067 * libgcov.h: Move renaming of entry points to lib gcov specific
5068 portion.
5069 (gcov_do_dump): New rename.
5070 (gcov_rewrite): Remove inline, make HIDDEN.
5071 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5072 (gcov_exit_compute_summary): Rename to ...
5073 (compute_summary): ... here. Add LIST argument.
5074 (gcov_exit_merge_gcda): Rename to ...
5075 (merge_one_data): ... here.
5076 (gcov_exit_write_gcda): Rename to ...
5077 (write_one_data): ... here.
5078 (gcov_exit_merge_summary): Rename to ...
5079 (merge_summary): Add RUN_COUNTED argument.
5080 (gcov_exit_dump_gcov): Rename to ...
5081 (dump_one_gcov): Add RUN_COUNTED argument.
5082 (gcov_do_dump): New function, broken out of ...
5083 (gcov_exit): ... here. Call it.
5084
17522262
AG
50852014-07-27 Anthony Green <green@moxielogic.com>
5086
5087 * config.host: Add moxiebox configuration suppport.
5088
6dc33097
NS
50892014-07-27 Nathan Sidwell <nathan@acm.org>
5090
5091 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5092 (struct gcov_filename): ... here. Include buffer and max length
5093 fields.
5094 (gcov_max_filename): Remove.
5095 (gi_filename): Remove.
5096 (gcov_exit_compute_summary): Compute max filename here.
5097 (gcov_exit_merge_gcda): Add filename parm, adjust.
5098 (gcov_exit_merge_summary): Likewise.
5099 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5100 (gcov_exit): Likewise.
5101 (__gcov_init): Don't calculate max length here.
5102 * libgcov_util.c (max_filename_len): Remove.
5103 (read_gcda_file): Don't calculate max length here.
5104 (gcov_read_profile_dir): Don't propagate here.
5105 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5106 struct gcov_filename changes.
5107 (gcov_exit_open_gcda_file): Likewise.
5108
770f687d
NS
51092014-07-25 Nathan Sidwell <nathan@acm.org>
5110
5111 * libgcov-driver.c (set_gcov_dump_complete,
5112 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5113 functions polluting user's namespace.
5114 (gcov_exit): Set variable directly.
5115 (gcov_clear): Reset variable directly.
5116 * libgcov-interface.c (get_gcov_dymp_complete,
5117 reset_gov_dump_complete): Remove declarations.
5118 (__gcov_reset, __gcov_dump): Don't call them.
5119
fabf71ba
DD
51202014-07-24 DJ Delorie <dj@redhat.com>
5121
5122 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
5123 (__gcc_deregister_frame): Move logic to detect deregister function
5124 to ...
5125 (__gcc_register_frame): here, so it's consistent with the register
5126 logic.
fabf71ba 5127
d10ee722
NS
51282014-07-23 Nathan Sidwell <nathan@acm.org>
5129
5130 * libgcov-driver.c (set_gcov_list): Remove.
5131 (gcov_list): Make non-static in GCOV_TOOL.
5132 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5133
a4137090
JDA
51342014-07-17 John David Anglin <danglin@gcc.gnu.org>
5135
5136 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5137 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5138 Don't use SYNC_LOCK_RELEASE for int type.
5139
72602c6c
RB
51402014-07-14 Richard Biener <rguenther@suse.de>
5141
5142 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5143
d5313205
RX
51442014-07-11 Rong Xu <xur@google.com>
5145
5146 * libgcov-util.c (gcov_max_filename): Fix declartion.
5147
c77556a5
RX
51482014-07-10 Rong Xu <xur@google.com>
5149
5150 Add gcov-tool: an offline gcda profile processing tool
5151 Support.
5152 * libgcov-driver.c (gcov_max_filename): Make available
5153 to gcov-tool.
5154 * libgcov-merge.c (__gcov_merge_add): Replace
5155 gcov_read_counter() with a Macro.
5156 (__gcov_merge_ior): Ditto.
5157 (__gcov_merge_time_profile): Ditto.
5158 (__gcov_merge_single): Ditto.
5159 (__gcov_merge_delta): Ditto.
5160 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5161 in the utility functions.
5162 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5163 gcov_list object link lists.
5164 (tag_function): Ditto.
5165 (tag_blocks): Ditto.
5166 (tag_arcs): Ditto.
5167 (tag_lines): Ditto.
5168 (tag_counters): Ditto.
5169 (tag_summary): Ditto.
5170 (read_gcda_finalize): Ditto.
5171 (read_gcda_file): Ditto.
5172 (ftw_read_file): Ditto.
5173 (read_profile_dir_init): Ditto.
5174 (gcov_read_profile_dir): Ditto.
5175 (gcov_read_counter_mem): Ditto.
5176 (gcov_get_merge_weight): Ditto.
5177 (merge_wrapper): A wrapper function that calls merging handler.
5178 (gcov_merge): Merge two gcov_info objects with weights.
5179 (find_match_gcov_info): Find the matched gcov_info in the list.
5180 (gcov_profile_merge): Merge two gcov_info object lists.
5181 (__gcov_add_counter_op): Process edge profile counter values.
5182 (__gcov_ior_counter_op): Process IOR profile counter values.
5183 (__gcov_delta_counter_op): Process delta profile counter values.
5184 (__gcov_single_counter_op): Process single profile counter values.
5185 (fp_scale): Callback function for float-point scaling.
cc86234f 5186 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
5187 (gcov_profile_scale): Scaling profile counters.
5188 (gcov_profile_normalize): Normalize profile counters.
5189 * libgcov.h: Add headers and functions for gcov-tool use.
5190 (gcov_get_counter): New.
5191 (gcov_get_counter_target): Ditto.
5192 (struct gcov_info): Make the functions field mutable in gcov-tool
5193 compilation.
5194
5c7dac8a
KT
51952014-06-23 Kai Tietz <ktietz@redhat.com>
5196
5197 PR libgcc/61585
5198 * unwind-seh.c (_Unwind_GetGR): Check for proper
5199 index range.
5200 (_Unwind_SetGR): Likewise.
5201
161c9312
NC
52022014-05-22 Nick Clifton <nickc@redhat.com>
5203
5204 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5205 -mhwmult=none.
5206
e3f0315f
TJ
52072014-05-22 Teresa Johnson <tejohnson@google.com>
5208
5209 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5210 include.
5211
dbed5a9b
JM
52122014-05-20 John Marino <gnugcc@marino.st>
5213
5214 * config.host (*-*-dragonfly*): New target.
5215 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5216 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5217 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5218 * config/i386/dragonfly-unwind.h: New.
5219
1ec380e5
MR
52202014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5221
5222 PR libgcc/60166
5223 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5224 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5225
54fde020
BE
52262014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5227
5228 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5229 implementation.
5230
999db125
GJL
52312014-05-12 Georg-Johann Lay <avr@gjlay.de>
5232
5233 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5234
cceaf54a
RO
52352014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5236
5237 PR libgcc/61097
5238 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5239 if --enable-shared.
5240
e3fe9b5b
BE
52412014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5242
5243 Work around for current cygwin32 build problems.
5244 * config/i386/cygming-crtbegin.c (__register_frame_info,
5245 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5246 functions only for 64-bit systems.
5247
54cf37e9
RO
52482014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5249
5250 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5251 (sigill_caught, sigill_hdlr): Remove.
5252
d9f069ab
RO
52532014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5254
5255 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5256 check.
5257 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5258 Solaris 9 single-threaded support.
5259 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5260 Solaris 9 single-threaded support. Add call_user_handler code
5261 sequences.
5262 (sparc_is_sighandler): Likewise.
5263
59976ef8
AK
52642014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5265
5266 * config.host: Append t-floattodi to tmake_file depending on
5267 host_address.
5268
d02bbcf3
JS
52692014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5270
31466bc0 5271 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 5272
c2e7e597
UB
52732014-03-10 Uros Bizjak <ubizjak@gmail.com>
5274
5275 PR libgcc/60472
5276 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 5277 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
5278 Use __builtin_expect when checking *jcr_list for NULL.
5279
227a7dc8
RO
52802014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5281
5282 PR libgcc/59339
5283 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5284 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5285 vtv_*.o to extra_parts if enable_vtable_verify.
5286
df2b279c
NC
52872014-03-06 Nick Clifton <nickc@redhat.com>
5288
5289 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5290 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5291
dc11d79b
JY
52922014-02-28 Joey Ye <joey.ye@arm.com>
5293
5294 PR libgcc/60166
5295 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5296 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5297 Set to zero.
5298
341c653c
WL
52992014-02-24 Walter Lee <walt@tilera.com>
5300
5301 * config.host: Support "tilegx*" and "tilepro*" triplets.
5302 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5303 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5304
95ce7613
CLT
53052014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5306 Chung-Lin Tang <cltang@codesourcery.com>
5307
5308 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5309 * config/nios2/crti.S: Remove .file directive.
5310 * config/nios2/crtn.S: Likewise.
5311
0bb4fc05
KT
53122014-02-18 Kai Tietz <ktietz@redhat.com>
5313 Jonathan Schleifer <js@webkeks.org>
5314
5315 PR objc/56870
5316 * unwind-seh.c (_GCC_specific_handler): Pass proper
5317 value to unwind-handler.
5318
9acf28f1
JM
53192014-02-12 Joseph Myers <joseph@codesourcery.com>
5320
5321 * soft-fp/adddf3.c: Update from glibc.
5322 * soft-fp/addsf3.c: Likewise.
5323 * soft-fp/addtf3.c: Likewise.
5324 * soft-fp/divdf3.c: Likewise.
5325 * soft-fp/divsf3.c: Likewise.
5326 * soft-fp/divtf3.c: Likewise.
5327 * soft-fp/double.h: Likewise.
5328 * soft-fp/eqdf2.c: Likewise.
5329 * soft-fp/eqsf2.c: Likewise.
5330 * soft-fp/eqtf2.c: Likewise.
5331 * soft-fp/extenddftf2.c: Likewise.
5332 * soft-fp/extended.h: Likewise.
5333 * soft-fp/extendsfdf2.c: Likewise.
5334 * soft-fp/extendsftf2.c: Likewise.
5335 * soft-fp/extendxftf2.c: Likewise.
5336 * soft-fp/fixdfdi.c: Likewise.
5337 * soft-fp/fixdfsi.c: Likewise.
5338 * soft-fp/fixdfti.c: Likewise.
5339 * soft-fp/fixsfdi.c: Likewise.
5340 * soft-fp/fixsfsi.c: Likewise.
5341 * soft-fp/fixsfti.c: Likewise.
5342 * soft-fp/fixtfdi.c: Likewise.
5343 * soft-fp/fixtfsi.c: Likewise.
5344 * soft-fp/fixtfti.c: Likewise.
5345 * soft-fp/fixunsdfdi.c: Likewise.
5346 * soft-fp/fixunsdfsi.c: Likewise.
5347 * soft-fp/fixunsdfti.c: Likewise.
5348 * soft-fp/fixunssfdi.c: Likewise.
5349 * soft-fp/fixunssfsi.c: Likewise.
5350 * soft-fp/fixunssfti.c: Likewise.
5351 * soft-fp/fixunstfdi.c: Likewise.
5352 * soft-fp/fixunstfsi.c: Likewise.
5353 * soft-fp/fixunstfti.c: Likewise.
5354 * soft-fp/floatdidf.c: Likewise.
5355 * soft-fp/floatdisf.c: Likewise.
5356 * soft-fp/floatditf.c: Likewise.
5357 * soft-fp/floatsidf.c: Likewise.
5358 * soft-fp/floatsisf.c: Likewise.
5359 * soft-fp/floatsitf.c: Likewise.
5360 * soft-fp/floattidf.c: Likewise.
5361 * soft-fp/floattisf.c: Likewise.
5362 * soft-fp/floattitf.c: Likewise.
5363 * soft-fp/floatundidf.c: Likewise.
5364 * soft-fp/floatundisf.c: Likewise.
5365 * soft-fp/floatunditf.c: Likewise.
5366 * soft-fp/floatunsidf.c: Likewise.
5367 * soft-fp/floatunsisf.c: Likewise.
5368 * soft-fp/floatunsitf.c: Likewise.
5369 * soft-fp/floatuntidf.c: Likewise.
5370 * soft-fp/floatuntisf.c: Likewise.
5371 * soft-fp/floatuntitf.c: Likewise.
5372 * soft-fp/gedf2.c: Likewise.
5373 * soft-fp/gesf2.c: Likewise.
5374 * soft-fp/getf2.c: Likewise.
5375 * soft-fp/ledf2.c: Likewise.
5376 * soft-fp/lesf2.c: Likewise.
5377 * soft-fp/letf2.c: Likewise.
5378 * soft-fp/muldf3.c: Likewise.
5379 * soft-fp/mulsf3.c: Likewise.
5380 * soft-fp/multf3.c: Likewise.
5381 * soft-fp/negdf2.c: Likewise.
5382 * soft-fp/negsf2.c: Likewise.
5383 * soft-fp/negtf2.c: Likewise.
5384 * soft-fp/op-1.h: Likewise.
5385 * soft-fp/op-2.h: Likewise.
5386 * soft-fp/op-4.h: Likewise.
5387 * soft-fp/op-8.h: Likewise.
5388 * soft-fp/op-common.h: Likewise.
5389 * soft-fp/quad.h: Likewise.
5390 * soft-fp/single.h: Likewise.
5391 * soft-fp/soft-fp.h: Likewise.
5392 * soft-fp/subdf3.c: Likewise.
5393 * soft-fp/subsf3.c: Likewise.
5394 * soft-fp/subtf3.c: Likewise.
5395 * soft-fp/truncdfsf2.c: Likewise.
5396 * soft-fp/trunctfdf2.c: Likewise.
5397 * soft-fp/trunctfsf2.c: Likewise.
5398 * soft-fp/trunctfxf2.c: Likewise.
5399 * soft-fp/unorddf2.c: Likewise.
5400 * soft-fp/unordsf2.c: Likewise.
5401 * soft-fp/unordtf2.c: Likewise.
5402 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5403 macro.
5404 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5405 Likewise.
5406 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5407 Likewise.
5408 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5409 Likewise.
5410 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5411 Likewise.
5412 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5413 Likewise.
5414 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5415 Likewise.
5416 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5417 Likewise.
5418 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5419 Likewise.
5420 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5421 Likewise.
5422 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5423 Likewise.
5424 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5425 Likewise.
5426 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5427 Likewise.
5428 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5429 Likewise.
5430 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5431 Likewise.
5432 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5433 Likewise.
5434
ce245ec6
AK
54352014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5436
5437 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5438 cannot be represented.
5439 * config/s390/32/_fixsfdi.c: Likewise.
5440 * config/s390/32/_fixtfdi.c: Likewise.
5441 * config/s390/32/_fixunsdfdi.c: Likewise.
5442 * config/s390/32/_fixunssfdi.c: Likewise.
5443 * config/s390/32/_fixunstfdi.c: Likewise.
5444
1c51d688
RS
54452014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5446
5447 * configure.ac (libgcc_cv_mips_hard_float): New.
5448 * configure: Regenerate.
5449 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5450 t-softfp-sfdf for hard-float targets.
5451 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5452 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5453 (softfp_truncations, softfp_exclude_libgcc2): New.
5454 * config/t-hardfp: New file.
5455 * config/t-hardfp-sfdf: Likewise.
5456 * config/hardfp.c: Likewise.
5457
bbf391db
AK
54582014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5459
5460 * config.host: Include t-floattodi also for s390x.
5461 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5462 * config/s390/32/_fixsfdi.c: Likewise.
5463 * config/s390/32/_fixtfdi.c: Likewise.
5464 * config/s390/32/_fixunsdfdi.c: Likewise.
5465 * config/s390/32/_fixunssfdi.c: Likewise.
5466 * config/s390/32/_fixunstfdi.c: Likewise.
5467
91da0481
RO
54682014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5469
5470 PR target/59788
5471 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5472 (install-libgcc-unwind-map-forbuild): New target.
5473 (all): Depend on install-libgcc-unwind-map-forbuild.
5474 (install-libgcc-unwind-map): New target.
5475 (install): Depend on install-libgcc-unwind-map.
5476
02b67731
SL
54772014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5478
5479 * config/nios2/crti.S (_init): Initialize GOT pointer from
5480 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5481
1ea0a651
RS
54822014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5483
5484 * configure.ac: Check __mips64 when setting host_address.
5485 * configure: Regenerate.
5486 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5487 mips/t-mips64 and t-softfp.
5488 (mips*-*-linux*): Don't add mips/t-tpbit.
5489 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5490 (DPBIT, DPBIT_CFLAGS): Delete.
5491 * config/mips/sfp-machine.h: New file.
5492 * config/mips/t-mips64: Likewise.
5493 * config/mips/t-softfp-tf: Likewise.
5494 * config/mips/t-tpbit: Delete.
5495
f32b0061
MS
54962014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5497
5498 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5499 as long long.
5500
a5420aa4
WL
55012014-01-25 Walter Lee <walt@tilera.com>
5502
5503 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5504 config.h or system.h.
5505 (bool) Define.
5506
24534912
WL
55072014-01-25 Walter Lee <walt@tilera.com>
5508
5509 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5510 (post_atomic_barrier): Ditto.
5511 (__fetch_and_do): New macro.
5512 (__atomic_fetch_and_do): Use __fetch_and_do.
5513 (__sync_fetch_and_do): New macro.
5514 (__sync_fetch_and_add_4): New function.
5515 (__sync_fetch_and_sub_4): New function.
5516 (__sync_fetch_and_or_4): New function.
5517 (__sync_fetch_and_and_4): New function.
5518 (__sync_fetch_and_xor_4): New function.
5519 (__sync_fetch_and_nand_4): New function.
5520 (__sync_fetch_and_add_8): New function.
5521 (__sync_fetch_and_sub_8): New function.
5522 (__sync_fetch_and_or_8): New function.
5523 (__sync_fetch_and_and_8): New function.
5524 (__sync_fetch_and_xor_8): New function.
5525 (__sync_fetch_and_nand_8): New function.
5526 (__do_and_fetch): New macro.
5527 (__atomic_do_and_fetch): Use __do_and_fetch.
5528 (__sync_do_and_fetch): New macro.
5529 (__sync_add_and_fetch_4): New function.
5530 (__sync_sub_and_fetch_4): New function.
5531 (__sync_or_and_fetch_4): New function.
5532 (__sync_and_and_fetch_4): New function.
5533 (__sync_xor_and_fetch_4): New function.
5534 (__sync_nand_and_fetch_4): New function.
5535 (__sync_add_and_fetch_8): New function.
5536 (__sync_sub_and_fetch_8): New function.
5537 (__sync_or_and_fetch_8): New function.
5538 (__sync_and_and_fetch_8): New function.
5539 (__sync_xor_and_fetch_8): New function.
5540 (__sync_nand_and_fetch_8): New function.
5541 (__sync_exchange_methods): New macro.
5542 (__sync_val_compare_and_swap_4): New function.
5543 (__sync_bool_compare_and_swap_4): New function.
5544 (__sync_lock_test_and_test_4): New function.
5545 (__sync_val_compare_and_swap_8): New function.
5546 (__sync_bool_compare_and_swap_8): New function.
5547 (__sync_lock_test_and_test_8): New function.
5548 (__subword_cmpxchg_body): New macro.
5549 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5550 (__atomic_compare_exchange_2): Ditto.
5551 (__sync_subword_cmpxchg): New macro.
5552 (__sync_val_compare_and_swap_1): New function.
5553 (__sync_bool_compare_and_swap_1): New function.
5554 (__sync_val_compare_and_swap_2): New function.
5555 (__sync_bool_compare_and_swap_2): New function.
5556 (__atomic_subword): Rename to ...
5557 (__subword): ... New name.
5558 (__atomic_subword_fetch): Use __subword.
5559 (__sync_subword_fetch): New macro.
5560 (__sync_fetch_and_add_1): New function.
5561 (__sync_fetch_and_sub_1): New function.
5562 (__sync_fetch_and_or_1): New function.
5563 (__sync_fetch_and_and_1): New function.
5564 (__sync_fetch_and_xor_1): New function.
5565 (__sync_fetch_and_nand_1): New function.
5566 (__sync_fetch_and_add_2): New function.
5567 (__sync_fetch_and_sub_2): New function.
5568 (__sync_fetch_and_or_2): New function.
5569 (__sync_fetch_and_and_2): New function.
5570 (__sync_fetch_and_xor_2): New function.
5571 (__sync_fetch_and_nand_2): New function.
5572 (__sync_add_and_fetch_1): New function.
5573 (__sync_sub_and_fetch_1): New function.
5574 (__sync_or_and_fetch_1): New function.
5575 (__sync_and_and_fetch_1): New function.
5576 (__sync_xor_and_fetch_1): New function.
5577 (__sync_nand_and_fetch_1): New function.
5578 (__sync_add_and_fetch_2): New function.
5579 (__sync_sub_and_fetch_2): New function.
5580 (__sync_or_and_fetch_2): New function.
5581 (__sync_and_and_fetch_2): New function.
5582 (__sync_xor_and_fetch_2): New function.
5583 (__sync_nand_and_fetch_2): New function.
5584 (__atomic_subword_lock): Use __subword.
5585 (__sync_subword_lock): New macro.
5586 (__sync_lock_test_and_set_1): New function.
5587 (__sync_lock_test_and_set_2): New function.
5588
4d6d3bc5
WL
55892014-01-25 Walter Lee <walt@tilera.com>
5590
5591 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5592 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5593 (__atomic_subword): Ditto.
5594
cbd9890e
WL
55952014-01-25 Walter Lee <walt@tilera.com>
5596
5597 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5598 a prefix op argument.
5599 (__atomic_nand_fetch_4): Add prefix op.
5600 (__atomic_nand_fetch_8): Ditto.
5601
7d296953 56022014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
5603
5604 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5605
46dd1242
L
56062014-01-09 Rong Xu <xur@google.com>
5607
5608 * libgcov-driver.c (this_prg): make it local to save
5609 bss space.
5610 (gcov_exit_compute_summary): Ditto.
5611 (gcov_exit_merge_gcda): Ditto.
5612 (gcov_exit_merge_summary): Ditto.
5613 (gcov_exit_dump_gcov): Ditto.
5614
cc86234f 56152014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
5616
5617 * libgcov-driver.c: Use libgcov.h.
5618 (buffer_fn_data): Use xmalloc instead of malloc.
5619 (gcov_exit_merge_gcda): Ditto.
5620 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5621 * libgcov.h: New common header files for libgcov-*.h.
5622 * libgcov-interface.c: Use libgcov.h
5623 * libgcov-merge.c: Ditto.
5624 * libgcov-profiler.c: Ditto.
5625 * Makefile.in: Add dependence to libgcov.h
5626
a02e7bdd
JM
56272014-01-02 Joseph Myers <joseph@codesourcery.com>
5628
5629 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5630 case of small numerator and finite nonzero result.
5631
ac1dca3c
RS
56322014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5633
5634 Update copyright years
5635
f9030485
RS
56362014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5637
5638 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5639 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5640 config/arc/dp-hack.h, config/arc/fp-hack.h,
5641 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5642 config/arc/ieee-754/arc600-dsp/divdf3.S,
5643 config/arc/ieee-754/arc600-dsp/divsf3.S,
5644 config/arc/ieee-754/arc600-dsp/muldf3.S,
5645 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5646 config/arc/ieee-754/arc600-mul64/divdf3.S,
5647 config/arc/ieee-754/arc600-mul64/divsf3.S,
5648 config/arc/ieee-754/arc600-mul64/muldf3.S,
5649 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5650 config/arc/ieee-754/arc600/divsf3.S,
5651 config/arc/ieee-754/arc600/mulsf3.S,
5652 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5653 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5654 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5655 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5656 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5657 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5658 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5659 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5660 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5661 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5662 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5663 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5664 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5665 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5666 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5667 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5668 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5669 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5670 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5671 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5672 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5673 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5674 vtv_start_preinit.c: Use the standard form for the copyright notice.
5675
e430824f
CLT
56762013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5677 Chung-Lin Tang <cltang@codesourcery.com>
5678 Based on patches from Altera Corporation
5679
5680 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5681 * config/nios2/lib2-nios2.h: New file.
5682 * config/nios2/lib2-divmod-hi.c: New file.
5683 * config/nios2/linux-unwind.h: New file.
5684 * config/nios2/lib2-divmod.c: New file.
5685 * config/nios2/linux-atomic.c: New file.
5686 * config/nios2/t-nios2: New file.
5687 * config/nios2/crti.asm: New file.
5688 * config/nios2/t-linux: New file.
5689 * config/nios2/lib2-divtable.c: New file.
5690 * config/nios2/lib2-mul.c: New file.
5691 * config/nios2/tramp.c: New file.
5692 * config/nios2/crtn.asm: New file.
5693
1879e97f
UB
56942013-12-26 Uros Bizjak <ubizjak@gmail.com>
5695
5696 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5697 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5698 from cpuid.h to check vendor signatures.
5699
f4a4bdbb
GG
57002013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5701
c2e7e597 5702 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5703 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5704 (get_amd_cpu): Likewise.
5705
8d2ae544
L
57062013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5707
5708 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5709 Haswell.
5710
74924838
ASJ
57112013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5712 H.J. Lu <hongjiu.lu@intel.com>
5713
0bb52f25
L
5714 PR target/59422
5715 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5716 and AMD_JAGUAR.
5717 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5718 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5719 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5720 FEATURE_XOP and FEATURE_FMA.
5721 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5722 AMDFAM15H_BDVER3.
5723 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5724 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5725 FEATURE_FMA4 and FEATURE_XOP.
5726
d3c11974
L
57272013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5728
5729 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5730 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5731 (get_intel_cpu): Updated.
5732
064c4ff2
ZC
57332013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5734
5735 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5736
8b02e720
UB
57372013-12-09 Uros Bizjak <ubizjak@gmail.com>
5738
5739 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5740 instructions when __SSE_MATH__ is defined.
8b02e720 5741
3fa2ccb4
RC
57422013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5743
5744 * config.host (microblaze-*-rtems*): New.
5745
ecd78fc9
KV
57462013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5747
5748 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5749 architectures that do not have hardware divide instruction.
5750 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5751
b21fbbd2
RS
57522013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5753
5754 * longlong.h: Delete (moved to include/).
5755
b03fb8c9
AZ
57562013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5757
5758 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5759 of normal number and qNaN to not raise an inexact exception.
5760
3c716922
UB
57612013-11-28 Uros Bizjak <ubizjak@gmail.com>
5762
5763 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5764
57652013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5766
5767 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5768 for correct opcodes on BE.
5769
a3458d22
UB
57702013-11-27 Uros Bizjak <ubizjak@gmail.com>
5771
5772 * soft-fp/op-4.h: Update from glibc.
5773
30b8f78b
KV
57742013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5775
5776 * libgcc2.c (__udivmoddi4): Define new implementation when
5777 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5778 divide instructions.
5779
82552a29
OE
57802013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5781
5782 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5783
80e87457
RO
57842013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5785
5786 * config/t-softfp (soft-fp-objects-base): New variable.
5787 (soft-fp-objects): Use it.
5788
44178879
DE
57892013-11-23 David Edelson <dje.gcc@gmail.com>
5790 Andrew Dixie <andrewd@gentrack.com>
5791
5792 PR target/33704
5793 * config/rs6000/aixinitfini.c: New file.
5794 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5795 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5796 symbols.
5797
e5287671
YR
57982013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5799
a3458d22 5800 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5801
867c8b03
JH
58022013-11-18 Jan Hubicka <jh@suse.cz>
5803
7f369373
JH
5804 * libgcov-driver.c (run_accounted): Make global level static.
5805 (gcov_exit_merge_summary): Silence warning; do not clear
5806 run_accounted here.
5807 (gcov_exit): Clear it here.
5808
1d0b3334
JH
5809 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5810 run_accounted.
5811
867c8b03
JH
5812 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5813 (all_prg, crc32): Remove static vars.
5814 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5815 all_prg.
5816 (gcov_exit_merge_gcda): Add crc32 parameter.
5817 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5818 do not account run if it was already accounted.
5819 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5820 (gcov_exit): Initialize all_prg; update.
5821
66204992
AS
58222013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5823
5824 * configure: Regenerate.
5825
b54214fe
UW
58262013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5827 Alan Modra <amodra@gmail.com>
5828
5829 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5830 (frob_update_context): Use it.
5831
58322013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5833 Alan Modra <amodra@gmail.com>
5834
5835 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5836 (trampoline_initial): Provide ELFv2 variant.
5837 (__trampoline_setup): Likewise.
5838
5839 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5840 check for AIX indirect function call sequence if _CALL_ELF == 2.
5841
58422013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5843 Alan Modra <amodra@gmail.com>
5844
5845 * config/rs6000/linux-unwind.h (get_regs): Do not support
5846 old kernel versions if _CALL_ELF == 2.
5847 (frob_update_context): Do not support PLT stub variants only
5848 generated by old linkers if _CALL_ELF == 2.
5849
13e0981a
UW
58502013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5851 Alan Modra <amodra@gmail.com>
5852
5853 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5854 location of CR save area for 64-bit little-endian systems.
5855
1a80085d
EB
58562013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5857
5858 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5859 in tmake_file.
5860 * config/arm/t-vxworks: Delete.
5861
cabeea52
KT
58622013-11-10 Kai Tietz <ktietz@redhat.com>
5863
5864 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5865 Increment load-count on use of LIBGCC_SONAME DLL.
5866 (hmod_libgcc): New static variable to hold handle of
5867 LIBGCC_SONAME DLL.
5868 (__gcc_deregister_frame): Decrement load-count of
5869 LIBGCC_SONAME DLL.
5870
ac088ba1
BRF
58712013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5872
5873 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5874 availability.
5875 * configure: Regenerate
5876
d59a8fcc
UB
58772013-11-07 Uros Bizjak <ubizjak@gmail.com>
5878
5879 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5880 FP_EX_DENORM. Store result to volatile location after SSE division
5881 to close interrupt window. Remove unneeded fwait after x87
5882 division since interrupt window will be closed by emitted fstp.
9de84e84 5883 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5884
9954c743
JM
58852013-11-06 Joseph Myers <joseph@codesourcery.com>
5886
5887 * soft-fp/README: Update.
5888 * soft-fp/adddf3.c: Update from glibc.
5889 * soft-fp/addsf3.c: Likewise.
5890 * soft-fp/addtf3.c: Likewise.
5891 * soft-fp/divdf3.c: Likewise.
5892 * soft-fp/divsf3.c: Likewise.
5893 * soft-fp/divtf3.c: Likewise.
5894 * soft-fp/double.h: Likewise.
5895 * soft-fp/eqdf2.c: Likewise.
5896 * soft-fp/eqsf2.c: Likewise.
5897 * soft-fp/eqtf2.c: Likewise.
5898 * soft-fp/extenddftf2.c: Likewise.
5899 * soft-fp/extended.h: Likewise.
5900 * soft-fp/extendsfdf2.c: Likewise.
5901 * soft-fp/extendsftf2.c: Likewise.
5902 * soft-fp/extendxftf2.c: Likewise.
5903 * soft-fp/fixdfdi.c: Likewise.
5904 * soft-fp/fixdfsi.c: Likewise.
5905 * soft-fp/fixdfti.c: Likewise.
5906 * soft-fp/fixsfdi.c: Likewise.
5907 * soft-fp/fixsfsi.c: Likewise.
5908 * soft-fp/fixsfti.c: Likewise.
5909 * soft-fp/fixtfdi.c: Likewise.
5910 * soft-fp/fixtfsi.c: Likewise.
5911 * soft-fp/fixtfti.c: Likewise.
5912 * soft-fp/fixunsdfdi.c: Likewise.
5913 * soft-fp/fixunsdfsi.c: Likewise.
5914 * soft-fp/fixunsdfti.c: Likewise.
5915 * soft-fp/fixunssfdi.c: Likewise.
5916 * soft-fp/fixunssfsi.c: Likewise.
5917 * soft-fp/fixunssfti.c: Likewise.
5918 * soft-fp/fixunstfdi.c: Likewise.
5919 * soft-fp/fixunstfsi.c: Likewise.
5920 * soft-fp/fixunstfti.c: Likewise.
5921 * soft-fp/floatdidf.c: Likewise.
5922 * soft-fp/floatdisf.c: Likewise.
5923 * soft-fp/floatditf.c: Likewise.
5924 * soft-fp/floatsidf.c: Likewise.
5925 * soft-fp/floatsisf.c: Likewise.
5926 * soft-fp/floatsitf.c: Likewise.
5927 * soft-fp/floattidf.c: Likewise.
5928 * soft-fp/floattisf.c: Likewise.
5929 * soft-fp/floattitf.c: Likewise.
5930 * soft-fp/floatundidf.c: Likewise.
5931 * soft-fp/floatundisf.c: Likewise.
5932 * soft-fp/floatunditf.c: Likewise.
5933 * soft-fp/floatunsidf.c: Likewise.
5934 * soft-fp/floatunsisf.c: Likewise.
5935 * soft-fp/floatunsitf.c: Likewise.
5936 * soft-fp/floatuntidf.c: Likewise.
5937 * soft-fp/floatuntisf.c: Likewise.
5938 * soft-fp/floatuntitf.c: Likewise.
5939 * soft-fp/gedf2.c: Likewise.
5940 * soft-fp/gesf2.c: Likewise.
5941 * soft-fp/getf2.c: Likewise.
5942 * soft-fp/ledf2.c: Likewise.
5943 * soft-fp/lesf2.c: Likewise.
5944 * soft-fp/letf2.c: Likewise.
5945 * soft-fp/muldf3.c: Likewise.
5946 * soft-fp/mulsf3.c: Likewise.
5947 * soft-fp/multf3.c: Likewise.
5948 * soft-fp/negdf2.c: Likewise.
5949 * soft-fp/negsf2.c: Likewise.
5950 * soft-fp/negtf2.c: Likewise.
5951 * soft-fp/op-1.h: Likewise.
5952 * soft-fp/op-2.h: Likewise.
5953 * soft-fp/op-4.h: Likewise.
5954 * soft-fp/op-8.h: Likewise.
5955 * soft-fp/op-common.h: Likewise.
5956 * soft-fp/quad.h: Likewise.
5957 * soft-fp/single.h: Likewise.
5958 * soft-fp/soft-fp.h: Likewise.
5959 * soft-fp/subdf3.c: Likewise.
5960 * soft-fp/subsf3.c: Likewise.
5961 * soft-fp/subtf3.c: Likewise.
5962 * soft-fp/truncdfsf2.c: Likewise.
5963 * soft-fp/trunctfdf2.c: Likewise.
5964 * soft-fp/trunctfsf2.c: Likewise.
5965 * soft-fp/trunctfxf2.c: Likewise.
5966 * soft-fp/unorddf2.c: Likewise.
5967 * soft-fp/unordsf2.c: Likewise.
5968 * soft-fp/unordtf2.c: Likewise.
5969
02ac9503
UB
59702013-11-05 Uros Bizjak <ubizjak@gmail.com>
5971
5972 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5973 (_FP_MUL_MEAT_D): Ditto.
5974 (_FP_DIV_MEAT_S): Ditto.
5975 (_FP_DIV_MEAT_D): Ditto.
5976 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5977 t-softfp-sfdf and t-softfp to tmake_file.
5978
61221141
UB
59792013-11-03 Uros Bizjak <ubizjak@gmail.com>
5980
5981 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5982 * config/i386/crtprec.c: Ditto.
5983
9304f876
CJW
59842013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5985 Shiva Chen <shiva0217@gmail.com>
5986
5987 * config.host (nds32*-elf*): Add nds32 target.
5988 * config/nds32 : New directory and files.
5989
0e499e75
HPN
59902013-10-16 Hans-Peter Nilsson <hp@axis.com>
5991
5992 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5993 * config.host (cpu_type) <Setting default>: Add entry for
5994 crisv32-*-*.
5995 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5996 <crisv32-*-linux*>: Adjust.
5997 * longlong.h: Wrap the whole CRIS section in a single
5998 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5999 and sub_ddmmss.
6000 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6001 defined.
6002 [__CRIS__] (__umulsidi3): Define.
6003 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6004 * config/cris/sfp-machine.h: New file.
6005 * config/cris/umulsidi3.S: New file.
6006 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6007 * config/cris/arit.c (SIGNMULT): New macro.
6008 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6009 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6010 saving 3 out of originally 33 cycles from the fastest
6011 path, 3 out of 54 from the medium path and one from the longest
6012 path. Improve comments.
6013
16022041
RS
60142013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6015
6016 * sync.c: Remove static aliases and define each function directly
6017 under its real name.
6018
69778659
JDA
60192013-10-02 John David Anglin <danglin@gcc.gnu.org>
6020
6021 * config.host (hppa*64*-*-linux*): Define extra_parts.
6022 (hppa*-*-linux*): Likewise.
6023
2deaf8b0
JR
60242013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6025
6026 * config/arc/crtgend.S: Add 2013 to Copyright years.
6027 * config/arc/gmon/atomic.h: Likewise.
6028 * config/arc/gmon/auxreg.h: Likewise.
6029 * config/arc/gmon/sys/gmon_out.h: Likewise.
6030 * config/arc/gmon/sys/gmon.h: Likewise.
6031 * config/arc/gmon/prof-freq.c: Likewise.
6032 * config/arc/gmon/mcount.c: Likewise.
6033 * config/arc/gmon/prof-freq-stub.S: Likewise.
6034 * config/arc/gmon/gmon.c: Likewise.
6035 * config/arc/gmon/machine-gmon.h: Likewise.
6036 * config/arc/gmon/profil.S: Likewise.
6037 * config/arc/gmon/dcache_linesz.S: Likewise.
6038 * config/arc/crtg.S: Likewise.
6039 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6040 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6041 * config/arc/ieee-754/adddf3.S: Likewise.
6042 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6043 * config/arc/ieee-754/fixsfsi.S: Likewise.
6044 * config/arc/ieee-754/gtsf2.S: Likewise.
6045 * config/arc/ieee-754/floatsisf.S: Likewise.
6046 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6047 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6048 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6049 * config/arc/ieee-754/fixdfsi.S: Likewise.
6050 * config/arc/ieee-754/addsf3.S: Likewise.
6051 * config/arc/ieee-754/gesf2.S: Likewise.
6052 * config/arc/ieee-754/floatsidf.S: Likewise.
6053 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6054 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6055 * config/arc/ieee-754/gtdf2.S: Likewise.
6056 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6057 * config/arc/ieee-754/uneqdf2.S: Likewise.
6058 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6059 * config/arc/ieee-754/uneqsf2.S: Likewise.
6060 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6061 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6062 * config/arc/ieee-754/eqdf2.S: Likewise.
6063 * config/arc/ieee-754/ordsf2.S: Likewise.
6064 * config/arc/ieee-754/divsf3.S: Likewise.
6065 * config/arc/ieee-754/divdf3.S: Likewise.
6066 * config/arc/ieee-754/floatunsidf.S: Likewise.
6067 * config/arc/ieee-754/orddf2.S: Likewise.
6068 * config/arc/ieee-754/eqsf2.S: Likewise.
6069 * config/arc/ieee-754/gedf2.S: Likewise.
6070 * config/arc/crtn.S: Likewise.
6071 * config/arc/crti.S: Likewise.
6072 * config/arc/t-arc700-uClibc: Likewise.
6073 * config/arc/asm.h: Likewise.
6074 * config/arc/libgcc-excl.ver: Likewise.
6075 * config/arc/t-arc-newlib: Likewise.
6076 * config/arc/divtab-arc700.c: Likewise.
6077 * config/arc/initfini.c: Likewise.
6078 * config/arc/fp-hack.h: Likewise.
6079
c8e318b0
JR
60802013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6081 Diego Novillo <dnovillo@google.com>
6082
6083 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
6084 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6085 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6086 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 6087
d38a64b4
JR
60882013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6089 Brendan Kehoe <brendan@zen.org>
6090 Simon Cook <simon.cook@embecosm.com>
6091
6092 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6093 * config/arc: New directory.
6094 * longlong.h [__arc__] (umul_ppmm): Remove.
6095 [__arc__] (__umulsidi3): Define.
6096 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6097 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6098
dff717d2
JC
60992013-09-17 Jacek Caban <jacek@codeweavers.com>
6100
6101 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6102 CreateSemaphoreA.
6103 * config/i386/gthr-win32.h: Likewise.
6104
5c0029de
DD
61052013-09-16 DJ Delorie <dj@redhat.com>
6106
844ad6c6 6107 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
6108 * config/rl78/lib2mul.c: Enable for RL78/G10.
6109 * config/rl78/lib2div.c: Likewise.
6110 * config/rl78/lshrsi3.S: Use vregs.h.
6111 * config/rl78/cmpsi2.S: Likewise.
6112 * config/rl78/trampoline.S: Likewise.
6113 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6114
ceb2fc49
DD
61152013-09-14 DJ Delorie <dj@redhat.com>
6116 Nick Clifton <nickc@redhat.com>
6117
6118 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6119 * config/rl78/vregs.h: New.
6120 * config/rl78/signbit.S: New file. Implements signbit function.
6121 * config/rl78/divmodsi.S: New.
6122 * config/rl78/divmodhi.S: New.
6123 * config/rl78/divmodqi.S: New.
6124 * config/rl78/t-rl78: Build them here...
6125 * config/rl78/lib2div.c: ...but not here.
6126
f6a83b4a
DD
61272013-09-12 DJ Delorie <dj@redhat.com>
6128
6129 * config.host (msp*-*-elf): New.
6130 * config/msp430/: New port.
6131
9107b096
IS
61322013-08-18 Iain Sandoe <iain@codesourcery.com>
6133
6134 PR gcov-profile/58127
6135 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6136 __thread var for emulated TLS.
6137 (__gcov_indirect_call_counters): Likewise.
6138
0f9bde1f 61392013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 6140 Catherine Moore <clm@codesourcery.com>
7d296953 6141 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
6142
6143 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6144 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6145 (CALL_STUB_NO_RET): Likewise.
6146 (CALL_STUB_RET): Likewise.
6147 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6148 __mips16_ret call/return stub symbols.
6149 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6150 to tmake_file.
6151
2dc14aac
MR
61522013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6153
6154 * config.host <mips*-*-linux*>: Remove a stray comment.
6155
748d71f3
JH
61562013-08-10 Jan Hubicka <jh@suse.cz>
6157
6158 Work around binutils PR14342
6159 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6160 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6161 (L_gcov_indirect_call_profiler_v2): New.
6162
2fa3d31b
JH
61632013-08-06 Jan Hubicka <jh@suse.cz>
6164
6165 * libgcov.c (__gcov_indirect_call_callee,
6166 __gcov_indirect_call_counters): New global vars.
6167 (__gcov_indirect_call_profiler): replace by ...
6168 (__gcov_indirect_call_profiler_v2) ... this one.
6169
2077db1b
CT
61702013-08-06 Caroline Tice <cmtice@google.com>
6171
d0595b65 6172 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 6173 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
6174 * configure.ac: Add code to check/set enable_vtable_verify.
6175 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 6176 true.
d0595b65
CT
6177 * vtv_start_preinit.c: New file.
6178 * vtv_end_preinit.c: New file.
6179 * vtv_start.c: New file.
6180 * vtv_end.c: New file.
6181 * configure: Regenerated.
2077db1b 6182
46549c20
MK
61832013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6184
6185 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6186 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6187 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6188 GPL-3.0-with-GCC-exception.
6189
72be589b
MR
61902013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6191
6192 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6193 ISA and up.
6194
902a3faf
AK
61952013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6196
6197 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6198 mapping for FPRs when creating the fallback framestate.
6199
02371798
GJL
62002013-07-19 Georg-Johann Lay <avr@gjlay.de>
6201
6202 PR target/57516
6203 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6204 (__round_s2_const, __round_u2_const)
6205 (__round_s4_const, __round_u4_const, __round_x8):
6206 Saturate result if addition result cannot be represented.
6207
ab0e8379
MK
62082013-07-15 Matthias Klose <doko@ubuntu.com>
6209
6210 * libgcc2.c: Don't include <limits.h>.
6211
7da38058
JJ
62122013-07-09 Janis Johnson <janisjo@codesourcery.com>
6213
6214 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6215
1f6eac90
JJ
62162013-07-06 Jakub Jelinek <jakub@redhat.com>
6217
6218 PR target/29776
6219 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6220
4ea3d774
JJ
62212013-06-28 Jakub Jelinek <jakub@redhat.com>
6222
6223 PR middle-end/36041
6224 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6225 Define.
6226 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6227 instead of table lookups.
6228 (__popcountDI2): Likewise.
6229
9d2cdf25
CJW
62302013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6231
6232 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6233 correctly.
6234
fa1e55b0
JM
62352013-06-21 Joseph Myers <joseph@codesourcery.com>
6236
6237 PR other/53317
6238 * soft-fp/adddf3.c: Update from glibc.
6239 * soft-fp/addsf3.c: Likewise.
6240 * soft-fp/addtf3.c: Likewise.
6241 * soft-fp/divdf3.c: Likewise.
6242 * soft-fp/divsf3.c: Likewise.
6243 * soft-fp/divtf3.c: Likewise.
6244 * soft-fp/double.h: Likewise.
6245 * soft-fp/eqdf2.c: Likewise.
6246 * soft-fp/eqsf2.c: Likewise.
6247 * soft-fp/eqtf2.c: Likewise.
6248 * soft-fp/extenddftf2.c: Likewise.
6249 * soft-fp/extended.h: Likewise.
6250 * soft-fp/extendsfdf2.c: Likewise.
6251 * soft-fp/extendsftf2.c: Likewise.
6252 * soft-fp/fixdfdi.c: Likewise.
6253 * soft-fp/fixdfsi.c: Likewise.
6254 * soft-fp/fixsfdi.c: Likewise.
6255 * soft-fp/fixsfsi.c: Likewise.
6256 * soft-fp/fixtfdi.c: Likewise.
6257 * soft-fp/fixtfsi.c: Likewise.
6258 * soft-fp/fixunsdfdi.c: Likewise.
6259 * soft-fp/fixunsdfsi.c: Likewise.
6260 * soft-fp/fixunssfdi.c: Likewise.
6261 * soft-fp/fixunssfsi.c: Likewise.
6262 * soft-fp/fixunstfdi.c: Likewise.
6263 * soft-fp/fixunstfsi.c: Likewise.
6264 * soft-fp/floatdidf.c: Likewise.
6265 * soft-fp/floatdisf.c: Likewise.
6266 * soft-fp/floatditf.c: Likewise.
6267 * soft-fp/floatsidf.c: Likewise.
6268 * soft-fp/floatsisf.c: Likewise.
6269 * soft-fp/floatsitf.c: Likewise.
6270 * soft-fp/floatundidf.c: Likewise.
6271 * soft-fp/floatundisf.c: Likewise.
6272 * soft-fp/floatunditf.c: Likewise.
6273 * soft-fp/floatunsidf.c: Likewise.
6274 * soft-fp/floatunsisf.c: Likewise.
6275 * soft-fp/floatunsitf.c: Likewise.
6276 * soft-fp/gedf2.c: Likewise.
6277 * soft-fp/gesf2.c: Likewise.
6278 * soft-fp/getf2.c: Likewise.
6279 * soft-fp/ledf2.c: Likewise.
6280 * soft-fp/lesf2.c: Likewise.
6281 * soft-fp/letf2.c: Likewise.
6282 * soft-fp/muldf3.c: Likewise.
6283 * soft-fp/mulsf3.c: Likewise.
6284 * soft-fp/multf3.c: Likewise.
6285 * soft-fp/negdf2.c: Likewise.
6286 * soft-fp/negsf2.c: Likewise.
6287 * soft-fp/negtf2.c: Likewise.
6288 * soft-fp/op-1.h: Likewise.
6289 * soft-fp/op-2.h: Likewise.
6290 * soft-fp/op-4.h: Likewise.
6291 * soft-fp/op-8.h: Likewise.
6292 * soft-fp/op-common.h: Likewise.
6293 * soft-fp/quad.h: Likewise.
6294 * soft-fp/single.h: Likewise.
6295 * soft-fp/soft-fp.h: Likewise.
6296 * soft-fp/subdf3.c: Likewise.
6297 * soft-fp/subsf3.c: Likewise.
6298 * soft-fp/subtf3.c: Likewise.
6299 * soft-fp/truncdfsf2.c: Likewise.
6300 * soft-fp/trunctfdf2.c: Likewise.
6301 * soft-fp/trunctfsf2.c: Likewise.
6302 * soft-fp/unorddf2.c: Likewise.
6303 * soft-fp/unordsf2.c: Likewise.
6304 * soft-fp/unordtf2.c: Likewise.
6305 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6306 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6307 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6308 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6309 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6310 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6311 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6312 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6313 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6314 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6315 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6316 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6317
0de86a92
JU
63182013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6319
6320 * config/mips/lib2funcs.c: New file.
6321 * config/mips/t-mips (LIB2ADD_ST): Add it.
6322
0d008882
OE
63232013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6324
6325 PR target/6526
6326 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6327 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6328
776434d1
WL
63292013-06-08 Walter Lee <walt@tilera.com>
6330
6331 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6332 Replace int64_t with long long. Add __extension__ where
6333 appropriate.
6334 * config/tilepro/atomic.c: Include config.h.
6335
6ab3ebb4
DR
63362013-06-06 Douglas B Rupp <rupp@adacore.com>
6337
6338 * config.host (arm-wrs-vxworks): Configure with other soft float.
6339
107eea2c
JU
63402013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6341
6342 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6343 (mips64r5900el-*-elf*): New configurations.
6344
5cc19c62
AM
63452013-06-04 Alan Modra <amodra@gmail.com>
6346
6347 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6348
0f1d3965
YR
63492013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6350
6351 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6352
0ba045df
EB
63532013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6354
6355 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6356 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6357 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6358
49dcafd4
EB
63592013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6360
6361 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6362 (powerpc-wrs-vxworks): Likewise.
6363
4fcb5d87
EB
63642013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6365
6366 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6367 signal frames as well.
6368 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6369 STACK_BIAS to the CFA offset.
6370
0ec33224
RH
63712013-05-17 Richard Henderson <rth@redhat.com>
6372
6373 PR target/49146
6374 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6375 (execute_cfa_program): Use it when storing to fs->regs.
6376
492a8029
KT
63772013-05-08 Kai Tietz <ktietz@redhat.com>
6378
6379 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6380 (__deregister_frame_info): Likewise.
6381
701e2f0a
TS
63822013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6383
e5123d08
TS
6384 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6385 NaN's payload.
6386
701e2f0a
TS
6387 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6388
b9a7eb5d
AM
63892013-04-25 Alan Modra <amodra@gmail.com>
6390
6391 * config.host: Match little-endian powerpc-linux.
6392
dfe192f5
YZ
63932013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6394
6395 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6396 as 'unsigned long long' instead of 'unsigned long'.
6397 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6398 'signed long'.
6399
b6b9af2f
JB
64002013-04-10 Julian Brown <julian@codesourcery.com>
6401
6402 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6403 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6404 unsigned char/unsigned short.
6405 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6406
ecabdd00
JDA
64072013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6408
6409 PR other/55274
6410 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6411
34652576
MI
64122013-04-04 Meador Inge <meadori@codesourcery.com>
6413
6414 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6415 computing the location of the link register.
6416 (aeabi_uldivmod): Ditto.
6417
e9fd8c19
KT
64182013-03-27 Kai Tietz <ktietz@redhat.com>
6419
6420 * config.host: Add support for cygwin x64 target.
6421 * configure: Regenerated.
6422
a6406324
WL
64232013-03-26 Walter Lee <walt@tilera.com>
6424
6425 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6426 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6427
55446c7e
KT
64282013-03-25 Kai Tietz <ktietz@redhat.com>
6429
6430 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6431
d2ae19d9
RM
64322013-03-20 Robert Mason <rbmj@verizon.net>
6433
6434 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6435 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6436 (__gthread_leave_tsd_dtor_context): Add prototypes.
6437 (tls_delete_hook): Update.
6438
22c4c869
CM
64392013-03-20 Catherine Moore <clm@codesourcery.com>
6440 Joseph Myers <joseph@codesourcery.com>
6441 Chao-ying Fu <fu@mips.com>
6442
6443 * config/mips/mips16.S: Don't build for microMIPS.
6444 * config/mips/linux-unwind.h: Handle microMIPS frame.
6445 * config/mips/crtn.S (fini, init): New labels.
6446
fbd28bc3
JJ
64472013-03-14 Jakub Jelinek <jakub@redhat.com>
6448
6449 PR tree-optimization/53265
6450 * unwind-dw2.c (execute_cfa_program): Avoid
6451 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6452 on targets with DWARF_FRAME_REGISTERS < 32.
6453
decc676e
OE
64542013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6455
6456 PR target/49880
6457 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6458 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6459
84ea618a
ST
64602013-03-07 Sriraman Tallam <tmsriram@google.com>
6461
6462 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6463 sandybridge processors.
6464
8f6d1c86
OE
64652013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6466
6467 PR target/56529
6468 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6469 inclusion list.
6470
ecdbd01a 64712013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6472
6473 * config/microblaze/crti.S: Setup stack protection at entry
6474
0b4ce21b
GJL
64752013-03-04 Georg-Johann Lay <avr@gjlay.de>
6476
6477 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6478 (__rotldi3): Shift bytewise if applicable.
6479
b7c3f1ca
JG
64802013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6481
6482 * config/aarch64/sync-cache.c
6483 (__aarch64_sync_cache_range): Silence warnings.
6484
6d65e8f1
CM
64852013-02-25 Catherine Moore <clm@codesourcery.com>
6486
6487 Revert:
6488 2013-02-24 Catherine Moore <clm@codesourcery.com>
6489 Joseph Myers <joseph@codesourcery.com>
6490 Chao-ying Fu <fu@mips.com>
6491
6492 * config/mips/mips16.S: Don't build for microMIPS.
6493 * config/mips/linux-unwind.h: Handle microMIPS frame.
6494 * config/mips/crtn.S (fini, init): New labels.
6495
6941b508
CM
64962013-02-24 Catherine Moore <clm@codesourcery.com>
6497 Joseph Myers <joseph@codesourcery.com>
6498 Chao-ying Fu <fu@mips.com>
6499
6500 * config/mips/mips16.S: Don't build for microMIPS.
6501 * config/mips/linux-unwind.h: Handle microMIPS frame.
6502 * config/mips/crtn.S (fini, init): New labels.
6503
7c422dbb 65042012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6505 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6506 as dividend.
6507
110207ad
AM
65082013-02-16 Alan Modra <amodra@gmail.com>
6509
6510 PR target/55431
6511 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6512 (ppc_fallback_frame_state): Always set up save locations for fp
6513 and altivec. Don't bother with non-callee-saved regs, r0-r13
6514 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6515
e68a4ef6
GJL
65162013-02-12 Georg-Johann Lay <avr@gjlay.de>
6517
6518 PR target/54222
6519 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6520 _ssmulHA, _ssmulSA.
6521 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6522 _ssmulha3, _usmulusa3, _ssmulsa3.
6523 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6524 (__muldi3): XCALL __muldi3_6 instead of rcall.
6525 (__umulsidi3, __mulsidi3): New functions.
6526 (do_prologue_saves, do_epilogue_restores): New .macros.
6527 (__divdi3_moddi3): Use them.
6528 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6529 (__usmulusa3, __ssmulsa3): New functions.
6530
6c59ffd1
IS
65312013-02-11 Iain Sandoe <iain@codesourcery.com>
6532 Jack Howarth <howarth@bromo.med.uc.edu>
6533 Patrick Marlier <patrick.marlier@gmail.com>
6534
6535 PR libitm/55693
6536 * config/darwin-crt-tm.c: Remove dummy functions hack.
6537
85d768f3
GJL
65382013-02-08 Georg-Johann Lay <avr@gjlay.de>
6539
6540 PR target/54222
6541 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6542 * config/avr/lib2-object.mk: New iterator to build objects from it.
6543 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6544 lib2funcs.c.
6545 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6546 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6547 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6548 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6549 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6550 * config/avr/lib1funcs-fixed.S: Implement them.
6551
5d5bf775
RS
65522013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6553
6554 Update copyright years.
6555
99113dff
DE
65562013-02-01 David Edelsohn <dje.gcc@gmail.com>
6557
6558 PR target/54601
6559 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6560 Add crtcxa to extra_parts.
6561 * config/rs6000/exit.h: New file.
6562 * config/rs6000/cxa_atexit.c: New file.
6563 * config/rs6000/cxa_finalize.c: New file.
6564 * config/rs6000/crtcxa.c: New file.
6565 * config/rs6000/t-aix-cxa: New file.
6566 * config/rs6000/libgcc-aix-cxa.ver: New file.
6567
dbdbd982
NC
65682013-01-31 Nick Clifton <nickc@redhat.com>
6569
6570 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6571 variant.
6572
5893f158
GJL
65732013-01-29 Georg-Johann Lay <avr@gjlay.de>
6574
6575 PR target/54222
6576 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6577 _mulQQ, _mulHQ, _mulHA, _mulSA,
6578 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6579 _divQQ, _divHQ, _divHA, _divSA,
6580 _divUQQ, _divUHQ, _divUHA, _divUSA.
6581
ecdbd01a 65822013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 6583
dbdbd982 6584 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
6585 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6586 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6587 to exclude functions from being built with libgcc.c and use
6588 the microblaze assembly.
6589
ecdbd01a 65902013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
6591
6592 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6593 extra_parts.
6594
922c57d1
YZ
65952013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6596
6597 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6598 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6599 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6600 alignment operation.
6601
e0f8b6a0
SN
66022013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6603
6604 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6605 loop start address for cache clearing.
6606
00892272
GJL
66072013-01-14 Georg-Johann Lay <avr@gjlay.de>
6608
6609 * config/avr/lib1funcs.S: Remove trailing blanks.
6610 * config/avr/lib1funcs-fixed.S: Ditto.
6611
e59ec5fd
GJL
66122013-01-14 Georg-Johann Lay <avr@gjlay.de>
6613
6614 * config/avr/avr-lib.h: Add GPL copyright notice.
6615
3ffc1958
GJL
66162013-01-14 Georg-Johann Lay <avr@gjlay.de>
6617
6618 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6619 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6620 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6621 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6622
25c210f9
MK
66232013-01-07 Mark Kettenis <kettenis@openbsd.org>
6624
6625 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6626 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6627
db59befb
NC
66282013-01-04 Nick Clifton <nickc@redhat.com>
6629
6630 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6631 the CALLT instruction is supported.
6632
5aa12dbf
JW
66332012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6634
6635 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6636 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6637
65f14117
JT
66382012-12-13 John Tytgat <John@bass-software.com>
6639
6640 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6641 is 25.
6642
ee3ae4f7
JJ
66432012-12-12 Jakub Jelinek <jakub@redhat.com>
6644
6645 PR libgcc/55451
6646 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6647 undefined signed overflows.
6648
2fcfba3d
UB
66492012-12-09 Uros Bizjak <ubizjak@gmail.com>
6650
6651 PR target/55344
6652 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6653
4f2b3dc2
UB
66542012-12-06 Uros Bizjak <ubizjak@gmail.com>
6655
6656 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6657 (FP_TRAPPING_EXCEPTIONS): Define.
6658 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6659 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6660
066161a2
RH
66612012-12-04 Richard Henderson <rth@redhat.com>
6662
6663 PR bootstrap/55571
6664 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6665
7d296953 66662012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6667
4f2b3dc2 6668 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6669 (FP_EX_SHIFT): Define.
6670 (FP_TRAPPING_EXCEPTIONS): Define.
6671
7d296953 66722012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6673
6674 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6675 (FP_ROUNDMODE): Use FP_RND_MASK.
6676 * config/aarch64/sfp-exceptions.c: New.
6677 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6678 Use __sfp_handle_exceptions.
6679
5005fe22
RE
66802012-12-04 Richard Earnshaw <rearnsha@arm.com>
6681
6682 * config.host: (arm*-*-freebsd*): Remove.
6683 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6684 (arm*-*-elf*): Remove.
6685 (arm*-*-wince-pe*): Remove.
6686 * arm/unwind-arm.c (struct fpa_reg): Delete.
6687 (struct fpa_regs): Delete.
6688 (phase1_vrs): Remove fpa element.
6689 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6690 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6691 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6692 * ieee754-sf.S (floatundisf): Remove FPA support.
6693 (floatdisf): Likewise.
6694 * ieee75f-df.S (floatundidf): Likewise.
6695 (floatdidf): Likewise.
6696
e5a81c8e
KT
66972012-11-29 Kai Tietz <ktietz@redhat.com>
6698
6699 PR target/55445
6700 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6701 * unwind-generic.h: Likewise.
6702 * unwind-seh.c: Likewise.
6703
f4919e4a
RH
67042012-11-28 Richard Henderson <rth@redhat.com>
6705
6706 PR libgcc/48076
6707 * emutls.c (__emutls_get_address): Avoid race condition between
6708 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6709
e13d9d5a
GJL
67102012-11-22 Georg-Johann Lay <avr@gjlay.de>
6711
6712 Adjust decimal point of signed accum mode to GCC default.
6713
6714 PR target/54222
6715 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6716 _divqq_helper.
6717 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6718 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6719 (__mulha3, __mulsa3)
6720 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6721 decimal point of signed accum types.
6722
e13d9d5a
GJL
6723 (__mulusa3_round): New function.
6724 (__mulusa3): Use it.
6725 (__divqq_helper): New function.
6726 (__udivuqq3): Use it.
6727
1b845c6e
JJ
67282012-11-20 Jakub Jelinek <jakub@redhat.com>
6729
6730 PR bootstrap/55370
6731 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6732
822a258a
TJ
67332012-11-18 Teresa Johnson <tejohnson@google.com>
6734
6735 PR bootstrap/55051
6736 * libgcov.c (gcov_exit): Remove merged program summary
6737 comparison unless !GCOV_LOCKED.
6738
7d296953 67392012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6740
6741 * soft-fp: Updated from glibc upstream.
6742
e808687a
ILT
67432012-11-06 Ian Lance Taylor <iant@google.com>
6744
6745 * generic-morestack.c (__generic_morestack): Align the returned
6746 stack pointer to a 32 byte boundary.
6747 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6748 increment the return address until we have decided that we don't
6749 have a varargs function.
6750 (__morestack) [32-bit]: Align stack correctly when calling C
6751 functions.
6752 (__morestack) [64-bit]: Likewise.
6753
460277e0
TS
67542012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6755
6756 * configure: Regenerate.
6757
73edb277
UB
67582012-11-02 Uros Bizjak <ubizjak@gmail.com>
6759
6760 PR target/55175
6761 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6762 * config/i386/sfp-machine.h: Guard exception handling
6763 code with _SOFT_FLOAT.
6764 * config/i386/32/sfp-machine.h: Guard rounding handling
6765 code with _SOFT_FLOAT.
6766 * config/i386/64/sfp-machine.h: Ditto.
6767
c1d4fa04
JS
67682012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6769
6770 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6771 as extra_parts.
6772
eff6ca85
UB
67732012-10-26 Uros Bizjak <ubizjak@gmail.com>
6774
6775 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6776 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6777 when appropriate. Correct structure element types.
6778 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6779 -minline-all-stringops from compile flags.
6780
7d296953 67812012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6782
6783 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6784
7d296953 67852012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6786
eff6ca85 6787 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6788
6f288860
SH
67892012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6790
6791 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6792 tmake_file.
6793
1e3d5096
IB
67942012-10-23 Ian Bolton <ian.bolton@arm.com>
6795 Jim MacArthur <jim.macarthur@arm.com>
6796 Marcus Shawcroft <marcus.shawcroft@arm.com>
6797 Nigel Stephens <nigel.stephens@arm.com>
6798 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6799 Richard Earnshaw <rearnsha@arm.com>
6800 Sofiane Naci <sofiane.naci@arm.com>
6801 Stephen Thomas <stephen.thomas@arm.com>
6802 Tejas Belagod <tejas.belagod@arm.com>
6803 Yufeng Zhang <yufeng.zhang@arm.com>
6804
6805 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6806 * config/aarch64/crti.S: New file.
6807 * config/aarch64/crtn.S: New file.
6808 * config/aarch64/linux-unwind.h: New file.
6809 * config/aarch64/sfp-machine.h: New file.
6810 * config/aarch64/sync-cache.c: New file.
6811 * config/aarch64/t-aarch64: New file.
6812 * config/aarch64/t-softfp: New file.
6813
8a740f07
HPN
68142012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6815
6816 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6817 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6818 no-longer-needed LDBU insns.
6819
7d296953 68202012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6821
6822 * config.host
6823 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6824 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6825
595fefee
MGD
68262012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6827
6828 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6829
9945a876
MK
68302012-10-15 Matthias Klose <doko@ubuntu.com>
6831
6832 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6833
1183dc2c
PC
68342012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6835
6836 * configure: Regenerate.
6837 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6838
945a9c1f
UB
68392012-10-10 Uros Bizjak <ubizjak@gmail.com>
6840
6841 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6842 instructions for 64bit targets only.
6843
fb8bf47a
UB
68442012-10-10 Uros Bizjak <ubizjak@gmail.com>
6845
6846 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6847 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6848 * config/i386/32/sfp-machine.h: ... here.
6849 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6850 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6851 New defines.
6852
acb72498
MK
68532012-10-07 Matthias Klose <doko@ubuntu.com>
6854
6855 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6856 as unused.
6857 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6858
8eaee0f0
MK
68592012-10-06 Mark Kettenis <kettenis@openbsd.org>
6860
6861 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6862 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6863 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6864 (ElfW): Likewise.
6865
5e3e4fe8
JW
68662012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6867
6868 PR other/53889
6869 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6870 Fix parameter names.
6871
86086376
OE
68722012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6873
6874 PR target/33135
6875 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6876 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6877 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6878
9597375a
OE
68792012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6880
6881 PR target/50457
6882 * config/sh/linux-atomic.S: Delete.
6883 * config/sh/linux-atomic.c: New.
6884 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6885 linux-atomic.c. Add cflags to disable warnings.
6886
1504e3e1
JW
68872012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6888
6889 PR other/53889
6890 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6891 function.
6892 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6893 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6894 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6895 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6896 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6897 Likewise.
1504e3e1
JW
6898 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6899 Likewise.
6900 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6901 Likewise.
6902 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6903 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6904
17f293b0
MK
69052012-09-19 Mark Kettenis <kettenis@openbsd.org>
6906
9597375a
OE
6907 * config.host (hppa-*-openbsd*): New target.
6908 * config/pa/t-openbsd: New file.
17f293b0 6909
51526856
GJL
69102012-09-15 Georg-Johann Lay <avr@gjlay.de>
6911
6912 PR target/54222
6913 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6914 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6915 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6916 (__divsa3): Use __negsi2 to negate r_quoL.
6917 * config/avr/lib1funcs.S (FALIAS): New macro.
6918 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6919 (__negsi2): ...this new function.
6920 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6921 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6922 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6923 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6924 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6925 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6926
aadb5b43
OE
69272012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6928
6929 PR target/54089
6930 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6931 (lshrsi3): Reimplement as lshrsi3_r0.
6932
d5d66749
AS
69332012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6934
6935 PR target/46191
6936 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6937 of libgcc.a.
6938
c6c36e73
TJ
69392012-09-07 Teresa Johnson <tejohnson@google.com>
6940
9597375a 6941 PR gcov-profile/54487
c6c36e73 6942 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6943 differences.
c6c36e73 6944
b588ae30
GJL
69452012-09-05 Georg-Johann Lay <avr@gjlay.de>
6946
6947 PR target/54461
6948 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6949 not configured --with-avrlibc=no.
6950 * config/avr/t-avrlibc: New file.
6951 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6952 (DPBIT_FUNCS): Ditto.
6953 (TPBIT_FUNCS): Ditto.
6954
abd16fb1
TJ
69552012-09-04 Teresa Johnson <tejohnson@google.com>
6956
6957 * libgcov.c (struct gcov_summary_buffer): New structure.
6958 (gcov_histogram_insert): New function.
6959 (gcov_compute_histogram): Ditto.
6960 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6961 histograms during summary merging.
6962
613061fd
MK
69632012-09-01 Mark Kettenis <kettenis@openbsd.org>
6964
6965 * config.host (x86_64-*-openbsd*): New target.
73edb277 6966
867a8345
CLT
69672012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6968
6969 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6970 attribute.
6971
4aeaaca3
GJL
69722012-08-24 Georg-Johann Lay <avr@gjlay.de>
6973
6974 PR target/54222
6975 * config/avr/t-avr (conv_X): Rename to func_X.
6976
e55e4056
GJL
69772012-08-24 Georg-Johann Lay <avr@gjlay.de>
6978
6979 PR target/54222
6980 * config/avr/lib1funcs-fixed.S: New file.
6981 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6982 after they are used.
6983 (neg2, neg4): New macros.
6984 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6985 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6986 (__umulhisi3): Speed up MUL variant if there is enough flash.
6987 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6988 avr-modes.def.
6989 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6990 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6991 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6992 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6993 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6994 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6995 (LIB2FUNCS_EXCLUDE): Add supported functions.
6996
a147b6d2
GJL
69972012-08-22 Georg-Johann Lay <avr@gjlay.de>
6998
6999 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7000 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7001 libgcc-s-objects.
7002 * fixed-obj.mk: Only expand dependency if $o is not in
7003 LIB2FUNCS_EXCLUDE.
7004
c637141a
L
70052012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7006
7007 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7008
130e00bd
JM
70092012-08-22 Joseph Myers <joseph@codesourcery.com>
7010
7011 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7012 depend on --enable-shared.
7013 ($(lib1asmfuncs-o)): Use %.vis files independent of
7014 --enable-shared.
7015 * static-object.mk ($(base)$(objext), $(base).vis)
7016 ($(base)_s$(objext)): Use same rules for visibility handling as in
7017 shared-object.mk.
7018
4b1b3788
ILT
70192012-08-21 Ian Lance Taylor <iant@google.com>
7020
7021 * config/i386/morestack.S (__morestack_non_split): Increase amount
7022 of space allocated for non-split code stack.
7023
d2468141
JM
70242012-08-19 Joseph Myers <joseph@codesourcery.com>
7025
7026 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7027 even if inhibit_libc.
7028
a508e1a8
JB
70292012-08-17 Julian Brown <julian@codesourcery.com>
7030
7031 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7032 -fexceptions -fnon-call-exceptions if not defined.
7033 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7034 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7035
5615a07d
AS
70362012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7037
7038 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7039 type.
7040
138f5acd
DE
70412012-08-16 David Edelsohn <dje.gcc@gmail.com>
7042
7043 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7044 rs6000/t-slibgcc-aix.
7045
18efc0dd
SB
70462012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7047
7048 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7049
6b39bc38
SB
70502012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7051
7052 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7053
cd25dea0
L
70542012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7055
7056 PR driver/54171
7057 * Makefile.in (version): Replace top_srcdir with srcdir.
7058
a3dda30b
JY
70592012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7060
7061 * Makefile.in (version): set to BASE-VER file from gcc directory.
7062
d04aacfc
NC
70632012-08-01 Nick Clifton <nickc@redhat.com>
7064
7065 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7066 Implements __clrsb for an HImode argument.
7067
0d13c974
NC
70682012-07-31 Nick Clifton <nickc@redhat.com>
7069
7070 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7071 Implements __clrsb for an HImode argument.
7072 * config/stormy16/clrsbhi2.c: New file:
7073 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7074
efbb59b2
SB
70752012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7076
7077 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7078
bf1431e3
TG
70792012-07-19 Tristan Gingold <gingold@adacore.com>
7080 Richard Henderson <rth@redhat.com>
7081
7082 * unwind-seh.c: New file.
7083 * unwind-generic.h: Include windows.h for SEH.
7084 (_Unwind_Exception): Use 6 private fields for SEH.
7085 (_GCC_specific_handler): Declare.
7086 * unwind-c.c (__gcc_personality_seh0): New function.
7087 Adjust for SEH.
7088 * config/i386/libgcc-cygming.ver: New file.
7089 * config/i386/t-seh-eh: New file.
7090 * config.host (x86_64-*-mingw*): Default to seh.
7091
659140c8
SB
70922012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7093
7094 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7095
a20d08fd
UB
70962012-06-17 Uros Bizjak <ubizjak@gmail.com>
7097
7098 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7099 __builtin_expect when checking for exceptions.
7100 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7101
79261115
UB
71022012-06-13 Uros Bizjak <ubizjak@gmail.com>
7103
4a172156
UB
7104 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7105 function declaration.
7106 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7107 (FP_RND_MASK): New.
7108 * config/ia64/sfp-exceptions.c: New.
7109 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 7110
bb5c97d4
UB
71112012-06-13 Uros Bizjak <ubizjak@gmail.com>
7112
7113 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7114 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7115 * config/i386/64/sfp-machine: ... (delete here) ...
7116 * config/i386/sfp-machine.h: ... to here.
7117 (FP_EX_MASK): Remove.
7118 (FP_RND_MASK): New.
7119 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7120
91fe5efb
ST
71212012-06-11 Sriraman Tallam <tmsriram@google.com>
7122
7123 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7124 * config/i386/libgcc-sol2.ver: Ditto.
7125 * config/i386/libgcc-glibc.ver: Ditto.
7126
67a218c5
RM
71272012-06-11 Roland McGrath <mcgrathr@google.com>
7128
7129 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7130 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7131 pthread_cancel.
7132
492fbea1
UB
71332012-06-09 Uros Bizjak <ubizjak@gmail.com>
7134
7135 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7136 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7137 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7138 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7139 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7140 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7141 * config/i386/64/sfp-machine: ... (delete here) ...
7142 * config/i386/sfp-machine.h: ... to here.
7143 (FP_EX_MASK): New.
7144 (__sfp_handle_exceptions): New function declaration.
7145 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7146 * config/i386/sfp-exceptions.c: New.
7147 * config/i386/t-softfp: New.
7148 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7149 i386/t-softfp to tmake_file.
7150
7b4cf266
DM
71512012-06-03 David S. Miller <davem@davemloft.net>
7152
7153 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7154 change.
7155
0de0d5c6
DM
71562012-05-31 David S. Miller <davem@davemloft.net>
7157
7158 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7159 multiply and divide instructions on 32-bit when V9.
7160 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7161
d8c9d391
JM
71622012-05-29 Joseph Myers <joseph@codesourcery.com>
7163
7164 * config/arm/ieee754-df.S: Fix typos.
7165 * config/arm/ieee754-sf.S: Fix typos.
7166 * config/c6x/libunwind.S: Fix typos.
7167 * config/epiphany/udivsi3-float.c: Fix typos.
7168 * config/microblaze/muldi3_hard.S: Fix typos.
7169 * config/picochip/adddi3.S: Fix typos.
7170 * config/picochip/ashlsi3.S: Fix typos.
7171 * config/picochip/ashrsi3.S: Fix typos.
7172 * config/picochip/clzsi2.S: Fix typos.
7173 * config/picochip/cmpsi2.S: Fix typos.
7174 * config/picochip/divmod15.S: Fix typos.
7175 * config/picochip/divmodhi4.S: Fix typos.
7176 * config/picochip/divmodsi4.S: Fix typos.
7177 * config/picochip/longjmp.S: Fix typos.
7178 * config/picochip/lshrsi3.S: Fix typos.
7179 * config/picochip/parityhi2.S: Fix typos.
7180 * config/picochip/popcounthi2.S: Fix typos.
7181 * config/picochip/setjmp.S: Fix typos.
7182 * config/picochip/subdi3.S: Fix typos.
7183 * config/picochip/ucmpsi2.S: Fix typos.
7184 * config/picochip/udivmodhi4.S: Fix typos.
7185 * config/picochip/udivmodsi4.S: Fix typos.
7186 * config/spu/divv2df3.c: Fix typos.
7187 * config/spu/mfc_multi_tag_release.c: Fix typos.
7188 * config/spu/mfc_tag_release.c: Fix typos.
7189 * configure.ac: Fix typos.
7190 * configure: Regenerate.
7191
31a18a7e
ILT
71922012-05-25 Ian Lance Taylor <iant@google.com>
7193
7194 * config/i386/morestack.S (__morestack_non_split): Check whether
7195 caller is varargs and needs %bp to hold the stack frame on return.
7196
c5768510
OH
71972012-05-25 Olivier Hainque <hainque@adacore.com>
7198
7199 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7200 sequence in the non pic case on VxWorks.
7201
7c7c339b
OH
72022012-05-24 Olivier Hainque <hainque@adacore.com>
7203
73fb7630 7204 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
7205 "install-leaf" to "install".
7206
fdc1b7d3
OH
72072012-05-24 Olivier Hainque <hainque@adacore.com>
7208
7209 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7210 Use a separate command for stamp removals.
7211
07ba94b9
AP
72122012-05-21 Andrew Pinski <apinski@cavium.com>
7213
7214 PR bootstrap/53183
7215 * configure.ac: Define the default includes to being none.
7216 * configure: Regenerate.
7217
4677d2eb
OH
72182012-05-16 Olivier Hainque <hainque@adacore.com>
7219
7220 * Makefile.in (install-unwind_h): Rename into ...
7221 (install-unwind_h-forbuild): New target.
7222 (all): Use it instead of the former install-unwind_h.
7223 (install-unwind_h): Reinstate, copy to user install destination
7224 for include files, not to the internal gcc object directory one.
7225 (install-leaf): Depend on it.
7226
7d67c380
OH
72272012-05-15 Olivier Hainque <hainque@adacore.com>
7228
7229 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7230 register numbers. LR_REGNO replaces R_LR.
7231 (ucontext_for): New, helper for ...
7232 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7233 and 5.3 of ...
7234 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7235
aca06c90
RO
72362012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7237
7238 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7239 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7240 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7241 i386/t-cpuinfo ...
7242 (i[34567]86-*-*, x86_64-*-*): ... here.
7243
7244 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7245 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7246
7247 * config/i386/i386-cpuinfo.c: Rename to ...
7248 * config/i386/cpuinfo.c: ... this.
7249 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7250
7251 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7252 (libgcc_cv_init_priority): New test.
7253 * configure: Regenerate.
7254 * config.in: New file.
7255 * Makefile.in (clean): Rename config.h to auto-target.h.
7256 (config.h): Likewise.
7257 (stamp-h): Likewise.
7258
7259 * config/i386/cpuinfo.c (auto-target.h): Include.
7260 (CONSTRUCTOR_PRIORITY): Define.
7261 (__cpu_indicator_init): Use it.
7262
0d03ac1b
L
72632012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7264
7265 * longlong.h: Use a URL instead of an FSF postal address.
7266 Replace spaces with tab.
7267
4a172156 72682012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
7269
7270 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7271 (__gcov_dump): Ditto.
7272 (gcov_dump_complete): New global variable.
7273 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7274 (__gcov_flush): Outline functionality now in gcov_clear.
7275 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7276
e4bb767e
AJ
72772012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7278
31a18a7e
ILT
7279 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7280 (mips*-*-linux*): Include mips/t-tpbit when long double is
7281 16 bytes long.
e4bb767e 7282
5ddecff9
ST
72832012-04-25 Sriraman Tallam <tmsriram@google.com>
7284
7285 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7286 (get_available_features): New argument. Check for AVX2.
7287 (__cpu_indicator_init): Modify call to get_available_features.
7288
b427dd7a
AM
72892012-04-25 Alan Modra <amodra@gmail.com>
7290
7291 * config/rs6000/crtsavevr.S: New file.
7292 * config/rs6000/crtrestvr.S: New file.
7293 * config/rs6000/t-savresfgpr: Build the above.
7294 * config/rs6000/t-netbsd: Likewise.
7295
ad491329
ST
72962012-04-24 Sriraman Tallam <tmsriram@google.com>
7297
7298 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7299
792317cc
ST
73002012-04-24 Sriraman Tallam <tmsriram@google.com>
7301
7302 * libgcc/config/i386/i386-cpuinfo.c: New file.
7303 * libgcc/config/i386/t-cpuinfo: New file.
7304 * libgcc/config.host: Include t-cpuinfo.
7305 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7306
e1be98a4
CF
73072012-04-24 Chao-ying Fu <fu@mips.com>
7308
7309 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7310
1bde7dab
TS
73112012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7312
7313 struct siginfo vs. siginfo_t
7314
7315 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7316 siginfo_t instead of struct siginfo.
7317 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7318 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7319 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7320 (ia64_handle_unwabi): Likewise.
7321 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7322 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7323 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7324 (sh_fallback_frame_state): Likewise.
7325 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7326 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7327
24590f66
L
73282012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7329
7330 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7331 system call number.
7332
9a9dcce8
EB
73332012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7334
7335 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7336 if it hasn't been previously saved.
7337
6401aaf5
L
73382012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7339
7340 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7341 only for glibc.
7342
7fd6378e
GJL
73432012-03-28 Georg-Johann Lay <avr@gjlay.de>
7344
7345 PR target/52737
7346 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7347 instead of __AVR_HAVE_8BIT_SP__.
7348
9e916de7
TG
73492012-03-26 Tristan Gingold <gingold@adacore.com>
7350
7351 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7352 (unw_table_entry): Use unw_word instead of unsigned long.
7353 (_Unwind_FindTableEntry): Likewise.
7354 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7355 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7356 (_Unwind_FindTableEntry): Likewise.
7357 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7358 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7359 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7360 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7361 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7362 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7363 (uw_init_context_1, uw_install_context): Likewise.
7364 (unw_word): Move to unwind-ia64.h
7365
4b12e93d
TG
73662012-03-26 Tristan Gingold <gingold@adacore.com>
7367
7368 * config/vms/vms-ucrt0.c: Update copyright years.
7369 Add a sanity check.
7370 (___gcc_main_flags): Declare.
7371 (__main): Check flags to remap argv and exit code.
7372 * config.host (*-*-*vms*): Adjust extra_parts.
7373 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7374 (crt0.o): Add.
7375
06ea7371
RE
73762012-03-22 Richard Earnshaw <rearnsha@arm.com>
7377
7378 * arm/lib1funcs.asm (ctzsi2): New function.
7379 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7380 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7381 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7382 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7383 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7384 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7385
d82ad50d
AT
73862012-03-21 Andreas Tobler <andreast@fgznet.ch>
7387
7388 * config.host: Add bits to support powerpc64-*-freebsd*.
7389 * config/rs6000/freebsd-unwind.h: New file.
7390 * config/rs6000/t-freebsd64: New file.
7391
b260a8c0
RG
73922012-03-20 Richard Guenther <rguenther@suse.de>
7393
7394 PR gcov-profile/52627
7395 * libgcov.c (init_mx): Fix mutex name.
7396
86286a8a
TG
73972012-03-16 Tristan Gingold <gingold@adacore.com>
7398
7399 * config/ia64/vms-unwind.h: Remove ulong (and replace
7400 it by unw_reg where used). Define unw_reg with __int64.
7401
7888f266
RO
74022012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7403
7404 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7405 Solaris 8 handling.
7406 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7407 Solaris 8 handling.
7408 (sparc_is_sighandler): Likewise.
7409
f155bc64
L
74102012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7411
7412 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7413 <= saved reg size.
7414
d47657bd
RO
74152012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7416
7417 * config/arm/crtn.S: Fix typo.
7418
5bef73a1
RG
74192012-03-13 Richard Guenther <rguenther@suse.de>
7420
7421 * libgcov.c: Remove stdio.h include and NULL un-define.
7422
9c4271f3
RG
74232012-03-13 Richard Guenther <rguenther@suse.de>
7424
7425 PR target/52569
7426 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7427
c6d10e7c
RG
74282012-03-13 Richard Guenther <rguenther@suse.de>
7429
7430 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7431
074a385f
RG
74322012-03-13 Richard Guenther <rguenther@suse.de>
7433
7434 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7435 and __gthread_mutex_init_function definitions.
7436
c4bc5c25
RO
74372012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7438
7439 * config.host (mips*-*-openbsd*): Remove.
7440
5c30094f
RO
74412012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7442
7443 * config.host: Remove alpha*-dec-osf5.1* handling.
7444 * config/alpha/gthr-posix.c: Remove.
7445 * config/alpha/libgcc-osf5.ver: Remove.
7446 * config/alpha/osf5-unwind.h: Remove.
7447 * config/alpha/t-osf-pthread: Remove.
7448 * config/alpha/t-slibgcc-osf: Remove.
7449 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7450 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7451 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7452 * mkmap-flat.awk: Remove osf_export handling.
7453
33e3e24d
RG
74542012-03-12 Richard Guenther <rguenther@suse.de>
7455
7456 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7457 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7458 (__gthread_mutex_init_function): New function.
7459 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7460
7461 PR gcov/49484
7462 * libgcov.c: Include gthr.h.
7463 (__gcov_flush_mx): New global variable.
7464 (init_mx, init_mx_once): New functions.
7465 (__gcov_flush): Protect self with a mutex.
7466 (__gcov_fork): Re-initialize mutex after forking.
7467 * unwind-dw2-fde.c: Change condition under which to use
7468 __GTHREAD_MUTEX_INIT_FUNCTION.
7469
d8aba32a
TG
74702012-03-12 Tristan Gingold <gingold@adacore.com>
7471
7472 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7473 * config/ia64/t-vms: Likewise.
7474
75ffafdc
MH
74752012-03-11 Michael Hope <michael.hope@linaro.org>
7476
4a172156
UB
7477 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7478 for Thumb-2.
75ffafdc 7479
ef6c2c53
WL
74802012-03-07 Walter Lee <walt@tilera.com>
7481
7482 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7483 "arch_atomic_".
7484 (atomic_xor): Rename and move definition to
7485 config/tilepro/atomic.h.
7486 (atomic_nand): Ditto.
7487 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7488 "arch_atomic_".
7489 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7490 (arch_atomic_nand): Ditto.
7491
4e30d980
GJL
74922012-03-07 Georg-Johann Lay <avr@gjlay.de>
7493
7494 PR target/52507
7495 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7496
61108225
GJL
74972012-03-07 Georg-Johann Lay <avr@gjlay.de>
7498
7499 PR target/52505
7500 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7501 from RAM.
7502
b30e10ab
GJL
75032012-03-07 Georg-Johann Lay <avr@gjlay.de>
7504
7505 PR target/52461
7506 PR target/52508
7507 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7508 if RAMPZ affects reading from RAM.
7509 (__tablejump_elpm__): Ditto.
7510 (.xload): Ditto.
7511 (__movmemx_hi): Ditto.
7512 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7513 (__do_global_dtors): Ditto.
7514 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7515 (__movmemx_hi): Ditto.
7516
8993fde4
RH
75172012-03-05 Richard Henderson <rth@redhat.com>
7518
7519 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7520 [ARM] (count_trailing_zeros): Use the builtin.
7521
b7633ee3
KT
75222012-03-01 Kai Tietz <ktietz@redhat.com>
7523
7524 * soft-fp: Imported from glibc upstream.
7525
fbd3340c
KT
75262012-02-28 Kai Tietz <ktietz@redhat.com>
7527
7528 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7529 for mingw-targets as attribute gcc_struct.
7530
e9e053eb
ILT
75312012-02-28 Ian Lance Taylor <iant@google.com>
7532
7533 * generic-morestack.c (__splitstack_releasecontext): Correct call
7534 to __morestack_release_segments.
7535
d80c632e
ST
75362012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7537
7538 PR target/52390
7539 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7540 for __linux__ when removing signals from __morestack_fullmask.
7541
0253a8b1
GJL
75422012-02-23 Georg-Johann Lay <avr@gjlay.de>
7543
7544 PR target/52261
7545 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7546
e10e461e
UW
75472012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7548
7549 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7550 instead of HAVE_INITFINI_ARRAY.
7551 * config/ia64/crtend.S: Likewise.
7552
0c0c6398
KT
75532012-02-20 Kai Tietz <ktietz@redhat.com>
7554
d7470374
KT
7555 PR libstdc++/52300
7556 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7557
0c0c6398
KT
7558 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7559 to w32-unwind.h header.
7560
78c27266
RS
75612012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7562
7563 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7564 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7565 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7566 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7567
5adeb246
RS
75682012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7569
7570 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7571
672ed313
IS
75722012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7573
7574 PR libitm/52220
7575 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 7576
e948a1fb
IS
75772012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7578 Patrick Marlier <patrick.marlier@gmail.com>
7579
7580 PR libitm/52220
7581 * config/darwin-crt-tm.c: Generate dummy functions.
7582
6017aed3
IS
75832012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7584 Patrick Marlier <patrick.marlier@gmail.com>
7585
7586 PR libitm/52042
7587 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7588 (__doTMRegistrations): Call it.
e9e053eb 7589 (__doTMdeRegistrations): Likewise.
6017aed3 7590
2da8c1ad 75912012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
7592 Anatoly Sokolov <aesok@post.ru>
7593 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
7594
7595 PR target/52261
7596 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7597 (__epilogue_restores__): Ditto.
7598
0f952eb4
EB
75992012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7600
7601 PR target/51921
7602 PR target/52205
7603 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7604 Solaris 11 and slightly reformat.
7605 (sparc_is_sighandler): Likewise.
7606
dd552284
WL
76072012-02-14 Walter Lee <walt@tilera.com>
7608
7609 * config.host: Handle tilegx and tilepro.
7610 * config/tilegx/sfp-machine.h: New file.
7611 * config/tilegx/sfp-machine32.h: New file.
7612 * config/tilegx/sfp-machine64.h: New file.
7613 * config/tilegx/t-crtstuff: New file.
7614 * config/tilegx/t-softfp: New file.
7615 * config/tilegx/t-tilegx: New file.
7616 * config/tilepro/atomic.c: New file.
7617 * config/tilepro/atomic.h: New file.
7618 * config/tilepro/linux-unwind.h: New file.
7619 * config/tilepro/sfp-machine.h: New file.
7620 * config/tilepro/softdivide.c: New file.
7621 * config/tilepro/softmpy.S: New file.
7622 * config/tilepro/t-crtstuff: New file.
7623 * config/tilepro/t-tilepro: New file.
7624
b59cbd50
JW
76252012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7626
7627 PR libstdc++/51296
7628 PR libstdc++/51906
7629 * gthr-posix.h: Allow static initializer macros to be disabled.
7630 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7631
6caf807f
CLT
76322012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7633
7634 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7635 Add t-slibgcc-libgcc to tmake_file.
7636 * config/mips/libgcc-mips16.ver: Revert previous patch.
7637 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7638
7d296953
JJ
76392012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7640 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7641
7642 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7643 * config/cr16/crti.S: New file.
7644 * config/cr16/crtlibid.S: New file.
7645 * config/cr16/crtn.S: New file.
7646 * config/cr16/lib1funcs.S: New file.
7647 * config/cr16/t-cr16: New file.
7648 * config/cr16/t-crtlibid: New file.
7649 * config/cr16/unwind-dw2.h: New file.
7650 * config/cr16/unwind-cr16.c: New file.
7651 * config/cr16/divmodhi3.c: New file.
7652
8ef03aa7
AM
76532012-01-25 Alan Modra <amodra@gmail.com>
7654
7655 * config/rs6000/t-linux64: Delete. Move..
7656 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7657 * config/rs6000/t-linux: ..and libgcc flags to here.
7658
daecebc8
DR
76592012-01-22 Douglas B Rupp <rupp@gnat.com>
7660
7661 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7662 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7663 * configure: Regenerate.
7664
ddaf8125
RS
76652012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7666 Richard Sandiford <rdsandiford@googlemail.com>
7667
7668 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7669 * config/mips/mips16.S (__mips16_rdhwr): New function.
7670 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7671
2cd8b32c
NS
76722012-01-11 Nathan Sidwell <nathan@acm.org>
7673
7674 * libgcov.c (__gcov_init): Ignore objects with no functions.
7675
cba300dd
GJL
76762012-01-10 Georg-Johann Lay <avr@gjlay.de>
7677
7678 PR target/49868
7679 Extend __pgmx semantics to linearize memory.
7680 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7681 * config/avr/lib1funcs.S (__xload_1): New function.
7682 (__movmemx_qi, __movmemx_hi): New functions.
7683 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7684 semantics.
9ffaf4bc 7685
3d137660
EB
76862012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7687
7688 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7689 purported sigacthandler address isn't null before dereferencing it.
7690 (sparc_is_sighandler): Likewise.
7691
bf4db96c
EB
76922012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7693
7694 PR ada/41929
7695 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7696 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7697 (sparc_is_sighandler): Likewise.
7698 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7699
1ab3568b
TG
77002012-01-06 Tristan Gingold <gingold@adacore.com>
7701
7702 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7703 compatibility thunks...
7704 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7705 (crtbeginS.o, crtendS.o): ... and these to ...
7706 * config/ia64/t-ia64-elf: ... this new file.
7707 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7708 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7709
925b0ed8
AK
77102012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7711
7712 * configure: Regenerate.
7713 * config/s390/t-crtstuff: Remove -fPIC.
7714
a99ad737
JW
77152012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7716
7717 PR bootstrap/51006
7718 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7719 for NetBSD.
7720
884f56d1
GJL
77212012-01-02 Georg-Johann Lay <avr@gjlay.de>
7722
7723 PR target/51345
7724 * config/avr/lib1funcs.S: Remove FIXME comments.
7725 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7726
8c57e547
GJL
77272012-01-02 Georg-Johann Lay <avr@gjlay.de>
7728
7729 Implement light-weight DImode support.
7730 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7731 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7732 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7733 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7734
04dbc287
NS
77352011-12-30 Nathan Sidwell <nathan@acm.org>
7736
7737 * libgcov.c (gcov_crc32): Remove global var.
7738 (free_fn_data): New function.
7739 (buffer_fn_data): Pass in filename, more robust error recovery.
7740 (crc32_unsigned): New function.
7741 (gcov_exit): More robust detection of new program. More robust
7742 error recovery.
7743 (__gcov_init): Do not update program's crc here.
7744
8e1d97d4
TG
77452011-12-21 Tristan Gingold <gingold@adacore.com>
7746
7747 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7748
9ffaf4bc
ILT
77492011-12-21 Ian Lance Taylor <iant@google.com>
7750
7751 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7752
a0c8d0c1
ILT
77532011-12-20 Ian Lance Taylor <iant@google.com>
7754
7755 * config/i386/morestack.S (__morestack_non_split): If there is
7756 enough stack space already, don't split. Ask for more stack space
7757 than we required.
7758
69048898
SDJ
77592011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7760
7761 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7762 `sys/sdt.h'.
7763 (_Unwind_DebugHook): New function.
7764 (uw_restore_core_regs): New define.
7765 (unwind_phase2): Use uw_restore_core_regs instead of
7766 restore_core_regs.
7767 (unwind_phase2_forced): Likewise.
7768 (__gnu_Unwind_Resume): Likewise.
7769
1bb4b6a3
UB
77702011-12-20 Uros Bizjak <ubizjak@gmail.com>
7771
7772 * config/alpha/linux-unwind.h: Update copyright years.
7773 (MD_FROB_UPDATE_CONTEXT): New define.
7774 (alpha_frob_update_context): New function.
7775
eb028768
RS
77762011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7777
7778 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7779 tmake_file rather replacing it.
7780
6a2045bf
IS
77812011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7782
7783 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7784 function is not used for PPC64.
6a2045bf
IS
7785 (save_world): Amend comments. Update the VRsave mask to reflect the
7786 saved regs.
7787 (rest_world): Update comments, do not clobber r10, do not use r8.
7788 (eh_rest_world_r10): Amend comments, do not use r8.
7789 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7790 no longer used, move restore of CR and target address to the end of
7791 the routine.
7792
a13780a6
L
77932011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7794
7795 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7796 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7797
d7288dfb
GJL
77982011-12-14 Georg-Johann Lay <avr@gjlay.de>
7799
7800 PR target/49313
7801 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7802 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7803
8d2c862d
EB
78042011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7805
7806 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7807
3447cae6
GJL
78082011-12-09 Georg-Johann Lay <avr@gjlay.de>
7809
7810 PR target/49313
7811 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7812 * config/avr/lib1funcs.S (__muldi3): New function.
7813
806fc6aa
AP
78142011-12-06 Andrew Pinski <apinski@cavium.com>
7815
7816 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7817 size of func_ptr.
7818 (__frame_dummy_init_array_entry): Likewise.
7819
28c5e6b5
GJL
78202011-12-06 Georg-Johann Lay <avr@gjlay.de>
7821
7822 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7823
7824 PR target/51345
7825 PR target/51002
7826 * config/avr/lib1funcs.S (__prologue_saves__,
7827 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7828 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7829
8f90394a
IS
78302011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7831
7832 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7833
06dd33ac
JDA
78342011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7835
7836 PR other/51272
7837 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7838 (_ITM_deregisterTMCloneTable): Likewise.
7839 (__register_frame_info): Fix unused warning.
7840 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7841 pthread_default_stacksize_np): Likewise.
7842 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7843
85b8555e
DD
78442011-11-29 DJ Delorie <dj@redhat.com>
7845
7846 * config.host (rl78-*-elf): New case.
7847 * config/rl78: New directory for the Renesas RL78.
7848
4d5ae4ea
BS
78492011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7850
7851 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7852 formatting.
7853
f9c55897
RO
78542011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7855
7856 PR other/51022
7857 * config/rs6000/t-savresfgpr: New file.
7858 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7859 $(srcdir)/config/rs6000/eabi.S.
7860 * config/rs6000/t-ppccomm-ldbl: Remove.
7861 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7862 tmake_file.
7863 (powerpc-*-eabispe*): Likewise.
7864 (powerpc-*-eabi*): Likewise.
7865 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7866 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7867 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7868 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7869 tmake_file.
7870 (powerpc-*-eabisim*): Likewise.
7871 (powerpc-*-elf*): Likewise.
7872 (powerpc-*-eabialtivec*): Likewise.
7873 (powerpc-xilinx-eabi*): Likewise.
7874 (powerpc-*-rtems*): Likewise.
7875 (powerpcle-*-elf*): Likewise.
7876 (powerpcle-*-eabisim*): Likewise.
7877 (powerpcle-*-eabi*): Likewise.
7878
a01207c4
ILT
78792011-11-27 Ian Lance Taylor <iant@google.com>
7880
7881 * generic-morestack.c (__splitstack_find): Check for NULL old
7882 stack value.
7883 (__splitstack_resetcontext): New function.
7884 (__splitstack_releasecontext): New function.
7885 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7886
2b0b8ab2
IS
78872011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7888
7889 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7890
c1d8101c
IS
78912011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7892
7893 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7894
8b281334
RH
78952011-11-26 Richard Henderson <rth@redhat.com>
7896
7897 * config/m68k/linux-atomic.c: New file.
7898 * config/m68k/t-linux: New file.
7899 * config.host (m68k-uclinux, m68k-linux): Use it.
7900
7546aa9d
RH
79012011-11-26 Richard Henderson <rth@redhat.com>
7902
7903 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7904 (__TMC_END__): Only declare if hidden is available; in the definition,
7905 if hidden is unavailable add a null record.
7906 (deregister_tm_clones, register_tm_clones): New.
7907 (__do_global_dtors_aux, frame_dummy): Use them.
7908 (__do_global_dtors, __do_global_ctors_1): Likewise.
7909
e2362f5d
IS
79102011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7911
7912 * config/darwin-crt-tm.c: New file.
7913 * config.host (darwin): Build crttms.o crttme.o to provide
7914 startup and shutdown for tm clones.
7915 * config/t-darwin (crttms.o): New build rule.
7916 (crttme.o): Likewise.
7917
6685dd96
HPN
79182011-11-21 Hans-Peter Nilsson <hp@axis.com>
7919
7920 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7921 et al.
7922
b0dc7e4c
RH
79232011-11-21 Richard Henderson <rth@redhat.com>
7924
7925 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7926 (__TMC_LIST__, __TMC_END__): New.
7927 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7928 (__do_global_dtors): Likewise.
7929 (frame_dummy): Call _ITM_registerTMCloneTable.
7930 (__do_global_ctors_1): Likewise.
7931
d4b4b542
RO
79322011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7933
7934 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7935 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7936 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7937 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7938 * config/i386/t-darwin64: Remove.
7939 * config/sh/t-netbsd (LIB2ADD): Remove.
7940
989bdb74
GJL
79412011-11-21 Georg-Johann Lay <avr@gjlay.de>
7942
7943 PR target/49313
7944 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7945 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7946 * config/avr/lib1funcs.S (wmov): New assembler macro.
7947 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7948 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7949 (__udivmod64): New function.
7950 (__negdi2): New function.
7951
515a0cfc
GP
79522011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7953
7954 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7955 *-*-freebsd*aout*): Remove.
7956
0115d17f
HPN
79572011-11-20 Hans-Peter Nilsson <hp@axis.com>
7958
7959 * static-object.mk (c_flags-$o): Save c_flags.
7960 ($(base)$(objext)): Use it.
7961
93aeb62b
SE
79622011-11-18 Steve Ellcey <sje@cup.hp.com>
7963
7964 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7965
7bc6df2c
GJL
79662011-11-18 Georg-Johann Lay <avr@gjlay.de>
7967
7968 PR target/49868
7969 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7970 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7971 New functions.
7972
425d737b
MGD
79732011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7974
7975 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7976 functions.
1bb4b6a3 7977 (aeabi_uidivmod): Likewise.
425d737b
MGD
7978 (umodsi3): Likewise.
7979 (divsi3): Likewise.
7980 (aeabi_idivmod): Likewise.
7981 (modsi3): Likewise.
7982
f2a176dc
TG
79832011-11-16 Tristan Gingold <gingold@adacore.com>
7984
7985 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7986
7c209481
GJL
79872011-11-15 Georg-Johann Lay <avr@gjlay.de>
7988
7989 PR target/49868
7990 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7991 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7992
9dfd5832
JDA
79932011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7994
7995 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7996 tmake_file list.
7997 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7998 * config/pa/t-stublib64: Delete.
7999
f77dca5d
RH
80002011-11-12 Richard Henderson <rth@redhat.com>
8001
8002 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8003 cast the pointer argument to _Unwind_SetGRPtr.
8004
902828f0
RO
80052011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8006
8007 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8008
e14304ef
ILT
80092011-11-09 Ian Lance Taylor <iant@google.com>
8010
8011 * generic-morestack.c: Include <string.h>.
8012 (uintptr_type): Define.
8013 (struct initial_sp): Add dont_block_signals field. Reduce size of
8014 extra array by 1.
8015 (allocate_segment): Set prev field to NULL. Don't set
8016 __morestack_current_segment or __morestack_segments.
8017 (__generic_morestack): Update current->prev and *pp after calling
8018 allocate_segment.
8019 (__morestack_block_signals): Don't do anything if
8020 dont_block_signals is set.
8021 (__morestack_unblock_signals): Likewise.
8022 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8023 uintptr_type.
8024 (__splitstack_block_signals): New function.
8025 (enum __splitstack_content_offsets): Define.
8026 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8027 (__splitstack_makecontext): New function.
8028 (__splitstack_block_signals_context): New function.
8029 (__splitstack_find_context): New function.
8030 * config/i386/morestack.S (__morestack_get_guard): New function.
8031 (__morestack_set_guard, __morestack_make_guard): New functions.
8032 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8033
e3d871e4
RO
80342011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8035
8036 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8037 (i[34567]86-*-mingw*): ... here.
8038 (x86_64-*-mingw*): ... here.
8039
e55cef40
RO
80402011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8041
8042 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8043
5366b186
NS
80442011-11-07 Nathan Sidwell <nathan@acm.org>
8045
8046 * libgcov.c (struct gcov_fn_buffer): New struct.
8047 (buffer_fn_data): New helper.
8048 (gcov_exit): Rework for new gcov data structures.
8049
74155a6f
GJL
80502011-11-07 Georg-Johann Lay <avr@gjlay.de>
8051
8052 PR target/49313
8053 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8054
200feb07
RO
80552011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8056
8057 * config.host (tmake_file): Correct comment.
8058 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8059 t-libgcc-pic.
8060 (bfin*-uclinux*): Likewise.
8061 (bfin*-linux-uclibc*): Likewise.
8062 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8063
8064 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8065 assigning.
8066 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8067 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8068 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8069 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8070 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8071 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8072 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8073 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8074 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8075 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8076 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8077 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8078 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8079
8080 * config/bfin/t-elf: Remove.
8081 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8082
c9cd1a07
RO
80832011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8084
8085 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8086 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8087 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8088 (lm32-*-elf*): ... this.
8089 (lm32-*-rtems*): ... and this.
8090 Add to tmake_file.
8091 (m32r-*-rtems*): Add to tmake_file.
8092 (moxie-*-rtems*): Likewise.
8093 (sparc-*-rtems*): Likewise.
8094 Remove t-rtems from tmake_file.
8095 (sparc64-*-rtems*): Likewise.
8096 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8097 instead.
8098
9fbcc75d
RO
80992011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8100
8101 PR bootstrap/50982
8102 * config/gthr-posix.h: Move ...
8103 * gthr-posix.h: ... here.
8104 * config/gthr-lynx.h: Reflect this.
8105 * config/gthr-vxworks.h: Likewise.
8106 * config/rs6000/gthr-aix.h: Likewise.
8107 * configure.ac (target_thread_file): Likewise.
8108 * configure: Regenerate.
8109
76644b68
SH
81102011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8111
8112 * config.host (arm*-*-rtemseabi*): New target.
8113
5e490f2a
JDA
81142011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8115
8116 PR other/50991
8117 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8118 extra-parts.
8119
feeeff5c
JR
81202011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8121
8122 * config.host (epiphany-*-elf*): New configuration.
8123 * config/epiphany: New Directory.
8124
d618bb2c
RC
81252011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8126
8127 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8128 * config/avr/t-rtems: New.
8129 Filter out _exit from LIB1ASMFUNCS.
8130
1bb6f778
DM
81312011-11-04 David S. Miller <davem@davemloft.net>
8132
8133 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8134 * configure: Rebuild.
8135
9a7f7422
AK
81362011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8137
8138 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8139 variable.
8140
e4fe948a
GJL
81412011-11-04 Georg-Johann Lay <avr@gjlay.de>
8142
8143 PR target/50931
8144 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8145 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8146
7084e037
JS
81472011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8148
8149 PR target/50989
8150 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8151
1a032034
RO
81522011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8153
8154 * config/c6x/t-elf (LIB2ADDEH): Set.
8155 * config/c6x/t-c6x-elf: Remove.
8156
d385f772
RO
81572011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8158
8159 * config/i386/sol2-ci.S: Rename to ...
8160 * config/i386/crti.S: ... this.
8161 * config/i386/sol2-cn.S: Rename to ...
8162 * config/i386/crtn.S: ... this.
8163 * config/sparc/sol2-ci.S: Rename to ...
8164 * config/sparc/crti.S: ... this.
8165 * config/sparc/sol2-cn.S: Rename to ...
8166 * config/sparc/crtn.S: ... this.
8167 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8168 (crti.o, crtn.o): Remove.
8169
1ba878a9
TG
81702011-11-04 Tristan Gingold <gingold@adacore.com>
8171
8172 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8173
02750c15
KK
81742011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8175
8176 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8177
bf86b067
HPN
81782011-11-03 Hans-Peter Nilsson <hp@axis.com>
8179
8180 * config.host (crisv32-*-none, cris-*-none): Remove.
8181 (crisv32-*-elf): Append to tmake_file, don't just set it.
8182 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8183
d0bc53bd
RO
81842011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8185
8186 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8187 (ecrtn$(objext)): Likewise.
8188 (ncrti$(objext)): Likewise.
8189 (ncrtn$(objext)): Likewise.
8190
036da830
AS
81912011-11-03 Andreas Schwab <schwab@redhat.com>
8192
8193 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8194
d2a7d041
DM
81952011-11-02 David S. Miller <davem@davemloft.net>
8196
8197 * configure.ac: Set host_address on sparc too.
8198 * configure: Regenerate.
8199 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8200 based upon host_address.
8201 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8202
af8ed618
JM
82032011-11-02 Jason Merrill <jason@redhat.com>
8204
8205 * config/rs6000/t-ppccomm: Add missing \.
8206
5d1c8e77
RO
82072011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8208
8209 * gthr-single.h, gthr.h: New files.
8210 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8211 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8212 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8213 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8214 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8215 * configure.ac (thread_header): New variable.
8216 Set it depending on target_thread_file.
8217 (gthr-default.h): Link from $thread_header.
8218 * configure: Regenerate.
8219 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8220
852b75ed
RO
82212011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8222
8223 * configure.ac (tm_file_): New variable.
8224 Determine from tm_file.
8225 (tm_file, tm_defines): Substitute.
8226 * configure: Regenerate.
8227 * mkheader.sh: New file.
8228 * Makefile.in (clean): Remove libgcc_tm.h.
8229 ($(objects)): Depend on libgcc_tm.h.
8230 (libgcc_tm_defines, libgcc_tm_file): New variables.
8231 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8232 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8233 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8234 ($(extra-parts)): Depend on libgcc_tm.h.
8235 * config.host (tm_defines, tm_file): New variable.
8236 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8237 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8238 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8239 (avr-*-rtems*): Likewise.
8240 (avr-*-*): Likewise.
8241 (frv-*-elf): Likewise.
8242 (frv-*-*linux*): Likewise.
8243 (h8300-*-rtems*): Likewise.
8244 (h8300-*-elf*): Likewise.
8245 (i[34567]86-*-darwin*): Likewise.
8246 (x86_64-*-darwin*): Likewise.
8247 (rx-*-elf): Likewise.
8248 (tic6x-*-uclinux): Likewise.
8249 (tic6x-*-elf): Likewise.
8250 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8251 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8252 * config/i386/cygming-crtbegin.c: Likewise.
8253 * config/i386/cygming-crtend.c: Likewise.
8254 * config/ia64/fde-vms.c: Likewise.
8255 * config/ia64/unwind-ia64.c: Likewise.
8256 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8257 * config/rs6000/darwin-fallback.c: Likewise.
8258 * config/stormy16/lib2funcs.c: Likewise.
8259 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8260 * crtstuff.c: Likewise.
8261 * dfp-bit.h: Likewise.
8262 * emutls.c: Likewise.
8263 * fixed-bit.c: Likewise.
8264 * fp-bit.c: Likewise.
8265 * generic-morestack-thread.c: Likewise.
8266 * generic-morestack.c: Likewise.
8267 * libgcc2.c: Likewise.
8268 * libgcov.c: Likewise.
8269 * unwind-dw2-fde-dip.c: Likewise.
8270 * unwind-dw2-fde.c: Likewise.
8271 * unwind-dw2.c: Likewise.
8272 * unwind-sjlj.c: Likewise.
8273
f9989b51
RO
82742011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8275
8276 * configure.ac: Include ../config/picflag.m4.
8277 (GCC_PICFLAG): Call it.
8278 Substitute.
8279 * configure: Regenerate.
8280 * Makefile.in (gcc_srcdir): Remove.
8281 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8282 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8283 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8284 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8285 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8286 Use $<.
8287 Remove comment.
8288 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8289 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8290 to refer to libgcc2.c.
8291 Use $<.
8292 * config/darwin-64.c: New file.
8293 * config/darwin-crt3.c: Remove comment.
8294 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8295 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8296 config/udivmodsi4.c: New files.
8297 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8298 config/memset.c: New files.
8299 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8300 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8301 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8302 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8303 * config/t-openbsd-thread: New file.
8304 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8305 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8306 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8307 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8308 qrnnd.S.
8309 Adapt filename.
8310 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8311 to refer to gthr-posix.c.
8312 * config/alpha/t-vms (LIB2ADD): Set.
8313 * config/alpha/vms-gcc_shell_handler.c: New file.
8314 * config/arm/bpabi.c, config/arm/fp16.c,
8315 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8316 config/arm/unaligned-funcs.c: New files.
8317 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8318 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8319 * config/arm/t-linux: Likewise.
8320 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8321 * config/arm/t-netbsd: New file.
8322 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8323 * config/arm/t-symbian (LIB2ADD_ST): Set.
8324 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8325 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8326 * config/bfin/t-elf: New file.
8327 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8328 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8329 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8330 config/c6x/ltf.c: New files.
8331 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8332 (HOST_LIBGCC2_CFLAGS): Set.
8333 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8334 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8335 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8336 New files.
8337 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8338 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8339 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8340 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8341 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8342 files.
8343 * config/frv/t-frv (LIB2ADD): Set.
8344 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8345 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8346 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8347 config/h8300/popcounthi2.c: New files.
8348 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8349 * config/i386/gthr-win32.c: New file.
8350 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8351 * config/i386/t-cygwin: Likewise.
8352 * config/i386/t-darwin, config/i386/t-darwin64,
8353 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8354 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8355 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8356 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8357 * config/ia64/quadlib.c: New file.
8358 * config/ia64/t-hpux (LIB2ADD): Set.
8359 * config/ia64/t-ia64: Add comment.
8360 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8361 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8362 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8363 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8364 * config/m32c/t-m32c (LIB2ADD): Set.
8365 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8366 * config/m32r/t-m32r: Likewise.
8367 * config/m68k/fpgnulib.c: New file.
8368 * config/m68k/t-floatlib (LIB2ADD): Set.
8369 (xfgnulib.c): New target.
8370 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8371 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8372 * config/mep/t-mep (LIB2ADD): Set.
8373 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8374 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8375 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8376 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8377 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8378 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8379 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8380 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8381 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8382 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8383 New files.
8384 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8385 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8386 * config/pa/fptr.c, config/pa/lib2funcs.S,
8387 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8388 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8389 (LIB2ADD, LIB2ADD_ST): Set.
8390 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8391 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8392 Set.
8393 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8394 * config/pdp11/t-pdp11: New file.
8395 * config/picochip/libgccExtras/adddi3.S,
8396 config/picochip/libgccExtras/ashlsi3.S,
8397 config/picochip/libgccExtras/ashrsi3.S,
8398 config/picochip/libgccExtras/clzsi2.S,
8399 config/picochip/libgccExtras/cmpsi2.S,
8400 config/picochip/libgccExtras/divmod15.S,
8401 config/picochip/libgccExtras/divmodhi4.S,
8402 config/picochip/libgccExtras/divmodsi4.S,
8403 config/picochip/libgccExtras/lshrsi3.S,
8404 config/picochip/libgccExtras/parityhi2.S,
8405 config/picochip/libgccExtras/popcounthi2.S,
8406 config/picochip/libgccExtras/subdi3.S,
8407 config/picochip/libgccExtras/ucmpsi2.S,
8408 config/picochip/libgccExtras/udivmodhi4.S,
8409 config/picochip/libgccExtras/udivmodsi4.S: New files.
8410 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8411 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8412 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8413 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8414 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8415 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8416 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8417 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8418 files.
8419 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8420 (HOST_LIBGCC2_CFLAGS): Set.
8421 * config/rs6000/t-darwin64: New file.
8422 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8423 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8424 * config/rs6000/t-ppccomm (LIB2ADD): Add
8425 $(srcdir)/config/rs6000/tramp.S.
8426 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8427 Add $(srcdir)/config/rs6000/eabi.S.
8428 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8429 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8430 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8431 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8432 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8433 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8434 * config/rs6000/tramp.S: New file.
8435 * config/s390/t-tpf: Remove.
8436 * config/sh/linux-atomic.S: New file.
8437 * config/sh/t-linux (LIB2ADD): Set.
8438 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8439 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8440 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8441 to unwind-dw2.c.
8442 (HOST_LIBGCC2_CFLAGS): Set.
8443 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8444 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8445 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8446 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8447 config/spu/mfc_multi_tag_release.c,
8448 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8449 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8450 config/spu/multi3.c: New files.
8451 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8452 (HOST_LIBGCC2_CFLAGS): Set.
8453 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8454 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8455 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8456 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8457 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8458 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8459 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8460 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8461 config/stormy16/umodsi3.c: New files.
8462 * config/xtensa/lib2funcs.S: New file.
8463 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8464 * config/xtensa/t-xtensa (LIB2ADD): Set.
8465 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8466 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8467 Add t-freebsd-thread to tmake_file for posix threads.
8468 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8469 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8470 (*-*-lynxos*): Likewise.
8471 (*-*-netbsd*): Likewise.
8472 (*-*-openbsd*): Likewise.
8473 Add t-openbsd-thread to tmake_file for posix threads.
8474 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8475 (*-*-vxworks*): Set tmake_file.
8476 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8477 (alpha*-*-freebsd*): Likewise.
8478 (alpha*-*-netbsd*): Likewise.
8479 (alpha*-*-openbsd*): Likewise.
8480 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8481 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8482 (alpha*-dec-*vms*): Likewise.
8483 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8484 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8485 (bfin*-uclinux*): Likewise.
8486 (bfin*-linux-uclibc*): Likewise.
8487 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8488 (crisv32-*-none): Likewise.
8489 (cris-*-elf): Likewise.
8490 (cris-*-none): Likewise.
8491 (cris-*-linux*, crisv32-*-linux*): Likewise.
8492 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8493 tmake_file.
8494 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8495 tmake_file.
8496 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8497 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8498 (x86_64-*-elf*): Likewise.
8499 (i[34567]86-*-nto-qnx*): Likewise.
8500 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8501 win32 threads.
8502 (x86_64-*-mingw*): Likewise.
8503 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8504 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8505 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8506 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8507 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8508 tmake_file.
8509 (mipsisa64sr71k-*-elf*): Likewise.
8510 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8511 (mips-*-elf*, mipsel-*-elf*): Likewise.
8512 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8513 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8514 (mips*-*-rtems*): Likewise.
8515 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8516 to tmake_file.
8517 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8518 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8519 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8520 (spu-*-elf*): Likewise.
8521 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8522
45b86625
RO
85232011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8524
8525 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8526 $(srcdir) to refer to $(LIB1ASMSRC).
8527 Use $<.
8528 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8529 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8530 config/arm/lib1funcs.S: New files.
8531 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8532 * config/arm/t-arm: New file.
8533 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8534 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8535 config/arm/t-strongarm-elf: New files.
8536 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8537 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8538 * config/avr/lib1funcs.S: New file.
8539 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8540 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8541 * config/c6x/lib1funcs.S: New file.
8542 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8543 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8544 * config/frv/lib1funcs.S: New file.
8545 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8546 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8547 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8548 * config/ia64/__divxf3.asm: Rename to ...
8549 * config/ia64/__divxf3.S: ... this.
8550 Adapt lib1funcs.asm filename.
8551 * config/ia64/_fixtfdi.asm: Rename to ...
8552 * config/ia64/_fixtfdi.S: ... this.
8553 Adapt lib1funcs.asm filename.
8554 * config/ia64/_fixunstfdi.asm: Rename to ...
8555 * config/ia64/_fixunstfdi.S: ... this.
8556 Adapt lib1funcs.asm filename.
8557 * config/ia64/_floatditf.asm: Rename to ...
8558 * config/ia64/_floatditf.S: ... this.
8559 Adapt lib1funcs.asm filename.
8560 * config/ia64/lib1funcs.S: New file.
8561 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8562 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8563 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8564 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8565 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8566 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8567 * config/mep/lib1funcs.S: New file.
8568 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8569 * config/mips/mips16.S: New file.
8570 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8571 * config/pa/milli64.S: New file.
8572 * config/pa/t-linux, config/pa/t-linux64: New files.
8573 * config/picochip/lib1funcs.S: New file.
8574 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8575 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8576 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8577 * config/sh/t-netbsd: New file.
8578 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8579 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8580 * config/sh/t-sh64: New file.
8581 * config/sparc/lb1spc.S: New file.
8582 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8583 filename.
8584 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8585 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8586 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8587 config/xtensa/lib1funcs.S: New files.
8588 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8589 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8590 tmake_file.
8591 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8592 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8593 (arm*-*-linux*): Likewise.
8594 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8595 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8596 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8597 (arm*-*-ecos-elf): Likewise.
8598 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8599 (arm*-*-rtems*): Likewise.
8600 (arm*-*-elf): Likewise.
8601 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8602 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8603 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8604 (bfin*-uclinux*): Likewise.
8605 (bfin*-linux-uclibc*): Likewise.
8606 (bfin*-rtems*): Likewise.
8607 (bfin*-*): Likewise.
8608 (fido-*-elf): Merge into m68k-*-elf*.
8609 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8610 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8611 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8612 (h8300-*-elf*): Likewise.
8613 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8614 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8615 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8616 (i[34567]86-*-mingw*): Likewise.
8617 (x86_64-*-mingw*): Likewise.
8618 (i[34567]86-*-interix3*): Likewise.
8619 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8620 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8621 (m68k-*-elf*): Also handle fido-*-elf.
8622 Add m68k/t-floatlib to tmake_file.
8623 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8624 (m68k-*-linux*): Likewise.
8625 (m68k-*-rtems*): Likewise.
8626 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8627 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8628 sh64*-*-*.
8629 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8630 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8631 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8632 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8633 sh/t-netbsd to tmake_file.
8634 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8635 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8636 (sh-wrs-vxworks): Likewise.
8637 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8638 *-leon[3-9]*.
8639 (v850*-*-*): Add v850/t-v850 to tmake_file.
8640 (vax-*-linux*): Add vax/t-linux to tmake_file.
8641 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8642
5f73c6cc
RO
86432011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8644
8645 * crtstuff.c: New file.
8646 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8647 (CRTSTUFF_T_CFLAGS): Define.
8648 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8649 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8650 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8651 crtstuff.c.
8652 Use $<.
8653 (crtbeginT.o): Use $(objext).
8654 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8655 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8656 (gcc-extra-parts): Remove.
8657 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8658 Set extra_parts.
8659 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8660 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8661 Add t-crtstuff-pic to tmake_file.
8662 (*-*-lynxos*): New case.
8663 Set tmake_file, extra_parts.
8664 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8665 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8666 *-*-netbsdelf[2-9]*.
8667 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8668 (*-*-rtems*): Set extra_parts.
8669 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8670 (*-*-uclinux*): New case.
8671 Set extra_parts.
8672 (*-*-vms*): New case.
8673 Set tmake_file, extra_parts.
8674 (*-*-elf): Set extra_parts.
8675 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8676 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8677 vms/t-vms64.
8678 Set extra_parts.
8679 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8680 Set extra_parts.
8681 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8682 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8683 (arm-wrs-vxworks): Append to tmake_file.
8684 Set extra_parts.
8685 (arm*-*-uclinux*): Set extra_parts.
8686 (arm*-*-ecos-elf): Likewise.
8687 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8688 arm*-*-eabi*.
8689 (arm*-*-rtems*): Set extra_parts.
8690 (arm*-*-elf): Likewise.
8691 (avr-*-rtems*): Clear extra_parts.
8692 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8693 Set extra_parts.
8694 (bfin*-uclinux*): Likewise.
8695 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8696 (bfin*-rtems*): Append to tmake_file.
8697 Set extra_parts.
8698 (bfin*-*): Likewise.
8699 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8700 (crisv32-*-elf): ... this.
8701 (crisv32-*-none): ... this.
8702 (cris-*-elf, cris-*-none): New cases.
8703 Add cris/t-elfmulti to tmake_file.
8704 (fr30-*-elf): Append to tmake_file.
8705 Set extra_parts.
8706 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8707 Set extra_parts.
8708 (h8300-*-rtems*): Append to tmake_file.
8709 Set extra_parts.
8710 (h8300-*-elf*): Likewise.
8711 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8712 Set extra_parts.
8713 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8714 Set extra_parts.
8715 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8716 (x86_64-*-elf*): Likewise.
8717 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8718 (x86_64-*-freebsd*): Likewise.
8719 (x86_64-*-netbsd*): Likewise.
8720 (i[34567]86-*-linux*): Likewise.
8721 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8722 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8723 (x86_64-*-linux*): Likewise.
8724 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8725 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8726 tmake_file.
8727 Set extra_parts.
8728 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8729 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8730 Append to extra_parts, remove crtbegin.o, crtend.o.
8731 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8732 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8733 crtend.o, crtbeginS.o, crtendS.o.
8734 (ia64*-*-linux*): Comment extra_parts.
8735 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8736 Set extra_parts.
8737 (iq2000*-*-elf*): Clear extra_parts.
8738 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8739 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8740 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8741 (m32r-*-rtems*): ... this.
8742 Add m32r/t-m32r to tmake_file.
8743 (m68k-*-elf*): Add t-crtin to tmake_file.
8744 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8745 (mcore-*-elf): Likewise.
8746 (microblaze*-*-*): Set extra_parts.
8747 (mips*-sde-elf*): New case.
8748 Set tmake_file, extra_parts.
8749 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8750 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8751 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8752 tmake_file.
8753 Set extra_parts.
8754 (mipsisa64sr71k-*-elf*): Likewise.
8755 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8756 (mips-*-elf*, mipsel-*-elf*): Likewise.
8757 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8758 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8759 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8760 (mips*-*-rtems*): Likewise.
8761 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8762 (moxie-*-*): Split into ...
8763 (moxie-*-elf, moxie-*-uclinux*): ... this.
8764 Add to extra_parts, remove crtbegin.o, crtend.o.
8765 (moxie-*-rtems*): New case.
8766 Set tmake_file.
8767 Clear extra_parts.
8768 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8769 Set extra_parts.
8770 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8771 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8772 tmake_file.
8773 Set extra_parts.
8774 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8775 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8776 Set extra_parts.
8777 (powerpc-*-eabisim*): Likewise.
8778 (powerpc-*-elf*): Likewise.
8779 (powerpc-*-eabialtivec*): Likewise.
8780 (powerpc-xilinx-eabi*): Likewise.
8781 (powerpc-*-eabi*): Likewise.
8782 (powerpc-*-rtems*): Likewise.
8783 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8784 tmake_file.
8785 Set extra_parts.
8786 (powerpc-*-lynxos*): Add to tmake_file.
8787 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8788 rs6000/t-crtstuff, t-crtstuff-pic.
8789 Set extra_parts.
8790 (powerpcle-*-eabisim*): Likewise.
8791 (powerpcle-*-eabi*): Likewise.
8792 (rx-*-elf): Remove extra_parts.
8793 (s390x-ibm-tpf*): Set extra_parts.
8794 (score-*-elf): Set extra_parts.
8795 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8796 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8797 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8798 (sh64l*-*-netbsd*): Split into ...
8799 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8800 Add t-crtstuff-pic to tmake_file.
8801 Set extra_parts.
8802 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8803 Set extra_parts.
8804 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8805 (sparc-*-elf*): Remove t-crtin from tmake_file.
8806 Add to extra_parts, remove crtbegin.o, crtend.o.
8807 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8808 (sparc64-*-linux*): Likewise.
8809 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8810 Add to extra_parts, remove crtbegin.o, crtend.o.
8811 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8812 Add to extra_parts, remove crtbegin.o, crtend.o.
8813 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8814 Add to extra_parts, remove crtbegin.o, crtend.o.
8815 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8816 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8817 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8818 Set extra_parts.
8819 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8820 Set extra_parts.
8821 (tic6x-*-*): Change to ...
8822 (tic6x-*-elf): ... this.
8823 Set extra_parts.
8824 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8825 Set extra_parts.
8826 (am33_2.0-*-linux*): Add comment.
8827 (mep*-*-*): Add mep/t-mep to tmake_file.
8828 Set extra_parts.
8829 * config/alpha/t-vms: New file.
8830 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8831 * config/arm/crti.S, config/arm/crtn.S: New files.
8832 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8833 * config/bfin/crtlibid.S: New file.
8834 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8835 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8836 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8837 (crti.o, crtin.o): New rules.
8838 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8839 * config/c6x/t-uclinux: New file.
8840 * config/cris/t-elfmulti: New file.
8841 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8842 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8843 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8844 * config/frv/t-frv: New file.
8845 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8846 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8847 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8848 New files.
8849 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8850 refer to cygming-crtbegin.c, cygming-crtend.c.
8851 Use $<.
8852 * config/i386/t-nto: New file.
8853 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8854 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8855 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8856 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8857 Use .S extension.
8858 Use $<.
8859 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8860 (crtinitS.o): New rule.
8861 * config/ia64/vms-crtinit.S: New file.
8862 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8863 * config/m32r/initfini.c: New file.
8864 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8865 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8866 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8867 * config/mep/t-mep: New file.
8868 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8869 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8870 * config/mips/crti.S, config/mips/crtn.S: New files.
8871 * config/mips/t-crtstuff: New file.
8872 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8873 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8874 (CUSTOM_CRTIN): Set.
8875 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8876 dependencies.
8877 Use $(srcdir) to refer to crti.S, crtn.S.
8878 Use .S extension, $<.
8879 * config/moxie/crti.asm: Rename to ...
8880 * config/moxie/crti.S: ... this.
8881 * config/moxie/crtn.asm: Rename to ...
8882 * config/moxie/crtn.S: ... this.
8883 * config/moxie/t-moxie: Remove.
8884 * config/pa/stublib.c: New file.
8885 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8886 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8887 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8888 * config/rs6000/t-crtstuff: New file.
8889 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8890 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8891 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8892 Make output file explicit.
8893 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8894 Make output file explicit.
8895 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8896 Make output file explicit.
8897 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8898 Make output file explicit.
8899 * config/score/crti.S, config/score/crtn.S: New files.
8900 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8901 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8902 files.
8903 * config/sh/t-sh, config/sh/t-superh: New files.
8904 * config/sparc/t-linux64: New file.
8905 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8906 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8907 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8908 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8909 * config/t-crtin: Remove.
8910 * config/t-crtstuff-pic: New file.
8911 * config/t-sol2 (CUSTOM_CRTIN): Set.
8912 (crti.o, crtn.o): New rules.
8913 * config/vms/t-vms: New file.
8914 * config/vms/vms-ucrt0.c: New file.
8915 * config/xtensa/t-elf: New file.
8916
b040f2be
RO
89172011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8918
8919 * Makefile.in (SHLIB_NM_FLAGS): Set.
8920 * mkmap-flat.awk, mkmap-symver.awk: New files.
8921 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8922 exceptions.
8923 * configure: Regenerate.
8924 * config/libgcc-glibc.ver: New file.
8925 * config/libgcc-libsystem.ver: New file.
8926 * config/t-libunwind (SHLIB_LC): Set.
8927 * config/t-linux: New file.
8928 * config/t-slibgcc (INSTALL_SHLIB): New.
8929 (SHLIB_INSTALL): Use it.
8930 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8931 to mkmap-symver.awk.
8932 (SHLIB_MAPFILES): Don't append, adapt pathname.
8933 (SHLIB_VERPFX): Set.
8934 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8935 to mkmap-symver.awk.
8936 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8937 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8938 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8939 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8940 to mkmap-flat.awk.
8941 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8942 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8943 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8944 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8945 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8946 * config/i386/libgcc-darwin.10.4.ver,
8947 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8948 New files.
8949 * config/i386/t-darwin: Remove.
8950 * config/i386/t-darwin64: Likewise.
8951 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8952 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8953 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8954 * config/i386/t-linux: New file.
8955 * config/i386/t-mingw32: New file.
8956 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8957 * config/ia64/t-glibc: Rename to ...
8958 * config/ia64/t-linux: ... this.
8959 (SHLIB_MAPFILES): Set.
8960 * config/ia64/t-glibc-libunwind: Rename to ...
8961 * config/ia64/t-linux-libunwind: ... this.
8962 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8963 * config/ia64/t-slibgcc-hpux: New file.
8964 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8965 * config/m68k/t-slibgcc-elf-ver: New file.
8966 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8967 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8968 to mkmap-flat.awk.
8969 * config/pa/t-slibgcc-hpux: New file.
8970 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8971 files.
8972 * config/rs6000/libgcc-darwin.10.4.ver,
8973 config/rs6000/libgcc-darwin.10.5.ver: New files.
8974 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8975 config/rs6000/libgcc-glibc.ver.
8976 * config/rs6000/libgcc-ppc64.ver: Rename to
8977 config/rs6000/libgcc-ibm-ldouble.ver.
8978 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8979 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8980 * config/rs6000/t-ldbl128: Rename to ...
8981 * config/rs6000/t-linux: ... this.
8982 (SHLIB_MAPFILES): Adapt filename.
8983 * config/rs6000/t-slibgcc-aix: New file.
8984 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8985 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8986 libgcc-excl.ver, libgcc-glibc.ver.
8987 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8988 * config/sparc/libgcc-glibc.ver: New file.
8989 * config/sparc/t-linux: New file.
8990 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8991 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8992 t-slibgcc-elf-ver to tmake_file.
8993 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8994 *-*-freebsd[34].
8995 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8996 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8997 t-slibgcc-elf-ver, t-linux to tmake_file.
8998 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8999 tmake_file.
9000 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9001 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9002 (alpha*-dec-*vms*): Likewise.
9003 (arm*-*-freebsd*): Append to tmake_file.
9004 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9005 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9006 arm*-*-linux-*eabi.
9007 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9008 tmake_file for arm*-*-symbianelf*.
9009 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9010 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9011 cris/t-linux.
9012 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9013 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9014 pa/t-slibgcc-dwarf-ver to tmake_file.
9015 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9016 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9017 (hppa*64*-*-hpux11*): Likewise.
9018 (hppa[12]*-*-hpux11*): Likewise.
9019 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9020 i386/t-crtpc, i386/t-crtfm.
9021 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9022 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9023 to tmake_file.
9024 Add i386/t-cygwin to tmake_file.
9025 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9026 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9027 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9028 to tmake_file.
9029 Add i386/t-mingw32 to tmake_file.
9030 (x86_64-*-mingw*): Likewise.
9031 (ia64*-*-freebsd*): Append to tmake_file.
9032 (ia64*-*-linux*): Append to tmake_file.
9033 Replace ia64/t-glibc by ia64/t-linux.
9034 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9035 system libunwind.
9036 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9037 t-slibgcc-hpux to tmake_file.
9038 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9039 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9040 (m32rle-*-linux*): Likewise.
9041 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9042 sjlj exceptions.
9043 (microblaze*-linux*): New case.
9044 Append to tmake_file, add t-slibgcc-nolc-override.
9045 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9046 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9047 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9048 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9049 rs6000/t-slibgcc-aix to tmake_file.
9050 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9051 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9052 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9053 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9054 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9055 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9056 sh*-*-linux*.
9057 (sparc-*-linux*): Append to tmake_file for *-leon*.
9058 Add sparc/t-linux to tmake_file for non-Leon targets.
9059 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9060 (tic6x-*-uclinux): New case.
9061 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9062 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9063 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9064 (am33_2.0-*-linux*): Append to tmake_file.
9065 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9066 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9067 x86_64-*-kfreebsd*-gnu.
9068 Add i386/t-linux to tmake_file.
9069
18b4bd7b
ILT
90702011-10-28 Ian Lance Taylor <iant@google.com>
9071
9072 * config/i386/morestack.S: Correct CFI information to do proper
9073 returns throughout function. In 32-bit mode, save %ebx so that it
9074 is restored on unwind.
9075
5b2d9d90
BS
90762011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9077
9078 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9079 case where B3 isn't the return register.
9080
0d53e346
BS
9081 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9082 logic for doubleword pops.
9083
cbffbd59
AT
90842011-10-25 Andreas Tobler <andreast@fgznet.ch>
9085
9086 * config/rs6000/t-freebsd: Add wildcard.
9087
56dc349e
PB
90882011-10-21 Paul Brook <paul@codesourcery.com>
9089
9090 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9091
1e06b07d
UB
90922011-10-16 Uros Bizjak <ubizjak@gmail.com>
9093 Eric Botcazou <ebotcazou@adacore.com>
9094
9095 PR target/50737
9096 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9097 fs->signal_frame to 1.
9098
b5204884
ILT
90992011-10-07 Ian Lance Taylor <iant@google.com>
9100
9101 * generic-morestack-thread.c: #include <errno.h>.
9102
91a639a1
ILT
91032011-10-07 Ian Lance Taylor <iant@google.com>
9104
9105 PR target/46093
9106 * generic-morestack.c (__generic_morestack): Make sure the segment
9107 is large enough for both the stack frame and the copied
9108 parameters.
9109
cc49116d
RO
91102011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9111
9112 PR bootstrap/49804
9113 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9114 extra_parts.
9115
2996d8c3
NC
91162011-09-28 Nick Clifton <nickc@redhat.com>
9117
9118 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9119 64-bit doubles are not enabled.
9120 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9121 and floatunsisf functions.
9122
1e874273 91232011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 9124
1e874273
PB
9125 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9126 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9127 * unwind-arm-common.inc: New file.
9128 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9129 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9130 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9131 * config/c6x/libunwind.S: New file.
9132 * config/c6x/pr-support.c: New file.
9133 * config/c6x/unwind-c6x.c: New file.
9134 * config/c6x/unwind-c6x.h: New file.
9135 * config/c6x/t-c6x-elf: New file.
9136
f70c879a
UB
91372011-08-23 Uros Bizjak <ubizjak@gmail.com>
9138
9139 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9140 (ASM_DIVZERO): Ditto.
9141 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9142
c55b374b
RS
91432011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9144
9145 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9146
1e138510
RS
91472011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9148
9149 PR target/50090
9150 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9151 instead of an assembly one.
9152
1563503d
PB
91532011-08-12 Paolo Bonzini <bonzini@gnu.org>
9154
9155 PR bootstrap/50047
9156 * Makefile.in (install-unwind_h): Create
9157 $(gcc_objdir)/include/unwind.h atomically.
9158
3627ac1a
RO
91592011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9160
9161 * Makefile.in (install-unwind_h): Remove destination file first.
9162
c6412d86
RO
91632011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9164
9165 * sync.c: New file.
9166 * config/mips/t-mips16: New file.
9167 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9168 (mips*-*-linux*): Likewise.
9169 (mips*-sde-elf*): Likewise.
9170 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9171 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9172 Add mips/t-mips16 to tmake_file.
9173 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9174 (mips-*-elf*): Likewise.
9175 (mips64-*-elf*): Likewise.
9176 (mips64orion-*-elf*): Likewise.
9177 (mips*-*-rtems*): Likewise.
9178 (mipstx39-*-elf*): Likewise.
9179 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9180 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9181 LIBGCC_SYNC_CFLAGS.
9182 Use $(srcdir) to refer to sync.c.
9183 Use $<.
9184 ($(libgcc-sync-funcs-o)): Likewise.
9185 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9186 ($(libgcc-sync-funcs-s-o)): Likewise.
9187
3cb6e5bd
AS
91882011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9189
9190 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9191 t-libunwind.
9192
cca2207a
L
91932011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9194
9195 PR other/48007
9196 * config/i386/value-unwind.h: New.
9197
ed39fbad
RS
91982011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9199
9200 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9201 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9202 Add to tmake_file rather than overriding it.
9203
aca0b0b3
RO
92042011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9205
9206 * config/t-softfp: Remove.
9207 * soft-fp: Moved from ../gcc/config.
9208 * soft-fp/README: Remove t-softfp reference.
9209 * soft-fp/t-softfp: Move to config/t-softfp.
9210 (softfp_machine_header): Remove.
9211 (softfp_file_list): Remove config subdir.
9212 (soft-fp-objects): New variable.
9213 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9214 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9215 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9216 * config/t-softfp-excl: New file.
9217 * config/t-softfp-sfdf: New file.
9218 * config/t-softfp-tf: New file.
9219 * config/no-sfp-machine.h: New file.
9220 * config/arm/sfp-machine.h: New file.
9221 * config/arm/t-softfp: New file.
9222 * config/c6x/sfp-machine.h: New file.
9223 * config/i386/32/t-fprules-softfp: Rename to ...
9224 * config/i386/32/t-softfp: ... this.
9225 (tifunctions, LIB2ADD): Remove.
9226 (softfp_int_modes): Override.
9227 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9228 subdir.
9229 * config/i386/64/eqtf2.c: Likewise.
9230 * config/i386/64/getf2.c: Likewise.
9231 * config/i386/64/letf2.c: Likewise.
9232 * config/ia64/sft-machine.h: New file.
9233 * config/ia64/t-fprules-softfp: Rename to ...
9234 * config/ia64/t-softfp: ... this.
9235 * config/lm32/sfp-machine.h: New file.
9236 * config/moxie/t-moxie-softfp: Remove.
9237 * config/rs6000/ibm-ldouble-format: New file.
9238 * config/rs6000/ibm-ldouble.c: New file.
9239 * config/rs6000/libgcc-ppc-glibc.ver: New file
9240 * config/rs6000/libgcc-ppc64.ver: New file
9241 * config/rs6000/sfp-machine.h: New file.
9242 * config/rs6000/t-freebsd: New file.
9243 * config/rs6000/t-ibm-ldouble: New file.
9244 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9245 libgcc-ppc-glibc.ver.
9246 * config/rs6000/t-linux64: New file.
9247 * config/rs6000/t-ppccomm (LIB2ADD): Add
9248 $(srcdir)/config/rs6000/ibm-ldouble.c.
9249 * config/rs6000/t-ppccomm-ldbl: New file.
9250 * config/score/sfp-machine.h: New file.
9251 * config.host (sfp_machine_header): Explain.
9252 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9253 t-softfp to tmake_file.
9254 (arm*-*-uclinux*): Likewise.
9255 (arm*-*-ecos-elf): Likewise.
9256 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9257 (arm*-*-rtems*): Likewise.
9258 (arm*-*-elf): Likewise.
9259 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9260 in tmake_file.
9261 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9262 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9263 (lm32-*-uclinux*): Likewise.
9264 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9265 t-softfp-excl, t-softfp.
9266 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9267 (powerpc64-*-darwin*): Likewise.
9268 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9269 to tmake_file.
9270 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9271 tmake_file.
9272 (powerpc-*-eabisim*): Likewise.
9273 (powerpc-*-elf*): Likewise.
9274 (powerpc-*-eabialtivec*): Likewise.
9275 (powerpc-xilinx-eabi*): Likewise.
9276 (powerpc-*-rtems*): Likewise.
9277 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9278 t-softfp-excl, t-softfp to tmake_file.
9279 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9280 rs6000/t-ppccomm-ldbl to tmake_file.
9281 (powerpcle-*-elf*): Likewise.
9282 (powerpcle-*-eabisim*): Likewise.
9283 (powerpcle-*-eabi*): Likewise.
9284 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9285 rs6000/t-ibm-ldouble to tmake_file.
9286 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9287 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9288 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9289 (tic6x-*-*): Likewise.
9290 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9291 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9292 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9293 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9294 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9295 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9296 t-softfp to tmake_file.
9297 * configure.ac (sfp_machine_header): Provide default if unset.
9298 Substitute.
9299 Link sfp-machine.h to config/$sfp_machine_header.
9300 * configure: Regenerate.
9301
569dc494
RO
93022011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9303
9304 * Makefile.in (double_type_size, long_double_type_size): Set.
9305 Remove $(fpbit-in-libgcc) support.
9306 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9307 (fpbit-src): New variable.
9308 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9309 Compile with -DFLOAT $(FPBIT_CFLAGS).
9310 Use $<.
9311 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9312 Compile with $(FPBIT_CFLAGS).
9313 Use $<.
9314 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9315 Compile with -DFLOAT $(TPBIT_CFLAGS).
9316 Use $<.
9317 * configure.ac (double_type_size, long_double_type_size):
9318 Determine and substitute.
9319 * configure: Regenerate.
9320 * fp-bit.c, fp-bit.h: New files.
9321 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9322 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9323 * config/mips/t-mips: New file.
9324 * config/mips/t-sdemtk: New file.
9325 * config/rs6000/ppc64-fp.c: New file.
9326 * config/rs6000/t-darwin (LIB2ADD): Add
9327 $(srcdir)/config/rs6000/ppc64-fp.c.
9328 * config/rs6000/t-ppc64-fp: New file.
9329 * config/rx/rx-lib.h: New file.
9330 * config/rx/t-rx (FPBIT): Set to true.
9331 ($(gcc_objdir)/fp-bit.c): Remove.
9332 (DPBIT): Set to true only with -m64bit-doubles.
9333 ($(gcc_objdir)/dp-bit.c): Remove.
9334 * config/sparc/t-softfp: Remove.
9335 * config/spu/t-elf: New file.
9336 * config/t-fdpbit, config/t-fpbit: New files.
9337 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9338 (mips*-*-*): Likewise.
9339 (arm-wrs-vxworks): Likewise.
9340 (arm*-*-freebsd*): Likewise.
9341 (avr-*-rtems*): Add t-fpbit to tmake_file.
9342 (avr-*-*): Likewise.
9343 (bfin*-elf*): Add t-fdpbit to tmake_file.
9344 (bfin*-uclinux*): Likewise.
9345 (bfin*-linux-uclibc*): Likewise.
9346 (bfin*-rtems*): New case.
9347 Add t-fdpbit to tmake_file.
9348 (bfin*-*): Add t-fdpbit to tmake_file.
9349 (crisv32-*-elf): Likewise.
9350 (cris-*-linux*): Likewise.
9351 (fr30-*-elf): Likewise.
9352 (frv-*-elf, frv-*-*linux*): Likewise.
9353 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9354 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9355 (m32r-*-elf*): Likewise.
9356 (m32rle-*-elf*): Likewise.
9357 (m32r-*-linux*): Likewise.
9358 (m32rle-*-linux*): Likewise.
9359 (mcore-*-elf): Add t-fdpbit to tmake_file.
9360 (microblaze*-*-*): Likewise.
9361 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9362 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9363 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9364 Fix typo.
9365 Add mips/t-tpbit to tmake-file.
9366 (mips*-*-linux*): Fix typo.
9367 (mips*-sde-elf*): New case
9368 Add mips/t-sdemtk unless using newlib.
9369 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9370 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9371 (mn10300-*-*): Likewise.
9372 (pdp11-*-*): Likewise.
9373 (picochip-*-*): Add t-fpbit to tmake_file.
9374 (powerpc-*-eabisimaltivec*): Likewise.
9375 (powerpc-*-eabisim*): Likewise.
9376 (powerpc-*-elf*): Likewise.
9377 (powerpc-*-eabialtivec*): Likewise.
9378 (powerpc-xilinx-eabi*): New case.
9379 Add t-fdpbit to tmake_file.
9380 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9381 (powerpc-*-rtems*): Likewise.
9382 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9383 tmake_file.
9384 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9385 tmake_file.
9386 (powerpc-*-lynxos*): Likewise.
9387 (powerpcle-*-elf*): Likewise.
9388 (powerpcle-*-eabisim*): Likewise.
9389 (powerpcle-*-eabi*): Likewise.
9390 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9391 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9392 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9393 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9394 (rx-*-elf): Add t-fdpbit to tmake_file.
9395 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9396 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9397 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9398 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9399 sh*-*-netbsd*.
9400 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9401 (sh-wrs-vxworks): Likewise.
9402 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9403 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9404 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9405 (sparc64-*-rtems*): ... new case.
9406 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9407 (spu-*-elf*): Likewise.
9408 Add spu/t-elf to tmake_file.
9409 (v850*-*-*): Add t-fdpbit to tmake_file.
9410 (xstormy16-*-elf): Likewise.
9411 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9412 (mep*-*-*): Likewise.
9413
201cdb74
RO
94142011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9415
9416 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9417 variables.
9418 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9419 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9420 (install-unwind_h): New target.
9421 (all): Depend on it.
9422 * config.host (unwind_header): New variable.
9423 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9424 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9425 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9426 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9427 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9428 Set unwind_header.
9429 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9430 Set unwind_header.
9431 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9432 arm*-*-eabi*.
9433 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9434 Set unwind_header.
9435 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9436 (ia64*-*-freebsd*): Likewise.
9437 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9438 tmake_file.
9439 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9440 $with_system_libunwind.
9441 (ia64*-*-hpux*): Set tmake_file.
9442 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9443 (picochip-*-*): Set tmake_file.
9444 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9445 md_unwind_header.
9446 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9447 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9448 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9449 (xtensa*-*-elf*): Set tmake_file.
9450 (xtensa*-*-linux*): Likewise.
9451 * configure.ac: Include ../config/unwind_ipinfo.m4.
9452 Call GCC_CHECK_UNWIND_GETIPINFO.
9453 Link unwind.h to $unwind_header.
9454 * configure: Regenerate.
9455 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9456 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9457 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9458 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9459 * config/unwind-dw2-fde-darwin.c: New file.
9460 * config/arm/libunwind.S, config/arm/pr-support.c,
9461 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9462 config/arm/unwind-arm.h,: New files.
9463 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9464 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9465 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9466 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9467 config/ia64/unwind-ia64.h: New files.
9468 * config/picochip/t-picochip: New file.
9469 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9470 files.
9471 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9472 * config/s390/t-tpf (LIB2ADDEH): Remove.
9473 * config/t-darwin (LIB2ADDEH): Set.
9474 * config/t-eh-dw2-dip: New file.
9475 * config/t-libunwind, config/t-libunwind-elf: New files.
9476 * config/t-sol2 (LIB2ADDEH): Remove.
9477 * config/xtensa/t-xtensa: New file.
9478
40f2f11f
L
94792011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9480
9481 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9482 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9483 long long to check rt_sigreturn syscall.
9484
bd15e32c
AM
94852011-08-02 Alan Modra <amodra@gmail.com>
9486
9487 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9488 Restore for indirect call bcrtl from correct stack slot, and only
9489 if cfa+40 isn't valid.
9490
655b30bf
JB
94912011-08-01 Julian Brown <julian@codesourcery.com>
9492
9493 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9494 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9495 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9496
247eb06f
JB
94972011-08-01 Julian Brown <julian@codesourcery.com>
9498
9499 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9500 (libgcc-std.ver.in): Use above.
9501 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9502 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9503 throughout file.
9504 * config/t-fixedpoint-gnu-prefix: New file.
9505 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9506 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9507 instead of __PFX__.
9508
02a8fe00
L
95092011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9510
9511 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9512 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9513 for x86-64. Properly check __x86_64__ and __LP64__.
9514
5fce9126
L
95152010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9516
9517 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9518 version.
9519 (_FP_WS_TYPE): Likewise.
9520 (_FP_I_TYPE): Likewise.
9521
2374a88a
AM
95222011-07-28 Alan Modra <amodra@gmail.com>
9523
9524 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9525 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9526 in a plt call stub. Do restore r2 if stopped on bctrl.
9527
e44dbbe1
RO
95282011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9529
9530 * config.host (i[3456x]86-*-netware*): Remove.
9531 * config/i386/netware-crt0.c, config/i386/t-nwld,
9532 config/i386/t-slibgcc-nwld: Remove.
9533
bcead286
BS
95342011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9535
9536 * config.host: Handle tic6x-*-*.
9537 * config/c6x/c6x-abi.h: New file.
9538
b3fe1584
RO
95392011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9540
9541 * config/i386/crtprec.c: New file.
9542 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9543 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9544 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9545 (x86_64-*-darwin*): Likewise.
9546 (i[34567]86-*-solaris2*: Likewise.
9547
35d8090d
RO
95482011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9549
9550 * config/alpha/crtfastmath.c: New file.
9551 * config/i386/crtfastmath.c: New file.
9552 * config/ia64/crtfastmath.c: New file.
9553 * config/mips/crtfastmath.c: New file.
9554 * config/sparc/crtfastmath.c: New file.
9555
9556 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9557 crtfastmath.c.
9558 Add -frandom-seed=gcc-crtfastmath.
9559 * config/alpha/t-crtfm: Remove.
9560 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9561 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9562
9563 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9564 (alpha*-dec-osf5.1*): Likewise.
9565 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9566 Add crtfastmath.o to extra_parts.
9567 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9568 Add crtfastmath.o to extra_parts.
9569 (x86_64-*-darwin*): Likewise.
9570 (x86_64-*-mingw*): Likewise.
9571 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9572 (ia64*-*-freebsd*): Likewise.
9573 (ia64*-*-linux*): Likewise.
9574 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9575 Add crtfastmath.o to extra_parts.
9576
e141542e
RO
95772011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9578
9579 * config/darwin-crt3.o: New file.
9580 * config/rs6000/darwin-crt2.c: New file.
9581 * config/t-darwin: New file.
9582 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9583 (crt2.o): New rule.
9584 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9585 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9586 (powerpc64-*-darwin*): Likewise.
9587
2d1efe2d
RO
95882011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9589
9590 * config/i386/netware-crt0.c: New file.
9591 * config/i386/t-nwld: Rename to ...
9592 * config/i386/t-slibgcc-nwld: ... this.
9593 * config/i386/t-nwld: New file.
9594 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9595 tmake_file.
9596 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9597 extra_parts.
9598
4a8bb046
RO
95992011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9600
9601 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9602 i386/t-crtstuff.
9603 * configure: Regenerate.
9604
2d8d5935
RO
96052011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9606
9607 * dfp-bit.c, dfp-bit.h: New files.
9608 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9609 variables.
9610 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9611 ($(d64pbit-o)): Likewise.
9612 ($(d128pbit-o)): Likewise.
9613 * config/t-dfprules: New file.
9614 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9615 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9616 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9617 (x86_64-*-linux*): Likewise.
9618 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9619 (i[34567]86-*-cygwin*): Likewise.
9620 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9621 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9622
2c50b2c3
RO
96232011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9624
9625 * Makfile.in (LIBGCOV): New variable.
9626 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9627 * libgcov.c: New file.
9628
a039d7c2
RO
96292011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9630
9631 * fixed-bit.c, fixed-bit.h: New files.
9632 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9633 refer to fixed-bit.c.
9634
1e4b2746
JM
96352011-07-07 Joseph Myers <joseph@codesourcery.com>
9636
9637 * config.host (*local*): Remove.
9638
fbdd5d87
RO
96392011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9640
9641 PR target/39150
9642 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9643 like i?86-*-solaris2.1[0-9]*.
9644 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9645 * configure.ac (i?86-*-solaris2*): Likewise.
9646 * configure: Regenerate.
9647
9e7714f4
TS
96482011-07-06 Thomas Schwinge <thomas@schwinge.name>
9649
9650 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9651 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9652 md_unwind_header by splitting out of...
9653 (i[34567]86-*-linux*): ... this.
9654 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9655 Remove md_unwind_header by splitting out of...
9656 (x86_64-*-linux*): ... this.
9657
6dab9931
GJL
96582011-07-04 Georg-Johann Lay <avr@gjlay.de>
9659
9660 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9661
4be46d19
NC
96622011-06-28 Nick Clifton <nickc@redhat.com>
9663
9664 * config.host: Recognize all V850 variants.
9665
1da9434b
UB
96662011-06-22 Uros Bizjak <ubizjak@gmail.com>
9667
9668 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9669
e4d48a4d
RO
96702011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9671
9672 * shared-object.mk (c_flags-$o): Save c_flags.
9673 ($(base)$(objext)): Use it.
9674 ($(base)_s$(objext)): Likewise.
9675
3801c801
BS
96762011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9677
9678 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9679 * libgcc-std.ver.in (GCC_4.7.0): New section.
9680
0ad8bb3b 96812011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9682
0ad8bb3b
GJL
9683 PR target/49313
9684 PR target/29524
9685 * config/avr/t-avr: Fix line endings.
9686 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9687 _parityXX2.
9688
ea963999
OH
96892011-06-14 Olivier Hainque <hainque@adacore.com>
9690 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9691
9692 * config/mips/irix6-unwind.h: New file.
9693 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9694
b11b0904
EB
96952011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9696
9697 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9698 (sparc64_fallback_frame_state): Use it.
9699 (sparc64_frob_update_context): Further adjust context.
9700 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9701 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9702 * config/sparc/sol2-cn.S: Likewise.
9703
10e48e39
RO
97042011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9705
9706 * enable-execute-stack-empty.c: New file.
9707 * enable-execute-stack-mprotect.c: New file.
9708 * config/i386/enable-execute-stack-mingw32.c: New file.
9709 * config.host (enable_execute_stack): New variable.
9710 Select appropriate variants.
9711 * configure.ac: Link enable-execute-stack.c to
9712 $enable_execute_stack.
9713 * configure: Regenerate.
9714 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9715 (lib2funcs): Remove _enable_execute_stack.
9716
10c4cabc
DM
97172011-06-09 David S. Miller <davem@davemloft.net>
9718 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9719
9720 * config.host (sparc-*-linux*): Correct md_unwind_header
9721 filename.
9722 (s390x-ibm-tpf*): Fix typo.
9723
aa4203e7
RO
97242011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9725
9726 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9727 Add crtfastmath.o to extra_parts.
9728 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9729 mips/t-crtfm.
9730 * config/mips/t-crtfm: Remove.
9731
0defd786
JDA
97322011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9733
9734 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9735
82f247af
KK
97362011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9737
9738 * config.host (sh*-*-linux*): Fix typo.
9739
58cd1d70
RO
97402011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9741
9742 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9743 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9744 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9745 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9746 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9747 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9748 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9749 Wrap in !__MINGW64__.
9750 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9751 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9752 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9753 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9754 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9755 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9756 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9757 Wrap in !__LP64__.
9758 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9759 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9760 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9761 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9762 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9763 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9764 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9765 * config/no-unwind.h: New file.
9766 * config.host (md_unwind_header): Document.
9767 Define.
9768 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9769 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9770 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9771 hppa[12]*-*-hpux11*): Set md_unwind_header.
9772 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9773 Set md_unwind_header.
9774 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9775 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9776 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9777 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9778 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9779 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9780 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9781 md_unwind_header.
9782 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9783 * configure: Regenerate.
9784
737346fa
RO
97852011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9786
9787 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9788 Set tmake_file, extra_parts.
9789 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9790 Remove O32 support.
9791 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9792 Remove O32 support.
9793 * config/mips/t-irix6: New file.
9794 * config/mips/t-slibgcc-irix: New file.
9795
c192cee6
RO
97962011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9797
9798 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9799 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9800
ee33b5f0
RO
98012011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9802
9803 * configure.ac (target_thread_file): Determine thread model.
9804 * configure: Regenerate.
9805 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9806 * config/alpha/t-alpha: New file.
9807 * config/alpha/t-crtfm: Use $<.
9808 * config/alpha/t-ieee: New file.
9809 * config/alpha/t-osf-pthread: New file.
9810 * config/alpha/t-slibgcc-osf: New file.
9811 * config/alpha/libgcc-osf5.ver: New file.
9812
0699e415
RO
98132011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9814
9815 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9816 tmake_file.
9817 Add crtfastmath.o to extra_parts.
9818
a3fab9c2
RO
98192011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9820
9821 * config/gmon-sol2.c: Reindent.
9822 Cleanup comments.
9823 Remove, correct casts.
9824 Use STDERR_FILENO, NULL.
9825 (BASEADDRESS): Remove.
9826 (minbrk): Remove.
9827 (errno, sbrk): Remove declarations.
9828 (monstartup) [hp300]: Remove.
9829 (mcount): Remove.
9830
ca24c5ad
RO
98312011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9832
9833 * Makefile.in (cpu_type): Define.
9834 * config.host (i[34567]86-*-rtems*): Handle it.
9835 (i[34567]86-*-solaris2*): Move body ...
9836 (*-*-solaris2*): ... here.
9837 New case, generalize.
9838 (sparc-*-elf*): Handle it.
9839 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9840 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9841 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9842 Fold into ...
9843 (sparc*-*-solaris2*): ... this.
9844 New case.
9845 (sparc64-*-elf*): Handle it.
9846 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9847 Merge ../gcc/config/i386/gmon-sol2.c.
9848 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9849 Use C comments.
9850 Merge ../gcc/config/i386/sol2-gc1.asm.
9851 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9852 Use C comments.
9853 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9854 Use C comments.
9855 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9856 * config/i386/t-crtstuff: New file.
9857 * config/i386/t-softfp: New file.
9858 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9859 $(T)crti.o, $(T)crtn.o): Remove.
9860 (gcrt1.o): New rule.
9861 (TARGET_LIBGCC2_CFLAGS): Remove.
9862 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9863 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9864 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9865 * config/sparc/t-sol2: New file.
9866 * config/sparc/t-crtfm: Move to ...
9867 * config/t-crtfm: ... this.
9868 Use $(cpu_type), $<.
9869 * config/t-crtin: New file.
9870 * config/sparc/t-softfp: New file.
9871 * config/sparc/t-softmul: New file.
9872 * config/t-rtems: New file.
9873 * config/t-slibgcc: New file.
9874 * config/t-slibgcc-elf-ver: New file.
9875 * config/t-slibgcc-gld: New file.
9876 * config/t-slibgcc-sld: New file.
9877 * config/t-sol2: New file.
9878 * configure.ac: Include ../config/lib-ld.m4.
9879 Call AC_LIB_PROG_LD_GNU.
9880 Substitute cpu_type.
9881 * configure: Regenerate.
9882
ad5f3d7b
BS
98832011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9884
9885 PR bootstrap/49173
9886 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9887 libgcc-std.ver in the build directory.
9888 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9889 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9890
cdbf4541
BS
98912011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9892
9893 * libgcc-std.ver.in: New file.
9894 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9895 variables.
9896 (libgcc-std.ver): New rule.
9897 * config/t-gnu-prefix: New file.
9898
c8028650
RO
98992011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9900
9901 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9902
4a68b4ca
JM
99032011-05-10 Joseph Myers <joseph@codesourcery.com>
9904
9905 * config/i386/darwin-lib.h: New file.
9906
80cf2e08
JM
99072011-05-10 Joseph Myers <joseph@codesourcery.com>
9908
9909 * config/arm/symbian-lib.h: New.
9910
a3330c9d
CD
99112011-05-04 Chris Demetriou <cgd@google.com>
9912
9913 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9914 (__x86.get_pc_thunk.bx): ...this.
9915 (__morestack): Adjust for rename, remove undef of __i686.
9916
6ace0756
CD
99172011-05-03 Chris Demetriou <cgd@google.com>
9918
9919 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9920
ebb9f8b0
JM
99212011-03-22 Joseph Myers <joseph@codesourcery.com>
9922
9923 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9924 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9925 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9926 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9927 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9928 Remove cases.
9929
9cfa1499
AT
99302011-03-14 Andreas Tobler <andreast@fgznet.ch>
9931
9932 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9933 Adjust copyright year.
9934
457186f6
ILT
99352011-03-07 Ian Lance Taylor <iant@google.com>
9936
9937 * generic-morestack.c (__splitstack_find): Adjust returned stack
9938 pointer to include all registers pushed by __morestack.
9939
58c741a6
DK
99402011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9941
9942 PR target/40125
9943 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9944 (toolexecdir): Calculate and AC_SUBST.
9945 (toolexeclibdir): Likewise.
9946 * Makefile.in (target_noncanonical): Import.
9947 (toolexecdir): Likewise.
9948 (toolexeclibdir): Likewise.
9949 * configure: Regenerate.
9950
26716c44
NF
99512010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9952
9953 PR target/46040
9954 * config/arm/bpabi.h: Rename to...
9955 * config/arm/bpabi-lib.h: ...this.
9956
b595b1a1
RO
99572010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9958
9959 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9960 appropriate.
9961 * configure: Regenerate.
9962
a3abe41c
NF
99632010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9964
9965 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9966 __FLOAT_WORD_ORDER__.
9967 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9968 Delete.
9969
455c8f48
RW
99702010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9971
9972 PR other/46202
9973 * Makefile.in (install-strip): New phony target.
9974
f3824a8b
ILT
99752010-11-07 Ian Lance Taylor <iant@google.com>
9976
9977 PR target/46089
9978 * config/i386/morestack.S (__morestack_large_model): New
9979 function.
9980
18ed6ee4
NF
99812010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9982
9983 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9984 Delete.
9985 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9986
8ac7fdcb
NF
99872010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9988
9989 * config/arm/bpabi.h: New file.
9990 * config/frv/frv-abi.h: New file.
9991
cdb388c2
ILT
99922010-10-01 Ian Lance Taylor <iant@google.com>
9993
9994 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9995 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9996
ef7c141c
L
99972010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9998
9999 PR target/45858
10000 * config.host: Add the missing `$'.
10001
80920132
ME
100022010-09-30 Michael Eager <eager@eagercon.com>
10003
10004 * config.host: Add microblaze*-*-*.
10005 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10006 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10007 udivsi3.asm,umodsi3.asm}: New.
10008
6dace308
ILT
100092010-09-28 Ian Lance Taylor <iant@google.com>
10010
10011 * configure.ac: Adjust CFI test to test assembler directly rather
10012 than checking gcc preprocessor macro.
10013 * configure: Rebuild.
10014
b6110d6d
ILT
100152010-09-27 Ian Lance Taylor <iant@google.com>
10016
10017 * configure.ac: Test whether assembler supports CFI directives.
10018 * config.host: Only add t-stack and i386/t-stack-i386 to
10019 tmake_file if libgcc_cv_cfi is "yes".
10020 * configure: Rebuild.
10021
7458026b
ILT
100222010-09-27 Ian Lance Taylor <iant@google.com>
10023
10024 * generic-morestack.h: New file.
10025 * generic-morestack.c: New file.
10026 * generic-morestack-thread.c: New file.
10027 * config/i386/morestack.S: New file.
10028 * config/t-stack: New file.
10029 * config/i386/t-stack-i386: New file.
10030 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10031 i386/t-stack-i386 to tmake_file.
10032
5b50fc0c
IS
100332010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10034
10035 * Makefile.in (libgcc-extra-parts): Check for static archives and
10036 invoke ranlib after installing them.
10037 (gcc-extra-parts): Likewise.
10038 (install-leaf): Likewise.
10039
b93cf342
L
100402010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10041
10042 * configure: Regenerated.
10043
996b42ef
KT
100442010-09-10 Kai Tietz <kai.tietz@onevision.com>
10045
b93cf342 10046 * configure: Regenerated.
996b42ef 10047
be1c764e
GP
100482010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10049 Andrew Pinski <pinskia@gmail.com>
10050
1da9434b 10051 PR target/40959
be1c764e
GP
10052 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10053
cc0ae0ca
L
100542010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10055
10056 PR target/45524
10057 * configure: Regenerated.
10058
84f47d20
AS
100592010-09-06 Andreas Schwab <schwab@redhat.com>
10060
10061 * configure: Regenerate.
10062
4159fb8d
UB
100632010-09-03 Uros Bizjak <ubizjak@gmail.com>
10064
10065 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10066 64bit targets.
10067 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10068 for 64bit targets.
10069
0df8fcc8
UB
100702010-09-03 Uros Bizjak <ubizjak@gmail.com>
10071 Iain Sandoe <iains@gcc.gnu.org>
10072
10073 PR target/45476
10074 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10075 LIB2FUNCS_EXCLUDE functions.
10076
3c39bca6
AK
100772010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10078
10079 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10080 Include dfp.m4.
10081 * configure: Regenerate.
10082
d78552bd
UB
100832010-09-01 Uros Bizjak <ubizjak@gmail.com>
10084
10085 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10086 i386/t-freebsd to tmake_file.
10087 * config/i386/t-freebsd: New file.
10088 * config/i386/libgcc-bsd.ver: New file.
10089
c5b79d4e
NF
100902010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10091
10092 * config.host (powerpc*-eabispe*): Set tmake_file.
10093 (powerpc*-eabi*): Likewise.
10094 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10095 crtbeginS, crtendS, crtbeginT.
10096
48b09a92
KH
100972010-06-12 Kazu Hirata <kazu@codesourcery.com>
10098
10099 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10100 to tmake_file. Add crtfastmath.o to extra_parts.
10101 * config/mips/t-crtfm: New.
10102
7d296953 101032010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
10104
10105 * config.host (sparc64-*-rtems*): New target.
10106
ed104137
RO
101072010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10108
10109 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10110 assembler syntax.
10111
3f56ef8b
TS
101122010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10113
10114 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10115
8c200350
RO
101162010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10117
10118 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10119 alpha-dec-osf5.0* support.
10120
7d296953 101212010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
10122
10123 * config.host: Add lm32-*-rtems*.
10124
f128db92 101252010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 10126 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
10127
10128 PR target/39048
10129 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10130 like other remaining 32-bit x86 OSes.
10131 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10132 assembler syntax.
10133 * config/i386/libgcc-sol2.ver: New file.
10134 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10135
7d296953 101362010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
10137
10138 PR c/43553
10139 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10140 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10141 is used and substitute set_use_emutls.
10142 * configure: Regenerated.
10143
15baf7f8
TG
101442010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10145
10146 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10147
7f5441df
RO
101482010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10149
10150 PR target/38085
10151 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10152 MULTILIB_CFLAGS.
10153 ($(T)gcrt1.o): Likewise.
10154 ($(T)crt1.o): Likewise.
10155 ($(T)crti.o): Likewise.
10156 ($(T)crtn.o): Likewise.
10157
ef74edbd
RW
101582010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10159
10160 PR other/42980
10161 * Makefile.in (install): Use $(MAKE) string in rule, for
10162 parallel make.
10163
e7c914db
HPN
101642010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10165
10166 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10167 * config/mmix/t-mmix: New file.
10168 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10169
1bcb71c4
JH
101702010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10171
10172 PR java/41991
10173 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10174 SHLIB_MAPFILES.
10175
e6e50811
AG
101762010-01-04 Anthony Green <green@moxielogic.com>
10177
10178 * config/moxie/crti.asm, config/moxie/crtn.asm,
10179 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10180 config/moxie/t-moxie: New files.
10181 * config.host: Add t-moxie-softfp reference.
10182
7d296953 101832009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
10184
10185 PR other/39888
10186 * config/t-slibgcc-darwin: Fix embedded rpaths for
10187 --enable-version-specific-runtime-libs, build extension stub
10188 libs exposing features available from current libgcc_s.
10189
7d296953 101902009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 10191
d78552bd
UB
10192 * config.host: Add lm32 targets.
10193 * config/lm32: New directory.
10194 * config/lm32/libgcc_lm32.h: New file.
10195 * config/lm32/_mulsi3.c: New file.
10196 * config/lm32/_udivmodsi4.c: New file.
10197 * config/lm32/_divsi3.c: New file.
10198 * config/lm32/_modsi3.c: New file.
10199 * config/lm32/_udivsi3.c: New file.
10200 * config/lm32/_umodsi3.c: New file.
10201 * config/lm32/_lshrsi3.S: New file.
10202 * config/lm32/_ashrsi3.S: New file.
10203 * config/lm32/_ashlsi3.S: New file.
10204 * config/lm32/crti.S: New file.
10205 * config/lm32/crtn.S: New file.
10206 * config/lm32/t-lm32: New file.
10207 * config/lm32/t-elf: New file.
10208 * config/lm32/t-uclinux: New file.
aa4945c1 10209
65a324b4
NC
102102009-10-26 Nick Clifton <nickc@redhat.com>
10211
10212 * config.host: Add support for RX target.
10213 * config/rx: New directory.
10214 * config/rx/rx-abi-functions.c: New file. Supplementary
10215 functions for libgcc to support the RX ABI.
10216 * config/rx/rx-abi.h: New file. Supplementary header file for
10217 libgcc RX ABI functions.
10218 * config/rx/t-rx: New file: Makefile fragment for building
10219 libgcc for the RX.
10220
dfb3b0e3
UB
102212009-10-09 Uros Bizjak <ubizjak@gmail.com>
10222
10223 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10224 constraint of y0 to "g".
10225
81dd9fd7
AK
102262009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10227
10228 * config.host: Include the s390 makefile fragments.
10229 * config/s390/32/_fixdfdi.c: New file.
10230 * config/s390/32/_fixsfdi.c: New file.
10231 * config/s390/32/_fixtfdi.c: New file.
10232 * config/s390/32/_fixunsdfdi.c: New file.
10233 * config/s390/32/_fixunssfdi.c: New file.
10234 * config/s390/32/_fixunstfdi.c: New file.
10235 * config/s390/32/t-floattodi: New file.
10236 * config/s390/libgcc-glibc.ver: New file.
10237 * config/s390/t-crtstuff: New file.
10238 * config/s390/t-linux: New file.
10239 * config/s390/t-tpf: New file.
10240
df58e648
RW
102412009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10242
10243 * configure.ac (AC_PREREQ): Bump to 2.64.
10244
79052be3
KK
102452009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10246
10247 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10248
5213506e
RW
102492009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10250
10251 * configure: Regenerate.
10252
a9a25daa
DR
102532009-08-09 Douglas B Rupp <rupp@gnat.com>
10254
10255 * config.host (ia64-hp-*vms*): New target.
10256 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10257 with ia64-hp-*vms*.
10258
6efbd53f
RW
102592009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10260
10261 * configure.ac: Add snippet for maintainer-mode.
10262 * configure: Regenerate.
10263 * Makefile.in (AUTOCONF, configure_deps): New variables.
10264 ($(srcdir)/configure)): New rule, active only with maintainer
10265 mode turned on.
10266
7acf4da6
DD
102672009-06-23 DJ Delorie <dj@redhat.com>
10268
10269 Add MeP port.
10270 * config.host: Add mep support.
10271
54f549af
KT
102722009-06-22 Kai Tietz <kai.tietz@onevision.com>
10273
34481f28 10274 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10275 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
10276
10277 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10278 for mingw targets.
54f549af
KT
10279 * config/i386/64/_multc3.c: Likewise.
10280 * config/i386/64/_powitf2.c: Likewise.
10281 * config/i386/64/eqtf2.c: Likewise.
10282 * config/i386/64/getf2.c: Likewise.
10283 * config/i386/64/letf2.c: Likewise.
10284 * config/i386/64/letf2.c: Likewise.
34481f28
UB
10285 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10286 unsigned long long for x64 mingw targets.
10287 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10288 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 10289
fea96e25
MR
102902009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10291
10292 * config.host (vax-*-linux*): New.
10293
cceb575c
AG
102942009-05-31 Anthony Green <green@moxielogic.com>
10295
10296 * config.host: Add moxie support.
10297 * config/moxie/t-moxie: New file.
10298
7d296953 102992009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
10300
10301 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10302 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 10303
532bfb0a
AJ
103042009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10305
10306 * config.host: Add i386/${host_address}/t-fprules-softfp to
10307 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10308
748086b7
JJ
103092009-04-09 Nick Clifton <nickc@redhat.com>
10310
10311 * config/ia64/tf-signs.c: Change copyright header to refer to
10312 version 3 of the GNU General Public License with version 3.1
10313 of the GCC Runtime Library Exception and to point readers at
10314 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10315 web page.
10316 * config/i386/32/tf-signs.c: Likewise.
10317 * config/libbid/_addsub_dd.c: Likewise.
10318 * config/libbid/_addsub_sd.c: Likewise.
10319 * config/libbid/_addsub_td.c: Likewise.
10320 * config/libbid/_dd_to_df.c: Likewise.
10321 * config/libbid/_dd_to_di.c: Likewise.
10322 * config/libbid/_dd_to_sd.c: Likewise.
10323 * config/libbid/_dd_to_sf.c: Likewise.
10324 * config/libbid/_dd_to_si.c: Likewise.
10325 * config/libbid/_dd_to_td.c: Likewise.
10326 * config/libbid/_dd_to_tf.c: Likewise.
10327 * config/libbid/_dd_to_udi.c: Likewise.
10328 * config/libbid/_dd_to_usi.c: Likewise.
10329 * config/libbid/_dd_to_xf.c: Likewise.
10330 * config/libbid/_df_to_dd.c: Likewise.
10331 * config/libbid/_df_to_sd.c: Likewise.
10332 * config/libbid/_df_to_td.c: Likewise.
10333 * config/libbid/_di_to_dd.c: Likewise.
10334 * config/libbid/_di_to_sd.c: Likewise.
10335 * config/libbid/_di_to_td.c: Likewise.
10336 * config/libbid/_div_dd.c: Likewise.
10337 * config/libbid/_div_sd.c: Likewise.
10338 * config/libbid/_div_td.c: Likewise.
10339 * config/libbid/_eq_dd.c: Likewise.
10340 * config/libbid/_eq_sd.c: Likewise.
10341 * config/libbid/_eq_td.c: Likewise.
10342 * config/libbid/_ge_dd.c: Likewise.
10343 * config/libbid/_ge_sd.c: Likewise.
10344 * config/libbid/_ge_td.c: Likewise.
10345 * config/libbid/_gt_dd.c: Likewise.
10346 * config/libbid/_gt_sd.c: Likewise.
10347 * config/libbid/_gt_td.c: Likewise.
10348 * config/libbid/_isinfd128.c: Likewise.
10349 * config/libbid/_isinfd32.c: Likewise.
10350 * config/libbid/_isinfd64.c: Likewise.
10351 * config/libbid/_le_dd.c: Likewise.
10352 * config/libbid/_le_sd.c: Likewise.
10353 * config/libbid/_le_td.c: Likewise.
10354 * config/libbid/_lt_dd.c: Likewise.
10355 * config/libbid/_lt_sd.c: Likewise.
10356 * config/libbid/_lt_td.c: Likewise.
10357 * config/libbid/_mul_dd.c: Likewise.
10358 * config/libbid/_mul_sd.c: Likewise.
10359 * config/libbid/_mul_td.c: Likewise.
10360 * config/libbid/_ne_dd.c: Likewise.
10361 * config/libbid/_ne_sd.c: Likewise.
10362 * config/libbid/_ne_td.c: Likewise.
10363 * config/libbid/_sd_to_dd.c: Likewise.
10364 * config/libbid/_sd_to_df.c: Likewise.
10365 * config/libbid/_sd_to_di.c: Likewise.
10366 * config/libbid/_sd_to_sf.c: Likewise.
10367 * config/libbid/_sd_to_si.c: Likewise.
10368 * config/libbid/_sd_to_td.c: Likewise.
10369 * config/libbid/_sd_to_tf.c: Likewise.
10370 * config/libbid/_sd_to_udi.c: Likewise.
10371 * config/libbid/_sd_to_usi.c: Likewise.
10372 * config/libbid/_sd_to_xf.c: Likewise.
10373 * config/libbid/_sf_to_dd.c: Likewise.
10374 * config/libbid/_sf_to_sd.c: Likewise.
10375 * config/libbid/_sf_to_td.c: Likewise.
10376 * config/libbid/_si_to_dd.c: Likewise.
10377 * config/libbid/_si_to_sd.c: Likewise.
10378 * config/libbid/_si_to_td.c: Likewise.
10379 * config/libbid/_td_to_dd.c: Likewise.
10380 * config/libbid/_td_to_df.c: Likewise.
10381 * config/libbid/_td_to_di.c: Likewise.
10382 * config/libbid/_td_to_sd.c: Likewise.
10383 * config/libbid/_td_to_sf.c: Likewise.
10384 * config/libbid/_td_to_si.c: Likewise.
10385 * config/libbid/_td_to_tf.c: Likewise.
10386 * config/libbid/_td_to_udi.c: Likewise.
10387 * config/libbid/_td_to_usi.c: Likewise.
10388 * config/libbid/_td_to_xf.c: Likewise.
10389 * config/libbid/_tf_to_dd.c: Likewise.
10390 * config/libbid/_tf_to_sd.c: Likewise.
10391 * config/libbid/_tf_to_td.c: Likewise.
10392 * config/libbid/_udi_to_dd.c: Likewise.
10393 * config/libbid/_udi_to_sd.c: Likewise.
10394 * config/libbid/_udi_to_td.c: Likewise.
10395 * config/libbid/_unord_dd.c: Likewise.
10396 * config/libbid/_unord_sd.c: Likewise.
10397 * config/libbid/_unord_td.c: Likewise.
10398 * config/libbid/_usi_to_dd.c: Likewise.
10399 * config/libbid/_usi_to_sd.c: Likewise.
10400 * config/libbid/_usi_to_td.c: Likewise.
10401 * config/libbid/_xf_to_dd.c: Likewise.
10402 * config/libbid/_xf_to_sd.c: Likewise.
10403 * config/libbid/_xf_to_td.c: Likewise.
10404 * config/libbid/bid128.c: Likewise.
10405 * config/libbid/bid128_2_str.h: Likewise.
10406 * config/libbid/bid128_2_str_macros.h: Likewise.
10407 * config/libbid/bid128_2_str_tables.c: Likewise.
10408 * config/libbid/bid128_add.c: Likewise.
10409 * config/libbid/bid128_compare.c: Likewise.
10410 * config/libbid/bid128_div.c: Likewise.
10411 * config/libbid/bid128_fma.c: Likewise.
10412 * config/libbid/bid128_logb.c: Likewise.
10413 * config/libbid/bid128_minmax.c: Likewise.
10414 * config/libbid/bid128_mul.c: Likewise.
10415 * config/libbid/bid128_next.c: Likewise.
10416 * config/libbid/bid128_noncomp.c: Likewise.
10417 * config/libbid/bid128_quantize.c: Likewise.
10418 * config/libbid/bid128_rem.c: Likewise.
10419 * config/libbid/bid128_round_integral.c: Likewise.
10420 * config/libbid/bid128_scalb.c: Likewise.
10421 * config/libbid/bid128_sqrt.c: Likewise.
10422 * config/libbid/bid128_string.c: Likewise.
10423 * config/libbid/bid128_to_int16.c: Likewise.
10424 * config/libbid/bid128_to_int32.c: Likewise.
10425 * config/libbid/bid128_to_int64.c: Likewise.
10426 * config/libbid/bid128_to_int8.c: Likewise.
10427 * config/libbid/bid128_to_uint16.c: Likewise.
10428 * config/libbid/bid128_to_uint32.c: Likewise.
10429 * config/libbid/bid128_to_uint64.c: Likewise.
10430 * config/libbid/bid128_to_uint8.c: Likewise.
10431 * config/libbid/bid32_to_bid128.c: Likewise.
10432 * config/libbid/bid32_to_bid64.c: Likewise.
10433 * config/libbid/bid64_add.c: Likewise.
10434 * config/libbid/bid64_compare.c: Likewise.
10435 * config/libbid/bid64_div.c: Likewise.
10436 * config/libbid/bid64_fma.c: Likewise.
10437 * config/libbid/bid64_logb.c: Likewise.
10438 * config/libbid/bid64_minmax.c: Likewise.
10439 * config/libbid/bid64_mul.c: Likewise.
10440 * config/libbid/bid64_next.c: Likewise.
10441 * config/libbid/bid64_noncomp.c: Likewise.
10442 * config/libbid/bid64_quantize.c: Likewise.
10443 * config/libbid/bid64_rem.c: Likewise.
10444 * config/libbid/bid64_round_integral.c: Likewise.
10445 * config/libbid/bid64_scalb.c: Likewise.
10446 * config/libbid/bid64_sqrt.c: Likewise.
10447 * config/libbid/bid64_string.c: Likewise.
10448 * config/libbid/bid64_to_bid128.c: Likewise.
10449 * config/libbid/bid64_to_int16.c: Likewise.
10450 * config/libbid/bid64_to_int32.c: Likewise.
10451 * config/libbid/bid64_to_int64.c: Likewise.
10452 * config/libbid/bid64_to_int8.c: Likewise.
10453 * config/libbid/bid64_to_uint16.c: Likewise.
10454 * config/libbid/bid64_to_uint32.c: Likewise.
10455 * config/libbid/bid64_to_uint64.c: Likewise.
10456 * config/libbid/bid64_to_uint8.c: Likewise.
10457 * config/libbid/bid_b2d.h: Likewise.
10458 * config/libbid/bid_binarydecimal.c: Likewise.
10459 * config/libbid/bid_conf.h: Likewise.
10460 * config/libbid/bid_convert_data.c: Likewise.
10461 * config/libbid/bid_decimal_data.c: Likewise.
10462 * config/libbid/bid_decimal_globals.c: Likewise.
10463 * config/libbid/bid_div_macros.h: Likewise.
10464 * config/libbid/bid_dpd.c: Likewise.
10465 * config/libbid/bid_flag_operations.c: Likewise.
10466 * config/libbid/bid_from_int.c: Likewise.
10467 * config/libbid/bid_functions.h: Likewise.
10468 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10469 * config/libbid/bid_inline_add.h: Likewise.
10470 * config/libbid/bid_internal.h: Likewise.
10471 * config/libbid/bid_round.c: Likewise.
10472 * config/libbid/bid_sqrt_macros.h: Likewise.
10473
104742009-04-09 Jakub Jelinek <jakub@redhat.com>
10475
10476 * Makefile.in: Change copyright header to refer to version
10477 3 of the GNU General Public License and to point readers at the
10478 COPYING3 file and the FSF's license web page.
10479 * config.host: Likewise.
10480
633dd061
AM
104812009-04-07 Alan Modra <amodra@bigpond.net.au>
10482
10483 * config.host: Reorder and merge to match config.gcc change.
10484
457d1d00
AM
104852009-04-03 Alan Modra <amodra@bigpond.net.au>
10486
10487 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10488
52c0e446
JM
104892009-03-28 Joseph Myers <joseph@codesourcery.com>
10490
10491 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10492 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10493 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10494 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10495
ba181049
UB
104962009-02-12 Uros Bizjak <ubizjak@gmail.com>
10497
10498 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10499 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10500
c252db20
L
105012009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10502
ba181049
UB
10503 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10504 ia64/t-softfp-compat to tmake_file.
c252db20
L
10505
10506 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10507
10508 * config/ia64/__divxf3.asm: New.
10509 * config/ia64/_fixtfdi.asm: Likewise.
10510 * config/ia64/_fixunstfdi.asm: Likewise.
10511 * config/ia64/_floatditf.asm: Likewise.
10512 * config/ia64/t-fprules-softfp: Likewise.
10513 * config/ia64/t-softfp-compat: Likewise.
10514 * config/ia64/tf-signs.c: Likewise.
10515
c60535f9
BE
105162009-01-18 Ben Elliston <bje@au.ibm.com>
10517
10518 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10519
ce16861e
BE
105202009-01-16 Ben Elliston <bje@au.ibm.com>
10521
10522 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10523 to tmake_file.
10524
bcf4713b
BE
105252009-01-13 Ben Elliston <bje@au.ibm.com>
10526
10527 * config/t-softfp: New file.
10528 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10529 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10530
7d296953 105312009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10532
10533 * config.host: Add m32r*-*-rtems*.
10534
7d296953 105352008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10536
10537 * config.host: Add m32c*-*-rtems*.
10538
19523300
RO
105392008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10540
10541 PR bootstrap/33100
10542 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10543 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10544 * configure: Regenerate.
10545 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10546 tmake_file here from gcc/config.gcc.
10547 Move extra_parts here from gcc/config.gcc.
10548 * config/i386/t-sol2: Move here from gcc/config/i386.
10549 Use gcc_srcdir instead of srcdir.
10550
0a4a51c7
AN
105512008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10552
10553 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10554 case.
10555
2a761e46
TS
105562008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10557
10558 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10559
c0451df7
TS
105602008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10561
10562 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10563
358da97e
HS
105642008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10565
10566 Add picoChip port.
10567 * config.host: Add picochip-*-*.
10568
c660f132
BW
105692008-08-06 Bob Wilson <bob.wilson@acm.org>
10570
10571 * config.host: Match more processor names for Xtensa.
10572
d1349557
L
105732008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10574
10575 * config/i386/64/t-softfp-compat: Update comments.
10576
dd7b73c0
L
105772008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10578
10579 * config/i386/64/_divtc3-compat.c: Moved to ...
10580 * config/i386/64/_divtc3.c: Here.
10581
10582 * config/i386/64/_multc3-compat.c: Moved to ...
10583 * config/i386/64/_multc3.c: Here.
10584
10585 * config/i386/64/_powitf2-compat.c: Moved to ...
10586 * config/i386/64/_powitf2.c: Here.
10587
10588 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10589 .c suffix instead of -compat.c.
10590
6e1fab3d
UB
105912008-07-05 Uros Bizjak <ubizjak@gmail.com>
10592
10593 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10594 (_FP_MUL_MEAT_D): Ditto.
10595 (_FP_DIV_MEAT_S): Ditto.
10596 (_FP_DIV_MEAT_D): Ditto.
10597
f92518d7
RS
105982008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10599
10600 * Makefile.in: Add support for __sync_* libgcc functions.
10601
d0aede14
L
106022008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10603
10604 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10605
c174f11c
L
106062008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10607
10608 PR boostrap/36702
10609 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10610 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10611
10612 * config/i386/64/t-fprules-softfp: Moved to ...
10613 * config/i386/64/t-softfp-compat: This. New.
10614
5f464fa2
UB
106152008-07-02 Uros Bizjak <ubizjak@gmail.com>
10616
10617 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10618 Initialize f with 0.0.
10619
ff473280
L
106202008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10621
10622 PR target/36669
10623 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10624
10625 * config/i386/64/_divtc3-compat.c: New.
10626 * config/i386/64/_multc3-compat.c: Likewise.
10627 * config/i386/64/_powitf2-compat.c: Likewise.
10628 * config/i386/64/eqtf2.c: Likewise.
10629 * config/i386/64/getf2.c: Likewise.
10630 * config/i386/64/letf2.c: Likewise.
10631 * config/i386/64/t-fprules-softfp: Likewise.
10632
106332008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10634
10635 * config.host: Add i386/${host_address}/t-fprules-softfp to
10636 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10637 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10638
10639 * configure.ac: Set host_address to 64 or 32 for x86.
10640 * configure: Regenerated.
10641
10642 * Makefile.in (config.status): Also depend on
10643 $(srcdir)/config.host.
10644
10645 * config/i386/32/t-fprules-softfp: New.
10646 * config/i386/32/tf-signs.c: Likewise.
10647
10648 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10649
106502008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10651 Uros Bizjak <ubizjak@gmail.com>
10652
10653 * config/i386/32/sfp-machine.h: New.
10654
30551d99
NF
106552008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10656
10657 * config/rs6000/t-ppccomm: Remove rules that conflict with
10658 auto-generated rules.
10659
18c04407
RW
106602008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10661
10662 * configure.ac: sinclude override.m4.
10663 * configure: Regenerate.
10664
10fbe77a
BRF
106652008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10666
10667 * configure: Regenerate.
10668
bc6d4c3f
JM
106692008-06-10 Joseph Myers <joseph@codesourcery.com>
10670
10671 * Makefile.in (DECNUMINC): Remove
10672 -I$(MULTIBUILDTOP)../../libdecnumber.
10673 * gstdint.h: New.
10674
cd985f66
JM
106752008-06-07 Joseph Myers <joseph@codesourcery.com>
10676
10677 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10678 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10679 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10680 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10681 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10682 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10683 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10684 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10685 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10686 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10687 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10688 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10689 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10690 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10691
93fea8d3
AL
106922008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10693
10694 * config.host (sh2[lbe]*-*-linux*): Allow target.
10695
18724e30
NF
106962008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10697
10698 * config/rs6000/t-ppccomm: Add build rules for new files.
10699 (LIB2ADD_ST): New variable.
10700
47583040
AH
107012008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10702
10703 PR target/34210
10704 PR target/35508
10705 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10706 * config/t-avr: New file. Build 16bit libgcc functions.
10707
cf8e67fe
JJ
107082008-03-02 Jakub Jelinek <jakub@redhat.com>
10709
10710 PR target/35401
10711 * config/t-slibgcc-darwin: Make install-leaf dependent on
10712 install-darwin-libgcc-stubs instead of install.
10713
8d8da227
JM
107142008-01-25 Joseph Myers <joseph@codesourcery.com>
10715
10716 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10717 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10718 sh-*-rtemscoff*): Remove cases.
10719
edbf8b16
RS
107202007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10721
10722 * Makefile.in (all): Use install-leaf rather than install.
10723 (install): Split most of the rule into...
10724 (install-leaf): ...this new one.
10725
89deeaff
EK
107262007-12-19 Etsushi Kato <ek.kato@gmail.com>
10727 Paolo Bonzini <bonzini@gnu.org>
10728
10729 PR target/30572
5f464fa2
UB
10730 * Makefile.in: Use @shlib_slibdir@ substitution to get
10731 correct install name on darwin.
89deeaff 10732 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10733
4081d704
HPN
107342007-12-15 Hans-Peter Nilsson <hp@axis.com>
10735
10736 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10737 cris-*-elf and cris-*-none.
10738 (crisv32-*-linux*): Similar, as cris-*-linux*.
10739
f43e89a3
RIL
107402007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10741
10742 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10743
b4e9c2c6
L
107442007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10745
10746 PR regression/33926
10747 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10748 * configure: Regenerated.
10749
b2a00c89
L
107502007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10751
10752 * Makefile.in (dfp-filenames): Replace decimal_globals,
10753 decimal_data, binarydecimal and convert_data with
10754 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10755 and bid_convert_data, respectively.
10756
8d2a9e0e
CF
107572007-09-17 Chao-ying Fu <fu@mips.com>
10758 Nigel Stephens <nigel@mips.com>
10759
10760 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10761 * Makefile.in (fixed_point): Define.
10762 Check if fixed_point is yes to build support functions.
10763 * configure.ac: Check for fixed_point support.
10764 * configure: Regenerated.
10765 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10766 funcs, modes, from, to.
10767
2b53935d
JJ
107682007-09-11 Janis Johnson <janis187@us.ibm.com
10769
10770 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10771
2533577f
JJ
107722007-09-10 Janis Johnson <janis187@us.ibm.com>
10773
10774 * Makefile.in (dfp-filenames): Remove decUtility, add
10775 decDouble, decPacked, decQuad, decSingle.
10776
3ae3dbd6
HK
107772007-08-27 Hans Kester <hans.kester@ellips.nl>
10778
10779 * config.host : Add x86_64-elf target.
10780
22867d02
L
107812007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10782
10783 * configure.ac (set_have_cc_tls): Add a missing =.
10784 * configure: Regenerated.
10785
6f461e76
L
107862007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10787
10788 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10789 and x86_64-*-linux*.
10790
10791 * config/t-tls: New file.
10792
dfb3b0e3 10793 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10794
10795 * configure.ac: Include ../config/enable.m4 and
10796 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10797 supports TLS and substitute set_have_cc_tls.
10798 * configure: Regenerated.
10799
200359e8
L
108002007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10801
10802 * Makefile.in: Use libbid for DFP when BID is enabled.
10803
76f5e200
DS
108042007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10805
10806 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10807 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10808 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10809
9bd196f0 108102007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10811 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10812
10813 PR target/29498
10814 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10815 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10816 * config/i386/t-crtfm: Compile crtfastmath.o with
10817 -minline-all-stringops.
10818
1910440e
RS
108192007-05-10 Richard Sandiford <richard@codesourcery.com>
10820
10821 * config.host (sparc-wrs-vxworks): New target.
10822
7d33c31d
KH
108232007-04-14 Kazu Hirata <kazu@codesourcery.com>
10824
10825 * config.host: Recognize fido.
10826
96fccd0d
JJ
108272007-04-04 Janis Johnson <janis187@us.ibm.com>
10828
10829 * configure: Check host, not target, for decimal float support.
10830
577565f9
UB
108312007-04-03 Uros Bizjak <ubizjak@gmail.com>
10832
10833 * config/i386/t-crtpc: New file.
10834 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10835 (x86_64-*-linux*): Ditto.
577565f9 10836
ccf8e764
RH
108372007-02-30 Kai Tietz <kai.tietz@onevision.com>
10838
10839 * config.host (x86_64-*-mingw*): New target.
10840
79b87c74
MM
108412007-03-23 Michael Meissner <michael.meissner@amd.com>
10842 H.J. Lu <hongjiu.lu@intel.com>
10843
10844 * Makefile.in (enable_decimal_float): New.
10845 (DECNUMINC): Add
10846 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10847 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10848 (decbits-filenames): This.
10849 (decbits-objects): New.
10850 (libgcc-objects): Add $(decbits-objects).
10851
10852 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10853 Substitute enable_decimal_float.
10854 * configure: Regenerated.
10855
8fce4e31
HPN
108562007-03-19 Hans-Peter Nilsson <hp@axis.com>
10857
10858 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10859
e8bb4597
BM
108602007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10861
10862 * Makefile.in (install-info): New dummy target.
10863
344189f9
BS
108642007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10865
10866 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10867
ac84c172
BM
108682007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10869
10870 * Makefile.in: Add install-html and install-pdf dummy
10871 targets.
10872
cd5c2357
RS
108732007-02-05 Roger Sayle <roger@eyesopen.com>
10874 Daniel Jacobowitz <dan@codesourcery.com>
10875
10876 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10877 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10878 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10879
d9a66f98
JJ
108802007-01-29 Janis Johnson <janis187@us.ibm.com>
10881
10882 * Makefile.in (dec-filenames): Add decExcept.
10883
9891ec5f
DJ
108842007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10885
10886 PR bootstrap/30469
10887 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10888 -fprofile-use.
10889
d6efbf5a
DJ
108902007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10891
10892 * configure.ac: Add --enable-version-specific-runtime-libs.
10893 Correct $slibdir default.
10894 * configure: Regenerated.
10895
17caeff2
JM
108962007-01-23 Joseph Myers <joseph@codesourcery.com>
10897
10898 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10899
5ea41e3a
AP
109002007-01-21 Andrew Pinski <pinskia@gmail.com>
10901
10902 PR target/30519
10903 * config.host (alpha*-*-linux*): Set extra_parts.
10904
26900826
KK
109052007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10906
10907 * config/sh/t-linux: New.
10908 * config.host (sh*-*-linux*): Set tmake_file.
10909
97af925b
DJ
109102007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10911
10912 * Makefile.in (install): Handle multilibs.
10913
b0088af7
BM
109142007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10915
10916 * Makefile.in: Added .PHONY entry for documentation targets.
10917
e0a9456a
BM
109182007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10919
10920 * Makefile.in: Add empty info, html, dvi, pdf targets.
10921
7fd453b4
MS
109222007-01-04 Mike Stump <mrs@apple.com>
10923
10924 * Makefile.in (MAKEINFO): Remove.
10925 (PERL): Likewise.
10926
14e8fc8b
PB
109272007-01-04 Paolo Bonzini <bonzini@gnu.org>
10928
10929 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10930 * configure: Regenerate.
10931 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10932 (gcc_objdir): Use it.
14e8fc8b 10933
1555beba
DJ
109342007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10935
10936 * config.host (ia64*-*-linux*): Set tmake_file.
10937
79e6eaeb
DJ
109382007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10939
10940 * Makefile.in (version): Define.
10941
fa958513
DJ
109422007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10943 Paolo Bonzini <bonzini@gnu.org>
10944
10945 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10946 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10947 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10948 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10949 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10950 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10951 * configure: Generated.
818ab71a 10952\f
8d9254fc 10953Copyright (C) 2007-2020 Free Software Foundation, Inc.
818ab71a
JJ
10954
10955Copying and distribution of this file, with or without modification,
10956are permitted in any medium without royalty provided the copyright
10957notice and this notice are preserved.